* lisp/subr.el (special-form-p): Don't signal errors on undef aliases.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (special-form-p): Don't signal errors on undef aliases.
4
5 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
6
7 * calc/calc-forms.el (math-parse-date): Try using
8 `math-parse-iso-date' when it looks like it might be needed.
9 Allow times of 24:00.
10 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
11 of 24:00.
12
13 2012-12-30 Glenn Morris <rgm@gnu.org>
14
15 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
16 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
17 (rmail-summary-displayed, rmail-summary): Declare.
18 (mairix-rmail-display): Just require rmail.
19
20 2012-12-30 Chong Yidong <cyd@gnu.org>
21
22 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
23 check for the tarball contents.
24
25 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
26
27 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
28 tarfile content listings (Bug#13136).
29
30 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
31
32 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
33 Insert the undecoded text of the message being forwarded. (Bug#9521)
34
35 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
36
37 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
38 integers, if they are real numbers. (Bug#13282)
39
40 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
41 Return `t' on success.
42
43 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
44 Add handler for `set-file-selinux-context'.
45
46 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
47
48 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
49 (tramp-sh-handle-set-file-acl): Return `t' on success.
50
51 2012-12-29 Eli Zaretskii <eliz@gnu.org>
52
53 * files.el (backup-buffer-copy, basic-save-buffer-2):
54 If set-file-extended-attributes fails, fall back on set-file-modes
55 instead of signaling an error. (Bug#13298)
56 (basic-save-buffer): Likewise.
57
58 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
59
60 * progmodes/python.el: Support other commands triggering
61 python-indent-line so indentation cycling continues to work.
62 (python-indent-trigger-commands): New defcustom.
63 (python-indent-line): Use it.
64
65 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
66
67 * progmodes/python.el (python-shell-send-region): Add blank lines
68 for non sent code so backtraces remain correct.
69
70 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
71
72 * progmodes/python.el: Remove cl dependency.
73 (python-syntax-count-quotes): Replace incf call.
74 (python-fill-string): Replace setf call.
75
76 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
77
78 * info.el (info-other-window): New arg, for consistency with info.
79
80 2012-12-28 Martin Rudalics <rudalics@gmx.at>
81
82 * mail/rmail.el (rmail-maybe-display-summary):
83 Rewrite (Bug#13066).
84
85 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
86
87 * epg.el (epg--start): Modify process-environment locally.
88
89 2012-12-28 Daiki Ueno <ueno@gnu.org>
90
91 * epg.el: Support pinentry-curses.
92 Suggested by Werner Koch in
93 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
94 (epg-agent-file, epg-agent-mtime): New variable.
95 (epg--start): Record the modified time of gpg-agent socket file,
96 to restore Emacs frame after pinentry-curses termination.
97 (epg-wait-for-completion): Restore Emacs frame here.
98
99 2012-12-27 Juri Linkov <juri@jurta.org>
100
101 * info.el (Info-file-completions): New variable.
102 (Info-read-node-name-1): Complete node names in the Info file
103 when a file name is given. Call `Info-build-node-completions'
104 with a file name.
105 (Info-build-node-completions): Add new arg `file'. When it is
106 non-nil, visit it in a temporary buffer and cache its completions in
107 `Info-current-file-completions'. Move most of the function body to
108 `Info-build-node-completions-1'.
109 (Info-build-node-completions-1): New function with the body from
110 `Info-build-node-completions'. (Bug#12456)
111
112 2012-12-27 Juri Linkov <juri@jurta.org>
113
114 * frame.el (frame-maximization-style): Remove user option.
115 (cycle-frame-maximized): Remove function.
116 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
117 (toggle-frame-fullscreen): New command bound to <f11> instead of
118 `toggle-frame-maximized'.
119 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
120
121 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
122
123 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
124
125 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
126 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
127 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
128 for `file-accessible-directory-p'. (Bug#13275)
129
130 2012-12-27 Sam Steingold <sds@gnu.org>
131
132 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
133 continuations, see <http://stackoverflow.com/questions/3582436>.
134
135 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
136
137 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
138 "module" and "def" to have indentation before them.
139 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
140
141 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
142
143 2012-12-27 Alan Mackenzie <acm@muc.de>
144
145 Speed up fontification where there's large brace blocks.
146 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
147 to a call of c-beginning-of-decl-1.
148
149 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
150
151 * comint.el (comint-adjust-window-point): New function.
152 (comint-postoutput-scroll-to-bottom):
153 Call comint-adjust-window-point (Bug#13248).
154
155 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
156
157 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
158 Rakefile regexp.
159 (auto-mode-alist): Associate .gemspec files with ruby-mode
160 (https://bugs.ruby-lang.org/issues/5453).
161
162 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
163
164 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
165 Suppress coloring, if possible (required for BusyBox based systems like
166 CynagenMod).
167 (tramp-adb-handle-file-attributes)
168 (tramp-adb-handle-insert-directory)
169 (tramp-adb-handle-file-name-all-completions): Use it.
170 (tramp-adb-get-toolbox): New defun. Check for remote shell
171 implementation (BusyBox or Toolbox).
172
173 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
174
175 * startup.el (initial-buffer-choice): Allow function as value
176 (Bug#13251).
177 (command-line-1): Handle case where initial-buffer-choice
178 specifies a function.
179 * server.el (server-execute): Handle case where
180 initial-buffer-choice specifies a function.
181
182 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
183
184 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
185 its own function.
186 (smtpmail-try-auth-methods): Forget the user name/password if the
187 login is unsuccessful (bug#12424).
188
189 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
190
191 * notifications.el (notifications-notify): Protect body with
192 `with-demoted-errors'.
193
194 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
195 Check properties of remote device. Restart connection, if there is a
196 change.
197
198 2012-12-21 Chong Yidong <cyd@gnu.org>
199
200 * sort.el (sort-subr): Doc fix (Bug#13056).
201
202 2012-12-21 Bastien Guerry <bzg@gnu.org>
203
204 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
205
206 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
207
208 * simple.el (process-file): Overwrite stderr file, if exists.
209
210 2012-12-21 Daiki Ueno <ueno@gnu.org>
211
212 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
213 (epg-error): Set `error-message' property.
214
215 2012-12-21 Chong Yidong <cyd@gnu.org>
216
217 * international/mule-cmds.el (read-char-by-name): Signal an error
218 if the user does not supply a valid character (Bug#13177).
219
220 * simple.el (transpose-subr-1): Preserve marker positions by
221 changing the insertion sequence (Bug#13122).
222
223 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
224
225 * simple.el (kill-region): Deactivate mark even for empty regions
226 (Bug#13169).
227
228 2012-12-21 Chong Yidong <cyd@gnu.org>
229
230 * help-fns.el (describe-variable): Make sure we get the right
231 buffer name (Bug#13105). Suggested by Kelly Dean.
232
233 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
234
235 * comint.el (comint-redirect-previous-input-string): New variable.
236 (comint-redirect-setup, comint-redirect-cleanup)
237 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
238 (comint-redirect-preoutput-filter): Fix verbose message.
239
240 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
241
242 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
243 is too long for Tramp. See discussion in
244 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
245
246 * progmodes/compile.el (compilation-start): Remove line escape
247 template.
248
249 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
250
251 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
252 Adjust comment.
253
254 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
255
256 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
257 following non-comment text (bug#13207).
258 (lm-header-multiline): Continuation lines need to be indented more than
259 the first line.
260 (lm-homepage): New function.
261 (lm-with-file): Don't be confused if narrowing is in effect.
262
263 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
264 very beginning of a hunk (e.g. killing the first line).
265
266 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
267
268 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
269 and text properties from returned ACL string.
270 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
271 for "setfacl" command.
272
273 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
274
275 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
276 `tramp-cleanup-this-connection', when the process has died.
277 (Bug#13151)
278
279 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
282
283 2012-12-17 Kevin Ryde <user42@zip.com.au>
284
285 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
286
287 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
288
289 Add support for preserving ACL entries of files.
290
291 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
292 `set-file-acl' handlers.
293
294 * net/tramp-adb.el (tramp-adb-handle-copy-file):
295 Handle PRESERVE-EXTENDED-ATTRIBUTES.
296
297 * net/tramp-compat.el (tramp-compat-copy-file):
298 Handle PRESERVE-EXTENDED-ATTRIBUTES.
299
300 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
301 Add `file-acl' and `set-file-acl' handlers.
302 (tramp-gvfs-handle-copy-file):
303 Handle PRESERVE-EXTENDED-ATTRIBUTES.
304 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
305 New defuns.
306
307 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
308 Add `file-acl' and `set-file-acl' handlers.
309 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
310 (tramp-sh-handle-set-file-acl): New defuns.
311 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
312 Handle PRESERVE-EXTENDED-ATTRIBUTES.
313
314 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
315 Add `file-acl' and `set-file-acl' handlers.
316 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
317
318 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
319
320 * help-macro.el (make-help-screen): Instead of switch-to-buffer
321 use pop-to-buffer with NORECORD argument t. As buffer name, use
322 *Metahelp* with a leading space (Bug#13190).
323
324 2012-12-16 Romain Francoise <romain@orebokech.com>
325
326 * files.el (file-extended-attributes)
327 (set-file-extended-attributes): New functions.
328 (backup-buffer): Use them to handle both SELinux context and ACL
329 entries.
330 (backup-buffer-copy): Work with an alist of extended attributes,
331 rather than an SELinux context.
332 (basic-save-buffer-2): Ditto.
333
334 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
335
336 * battery.el (battery-bsd-apm): New function.
337
338 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
339
340 * calc/calc.el (calc-standard-date-formats): Adjust one of the
341 standard date formats.
342
343 2012-12-15 Juri Linkov <juri@jurta.org>
344
345 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
346 `isearch-insert-char-by-name'.
347 (with-isearch-suspended): New defmacro with body mostly from
348 `isearch-edit-string' except the part that sets
349 `isearch-new-string' and `isearch-new-message'.
350 (isearch-edit-string): Use new macro `with-isearch-suspended' with
351 body that sets `isearch-new-string' and `isearch-new-message'.
352 (isearch-insert-char-by-name): New command.
353 * international/mule-cmds.el (read-char-by-name): Let-bind
354 `enable-recursive-minibuffers' to t.
355 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
356
357 2012-12-15 Juri Linkov <juri@jurta.org>
358
359 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
360 (Bug#13175)
361
362 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
363
364 * dired-x.el (dired-guess-shell-command): Put colon at the end of
365 the prompt. (Bug#13045)
366
367 2012-12-14 Glenn Morris <rgm@gnu.org>
368
369 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
370 Try to include filename in non-bytecomp warning. (Bug#13132)
371
372 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
373
374 Fix permissions bugs with setgid directories etc. (Bug#13125)
375 * files.el (backup-buffer): Don't rely on 9th output of
376 file-attributes, as it's now a placeholder. Instead, use the new
377 optional arg of file-ownership-preserved-p.
378 (file-ownership-preserved-p): New optional arg GROUP.
379 Fix mishandling of setuid directories that would cause this
380 function to return t when it should have returned nil.
381 Document what happens if the file does not exist, and when
382 it's not known whether the ownership will be preserved.
383 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
384 Likewise.
385 (tramp-get-local-gid): Use group-gid for integer, as that's
386 faster and more reliable.
387
388 2012-12-14 Julien Danjou <julien@danjou.info>
389
390 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
391 Update keywords list, data type and PL/pgSQL.
392
393 2012-12-14 Dave Abrahams <dave@boostpro.com>
394
395 * vc/ediff-util.el (ediff-buffer-type): New function.
396 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
397 rather than taking it as as argument.
398 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
399
400 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
401
402 * json.el: Add pretty-print option (bug#12634).
403 (json-encoding-separator, json-encoding-default-indentation)
404 (json--encoding-current-indentation, json-encoding-pretty-print)
405 (json-encoding-lisp-style-closings): New vars.
406 (json--with-indentation): New macro.
407 (json-encode-hash-table, json-encode-alist, json-encode-plist)
408 (json-encode-array): Use it to obey json-encoding-pretty-print.
409 (json-pretty-print-buffer, json-pretty-print): New commands.
410
411 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
412
413 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
414 Extract `ruby-syntax-propertize-expansions'.
415 (ruby-syntax-propertize-expansions): Only change syntax on
416 certain string delimiters, to punctuation. This way the common
417 functions like forward-word and thing-at-point still work.
418 (ruby-match-expression-expansion): Improve readability.
419 (ruby-block-contains-point): New function.
420 (ruby-add-log-current-method): Handle several edge cases.
421
422 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
423
424 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
425 unload-feature finishes even when aborting an ongoing edebug session.
426 Also, do not worry about edebug-mode, unload-feature takes care of it.
427
428 2012-12-13 Andreas Schwab <schwab@suse.de>
429
430 * net/tls.el (tls-program): Update customize type.
431
432 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
433
434 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
435 (edebug-setup-hook, cl-read-load-hooks): Use it.
436 (edebug-unload-function): New function. (Bug#13163)
437
438 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
439
440 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
441 Otherwise, there could be errors in autoloading. (Bug#13151)
442
443 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
444
445 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
446 sequences.
447
448 2012-12-13 Alan Mackenzie <acm@muc.de>
449
450 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
451 * progmodes/cc-engine.el (c-backward-comments): Add code to work
452 around `forward-comment' not recognizing ^M as whitespace.
453
454 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
455
456 * progmodes/python.el (python-skeleton-class)
457 (python-skeleton-def): Do not add space after defun name.
458
459 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
460
461 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
462 (cl--symbol-function): Remove (now that funbound is like nil).
463
464 2012-12-12 Glenn Morris <rgm@gnu.org>
465
466 * button.el (button--area-button-p): Fix typo.
467
468 2012-12-12 Sam Steingold <sds@gnu.org>
469
470 * frame.el (frame-maximization-style): New user option.
471 (toggle-frame-maximized): Toggle frame maximization according to
472 `frame-maximization-style', bound to <f11>.
473 (cycle-frame-maximized): Cycle between all maximization styles and
474 non-maximized frame, bound to shift-<f11>.
475
476 2012-12-12 David Cadé <codename68@gmail.com>
477
478 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
479
480 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
481
482 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
483 (eieio-override-prin1): Don't quote kewords and booleans.
484 (object-write) <eieio-default-superclass>: Don't put closing parens
485 on new line, avoid needless empty lines, align values that are objects
486 with the slot keyword (instead of beginning on the same line).
487 (eieio-list-prin1): Align value with slot keyword; increase
488 eieio-print-depth before printing members of the list.
489
490 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
491
492 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
493 a display text-property.
494 (report-emacs-bug-hook): Don't bother deleting it any more.
495
496 * hilit-chg.el (highlight-save-buffer-state): Delete.
497 Use with-silent-modifications instead.
498 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
499
500 * button.el: Handle buttons in display text-properties.
501 (button--area-button-p, button--area-button-string):
502 Use (STRING . STRING-POS) representation instead of just STRING.
503
504 2012-12-11 Eli Zaretskii <eliz@gnu.org>
505
506 * makefile.w32-in (compile4-SH): Fix a typo that caused term
507 subdirectory be skipped.
508
509 2012-12-11 Glenn Morris <rgm@gnu.org>
510
511 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
512
513 * progmodes/f90.el (f90-line-continued, f90-indent-region):
514 Treat preprocessor lines embedded in continuations like comments.
515 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
516
517 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
518
519 * calc/calc.el (calc-standard-date-formats): Add more date
520 formats.
521 * calc/calc-forms.el (math-parse-iso-date): New function.
522 (math-parse-date): Use `math-parse-iso-date' when appropriate.
523 (math-parse-iso-date-validate): Add extra error checking.
524 (calc-date-notation): Add ability to access new date formats.
525
526 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
529 font-lock as well as when there's no text-property.
530
531 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
532
533 * hi-lock.el: Refine the choice of default face.
534 (hi-lock-keyword->face): New function. Use it wherever we used
535 cadadadr instead.
536 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
537 (hi-lock--last-face): Remove var.
538 (hi-lock--unused-faces): New var to replace it.
539 (hi-lock-read-face-name): Use/maintain it.
540 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
541 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
542 if it has another face.
543
544 2012-12-10 Eli Zaretskii <eliz@gnu.org>
545
546 * subr.el (w32notify-handle-event): New function.
547 (inotify-handle-event): Doc fix.
548
549 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
550
551 * subr.el (inotify-event-p, inotify-handle-event): New functions.
552
553 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
554
555 * simple.el (just-one-space): Doc fix.
556
557 2012-12-10 Eli Zaretskii <eliz@gnu.org>
558
559 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
560
561 2012-12-10 Le Wang <l26wang@gmail.com>
562
563 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
564 narrowed buffer (bug#12361).
565
566 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
567
568 * vc/vc-hooks.el (vc-state): Doc fix.
569
570 2012-12-10 Glenn Morris <rgm@gnu.org>
571
572 * mail/rmail.el (rmail-maybe-display-summary):
573 Preserve buffer, in case select-window changes it. (Bug#13066)
574
575 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
576
577 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
578 cl-load-hook where they belong.
579
580 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
583
584 2012-12-09 Eli Zaretskii <eliz@gnu.org>
585
586 Parallelize byte compilation on MS-Windows.
587 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
588 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
589 (WINS_BASIC): Define as concatenation of the above.
590 (compile): Subdivide into 4 separate and independent jobs that can
591 be run in parallel.
592 (compile0-CMD, compile0-SH): New targets for compiling
593 COMPILE_FIRST files, which are prerequisites for the rest of the
594 byte-compilation.
595 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
596 New targets for parallel compilation with cmd.exe.
597 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
598 compiling under a Unixy shell.
599
600 2012-12-09 Chong Yidong <cyd@gnu.org>
601
602 * simple.el (set-mark-default-inactive): Delete this
603 accidentally-introduced option.
604 (set-mark-command, exchange-point-and-mark): Remove calls.
605
606 2012-12-09 Glenn Morris <rgm@gnu.org>
607
608 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
609 Respect a defcustom's :set function, if appropriate. (Bug#109)
610 (eval-defun): Doc fix.
611
612 2012-12-08 Juri Linkov <juri@jurta.org>
613
614 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
615 (Info-fontify-node, Info-bookmark-make-record): Remove the
616 file extension from Info-current-file (Bug#13016).
617
618 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
619
620 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
621 point, still provide some default.
622 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
623 names, since we don't use it right now. Actually return the list.
624 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
625
626 2012-12-07 Chong Yidong <cyd@gnu.org>
627
628 * novice.el (disabled-command-function): Remove a spurious help
629 xref (Bug#13043). Suggested by Kelly Dean.
630
631 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
632 syntax is specified (Bug#13025).
633
634 * info.el (Info-set-mode-line): Remove the file extension from
635 Info-current-file if there is one (Bug#13016).
636
637 2012-12-07 Glenn Morris <rgm@gnu.org>
638
639 * mail/rmail.el (rmail-mime-decoded): New permanent local.
640 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
641 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
642 and rmail-mime-decoded. (Bug#9841)
643
644 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
645 (batch-unrmail, unrmail): Doc fixes.
646 (unrmail): Respect unrmail-mbox-format.
647 * mail/rmail.el (rmail-mbox-format): New option.
648 (rmail-show-message-1): Respect rmail-mbox-format.
649
650 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
651
652 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
653
654 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
657 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
658 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
659 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
660 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
661 (cl-progv): Don't rely on dynamic scoping to find the body.
662 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
663 (cl--proclaims-deferred): Rename from the "cl-" prefix.
664 (cl-declaim): Use backquotes.
665 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
666 Use "cl--" prefix for the object's tag.
667
668 * ses.el: Use advice-add/remove.
669 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
670 (copy-region-as-kill, yank): Use advice-add.
671 (ses-unload-function): Use advice-remove.
672
673 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
674
675 * button.el: Make them work in header-lines (bug#12817).
676 (button-map): Add bindings for header-line and mode-line use.
677 (button-get, button-put, button-label): `button' may now be a string.
678 (button-activate): Don't make it a defsubst.
679 (button--area-button-p, button--area-button-string): New functions.
680 (make-text-button): Fix the return value when `beg' was a string.
681 (push-button): Handle the mode-line case.
682
683 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
686 (sql-signum): Remove. Use `cl-signum' instead.
687 (sql-read-passwd): Remove; use read-passwd instread.
688 (sql-get-login-ext): Use read-string.
689 (sql-get-login): Use dolist and pcase.
690 (sql--completion-table): Rename from sql-try-completion.
691 Use complete-with-action.
692 (sql-mode): Don't change abbrev-all-caps globally.
693 (sql-connect): Don't rely on dynamic scoping for `new-name'.
694 (sql-postgres-completion-object): Initialize vars in their `let'.
695 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
696 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
697 (sql-comint-interbase): Use a single append, without setq.
698 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
699
700 * hi-lock.el: Rework the default face and the serialize regexp code.
701 (hi-lock--auto-select-face-defaults): Remove.
702 (hi-lock-string-serialize-serial): Remove.
703 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
704 make weak.
705 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
706 equal string.
707 (hi-lock-set-pattern): Adjust accordingly.
708 (hi-lock--regexps-at-point): Simplify accordingly.
709 (hi-lock--auto-select-face-defaults): Remove.
710 (hi-lock--last-face): New var to replace it.
711 (hi-lock-read-face-name): Rewrite (bug#11095).
712 (hi-lock-unface-buffer): Arrange for the face to be the next default.
713
714 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
715
716 * net/tramp.el (tramp-replace-environment-variables):
717 Hide compiler warning.
718 (tramp-file-name-for-operation): Remove `executable-find',
719 `start-process', `call-process' and `call-process-region'.
720
721 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
722
723 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
724 compatibility.
725
726 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
727
728 2012-12-06 Chong Yidong <cyd@gnu.org>
729
730 * ffap.el (ffap-replace-file-component): Fix typo.
731
732 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
735 fix open-paren-like token test (bug#12785).
736
737 2012-12-06 Glenn Morris <rgm@gnu.org>
738
739 * mail/rmailsum.el (rmail-new-summary): Tweak for
740 rmail-maybe-display-summary changing buffer. (Bug#13066)
741
742 2012-12-06 Juri Linkov <juri@jurta.org>
743
744 * info.el (Info-fontify-node): Don't hide the last newline.
745 (Bug#12272)
746
747 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
748
749 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
750 so as to enable message-read-from-minibuffer to expand mail aliases.
751
752 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
755 the `intangible' property.
756 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
757
758 2012-12-05 Deniz Dogan <deniz@dogan.se>
759
760 * net/rcirc.el (rcirc-urls): Update documentation.
761 (rcirc-condition-filter): New function.
762 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
763 and exclude consecutive duplicate URLs (Bug#6082).
764
765 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
766
767 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
768 Check return code of copy command.
769
770 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
771 Use group `tramp'. Add version.
772
773 2012-12-05 Chong Yidong <cyd@gnu.org>
774
775 * ffap.el (ffap-url-regexp): Don't require matching at front of
776 string (Bug#4952).
777 (ffap-url-p): If only a substring matches, return that.
778 (ffap-url-at-point): Use the return value of ffap-url-p.
779 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
780 (find-file-at-point, dired-at-point, dired-at-point-prompter)
781 (ffap-guess-file-name-at-point): Likewise.
782 (ffap-replace-file-component): Fix typo.
783
784 * info.el (info-display-manual): Add existing Info buffers, whose
785 files may not be in Info-directory-list, to the completion.
786 (info--manual-names): New helper function.
787
788 2012-12-05 Glenn Morris <rgm@gnu.org>
789
790 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
791 New functions, for detecting and resolving conflicts. (Bug#10709)
792
793 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
794
795 * hi-lock.el (hi-lock-auto-select-face): New user variable.
796 (hi-lock-auto-select-face-defaults): New buffer local variable.
797 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
798 (hi-lock-unface-buffer): Prompt user with useful defaults.
799 With prefix arg, unhighlight all hi-lock patterns in buffer.
800
801 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
802
803 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
804
805 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
806
807 * Makefile.in (TRAMP_SRC):
808 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
809
810 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
811
812 * net/tramp-adb.el: New package.
813
814 2012-12-04 Chong Yidong <cyd@gnu.org>
815
816 * terminal.el: Move to obsolete/.
817
818 * longlines.el: Move to obsolete/.
819
820 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
821 Remove code referring to longlines mode.
822
823 2012-12-03 Juri Linkov <juri@jurta.org>
824
825 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
826
827 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
828
829 * textmodes/ispell.el (ispell-init-process)
830 (ispell-start-process, ispell-internal-change-dictionary):
831 Make sure personal dictionary name is expanded after initial
832 `default-directory' value. Use expanded strings for
833 keep/restart checks and for value (Bug#13019).
834
835 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
836
837 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
838
839 2012-12-03 Leo Liu <sdl.web@gmail.com>
840
841 * files.el (dir-locals-read-from-file): Check file non-empty
842 before reading. (Bug#13038)
843
844 2012-12-03 Glenn Morris <rgm@gnu.org>
845
846 * jka-cmpr-hook.el (jka-compr-get-compression-info):
847 Remove any version extension before checking filename. (Bug#13006)
848 (jka-compr-compression-info-list): Belated :version bump.
849
850 2012-12-03 Chong Yidong <cyd@gnu.org>
851
852 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
853
854 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
855 (buffer-menu): Doc fix (Bug#12294).
856
857 2012-12-03 Roland Winkler <winkler@gnu.org>
858
859 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
860 of diary-show-all-entries in the diary buffer (Bug#12994).
861
862 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
863
864 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
865 "<STDIN>". This is binary safe.
866
867 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
868
869 * calc/calc-forms.el (math-absolute-from-iso-dt)
870 (math-date-to-iso-dt, math-parse-iso-date-validate)
871 (math-iso-dt-to-date): New functions.
872 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
873 (math-fd-isoweekday): New variables.
874 (calc-date-notation, math-parse-standard-date, math-format-date)
875 (math-format-date-part): Add support for more formatting codes.
876
877 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
878
879 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
880 current buffer's file name when called interactively (Bug#12488).
881
882 2012-12-02 Juri Linkov <juri@jurta.org>
883
884 * info.el (info-display-manual): Don't clobber an existing Info
885 buffer (Bug#10770). Add completion (Bug#10771).
886
887 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
888
889 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
890 before using it for comparison (Bug#5297).
891
892 2012-12-01 Jari Aalto <jari.aalto@cante.net>
893
894 * textmodes/css-mode.el (css-current-defun-name): New function.
895 (css-mode): Use it.
896
897 * textmodes/sgml-mode.el (html-current-defun-name): New function.
898 (html-mode): Use it.
899
900 2012-12-01 Chong Yidong <cyd@gnu.org>
901
902 Modularize add-log-current-defun (Bug#2224).
903 Suggested by Jari Aalto.
904
905 * vc/add-log.el (add-log-current-defun-function): Doc fix.
906 (add-log-current-defun): Move mode-specific code to other files.
907 (add-log-lisp-like-modes, add-log-c-like-modes)
908 (add-log-tex-like-modes): Variables deleted.
909
910 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
911 (lisp-mode-variables): Use it.
912
913 * progmodes/cc-mode.el (c-common-init):
914 * progmodes/cperl-mode.el (cperl-mode): Set a value for
915 add-log-current-defun-function.
916
917 * progmodes/m4-mode.el (m4-current-defun-name): New function.
918 (m4-mode): Use it.
919
920 * progmodes/perl-mode.el (perl-current-defun-name): New.
921 (perl-mode): Use it.
922
923 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
924 Use lisp-current-defun-name.
925
926 * textmodes/tex-mode.el (tex-current-defun-name): New.
927 (tex-common-initialization): Use it.
928
929 * textmodes/texinfo.el (texinfo-current-defun-name): New.
930 (texinfo-mode): Use it.
931
932 2012-12-01 Chong Yidong <cyd@gnu.org>
933
934 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
935 * progmodes/autoconf.el (autoconf-mode):
936 * progmodes/js.el (js-mode):
937 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
938 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
939 * progmodes/perl-mode.el (perl-mode):
940 * progmodes/sh-script.el (sh-mode, sh-set-shell):
941 * textmodes/css-mode.el (css-mode):
942 * textmodes/sgml-mode.el (html-mode, sgml-mode)
943 (sgml-tags-invisible, sgml-guess-indent):
944 * textmodes/tex-mode.el (tex-common-initialization)
945 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
946 (doctex-mode, plain-tex-mode, latex-mode):
947 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
948
949 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
950
951 * vc/vc-hg.el (vc-hg-next-revision):
952 Ensure use of default "tip" output format. (Bug#6968)
953
954 2012-12-01 Kim F. Storm <storm@cua.dk>
955
956 * startup.el (fancy-startup-tail): Add a clickable link
957 (Bug#2176).
958
959 2012-12-01 Chong Yidong <cyd@gnu.org>
960
961 * startup.el (fancy-startup-tail): Improve the message about
962 auto-save files (Bug#2176).
963
964 * files.el (recover-session): Improve the descriptive message, and
965 use substitute-command-keys.
966
967 2012-12-01 Glenn Morris <rgm@gnu.org>
968
969 * ido.el (ido-file-internal):
970 Handle other-window, other-frame for dired. (Bug#13036)
971
972 2012-11-30 Glenn Morris <rgm@gnu.org>
973
974 * icomplete.el (icomplete-separator): Fix :version.
975
976 2012-11-30 Chong Yidong <cyd@gnu.org>
977
978 * shell.el (shell): For C-u M-x shell, use an inactive shell
979 buffer as the default (Bug#1975).
980 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
981 (shell-mode): Use them to reapply ansi colorization if Shell mode
982 is re-enabled.
983
984 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
985
986 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
987
988 2012-11-30 Samuel Bronson <naesten@gmail.com>
989
990 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
991 flag to xargs, for compatibility with BSD xargs (Bug#11703).
992
993 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
994
995 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
996 by move-to-column (Bug#3234).
997
998 2012-11-30 Chong Yidong <cyd@gnu.org>
999
1000 * longlines.el (longlines-wrap-line, longlines-encode-region):
1001 Preserve text properties (Bug#1425).
1002
1003 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1004
1005 * vc/vc.el (vc-register): Allow registering a file which is
1006 already registered with a different backend (Bug#10589).
1007
1008 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
1009 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * icomplete.el: Change separator; add ido-style commands.
1012 (icomplete-show-key-bindings): Remove custom var.
1013 (icomplete-get-keys): Remove function.
1014 (icomplete-forward-completions, icomplete-backward-completions):
1015 New commands.
1016 (icomplete-minibuffer-map): New var.
1017 (icomplete-minibuffer-setup): Use it.
1018 (icomplete-exhibit): Don't delay if the list of completions is known.
1019 (icomplete-separator): New custom.
1020 (icomplete-completions): Use it.
1021 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
1022 (minibuffer-force-complete-and-exit): New command.
1023 (minibuffer--complete-and-exit): New function extracted from
1024 minibuffer-complete-and-exit.
1025 (minibuffer-complete-and-exit): Use it.
1026
1027 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
1028 error message when the file doesn't exist (bug#12974).
1029
1030 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
1031
1032 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
1033
1034 2012-11-29 Glenn Morris <rgm@gnu.org>
1035
1036 * files.el (hack-dir-local-variables): Warn if try to set
1037 coding via dir-locals, since it doesn't work. (Bug#7169)
1038
1039 Add desktop support for restoring vc-dir buffers. (Bug#10606)
1040 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
1041 Set buffer-local value of desktop-save-buffer.
1042 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
1043 New functions.
1044 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
1045 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
1046
1047 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
1048 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
1049 Doc fix.
1050 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
1051 Doc fixes.
1052
1053 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
1054
1055 * calc/calc-forms.el (calc-date-notation): Fix regexp
1056 used to find time codes. Fix symbol for seconds.
1057
1058 2012-11-27 Glenn Morris <rgm@gnu.org>
1059
1060 * emacs-lisp/derived.el (derived-mode-make-docstring):
1061 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
1062
1063 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1064
1065 * textmodes/table.el (table-insert): Don't use `symbol-name' on
1066 lexically scoped variables (bug#13005).
1067
1068 2012-11-27 Glenn Morris <rgm@gnu.org>
1069
1070 * vc/vc-hooks.el (vc-mistrust-permissions):
1071 Default to t, to avoid data-loss. (Bug#11490)
1072
1073 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
1074
1075 * progmodes/python.el (python-indent-guess-indent-offset):
1076 If indentation is guessed make python-indent-offset buffer-local.
1077
1078 Fix Imenu regression.
1079 * progmodes/python.el (python-nav-beginning-of-defun):
1080 Fix forward movement when statement(s) separates point from defun.
1081 (python-imenu-prev-index-position): New function.
1082
1083 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1084
1085 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
1086
1087 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1088 Don't set buffer-file-type. Return nil. (Bug#12989)
1089
1090 2012-11-27 Glenn Morris <rgm@gnu.org>
1091
1092 * hippie-exp.el (hippie-expand-try-functions-list):
1093 Re-autoload it. (Bug#12982)
1094
1095 2012-11-27 Eli Zaretskii <eliz@gnu.org>
1096
1097 * descr-text.el (describe-char-padded-string):
1098 Call internal-char-font only on GUI frames. (Bug#11964)
1099
1100 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1101
1102 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1103 and obsoletion message.
1104
1105 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1108 the constructs to keep outside of the `cl-block' (bug#12977).
1109
1110 2012-11-27 Chong Yidong <cyd@gnu.org>
1111
1112 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1113 keep reading until we get the up-event anyway, in order to process
1114 the up-event for mouse-1-click-follows-link (Bug#12971).
1115
1116 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1117
1118 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1119 base function is not yet defined (bug#12965).
1120 (ad-activate-advised-definition): Use ad-compile-function.
1121 (ad-activate): Use cond.
1122
1123 2012-11-25 Leo Liu <sdl.web@gmail.com>
1124
1125 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1126 (Bug#12979)
1127
1128 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1129
1130 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1131 reftex-section-info-function in order to be compatible with
1132 Texinfo integration.
1133
1134 * textmodes/reftex.el (reftex-section-pre-regexp)
1135 (reftex-section-post-regexp, reftex-section-info-function):
1136 New variable.
1137 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1138 reftex-section-post-regexp, and reftex-section-info-function in order
1139 to be compatible with Texinfo integration.
1140
1141 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1142 use reftex-section-pre-regexp variable in order to be compatible with
1143 Texinfo integration.
1144
1145 2012-11-25 Chong Yidong <cyd@gnu.org>
1146
1147 * faces.el: Make face-spec-set more analogous to setq.
1148 (face-spec-set): Change the third arg to specify whether this
1149 function is being called via defface, customize, or a third party.
1150 Set the appropriate symbol properties. Clear the override spec if
1151 setting via Custom. Initialize face if necessary. (Bug#4988)
1152 (face-spec-recalc): Allow theme faces to completely replace the
1153 defface spec, in the same way as custom faces (Bug#8454).
1154
1155 * cus-face.el (custom-declare-face): Move face initialization to
1156 face-spec-set.
1157 (custom-theme-set-faces): Don't initialize the face name here, as
1158 that is now done in face-spec-set.
1159
1160 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1161 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1162 Simplify by using the new arg to face-spec-set.
1163
1164 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1165 reset face-override-spec too, and use custom-declare-face.
1166
1167 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1168
1169 * term/ns-win.el (ns-initialize-window-system): Move creation of
1170 fontsets here (Bug#11964).
1171
1172 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1173
1174 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1175 cell renaming.
1176
1177 2012-11-24 Chong Yidong <cyd@gnu.org>
1178
1179 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1180 obsolete.
1181
1182 * custom.el (custom-theme-set-variables): Use a topological sort
1183 for ordering by custom dependencies (Bug#12952).
1184 (custom--sort-vars, custom--sort-vars-1): New functions.
1185
1186 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1189 lexical-binding (bug#12938).
1190
1191 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1192
1193 * image-mode.el (image-transform-check-size): Use assertions only
1194 for images of type imagemagick.
1195
1196 Otherwise no error, image-transform-fit-to-{width,height} is
1197 silently ignored, as before. Doc fix.
1198
1199 2012-11-24 Chong Yidong <cyd@gnu.org>
1200
1201 * faces.el (color-defined-p): Doc fix (Bug#12853).
1202
1203 2012-11-24 Juri Linkov <juri@jurta.org>
1204
1205 * dired.el (dired-mark): Add optional arg `interactive'.
1206 Check for `use-region-p' if `interactive' is non-nil.
1207 (dired-unmark, dired-flag-file-deletion): Add optional arg
1208 `interactive'. Call `dired-mark' with the arg `interactive'.
1209 (Bug#10624)
1210
1211 * wdired.el: Revert 2012-10-17 change partly and replace it with
1212 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1213 (wdired-finish-edit): Add marks for new file names to
1214 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1215 after `revert-buffer'.
1216 (wdired-do-renames): Remove calls to `dired-remove-file',
1217 `dired-add-file', `dired-add-entry'. (Bug#11795)
1218
1219 2012-11-24 Alan Mackenzie <acm@muc.de>
1220
1221 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1222
1223 Fix bugs in the state cache. Enhance a debugging mechanism.
1224 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1225 "brace at column zero" strategy for C++.
1226 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1227 (c-parse-state-point): New variable.
1228 (c-record-parse-state-state): Record old parse state with
1229 `copy-tree'. Record previous value of point.
1230 (c-debug-parse-state-double-cons): New debugging function.
1231 (c-debug-parse-state): Call the above new function.
1232 (c-toggle-parse-state-debug): Output a confirmatory message.
1233
1234 * progmodes/cc-mode.el (c-before-change, c-after-change):
1235 Call c-invalidate-state-cache from `c-before-change' instead of
1236 `c-after-change'.
1237
1238 2012-11-23 Chong Yidong <cyd@gnu.org>
1239
1240 * find-cmd.el (find-constituents): Add executable, ipath,
1241 readable, samefile, writable, daystart, regextype (Bug#12856).
1242
1243 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1244
1245 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1246
1247 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1248
1249 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1250 definition. This fixes a bootstrap failure.
1251 (calc-gregorian-switch): In menu, put dates before regions.
1252 This is easier to follow, lines up better in the menu, and lets us
1253 coalesce regions that switch at the same time. Give country
1254 names, not "Vatican", as that's better for non-expert users.
1255 Use names that are stable between the date of switch and now, e.g.,
1256 Bohemia and Moravia (which existed then and now) and not
1257 Czechoslovakia (which didn't exist then and doesn't exist now).
1258 What is now the U.S. mostly did not switch at the same time as
1259 Britain, so omit the U.S. Correct spelling of "Britain".
1260 Catholic Switzerland was too much of a mess, so omit it.
1261
1262 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1263
1264 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1265 after the variable is changed.
1266
1267 2012-11-21 Daniel Colascione <dancol@dancol.org>
1268
1269 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1270 in SQL declarations for font-lock.
1271 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1272
1273 2012-11-21 Glenn Morris <rgm@gnu.org>
1274
1275 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1276 (face-italic-p): Add optional argument "inherit".
1277
1278 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1279 Remove -p suffix from names, for consistency with other set-face-*.
1280 (set-face-inverse-video): Fix interactive spec.
1281 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1282 * textmodes/table.el (table--update-cell-face):
1283 Use set-face-inverse-video rather than now obsolete alias.
1284
1285 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1286
1287 * simple.el (line-move): Don't call line-move-partial if
1288 scroll-conservatively is in effect. (Bug#12927)
1289
1290 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1291
1292 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1293 Fallback on completion-at-point rather than
1294 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1295 (eshell-cmpl-initialize): Setup completion-at-point.
1296
1297 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1298
1299 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1300
1301 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1302
1303 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1304 are remote, check out-of-band property for both.
1305
1306 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1309 code rewrite.
1310
1311 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1312
1313 More minor time fixes.
1314 * calendar/time-date.el: Commentary fix.
1315 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1316 too much other code depends on (0 0) time stamps.
1317 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1318 Add a couple of FIXME comments.
1319
1320 Minor cleanup for times as lists of four integers.
1321 * files.el (dir-locals-directory-cache):
1322 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1323 Doc fixes.
1324 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1325 * ps-bdf.el (bdf-file-newer-than-time):
1326 Process four-integers time stamps, not two. Doc fixes.
1327
1328 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1329
1330 * uniquify.el (uniquify-managed): Use defvar-local.
1331 (rename-buffer, create-file-buffer): Advise with advice-add.
1332 (uniquify-unload-function): Unadvise accordingly.
1333
1334 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1335 (trace-buffer): Don't purecopy.
1336 (trace-entry-message, trace-exit-message): Add `context' arg.
1337 (trace--timer): New var.
1338 (trace-make-advice): Adjust for use in nadvice.
1339 Add `context' argument. Delay `display-buffer' via a timer.
1340 (trace-function-internal): Use advice-add.
1341 (trace--read-args): New function.
1342 (trace-function-foreground, trace-function-background): Use it.
1343 (trace-function): Rename to trace-function-foreground and redefine as
1344 an alias to that new name.
1345 (untrace-function, untrace-all): Adjust to the use of nadvice.
1346
1347 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1348
1349 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1350
1351 * subr.el (called-interactively-p-functions): New var.
1352 (internal--called-interactively-p--get-frame): New macro.
1353 (called-interactively-p, interactive-p): Rewrite in Lisp.
1354 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1355 (called-interactively-p-functions): Use it.
1356 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1357 (called-interactively-p-functions): Use it.
1358 * allout.el (allout-called-interactively-p): Don't assume
1359 called-interactively-p is a subr.
1360
1361 2012-11-20 Glenn Morris <rgm@gnu.org>
1362
1363 * profiler.el (profiler-report-mode-map): Add a menu.
1364 No need to bind `q' because we derive from special-mode.
1365 (profiler-report-find-entry): Handle calls from the menu-bar.
1366
1367 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * emacs-lisp/byte-run.el (defun-declarations-alist):
1370 Allow a compiler-macro to be a lambda expression.
1371
1372 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1373 eval-when-compile.
1374 (python-syntax-context): Add compiler-macro.
1375 (python-font-lock-keywords): Simplify with De Morgan.
1376
1377 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1378
1379 * files.el (load-file): Require match in minibuffer selection, as was
1380 the case in Emacs-20 before we changed the spec to allow .elc files
1381 (bug#12935).
1382
1383 * json.el: Don't require cl since we don't use it.
1384 * color.el: Don't require cl.
1385 (color-complement): `caddr' -> `nth 2'.
1386
1387 * calendar/time-date.el (time-to-seconds): De-obsolete.
1388
1389 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1390
1391 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1392 year numbers.
1393 (math-date-to-julian-dt): Adjust the initial approximation for the
1394 year to deal with the new definition of the DATE.
1395
1396 2012-11-19 Daniel Colascione <dancol@dancol.org>
1397
1398 * term/w32-win.el (cygwin-convert-path-from-windows):
1399 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1400
1401 2012-11-18 Chong Yidong <cyd@gnu.org>
1402
1403 * filecache.el (file-cache--read-list): New function.
1404 (file-cache-add-directory-list, file-cache-add-file-list)
1405 (file-cache-delete-file-list, file-cache-delete-directory-list):
1406 Use it to read a list of files or directories (Bug#12846).
1407 (file-cache-add-file, file-cache-add-directory)
1408 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1409 (file-cache-delete-directory): Print an message.
1410
1411 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1412
1413 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1414 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1415
1416 2012-11-18 Glenn Morris <rgm@gnu.org>
1417
1418 * image.el (insert-image, insert-sliced-image): Doc fix.
1419
1420 2012-11-18 Chong Yidong <cyd@gnu.org>
1421
1422 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1423 (Bug#12810).
1424
1425 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1426
1427 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1428 response when the target file is in a subdirectory (Bug#12757).
1429
1430 2012-11-18 Chong Yidong <cyd@gnu.org>
1431
1432 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1433
1434 2012-11-18 Glenn Morris <rgm@gnu.org>
1435
1436 * emacs-lisp/cl-lib.el (face-underline-p):
1437 Use set-face-underline rather than the alias set-face-underline-p.
1438
1439 * window.el (with-temp-buffer-window): Doc fix.
1440 * subr.el (with-output-to-temp-buffer):
1441 Add doc xref to with-temp-buffer-window.
1442
1443 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1444
1445 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1446 * calc/calc.el (math-format-date-cache): Declare.
1447
1448 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1449
1450 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1451 It also uses January 1, 1 AD as its day number 1.
1452 * calc/calc-forms.el (math-julian-date-beginning)
1453 (math-julian-date-beginning-int): Implement this.
1454
1455 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1456
1457 * descr-text.el (quail-find-key):
1458 * dired.el (desktop-file-name):
1459 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1460 * generic-x.el (comint-mode, comint-exec):
1461 * image-dired.el (widget-forward):
1462 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1463 (speedbar-change-expand-button-char)
1464 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1465 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1466 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1467 (widget-field-action, widget-value-set):
1468 * speedbar.el (imenu--make-index-alist):
1469 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1470 (ring-length, ring-insert):
1471 * vcursor.el (compare-windows-skip-whitespace):
1472 * woman.el (dired-get-filename):
1473 Declare functions.
1474
1475 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1476
1477 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1478
1479 * calc/calc.el (calc-gregorian-switch): New variable.
1480
1481 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1482 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1483 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1484 (math-leap-year-p): Add option to distinguish between Julian
1485 and Gregorian calendars.
1486 (math-day-number): Use `math-day-in-year' to do the computations.
1487 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1488 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1489 to do the computations.
1490 (math-date-to-dt): Use `math-date-to-julian-dt' and
1491 `math-date-to-gregorian-dt' to do the computations.
1492 (calcFunc-weekday, math-format-date-part): Use the new version of
1493 the DATE to determine the weekday.
1494 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1495 when necessary.
1496
1497 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1498
1499 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1500 Cygwin; otherwise use 'file:'. (Bug#12914)
1501 (cygwin-convert-path-from-windows): Declare, to avoid
1502 byte-compiler warnings.
1503
1504 2012-11-17 Andreas Politz <politza@fh-trier.de>
1505
1506 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1507 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1508 prefix and negative numeric prefix args (Bug#12795).
1509
1510 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1511
1512 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1513 Don't signal an error with a score that is too low to add to the
1514 list of top scores. (Bug#12779)
1515
1516 2012-11-17 Chong Yidong <cyd@gnu.org>
1517
1518 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1519
1520 * filecache.el (file-cache-add-file): Handle relative file name in
1521 the argument (Bug#12694).
1522
1523 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1524
1525 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1526
1527 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1528
1529 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1530
1531 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1532
1533 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1534
1535 * window.el (enlarge-window, shrink-window): Don't mention return
1536 value in doc-string (Bug#12896).
1537 (window--display-buffer): Don't resize frames - it won't work
1538 with all window managers and defeat pop-up-frame-alist.
1539 (display-buffer-alist): In doc-string explain that CONDITION can
1540 be a function and which arguments are passed to it (Bug#12854).
1541 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1542 expressions (Bug#12854).
1543 (display-buffer): Pass ACTION argument to
1544 display-buffer-assq-regexp.
1545
1546 2012-11-16 Glenn Morris <rgm@gnu.org>
1547
1548 * window.el (fit-frame-to-buffer-bottom-margin)
1549 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1550
1551 * faces.el (face-underline-p): Use face-attribute-specified-or.
1552
1553 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1554
1555 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1556
1557 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1558
1559 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1560
1561 2012-11-16 Glenn Morris <rgm@gnu.org>
1562
1563 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1564 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1565
1566 * faces.el (face-underline-p): Doc fix. Handle :underline being
1567 things other than `t' (a string, a list).
1568 (face-inverse-video-p): Doc fix.
1569 (set-face-underline): Rename it back from set-face-underline-p.
1570 Doc fix. Allow interactive input of values other than t.
1571 (read-face-attribute): Apply formatting to :underline,
1572 since like :box and :stipple it can take list values.
1573
1574 * term.el (ansi-term): Don't let C-x escape-char binding
1575 clobber the more standard C-c binding. (Bug#12842)
1576
1577 * subr.el (set-temporary-overlay-map): Doc fix.
1578
1579 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1580
1581 * window.el (record-window-buffer)
1582 (display-buffer-record-window): When copying the markers to
1583 window-point preserve window-point-insertion-type. (Bug#12588)
1584
1585 2012-11-16 Glenn Morris <rgm@gnu.org>
1586
1587 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1588 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1589 Use new names for hooks rather than obsolete aliases.
1590
1591 2012-11-15 Daniel Colascione <dancol@dancol.org>
1592
1593 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1594 prefix instead of "file:" so that when FILE-NAME begins with "//",
1595 as it does when the target file is on a network share, url-handler
1596 isn't confused.
1597
1598 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1601 a preactivated advice from an old advice.el; they're not compatible!
1602
1603 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1604
1605 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1606 Fix string-spec case.
1607
1608 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1609
1610 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1613 (advice--buffer-local-function-sample): New var.
1614 (advice--set-buffer-local, advice--buffer-local): New functions.
1615 (add-function, remove-function): Use them.
1616
1617 2012-11-15 Drew Adams <drew.adams@oracle.com>
1618
1619 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1620
1621 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1624 potential binding of print-gensym to t, and prettify (back)quotes in
1625 case they appear in args's default values (bug#12884).
1626
1627 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1628
1629 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1630 (advice-eval-interactive-spec): New function.
1631 (advice--make-interactive-form): Support around advice (bug#12844).
1632
1633 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1634
1635 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1636 more strict. Add docstring.
1637 (ruby-expression-expansion-re): Extract from
1638 `ruby-match-expression-expansion'.
1639 (ruby-syntax-propertize-function): After everything else, search
1640 for expansions in string literals, mark their insides as
1641 whitespace syntax and save match data for font-lock.
1642 (ruby-font-lock-keywords): Use the 2nd group from expression
1643 expansion matches.
1644 (ruby-match-expression-expansion): Use the match data saved to the
1645 text property in ruby-syntax-propertize-function.
1646
1647 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1650 (bug#12879).
1651
1652 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1653
1654 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1655 start/end keyword a bit harder. Works with different values of N.
1656 Add more comments.
1657 (ruby-end-of-block): Update accordingly.
1658
1659 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1660
1661 * woman.el (woman-file-name): Don't mess with unread-command-events
1662 (bug#12861).
1663
1664 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1665 Remove out of date self-require hack.
1666 (ad-do-advised-functions): Use simple `dolist'.
1667 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1668 (ad-advice-definition): Redefine as functions.
1669 (ad-advice-classes): Move before first use.
1670 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1671 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1672 (ad--defalias-fset): Remove functions.
1673 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1674 (ad-get-orig-definition): Rewrite.
1675 (ad-make-advised-definition-docstring): Change base docstring.
1676 (ad-real-orig-definition): Rewrite.
1677 (ad-map-arglists): Change name of called function.
1678 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1679 (ad-make-advised-definition): Simplify.
1680 (ad-assemble-advised-definition): Tweak for new calling context.
1681 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1682 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1683 function and call ad-activate if needed.
1684 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1685 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1686 (ad-compile-function): Compile ad-Advice-*.
1687 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1688 (ad-start-advice, ad-stop-advice): Remove.
1689
1690 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1691
1692 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1693 period before class method names, not after. Remove handling of
1694 one impossible case. Add comments.
1695
1696 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1697
1698 * emacs-lisp/advice.el: Remove support for freezing.
1699 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1700 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1701 Remove support for `freeze'.
1702
1703 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1704 override the default.
1705 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1706 cl--dotimes/dolist.
1707 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1708 `cl' is loaded.
1709
1710 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1711 from add-advice.
1712 (advice--strip-macro): New function.
1713 (advice--defalias-fset): Use them to handle macros.
1714 (advice-add): Use them.
1715 (advice-member-p): Correctly handle macros.
1716
1717 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1718
1719 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1720 Never font-lock the beginning of singleton class as heredoc.
1721
1722 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1725
1726 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1727
1728 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1729 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1730 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1731
1732 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1733
1734 Fix end-of-defun misbehavior.
1735 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1736 python-beginning-of-defun-function. Handle nested defuns
1737 correctly.
1738 (python-nav-end-of-defun): Rename from
1739 python-end-of-defun-function. Ensure forward movement.
1740 (python-info-current-defun): Reimplement to work as intended
1741 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1742 parent defuns as soon as possible.
1743
1744 2012-11-13 Glenn Morris <rgm@gnu.org>
1745
1746 * progmodes/flymake.el (flymake-error-bitmap)
1747 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1748 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1749
1750 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1751
1752 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1753 backward, always stop at indentation. Reverts the change from
1754 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1755
1756 2012-11-13 Glenn Morris <rgm@gnu.org>
1757
1758 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1759 Add ibuffer-filter-by-derived-mode.
1760
1761 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1762 the same name shadowing each other.
1763
1764 * window.el (with-temp-buffer-window): Doc tweak.
1765
1766 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1767
1768 * help.el (temp-buffer-max-height):
1769 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1770 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1771
1772 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1773
1774 * emacs-lisp/nadvice.el: New package.
1775 * subr.el (special-form-p): New function.
1776 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1777 (elp-all-instrumented-list): Remove var.
1778 (elp-not-profilable): Remove elp-wrapper.
1779 (elp-profilable-p): Use autoloadp and special-form-p.
1780 (elp--advice-name): New const.
1781 (elp-instrument-function): Use advice-add.
1782 (elp--instrumented-p): New predicate.
1783 (elp-restore-function): Use advice-remove.
1784 (elp-restore-all, elp-reset-all): Use mapatoms.
1785 (elp-set-master): Use elp--instrumented-p.
1786 (elp--make-wrapper): Rename from elp-wrapper, return a function
1787 suitable for advice-add. Use cl-inf.
1788 (elp-results): Use mapatoms+elp--instrumented-p.
1789 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1790 (debug-function-list): Remove var.
1791 (debug): Rename arg, and then let-bind it explicitly inside.
1792 (debugger-setup-buffer): Rename arg.
1793 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1794 (debugger-frame-number): Adjust to new debug-on-entry setup.
1795 (debug--implement-debug-on-entry): Rename from
1796 implement-debug-on-entry, add argument.
1797 (debugger-special-form-p): Remove, use special-form-p instead.
1798 (debug-on-entry): Use advice-add.
1799 (debug--function-list): New function.
1800 (cancel-debug-on-entry): Use it, along with advice-remove.
1801 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1802 (debugger-list-functions): Use debug--function-list instead of
1803 debug-function-list.
1804 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1805 (ad-special-form-p): Remove, use special-form-p instead.
1806 (ad-set-advice-info): Use add-function and remove-function.
1807 (ad--defalias-fset): Adjust accordingly.
1808
1809 2012-11-10 Glenn Morris <rgm@gnu.org>
1810
1811 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1812 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1813 (report-emacs-bug-create-existing-bugs-buffer)
1814 (report-emacs-bug-parse-query-results)
1815 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1816
1817 * term.el (term-default-fg-color, term-default-bg-color):
1818 Make obsolete, rather than just saying "deprecated" in the doc.
1819
1820 * term.el (term): Rename from `term-face'.
1821 (term-current-face, ansi-term-color-vector)
1822 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1823 Update all users.
1824
1825 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1826
1827 * server.el (server-create-window-system-frame): Handle Nextstep
1828 specially (Bug#12780).
1829
1830 2012-11-10 Glenn Morris <rgm@gnu.org>
1831
1832 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1833 Unautoload, and make obsolete. (Bug#7449)
1834
1835 2012-11-10 Chong Yidong <cyd@gnu.org>
1836
1837 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1838 rename from diff-remove-trailing-whitespace (Bug#12831).
1839
1840 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1841
1842 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1843 miscompilation of trace.el.
1844
1845 2012-11-10 Glenn Morris <rgm@gnu.org>
1846
1847 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1848
1849 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1852 (bug#12812).
1853
1854 2012-11-10 Chong Yidong <cyd@gnu.org>
1855
1856 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1857 a defcustom with an appropriate :set function.
1858 (minibuffer-default--in-prompt-regexps): New function.
1859
1860 2012-11-10 Glenn Morris <rgm@gnu.org>
1861
1862 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1863 (define-modify-macro): Doc fixes.
1864
1865 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1866 (gv-define-simple-setter): Update doc of `fix-return'.
1867
1868 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1871 twice when `fix-return' is set (bug#12813).
1872
1873 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1874 gv-define-simple-setter (bug#12812).
1875
1876 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1877 (bug#12756).
1878
1879 2012-11-10 Glenn Morris <rgm@gnu.org>
1880
1881 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1882
1883 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1884 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1885 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1886 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1887
1888 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1889
1890 2012-11-10 Leo Liu <sdl.web@gmail.com>
1891
1892 * ido.el (ido-set-matches-1): Improve flex matching performance by
1893 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1894
1895 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1898 (ad--defalias-fset): New function.
1899 (ad-safe-fset): Remove.
1900 (ad-make-freeze-definition): Use cl-letf*.
1901
1902 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1903
1904 * subr.el (dolist): Don't bind VAR in RESULT.
1905
1906 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1907 (fset, documentation): Don't save real def since we don't advise.
1908 (ad-do-advised-functions): Remove problematic `result-form'.
1909 (ad-safe-fset): `ad-real-fset' => `fset'.
1910 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1911 uses CL's dolist internally.
1912 (ad-arglist): Remove unused arg `name'.
1913 (ad-docstring, ad-make-advised-docstring):
1914 `ad-real-documentation' => `documentation'.
1915 (warning-suppress-types): Declare.
1916 (ad-set-arguments): Simple CSE.
1917 (ad-recover-normality): Sanity check.
1918
1919 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1920 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1921
1922 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1923
1924 * ses.el: symbol to coordinate mapping is made by symbol property
1925 `ses-cell'. This means that the same mapping is done for all SES
1926 sheets. That is good enough for cells with standard A1 names, but
1927 not for named cell. So a hash map is added for the latter.
1928 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1929 (ses-sym-rowcol): Use hashmap for named cell.
1930 (ses-is-cell-sym-p): New defun.
1931 (ses-decode-cell-symbol): New defun.
1932 (ses-create-cell-variable): Add cell to hashmap when name is not
1933 A1-like.
1934 (ses-rename-cell): Check that cell new name is not already in
1935 spreadsheet with the use of ses-is-cell-sym-p
1936 (ses-rename-cell): Use hash map for named cells, but accept also
1937 renaming back to A1-like.
1938
1939 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1940
1941 * emacs-lisp/advice.el: Use new dynamic docstrings.
1942 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1943 Use dynamic-docstring-function instead of ad-advice-info.
1944 (ad--make-advised-docstring): New function extracted from
1945 ad-make-advised-docstring.
1946 (ad-make-advised-docstring): Use it.
1947 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1948 from sql-help.
1949 (sql-help): Use it with dynamic-docstring-function.
1950
1951 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1952
1953 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * files.el (hack-one-local-variable--obsolete): New function.
1956 (hack-one-local-variable): Use it for obsolete settings.
1957
1958 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1959 the new name.
1960
1961 * progmodes/js.el (js--filling-paragraph): New var.
1962 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1963 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1964 less sneaky.
1965
1966 2012-11-08 Julien Danjou <julien@danjou.info>
1967
1968 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1969 `auto-mode-alist' (Bug#12835).
1970
1971 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1972
1973 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1974 (perl--prettify-symbols-alist): New const.
1975 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1976 New functions.
1977 (perl-font-lock-keywords-2): Use them.
1978 (perl-electric-noindent-p): New function.
1979 (perl-mode): Use it to set up electric-indent-mode.
1980 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1981 (perl-mode-map): Remove bindings for them.
1982 (perl-imenu-generic-expression, perl-outline-level):
1983 Match functions&packages in column>0.
1984
1985 * env.el (env--substitute-vars-regexp): New const.
1986 (substitute-env-vars): Use it. Add `only-defined' arg.
1987 * net/tramp.el (tramp-replace-environment-variables): Use it.
1988
1989 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1990 Byte-compile *before* eval in eval-and-compile.
1991 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1992 (byte-compile-file-form-autoload): Don't hide actual definition.
1993 (byte-compile-maybe-guarded): Accept `functionp' as well.
1994
1995 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1996
1997 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1998
1999 * notifications.el (notifications-get-server-information-method):
2000 New defconst.
2001 (notifications-get-capabilities): Fix docstring.
2002 (notifications-get-server-information): New defun.
2003
2004 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2005
2006 * textmodes/ispell.el (ispell-region): Standard re-indent for better
2007 readability.
2008
2009 * textmodes/ispell.el: Experimental support for support debugging.
2010 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
2011 buffer for ispell.
2012 (ispell-print-if-debug): New function to print stuff to
2013 `ispell-debug-buffer' if debugging is enabled.
2014 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
2015 show some debugging info.
2016 (ispell-buffer-with-debug): New function that creates a debugging
2017 buffer and calls `ispell-buffer' with debugging enabled.
2018
2019 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
2020 comment in autoconf mode. (Bug#12768)
2021
2022 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
2023
2024 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
2025 frame-first-window, frame-root-window, frame-selected-window,
2026 minibuffer-selected-window, minibuffer-window,
2027 window-absolute-pixel-edges, window-at, window-body-height,
2028 window-body-width, window-display-table, window-combination-limit,
2029 window-frame, window-fringes, window-inside-absolute-pixel-edges,
2030 window-inside-edges, window-inside-pixel-edges, window-left-child,
2031 window-left-column, window-margins, window-next-buffers,
2032 window-next-sibling, window-new-normal, window-new-total,
2033 window-normal-size, window-parameter, window-parameters, window-parent,
2034 window-pixel-edges, window-point, window-prev-buffers,
2035 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
2036 window-start, window-text-height, window-top-child, window-top-line,
2037 window-total-height, window-total-width and window-use-time to the list
2038 of functions without side-effects.
2039 (toplevel): Add window-valid-p to the list of error-free functions
2040 without side-effects.
2041
2042 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2043
2044 * textmodes/ispell.el (ispell-program-name):
2045 Update spellchecker parameters when customized.
2046
2047 2012-11-04 Glenn Morris <rgm@gnu.org>
2048
2049 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
2050
2051 2012-11-04 Chong Yidong <cyd@gnu.org>
2052
2053 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
2054 same-window-* variables.
2055
2056 2012-11-04 Juri Linkov <juri@jurta.org>
2057
2058 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
2059 (isearch-describe-key, isearch-describe-mode): Use a display
2060 action instead of binding same-window-* variables (Bug#10040).
2061
2062 2012-11-03 Glenn Morris <rgm@gnu.org>
2063
2064 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2065 Rename handler properties back from cl-- to cl-. (Bug#12788)
2066
2067 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
2068
2069 2012-11-03 Eli Zaretskii <eliz@gnu.org>
2070
2071 * term/pc-win.el: Don't load term/internal from here.
2072
2073 * loadup.el: Load term/internal from here.
2074
2075 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
2076
2077 * progmodes/python.el (inferior-python-mode): Fix hang in
2078 jit-lock (Bug#12645).
2079
2080 2012-11-03 Martin Rudalics <rudalics@gmx.at>
2081
2082 * window.el (switch-to-visible-buffer)
2083 (switch-to-buffer-preserve-window-point): Fix doc-strings.
2084
2085 2012-11-03 Glenn Morris <rgm@gnu.org>
2086
2087 * emacs-lisp/cl-lib.el (cl--random-time):
2088 Rename from cl-random-time. (Bug#12773)
2089 (cl--gensym-counter, cl--random-state): Update callers.
2090 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
2091
2092 2012-11-03 Chong Yidong <cyd@gnu.org>
2093
2094 * cus-start.el: Make cursor-type customizable (Bug#11633).
2095
2096 2012-11-02 Glenn Morris <rgm@gnu.org>
2097
2098 * filecache.el: No need to load find-lisp when compiling.
2099 (find-lisp-find-files): Autoload it.
2100 (file-cache-add-directory-recursively): Don't require find-lisp.
2101
2102 * image.el (image-type-from-file-name): Trivial simplification.
2103
2104 * emacs-lisp/bytecomp.el (byte-compile-eval):
2105 Decouple "noruntime" and "cl-functions" warnings.
2106
2107 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2108
2109 * play/gomoku.el (gomoku-display-statistics): Update mode line
2110 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2111
2112 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2113
2114 * window.el (quit-restore-window): If the window has been
2115 created on an existing frame and ended up as the sole window on
2116 that frame, do not delete it (Bug#12764).
2117
2118 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2119
2120 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2121 Rename from sh--inside-arithmetic-expression, handle more cases
2122 (bug#11263).
2123
2124 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2125 (sh-font-lock-open-heredoc): Use it (bug#12770).
2126
2127 2012-10-30 Glenn Morris <rgm@gnu.org>
2128
2129 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2130
2131 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2132
2133 2012-10-29 Chong Yidong <cyd@gnu.org>
2134
2135 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2136 function key is stored in a keyboard macro (Bug#4894).
2137
2138 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2139
2140 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2141
2142 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2143 header comments".
2144 (diff-unified->context, diff-context->unified)
2145 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2146
2147 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2148
2149 * files.el (find-alternate-file): Only ask one question (bug#12487).
2150
2151 2012-10-29 Chong Yidong <cyd@gnu.org>
2152
2153 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2154 Suggested by Dan Nicolaescu (Bug#6326).
2155
2156 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2157
2158 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2159
2160 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2161
2162 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2163
2164 * face-remap.el (face-remap-add-relative): Handle the case where a
2165 face-remapping-alist entry is a cons cell (Bug#12762).
2166
2167 2012-10-29 Kevin Ryde <user42@zip.com.au>
2168
2169 * woman.el (woman-parse-numeric-value): Handle picas correctly
2170 (Bug#12639).
2171
2172 2012-10-29 Glenn Morris <rgm@gnu.org>
2173
2174 * emacs-lisp/cl.el (defsetf): Doc fix.
2175
2176 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2177
2178 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2179 syntax to the matching opener, if any (bug#12547).
2180 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2181 matching open as a "case-(".
2182 (sh-smie-rc-grammar): Add a corresponding rule for it.
2183
2184 2012-10-28 Daniel Hackney <dan@haxney.org>
2185
2186 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2187 "PKGNAME-autoloads.el" in case we created it.
2188
2189 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2190
2191 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2192 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2193 (completion--twq-all): Disable too-strict assertions.
2194
2195 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2196
2197 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2198
2199 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2200 text to match the real keybindings.
2201
2202 2012-10-27 Juri Linkov <juri@jurta.org>
2203
2204 * wdired.el (wdired-keep-marker-rename): New defcustom.
2205 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2206 (Bug#11795)
2207
2208 * dired.el (dired-keep-marker-rename): Add reference to
2209 `wdired-keep-marker-rename' in the docstring.
2210 Add default character value ?R to display initially in
2211 Customization UI instead of ?@.
2212
2213 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2214
2215 * window.el (display-buffer): In doc-string describe
2216 window-height and window-width alist entries.
2217
2218 * time.el (display-time-world): Restore fit-window-to-buffer
2219 behavior.
2220
2221 2012-10-27 Chong Yidong <cyd@gnu.org>
2222
2223 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2224
2225 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2226
2227 * minibuffer.el (completion-category-overrides): New completion
2228 category `bookmark' (bug#11131).
2229
2230 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2231
2232 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2233 Silence bogus compiler warnings for ad-do-it.
2234
2235 * bookmark.el (bookmark-completing-read): Set the completion category
2236 to `bookmark' (bug#11131).
2237
2238 2012-10-26 Bastien <bzg@altern.org>
2239 Stefan Monnier <monnier@iro.umontreal.ca>
2240
2241 * face-remap.el: Use lexical-binding.
2242 (text-scale-adjust): Improve docstring. Use itself for the temporary
2243 overlay-map bindings, so as to repeat the "Use..." message each time.
2244
2245 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2246
2247 * emacs-lisp/macroexp.el (macroexp--expand-all):
2248 Obey byte-compile-warning-enabled-p (bug#12486).
2249
2250 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2251 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2252
2253 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2254
2255 * mouse.el (mouse-drag-line): Move last form into preceding when
2256 clause (Bug#12731).
2257
2258 * help.el (resize-temp-buffer-window): Fix doc-string.
2259
2260 2012-10-25 David Engster <deng@randomsample.de>
2261
2262 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2263 Remove. This feature is already integrated in imenu.
2264
2265 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2266 always loaded. Require `speedbar' unconditionally.
2267
2268 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2269
2270 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2271
2272 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2273
2274 * net/ldap.el (ldap-search-internal): The official ldif format starts
2275 with a "version: 1" header (bug#12724).
2276
2277 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2278 (bug#12721).
2279
2280 2012-10-25 Glenn Morris <rgm@gnu.org>
2281
2282 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2283
2284 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2285
2286 * minibuffer.el (minibuffer-force-complete): Use one more marker
2287 for the temporary-overlay-map command (bug#12619).
2288
2289 2012-10-24 Chong Yidong <cyd@gnu.org>
2290
2291 * time.el (display-time-world-mode): Derive from special-mode.
2292 (display-time-world): Use display-buffer (Bug#12708).
2293 (display-time-world-mode-map): Variable deleted.
2294 (display-time-world-display): Wrap the final delete-char inside
2295 inhibit-read-only.
2296
2297 2012-10-24 Chong Yidong <cyd@gnu.org>
2298
2299 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2300 Doc fix.
2301
2302 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2303
2304 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * minibuffer.el (completion--all-sorted-completions-location): New var.
2307 (completion--cache-all-sorted-completions)
2308 (completion--flush-all-sorted-completions): Use it.
2309 (completion-in-region, completion-in-region--postch)
2310 (completion-at-point, completion-help-at-point): Use markers in
2311 completion-in-region--data (bug#12619).
2312
2313 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * progmodes/compile.el (compilation-start): Try to handle common
2316 quoting of `cd' argument (bug#12640).
2317
2318 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2319 (bug#12671).
2320
2321 2012-10-23 Glenn Morris <rgm@gnu.org>
2322
2323 * progmodes/gud.el (gud-menu-map):
2324 Check gdb-active-process is bound. (Bug#12358)
2325
2326 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * repeat.el (repeat): Set real-this-command (bug#12232).
2329
2330 * htmlfontify.el (hfy-post-html-hook):
2331 * filesets.el (filesets-cache-fill-content-hook):
2332 * arc-mode.el (archive-extract-hook):
2333 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2334 * net/rcirc.el (rcirc-sentinel-functions)
2335 (rcirc-receive-message-functions, rcirc-activity-functions)
2336 (rcirc-print-functions):
2337 * net/dbus.el (dbus-event-error-functions):
2338 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2339 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2340 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2341 * term/sun.el (sun-raw-prefix-hooks):
2342 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2343
2344 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2345
2346 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2347 Set `tramp-chunksize' to 1. This improves the performance.
2348 (tramp-smb-wait-for-output): Add timeout to
2349 `tramp-accept-process-output' calls.
2350
2351 2012-10-23 Chong Yidong <cyd@gnu.org>
2352
2353 * faces.el (font-list-limit): Define as an obsolete variable.
2354
2355 * startup.el (command-line):
2356 * cus-start.el: Don't refer to font-list-limit.
2357
2358 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2359
2360 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2361
2362 * subr.el (internal-temp-output-buffer-show): Rename from
2363 temp-output-buffer-show, since previously compiled files expect this name.
2364
2365 2012-10-23 Glenn Morris <rgm@gnu.org>
2366
2367 * image.el (image-type-from-file-name): If multiple types match,
2368 return the first one that is supported. (Bug#9045)
2369
2370 2012-10-22 Glenn Morris <rgm@gnu.org>
2371
2372 * image.el (imagemagick-enabled-types): Doc fix.
2373
2374 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2375
2376 * progmodes/which-func.el (which-func-current): The hash-table may have
2377 an explicit nil (bug#12338).
2378
2379 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2380
2381 * electric.el (electric-pair-delete-selection-self-insert-function):
2382 Rename to electric-pair-will-use-region, return a boolean.
2383 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2384
2385 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2386 (delete-selection-pre-hook): Use use-region-p.
2387 (delete-selection-self-insert-function): Remove.
2388 (self-insert-command): Obey self-insert-uses-region-functions.
2389 (self-insert-iso): Revert to previous setting, since we don't actually
2390 know what that command does.
2391 (delete-selection-self-insert-hooks): Remove.
2392
2393 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2394
2395 * delsel.el (delete-selection-helper): New function, extracted from
2396 delete-selection-pre-hook.
2397 (delete-selection-pre-hook): Use it.
2398 (delete-selection-self-insert-function): New function.
2399 (delete-selection-self-insert-hooks): New hook.
2400 (self-insert-command, self-insert-iso): Use it.
2401 * electric.el (electric-pair-syntax): New function, extracted from
2402 electric-pair-post-self-insert-function.
2403 (electric-pair-post-self-insert-function): Use it.
2404 (electric-pair-delete-selection-self-insert-function): New function.
2405 (electric-pair-mode): Require delsel and setup
2406 delete-selection-self-insert-hooks (bug#11520).
2407
2408 2012-10-20 Chong Yidong <cyd@gnu.org>
2409
2410 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2411 no changes to show (Bug#12586).
2412
2413 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2414 list explicitly (Bug#12571).
2415
2416 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2417
2418 * progmodes/flymake.el (flymake-create-temp-inplace):
2419 Use file-truename.
2420
2421 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2422
2423 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2424
2425 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2426
2427 * calc/calc-units.el (math-extract-units): Properly extract powers
2428 of units.
2429
2430 2012-10-20 Daniel Colascione <dancol@dancol.org>
2431
2432 * frame.el (make-frame): Set x-display-name as we used to in order
2433 to unbreak creating an X11 frame from an Emacs daemon started
2434 without a display.
2435
2436 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2439 the same completion-field (bug#12221).
2440
2441 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2442
2443 * emacs-lisp/debug.el (debug): Record height of debugger window
2444 also when debugger will be back (Bug#8789).
2445
2446 2012-10-18 Chong Yidong <cyd@gnu.org>
2447
2448 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2449 Convert to defcustom.
2450 (gdb-get-source-file): Don't bind pop-up-windows.
2451
2452 * progmodes/gud.el (gud-display-line): Don't specially re-use
2453 other frames for the gdb-mi case (Bug#12648).
2454
2455 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2456
2457 * emacs-lisp/advice.el: Clean up commentary a bit.
2458 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2459 (byte-code-function-p): Never redefine.
2460
2461 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2462
2463 2012-10-18 Glenn Morris <rgm@gnu.org>
2464
2465 * dired.el (dired-sort-toggle): Some ls implementations only allow
2466 a single option string. (Bug#12666)
2467
2468 * minibuffer.el (completion-cycle-threshold): Doc fix.
2469
2470 2012-10-17 Kenichi Handa <handa@gnu.org>
2471
2472 * international/mule.el (set-keyboard-coding-system):
2473 Recover input meta mode when the new coding system doesn not use 8-bit.
2474 Supply TERMINAL arg to set-input-meta-mode.
2475
2476 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2477
2478 * wdired.el (wdired-old-marks): New variable.
2479 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2480 (wdired-do-renames): Move point with renamed file and don't lose
2481 mark status (Bug#11795).
2482
2483 2012-10-16 Juri Linkov <juri@jurta.org>
2484
2485 * replace.el (query-replace-help): Mention multi-buffer replacement
2486 keys in the Help message. (Bug#12655)
2487
2488 2012-10-15 Chong Yidong <cyd@gnu.org>
2489
2490 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2491
2492 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2493
2494 * window.el (display-buffer): Doc fix.
2495
2496 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2497 Adjust the msft regexp to the output of Studio 2010, and move msft
2498 before edg-1. See the discussion on emacs-devel,
2499 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2500 for the details.
2501
2502 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2503
2504 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2505 (oset): Move uses of object-class-fast macro after its definition.
2506
2507 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2508
2509 2012-10-13 Chong Yidong <cyd@gnu.org>
2510
2511 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2512 enabled, re-enable it (Bug#11963).
2513
2514 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2515
2516 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2517 non-nil, restore window configuration (Bug#12623).
2518
2519 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * help-fns.el (describe-variable, describe-function-1):
2522 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2523
2524 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2525
2526 2012-10-12 Glenn Morris <rgm@gnu.org>
2527
2528 * mail/rmailsum.el (rmail-header-summary):
2529 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2530
2531 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2532
2533 * progmodes/python.el (python-mode-map):
2534 Replace subtitute-key-definition with proper command remapping.
2535 (python-nav--up-list): Fix behavior for blocks on the same level.
2536
2537 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2538
2539 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2540
2541 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2542 changes to the format of load-history.
2543
2544 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2545 completion-ignore-case in case that var is buffer-local (bug#12615).
2546
2547 2012-10-11 Kenichi Handa <handa@gnu.org>
2548
2549 * international/eucjp-ms.el: Re-generated.
2550
2551 2012-10-10 Kenichi Handa <handa@gnu.org>
2552
2553 * select.el (xselect--encode-string): If a coding is specified for
2554 selection, and that is compatible with COMPOUND_TEXT, use it.
2555
2556 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2557
2558 * window.el (switch-to-buffer-preserve-window-point): New option.
2559 (switch-to-buffer):
2560 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2561
2562 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2563
2564 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2565 Don't document nil as a useful value (bug#12583).
2566
2567 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2568
2569 * net/tramp.el (tramp-debug-message):
2570 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2571 (with-tramp-progress-reporter): Rename from
2572 `tramp-with-progress-reporter'.
2573 (with-tramp-file-property, with-tramp-connection-property):
2574 Move from tramp-cache.el, rename from `with-file-property' and
2575 `with-connection-property', respectively.
2576
2577 * net/tramp-cache.el: Remove `with-file-property' and
2578 `with-connection-property'.
2579
2580 * net/tramp.el:
2581 * net/tramp-gvfs.el:
2582 * net/tramp-sh.el:
2583 * net/tramp-smb.el: Adapt callees.
2584
2585 * net/trampver.el: Update release number.
2586
2587 2012-10-09 Glenn Morris <rgm@gnu.org>
2588
2589 * w32-fns.el (set-message-beep):
2590 * term/w32-win.el (set-message-beep): Update declarations.
2591
2592 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2593
2594 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2595 (mode-line-widen, mode-line-input-method-map)
2596 (mode-line-coding-system-map, mode-line-remote)
2597 (mode-line-unbury-buffer, mode-line-bury-buffer)
2598 (mode-line-next-buffer, mode-line-previous-buffer):
2599 Replace save-selected-window+select-window => with-selected-window.
2600
2601 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2602 * progmodes/cc-vars.el (bq-process): Remove, unused.
2603
2604 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2605
2606 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2607
2608 Implemented `backward-up-list'-like navigation.
2609 * progmodes/python.el (python-nav-up-list)
2610 (python-nav-backward-up-list): New functions.
2611 (python-mode-map): Define substitute key for backward-up-list to
2612 python-nav-backward-up-list.
2613
2614 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2615
2616 * progmodes/python.el (python-fill-paragraph): Rename from
2617 python-fill-paragraph-function. Fixed fill-paragraph for
2618 decorators (Bug#12605).
2619
2620 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2621
2622 * progmodes/python.el (python-shell-output-filter): Handle extra
2623 carriage return in OSX (Bug#12409).
2624
2625 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2626
2627 Fix shell handling of unbalanced quotes and parens in output.
2628 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2629 (python-syntax-propertize-function): Use it.
2630 (python-shell-output-syntax-table): New var.
2631 (inferior-python-mode): Prevent unbalanced parens/quotes from
2632 previous output mess with current input context.
2633
2634 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2635
2636 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2637 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2638
2639 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2640
2641 * ffap.el (ffap-replace-file-component): Support Tramp file name
2642 syntax, not only ange-ftp's one.
2643
2644 2012-10-08 Glenn Morris <rgm@gnu.org>
2645
2646 * cus-start.el (message-log-max): Set :version.
2647
2648 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2649
2650 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2651
2652 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2653 the minibuffer window (Bug#10851).
2654
2655 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2656
2657 Enhancements on forward-sexp movement.
2658 * progmodes/python.el (python-nav-beginning-of-statement)
2659 (python-nav-end-of-statement): Return point-marker.
2660 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2661 (python-info-current-symbol)
2662 (python-info-statement-starts-block-p): Rename from
2663 python-info-beginning-of-block-p.
2664 (python-info-statement-ends-block-p): Rename from
2665 python-info-end-of-block-p.
2666 (python-info-beginning-of-statement-p)
2667 (python-info-end-of-statement-p)
2668 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2669 New functions.
2670
2671 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2674 frame-selected-windows.
2675
2676 2012-10-08 Daniel Colascione <dancol@dancol.org>
2677
2678 * battery.el (battery-status-function): Check for
2679 w32-battery-status itself, not system-time windows-nt.
2680
2681 * frame.el: Require cl-lib.
2682 (display-format-alist): New variable mapping frame types to
2683 functions that initialize them.
2684 (window-system-for-display): New function: interprets
2685 display-format-alist.
2686 (make-frame-on-display): Remove existing display-selection logic
2687 and just forward to make-frame, which will now DTRT.
2688 (make-frame): Restructure to use window-system-for-display to
2689 figure out how to create a frame on a given display.
2690 (display-mouse-p): Look for frame-type w32, not a particular
2691 system-type.
2692
2693 * loadup.el: Load w32 lisp code when we have the w32 feature.
2694
2695 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2696 system-type windows-nt.
2697
2698 * server.el (server-create-window-system-frame): Look for window
2699 type.
2700 (server-proces-filter): Only force a window system when windows-nt
2701 _and_ w32. Explain why.
2702
2703 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2704 of window systems we configure for the mode.
2705
2706 * startup.el (command-line): Mark window system is initialized
2707 after we've done it.
2708
2709 * common-win.el (x-select-text): Look for w32, not windows-nt.
2710
2711 * ns-win.el: Require cl-lib. Add ourselves to
2712 display-format-alist.
2713 (ns-initialize-window-system): Assert we're not initialized twice.
2714
2715 * w32-win.el: Enable lexical binding; require cl-lib; add
2716 ourselves to display-format-alist.
2717 (w32-handle-dropped-file): Convert incoming dropped files from
2718 Windows paths to Cygwin ones before passing them on to the rest of
2719 Emacs.
2720 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2721 (w32-initialize-window-system): Assert we're not initialized twice.
2722
2723 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2724 (x-initialize-window-system): Assert we're not initialized twice.
2725
2726 * w32-common-fns.el: New File.
2727 (w32-version, w32-using-nt, w32-get-clipboard-data)
2728 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2729 (w32-charset-info-alist, x-last-selected, text)
2730 (x-get-selection-value, x-selection-value): Move here.
2731
2732 * w32-fns.el: Require w32-common-fns.
2733 (w32-version, w32-using-nt, w32-get-clipboard-data)
2734 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2735 (w32-charset-info-alist, x-last-selected, text)
2736 (x-get-selection-value, x-selection-value): Move to
2737 w32-common-fns.
2738
2739 * w32-vars.el:
2740 (w32-allow-system-shell, w32-system-shells): Define only in
2741 non-cygwin case.
2742
2743 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2744
2745 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2746 (read-passwd): Remove a few more potential sources of leaks.
2747
2748 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2749
2750 * progmodes/python.el (inferior-python-mode)
2751 (python-shell-make-comint): Fix initialization of local
2752 variables copied from parent buffer.
2753
2754 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2755
2756 * term/ns-win.el (ns-read-file-name): Update declaration to match
2757 nsfns.m.
2758 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2759 it is set when font is acted upon.
2760
2761 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2762
2763 Enhancements to indentation.
2764 * progmodes/python.el (python-indent-context): Give priority to
2765 inside-string context. Make comments indentation markers.
2766 (python-indent-region): Do not mess with strings, unless it's the
2767 enclosing set of quotes.
2768
2769 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2770
2771 * window.el (internal--before-save-selected-window)
2772 (internal--after-save-selected-window): New functions extracted from
2773 save-selected-window. Make sure we return the `alist' we construct.
2774 (save-selected-window): Use them.
2775
2776 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2777 Use with-selected-window.
2778
2779 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2780 forms that define macros (bug#12593).
2781
2782 2012-10-07 Kenichi Handa <handa@gnu.org>
2783
2784 * international/mule-conf.el (compound-text-with-extensions):
2785 Add :mime-charset property as x-ctext.
2786
2787 2012-10-07 Stefan Merten <smerten@oekonux.de>
2788
2789 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2790 (rst-indent-literal-normal, rst-indent-literal-minimized)
2791 (rst-indent-comment): Correct :version tag.
2792 (rst-official-cvs-rev): Correct version string.
2793
2794 2012-10-07 Glenn Morris <rgm@gnu.org>
2795
2796 * mail/rmailmm.el (rmail-mime-process-multipart):
2797 Do not confuse a multipart message with an epilogue
2798 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2799
2800 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2801
2802 Fix shell output retrieval and comint-prompt-regexp init.
2803 * progmodes/python.el (inferior-python-mode):
2804 (python-shell-make-comint): Fix initialization of
2805 comint-prompt-regexp from copied file local variables.
2806 (python-shell-fetched-lines): Remove var.
2807 (python-shell-output-filter-in-progress): Rename from
2808 python-shell-fetch-lines-in-progress.
2809 (python-shell-output-filter-buffer): Rename from
2810 python-shell-fetch-lines-string.
2811 (python-shell-fetch-lines-filter): Delete function.
2812 (python-shell-output-filter): New function.
2813 (python-shell-send-string-no-output): Use them.
2814
2815 2012-10-07 Glenn Morris <rgm@gnu.org>
2816
2817 * hi-lock.el (hi-lock-process-phrase):
2818 Try to make it less fragile. (Bug#7161)
2819
2820 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2821
2822 2012-10-06 Glenn Morris <rgm@gnu.org>
2823
2824 * ehelp.el (electric-help-mode): Use help-mode rather than
2825 non-existent mode `help'.
2826 (electric-help-map): Use button-buffer-map. (Bug#10917)
2827
2828 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2829 (reftex-create-bibtex-footer): Fix custom types.
2830
2831 * progmodes/sh-script.el (sh-indent-after-continuation):
2832 Add explicit :group.
2833
2834 * textmodes/rst.el (rst-preferred-decorations)
2835 (rst-shift-basic-offset): Clarify obsolescence versions.
2836
2837 * profiler.el (profiler): Add missing group :version tag.
2838 * avoid.el (mouse-avoidance-banish-position):
2839 * proced.el (proced-renice-command):
2840 * calc/calc.el (calc-ensure-consistent-units):
2841 * calendar/icalendar.el (icalendar-import-format-uid):
2842 * net/tramp.el (tramp-save-ad-hoc-proxies):
2843 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2844 * progmodes/flymake.el (flymake-error-bitmap)
2845 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2846 * progmodes/sh-script.el (sh-indent-after-continuation):
2847 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2848 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2849 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2850 (vhdl-array-index-record-field-in-sensitivity-list)
2851 (vhdl-indent-comment-like-next-code-line):
2852 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2853 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2854 (reftex-cite-key-separator, reftex-create-bibtex-header)
2855 (reftex-create-bibtex-footer):
2856 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2857 (rst-indent-literal-normal, rst-indent-literal-minimized)
2858 (rst-indent-comment): Add missing custom :version tags.
2859
2860 * calendar/timeclock.el (timeclock-modeline-display):
2861 Add missing obsolete alias for renamed user option.
2862
2863 * strokes.el (strokes-modeline-string):
2864 * emulation/crisp.el (crisp-mode-modeline-string):
2865 * eshell/esh-mode.el (eshell-status-in-modeline):
2866 Aliases to defcustoms must come before the defcustom.
2867
2868 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2869 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2870 (cal-tex-cursor-week-monday): Doc fixes.
2871 (cal-tex-cursor-week2-summary): Doc fix.
2872 Rename from cal-tex-cursor-week-at-a-glance.
2873
2874 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2875 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2876
2877 * calendar/calendar.el (calendar-mode-map):
2878 Add cal-tex-cursor-week2-summary.
2879
2880 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2881
2882 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2883
2884 * subr.el (read-passwd-map): New var.
2885 (read-passwd): Use `read-string' again.
2886 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2887
2888 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2889
2890 * register.el (append-to-register, prepend-to-register):
2891 Deactivate mark, as does `copy-to-register' (bug#12389).
2892
2893 2012-10-06 Chong Yidong <cyd@gnu.org>
2894
2895 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2896
2897 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2898
2899 * international/characters.el: Fix simple mistake ((car chars) ->
2900 elt), delete duplicated code.
2901
2902 2012-10-06 Glenn Morris <rgm@gnu.org>
2903
2904 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2905
2906 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2907
2908 * color.el (color-hsl-to-rgb): Fix incorrect results for
2909 small and large hue values. (Bug#12559)
2910
2911 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2912
2913 Enhancements to docstring formatting when filling paragraphs.
2914 * progmodes/python.el (python-fill-docstring-style): Rename from
2915 python-fill-string-style. Added new style.
2916 (python-fill-string): Use new style. Better checks for
2917 docstrings.
2918
2919 2012-10-05 Glenn Morris <rgm@gnu.org>
2920
2921 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2922
2923 * color.el (color-name-to-rgb, color-rgb-to-hex)
2924 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2925 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2926 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2927 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2928
2929 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2930
2931 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2934 to get the correct size across symlinks.
2935
2936 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2937
2938 2012-10-04 Juri Linkov <juri@jurta.org>
2939
2940 * replace.el (query-replace-interactive): Declare obsolete.
2941 (query-replace-read-from): Add the last incremental search string
2942 to the list of default values accessible via M-n.
2943 (map-query-replace-regexp): Use `read-regexp'.
2944 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2945 (map-query-replace-regexp, replace-string, replace-regexp):
2946 Fix docstrings to replace mentions of `query-replace-interactive'
2947 with alternatives. (Bug#12526)
2948
2949 2012-10-04 Juri Linkov <juri@jurta.org>
2950
2951 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2952 (dired-pop-to-buffer): Declare obsolete.
2953 (dired-mark-pop-up): Doc fix.
2954
2955 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2956
2957 Allow user to set docstring style for fill-paragraph.
2958 * progmodes/python.el
2959 (python-fill-comment-function, python-fill-string-function)
2960 (python-fill-decorator-function, python-fill-paren-function):
2961 Remove :safe for defcustoms.
2962 (python-fill-string-style): New defcustom
2963 (python-fill-paragraph-function): Enhance context detection.
2964 (python-fill-string): Honor python-fill-string-style settings.
2965
2966 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2967
2968 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2969 after setting its buffer (Bug#10805).
2970
2971 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2972
2973 Fix cornercase for string syntax.
2974 * progmodes/python.el (python-syntax-propertize-function):
2975 Simplify and enhance the regexp for unescaped quotes. Now it also
2976 matches quotes in weird situations like the single quote in
2977 "something\"'".
2978 (python-syntax-stringify): Simplify num-quotes detecting code.
2979
2980 2012-10-03 Glenn Morris <rgm@gnu.org>
2981
2982 * help-macro.el (three-step-help):
2983 Revert 2012-09-29 change. (Bug#12567)
2984
2985 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2986
2987 * menu-bar.el (kill-this-buffer): Don't do anything when
2988 `menu-frame' is not alive or visible (Bug#8184).
2989
2990 * emacs-lisp/debug.el (debug): When quitting the debugger window
2991 restore current buffer (Bug#12502).
2992
2993 2012-10-02 Chong Yidong <cyd@gnu.org>
2994
2995 * progmodes/hideif.el (hif-lookup, hif-defined):
2996 Handle semantic-c-takeover-hideif.
2997
2998 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2999
3000 Change sampling interval units from ms to ns.
3001 * profiler.el (profiler-sampling-interval): Change units
3002 from ms to ns, multiplying the default by 1000000 so that
3003 it remains 1 ms.
3004 (profiler-report-cpu-line-format): Give enough room for
3005 the maximum counters on 64-bit hosts.
3006 (profiler-report-render-calltree-1): Call them "CPU samples",
3007 not "Time (ms)", since they are not milliseconds now (and
3008 never really were).
3009
3010 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3011
3012 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
3013 Fix querying BBDB for entries without a last name (Bug#11580).
3014
3015 2012-10-02 Chong Yidong <cyd@gnu.org>
3016
3017 * emacs-lisp/eieio.el: Restore Version header.
3018
3019 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
3020
3021 * vc/diff-mode.el (diff--auto-refine-data): New var.
3022 (diff-hunk): Use it to delay refinement.
3023 (diff-mode): Remove overlays when we turn off font-lock.
3024
3025 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
3026 (table-initialize-table-fixed-width-mode)
3027 (table-set-table-fixed-width-mode): Remove functions.
3028 (table-command-list): Move initialization into declaration.
3029 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
3030 (table-with-cache-buffer): Use `declare'.
3031 (table-span-cell): Simplify via CSE.
3032 (table-fixed-width-mode): Use define-minor-mode.
3033 (table-call-interactively, table-funcall, table-apply): Remove.
3034 (table-function): New function, to replace them.
3035
3036 * bookmark.el (bookmark-search-pattern): Remove var.
3037 (bookmark-read-search-input): Remove function.
3038 (bookmark-bmenu-search): Reimplement using a minibuffer.
3039
3040 * faces.el (modeline): Remove obsolete face name.
3041
3042 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
3043 and give a non-nil default value.
3044 (add-change-log-entry): Simplify accordingly.
3045
3046 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
3047
3048 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
3049 (vc-git-log-edit-toggle-amend): New function.
3050 (vc-git-log-edit-toggle-signoff): New function.
3051 (vc-git-log-edit-mode): New major mode.
3052 (vc-git-log-edit-mode-map): Keymap for it.
3053 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
3054
3055 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
3056 header names.
3057 (log-edit-toggle-header): New function.
3058 (log-edit-extract-headers): Accept function values in HEADERS alist.
3059
3060 2012-10-01 David Engster <deng@randomsample.de>
3061
3062 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
3063 from symbol property and change message to be more consistent with
3064 Emacs proper.
3065 (eieio-describe-generic): Add filename for each implementation.
3066 Fix indices for generic and normal methods.
3067 (eieio-method-def, eieio-class-def): New buttons.
3068 (eieio-help-find-method-definition)
3069 (eieio-help-find-class-definition): New functions.
3070 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
3071 class, constructor and method definitions.
3072
3073 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
3074 information in symbol property.
3075 (scoped-class): Remove.
3076 (eieio-slot-name-index, call-next-method): Check if it is bound.
3077
3078 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
3079
3080 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
3081 (eieio-custom-mode): New major mode.
3082 (eieio-customize-object): Use it.
3083
3084 2012-10-01 Eric Ludlam <zappo@gnu.org>
3085
3086 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
3087 specifying the expected class, and whether subclassing is allowed.
3088 (eieio-persistent-convert-list-to-object):
3089 (eieio-persistent-validate/fix-slot-value)
3090 (eieio-persistent-slot-type-is-class-p): New functions.
3091 (eieio-named::slot-missing): Doc fix.
3092
3093 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
3094 Stop using unused publd variable.
3095
3096 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
3097 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3098 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3099 (eieio-speedbar-handle-click): Do not specify a class for the
3100 method. Fixes method invocation order problems with EDE.
3101
3102 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3103
3104 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3105 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3106
3107 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3108
3109 * bookmark.el (bookmark-version-control): Give tags in the
3110 :type choices (Bug#12309), and improve doc string.
3111 (bookmark-write-file): Bind `print-circle' to `t' to allow
3112 circular custom bookmark types. (Bug#12503)
3113
3114 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3115
3116 Revert the FOLLOW-SYMLINKS change for file-attributes.
3117 * files.el (remote-file-name-inhibit-cache, after-find-file):
3118 * time.el (display-time-file-nonempty-p): Undo last change.
3119
3120 * profiler.el (profiler-sampling-interval): Change default back to 1.
3121 See Stefan Monnier in
3122 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3123
3124 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3125
3126 Shell output catching a la gud-gdb.
3127 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3128 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3129 New Vars.
3130 (python-shell-fetch-lines-filter): New function.
3131 (python-shell-send-string-no-output): Use them.
3132
3133 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3134
3135 * profiler.el (profiler-sampling-interval): Rename from
3136 profiler-sample-interval.
3137 (profiler-sampling-interval): Default to 10.
3138 (profiler-find-profile): New command (was profiler-find-log).
3139 (profiler-find-profile-other-window): New command.
3140 (profiler-find-profile-other-frame): New command.
3141 (profiler-profile): Introduce API-level data structure.
3142
3143 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3144
3145 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3146 * files.el (remote-file-name-inhibit-cache):
3147 * time.el (display-time-file-nonempty-p): Use it.
3148 * files.el (after-find-file): Don't chase links before calling
3149 file-exists-p, as file-exists-p already does the right thing.
3150
3151 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3152
3153 Merge from standalone RefTeX repository.
3154
3155 The following ChangeLog entries are shortened versions of the
3156 original ones with file paths adapted. A not so strongly edited
3157 version of the original ChangeLog can be found in the commit log.
3158
3159 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3160 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3161 Correctly handle new value type returned by `reftex-citation'.
3162
3163 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3164 that entries with whitespace at various places are found.
3165 Doc fix. Include entries that are cross-referenced from cited entries.
3166 Include @String definitions in the resulting bib file. Add header
3167 and footer defined in `reftex-create-bibtex-header' and
3168 `reftex-create-bibtex-footer'.
3169 (reftex-do-citation): Make it possible again to insert
3170 non-existent entries. Save match data when asking for optional
3171 arguments. Return all keys, not just the first one.
3172 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3173 all citations in the same line.
3174 (reftex-parse-bibtex-entry): Accept additional optional argument
3175 `raw' and keep quotes or braces if it is non-nil. Match fields
3176 containing hyphens besides word constituents.
3177 (reftex-get-string-refs): New function.
3178 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3179 and ask if it should be reread in case it did.
3180 (reftex-pop-to-bibtex-entry)
3181 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3182 entries with spaces or tabs in front of arguments.
3183 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3184 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3185 Match entries containing numbers and symbol constituents.
3186 (reftex-do-citation, reftex-figure-out-cite-format):
3187 Use `reftex-cite-key-separator'.
3188
3189 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3190 (reftex-mouse-view-crossref): Explain why point is set.
3191
3192 * textmodes/reftex-global.el: Whitespace changes.
3193
3194 * textmodes/reftex-index.el: Move provide statement to end of
3195 file.
3196 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3197 (reftex-index-visit-phrases-buffer): Set marker when visiting
3198 buffer. This allows for returning from the phrases file to the
3199 file one was just editing instead of the file where the last
3200 phrases was added from.
3201 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3202 punctuation syntax as it usually is not used as string quote in
3203 TeX-related modes and may occur unmatched. The change also
3204 prevents fontification of quoted content.
3205 (reftex-index-phrases-mode): Use it.
3206
3207 * textmodes/reftex-parse.el (reftex-parse-from-file):
3208 Move backward one char if a `\' was matched after a section macro.
3209 (reftex-parse-from-file): Use beginning of match instead of end as
3210 bound.
3211
3212 * textmodes/reftex-ref.el: Adapt creation of
3213 `reftex-<package>-<macro>' functions to new structure of
3214 `reftex-ref-style-alist'.
3215 (reftex-reference): Use `reftex-ref-style-list' function.
3216 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3217 reference macro if `reftex-ref-macro-prompt' is non-nil.
3218 (reftex-reference): Pass refstyle to `reftex-format-special'.
3219 Determine reference macro by looking at
3220 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3221 Use only one special format function.
3222 (reftex-varioref-vref, reftex-fancyref-fref)
3223 (reftex-fancyref-Fref): Remove definitions. The functions are now
3224 generated from `reftex-ref-style-alist'.
3225 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3226 Remove.
3227 (reftex-format-special): New function.
3228
3229 * textmodes/reftex-sel.el
3230 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3231 of `reftex-ref-style-alist'. Remove code for testing macro type.
3232 (reftex-select-toggle-varioref)
3233 (reftex-select-toggle-fancyref): Remove.
3234 (reftex-select-cycle-ref-style-internal)
3235 (reftex-select-cycle-ref-style-forward)
3236 (reftex-select-cycle-ref-style-backward): New functions.
3237 (reftex-select-label-map): Use `v' and `V' for general cycling
3238 through reference styles. Add `p' for switching between number
3239 and page reference types.
3240
3241 * textmodes/reftex-toc.el (reftex-re-enlarge):
3242 Call `enlarge-window' only if there is something to do because in Emacs
3243 the horizontal version throws an error even if the parameter is 0.
3244
3245 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3246 (reftex-plug-into-AUCTeX): Doc fix.
3247 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3248 string. Adapt to new name.
3249 (reftex-ref-style-alist): Change structure so that it is not
3250 possible to use multiple different package names within a style.
3251 Remove the symbols for symbols for macro type distinction.
3252 Add characters for macro selection.
3253 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3254 (reftex-create-bibtex-footer): New variables.
3255 (reftex-format-ref-function): Mention third argument of special
3256 format function.
3257 (reftex-ref-style-alist, reftex-ref-style-default-list):
3258 New variables.
3259 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3260 to new implementation. Mark as obsolete. Add compatibility code
3261 for honoring the variable values in case they are set.
3262 (reftex-cite-format-builtin, reftex-bibliography-commands):
3263 Add support for ConTeXt.
3264 (reftex-format-ref-function, reftex-format-cite-function):
3265 Fix custom type.
3266 (reftex-cite-key-separator): New variable.
3267
3268 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3269 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3270 `reftex-syntax-table' because parens have to retain their paren
3271 syntax in order for parsing of BibTeX entries like @book(...) to
3272 work.
3273 (reftex-in-comment): Do not error out if `comment-start-skip' is
3274 not set. Deal correctly with escaped comment characters.
3275 (reftex-tie-multifile-symbols): Add doc string.
3276 Initialize `reftex-ref-style-list'.
3277 (reftex-untie-multifile-symbols): Add doc string.
3278 (reftex-add-index-macros): Doc fix.
3279 (reftex-ref-style-activate, reftex-ref-style-toggle)
3280 (reftex-ref-style-list): New functions.
3281 (reftex-mode-menu): Use them. Adapt to new structure of
3282 `reftex-ref-style-alist'.
3283 (reftex-select-with-char): Kill the RefTeX Select buffer when
3284 done.
3285 (reftex-remove-if): New function.
3286 (reftex-erase-all-selection-and-index-buffers)
3287 (reftex-mode-menu): Reference styles are now computed from
3288 `reftex-ref-style-alist'. Fix typo.
3289 (reftex-report-bug): New function.
3290 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3291 algorithms with O(n log n). Introduce optional argument SORT (not
3292 yet used).
3293
3294 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3295
3296 Enhancements for triple-quote string syntax.
3297 * progmodes/python.el (python-syntax-propertize-function):
3298 Match both quote cases in one regexp.
3299 (python-syntax-stringify): Handle matches properly.
3300
3301 2012-09-30 Juri Linkov <juri@jurta.org>
3302
3303 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3304 to nil around the call to `insert' to prevent
3305 directory time modification by lock_file. (Bug#2295)
3306 * tar-mode.el (tar-summarize-buffer): Idem.
3307
3308 2012-09-30 Juri Linkov <juri@jurta.org>
3309
3310 * facemenu.el (list-colors-sort): Add option "Luminance".
3311 (list-colors-sort-key): Implement it.
3312
3313 * vc/diff-mode.el (diff-refine-removed):
3314 * vc/ediff-init.el (ediff-fine-diff-A):
3315 * vc/smerge-mode.el (smerge-refined-removed):
3316 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3317
3318 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3319
3320 * term/ns-win.el (x-file-dialog): New function.
3321
3322 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3323
3324 * ido.el (ido-max-directory-size): Default to nil; the current
3325 default is small for POSIX systems, and impractical on Windows 7
3326 now that lstat returns directory sizes for NTFS.
3327
3328 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3329
3330 In buffer display functions handle window-height/window-width
3331 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3332 * window.el (window--display-buffer): New argument ALIST.
3333 Obey window-height and window-width alist entries.
3334 (window--try-to-split-window): New argument ALIST.
3335 Bind window-combination-limit to t when the window's size shall be
3336 changed and window-combination-limit equals `window-size'.
3337 (display-buffer-in-atom-window)
3338 (display-buffer-in-major-side-window)
3339 (display-buffer-in-side-window, display-buffer-same-window)
3340 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3341 (display-buffer-pop-up-window, display-buffer-below-selected)
3342 (display-buffer-at-bottom, display-buffer-in-previous-window)
3343 (display-buffer-use-some-window): Adjust all callers of
3344 window--display-buffer and window--try-to-split-window.
3345 (fit-frame-to-buffer): New option.
3346 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3347 is non-nil.
3348 (display-buffer-in-major-side-window): Evaluate window-height /
3349 window-width alist entries.
3350
3351 * help.el (temp-buffer-resize-frames)
3352 (temp-buffer-resize-regexps): Remove options.
3353 (temp-buffer-resize-mode): Adjust doc-string.
3354 (resize-temp-buffer-window): Don't consult
3355 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3356 temp-buffer-resize-frames.
3357
3358 * dired.el (dired-mark-pop-up):
3359 Call display-buffer-below-selected with a fit-window-to-buffer alist
3360 entry.
3361
3362 2012-09-30 Chong Yidong <cyd@gnu.org>
3363
3364 * server.el (server-host): Document the security implications.
3365 (server-auth-key): Doc fix.
3366
3367 * startup.el (initial-buffer-choice): Doc fix.
3368
3369 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3370
3371 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3372 restriction change.
3373
3374 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3375
3376 * help-fns.el (help-fns--obsolete): Fix last change.
3377
3378 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3379
3380 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3381 (minor-mode-map-alist): Remove redundant code.
3382
3383 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3384 visited in a buffer.
3385 (cvs-insert-visited-file): New function.
3386 (find-file-hook): Use it.
3387
3388 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3389
3390 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3391 chose face.
3392 (log-edit-empty-buffer-p): Don't require a space after a header.
3393
3394 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3395
3396 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3397
3398 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3399 a proper minor-mode.
3400
3401 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3402
3403 2012-09-29 Glenn Morris <rgm@gnu.org>
3404
3405 * winner.el (winner-mode): Remove variable (let define-minor-mode
3406 handle it).
3407 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3408 Doc fixes.
3409 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3410 (winner-mode): Use define-minor-mode.
3411
3412 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3413 the full definition in loaddefs, rather than duplicating it.
3414
3415 * help-macro.el (three-step-help): No need to autoload defcustom.
3416
3417 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3418 (inferior-lisp-program, inferior-lisp-load-command)
3419 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3420 No need to autoload defcustoms.
3421
3422 * hippie-exp.el (hippie-expand-try-functions-list)
3423 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3424 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3425 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3426 (hippie-expand-only-buffers): No need to autoload defcustoms.
3427 * progmodes/vhdl-mode.el (vhdl-line-expand):
3428 Explicitly load hippie-exp, so it does not get autoloaded
3429 while hippie-expand-try-functions-list is let-bound.
3430
3431 2012-09-28 Glenn Morris <rgm@gnu.org>
3432
3433 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3434
3435 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3436 Only "cl.el" counts as cl these days.
3437
3438 2012-09-28 Juri Linkov <juri@jurta.org>
3439
3440 Display archive errors in the echo area instead of inserting
3441 to the file buffer.
3442
3443 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3444 to STDERR-TEST that can be a regexp matching a successful output.
3445 Create a temporary file and redirect stderr to it. Search for
3446 STDERR-TEST in the stderr output and display it in the echo area
3447 if no match is found.
3448 (archive-extract-by-file): New function like
3449 `archive-extract-by-stdout' but extracting archives to files
3450 and looking for successful matches in stdout. Function body is
3451 mostly copied from `archive-rar-extract'.
3452 (archive-rar-extract): Use `archive-extract-by-file'.
3453 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3454
3455 2012-09-28 Leo Liu <sdl.web@gmail.com>
3456
3457 * pcomplete.el (pcomplete-show-completions):
3458 Use minibuffer-message to make pcomplete usable in minibuffer.
3459
3460 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3461
3462 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3463
3464 * type-break.el: Use lexical-binding.
3465 (type-break-mode): Use define-minor-mode.
3466
3467 * emacs-lisp/pcase.el (pcase--mark-used): New.
3468 (pcase--u1): Use it (bug#12512).
3469
3470 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3471 in load-history with the right file name.
3472
3473 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3474
3475 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3476 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3477 (doc-view-get-bounding-box): Make bounding box slicing work for
3478 ODF and DVI documents.
3479
3480 2012-09-28 Glenn Morris <rgm@gnu.org>
3481
3482 * type-break.el (type-break-mode, type-break-interval)
3483 (type-break-good-rest-interval, type-break-keystroke-threshold):
3484 No need to autoload.
3485 (type-break-good-rest-interval, type-break-keystroke-threshold):
3486 Add :set-after.
3487
3488 2012-09-28 Chong Yidong <cyd@gnu.org>
3489
3490 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3491 Add :version tag.
3492
3493 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3494
3495 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3496
3497 2012-09-27 Glenn Morris <rgm@gnu.org>
3498
3499 * faces.el (x-display-name): Declare (for without-x builds).
3500
3501 * linum.el (linum-format): Don't autoload it. Improve :type.
3502
3503 * progmodes/tcl.el: Don't require outline when compiling.
3504 (outline-regexp, outline-level): Declare.
3505 * textmodes/sgml-mode.el: Don't require outline when compiling.
3506 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3507
3508 * term.el (term-ansi-reset):
3509 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3510
3511 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3512 files for RCS and SCCS. (Bug#9781)
3513
3514 2012-09-27 Chong Yidong <cyd@gnu.org>
3515
3516 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3517 change; value should be t.
3518
3519 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3520
3521 * image-mode.el: Use lexical-binding.
3522 (image-mode-winprops): Use t to stand for the window of
3523 a buffer that's not displayed.
3524 * doc-view.el (doc-view-new-window-function): Handle the new
3525 t in winprops.
3526 (doc-view-enlarge): Make it a real nop if the size is not changed.
3527 (doc-view-display): Handle the case where the buffer is not (yet?)
3528 displayed in any window.
3529 (doc-view-saved-settings): New var.
3530 (doc-view-mode): Use it.
3531 (doc-view-fallback-mode): Set it.
3532
3533 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3534 Set lexical-binding.
3535 (minibuffer-eldef-shorten-default): New var.
3536 (minibuffer-default-in-prompt-regexps): Use it for new default.
3537 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3538
3539 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3540
3541 * international/uni-bidi.el:
3542 * international/uni-category.el:
3543 * international/uni-name.el:
3544 * international/uni-numeric.el: Regenerate.
3545
3546 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3547 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * profiler.el: New file.
3550
3551 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3554 (testcover-reinstrument): Simplify with CSE.
3555
3556 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3557
3558 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3559
3560 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3561
3562 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3563 (verilog-auto-input, verilog-auto-insert-lisp)
3564 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3565 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3566 (verilog-auto-unused, verilog-auto-wire)
3567 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3568 newline. Reported by Andrew Jones.
3569 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3570 Reported by Brad Dobbie.
3571 (verilog-batch-delete-trailing-whitespace):
3572 Create verilog-batch-delete-trailing-whitespace.
3573 Reported by Brad Dobbie.
3574 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3575 parameters from another module. Reported by Dan Katz.
3576 (verilog-auto, verilog-auto-assign-modport)
3577 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3578 AUTOINOUTMODPORT for UVM interface module shell generation.
3579 Reported by Brad Dobbie.
3580 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3581 standard behavior.
3582 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3583 Reported by Matt Martin.
3584
3585 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3586
3587 * window.el (window--resize-child-windows): When resizing child
3588 windows proportionally, process them in reverse order to
3589 preserve the "when splitting a window the new one gets the odd
3590 line" behavior.
3591 (window--resize-root-window-vertically): When resizing the
3592 minibuffer window try to affect only windows at the bottom of the
3593 frame. (Bug#12419)
3594
3595 2012-09-25 Chong Yidong <cyd@gnu.org>
3596
3597 * subr.el (declare): Doc fix.
3598
3599 * help-fns.el (help-fns--obsolete): Handle macros properly.
3600
3601 2012-09-25 Chong Yidong <cyd@gnu.org>
3602
3603 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3604 this function obsolete.
3605
3606 * calendar/cal-x.el (calendar-two-frame-setup)
3607 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3608 * calendar/calendar.el (american-calendar, european-calendar)
3609 (calendar-for-loop):
3610 * comint.el (comint-dynamic-simple-complete)
3611 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3612 * desktop.el (desktop-load-default):
3613 * dired-x.el (dired-omit-here-always)
3614 (dired-hack-local-variables, dired-default-directory):
3615 * emacs-lisp/derived.el (derived-mode-class):
3616 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3617 * emacs-lock.el (toggle-emacs-lock):
3618 * epa.el (epa-display-verify-result):
3619 * epg.el (epg-sign-keys, epg-start-sign-keys)
3620 (epg-passphrase-callback-function):
3621 * eshell/esh-util.el (eshell-for):
3622 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3623 (eshell-add-to-window-buffer-names):
3624 * files.el (locate-file-completion):
3625 * imenu.el (imenu-example--create-c-index)
3626 (imenu-example--create-lisp-index)
3627 (imenu-example--lisp-extract-index-name)
3628 (imenu-example--name-and-position):
3629 * international/mule-cmds.el (princ-list):
3630 * international/mule-diag.el (decode-codepage-char):
3631 * international/mule-util.el (detect-coding-with-priority):
3632 * iswitchb.el (iswitchb-read-buffer):
3633 * mail/mailalias.el (mail-complete):
3634 * mail/sendmail.el (mail-sent-via):
3635 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3636 (mouse-major-mode-menu):
3637 * password-cache.el (password-read-and-add):
3638 * pcomplete.el (pcomplete-parse-comint-arguments):
3639 * progmodes/sh-script.el (sh-maybe-here-document):
3640 * replace.el (query-replace-regexp-eval):
3641 * savehist.el (savehist-load):
3642 * simple.el (choose-completion-delete-max-match):
3643 * term.el (term-dynamic-simple-complete):
3644 * vc/ediff-init.el (ediff-check-version):
3645 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3646 * vc/vc.el (vc-diff-switches-list):
3647 * view.el (view-return-to-alist-update): Likewise.
3648
3649 * subr.el (eval-next-after-load, makehash, insert-string)
3650 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3651 mark obsolete.
3652 (mode-line-inverse-video): Variable deleted.
3653
3654 * international/mule-util.el (string-to-sequence): Remove.
3655
3656 * calendar/calendar.el (calendar-version):
3657 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3658 (icalendar-convert-diary-to-ical):
3659 * cus-edit.el (custom-mode):
3660 * ansi-color.el (ansi-color-unfontify-region):
3661 * international/latin1-disp.el (latin1-char-displayable-p):
3662 * progmodes/cwarn.el (turn-on-cwarn-mode):
3663 * progmodes/which-func.el (which-func-update-1):
3664 Use define-obsolete-function-alias.
3665
3666 * net/newst-backend.el (newsticker-cache-filename):
3667 * net/newst-treeview.el (newsticker-groups-filename):
3668 Fix incorrect obsolescence declaration.
3669
3670 * allout.el (allout-passphrase-hint-string): Likewise.
3671 (allout-init): Use a declare form to mark obsolete.
3672
3673 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3674 this applies to functions.
3675
3676 * iswitchb.el (iswitchb-read-buffer): Move code of
3677 iswitchb-define-mode-map here, and delete that obsolete function.
3678
3679 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3680 font-lock-reference-face.
3681
3682 2012-09-25 Glenn Morris <rgm@gnu.org>
3683
3684 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3685 Doc fixes.
3686
3687 * eshell/em-term.el (eshell-term-name):
3688 Default to term-term-name. (Bug#12485)
3689
3690 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3691
3692 * progmodes/python.el (python-shell-send-buffer): Better handling
3693 of "if __name__ == '__main__':" conditionals when sending the buffer.
3694
3695 2012-09-24 Glenn Morris <rgm@gnu.org>
3696
3697 * eshell/esh-cmd.el (eshell-find-alias-function):
3698 Tighten up file-name regexp. (Bug#12499)
3699
3700 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3701
3702 Enhancements for triple-quote string syntax.
3703 * progmodes/python.el (python-quote-syntax): Remove.
3704 (python-syntax-propertize-function): New value.
3705 (python-syntax-count-quotes, python-syntax-stringify):
3706 New functions.
3707
3708 2012-09-24 Chong Yidong <cyd@gnu.org>
3709
3710 * mail/supercite.el (sc-version): Remove obsolete function.
3711 (sc-describe): Don't mark as obsolete, since it is bound.
3712 (sc-submit-bug-report): Remove.
3713
3714 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3715 (cvs-commit-buffer-require-final-newline): Remove.
3716 (log-edit-require-final-newline)
3717 (log-edit-changelog-full-paragraphs): Default to t.
3718
3719 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3720 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3721 * vc/vc.el (vc-checkout-carefully): Likewise.
3722
3723 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3724 (emerge-version): Remove.
3725
3726 * progmodes/compile.el (compile-internal): Remove.
3727 (compilation-parse-errors-function): Fix typo.
3728
3729 * international/mule.el (set-char-table-default): Remove.
3730 (set-coding-priority, make-coding-system, generic-char-p)
3731 (charset-list, charset-bytes, charset-id): Use declare to mark
3732 functions as obsolete.
3733
3734 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3735 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3736 * vc/vc-hooks.el (vc-default-registered): Don't use
3737 vc-master-templates.
3738
3739 * font-lock.el (font-lock-reference-face):
3740 Use define-obsolete-variable-alias.
3741
3742 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3743 * calendar/calendar.el (calendar-font-lock-keywords):
3744 * calendar/diary-lib.el (diary-font-lock-keywords)
3745 (diary-fancy-font-lock-keywords):
3746 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3747 * textmodes/reftex-index.el (reftex-insert-index):
3748 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3749 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3750 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3751 * progmodes/prolog.el (prolog-font-lock-keywords):
3752 * progmodes/idlwave.el (idlwave-idl-keywords):
3753 * progmodes/ada-mode.el (ada-font-lock-keywords):
3754 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3755
3756 2012-09-24 Glenn Morris <rgm@gnu.org>
3757
3758 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3759
3760 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3761
3762 * progmodes/python.el (python-indent-line): More consistent cursor
3763 movement behavior.
3764
3765 2012-09-23 Stefan Merten <smerten@oekonux.de>
3766
3767 * textmodes/rst.el: Fix compiler warning.
3768
3769 2012-09-23 Roland Winkler <winkler@gnu.org>
3770
3771 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3772 Transcribe also LaTeX hyphenation.
3773 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3774 bibtex-reformat-previous-options.
3775
3776 2012-09-23 Roland Winkler <winkler@gnu.org>
3777
3778 * proced.el (proced-renice-command): New variable.
3779 (proced-marked-processes): New function.
3780 (proced-with-processes-buffer): New macro.
3781 (proced-send-signal): Use them.
3782 (proced-renice): New command bound to r.
3783
3784 2012-09-23 Roland Winkler <winkler@gnu.org>
3785
3786 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3787 ibuffer-saved-filter-groups has one element, shortcut the call of
3788 completing-read. (Bug#12331)
3789
3790 2012-09-23 Chong Yidong <cyd@gnu.org>
3791
3792 * bindings.el (mode-line-toggle-read-only):
3793 * bs.el (bs-toggle-readonly):
3794 * buff-menu.el (Buffer-menu-toggle-read-only):
3795 * dired.el (dired-toggle-read-only):
3796 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3797
3798 2012-09-23 Chong Yidong <cyd@gnu.org>
3799
3800 * image.el (image-type-available-p): Adapt to init-image-library
3801 argument changes.
3802
3803 2012-09-22 Juri Linkov <juri@jurta.org>
3804
3805 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3806 `dired-toggle-read-only'. (Bug#12462)
3807
3808 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3809
3810 * subr.el (temp-output-buffer-show): New function.
3811 (with-output-to-temp-buffer): Call temp-output-buffer-show
3812 instead of internal-temp-output-buffer-show.
3813
3814 2012-09-22 Chong Yidong <cyd@gnu.org>
3815
3816 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3817 (Bug#12462).
3818
3819 * repeat.el (repeat): Doc fix (Bug#12348).
3820
3821 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3822 (Bug#10909).
3823
3824 * simple.el (shell-command-on-region): Doc fix.
3825 (read-only-mode): Doc fix.
3826
3827 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3828
3829 * emacs-lisp/timer.el (run-with-idle-timer)
3830 (timer-activate-when-idle): Warn against reinvoking an idle timer
3831 from within its own timer action. (Bug#12447)
3832
3833 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3834
3835 * cus-start.el (window-combination-limit): Add new optional
3836 values.
3837 * window.el (temp-buffer-window-show)
3838 (window--try-to-split-window): Handle new values of
3839 window-combination-limit (Bug#1806).
3840 (split-window): Test window-combination-limit for t instead of
3841 non-nil.
3842 (display-buffer-at-bottom): New buffer display action function.
3843 * help.el (temp-buffer-resize-regexps): New option.
3844 (temp-buffer-resize-mode): Rewrite doc-string.
3845 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3846 Don't resize reused window. Suggested by Glenn Morris.
3847
3848 2012-09-22 Stefan Merten <smerten@oekonux.de>
3849
3850 * textmodes/rst.el: Revamp section title faces.
3851 (rst-official-version)
3852 (rst-package-emacs-version-alist): Sync with official version
3853 V1.4.0.
3854 (rst-faces-defaults, rst-set-level-default)
3855 (rst-level-face-max, rst-level-face-base-color)
3856 (rst-level-face-base-light, rst-level-face-format-light)
3857 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3858 (rst-adornment-faces-alist): Match new setup.
3859 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3860 (rst-level-5, rst-level-6): New faces.
3861
3862 2012-09-22 Chong Yidong <cyd@gnu.org>
3863
3864 * simple.el (undo): Handle indirect buffers (Bug#8207).
3865
3866 2012-09-21 Leo Liu <sdl.web@gmail.com>
3867
3868 IDO: Disable match re-ordering for buffer switching.
3869 * ido.el (ido-buffer-disable-smart-matches): New variable.
3870 (ido-set-matches-1): Use it. (Bug#2042)
3871
3872 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3873
3874 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3875 Fix 2011-05-17 change. (Bug#12418)
3876
3877 2012-09-21 Leo Liu <sdl.web@gmail.com>
3878
3879 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3880
3881 2012-09-21 Glenn Morris <rgm@gnu.org>
3882
3883 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3884 Be more robust about locating simple.el.
3885
3886 2012-09-21 Glenn Morris <rgm@gnu.org>
3887
3888 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3889
3890 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3891
3892 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3893
3894 2012-09-20 Juri Linkov <juri@jurta.org>
3895
3896 * replace.el (query-replace-read-from): Use `read-regexp' instead
3897 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3898 (occur-read-primary-args): Use `read-regexp' instead of
3899 `read-string'.
3900 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3901 `read-from-minibuffer'.
3902 * isearch.el (isearch-occur): Use `read-regexp' instead of
3903 `read-string'.
3904 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3905 `read-from-minibuffer'.
3906 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3907 of `read-string'. (Bug#7567)
3908
3909 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3910 and allow accepting a list of strings prepended to a list of
3911 standard default values. Doc fix. (Bug#12321)
3912
3913 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3914
3915 * replace.el (read-regexp): Don't add ": " when PROMPT already
3916 ends with a colon and space. (Bug#12321)
3917
3918 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3919
3920 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3921 error.
3922
3923 2012-09-20 Stefan Merten <smerten@oekonux.de>
3924
3925 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3926 Fixes feature request bug#11711.
3927 (rst-mode): Create `imenu-create-index-function'.
3928 (rst-get-stripped-line): Delete after refactoring.
3929 (rst-section-tree, rst-section-tree-rec)
3930 (rst-section-tree-point): Refactor and document properly.
3931 (rst-imenu-find-adornments-for-position)
3932 (rst-imenu-convert-cell, rst-imenu-create-index):
3933 New function.
3934
3935 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3936
3937 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3938 (macroexp--expand-all): Use it.
3939 (macroexp--funcall-and-return): Remove by folding it into its sole
3940 caller (macroexp--warn-and-return).
3941 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3942 Use macroexp--obsolete-warning.
3943
3944 * calc/calc.el: Fix last change by removing the whole chunk, since it
3945 was only needed back when Calc was not bundled.
3946
3947 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3948
3949 * emacs-lisp/debug.el (debug): Restore assignment to
3950 debugger-old-buffer removed on 2012-09-08.
3951
3952 2012-09-20 Juri Linkov <juri@jurta.org>
3953
3954 * dired-aux.el (dired-diff): Remove (require 'diff) since
3955 `diff-latest-backup-file' is now autoloaded.
3956
3957 2012-09-20 Chong Yidong <cyd@gnu.org>
3958
3959 * vc/diff.el (diff-latest-backup-file): Autoload.
3960
3961 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3962
3963 * calc/calc.el: Remove redundant autoload shape check.
3964 (sel-mode): Don't defvar.
3965 (calc-get-stack-element): Add `sel-mode' arg instead.
3966 (calc-top, calc-top-list): Pass it this additional argument.
3967 * calc/calc-store.el (calc-store-map):
3968 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3969 (calc-map-equation, calc-outer-product, calc-inner-product):
3970 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3971
3972 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3973
3974 2012-09-19 Juri Linkov <juri@jurta.org>
3975
3976 * dired-aux.el (dired-diff): Add (require 'diff) because
3977 `diff-latest-backup-file' is not autoloaded.
3978 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3979 of `dired-get-filename' to t to not report error when there is
3980 no default file on the current line.
3981
3982 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3985 macroexp--eval-if-compile.
3986 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3987 (macroexp--expand-all): Use them (bug#12371).
3988
3989 * doc-view.el (doc-view-guess-paper-size)
3990 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3991
3992 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3993
3994 New feature: set optimal slice from BoundingBox information.
3995 * doc-view.el (doc-view-mode-map): Add keybinding.
3996 (doc-view-menu): Add menu entry.
3997 (doc-view-set-slice): Adapt docstring.
3998 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3999 (doc-view-scale-bounding-box)
4000 (doc-view-set-slice-from-bounding-box): New functions.
4001 (doc-view-paper-sizes): New defvar.
4002
4003 2012-09-19 Glenn Morris <rgm@gnu.org>
4004
4005 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
4006 (byte-compile-log-warning): Autoload. (Bug#12371)
4007
4008 * calendar/calendar.el (calendar-american-month-header)
4009 (calendar-european-month-header, calendar-iso-month-header)
4010 (calendar-month-header): New options.
4011 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
4012 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
4013
4014 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
4015
4016 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4017
4018 2012-09-18 Juri Linkov <juri@jurta.org>
4019
4020 * dired-aux.el (dired-diff): Restore original functionality of
4021 getting the default value, but keep new feature of using the
4022 latest existing backup file (`diff-latest-backup-file').
4023
4024 2012-09-18 Juri Linkov <juri@jurta.org>
4025
4026 * dired.el (dired-mark): If the region is active in Transient Mark
4027 mode, mark all files in the active region. Doc fix.
4028 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
4029 Doc fix. (Bug#10624)
4030
4031 2012-09-18 Juri Linkov <juri@jurta.org>
4032
4033 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
4034 attributes for M-n are pulled from the file at point.
4035 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
4036 Suggested by Drew Adams. (Bug#10624)
4037
4038 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
4039
4040 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
4041 whitespace after "end".
4042 (ruby-do-end-to-brace): Collapse block to one line if it fits
4043 within fill-column.
4044
4045 2012-09-18 Martin Rudalics <rudalics@gmx.at>
4046
4047 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
4048 value.
4049 (debug): Don't remove debugger window when debugger is expected
4050 to be back.
4051
4052 2012-09-18 Chong Yidong <cyd@gnu.org>
4053
4054 * custom.el (defface): Doc fix.
4055
4056 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
4057
4058 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
4059
4060 * progmodes/compile.el (compilation-start): Use compilation-always-kill
4061 to initialize query-on-exit; then test that instead (bug#12288).
4062
4063 2012-09-17 Stefan Merten <smerten@oekonux.de>
4064
4065 * textmodes/rst.el: Add support for `testcover'.
4066 (rst-defcustom-testcover, rst-testcover-add-compose)
4067 (rst-testcover-add-1value): New functions.
4068 (rst-portable-mark-active-p): Replace by `use-region-p'.
4069 (rst-update-section, rst-classify-adornment)
4070 (rst-find-title-line): Mark `1value' forms.
4071 (rst-classify-adornment): Remove superfluous form.
4072 (rst-update-section, rst-get-adornments-around)
4073 (rst-adornment-complete-p, rst-get-next-adornment)
4074 (rst-adjust, rst-promote-region)
4075 (rst-display-adornments-hierarchy, rst-straighten-adornments)
4076 (rst-find-pfx-in-region, rst-section-tree-rec)
4077 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
4078 (rst-toc-node, rst-toc, rst-forward-section)
4079 (rst-iterate-leftmost-paragraphs)
4080 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
4081 (rst-bullet-list-region)
4082 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
4083 (rst-compile-find-conf, rst-compile)
4084 (rst-repeat-last-character): Fix style.
4085
4086 2012-09-17 Chong Yidong <cyd@gnu.org>
4087
4088 * comint.el (comint--complete-file-name-data): Don't add a space
4089 if the status is `sole'; that adds a gratuitous space in the
4090 completion-cycling case (Bug#12092).
4091
4092 * pcomplete.el (pcomplete-completions-at-point): Likewise.
4093
4094 2012-09-17 Richard Stallman <rms@gnu.org>
4095
4096 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
4097 only in the mime-shown mode, not in raw mode.
4098 (rmail-mime): Toggle off mime by displaying the message without
4099 mime processing. (Bug#12305)
4100
4101 * mail/rmail.el (rmail-retry-failure):
4102 Turn off mime processing first. (Bug#12037)
4103
4104 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4105
4106 2012-09-17 Chong Yidong <cyd@gnu.org>
4107
4108 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4109 (shell-dynamic-complete-functions): Convert to defcustom.
4110 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4111
4112 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4113 * comint.el (comint-prompt-read-only):
4114 * custom.el (defcustom):
4115 * hi-lock.el (hi-lock-mode):
4116 * ibuffer.el (ibuffer-formats):
4117 * ielm.el (ielm-prompt-read-only):
4118 * novice.el (disable-command):
4119 * saveplace.el (toggle-save-place):
4120 * speedbar.el (speedbar-supported-extension-expressions):
4121 * startup.el (auto-save-list-file-prefix, init-file-user)
4122 (after-init-hook, inhibit-startup-echo-area-message):
4123 * strokes.el (strokes-help):
4124 * time-stamp.el (time-stamp):
4125 * calendar/calendar.el (calendar, diary-file):
4126 * calendar/diary-lib.el (diary-mail-entries, diary)
4127 (diary-list-entries-hook):
4128 * calendar/holidays.el (holidays, calendar-holidays):
4129 * calendar/lunar.el (lunar-phases):
4130 * calendar/solar.el (sunrise-sunset):
4131 * emulation/edt.el (edt-load-keys):
4132 * emulation/viper.el (viper-mode):
4133 * eshell/em-alias.el (eshell-command-aliases-list):
4134 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4135 * international/ogonek.el (ogonek-information):
4136 * net/tramp-cmds.el (tramp-bug):
4137 * net/quickurl.el (quickurl-reread-hook-postfix):
4138 * play/decipher.el (decipher-font-lock-keywords):
4139 * progmodes/cc-styles.el (c-set-style):
4140 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4141 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4142 * progmodes/octave-mod.el (octave-mode):
4143 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4144 * progmodes/verilog-mode.el (verilog-read-defines):
4145 * textmodes/two-column.el (2C-mode): Likewise.
4146
4147 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4148
4149 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4150 that holds many addresses.
4151
4152 2012-09-16 Chong Yidong <cyd@gnu.org>
4153
4154 * align.el (align-areas): Call the indication function with
4155 positions instead of markers for arguments (Bug#12343).
4156
4157 * files.el (parse-colon-path): Use split-string (Bug#12351).
4158
4159 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4160 (display-buffer-function): Mark as obsolete.
4161
4162 * progmodes/compile.el (compilation-parse-errors): Accept list
4163 values similar to font-lock-keywords (Bug#12136).
4164 Suggested by Oleksandr Manzyuk.
4165 (compilation-error-regexp-alist): Doc fix.
4166
4167 2012-09-15 Glenn Morris <rgm@gnu.org>
4168
4169 * version.el (emacs-bzr-version-bzr): New function.
4170 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4171
4172 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4173 checkouts, check the parent dirstate matches the branch.
4174 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4175 empty string.
4176
4177 * version.el (emacs-bzr-version): Doc fix.
4178 (emacs-bzr-version-dirstate): New function.
4179 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4180 is local try and check that it matches the branch. If not, just
4181 use dirstate information. (Bug#12441)
4182
4183 2012-09-14 Juri Linkov <juri@jurta.org>
4184
4185 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4186 (Bug#12399)
4187
4188 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4189
4190 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4191
4192 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4193 Remove obsolete byte-compiler hack that tried to silence some warnings.
4194 (edebug-submit-bug-report): Remove.
4195 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4196 Remove aliases, use the un-prefixed name instead.
4197 (edebug-pop-to-buffer): Consider other frames.
4198 (edebug-original-read):: Make it more obvious that it's always defined.
4199 (edebug--make-form-data-entry, edebug--form-data-name)
4200 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4201 single-dashed name, and implement with cl-defstruct.
4202 (edebug-set-form-data-entry): Use the standard accessors.
4203 (edebug-make-top-form-data-entry): Use push.
4204 (edebug-no-match): Drop useless `funcall'.
4205 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4206 to functions.
4207 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4208 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4209 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4210 (easy-menu-define, with-custom-print): Remove redundant specs.
4211 (edebug-outside-overriding-local-map)
4212 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4213 (edebug--display): Bind unread-command-events directly to nil rather
4214 than binding it to unread-command-events and later setting it to nil.
4215 (edebug--display): Kill edebug-eval-buffer here...
4216 (edebug--recursive-edit): ...rather than here.
4217 Bind standard-output and standard-input.
4218 (edebug-eval): Check cl-macroexpand-all is fboundp.
4219 (edebug-temp-display-freq-count): Fix last change.
4220
4221 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4222 * subr.el (noreturn, 1value): Add `debug' spec.
4223 * emacs-lisp/advice.el: Require cl-lib.
4224 (ad-copy-tree): Remove, use copy-tree instead.
4225 (ad-dolist): Remove use dolist or cl-dolist instead.
4226 (ad-do-return): Remove, use cl-return instead.
4227 (defadvice): Add `debug' spec.
4228
4229 2012-09-13 Juri Linkov <juri@jurta.org>
4230
4231 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4232 (Bug#12399)
4233
4234 2012-09-13 Glenn Morris <rgm@gnu.org>
4235
4236 * calc/calc.el (math-compose-expr):
4237 * calc/calc-ext.el (math-compose-expr):
4238 * progmodes/cc-defs.el (cl-macroexpand-all):
4239 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4240 (cl-macroexpand-all): Update declarations.
4241
4242 * vc/vc.el: No need to require ediff.
4243 (ediff-load-version-control): Declare.
4244 (ediff-vc-internal): Fix declaration.
4245 (vc-version-ediff): Require ediff.
4246
4247 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4248
4249 Use a more backwards-compatible timer format (Bug#12430).
4250 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4251 being right after USECS, as that better supports old code that
4252 inadvisedly looked directly at the timer vector.
4253
4254 2012-09-13 Kenichi Handa <handa@gnu.org>
4255
4256 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4257 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4258 `coding-priority' property of these language environment.
4259
4260 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4261
4262 Fix glitches caused by addition of psec to timers (Bug#12430).
4263 * image.el (image-animate-timer):
4264 * time.el (display-time-world-timer):
4265 Use timer--function and timer--args rather than raw access to
4266 timer vector.
4267
4268 2012-09-13 Glenn Morris <rgm@gnu.org>
4269
4270 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4271 If not compiling a file, try using load-file-name.
4272
4273 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4276 Fix last change.
4277 (edebug-update-eval-list): Use `push'.
4278
4279 * emacs-lisp/edebug.el: Use lexical-binding.
4280 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4281 Mark unused args with underscore.
4282 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4283 (edebug-form-data): Use defvar-local.
4284 (edebug-make-before-and-after-form, edebug-make-after-form):
4285 Use backquote.
4286 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4287 Not dynamically scoped any more.
4288 (edebug--enter-trace): Add arguments `function' and `args'.
4289 Rename from edebug-enter-trace.
4290 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4291 (edebug--update-coverage): Add `after-index' and `value' args.
4292 Rename from edebug-update-coverage.
4293 (edebug-slow-after): Call it accordingly.
4294 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4295 edebug-recursive-edit.
4296 (edebug--display): Call it accordingly. Add args `value',
4297 `offset-index', and `arg-mode'. Rename from edebug-display.
4298 (edebug-debugger, edebug): Call it accordingly.
4299 (edebug-eval-display-list): Use dolist.
4300
4301 2012-09-12 Juri Linkov <juri@jurta.org>
4302
4303 * info.el (Info-search): Don't check for isearch-mode and
4304 isearch-regexp before let-binding search-spaces-regexp to
4305 Info-search-whitespace-regexp.
4306 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4307 search-whitespace-regexp if isearch-lax-whitespace or
4308 isearch-regexp-lax-whitespace is non-nil.
4309 (Info-mode): Don't set local variable search-whitespace-regexp.
4310 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4311
4312 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4313
4314 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4315 (debugger-env-macro): Remove support for unread-command-char.
4316
4317 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4318 the temporary map re-appearing on emulation-mode-map-alists.
4319
4320 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4321 since 22.1.
4322
4323 * ehelp.el (with-electric-help): Accept functions in
4324 electric-help-form-to-execute.
4325 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4326 And replace unread-command-char -> unread-command-events.
4327
4328 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4329
4330 Sync with Tramp 2.2.6.
4331
4332 * net/tramp.el (tramp-accept-process-output): Don't use
4333 JUST-THIS-ONE in the XEmacs case.
4334
4335 * net/trampver.el: Update release number.
4336
4337 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4338
4339 * emacs-lisp/debug.el (debugger-previous-window-height):
4340 New variable.
4341 (debug): When debugger-jumping-flag is non-nil try to restore
4342 height of debugger window. (Bug#8789)
4343
4344 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4345
4346 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4347 overriding-local-map and pre/post-command-hook here.
4348 (edebug-recursive-edit): Do it here instead (bug#12345).
4349 (edebug-outside-unread-command-char): Remove all uses of
4350 unread-command-char.
4351
4352 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4353 inhibit-debugger is bound instead.
4354
4355 2012-09-11 Bastien Guerry <bzg@gnu.org>
4356
4357 * subr.el (set-temporary-overlay-map): Add a docstring.
4358 (Bug#12346)
4359
4360 2012-09-11 Bastien Guerry <bzg@gnu.org>
4361
4362 * minibuffer.el (completion-table-subvert): Fix docstring.
4363 (Bug#12347)
4364
4365 2012-09-11 Bastien Guerry <bzg@gnu.org>
4366
4367 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4368
4369 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4370
4371 * progmodes/sql.el: Version 3.1
4372 (sql-db2-escape-newlines): New variable.
4373 (sql-escape-newlines-filter): Use it.
4374
4375 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4376
4377 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4378
4379 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4380
4381 * vc/diff-mode.el (diff-mode-menu):
4382 Bind diff-remove-trailing-whitespace.
4383
4384 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4387 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4388 (emacs-lisp-byte-code-mode): New functions.
4389 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4390 (eval-defun-2): Remove bogus interactive spec.
4391 (lisp-indent-line): Remove redundant whole-exp code, now done in
4392 indent-according-to-mode.
4393 (save-match-data): Remove redundant indent data.
4394
4395 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4396 Use `declare'.
4397
4398 2012-09-09 Juri Linkov <juri@jurta.org>
4399
4400 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4401 (replace-lax-whitespace, query-replace-regexp)
4402 (query-replace-regexp-eval, replace-regexp): Doc fix.
4403 (perform-replace, replace-highlight): Let-bind
4404 isearch-lax-whitespace to replace-lax-whitespace and
4405 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4406
4407 * isearch.el (isearch-query-replace): Let-bind
4408 replace-lax-whitespace to isearch-lax-whitespace and
4409 replace-regexp-lax-whitespace to
4410 isearch-regexp-lax-whitespace. (Bug#10885)
4411
4412 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4415
4416 2012-09-09 Alan Mackenzie <acm@muc.de>
4417
4418 * progmodes/cc-engine.el (c-state-cache-init):
4419 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4420 (c-record-parse-state-state):
4421 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4422
4423 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4424
4425 * register.el (register-separator): Rename from
4426 separator-register. All uses changed. Doc fix.
4427 (register): Fix version.
4428
4429 2012-09-09 Chong Yidong <cyd@gnu.org>
4430
4431 * replace.el (query-replace-map): Bind four new symbols for
4432 requesting window scrolling.
4433
4434 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4435 query-replace-map (Bug#8948).
4436
4437 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4438
4439 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4440 since they are now in query-replace-map.
4441
4442 * window.el (scroll-other-window-down): Make the arg optional.
4443
4444 2012-09-09 Chong Yidong <cyd@gnu.org>
4445
4446 * files.el (hack-local-variables-confirm): Use quit-window to kill
4447 the *Local Variables* buffer.
4448
4449 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4450
4451 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4452 not just expect to be at its beginning. Adjust callees.
4453 Succeed when do-end block has no space before the pipe character.
4454 (ruby-brace-to-do-end): When the original block is one-liner,
4455 convert to multiline. Reindent the result.
4456
4457 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4458
4459 * register.el (register): New group.
4460 (separator-register): New user option.
4461 (increment-register): Route it to `append-to-register', if
4462 register contains text. Implication is that `C-x r +' can now be
4463 used for appending to a text register (bug#12217).
4464 (append-to-register, prepend-to-register): Add separator based on
4465 `separator-register'.
4466
4467 2012-09-08 Alan Mackenzie <acm@muc.de>
4468
4469 AWK Mode: make auto-newline work when there's "==" in the pattern.
4470 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4471 correctly.
4472 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4473 Test more rigorously for "=" token.
4474
4475 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4476
4477 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4478 Only fail when reached LIMIT.
4479
4480 2012-09-08 Chong Yidong <cyd@gnu.org>
4481
4482 * dired.el (dired-mode-map): Don't bind M-=.
4483
4484 * dired-aux.el (dired-diff): Use backup file as default.
4485
4486 2012-09-08 Drew Adams <drew.adams@oracle.com>
4487
4488 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4489
4490 2012-09-08 Chong Yidong <cyd@gnu.org>
4491
4492 * subr.el (syntax-after, syntax-class): Doc fix.
4493
4494 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4495
4496 * window.el (display-buffer-in-previous-window): New buffer
4497 display action function.
4498
4499 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4500 (debugger-previous-window): New variable.
4501 (debug): Rewrite using display-buffer-in-previous-window,
4502 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4503
4504 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4505
4506 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4507
4508 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4509
4510 * progmodes/python.el (python-shell-send-string):
4511 When default-directory is remote, create temp file on remote
4512 filesystem.
4513 (python-shell-send-file): When file is remote, pass local view of
4514 file paths to remote Python interpreter. (Bug#12340)
4515
4516 2012-09-07 Chong Yidong <cyd@gnu.org>
4517
4518 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4519
4520 * files.el (after-find-file): Don't fail on a read-only buffer if
4521 require-final-newline is `visit' or `visit-save' (Bug#11156).
4522
4523 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4524
4525 * userlock.el (ask-user-about-supersession-threat):
4526 Use read-char-choice (Bug#12093).
4527
4528 2012-09-07 Chong Yidong <cyd@gnu.org>
4529
4530 * subr.el (buffer-narrowed-p): New function.
4531
4532 * ses.el (ses-widen):
4533 * simple.el (count-words--buffer-message):
4534 * net/browse-url.el (browse-url-of-buffer): Use it.
4535
4536 * simple.el (count-words-region): Don't signal an error if there
4537 is a non-nil prefix arg and the mark is not set.
4538
4539 * help.el (describe-key-briefly): Allow the message to be seen
4540 when invoked from the minibuffer (Bug#7014).
4541
4542 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4543
4544 * progmodes/ruby-mode.el (ruby-end-of-defun)
4545 (ruby-beginning-of-defun): Simplify, allow indentation before
4546 block beginning and end keywords.
4547 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4548 (ruby-end-of-defun): Expect that the point is at the beginning of
4549 the defun.
4550
4551 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4552
4553 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4554 (bug#12367).
4555 (cl--make-usage-args): Strip _ from argument names.
4556
4557 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4558
4559 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4560 obsolete alias speedbar-key-map.
4561 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4562 (vhdl-index-menu-init): Don't use obsolete variable
4563 font-lock-maximum-size.
4564
4565 2012-09-06 Chong Yidong <cyd@gnu.org>
4566
4567 * frame.el (window-system-version): Mark as obsolete.
4568
4569 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4570 of obsolete variable speedbar-key-map.
4571
4572 2012-09-06 Juri Linkov <juri@jurta.org>
4573
4574 * replace.el (replace-lax-whitespace): New defcustom.
4575 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4576 (replace-string, replace-regexp): Mention it in docstrings.
4577 (perform-replace, replace-highlight): Let-bind
4578 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4579 to the values of replace-lax-whitespace and regexp-flag.
4580 Don't let-bind search-whitespace-regexp. (Bug#10885)
4581
4582 * isearch.el (isearch-query-replace): Let-bind
4583 replace-lax-whitespace instead of let-binding
4584 replace-search-function and replace-re-search-function.
4585 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4586 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4587 (isearch-toggle-symbol): Set isearch-regexp to nil
4588 in isearch-word mode (like in isearch-toggle-word).
4589
4590 2012-09-06 Juri Linkov <juri@jurta.org>
4591
4592 * replace.el (replace-search-function)
4593 (replace-re-search-function): Set default values to nil.
4594 (perform-replace): Let-bind isearch-related variables based on
4595 replace-related values, call `isearch-search-fun' and let-bind
4596 the result to `search-function'. Remove code that sets
4597 `search-function' and `search-string' separately for
4598 `delimited-flag'.
4599 (replace-highlight): Add new argument `delimited-flag' and
4600 rename other arguments to the names used in `perform-replace'.
4601 Let-bind `isearch-word' to the argument `delimited-flag'.
4602 (Bug#10885, bug#10887)
4603
4604 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4605
4606 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4607 ruby-beginning-of-indent, simplify, allow all keywords to have
4608 indentation before them.
4609 (ruby-beginning-of-indent): Adjust for above. Search until the
4610 found point is not inside a string or comment.
4611 (ruby-font-lock-keywords): Allow symbols to start with "@"
4612 character, give them higher priority than variables.
4613 (ruby-syntax-propertize-function)
4614 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4615 matchers. Expression expansions are not comments when inside a
4616 string, and there comment syntax status is irrelevant.
4617 (ruby-match-expression-expansion): New function. Check that
4618 expression expansion is inside a string, and it's not escaped.
4619 (ruby-font-lock-keywords): Use it.
4620
4621 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4622
4623 * help.el (temp-buffer-max-height): New default value.
4624 (temp-buffer-resize-frames): New option.
4625 (resize-temp-buffer-window): Optionally resize frame.
4626
4627 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4628 (fit-frame-to-buffer): New function.
4629
4630 2012-09-05 Glenn Morris <rgm@gnu.org>
4631
4632 * emulation/cua-rect.el (cua--init-rectangles):
4633 * textmodes/picture.el (picture-mode-map):
4634 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4635 like forward-char and backward-char. (Bug#12317)
4636
4637 2012-09-05 Leo Liu <sdl.web@gmail.com>
4638
4639 * progmodes/flymake.el (flymake-warning-re): New variable.
4640 (flymake-parse-line): Use it.
4641
4642 2012-09-05 Glenn Morris <rgm@gnu.org>
4643
4644 * calendar/holidays.el (holiday-christian-holidays):
4645 Rename an entry. (Bug#12289)
4646
4647 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4648
4649 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4650 (bug#12222).
4651
4652 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * loadup.el: Load macroexp. Remove hack.
4655 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4656 (macroexp--expand-all): Use it to get better warnings.
4657 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4658 (internal-macroexpand-for-load): New functions.
4659 (macroexp--pending-eager-loads): New var.
4660 (emacs-startup-hook): New hack to replace one in loadup.el.
4661 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4662 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4663 (cl-psetf): Simplify.
4664 (cl-defstruct): Add indent rule.
4665
4666 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4667
4668 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4669 over `user-mail-address' for the SMTP MAIL FROM envelope.
4670 (smtpmail-via-smtp): Ditto.
4671
4672 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4673
4674 * progmodes/ruby-mode.el: Clean up keybindings.
4675 (ruby-mode-map): Don't bind ruby-electric-brace,
4676 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4677 backward-kill-word, reindent-then-newline-and-indent.
4678 (ruby-mark-defun): Remove.
4679 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4680 (ruby-mode): Set local beginning-of-defun-function and
4681 end-of-defun-function values.
4682
4683 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (temp-buffer-window-setup-hook)
4686 (temp-buffer-window-show-hook): New hooks.
4687 (temp-buffer-window-setup, temp-buffer-window-show)
4688 (with-temp-buffer-window): New functions.
4689 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4690 (special-display-popup-frame): Make sure the window used shows BUFFER.
4691
4692 * help.el (temp-buffer-resize-mode): Fix doc-string.
4693 (resize-temp-buffer-window): New optional argument WINDOW.
4694
4695 * files.el (recover-file, save-buffers-kill-emacs):
4696 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4697
4698 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4699
4700 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4701 remote definition of `default-directory', ensure we can connect.
4702
4703 2012-09-02 Juri Linkov <juri@jurta.org>
4704
4705 Toggle whitespace matching mode with M-s SPC.
4706 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4707
4708 * isearch.el (search-whitespace-regexp): Doc fix.
4709 Remove cons cell customization.
4710 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4711 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4712 New variables.
4713 (isearch-forward, isearch-forward-regexp): Doc fix.
4714 (isearch-toggle-lax-whitespace): New command.
4715 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4716 (re-search-forward-lax-whitespace)
4717 (re-search-backward-lax-whitespace): New functions.
4718 (isearch-whitespace-regexp): Remove function.
4719 (isearch-query-replace): Let-bind replace-search-function and
4720 replace-re-search-function.
4721 (isearch-occur): Let-bind search-spaces-regexp according to the
4722 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4723 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4724 condition for C-q SPC.
4725 (isearch-search-fun-default): Use new functions mentioned above.
4726 (isearch-search-forward, isearch-search-backward): Remove functions.
4727 (isearch-search): Don't let-bind search-spaces-regexp.
4728 (isearch-lazy-highlight-space-regexp): Remove variable.
4729 (isearch-lazy-highlight-lax-whitespace)
4730 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4731 (isearch-lazy-highlight-new-loop): Use them.
4732 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4733
4734 2012-09-02 Chong Yidong <cyd@gnu.org>
4735
4736 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4737
4738 2012-09-02 Glenn Morris <rgm@gnu.org>
4739
4740 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4741
4742 2012-09-01 Glenn Morris <rgm@gnu.org>
4743
4744 * term.el: Tidy up menu definitions.
4745 (term-mode-map): Use easymenu for In/Out, Complete menus.
4746 (term-pager-break-map): Initialize in the defvar.
4747 (term-terminal-menu, term-signals-menu): Define with easymenu.
4748 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4749 (term-pager-menu): New, extracted from term-process-pager.
4750 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4751 (term-update-mode-line): Propertize line/char and page items.
4752 (term-process-pager): Move keymap initialization elsewhere.
4753
4754 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4755
4756 * window.el (switch-to-prev-buffer): Handle additional values of
4757 BURY-OR-KILL argument. Don't switch in minibuffer window.
4758 (switch-to-next-buffer): Don't switch in minibuffer window.
4759 (quit-restore-window): New function based on quit-window.
4760 Handle additional values of former KILL argument.
4761 (quit-window): Call quit-restore-window with appropriate
4762 interpretation of KILL argument.
4763 (display-buffer-below-selected): New buffer display action
4764 function.
4765
4766 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4767
4768 * minibuffer.el (completion-at-point-functions): Complete docstring
4769 (bug#12254).
4770
4771 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4772
4773 Better seed support for (random).
4774 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4775 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4776 * play/mpuz.el, play/tetris.el, play/zone.el:
4777 * calc/calc-comb.el (math-init-random-base):
4778 * play/blackbox.el (bb-init-board):
4779 * play/life.el (life):
4780 * server.el (server-use-tcp):
4781 * type-break.el (type-break):
4782 Remove unnecessary call to (random t).
4783 * net/sasl.el (sasl-unique-id-function):
4784 Change (random t) to (random), now that the latter is more random.
4785 * play/life.el (life-initialized): Remove no-longer-needed var.
4786
4787 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4788
4789 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4790 Consider frame's buffer predicate when choosing the buffer.
4791 (Bug#12081)
4792
4793 2012-08-30 Richard Stallman <rms@gnu.org>
4794
4795 * simple.el (special-mode-map): Delete binding for `z'.
4796
4797 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4798
4799 * progmodes/compile.el (compilation-always-kill): Doc fix.
4800
4801 2012-08-30 Chong Yidong <cyd@gnu.org>
4802
4803 * window.el (display-buffer-reuse-frames): Make the obsolescence
4804 message more informative.
4805
4806 2012-08-30 Glenn Morris <rgm@gnu.org>
4807
4808 * paren.el (show-paren-delay):
4809 Add a :set function. Doc fix. (Bug#12297)
4810
4811 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4812
4813 * progmodes/compile.el (compilation-always-kill): New var.
4814 (compilation-start): Use it.
4815
4816 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4819 * files.el (read-only-mode): Move to simple.el.
4820
4821 * files.el (read-only-mode): New minor mode.
4822 (toggle-read-only): Use it and mark obsolete.
4823 (find-file--read-only):
4824 * vc/vc.el (vc-next-action, vc-checkout):
4825 * vc/vc-cvs.el (vc-cvs-checkout):
4826 * obsolete/vc-mcvs.el (vc-mcvs-update):
4827 * ffap.el (ffap--toggle-read-only): Update callers.
4828
4829 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4830
4831 * eshell/esh-ext.el (eshell-external-command): Do not examine
4832 remote shell scripts.
4833 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4834
4835 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4836 "/usr/local/sbin".
4837
4838 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4841
4842 2012-08-28 Leo Liu <sdl.web@gmail.com>
4843
4844 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4845 completion-at-point. (Bug#12220)
4846
4847 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4848
4849 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4850
4851 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4854 be buffer-local; add delete-trailing-whitespace (bug#12259).
4855
4856 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4857
4858 * progmodes/hideif.el (hif-compress-define-list):
4859 Fix typo. (Bug#11951)
4860
4861 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4862
4863 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4864 buffer local setting.
4865
4866 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4867 rcirc-encode-coding-system.
4868
4869 2012-08-28 Leo Liu <sdl.web@gmail.com>
4870
4871 * net/rcirc.el (rcirc-split-message): New function.
4872 (rcirc-send-message): Use it. (Bug#12051)
4873
4874 2012-08-28 Juri Linkov <juri@jurta.org>
4875
4876 * info.el (Info-fontify-node): Hide empty lines at the end of
4877 the node. (Bug#12272)
4878
4879 2012-08-27 Drew Adams <drew.adams@oracle.com>
4880
4881 * dired.el (dired-pop-to-buffer): Make window start at beginning
4882 of buffer (Bug#12281).
4883
4884 2012-08-26 Chong Yidong <cyd@gnu.org>
4885
4886 * window.el (special-display-regexps, special-display-frame-alist)
4887 (special-display-buffer-names, special-display-function)
4888 (display-buffer-reuse-frames): Mark as obsolete.
4889
4890 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4891
4892 * help.el (help-print-return-message): Don't treat
4893 display-buffer-reuse-frames specially.
4894
4895 2012-08-26 Chong Yidong <cyd@gnu.org>
4896
4897 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4898 New variable, replacing gdb-frame-parameters.
4899 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4900 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4901 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4902 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4903 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4904 the functions directly with gdb-display-buffer-other-frame-action.
4905 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4906 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4907 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4908 (gdb-display-registers-buffer): Define directly.
4909 (def-gdb-display-buffer): Macro deleted.
4910 (gdb-display-buffer): Remove second and third args, callers don't
4911 use them. Defer to the default display-buffer behavior, apart
4912 from making windows dedicated.
4913 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4914
4915 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4916
4917 * window.el (display-buffer-pop-up-frame): Handle a
4918 pop-up-frame-parameters alist entry.
4919 (display-buffer): Document it.
4920
4921 2012-08-26 Chong Yidong <cyd@gnu.org>
4922
4923 * isearch.el (search-whitespace-regexp): Make string and nil
4924 values apply to both ordinary and regexp search. Allow a cons
4925 cell value to distinguish between the two.
4926 (isearch-whitespace-regexp, isearch-search-forward)
4927 (isearch-search-backward): New functions.
4928 (isearch-occur, isearch-search-fun-default, isearch-search)
4929 (isearch-lazy-highlight-new-loop): Use them.
4930 (isearch-forward, isearch-forward-regexp): Doc fix.
4931
4932 2012-08-26 Chong Yidong <cyd@gnu.org>
4933
4934 * faces.el (help-argument-name): Always inherit from italic
4935 (Bug#12213).
4936
4937 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4938
4939 * window.el (window--even-window-heights): Even heights when
4940 WINDOW and the selected window form a vertical combination.
4941 (display-buffer-use-some-window): Provide that window used gets
4942 sized back by quit-window. (Bug#11880) and (Bug#12091)
4943
4944 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4945
4946 Fix file time stamp problem with bzr and CVS (Bug#12001).
4947 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4948 in the file's time stamp, since the version control system loses
4949 that information.
4950
4951 2012-08-22 Juri Linkov <juri@jurta.org>
4952
4953 * info.el (Info-fontify-node): Hide the suffix of the
4954 Info file name in the header line. (Bug#12187)
4955
4956 2012-08-22 Glenn Morris <rgm@gnu.org>
4957
4958 * calendar/cal-tex.el (cal-tex-weekly-common):
4959 Restore leading blank page.
4960
4961 2012-08-22 Le Wang <l26wang@gmail.com>
4962
4963 * misc.el (forward-to-word, backward-to-word): Activate or extend
4964 the region under `shift-select-mode'. (Bug#12231)
4965
4966 2012-08-22 Bastien Guerry <bzg@gnu.org>
4967
4968 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4969 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4970 gives details on why the space is never needed.
4971
4972 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4973
4974 * window.el (walk-window-tree, window-with-parameter):
4975 New optional argument MINIBUF to control whether these functions
4976 should run on the minibuffer window.
4977 (window-at-side-list): Don't operate on minibuffer window.
4978 (window-in-direction): Simplify and rewrite doc-string.
4979 (window--size-ignore): Rename to window--size-ignore-p.
4980 Update callers.
4981 (display-buffer-in-atom-window, window--major-non-side-window)
4982 (window--major-side-window, display-buffer-in-major-side-window)
4983 (delete-side-window, display-buffer-in-side-window):
4984 New functions.
4985 (window--side-check, window-deletable-p, delete-window)
4986 (delete-other-windows, split-window): Handle side windows and
4987 atomic windows appropriately.
4988 (window--display-buffer): Call display-buffer-record-window also
4989 when the window buffer did not change.
4990
4991 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4992
4993 * help-fns.el (help-fns--key-bindings):
4994 Abbreviate non-symbol remap targets. (Bug#12174)
4995
4996 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4997
4998 * dired.el (dired-mark-remembered): Don't clobber point.
4999 (Bug#11795)
5000
5001 2012-08-22 Glenn Morris <rgm@gnu.org>
5002
5003 * progmodes/bug-reference.el (bug-reference): New custom group.
5004 (bug-reference-bug-regexp): Make it a defcustom.
5005
5006 2012-08-22 Daiki Ueno <ueno@unixuser.org>
5007
5008 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
5009 (js-paren-indent-offset, js-square-indent-offset)
5010 (js-curly-indent-offset): Add :safe (Bug#12257).
5011
5012 2012-08-22 Edward O'Connor <hober0@gmail.com>
5013
5014 * json.el (json-key-format): Add error properties.
5015 (json-encode-key): New function.
5016 (json-encode-hash-table, json-encode-alist, json-encode-plist):
5017 Use json-encode-key.
5018
5019 2012-08-22 Glenn Morris <rgm@gnu.org>
5020
5021 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
5022 (cal-tex-leftday, cal-tex-rightday): Remove functions.
5023 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
5024 Update for above change.
5025
5026 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
5027
5028 * cus-face.el (custom-face-attributes): Fix customize type for the
5029 :underline attribute. (Bug#11805)
5030
5031 2012-08-21 Martin Rudalics <rudalics@gmx.at>
5032
5033 * window.el (window-point-1, set-window-point-1): Remove.
5034 (window-in-direction, record-window-buffer)
5035 (set-window-buffer-start-and-point, split-window-below)
5036 (window--state-get-1, display-buffer-record-window):
5037 Replace calls to window-point-1 and set-window-point-1 by calls to
5038 window-point and set-window-point respectively.
5039
5040 2012-08-21 Glenn Morris <rgm@gnu.org>
5041
5042 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
5043 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
5044 Use it.
5045
5046 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
5047 (cal-tex-shortday): New function.
5048 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
5049 (cal-tex-cursor-filofax-daily): Use the above.
5050
5051 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
5052 New functions.
5053 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5054 (cal-tex-cursor-filofax-week): Use them.
5055
5056 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
5057 New constants.
5058 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
5059 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
5060
5061 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
5062 (cal-tex-end-document): Don't rely on buffer name.
5063
5064 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
5065 Use cal-tex-vspace.
5066 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
5067 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
5068 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
5069 Use cal-tex-arg.
5070
5071 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
5072 (cal-tex-cursor-week, cal-tex-cursor-week2)
5073 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
5074 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5075 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
5076 (cal-tex-insert-preamble, cal-tex-b-document)
5077 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
5078 Improve cal-tex-cmd usage.
5079
5080 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
5081 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
5082 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
5083 (cal-tex-weekly-paper): New function.
5084 (cal-tex-cursor-week, cal-tex-cursor-week2)
5085 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
5086 (cal-tex-cursor-day): Use it.
5087
5088 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
5089 (cal-tex-cursor-filofax-week): Remove leading blank page.
5090
5091 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5092 Add autoload cookie. For now at least, don't use color, since
5093 no other cal-tex function does.
5094
5095 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
5096 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
5097 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5098
5099 2012-08-21 Juri Linkov <juri@jurta.org>
5100
5101 * info.el (Info-file-attributes): New variable.
5102 (info-insert-file-contents): Add file attributes to
5103 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5104 `Info-toc-nodes' when previous modtime of the Info file is less
5105 than new modtime.
5106 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5107 of info.el. (Bug#12230)
5108
5109 2012-08-20 Glenn Morris <rgm@gnu.org>
5110
5111 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5112 * calendar/holidays.el (calendar-holiday-list):
5113 Report errors with display-warning rather than beep'n'sleep.
5114
5115 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5116
5117 * net/tramp.el (tramp-accept-process-output): Accept only output
5118 from PROC. Otherwise, process filters and sentinels might be
5119 confused. (Bug#12145)
5120
5121 2012-08-20 Chong Yidong <cyd@gnu.org>
5122
5123 * descr-text.el (describe-text-properties-1): Use overlays-in to
5124 report on empty overlays (Bug#3322).
5125
5126 2012-08-20 Glenn Morris <rgm@gnu.org>
5127
5128 * mail/rmailout.el (rmail-output-read-file-name):
5129 Trap and report errors in rmail-output-file-alist elements.
5130
5131 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5132 since most non-font-lock faces are not also variables).
5133
5134 2012-08-20 Edward Reingold <reingold@iit.edu>
5135
5136 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5137 New function. (Bug12160)
5138
5139 2012-08-19 Glenn Morris <rgm@gnu.org>
5140
5141 * mail/rmailout.el (rmail-output-read-file-name):
5142 Fix previous change (when the alist is nil or does not match).
5143
5144 2012-08-19 Chong Yidong <cyd@gnu.org>
5145
5146 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5147 (Bug#12228).
5148
5149 2012-08-18 Chong Yidong <cyd@gnu.org>
5150
5151 * simple.el (yank-handled-properties): New defcustom.
5152 (yank-excluded-properties): Add font-lock-face and category.
5153 (yank): Doc fix.
5154
5155 * subr.el (remove-yank-excluded-properties):
5156 Obey yank-handled-properties. The special handling of font-lock-face
5157 and category is now done this way, instead of being hard-coded.
5158 (insert-for-yank-1): Remove font-lock-face handling.
5159 (yank-handle-font-lock-face-property)
5160 (yank-handle-category-property): New function.
5161
5162 2012-08-17 Glenn Morris <rgm@gnu.org>
5163
5164 * mail/rmailout.el (rmail-output-read-file-name):
5165 Check rmail-output-file-alist against the full message body
5166 in the correct rmail buffer. (Bug#12214)
5167
5168 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5169
5170 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5171 Eliminate superfluous prompt. (Bug#12203)
5172
5173 2012-08-17 Chong Yidong <cyd@gnu.org>
5174
5175 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5176 font spec, set the font directly (Bug#3228).
5177
5178 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5179
5180 * window.el (delete-window): Fix last fix.
5181
5182 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5183
5184 * window.el (window-valid-p): Move to window.c.
5185 (window-child, window-child-count, window-last-child)
5186 (window-normalize-window, window-combined-p)
5187 (window-combinations, window-atom-root, window-min-size)
5188 (window-sizable, window-sizable-p, window-size-fixed-p)
5189 (window-min-delta, window-max-delta, window--resizable)
5190 (window--resizable-p, window-resizable, window-total-size)
5191 (window-full-height-p, window-full-width-p, window-body-size)
5192 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5193 (minimize-window, window-deletable-p, delete-window)
5194 (delete-other-windows, set-window-buffer-start-and-point)
5195 (next-buffer, previous-buffer, split-window, balance-windows-2)
5196 (set-window-text-height, window-buffer-height)
5197 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5198 (truncated-partial-width-window-p): Minor code adjustments.
5199 In doc-strings state whether the argument window has to denote a
5200 live, valid or any window.
5201
5202 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5203
5204 * progmodes/subword.el (subword-forward-function)
5205 (subword-backward-function, subword-forward-regexp)
5206 (subword-backward-regexp): New variables.
5207 (subword-forward, subword-forward-internal, subword-backward-internal):
5208 Use new variables, eg so that different "word" definitions
5209 can be easily used. (Bug#11411)
5210
5211 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5212
5213 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5214 for composite selectors.
5215 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5216 operation just because we can't find a previous revision.
5217
5218 2012-08-15 Chong Yidong <cyd@gnu.org>
5219
5220 * frame.el (set-frame-font): Accept font objects.
5221
5222 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5225
5226 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5227
5228 * man.el (Man-overstrike-face, Man-underline-face)
5229 (Man-reverse-face): Remove variables.
5230 (Man-overstrike, Man-underline, Man-reverse): New faces.
5231 (Man-fontify-manpage): Use them instead of the variables.
5232 (Man-cleanup-manpage): Comment change.
5233 (Man-ansi-color-map): New variable.
5234 (Man-fontify-manpage): Use it.
5235 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5236
5237 Implement ANSI SGR parameters 22-27 (bug#12146).
5238 * ansi-color.el (ansi-colors): Doc fix.
5239 (ansi-color-context, ansi-color-context-region): Doc fix.
5240 (ansi-color--find-face): New function.
5241 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5242 Rename the local variable `face' to `codes' since it is now a list of
5243 ansi codes. Doc fix.
5244 (ansi-color-get-face): Remove.
5245 (ansi-color-parse-sequence): New function, derived from
5246 ansi-color-get-face.
5247 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5248 codes 22-27.
5249
5250 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5251
5252 * subr.el (read-passwd): Allow use from a minibuffer.
5253
5254 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5255
5256 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5257 inside comments and strings as identifiers.
5258
5259 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5260 expression to evaluate. This allows to evaluate expressions with
5261 embedded whitespace.
5262 (gud-tooltip-tips): Add a blank before the newline in the
5263 message-box text, for the benefit of message-box emulation on
5264 MS-Windows.
5265
5266 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5267 messages from GDB, pop them up in a tooltip to give feedback to
5268 user.
5269 (gdb-tooltip-print-1): Quote the expression to evaluate.
5270 This allows to evaluate expressions with embedded whitespace.
5271 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5272 if the TTY name is nil or empty (which happens when communicating
5273 with the inferior via pipes, e.g. on MS-Windows).
5274 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5275 don't send that to the GUD buffer.
5276
5277 2012-08-14 Glenn Morris <rgm@gnu.org>
5278
5279 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5280 Optimize away setq-default with no args, as for setq. (Bug#12195)
5281
5282 2012-08-14 Chong Yidong <cyd@gnu.org>
5283
5284 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5285
5286 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5287 (Bug#12085).
5288
5289 2012-08-14 Glenn Morris <rgm@gnu.org>
5290
5291 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5292
5293 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5294
5295 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5296 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5297 Use cached shell name.
5298
5299 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5300
5301 * progmodes/python.el (python-shell-send-string):
5302 (python-shell-send-setup-code): Do not use `format' with `message'.
5303
5304 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5305
5306 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5307 (ruby-percent-literal-beg-re): New constant.
5308 (ruby-syntax-general-delimiters-goto-beg): Rename to
5309 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5310 (ruby-syntax-propertize-general-delimiters): Rename to
5311 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5312 popular term. Adjust comments everywhere.
5313 (ruby-syntax-propertize-percent-literal): Only propertize when not
5314 inside a simple string or comment. When the literal is unclosed,
5315 leave the text after it unpropertized.
5316 (ruby-syntax-methods-before-regexp): New constant.
5317 (ruby-syntax-propertize-function): Use it to recognize regexps.
5318 Don't look at the text after regexp, just use the whitelist.
5319
5320 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5321
5322 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5323 non-nil always load the compiled file if it exists. (Bug#12197)
5324
5325 2012-08-14 Chong Yidong <cyd@gnu.org>
5326
5327 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5328 (hi-lock-set-pattern): When deciding whether to use font lock or
5329 overlays, look at font-lock-mode instead of font-lock-fontified
5330 (Bug#12168).
5331 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5332 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5333
5334 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5335
5336 * subr.el (internal--after-with-selected-window): Fix typo
5337 (Bug#12193).
5338
5339 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5340
5341 Use `completion-table-dynamic' for completion functions.
5342 * progmodes/python.el
5343 (python-shell-completion--do-completion-at-point)
5344 (python-shell-completion--get-completions):
5345 Remove functions.
5346 (python-shell-completion-complete-at-point): New function.
5347 (python-completion-complete-at-point): Use it.
5348
5349 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5350
5351 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5352 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5353
5354 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5355
5356 * subr.el (function-get): Refine `autoload' arg so it can also
5357 autoload functions for gv.el (bug#12191).
5358 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5359 autoloads macros.
5360
5361 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5362 Prefer pcase-let over destructuring-bind.
5363 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5364 Also, remove whitespace as we go, rather than after accumulating the
5365 various places.
5366
5367 * subr.el (internal--before-with-selected-window)
5368 (internal--after-with-selected-window): Fix typo seleted->selected.
5369 (with-selected-window): Adjust callers.
5370 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5371
5372 2012-08-13 Bastien Guerry <bzg@gnu.org>
5373
5374 * window.el (special-display-popup-frame): Minor docstring
5375 enhancement. (Bug#12172)
5376
5377 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5378
5379 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5380 type 1-6.
5381 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5382 extended headers.
5383
5384 * files.el (hack-local-variables-filter): Remove useless eval.
5385
5386 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5387
5388 * subr.el (with-selected-window): Fix last change.
5389
5390 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * subr.el (internal--before-with-seleted-window)
5393 (internal--after-with-seleted-window): New functions.
5394 (with-selected-window): Use them, to replace dependency on
5395 tty-top-frame.
5396
5397 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5398
5399 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5400 binding for `newline'.
5401 (ruby-move-to-block): When moving backward, stop at block opening,
5402 not indentation.
5403 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5404 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5405 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5406 `ruby-toggle-block'.
5407
5408 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5409
5410 * ibuffer.el (ibuffer-do-toggle-read-only):
5411 * dired.el (dired-toggle-read-only):
5412 * buff-menu.el (Buffer-menu-toggle-read-only):
5413 * bindings.el (mode-line-toggle-read-only):
5414 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5415
5416 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5417
5418 * descr-text.el (describe-char): Put the overlays over the
5419 "displayed as" character.
5420
5421 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5422
5423 * calc/calc-units.el (math-default-units-table): Give an
5424 initial value.
5425 (math-put-default-units): Add options to put composite units and
5426 unit systems in the default units table.
5427 (calc-convert-units): Send composite units to
5428 `math-put-default-units' when appropriate.
5429
5430 2012-08-11 Glenn Morris <rgm@gnu.org>
5431
5432 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5433
5434 * tutorial.el (help-with-tutorial):
5435 * emacs-lisp/copyright.el (copyright-update-directory):
5436 * emacs-lisp/autoload.el (autoload-find-generated-file)
5437 (autoload-find-file): Disable local eval: (for insurance).
5438
5439 * files.el (hack-local-variables-filter): If an eval: form is not
5440 known to be safe, and enable-local-variables is :safe, then ignore
5441 the form totally, as is done for non-eval forms. (Bug#12155)
5442 This is CVE-2012-3479.
5443
5444 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5445
5446 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5447 (rx-form): Simplify.
5448
5449 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5450
5451 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5452 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5453 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5454 (ruby-syntax-propertize-function): Adjust for changes in
5455 `ruby-syntax-propertize-heredoc'.
5456
5457 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5458
5459 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5460 binding (use `M-;' instead).
5461 (ruby-singleton-class-p): New function.
5462 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5463
5464 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5465
5466 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5467
5468 2012-08-10 Chong Yidong <cyd@gnu.org>
5469
5470 * progmodes/python.el (python-shell-get-process-name): Don't mess
5471 with same-window-buffer-names.
5472
5473 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5474 (eshell-remove-from-window-buffer-names): Make obsolete.
5475 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5476 (eshell): Just use pop-to-buffer-same-window instead.
5477
5478 2012-08-10 Chong Yidong <cyd@gnu.org>
5479
5480 * bindings.el: Bind M-= back to count-words-region.
5481
5482 * simple.el (count-words-region): Accept a prefix arg for acting
5483 on the entire buffer.
5484 (count-words--buffer-message): New helper function.
5485
5486 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5487
5488 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5489 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5490 (event-start, event-end): Use posn-at-point to return a more
5491 informative posn.
5492 (posnp): New function.
5493 * mouse.el (popup-menu-normalize-position): Use it.
5494
5495 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5496
5497 * mouse.el (popup-menu-normalize-position): New function.
5498 (popup-menu): Use `popup-menu-normalize-position' to normalize
5499 the form for POSITION argument.
5500
5501 * term/x-win.el (x-menu-bar-open):
5502 Use the value returend from (posn-at-point) as position
5503 passed to `popup-menu'.
5504
5505 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5506
5507 * calc/calccomp.el (math-compose-expr): Add extra argument
5508 indicating that parentheses should be put around products in
5509 denominators. Give multiplication precedence over division during
5510 composition.
5511
5512 2012-08-09 Chong Yidong <cyd@gnu.org>
5513
5514 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5515 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5516 (Man-untabify-command, manual-program): Convert to defcustom
5517 (Bug#10429).
5518
5519 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5520
5521 * descr-text.el (describe-char): Don't insert extra newlines
5522 (Bug#10127).
5523
5524 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5525 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5526
5527 * align.el (align-region): Delete temporary markers (Bug#10047).
5528 Plus some code cleanups.
5529
5530 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5531
5532 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5533 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5534 (python-shell-internal-last-output): Use make-local-variable
5535 instead of make-variable-buffer-local.
5536
5537 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5538
5539 * progmodes/python.el: Enhancements to forward-sexp.
5540 (python-nav-forward-sexp): Rename from
5541 python-nav-forward-sexp-function.
5542 (python-nav--forward-sexp, python-nav--backward-sexp):
5543 New functions.
5544
5545 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5546
5547 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5548 modes and simplification modes.
5549
5550 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5551
5552 * delsel.el (delete-selection-pre-hook): Don't propagate the
5553 file-supersession signals (bug#12161).
5554
5555 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5556
5557 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5558 (cl-map-extents): Add compatibility aliases (bug#12135).
5559
5560 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5561
5562 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5563 tests by `ignore-error'.
5564 (tramp-find-shell): Open also a new shell, when cache is already
5565 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5566
5567 2012-08-08 Juri Linkov <juri@jurta.org>
5568
5569 * bookmark.el: Add `defaults' property to the bookmark record.
5570 (bookmark-current-buffer): Doc fix.
5571 (bookmark-make-record): Add `defaults' property with default values
5572 to the bookmark record.
5573 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5574 with `bookmark-insert-current-bookmark'.
5575 (bookmark-set): Get `defaults' property from the bookmark record
5576 and use it in `read-from-minibuffer'.
5577 (bookmark-insert-current-bookmark): Remove function.
5578
5579 * info.el (Info-bookmark-make-record): Add `defaults' property
5580 with values of canonical Info node name, the current Info file
5581 name and the current Info node name. (Bug#12107)
5582
5583 2012-08-08 Juri Linkov <juri@jurta.org>
5584
5585 * files.el (basic-save-buffer): Use `buffer-name' as the default
5586 of `read-file-name' when buffer is not visiting a file (bug#12128).
5587
5588 2012-08-08 Juri Linkov <juri@jurta.org>
5589
5590 * info.el (Info-isearch-search): Doc fix.
5591 (Info-search): Change search-failed message from "initial node" to
5592 "end of node" (bug#12078).
5593 (Info-isearch-search): Change `isearch-string-state' to
5594 `isearch--state-string'.
5595
5596 2012-08-08 Glenn Morris <rgm@gnu.org>
5597
5598 * language/persian.el: Remove file.
5599 * language/misc-lang.el: Move unique part of persian.el here.
5600 * loadup.el: Remove language/persian.
5601
5602 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5603
5604 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5605
5606 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5607
5608 * progmodes/python.el Fixed defsubst warning.
5609 (python-syntax-context) Rename from python-info-ppss-context.
5610 (python-syntax-context-type): Rename from
5611 python-info-ppss-context-type.
5612 (python-syntax-comment-or-string-p): Rename from
5613 python-info-ppss-comment-or-string-p.
5614
5615 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5616
5617 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5618
5619 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5620
5621 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5622 a defcustom that is quoted with backquote.
5623
5624 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5625 Fix handling of interactive spec when the body uses return.
5626 (math-do-arg-check, math-define-function-body): Use backquote forms.
5627 * calc/calc-ext.el (math-defcache): Likewise.
5628 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5629 * allout.el (allout-new-exposure): Likewise.
5630 * calc/calcalg2.el (math-tracing-integral): Likewise.
5631 * info.el (Info-last-menu-item): Likewise.
5632 * emulation/vip.el (vip-loop): Likewise.
5633 * textmodes/artist.el (artist-funcall): Likewise.
5634 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5635 Construct menu-item directly.
5636
5637 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5638 Don't declare.
5639
5640 2012-08-07 Chong Yidong <cyd@gnu.org>
5641
5642 * simple.el (deactivate-mark): Preserve text properties when
5643 saving the primary selection (Bug#8384).
5644
5645 2012-08-07 Kevin Ryde <user42@zip.com.au>
5646
5647 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5648 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5649 and continue processing (Bug#12110).
5650
5651 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5652
5653 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5654 syntax-propertize-function (bug#10095).
5655
5656 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5659 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5660 describe-function-1.
5661 (describe-function-1): Use them. Move compiler macro after sig.
5662 (help-fns--compiler-macro): Use function-get. Assume we're already in
5663 standard-output. Adjust layout to new call order.
5664
5665 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5666 re-binding a symbol that has a symbol-macro (bug#12119).
5667
5668 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5669
5670 * language/persian.el: New file. (Bug#11812)
5671 * loadup.el: Add language/persian.el.
5672
5673 2012-08-06 Chong Yidong <cyd@gnu.org>
5674
5675 * window.el (window--maybe-raise-frame): New function.
5676 (window--display-buffer): Split off from here.
5677 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5678 (display-buffer-pop-up-window, display-buffer-use-some-window):
5679 Obey an inhibit-switch-frame action alist entry.
5680 (display-buffer): Update doc.
5681
5682 * replace.el (occur-after-change-function): Avoid losing focus by
5683 using the inhibit-switch-frame display parameter (Bug#12139).
5684
5685 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5686
5687 Make internal shell process buffer names start with space.
5688 * progmodes/python.el (python-shell-make-comint): Add optional
5689 argument INTERNAL.
5690 (run-python-internal): Use it.
5691 (python-shell-internal-get-or-create-process): Check for new
5692 internal buffer names.
5693
5694 2012-08-06 Glenn Morris <rgm@gnu.org>
5695
5696 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5697 Do less getting and setting of environment variables.
5698
5699 2012-08-05 Chong Yidong <cyd@gnu.org>
5700
5701 * proced.el (proced): Add substitution string to docstring to
5702 trigger autoloading of the proced library on C-h f (Bug#1768).
5703
5704 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5705 Don't show defvars which have no second argument (Bug#8638).
5706
5707 * imenu.el (imenu-generic-expression): Move documentation here
5708 from imenu--generic-function.
5709 (imenu--generic-function): Refer to imenu-generic-expression.
5710
5711 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5712
5713 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5714 indentation declaration.
5715 (viper-loop): Add indentation declaration (Bug#7025).
5716
5717 2012-08-05 Chong Yidong <cyd@gnu.org>
5718
5719 * help-fns.el (describe-variable): Add hyperlink for
5720 directory-local variables files. Improve buffer-local and
5721 permanent-local reporting; suggested by MON KEY (Bug#6644).
5722
5723 * help-mode.el (help-dir-local-var-def): New button type.
5724
5725 * files.el (kill-buffer-hook): Provide a defvar.
5726
5727 2012-08-05 Glenn Morris <rgm@gnu.org>
5728
5729 * eshell/esh-ext.el (eshell/addpath):
5730 Also update eshell-path-env. (Bug#12013)
5731
5732 2012-08-05 Chong Yidong <cyd@gnu.org>
5733
5734 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5735
5736 * fringe.el (fringe-styles): Add docstring.
5737 (fringe--check-mode): New function.
5738 (set-fringe-mode, set-fringe-style): Use it.
5739 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5740
5741 * files.el (set-auto-mode): Fix invalid setq call.
5742
5743 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5744
5745 * isearch.el: Misc simplification; use defstruct.
5746 (isearch-mode-map): Dense maps now work like sparse ones.
5747 (isearch--state): New defstruct.
5748 (isearch-string-state, isearch-message-state, isearch-point-state)
5749 (isearch-success-state, isearch-forward-state)
5750 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5751 (isearch-wrapped-state, isearch-barrier-state)
5752 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5753 replaced by defstruct's accessors.
5754 (isearch--set-state): Rename from isearch-top-state and change
5755 calling convention.
5756 (isearch-push-state): Use new isearch--get-state.
5757 (isearch-toggle-word): Disable regexp when enabling word.
5758 (isearch-message-prefix): Remove unused arg _c-q-hack.
5759 (isearch-message-suffix): Remove unused arg _ellipsis.
5760
5761 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5762
5763 * simple.el (list-processes--refresh): For a server use :host or
5764 :local as the address.
5765 (list-processes): Doc fix.
5766
5767 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5768
5769 * lisp/mpc.el: Support password in host argument.
5770 (mpc--proc-connect): Parse and use new password element.
5771 Set mpc-proc variable instead of returning process.
5772 (mpc-proc): Adjust accordingly.
5773
5774 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5775
5776 * whitespace.el (whitespace-display-mappings): Use Unicode
5777 codepoints, instead of emacs-mule codepoints. See
5778 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5779 for the details.
5780
5781 * files.el (file-truename): Don't skip symlink-chasing part on
5782 windows-nt. Incorporate the resolution of 8+3 short aliases on
5783 Windows into the loop that recursively chases symlinks.
5784 Compare directory and its parent case-insensitively on MS-Windows and
5785 MS-DOS.
5786
5787 2012-08-03 Chong Yidong <cyd@gnu.org>
5788
5789 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5790
5791 * sort.el (sort-regexp-fields): Doc fix.
5792
5793 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5794
5795 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5796 labels regex position point at the expected place.
5797
5798 2012-08-03 MON KEY <monkey@sandpframing.com>
5799
5800 * net/imap.el (imap-interactive-login, imap-authenticate)
5801 (imap-mailbox-lsub, imap-mailbox-list)
5802 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5803 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5804 (imap-parse-response): Doc fix.
5805
5806 2012-08-03 João Távora <joaotavora@gmail.com>
5807
5808 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5809 if sexp scanning does not move point (Bug#5734).
5810
5811 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5812
5813 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5814 Add listings, minted, and ctable packages.
5815 (reftex-label-alist-builtin): Move listings, minted, and ctable
5816 entries before LaTeX.
5817 (reftex-label-alist): Docfix.
5818
5819 2012-08-02 Bastien Guerry <bzg@gnu.org>
5820
5821 * replace.el (occur): Fix docstring (bug#12122).
5822
5823 2012-08-02 Glenn Morris <rgm@gnu.org>
5824
5825 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5826
5827 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5828
5829 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5830 * international/mule-cmds.el: Create
5831 inactivate-current-input-method-function as an obsolete alias for
5832 deactivate-current-input-method-function. See Katsumi Yamaoka in
5833 <http://bugs.gnu.org/10150#46>.
5834
5835 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5836
5837 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5838 of nested `if's.
5839
5840 2012-08-01 Glenn Morris <rgm@gnu.org>
5841
5842 * progmodes/autoconf.el (autoconf-definition-regexp):
5843 Add AH_TEMPLATE, adjust submatch numbering.
5844 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5845 (autoconf-current-defun-function): Update for above change.
5846 (autoconf-current-defun-function): First skip to end of current word.
5847
5848 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5849
5850 * calendar/cal-html.el (cal-html-insert-agenda-days):
5851 Fix typo. (Bug#12018)
5852
5853 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5854
5855 Shell processes: enhancements to startup and CEDET compatibility.
5856 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5857 (python-shell-make-comint): accept-process-output at startup.
5858 (run-python-internal): Set inferior-python-mode-hook to nil.
5859 (python-shell-internal-get-or-create-process): call sit-for.
5860 (python-preoutput-result): Add obsolete alias.
5861 (python-shell-internal-send-string): Use it.
5862 (python-shell-send-setup-code): Remove call to
5863 accept-process-output.
5864
5865 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5866
5867 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5868 (Bug#12108)
5869
5870 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5871
5872 * calc-mode.el (calc-basic-simplification-mode): Rename from
5873 `calc-limited-simplification-mode'.
5874 (calc-alg-simplification-mode): New function.
5875 (calc-set-simplify-mode): Adjust message.
5876
5877 * calc.el (calc-set-mode-line): Adjust mode line display for
5878 basic simplification mode.
5879
5880 * calc-help.el (calc-m-prefix-help): Update help message.
5881
5882 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5883 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5884
5885 2012-07-31 Bastien Guerry <bzg@gnu.org>
5886
5887 * man.el (man): Fix comment. (bug#12101)
5888
5889 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5890
5891 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5892 Don't return a non-nil value when no suitable buffer was found.
5893
5894 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5895
5896 * progmodes/python.el (run-python-internal): Disable font lock for
5897 internal shells.
5898
5899 2012-07-30 Stefan Merten <smerten@oekonux.de>
5900
5901 * textmodes/rst.el: Silence `checkdoc-ispell'.
5902 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5903 (rst-official-version, rst-official-cvs-rev)
5904 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5905 (rst-mode-map): New key binding.
5906
5907 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5908
5909 Update .PHONY listings in makefiles.
5910 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5911 autoloads, update-subdirs, updates, bzr-update, update-authors,
5912 compile-onefile, compile-calc, backup-compiled-files,
5913 compile-after-backup, compile-one-process, mh-autoloads,
5914 bootstrap-clean, distclean, maintainer-clean.
5915
5916 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5917
5918 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5919 (calc-set-mode-line): Don't display "AlgSimp ".
5920
5921 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5922 (calc-lim-simplify-mode): New function.
5923 (calc-set-simplify-mode): Default to 'alg.
5924 (calc-default-simplify-mode): Make algebraic simplifications
5925 the default.
5926
5927 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5928 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5929
5930 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5931 indicate new simplification modes.
5932
5933 * calc/README: Mention new default simplification mode.
5934
5935 * calc/calc.el (math-normalize-error): New variable.
5936 (math-normalize): Set `math-normalize-error' to t
5937 when there's an error.
5938
5939 * calc/calc-alg.el (math-simplify): Don't simplify when
5940 `math-normalize' returns an error.
5941
5942 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5943
5944 * international/mule-cmds.el (set-locale-environment): Revert last
5945 change, since display-graphic-p returns nil when this function is
5946 called during startup. Instead...
5947
5948 * term/w32console.el (terminal-init-w32console): ...setup the
5949 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5950
5951 2012-07-29 Juri Linkov <juri@jurta.org>
5952
5953 * simple.el (goto-line): Don't display default line number in the
5954 prompt because it should be displayed by `read-number' (bug#9952).
5955 Add the current line number to the defaults of `goto-line' to
5956 allow its easier modification by users with `M-n' (bug#9201).
5957
5958 * subr.el (read-number): Support multiple default values like in
5959 other minibuffer reading functions. Replace `read' with
5960 `string-to-number' for consistency with `number-to-string'.
5961
5962 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5963
5964 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5965 * emulation/viper-init.el (viper-deactivate-input-method-action):
5966 Rename from viper-inactivate-input-method-action.
5967 (viper-deactivate-input-method):
5968 Rename from viper-inactivate-input-method.
5969 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5970 * international/mule-cmds.el (deactivate-input-method):
5971 Rename from inactivate-input-method.
5972 Also run input-method-deactivate-hook.
5973 (deactivate-current-input-method-function):
5974 Rename from inactivate-current-input-method-function.
5975 (input-method-deactivate-hook): New hook.
5976 (input-method-inactivate-hook): Mark obsolete.
5977 (inactivate-input-method): Mark obsolete.
5978
5979 * international/quail.el (quail-activate):
5980 Also run quail-deactivate-hook.
5981 (quail-deactivate): Rename from quail-inactivate.
5982 * international/robin.el (robin-activate):
5983 Also run robin-deactivate-hook.
5984 (robin-deactivate): Rename from robin-inactivate.
5985
5986 2012-07-29 Chong Yidong <cyd@gnu.org>
5987
5988 * simple.el (indicate-copied-region): New function.
5989 (kill-ring-save): Split off from here.
5990
5991 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5992 (kill-rectangle): Set deactivate-mark to t on read-only error.
5993
5994 * register.el (copy-to-register, copy-rectangle-to-register):
5995 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5996 (append-to-register, prepend-to-register): Call indicate-copied-region.
5997
5998 2012-07-29 Juri Linkov <juri@jurta.org>
5999
6000 * simple.el (async-shell-command-buffer): New defcustom.
6001 (shell-command): Use it. (Bug#4719)
6002
6003 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6004
6005 * international/mule-cmds.el (set-locale-environment): In a
6006 console session on MS-Windows, set up keyboard and terminal
6007 encoding from the OEM codepage, not the ANSI codepage.
6008 (Bug#12055)
6009
6010 2012-07-28 Chong Yidong <cyd@gnu.org>
6011
6012 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
6013 gdb-get-location.
6014
6015 2012-07-28 Leo Liu <sdl.web@gmail.com>
6016
6017 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
6018 the alist (bug#12029).
6019
6020 2012-07-28 Eli Zaretskii <eliz@gnu.org>
6021
6022 * makefile.w32-in (custom-deps, finder-data, updates, compile)
6023 (compile-always, compile-first)
6024 ($(lisp)/calendar/cal-loaddefs.el)
6025 ($(lisp)/calendar/diary-loaddefs.el)
6026 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6027 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
6028 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
6029 instead of on update-subdirs.
6030 (bootstrap-clean): Delete $(lisp)/subdirs.el.
6031
6032 2012-07-28 Chong Yidong <cyd@gnu.org>
6033
6034 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
6035 directory if vc-deduce-backend returns nil (Bug#7350).
6036
6037 * simple.el (delete-trailing-lines): New option.
6038 (delete-trailing-whitespace): Obey it (Bug#11879).
6039
6040 2012-07-28 David Engster <deng@randomsample.de>
6041
6042 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
6043 Explanation of new 'symbol-qnames feature in doc-strings.
6044 (xml-maybe-do-ns): Return expanded names as plain symbols if
6045 'symbol-qnames was provided in XML-NS argument (Bug#11916).
6046 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
6047
6048 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6049
6050 Consistent completion in inferior python with emacs -nw.
6051 * progmodes/python.el (inferior-python-mode): replace "<tab>"
6052 binding in inferior-python-mode-map with "\t".
6053 (python-shell-completion-complete-at-point)
6054 (python-completion-complete-at-point): Remove interactive spec.
6055
6056 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6057
6058 * calc/calccomp.el (math-compose-expr): Undo previous change.
6059
6060 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
6061
6062 * progmodes/python.el (python-mode-map): Add keybinding for
6063 run-python.
6064 (python-shell-make-comint): Fix pop-to-buffer call.
6065 (run-python): Autoload. New arg SHOW.
6066 (python-shell-get-or-create-process): Do not pop python process
6067 buffer.
6068
6069 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
6070
6071 * notifications.el (notifications-on-action-signal)
6072 (notifications-on-closed-signal): Use also the bus address for the map.
6073 (notifications-notify, notifications-close-notification)
6074 (notifications-get-capabilities): Add optional argument BUS.
6075
6076 2012-07-27 Tassilo Horn <tsdh@gnu.org>
6077
6078 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6079 Add support for the lstlisting and minted environments, and for the
6080 ctable macro.
6081 * textmodes/reftex.el (reftex-compile-variables): Also recognize
6082 labels written in keyvals syntax.
6083
6084 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
6085
6086 * calc/calccomp.el (math-compose-expr): Use parentheses when
6087 there is a product in the denominator of a fraction.
6088
6089 2012-07-26 Eli Zaretskii <eliz@gnu.org>
6090
6091 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
6092 ($(lisp)/calendar/diary-loaddefs.el)
6093 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
6094 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
6095 Fixes failures in parallel bootstrap because subdirs.el is being
6096 rewritten while the autoload files are built at the same time,
6097 which needs to load subdirs.el.
6098
6099 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6100
6101 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6102 (mouse-drag-line): Don't exit tracking when a switch-frame or
6103 switch-window event occurs (Bug#12006).
6104
6105 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * mouse.el (popup-menu): Fix last change.
6108
6109 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6110
6111 Autoload from Lisp with more care. Follow aliases when looking for
6112 function properties.
6113 * subr.el (autoloadp): New function.
6114 (symbol-file): Use it.
6115 (function-get): New function.
6116 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6117 autoload-do-load.
6118 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6119 (lisp-indent-function):
6120 * emacs-lisp/gv.el (gv-get):
6121 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6122 * emacs-lisp/byte-opt.el (byte-optimize-form):
6123 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6124 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6125 Use function-get.
6126 * emacs-lisp/cl.el: Don't propagate function properties any more.
6127
6128 * speedbar.el (speedbar-add-localized-speedbar-support):
6129 * emacs-lisp/disass.el (disassemble-internal):
6130 * desktop.el (desktop-load-file):
6131 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6132 (describe-function-1):
6133 * emacs-lisp/find-func.el (find-function-noselect):
6134 * emacs-lisp/elp.el (elp-instrument-function):
6135 * emacs-lisp/advice.el (ad-has-proper-definition):
6136 * apropos.el (apropos-safe-documentation, apropos-macrop):
6137 * emacs-lisp/debug.el (debug-on-entry):
6138 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6139 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6140 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6141
6142 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6143
6144 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6145 function, not an obsolete variable (Bug#12046).
6146
6147 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6148
6149 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6150
6151 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6152
6153 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6154 window only if it is still live (Bug#12034).
6155
6156 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6157
6158 * subr.el (redirect-frame-focus): Add advertised calling
6159 convention (Bug#12030).
6160
6161 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6162
6163 Prefer typical American spelling for "acknowledgment".
6164 * vc/add-log.el (change-log-acknowledgment): Rename from
6165 change-log-acknowledgement, with an alias for the old name.
6166
6167 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6168
6169 * calc-alg.el (math-simplify-divide): Don't cross multiply
6170 in an equation when the lhs is a variable.
6171
6172 2012-07-24 Julien Danjou <julien@danjou.info>
6173
6174 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6175 Remove, unused.
6176
6177 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6178
6179 * startup.el (command-line): Don't display an empty user name in
6180 the error message about non-existent home directory, when
6181 init-file-user was set to an empty string. See
6182 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6183 for the details and context.
6184
6185 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6186
6187 * ses.el (ses-cell-formula-aset): New macro.
6188 (ses-cell-references-aset): New macro.
6189 (ses-cell-p): New function.
6190 (ses-rename-cell): Do no longer rely on complex operations like
6191 ses-cell-set-formula or ses-set-cell to change the cell and handle
6192 the undo at the same time, but rather use lower level new macros
6193 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6194 the undo directly. Refresh the mode line.
6195
6196 2012-07-21 Leo Liu <sdl.web@gmail.com>
6197
6198 * progmodes/cc-cmds.el (c-defun-name):
6199 Use match-string-no-properties instead for consistency.
6200
6201 2012-07-20 Leo Liu <sdl.web@gmail.com>
6202
6203 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6204 (Bug#7879)
6205
6206 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6207
6208 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6211 * progmodes/bug-reference.el, misearch.el: Provide themselves
6212 (bug#11915).
6213
6214 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6215 of narrowed buffer (bug#11966).
6216
6217 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6218
6219 * ses.el (ses-rename-cell): Set new name also in reference list of
6220 cells of which the renamed cell depends.
6221
6222 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6223
6224 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6225 to check whether menu-bar is shown or not. If not shown,
6226 show the menu-bar as a popup menu instead of using tmm.
6227 * mouse.el (popup-menu): Accept `point' as `position' argument.
6228
6229 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6230
6231 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6232 up inside string symbol literal (bug#11923).
6233
6234 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6235
6236 * startup.el (fancy-startup-text): Read the whole tutorial, not
6237 just its first 256 bytes. Prevents gibberish in display of the
6238 tutorial title.
6239
6240 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6241
6242 Drop idle buffer compaction due to an absence of the
6243 proved efficiency.
6244 * compact.el: Remove.
6245
6246 2012-07-19 Sam Steingold <sds@gnu.org>
6247
6248 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6249 vc-bzr-pull & vc-bzr-merge-branch.
6250 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6251 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6252 for consistency with compilation-error-regexp-alist.
6253 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6254 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6255 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6256 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6257
6258 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * emacs-lisp/chart.el: Use lexical-binding.
6261 (chart-emacs-storage): Don't hardcode the list of entries.
6262
6263 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6264
6265 Next round of tweaks caused by Fgarbage_collect changes.
6266 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6267
6268 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6269
6270 Compact buffers when idle.
6271 * compact.el: New file.
6272
6273 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6274
6275 * subr.el (eventp): Presume that if it looks vaguely like an event,
6276 it's an event (bug#10190).
6277
6278 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6279
6280 Enhancements to ppss related code (thanks Stefan).
6281 * progmodes/python.el (python-indent-context)
6282 (python-indent-calculate-indentation, python-indent-dedent-line)
6283 (python-indent-electric-colon, python-nav-forward-block)
6284 (python-mode-abbrev-table)
6285 (python-info-assignment-continuation-line-p): Simplify checks
6286 for ppss context.
6287 (python-info-continuation-line-p): Cleanup.
6288 (python-info-ppss-context): Do not catch 'quote.
6289 (python-info-ppss-context-type)
6290 (python-info-ppss-comment-or-string-p): Simplify.
6291
6292 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6293
6294 * progmodes/python.el: Enhancements to eldoc support.
6295 (python-info-current-symbol): New function.
6296 (python-eldoc-at-point): Use python-info-current-symbol.
6297 (python-info-current-defun): Fix cornercase on first defun scan.
6298 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6299 and signal error when no inferior python process is available.
6300
6301 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6302
6303 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6304 assume it's always t.
6305 (vc-git-registered): Remove caching, the function is only called
6306 once.
6307 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6308
6309 2012-07-18 Chong Yidong <cyd@gnu.org>
6310
6311 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6312
6313 * simple.el (count-words): Report on narrowing (Bug#9959).
6314
6315 * bindings.el: Bind M-= to count-words.
6316
6317 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6318
6319 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6320
6321 * progmodes/sh-script.el (sh-imenu-generic-expression):
6322 Capture a function with `function' keyword and without parentheses
6323 like "function FOO" (bug#11856).
6324
6325 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6326
6327 * window.el (split-window-sensibly): Make WINDOW argument
6328 optional.
6329
6330 2012-07-18 Chong Yidong <cyd@gnu.org>
6331
6332 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6333
6334 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6335 and make C-x 8 RET exit isearch (Bug#11439).
6336
6337 * international/iso-transl.el: Move isearch-mode-map key
6338 definitions to isearch.el.
6339
6340 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6341
6342 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6343 (eieio-defclass): Use gv-define-setter when possible.
6344
6345 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6346
6347 Reflect recent changes in Fgarbage_collect.
6348 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6349 reflect new format of data returned by Fgarbage_collect.
6350
6351 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6352
6353 New utility functions + python-info-ppss-context fix (Bug#11910).
6354 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6355 (python-info-ppss-comment-or-string-p): New functions.
6356 (python-info-ppss-context): Small fix for string check.
6357
6358 2012-07-17 Juri Linkov <juri@jurta.org>
6359
6360 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6361 (dired-do-async-shell-command): Don't add `*' at the end of the
6362 command (Bug#11815).
6363 (dired-do-shell-command): Doc fix.
6364 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6365 Join the individual commands using either "&" or ";" as the
6366 separator depending on the values of these trailing characters.
6367 At the end re-add the trailing "&". (Bug#10598)
6368
6369 * simple.el (async-shell-command): Sync the interactive spec with
6370 `shell-command'. Doc fix.
6371 (shell-command): Doc fix.
6372
6373 2012-07-17 Juri Linkov <juri@jurta.org>
6374
6375 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6376
6377 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6378
6379 Final renames and doc fixes for movement commands (bug#11899).
6380 * progmodes/python.el (python-nav-beginning-of-statement):
6381 Rename from python-nav-statement-start.
6382 (python-nav-end-of-statement): Rename from
6383 python-nav-statement-end.
6384 (python-nav-beginning-of-block): Rename from
6385 python-nav-block-start.
6386 (python-nav-end-of-block): Rename from python-nav-block-end.
6387
6388 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6389
6390 * progmodes/python.el (python-shell-send-string-no-output):
6391 Allow accept-process-output to quit, keeping shell process ready for
6392 future interactions (Bug#11868).
6393
6394 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6395
6396 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6397
6398 * emacs-lisp/elint.el (elint-find-args-in-code):
6399 Use help-function-arglist, so as to handle lexical byte-code.
6400
6401 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6402 change (bug#11826).
6403
6404 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6405
6406 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6407 Avoid spuriously marking the buffer as modified because of c-is-sws.
6408
6409 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6410 as not-a-comment (bug#11946).
6411
6412 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6413 for uninterned vars.
6414
6415 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6416 Use read-event since we don't really want to read chars but bytes.
6417
6418 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6419 $$..$$ but also $..$ using regexps (bug#11953).
6420 Use tex-verbatim for \url and \path.
6421 (tex-font-lock-keywords): Define as defconst like the others.
6422 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6423
6424 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6425
6426 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6427 alias for insert-char.
6428
6429 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6430
6431 * progmodes/python.el: Simplified imenu implementation.
6432 (python-nav-jump-to-defun): Remove command.
6433 (python-mode-map): Use `imenu' instead.
6434 (python-nav-list-defun-positions-cache)
6435 (python-imenu-include-defun-type, python-imenu-make-tree)
6436 (python-imenu-subtree-root-label, python-imenu-index-alist):
6437 Remove vars.
6438 (python-nav-list-defun-positions, python-nav-read-defun)
6439 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6440 (python-imenu-make-tree, python-imenu-create-index):
6441 Remove functions.
6442 (python-mode): Update to interact with imenu by setting
6443 `imenu-extract-index-name-function' only.
6444
6445 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6446
6447 * progmodes/python.el: Enhancements to navigation commands.
6448 (python-nav-backward-sentence)
6449 (python-nav-forward-sentence): Remove.
6450 (python-nav-backward-statement, python-nav-forward-statement)
6451 (python-nav-statement-start, python-nav-statement-end)
6452 (python-nav-backward-block, python-nav-forward-block)
6453 (python-nav-block-start, python-nav-block-end)
6454 (python-nav-forward-sexp-function)
6455 (python-info-current-line-comment-p)
6456 (python-info-current-line-empty-p): New functions.
6457 (python-indent-context): Use `python-nav-statement-start'.
6458
6459 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6460
6461 * eshell/em-ls.el (eshell/ls): Use `apply'.
6462
6463 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6464 multi-hops, instead of Tramp internals.
6465
6466 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6467
6468 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6469 when F1 and F2 are located on different hosts.
6470
6471 2012-07-14 Chong Yidong <cyd@gnu.org>
6472
6473 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6474 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6475 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6476 (xterm-mouse--read-event-sequence-1000)
6477 (xterm-mouse--read-event-sequence-1006): New functions. For old
6478 mouse protocol, handle M-mouse-X events correctly.
6479 (xterm-mouse-event): New arg specifying mouse protocol.
6480 (turn-on-xterm-mouse-tracking-on-terminal)
6481 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6482 sequence to toggle extended coordinates on newer XTerms.
6483 This appears to be harmless on terminals which do not support this.
6484
6485 2012-07-14 Leo Liu <sdl.web@gmail.com>
6486
6487 Add fringe bitmap indicators for flymake. (Bug#11253)
6488 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6489 (flymake-make-overlay): New arg BITMAP.
6490 (flymake-error-bitmap, flymake-warning-bitmap)
6491 (flymake-fringe-indicator-position): New user variables.
6492
6493 * fringe.el: New bitmap exclamation-mark.
6494
6495 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6496
6497 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6498 also (Bug#7879).
6499
6500 2012-07-14 Chong Yidong <cyd@gnu.org>
6501
6502 * electric.el (electric-pair-post-self-insert-function): Fix pair
6503 insertion in empty-region case (Bug#11520).
6504
6505 2012-07-14 Chong Yidong <cyd@gnu.org>
6506
6507 * bindings.el: Consolidate ctl-x-r-map bindings.
6508 Bind copy-rectangle-as-kill to C-x r w.
6509
6510 * rect.el, register.el: Move bindings to bindings.el.
6511
6512 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6513
6514 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6515
6516 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6517
6518 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6519
6520 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6521
6522 * bindings.el (top): Use `mapc' instead of `mapcar'.
6523
6524 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6525
6526 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6527
6528 * progmodes/sql.el (sql-comint): Suppress the check for program on
6529 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6530 (Bug#11908)
6531
6532 2012-07-13 Chong Yidong <cyd@gnu.org>
6533
6534 * bindings.el: Assign a non-nil permanent-local property to
6535 per-buffer variables which lack a default value (Bug#11930).
6536
6537 * help-fns.el (describe-variable): In the "automatically becomes
6538 local" notice, take note of permanent-local variables.
6539
6540 2012-07-13 Chong Yidong <cyd@gnu.org>
6541
6542 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6543 to allow printing the message when called from Lisp.
6544
6545 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6546 Remove toggle-read-only.
6547
6548 * bs.el (bs-toggle-readonly):
6549 * buff-menu.el (Buffer-menu-toggle-read-only):
6550 Remove with-no-warnings around toggle-read-only.
6551
6552 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6553 Remove with-no-warnings around toggle-read-only.
6554 (ffap-read-only, ffap-read-only-other-window)
6555 (ffap-read-only-other-frame): Callers changed.
6556
6557 * help-mode.el: Don't require view package.
6558 (help-mode-finish): Set buffer-read-only instead of calling
6559 toggle-read-only.
6560
6561 * bindings.el (mode-line-toggle-read-only):
6562 * dired.el (dired-toggle-read-only):
6563 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6564 with non-nil second arg.
6565
6566 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6567 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6568 directly.
6569
6570 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6571
6572 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6573 not incf.
6574
6575 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6576
6577 More CL cleanups and reduction of use of cl.el.
6578 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6579 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6580 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6581 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6582 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6583 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6584 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6585 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6586 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6587 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6588 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6589 * eshell/em-cmpl.el, eshell/em-banner.el:
6590 * calendar/parse-time.el: Use cl-lib.
6591 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6592 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6593 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6594 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6595 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6596 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6597 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6598 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6599 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6600 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6601 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6602 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6603 `lambda' rather than with `quote'.
6604 (eshell-do-opt): Adjust accordingly.
6605 (eshell-process-option): Simplify.
6606 * eshell/esh-var.el:
6607 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6608 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6609 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6610 to `pcase--dontcare'.
6611 * emacs-lisp/cl.el (labels): Mark obsolete.
6612 (cl--letf, letf): Move to cl-lib.
6613 (cl--letf*, letf*): Remove.
6614 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6615 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6616 (cl-progv): Rewrite.
6617 (cl--letf, cl-letf): Move from cl.el.
6618 (cl-letf*): New macro.
6619 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6620
6621 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6622
6623 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6624
6625 2012-07-11 Chong Yidong <cyd@gnu.org>
6626
6627 * vc/log-edit.el (log-edit-vc-backend): New variable.
6628 (log-edit): Doc fix.
6629
6630 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6631 argument of log-edit to set up all local variables.
6632 (vc-start-logentry): New optional arg specifying VC backend.
6633
6634 * vc/vc.el (vc-checkin): Use it.
6635 (vc-deduce-fileset): Handle Log Edit buffers.
6636 (vc-diff): Make first argument optional too.
6637
6638 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6639
6640 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6641
6642 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6643 command, just in case. The function is not needed anymore.
6644 (eshell-external-command): Do not call `eshell-remote-command'.
6645
6646 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6647
6648 Reduce use of (require 'cl).
6649 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6650 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6651 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6652 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6653 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6654 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6655 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6656 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6657 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6658 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6659 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6660 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6661 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6662 (byte-compile-unfold-bcf, byte-compile-check-variable):
6663 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6664 (byte-compile-nilconstp):
6665 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6666 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6667
6668 * emacs-lisp/gv.el (cond): Make it a valid place.
6669 (if): Simplify slightly.
6670
6671 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6672 (pcase--self-quoting-p): New function.
6673 (pcase--u1): Use it.
6674
6675 2012-07-10 Glenn Morris <rgm@gnu.org>
6676
6677 * emacs-lisp/authors.el (authors-fixed-entries):
6678 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6679
6680 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6681
6682 Rename configure.in to configure.ac (Bug#11603).
6683 * emacs-lisp/authors.el (authors-canonical-file-name):
6684 * progmodes/autoconf.el (autoconf-mode):
6685 Prefer configure.ac to configure.in.
6686
6687 2012-07-08 Chong Yidong <cyd@gnu.org>
6688
6689 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6690 Implement the mouse-1-click-follows-link handling properly.
6691
6692 * info.el (Info-link-keymap): Use follow-link mechanism for
6693 header-line links (Bug#374).
6694
6695 * simple.el (deactivate-mark): Do not set the primary selection
6696 if another program has acquired it (Bug#11772).
6697
6698 2012-07-07 Kevin Ryde <user42@zip.com.au>
6699
6700 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6701 (woman-decode-region): Replace escaped-escapes without destroying
6702 bold or underline (Bug#11552).
6703 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6704
6705 2012-07-07 Chong Yidong <cyd@gnu.org>
6706
6707 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6708 (interprogram-cut-function, interprogram-paste-function):
6709 Mention that we typically mean the clipboard.
6710
6711 2012-07-06 Glenn Morris <rgm@gnu.org>
6712
6713 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6714
6715 * files.el (toggle-read-only): Restrict message to interactive use.
6716
6717 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6718
6719 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6720
6721 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6722
6723 2012-07-06 Glenn Morris <rgm@gnu.org>
6724
6725 * Makefile.in (compile-one-process): Rename from "recompile".
6726
6727 * Makefile.in (bzr-update): "compile" is the same as "recompile
6728 autoloads", but parallelizable, so use that instead.
6729
6730 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6731
6732 * window.el (quit-window): Always restore window height when
6733 it's saved in quit-restore parameter (Bug#11810).
6734
6735 2012-07-06 Glenn Morris <rgm@gnu.org>
6736
6737 * simple.el (kill-whole-line): Doc tweak.
6738
6739 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6740
6741 * files.el (file-relative-name): Compare file names
6742 case-insensitively if on MS-Windows or MS-DOS, or if
6743 read-file-name-completion-ignore-case is non-nil. Don't use
6744 case-fold-search for this purpose. (Bug#11827)
6745
6746 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6747
6748 * calendar/cal-dst.el (calendar-current-time-zone):
6749 Return calendar-current-time-zone-cache if non-nil.
6750
6751 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6752 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6753
6754 * calendar/cal-dst.el (calendar-current-time-zone):
6755 Return calendar-current-time-zone-cache if non-nil.
6756
6757 2012-07-06 Glenn Morris <rgm@gnu.org>
6758
6759 * Makefile.in (cvs-update): Remove old alias.
6760
6761 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6762
6763 Sync with Tramp 2.2.6-pre.
6764
6765 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6766 compatible declaration.
6767
6768 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6769 Protect `list-load-path-shadows' call.
6770
6771 * net/tramp-compat.el (top): Require packages, which aren't
6772 autoloaded anymore for XEmacs. Protect call of
6773 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6774 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6775 it hurts at least for SXEmacs.
6776 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6777 standard-value for `temporary-file-directory'.
6778
6779 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6780 Redirect stderr to /dev/null.
6781 (tramp-sh-handle-write-region): uid and gid can be floats.
6782 Reported by Russell Sim <russell.sim@gmail.com>.
6783 (tramp-sh-handle-vc-registered): Hide errors.
6784 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6785 and `start-file-process'.
6786 (tramp-maybe-open-connection): Check also whether `non-essential'
6787 is bound.
6788
6789 2012-07-04 Chong Yidong <cyd@gnu.org>
6790
6791 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6792 (xml-parse-tag): Likewise, and avoid changing entity tables.
6793 (xml-syntax-table): Define from scratch, making sure not to give
6794 x2000 and other Unicode spaces whitespace syntax, since those are
6795 not spaces in XML.
6796 (xml-parse-fragment): Delete unused function.
6797 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6798 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6799 (xml-entity-ref, xml-pe-reference-re)
6800 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6801 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6802 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6803 (xml-entity-value-re): Use syntax references in regexps where
6804 possible; no need to define inside a let-binding.
6805 (xml-parse-dtd): Use xml-pe-reference-re.
6806 (xml-entity-or-char-ref-re): New defconst.
6807 (xml-parse-string, xml-substitute-special): Use it.
6808
6809 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6810
6811 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6812 (find-file--read-only): New function.
6813 (find-file-read-only, find-file-read-only-other-window)
6814 (find-file-read-only-other-frame): Use it.
6815 (insert-file-contents-literally): Don't `fset'.
6816 (get-free-disk-space): Use locate-dominating-file.
6817
6818 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6819 function is already compiled.
6820
6821 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6822
6823 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6824
6825 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6826 files on the same host.
6827
6828 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6829
6830 * help-fns.el (describe-function-1): Only call
6831 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6832
6833 2012-07-03 Chong Yidong <cyd@gnu.org>
6834
6835 * xml.el: Protect parser against XML bombs.
6836 (xml-entity-expansion-limit): New variable.
6837 (xml-parse-string, xml-substitute-special): Use it.
6838 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6839
6840 2012-07-03 Glenn Morris <rgm@gnu.org>
6841
6842 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6843 Allow linking to specific messages in debbugs reports (eg 123#5).
6844
6845 2012-07-02 Chong Yidong <cyd@gnu.org>
6846
6847 * xml.el: Fix entity and character reference expansion, allowing
6848 them to expand into markup as per XML spec.
6849 (xml-default-ns): New variable.
6850 (xml-entity-alist): Use XML spec definitions for lt and amp.
6851 (xml-parse-region): Make first two arguments optional.
6852 Discard text properties.
6853 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6854 All callers changed.
6855 (xml-parse-tag): Call xml-parse-tag-1. For backward
6856 compatibility, this function should not modify buffer contents.
6857 (xml-parse-tag-1): Fix opening-tag regexp.
6858 (xml-parse-string): Rewrite, handling entity and character
6859 references properly.
6860 (xml--entity-replacement-text): Signal an error if a parameter
6861 entity is undefined.
6862
6863 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * comint.el (comint-output-filter): Filter out repeated prompts.
6866
6867 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6868 and file-name-absolute-p.
6869 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6870 internal calls.
6871
6872 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6873
6874 Spelling fixes.
6875 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6876 Rename from byte-compile--refiy-function. All uses changed.
6877
6878 2012-07-01 Chong Yidong <cyd@gnu.org>
6879
6880 * xml.el (xml--parse-buffer): New function. Move most of
6881 xml-parse-region here.
6882 (xml-parse-region): Copy region into a temporary buffer, since
6883 parameter entity substitution requires changing buffer contents.
6884 Use xml--parse-buffer.
6885 (xml-parse-file): Use xml--parse-buffer.
6886 (xml-parse-dtd): Make parameter entity substitution work right.
6887 Use proper regexps for ELEMENT declarations (Bug#7172).
6888
6889 2012-06-30 Glenn Morris <rgm@gnu.org>
6890
6891 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6892
6893 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6894 Remove outdated and unnecessary dbus declarations.
6895
6896 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6897
6898 * emacs-lisp/timer.el (timer-until): Subtract results of
6899 float-time, instead of taking float-time of the result of
6900 time-subtract, since float-time signals an error for negative time
6901 arguments.
6902
6903 2012-06-30 Chong Yidong <cyd@gnu.org>
6904
6905 * xml.el (xml-*-re): Convert defvars into defconsts, and
6906 eval-and-compile them so eval-and-compile works on derivatives.
6907 (xml--entity-replacement-text): Use eval-and-comple.
6908
6909 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6910
6911 * vc/vc-git.el (vc-git-registered): Use cache property
6912 `git-registered'.
6913 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6914 `vc-git-working-revision' in order to benefit from the cache.
6915 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6916
6917 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6918
6919 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6920 removed (likely outside Emacs). (Bug#11757)
6921
6922 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6923
6924 * emacs-lisp/cl-lib.el: Require macroexp.
6925
6926 2012-06-30 Chong Yidong <cyd@gnu.org>
6927
6928 * xml.el: Implement XML parameter entities.
6929 (xml-parameter-entity-alist): New variable.
6930 (xml-parse-region, xml-parse-fragment): Preserve previous values
6931 of xml-entity-alist and xml-parameter-entity-alist, so that
6932 repeated calls on different documents do not change them.
6933 (xml-parse-tag): Fix doctype regexp.
6934 (xml--entity-replacement-text): New function.
6935 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6936 properly requires url retrieval which is unimplemented.
6937 (xml-escape-string): Doc fix.
6938
6939 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6942
6943 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6944
6945 * fringe.el (fringe-mode): Doc fix.
6946
6947 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6948
6949 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6950 is non-nil.
6951 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6952 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6953
6954 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6955
6956 * calendar/cal-dst.el (calendar-current-time-zone):
6957 Return calendar-current-time-zone-cache if non-nil.
6958
6959 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6960
6961 * progmodes/which-func.el (which-func-format):
6962 Add mouse-face. (Bug#11698)
6963
6964 2012-06-29 Leo Liu <sdl.web@gmail.com>
6965
6966 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6967
6968 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6969
6970 * minibuffer.el (minibuffer-confirm-exit-commands):
6971 Add completion-at-point (bug#11725).
6972
6973 2012-06-29 Glenn Morris <rgm@gnu.org>
6974
6975 * progmodes/f90.el (f90-font-lock-keywords-2):
6976 Add some preprocessor elements. (Bug#10499)
6977
6978 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6979
6980 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6981 Use syntax-propertize (bug#11739).
6982
6983 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6984
6985 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6986
6987 2012-06-28 Julien Danjou <julien@danjou.info>
6988
6989 * term.el (term-handle-colors-array): Use a set of new faces to
6990 color the terminal. Also uses :inverse-video property.
6991 (term-default-fg-color): Set to nil by default, deprecate in favor
6992 of `term-face'.
6993 (term-default-bg-color): Set to nil by default, deprecate in favor
6994 of `term-face'.
6995 (term-current-face): Use `term-face' by default.
6996 (term-bold-attribute): Variable deleted.
6997
6998 2012-06-28 Glenn Morris <rgm@gnu.org>
6999
7000 * simple.el (completion-list-mode-finish):
7001 Don't use toggle-read-only. (Since completion-list-mode has
7002 a special mode-class, it wasn't doing anything extra anyway.)
7003
7004 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
7005
7006 Make inlining of other-mode interpreted functions work (bug#11799).
7007 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
7008 (byte-compile): Use it to fix compilation of lexical-binding closures.
7009 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
7010 function, if needed.
7011
7012 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
7013
7014 * help-mode.el (help-make-xrefs): Don't just withstand
7015 cyclic-variable-indirection but any error in documentation-property.
7016
7017 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
7018 memory use.
7019 * bindings.el (bindings--define-key): New function.
7020 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
7021 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
7022 * bindings.el: Use it to purecopy define-key bindings.
7023
7024 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
7025
7026 * emacs-lisp/cl.el (flet): Mark obsolete.
7027 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
7028 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
7029 * progmodes/js.el (js-c-fill-paragraph):
7030 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
7031 (ebrowse-switch-member-buffer-to-derived-class):
7032 * play/5x5.el (5x5-solver): Use cl-flet.
7033
7034 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
7035 (cl--symbol-function): New macro.
7036 (cl--letf, cl--letf*): Use it.
7037
7038 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
7039 Strip "toggle-" if any.
7040
7041 2012-06-27 Glenn Morris <rgm@gnu.org>
7042
7043 * info.el (Info-default-directory-list): Move here from paths.el.
7044 * paths.el: Remove file, which is now empty.
7045 * loadup.el: No longer load "paths".
7046
7047 * custom.el (custom-initialize-delay): Doc fix.
7048
7049 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7050 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
7051 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
7052 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
7053 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
7054 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
7055 * eshell/eshell.el (eshell-defgroup): Remove alias.
7056
7057 2012-06-27 Chong Yidong <cyd@gnu.org>
7058
7059 * help.el (help-enable-auto-load): New variable.
7060
7061 * help-fns.el (help-fns--autoloaded-p): New function.
7062 (describe-function-1): Refer to a function as "autoloaded" if it
7063 was autoloaded at any time in the past. Perform autoloading if
7064 help-enable-auto-load is non-nil.
7065
7066 2012-06-26 Eli Zaretskii <eliz@gnu.org>
7067
7068 * makefile.w32-in (compile, compile-always): Depend on
7069 update-subdirs, not on subdirs.el. Otherwise, several different
7070 sub-targets of 'bootstrap' running in parallel could
7071 simultaneously write to subdirs.el, producing a garbled file.
7072
7073 2012-06-26 Sam Steingold <sds@gnu.org>
7074
7075 * files.el (file-name-base): New convenience function.
7076 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
7077 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
7078 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
7079 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
7080 * textmodes/ispell.el, textmodes/reftex-ref.el:
7081 * textmodes/tex-mode.el: Use it.
7082 Did not touch cedet and org because they are maintained elsewhere.
7083
7084 2012-06-26 Martin Rudalics <rudalics@gmx.at>
7085
7086 * calendar/calendar.el (calendar-exit): Don't try to delete or
7087 iconify last frame. See:
7088 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
7089
7090 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
7091
7092 * server.el (server-process-filter): Remember dir in the
7093 process's `server-client-directory' properties.
7094
7095 2012-06-24 Chong Yidong <cyd@gnu.org>
7096
7097 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7098 non-tag text.
7099
7100 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7101
7102 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7103
7104 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7105
7106 * help-fns.el (describe-variable): Don't croak when doc is not found.
7107 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7108 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7109 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7110 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7111 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7112 ((lambda ..) ..).
7113 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7114
7115 2012-06-23 Chong Yidong <cyd@gnu.org>
7116
7117 * info.el (Info-mouse-follow-link): Accept symbol values of
7118 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7119 (Info-fontify-node): Use Info-link-keymap for all navigation
7120 buttons, with link-args property to perform the desired action.
7121 (Info-link-keymap): Doc fix.
7122 (Info-next-link-keymap, Info-prev-link-keymap)
7123 (Info-up-link-keymap): Delete now-unused keymaps.
7124
7125 2012-06-23 Chong Yidong <cyd@gnu.org>
7126
7127 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7128
7129 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7130 system abbrevs.
7131
7132 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7133
7134 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7135
7136 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7137 (bug#11719).
7138
7139 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7140 the requote function doesn't work properly (bug#11714).
7141
7142 2012-06-23 Glenn Morris <rgm@gnu.org>
7143
7144 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7145
7146 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7147
7148 Further GV/CL cleanups.
7149 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7150 gv-expander.
7151 (gv--defun-declaration): New function.
7152 (defun-declarations-alist): Use it.
7153 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7154 (gv-place): Autoload.
7155 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7156 original definition of dotimes and dolist.
7157 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7158 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7159 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7160 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7161 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7162 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7163 to the function's definition.
7164 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7165 * window.el:
7166 * files.el:
7167 * faces.el:
7168 * env.el: Don't use CL.
7169
7170 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7171
7172 Support higher-resolution time stamps (Bug#9000).
7173
7174 * calendar/time-date.el (with-decoded-time-value): New arg
7175 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7176 (encode-time-value): New optional arg PICO. New type 3.
7177 (time-to-seconds) [!float-time]: Support the new picoseconds
7178 component if it's used.
7179 (seconds-to-time, time-subtract, time-add):
7180 Support ps-resolution time stamps as well.
7181
7182 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7183 (timerp): Timer vectors now have length 9, not 8.
7184 (timer--time): Support new-style (4-part) time stamps.
7185 (timer-next-integral-multiple-of-time): Time stamps now have
7186 picosecond resolution, so take a bit more care about rounding.
7187 (timer-relative-time, timer-inc-time): New optional arg psecs.
7188 (timer-set-time-with-usecs): Set psecs to 0.
7189 (timer--activate): Check psecs component, too.
7190
7191 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7192
7193 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7194
7195 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7196 Move the non-essential binding to the post/pre-command-hook where it is
7197 more obviously correct.
7198
7199 * subr.el (read-passwd): Don't use a history at all.
7200 * savehist.el (savehist-save): Remove password saved accidentally
7201 because of the above bug.
7202
7203 2012-06-22 Bastien Guerry <bzg@gnu.org>
7204
7205 * files.el (toggle-read-only): Display a message telling whether
7206 the buffer is read-only or not (bug#11726).
7207
7208 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * emacs-lisp/gv.el: New file.
7211 * subr.el (push, pop): Extend to generalized variables.
7212 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7213 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7214 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7215 gv-define-simple-setter, and gv-define-expander.
7216 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7217 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7218 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7219 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7220 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7221 gv-letplace.
7222 (cl-defstruct): Don't define setf-method any more.
7223 * emacs-lisp/cl.el (flet): Don't autoload.
7224 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7225 (define-setf-expander, defsetf, define-modify-macro)
7226 (cl-struct-setf-expander): Move from cl-lib.el.
7227 * emacs-lisp/syntax.el:
7228 * emacs-lisp/ewoc.el:
7229 * emacs-lisp/smie.el:
7230 * emacs-lisp/cconv.el:
7231 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7232 (timer--time): Use gv-define-simple-setter.
7233 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7234 to avoid coding-system problems in subr.el. Adjust all users.
7235 (macroexp--maxsize, macroexp-small-p): New functions.
7236 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7237 * scroll-bar.el (scroll-bar-mode):
7238 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7239 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7240 * winner.el (winner-configuration, winner-make-point-alist)
7241 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7242 * files.el (locate-file-completion-table): Avoid list*.
7243
7244 2012-06-22 Chong Yidong <cyd@gnu.org>
7245
7246 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7247 (dired-create-files): Doc fix (Bug#11329).
7248 (dired-do-copy): Doc fix (Bug#11334).
7249 (dired-mark-read-string): Doc fix (Bug#11553).
7250
7251 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7252 Doc fix (Bug#11326).
7253 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7254 (dired-dwim-target): Doc fix.
7255
7256 * wdired.el (wdired-mode): Doc fix.
7257
7258 2012-06-22 Glenn Morris <rgm@gnu.org>
7259
7260 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7261 (pcmpl-rpm-cache-stamp-file): New constant.
7262 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7263 (pcmpl-rpm-packages): Optionally cache list of packages.
7264
7265 * pcmpl-rpm.el (pcmpl-rpm): New group.
7266 (pcmpl-rpm-query-options): New option.
7267 (pcmpl-rpm-packages): No need to inline it.
7268 Use pcmpl-rpm-query-options.
7269
7270 * calendar/calendar.el (calendar-in-read-only-buffer):
7271 Avoid some needless mode changes.
7272
7273 2012-06-21 Chong Yidong <cyd@gnu.org>
7274
7275 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7276 (desktop-path): Remove . from the default value (Bug#10977).
7277 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7278
7279 2012-06-20 Chong Yidong <cyd@gnu.org>
7280
7281 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7282
7283 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7284
7285 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7286 (bug#11201).
7287
7288 2012-06-20 Chong Yidong <cyd@gnu.org>
7289
7290 * term.el (term-window-width): Handle the case of a missing right
7291 fringe (Bug#8837).
7292 (term-check-size): Use window-text-height (Bug#5445).
7293 (term-mode): Use define-derived-mode. Minor cleanups.
7294 Set font-lock-defaults (Bug#7692).
7295 (term-move-columns, term-insert-char, term-emulate-terminal)
7296 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7297
7298 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7299
7300 * net/ange-ftp.el (ange-ftp-get-passwd):
7301 Bind `enable-recursive-minibuffers'.
7302 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7303
7304 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7305
7306 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7307
7308 2012-06-19 Glenn Morris <rgm@gnu.org>
7309
7310 * progmodes/python.el (python-mode): Derive from prog-mode.
7311
7312 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7313
7314 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7315 (edt-user-menu-bar-update-buffers): New functions.
7316 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7317
7318 2012-06-19 Chong Yidong <cyd@gnu.org>
7319
7320 * subr.el (with-selected-window): Preserve the selected window's
7321 terminal's top-frame (Bug#4702).
7322
7323 * window.el (save-selected-window): Likewise.
7324
7325 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7326
7327 * progmodes/python.el (python-rx-constituents): Move backquote.
7328 (python-skeleton-define, python-define-auxiliary-skeleton):
7329 Use `declare'.
7330
7331 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7332
7333 * minibuffer.el (read-file-name-default): Revert the patch from
7334 2012-06-17.
7335
7336 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7337
7338 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7339 (pcase--u1, pcase--q1): Don't use apply-partially.
7340
7341 2012-06-18 Glenn Morris <rgm@gnu.org>
7342
7343 * progmodes/python.el (python-proc, python-buffer)
7344 (python-send-receive, python-send-string): Fix obsolete versions.
7345
7346 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7347
7348 * window.el (special-display-p): Completely remove stringp
7349 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7350
7351 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7352
7353 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7354
7355 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7356
7357 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7358 * net/tramp-sh.el (tramp-maybe-open-connection):
7359 Throw if `non-essential' is non-nil.
7360
7361 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7362
7363 * window.el (special-display-p): Signal an error if BUFFER-NAME
7364 is not a string (Bug#11713).
7365
7366 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7367
7368 * progmodes/python.el (python-info-beginning-of-backslash):
7369 Rename from python-info-beginning-of-backlash, as a spelling fix.
7370
7371 2012-06-17 Chong Yidong <cyd@gnu.org>
7372
7373 * term.el (term-emulate-terminal): If term-check-size is called,
7374 move point to the process mark without resetting point (Bug#4635).
7375
7376 2012-06-17 Glenn Morris <rgm@gnu.org>
7377
7378 * international/mule-cmds.el (mule-menu-keymap)
7379 (set-language-environment, set-locale-environment): Doc tweaks.
7380
7381 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7382
7383 * cus-face.el (custom-face-attributes): Add wave-style underline
7384 attribute.
7385 * faces.el (set-face-attribute): Update docstring to describe
7386 wave-style underline attribute.
7387
7388 2012-06-16 Chong Yidong <cyd@gnu.org>
7389
7390 * term/xterm.el (terminal-init-xterm): Discard input before
7391 querying background mode (Bug#10959).
7392
7393 2012-06-16 Stefan Merten <smerten@oekonux.de>
7394
7395 * textmodes/rst.el: Added and corrected some comments.
7396 (rst-re-alist-def): Improve symbol syntax.
7397 (rst-mode-syntax-table): Correct syntax entries.
7398 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7399 (rst-official-version, rst-official-cvs-rev): Update version
7400 information.
7401
7402 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7403
7404 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7405 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7406
7407 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7408
7409 * progmodes/python.el: New python.el merge.
7410 (python-guess-indent): Obsolete var.
7411 (python-indent-guess-indent-offset): New defcustom.
7412 (python-indent): Obsolete var.
7413 (python-indent-offset): New defcustom.
7414 (python-python-command, python-jython-command): Delete var.
7415 (python-shell-interpreter): New defcustom.
7416 (python-pdbtrack-do-tracking-p): Delete var.
7417 (python-pdbtrack-activate): New defcustom.
7418 (python-use-skeletons): Obsolete var.
7419 (python-skeleton-autoinsert): New defcustom.
7420 (inferior-python-filter-regexp, python-continuation-offset)
7421 (python-honour-comment-indentation, python-indent-string-contents)
7422 (python-jython-packages, python-mode-hook)
7423 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7424 (python-shell-prompt-alist)
7425 (python-source-modes): Delete defcustoms.
7426 (python-check-buffer-name, python-eldoc-setup-code)
7427 (python-eldoc-string-code, python-ffap-setup-code)
7428 (python-ffap-string-code, python-fill-comment-function)
7429 (python-fill-decorator-function, python-fill-paren-function)
7430 (python-fill-string-function, python-imenu-include-defun-type)
7431 (python-imenu-make-tree, python-imenu-subtree-root-label)
7432 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7433 (python-shell-compilation-regexp-alist)
7434 (python-shell-completion-module-string-code)
7435 (python-shell-completion-pdb-string-code)
7436 (python-shell-completion-setup-code)
7437 (python-shell-completion-string-code)
7438 (python-shell-enable-font-lock, python-shell-exec-path)
7439 (python-shell-extra-pythonpaths)
7440 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7441 (python-shell-process-environment)
7442 (python-shell-prompt-block-regexp)
7443 (python-shell-prompt-output-regexp)
7444 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7445 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7446 (python-shell-virtualenv-path): New defcustoms.
7447 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7448 (inferior-python-mode-syntax-table, python--prompt-regexp)
7449 (python-buffer, python-command python-python-command)
7450 (python-default-template, python-imports, python-indent-index)
7451 (python-indent-list, python-indent-list-length)
7452 (python-mode-running, python-pdbtrack-is-tracking-p)
7453 (python-preoutput-continuation, python-preoutput-leftover)
7454 (python-preoutput-result, python-preoutput-skip-next-prompt)
7455 (python-prev-dir/file, python-recursing)
7456 (python-saved-check-command, python-version-checked)
7457 (python-which-func-length-limit)
7458 (view-return-to-alist): Delete vars.
7459 (python-check-custom-command, python-dotty-syntax-table)
7460 (python-imenu-index-alist, python-indent-current-level)
7461 (python-indent-dedenters, python-indent-levels)
7462 (python-nav-beginning-of-defun-regexp)
7463 (python-nav-list-defun-positions-cache)
7464 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7465 (python-shell-internal-buffer)
7466 (python-skeleton-available): New vars.
7467 (def-python-skeleton): Delete macro.
7468 (python-skeleton-define): New macro.
7469 (python-define-auxiliary-skeleton, python-rx): New macros.
7470 (python-insert-class): Delete command.
7471 (python-skeleton-class): New command.
7472 (python-insert-def): Delete command.
7473 (python-skeleton-def): New command.
7474 (python-insert-for): Delete command.
7475 (python-skeleton-for): New command.
7476 (python-insert-if): Delete command.
7477 (python-skeleton-if): New command.
7478 (python-insert-try/except, python-insert-try/finally): Delete commands.
7479 (python-skeleton-try): New command.
7480 (python-insert-while): Delete command.
7481 (python-skeleton-while): New command.
7482 (python-backspace): Delete command.
7483 (python-indent-dedent-line-backspace): New command.
7484 (python-electric-colon): Delete command.
7485 (python-indent-electric-colon): New command.
7486 (python-guess-indent): Delete command.
7487 (python-indent-guess-indent-offset): New command.
7488 (python-shift-left): Delete command.
7489 (python-indent-shift-left): New command.
7490 (python-shift-right): Delete command.
7491 (python-indent-shift-right): New command.
7492 (python-find-function): Delete command.
7493 (python-nav-jump-to-defun): New command.
7494 (python-next-statement): Delete command.
7495 (python-nav-forward-sentence): New command.
7496 (python-previous-statement): Delete command.
7497 (python-nav-backward-sentence): New command.
7498 (python-fill-paragraph): Delete command.
7499 (python-fill-paragraph-function): New command.
7500 (python-send-buffer): Delete command.
7501 (python-shell-send-buffer): New command.
7502 (python-send-defun): Delete command.
7503 (python-shell-send-defun): New command.
7504 (python-send-region, python-send-region-and-go): Delete commands.
7505 (python-shell-send-region)
7506 (python-shell-switch-to-shell): New commands.
7507 (python-send-string): Delete command.
7508 (python-shell-send-string): New command.
7509 (python-switch-to-python): Delete command.
7510 (python-shell-switch-to-shell): New command.
7511 (python-describe-symbol): Delete command.
7512 (python-eldoc-at-point): New command.
7513 (python--set-prompt-regexp, python-args-to-list)
7514 (python-after-info-look, python-check-version)
7515 (python-check-comint-prompt, python-find-imports)
7516 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7517 (python-unload-function, python-expand-template)
7518 (python-maybe-jython, python-preoutput-filter)
7519 (python-pdbtrack-get-source-buffer)
7520 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7521 (python-pdbtrack-toggle-stack-tracking)
7522 (python-pdbtrack-track-stack-file, python-initial-text)
7523 (python-first-word, python-comment-line-p, python-send-command)
7524 (python-setup-brm, python-sentinel, python-set-proc)
7525 (python-skip-out, python-input-filter, python-outdent-p)
7526 (python-outline-level, python-backslash-continuation-line-p)
7527 (python-end-of-block, python-end-of-statement, python-mark-block)
7528 (python-beginning-of-block, python-beginning-of-statement)
7529 (python-blank-line-p, python-beginning-of-string)
7530 (python-open-block-statement-p): Delete functions.
7531 (python-indent-line, python-indent-line-1): Delete functions.
7532 (python-indent-line): New function.
7533 (python-indentation-levels): Delete function.
7534 (python-indent-calculate-levels): New function.
7535 (python-proc): Delete function.
7536 (python-shell-get-process): New function.
7537 (python-send-receive): Delete function.
7538 (python-shell-send-string-no-output): New function.
7539 (python-module-path): Delete function.
7540 (python-ffap-module-path): New function.
7541 (python-completion-at-point)
7542 (python-symbol-completions): Delete functions.
7543 (python-completion-complete-at-point): New function.
7544 (python-load-file): Delete function.
7545 (python-shell-send-file): New function.
7546 (python-calculate-indentation): Delete function.
7547 (python-indent-calculate-indentation): New function.
7548 (python-skip-comments/blanks): Delete function.
7549 (python-util-forward-comment): New function.
7550 (python-continuation-line-p): Delete function.
7551 (python-info-continuation-line-p): New function.
7552 (python-which-func, python-current-defun): Delete function.
7553 (python-info-current-defun): New function.
7554 (python-beginning-of-defun): Delete function.
7555 (python-nav-beginning-of-defun): New function.
7556 (python-close-block-statement-p)
7557 (python-block-end-p): Delete function.
7558 (python-info-closing-block): New function.
7559 (python-comint-output-filter-function)
7560 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7561 (python-fill-comment, python-fill-decorator, python-fill-paren)
7562 (python-fill-string, python-imenu-make-element-tree)
7563 (python-imenu-make-tree, python-imenu-tree-assoc)
7564 (python-indent-context, python-indent-dedent-line)
7565 (python-indent-line-function)
7566 (python-indent-post-self-insert-function)
7567 (python-indent-toggle-levels)
7568 (python-info-assignment-continuation-line-p)
7569 (python-info-beginning-of-backlash)
7570 (python-info-block-continuation-line-p)
7571 (python-info-closing-block-message)
7572 (python-info-line-ends-backslash-p)
7573 (python-info-looking-at-beginning-of-defun)
7574 (python-info-ppss-context, python-info-ppss-context-type)
7575 (python-nav-list-defun-positions, python-nav-read-defun)
7576 (python-nav-sentence-end, python-nav-sentence-start)
7577 (python-pdbtrack-comint-output-filter-function)
7578 (python-pdbtrack-set-tracked-buffer)
7579 (python-shell-calculate-exec-path)
7580 (python-shell-calculate-process-environment)
7581 (python-shell-completion--do-completion-at-point)
7582 (python-shell-completion--get-completions)
7583 (python-shell-completion-complete-at-point)
7584 (python-shell-completion-complete-or-indent)
7585 (python-shell-get-or-create-process)
7586 (python-shell-get-process-name)
7587 (python-shell-internal-get-or-create-process)
7588 (python-shell-internal-get-process-name)
7589 (python-shell-internal-send-string, python-shell-make-comint)
7590 (python-shell-parse-command, python-shell-send-setup-code)
7591 (python-skeleton-add-menu-items)
7592 (python-util-clone-local-variables, python-util-position)
7593 (run-python-internal, python-indentation-levels)
7594 (python-nav-beginning-of-defun)
7595 (python-completion-complete-at-point): New functions.
7596 (run-python): Change arguments. New API requirements.
7597
7598 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7601 (bug#11649).
7602
7603 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7604 (macroexp--expand-all): Use it.
7605
7606 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7607 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7608 Use `cl-function' instead.
7609
7610 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7611
7612 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7613 Suggested by Stefan Monnier while discussing bug#11657.
7614
7615 2012-06-14 Sam Steingold <sds@gnu.org>
7616
7617 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7618
7619 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7620
7621 * play/doctor.el (doctor-doc): Remove parameter and use
7622 doctor-sent instead of sent.
7623 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7624
7625 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7626
7627 * files.el: Require cl-lib.
7628 (file-name-non-special): Replace case -> cl-case.
7629
7630 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7631
7632 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7633 mapping from #' to function*.
7634
7635 2012-06-13 Chong Yidong <cyd@gnu.org>
7636
7637 * mouse.el (mouse-drag-track): Do not set the mark if the user
7638 releases the mouse without selecting anything (Bug#11588).
7639
7640 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7643 as well (bug#11646).
7644
7645 * loadup.el: Count byte-code functions as well.
7646
7647 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7648 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7649
7650 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7651 (bug#11649). Add cl-defun and cl-defmacro.
7652
7653 2012-06-13 Drew Adams <drew.adams@oracle.com>
7654
7655 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7656 Fix last change.
7657
7658 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7659
7660 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7661 Otherwise, it blocks in batch mode.
7662
7663 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7664
7665 * help-mode.el (bookmark-make-record-default): Declare.
7666
7667 2012-06-13 Chong Yidong <cyd@gnu.org>
7668
7669 * emacs-lisp/package.el (list-packages): Compute a list of
7670 packages that are newly-available since the last list-packages
7671 invocation.
7672 (package-menu--new-package-list): New var.
7673 (package-menu--generate, package-menu--print-info)
7674 (package-menu--status-predicate, package-menu-mark-install):
7675 Handle new status label "new".
7676
7677 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7680 conversion to backquotes.
7681
7682 2012-06-12 Chong Yidong <cyd@gnu.org>
7683
7684 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7685 Rename from gud-inhibit-global-bindings.
7686
7687 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7688
7689 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7690 hook from nxml-glyph-set-hook.
7691
7692 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7693 declaration.
7694
7695 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7696
7697 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7698 Convert to defcustom.
7699
7700 2012-06-12 Drew Adams <drew.adams@oracle.com>
7701
7702 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7703 New functions.
7704 (help-mode): Use them.
7705
7706 2012-06-11 Glenn Morris <rgm@gnu.org>
7707
7708 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7709 Use preprocessor face for directives.
7710 (fortran-directive-re): Doc fix.
7711
7712 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7715 conversion to backquotes (bug#11652).
7716
7717 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7718 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7719 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7720 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7721 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7722 (cl-ninth, cl-tenth): Mark them as inlinable.
7723 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7724 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7725 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7726 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7727 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7728 (cl-list*, cl-adjoin): Don't put an autoload manually.
7729 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7730 (cl--compiler-macro-list*): Add autoload cookie.
7731 (cl--compiler-macro-cXXr): New function.
7732
7733 * help-fns.el (help-fns--compiler-macro): New function extracted from
7734 describe-function-1; follow aliases and use `compiler-macro' property.
7735 (describe-function-1): Use it.
7736
7737 2012-06-11 Chong Yidong <cyd@gnu.org>
7738
7739 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7740 is uninstalled, if imagemagick is installed.
7741
7742 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * emacs-lisp/cl-lib.el: Use lexical-binding.
7745 (cl-map-extents, cl-maclisp-member): Remove.
7746 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7747 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7748 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7749 * emacs-lisp/cl-extra.el: Use lexical-binding.
7750 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7751 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7752 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7753 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7754 * emacs-lisp/cl-seq.el: Use lexical-binding.
7755 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7756 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7757 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7758 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7759 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7760 CL's internals.
7761
7762 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7763
7764 Sync with Tramp 2.2.6-pre.
7765
7766 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7767 `print-length' and `print-level' to nil, in order to avoid
7768 truncation. Reported by Christopher Schmidt
7769 <christopher@ristopher.com>.
7770
7771 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7772
7773 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7774 New defmacro.
7775 (tramp-compat-copy-directory): Add optional argument
7776 COPY-CONTENTS. It is not handled yet.
7777
7778 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7779 (tramp-ftp-file-name-p): Simplify.
7780
7781 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7782 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7783 connection vector.
7784
7785 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7786 (tramp-methods): Do not use `tramp-password-end-of-line'.
7787 (tramp-completion-function-alist-putty): Handle UNIX case.
7788 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7789 (tramp-do-file-attributes-with-stat)
7790 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7791 gid as real numbers. They could run out of integer range on cygwin.
7792 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7793 (tramp-sh-handle-expand-file-name): Handle hops.
7794 (tramp-open-connection-setup-interactive-shell):
7795 Use `tramp-cleanup'. Move check for busyboxes ...
7796 (tramp-find-shell): ... here. Simplify implementation.
7797 Set "remote-shell" property also for alternative shells.
7798 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7799 If failing, a regular file would be written otherwise.
7800 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7801 (tramp-find-inline-encoding): Cache the coding commands in the
7802 process cache. Apply test command on the remote side, if defined.
7803 (tramp-find-inline-compress): Cache the compress commands in the
7804 process cache.
7805 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7806 when requested. Handle hops.
7807 (tramp-current-connection): New defvar.
7808 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7809 Throw `suppress', if there was a failed connection shortly before.
7810 Handle user interrupt. (Bug#10187)
7811 (tramp-get-inline-compress, tramp-get-inline-coding):
7812 Read connection properties from the process cache.
7813
7814 * net/tramp-smb.el (tramp-smb-server-version)
7815 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7816 New defconsts.
7817 (tramp-smb-prompt): Extend for powershell prompt.
7818 (tramp-smb-file-name-handler-alist): Add handlers for
7819 `process-file', `shell-command' and `start-file-process'.
7820 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7821 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7822 (tramp-smb-file-name-p): Simplify.
7823 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7824 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7825 (tramp-smb-shell-quote-argument): New defuns.
7826 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7827 Implement using "tar". By this, time-stamps are preserved.
7828 (tramp-smb-handle-copy-file): Handle also the case of directories.
7829 (tramp-smb-do-file-attributes-with-stat)
7830 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7831 Use `tramp-get-connection-buffer').
7832 (tramp-smb-handle-rename-file): Use "rename", when source and
7833 target are on the same share.
7834 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7835 Use `tramp-smb-server-version'.
7836 (tramp-smb-wait-for-output): Remove prompt.
7837
7838 * net/tramp.el (top): Require 'cl.
7839 (tramp-methods, tramp-rsh-end-of-line):
7840 Remove `tramp-password-end-of-line' from docstring.
7841 (tramp-save-ad-hoc-proxies): New defcustom.
7842 (tramp-completion-function-alist): Adapt docstring.
7843 (tramp-default-password-end-of-line): Remove defcustom.
7844 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7845 (tramp-user-regexp, tramp-file-name-regexp-unified)
7846 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7847 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7848 (tramp-remote-file-name-spec-regexp): New defconst.
7849 (tramp-file-name-structure): Extend structure for hops.
7850 (tramp-get-method-parameter): Move up.
7851 (tramp-file-name-p, tramp-dissect-file-name)
7852 (with-parsed-tramp-file-name): Handle hops.
7853 (tramp-file-name-hop): New defun.
7854 (tramp-make-tramp-file-name): New optional arg HOP.
7855 (tramp-message-show-progress-reporter-message): New defvar.
7856 (tramp-with-progress-reporter): Use it. We cannot use
7857 `tramp-message-show-message' here, because this suppresses also
7858 error buffers.
7859 (tramp-error-with-buffer): Suppress buffer view, if
7860 `tramp-message-show-message' is nil.
7861 Use `tramp-get-connection-buffer'.
7862 (tramp-cleanup): New defun.
7863 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7864 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7865 an error unchanged.
7866 (tramp-completion-handle-file-name-all-completions): Handle hops.
7867 Fix an error when called from ido.
7868 (tramp-completion-dissect-file-name): Use better local variable
7869 name. Add hop to the vector.
7870 (tramp-handle-insert-file-contents): Use progress-reporter for the
7871 whole scenario.
7872 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7873 to `t'.
7874 (tramp-check-for-regexp): Simplify search.
7875 (tramp-enter-password): Remove it. Move implementation ...
7876 (tramp-action-password): ... here.
7877 (tramp-mode-string-to-int, tramp-local-host-p)
7878 (tramp-make-tramp-temp-file, tramp-read-passwd)
7879 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7880 Set tramp-autoload cookie.
7881
7882 * net/trampver.el: Update release number.
7883
7884 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7885 Michael Albinus <michael.albinus@gmx.de>
7886
7887 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7888 (tramp-parse-group, tramp-parse-file)
7889 (tramp-parse-shostkeys-sknownhosts): New defuns.
7890 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7891 (tramp-parse-shosts-group, tramp-parse-sconfig)
7892 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7893 (tramp-parse-sknownhosts, tramp-parse-hosts)
7894 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7895 Use them.
7896 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7897 (tramp-parse-putty-group): Don't narrow.
7898 (tramp-parse-putty): Make a loop.
7899 (tramp-file-name-handler): Catch the `suppress' signal.
7900
7901 2012-06-11 Chong Yidong <cyd@gnu.org>
7902
7903 * image.el (imagemagick-register-types): Put the ImageMagick entry
7904 at the end of image-type-file-name-regexps.
7905
7906 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7907
7908 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7909 (pcase, pcase-let*, pcase-dolist): Use them.
7910
7911 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7912
7913 * emacs-lisp/pcase.el (pcase--let*): New function.
7914 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7915 (pcase--expand): Use macroexp-let².
7916
7917 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7918
7919 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7920 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7921 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7922 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7923 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7924 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7925
7926 2012-06-10 Glenn Morris <rgm@gnu.org>
7927
7928 * mail/rmail.el (rmail-yank-current-message): Leave point at
7929 correct position. (Bug#11660)
7930
7931 2012-06-10 Chong Yidong <cyd@gnu.org>
7932
7933 * allout-widgets.el: Fix code header.
7934
7935 2012-06-10 Chong Yidong <cyd@gnu.org>
7936
7937 * cus-edit.el (customize-changed-options-previous-release):
7938 Bump to 24.1.
7939
7940 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7941
7942 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7943
7944 2012-06-09 Chong Yidong <cyd@gnu.org>
7945
7946 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7947
7948 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7949
7950 * window.el (special-display-popup-frame): Don't use
7951 window--display-buffer (Bug#11651).
7952
7953 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7954
7955 Fix parallel builds: make sure loaddefs.el is not being written
7956 while Lisp files are compiled.
7957 (compile): Don't depend on 'mh-autoloads'.
7958 (compile-CMD, compile-SH): Depend on 'autoloads'.
7959 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7960
7961 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7962
7963 2012-06-09 Chong Yidong <cyd@gnu.org>
7964
7965 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7966 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7967 Doc fixes (Bug#11225).
7968
7969 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7970
7971 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7972 a function if there's a clear indication that it has a compiler-macro.
7973 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7974 (macro-declarations-alist): Add arglist to declaration functions.
7975 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7976 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7977 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7978 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7979 Also add autoload to find the compiler macro.
7980 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7981 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7982 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7983 (cl--compiler-macro-get): New functions, replacing calls to
7984 cl-define-compiler-macro.
7985 (cl-typep) [compiler-macro]: Use macroexp-let².
7986
7987 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7988
7989 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7990 string properly, fixes Bug#11473.
7991
7992 2012-06-08 Chong Yidong <cyd@gnu.org>
7993
7994 * faces.el (set-face-attribute): Doc fix.
7995 (modify-face): Don't use :bold and :italic.
7996 (error, warning, success): Tweak definitions.
7997
7998 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7999 (custom-modified, custom-set, custom-changed, custom-themed)
8000 (custom-saved, custom-button, custom-button-mouse)
8001 (custom-button-pressed, custom-state, custom-comment-tag)
8002 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
8003 (custom-group-subtitle): Use new-style face specs.
8004 (custom-invalid-face, custom-rogue-face, custom-modified-face)
8005 (custom-set-face, custom-changed-face, custom-saved-face)
8006 (custom-button-face, custom-button-pressed-face)
8007 (custom-documentation-face, custom-state-face)
8008 (custom-comment-face, custom-comment-tag-face)
8009 (custom-variable-tag-face, custom-variable-button-face)
8010 (custom-face-tag-face, custom-group-tag-face-1)
8011 (custom-group-tag-face): Remove obsolete face alias.
8012
8013 * epa.el (epa-validity-high, epa-validity-medium)
8014 (epa-validity-low, epa-mark, epa-field-name, epa-string)
8015 (epa-field-name, epa-field-body):
8016 * font-lock.el (font-lock-comment-face, font-lock-string-face)
8017 (font-lock-keyword-face, font-lock-builtin-face)
8018 (font-lock-function-name-face, font-lock-variable-name-face)
8019 (font-lock-type-face, font-lock-constant-face):
8020 * ido.el (ido-first-match, ido-only-match, ido-subdir)
8021 (ido-virtual, ido-indicator, ido-incomplete-regexp):
8022 * speedbar.el (speedbar-button-face, speedbar-file-face)
8023 (speedbar-directory-face, speedbar-tag-face)
8024 (speedbar-selected-face, speedbar-highlight-face)
8025 (speedbar-separator-face):
8026 * whitespace.el (whitespace-newline, whitespace-space)
8027 (whitespace-hspace, whitespace-tab, whitespace-trailing)
8028 (whitespace-line, whitespace-space-before-tab)
8029 (whitespace-space-after-tab, whitespace-indentation)
8030 (whitespace-empty):
8031 * emulation/cua-base.el (cua-global-mark):
8032 * eshell/em-prompt.el (eshell-prompt):
8033 * net/newst-plainview.el (newsticker-new-item-face)
8034 (newsticker-old-item-face, newsticker-immortal-item-face)
8035 (newsticker-obsolete-item-face, newsticker-date-face)
8036 (newsticker-statistics-face, newsticker-default-face):
8037 * net/newst-reader.el (newsticker-feed-face)
8038 (newsticker-extra-face, newsticker-enclosure-face):
8039 * net/newst-treeview.el (newsticker-treeview-face)
8040 (newsticker-treeview-new-face, newsticker-treeview-old-face)
8041 (newsticker-treeview-immortal-face)
8042 (newsticker-treeview-obsolete-face)
8043 (newsticker-treeview-selection-face):
8044 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
8045 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
8046 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
8047 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
8048 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
8049 (nxml-outline-active-indicator, nxml-outline-ellipsis):
8050 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
8051 (mpuz-text):
8052 * progmodes/vera-mode.el (vera-font-lock-number)
8053 (vera-font-lock-function, vera-font-lock-interface):
8054 * textmodes/table.el (table-cell): Use new-style face specs, and
8055 don't use the old :bold and :italic attributes.
8056
8057 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
8058 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
8059 (ebrowse-member-class, ebrowse-progress): Likewise.
8060 (ebrowse-tree-mark-face, ebrowse-root-class-face)
8061 (ebrowse-file-name-face, ebrowse-default-face)
8062 (ebrowse-member-attribute-face, ebrowse-member-class-face)
8063 (ebrowse-progress-face): Remove obsolete faces.
8064
8065 * progmodes/flymake.el (flymake-errline, flymake-warnline):
8066 Inherit from error and warning faces respectively.
8067
8068 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
8069 Likewise.
8070 (flyspell-incorrect-face, flyspell-duplicate-face):
8071 Remove obsolete aliases.
8072
8073 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
8074
8075 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8076 Avoid infloop.
8077
8078 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8079
8080 * startup.el (argv, argi): Make lexically scoped.
8081 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
8082 * emacs-lisp/cl-macs.el: Use lexical-binding.
8083 Rename cl-bind-* to cl--bind-*.
8084 * files.el: Don't require `cl' since it doesn't use it.
8085 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
8086
8087 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
8088
8089 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
8090 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
8091 instead of calling external sort utility.
8092 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
8093
8094 2012-06-08 Eli Zaretskii <eliz@gnu.org>
8095
8096 * descr-text.el (describe-char): Mention how to insert the
8097 character, if the current input method doesn't support it.
8098 See the discussion in this thread for the details:
8099 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8100
8101 2012-06-08 Sam Steingold <sds@gnu.org>
8102
8103 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8104 XF86Back to previous-buffer.
8105 (minibuffer-local-map): Bind them to next-history-element and
8106 previous-history-element respectively.
8107 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8108 help-go-back respectively.
8109 * info.el (Info-mode-map): Bind them to Info-history-forward and
8110 Info-history-back respectively.
8111 These are the keys next to Up on the ThinkPad keyboard.
8112
8113 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8114
8115 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8116 * emacs-lisp/cl-macs.el: Provide itself.
8117 (cl--labels-convert-cache): New var.
8118 (cl--labels-convert): New function.
8119 (cl-flet, cl-labels): New implementation with new semantics, relying on
8120 lexical-binding.
8121 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8122 (cl-closure-vars, cl--function-convert-cache)
8123 (cl--function-convert): Move from cl-macs.el.
8124 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8125 rename by removing the "cl-" prefix.
8126 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8127
8128 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8131 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8132 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8133 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8134 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8135 (cl-hash-table-count): Add old compatibility aliases.
8136
8137 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8138 Use macroexpand-all-environment instead.
8139 (cl--old-macroexpand): New var.
8140 (cl--sm-macroexpand): New function.
8141 (cl-symbol-macrolet): Use it during macro expansion.
8142 (cl--function-convert-cache): New var.
8143 (cl--function-convert): New function, extracted from
8144 cl-macroexpand-all.
8145 (cl-lexical-let): Use it.
8146
8147 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8148 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8149 (cl-member): Remove old alias.
8150
8151 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8152 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8153 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8154 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8155 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8156 (cl-macroexpand-cmacs): Remove var.
8157 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8158 Use macroexpand-all instead.
8159
8160 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8161
8162 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8163 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8164 (macroexp-copyable-p): New functions and macros.
8165 * emacs-lisp/edebug.el (edebug-unwrap):
8166 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8167 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8168 (pcase--let*): Remove.
8169 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8170 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8171 macroexp-const-p instead.
8172 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8173
8174 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8175 instead of "cl-" for internal definitions. Use macroexp-const-p.
8176 (cl-old-bc-file-form): Remove var.
8177 (cl-const-exprs-p): Remove fun.
8178 (cl-labels, cl-macrolet): Use backquote.
8179 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8180 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8181 (cl-define-setf-expander): Rename from cl-define-setf-method.
8182 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8183
8184 * international/mule-cmds.el: Don't require CL.
8185 (view-hello-file): Don't use `letf'.
8186
8187 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8188
8189 * tmm.el (tmm-prompt): Use string-prefix-p.
8190 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8191 (tmm-add-prompt): Use minibuffer-completion-help.
8192 (tmm-delete-map): Remove.
8193
8194 * subr.el (kbd): Make it its own function.
8195
8196 2012-06-07 Stefan Merten <smerten@oekonux.de>
8197
8198 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8199 Silence compiler warnings. Fix versions.
8200 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8201 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8202 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8203 (rst-package-emacs-version-alist): Correct Emacs version to
8204 represent major merge with upstream.
8205 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8206
8207 2012-06-06 Glenn Morris <rgm@gnu.org>
8208
8209 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8210 Only print environment variables if set.
8211
8212 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8215 (macroexp--cons): Rename from maybe-cons.
8216 (macroexp--accumulate): Rename from macroexp-accumulate.
8217 (macroexp--all-forms): Rename from macroexpand-all-forms.
8218 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8219 (macroexp--expand-all): Rename from macroexpand-all-1.
8220
8221 2012-06-06 Sam Steingold <sds@gnu.org>
8222
8223 * calendar/calendar.el (calendar-in-read-only-buffer):
8224 Call `special-mode' to enable the standard read-only keybindings.
8225
8226 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8227
8228 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8229 with "loading" messages (bug#11635).
8230
8231 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8232
8233 * files.el (enable-remote-dir-locals): New option.
8234 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8235
8236 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8237 Ensure, that the temp directory is local.
8238
8239 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8240 `temporary-file-directory'.
8241
8242 * progmodes/python.el (python-send-region): Ensure, that the
8243 temporary file is created also in the remote case.
8244
8245 2012-06-06 Glenn Morris <rgm@gnu.org>
8246
8247 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8248 (vc-rcs-update-changelog): Use it.
8249
8250 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8251
8252 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8253 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8254 (vc-sccs-diff): Replace use of the external vcdiff script.
8255
8256 2012-06-05 Glenn Morris <rgm@gnu.org>
8257
8258 * ledit.el: Move to obsolete/.
8259
8260 2012-06-05 Sam Steingold <sds@gnu.org>
8261
8262 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8263 patch (Bug#11140).
8264
8265 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * emacs-lisp/cust-print.el: Move to obsolete.
8268
8269 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8270 compiler-macro expansion.
8271
8272 Add native compiler-macro support.
8273 * emacs-lisp/macroexp.el (macroexpand-all-1):
8274 Support compiler-macros directly. Properly follow aliases and apply
8275 the compiler macros more thoroughly.
8276 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8277 macroexpand now properly follows aliases.
8278 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8279 (cl-compiler-macroexpand): Use new prop.
8280 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8281
8282 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8283
8284 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8285
8286 * window.el (get-lru-window, get-mru-window, get-largest-window):
8287 New argument NOT-SELECTED to avoid picking the selected window.
8288 (window--display-buffer-1, window--display-buffer-2): Replace by
8289 new function window--display-buffer
8290 (display-buffer-same-window, display-buffer-reuse-window)
8291 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8292 Use window--display-buffer.
8293 (display-buffer-use-some-window): Remove temporary dedication
8294 hack by calling get-lru-window and get-largest-window with
8295 NOT-SELECTED argument non-nil. Call window--display-buffer.
8296
8297 2012-06-05 Glenn Morris <rgm@gnu.org>
8298
8299 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8300 Replace external vcdiff script.
8301
8302 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8303
8304 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8305
8306 2012-06-04 Chong Yidong <cyd@gnu.org>
8307
8308 * image.el (imagemagick-types-inhibit): Revert last change.
8309 Add INFO and M.
8310 (imagemagick-enabled-types): Remove CIN and EPS*.
8311
8312 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8313
8314 * emacs-lisp/cl-lib.el: Rename from cl.el.
8315 * emacs-lisp/cl.el: New compatibility file.
8316 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8317 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8318 to obey the "cl-" prefix.
8319 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8320
8321 2012-06-03 Glenn Morris <rgm@gnu.org>
8322
8323 * emacs-lisp/authors.el (authors-aliases): Addition.
8324
8325 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8326 Fix :version.
8327
8328 2012-06-03 Stefan Merten <smerten@oekonux.de>
8329
8330 * textmodes/rst.el: Add comments.
8331 (rst-transition, rst-adornment): New faces.
8332 (rst-adornment-faces-alist): Make default safe to reevaluate.
8333 Fixes
8334 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8335 Improve customization tags.
8336 (rst-define-level-faces): Clarify meaning.
8337
8338 2012-06-03 Chong Yidong <cyd@gnu.org>
8339
8340 * progmodes/compile.el (compilation-mode-line-fail)
8341 (compilation-mode-line-run, compilation-mode-line-exit):
8342 New faces.
8343 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8344
8345 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8346
8347 * progmodes/which-func.el (which-func-update-ediff-windows):
8348 New function. Use it in ediff-select-hook (Bug#11478).
8349
8350 2012-06-03 Chong Yidong <cyd@gnu.org>
8351
8352 * bindings.el: Remove explicit help text from format-mode-line.
8353 It is now supplied by mode-line-default-help-echo.
8354 (mode-line-front-space, mode-line-end-spaces)
8355 (mode-line-misc-info): New variables.
8356 (mode-line-modes, mode-line-position): Move the default value to
8357 the variable definition.
8358 (mode-line-default-help-echo): New defcustom.
8359 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8360 (mode-line-modified-help-echo): New functions.
8361 (mode-line-mule-info, mode-line-modified): Use them.
8362 (mode-line-eol-desc, propertized-buffer-identification):
8363 Consistency fixes for help text.
8364 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8365 set-buffer-file-coding-system (Bug#289).
8366 (mode-line-mule-info-help-echo): Update help text.
8367
8368 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8369
8370 * simple.el (execute-extended-command): Set real-this-command
8371 (bug#11506).
8372
8373 2012-06-02 Chong Yidong <cyd@gnu.org>
8374
8375 Remove incorrect uses of "modeline" in comments, docstrings, and
8376 function/variable names (Bug#10329).
8377
8378 * cus-edit.el (mode-line):
8379 * dframe.el (dframe-mouse-hscroll):
8380 * emacs-lisp/re-builder.el:
8381 * emacs-lisp/easy-mmode.el (define-minor-mode):
8382 * frame.el (set-frame-name):
8383 * help.el (lookup-minor-mode-from-indicator):
8384 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8385 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8386 (c-toggle-hungry-state):
8387 * progmodes/antlr-mode.el (antlr-language-alist):
8388 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8389 * progmodes/vhdl-mode.el (vhdl-mode):
8390 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8391 * term/ns-win.el (ns-face-at-pos):
8392 * term/sup-mouse.el (sup-mouse-report):
8393 * textmodes/flyspell.el (flyspell-mode-line-string):
8394 * textmodes/ispell.el (ispell-highlight-face):
8395 * textmodes/reftex-global.el:
8396 * vc/vc-arch.el (vc-arch-mode-line-string):
8397 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8398 * vc/vc-git.el (vc-git-mode-line-string):
8399 * vc/vc-hooks.el (vc-display-status)
8400 (vc-default-mode-line-string):
8401 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8402
8403 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8404
8405 * dired.el (dired-sort-set-mode-line): Rename from
8406 dired-sort-set-modeline. All callers changed.
8407
8408 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8409 eshell-status-in-modeline.
8410
8411 * foldout.el (foldout-mode-line-string): Rename from
8412 foldout-modeline-string. All callers changed.
8413 (foldout-update-mode-line): Rename from foldout-update-modeline.
8414
8415 * subr.el (redraw-modeline): Make into obsolete alias.
8416
8417 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8418 timeclock-modeline-display. Make old name an alias.
8419 (timeclock-update-mode-line): Likewise. All callers changed.
8420 (timeclock-mode-line-display): No need to check before using
8421 add-hook.
8422 (timeclock-relative, timeclock-day-over-hook)
8423 (timeclock-use-elapsed, timeclock-mode-string)
8424 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8425
8426 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8427 crisp-mode-modeline-string.
8428
8429 * play/solitaire.el (solitaire-build-mode-line): Rename from
8430 solitaire-build-modeline. All callers changed.
8431
8432 * play/zone.el (zone-hiding-mode-line): Rename from
8433 zone-hiding-modeline. All callers changed.
8434 (zone): Remove unusued `modeline-hidden-level' property.
8435
8436 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8437 xscheme-modeline-initialize. All callers changed.
8438
8439 * strokes.el (strokes-lighter): Rename from
8440 strokes-modeline-string.
8441
8442 * textmodes/sgml-mode.el (html-face-tag-alist)
8443 (html-tag-face-alist): Use mode-line face instead of obsolete
8444 alias modeline.
8445
8446 2012-06-02 Stefan Merten <smerten@oekonux.de>
8447
8448 * textmodes/rst.el: Always require `cl'.
8449 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8450
8451 2012-06-02 Chong Yidong <cyd@gnu.org>
8452
8453 * image.el (imagemagick-enabled-types): Rename from
8454 imagemagick-types-enable. Add many more types.
8455 (imagemagick-types-inhibit): Change default to nil.
8456 (imagemagick-filter-types): Caller changed.
8457
8458 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8459
8460 * emacs-lisp/cl-macs.el: Use backquotes.
8461 (cl-transform-function-property): Use eval-and-compile rather than
8462 abusing `require'.
8463 (defstruct): Use declare-function instead of with-no-warnings.
8464
8465 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8466 (byte-compile-output-docform): Re-add the print-circle bindings.
8467 (byte-compile-fix-header): Use #$ just because it's shorter.
8468 (byte-compile-output-file-form): Remove defun/defmacro.
8469
8470 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8471
8472 * simple.el (choose-completion): Remove now obsolete binding for
8473 owindow.
8474
8475 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8476
8477 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8478 in order to avoid "Stack overflow in regexp matcher".
8479
8480 2012-05-31 Glenn Morris <rgm@gnu.org>
8481
8482 * image.el: For clarity, call imagemagick-register-types at
8483 top-level, rather than relying on a custom :initialize.
8484 (imagemagick-types-enable): New option. (Bug#11557)
8485 (imagemagick-filter-types): New function. (Bug#7406)
8486 (imagemagick-register-types): Use imagemagick-filter-types.
8487 If disabling support, remove elements altogether rather
8488 than using an impossible regexp.
8489 (imagemagick-types-inhibit): Give it the default init function.
8490
8491 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8492
8493 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8494 Handle arbitrary file name lengths (Bug#11585).
8495
8496 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8497
8498 * desktop.el (desktop-read): Clear previous and next buffers for
8499 all windows and bury *Messages* buffer (bug#11556).
8500
8501 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 Add `declare' for `defun'. Align `defmacro's with it.
8504 * emacs-lisp/easy-mmode.el (define-minor-mode)
8505 (define-globalized-minor-mode): Don't autoload the var definitions.
8506 * emacs-lisp/byte-run.el: Use lexical-binding.
8507 (defun-declarations-alist, macro-declarations-alist): New vars.
8508 (defmacro, defun): Use them.
8509 (make-obsolete, define-obsolete-function-alias)
8510 (make-obsolete-variable, define-obsolete-variable-alias):
8511 Use `declare'.
8512 (macro-declaration-function): Mark obsolete.
8513 * emacs-lisp/autoload.el: Use lexical-binding.
8514 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8515
8516 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8517
8518 * textmodes/ispell.el (ispell-with-no-warnings):
8519 Define as a macro.
8520 (ispell-kill-ispell, ispell-change-dictionary):
8521 Use `called-interactively-p' for Emacs instead of obsolete
8522 `interactive-p'.
8523
8524 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8525
8526 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8527 (macro-declaration-function): Move var from C code.
8528 (macro-declaration-function): Define function with defalias.
8529 * emacs-lisp/macroexp.el (macroexpand-all-1):
8530 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8531 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8532 defun/defmacro any more.
8533 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8534 Provide fallback for unknown arglist.
8535 (byte-compile-arglist-warn): Change calling convention.
8536 (byte-compile-output-file-form): Move print-vars binding.
8537 (byte-compile-output-docform): Simplify accordingly.
8538 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8539 (byte-compile-defmacro-declaration): Remove.
8540 (byte-compile-file-form-defmumble): Generalize to defalias.
8541 (byte-compile-output-as-comment): Return byte-positions.
8542 Simplify callers accordingly.
8543 (byte-compile-lambda): Use `assert'.
8544 (byte-compile-defun, byte-compile-defmacro): Remove.
8545 (byte-compile-file-form-defalias):
8546 Use byte-compile-file-form-defmumble.
8547 (byte-compile-defalias-warn): Remove.
8548
8549 2012-05-29 Stefan Merten <smerten@oekonux.de>
8550
8551 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8552 possible. Fix authors. Improve comments. Improve loading of `cl'.
8553
8554 (rst-mode-abbrev-table): Merge definition.
8555 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8556 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8557
8558 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8559
8560 * calendar/icalendar.el
8561 (icalendar-export-region): Export UID properly.
8562
8563 2012-05-29 Leo Liu <sdl.web@gmail.com>
8564 * calendar/icalendar.el (icalendar-import-format):
8565 Add `icalendar-import-format-uid' (Bug#11525).
8566 (icalendar-import-format-uid): New.
8567 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8568 Export UID.
8569
8570 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8571
8572 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8573 different alternative patterns.
8574 (pcase-codegen): Be more careful to preserve identity.
8575 (pcase--u1): Don't forget to mark vars as used.
8576
8577 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8578 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8579 (byte-compile-from-buffer): ...rather than here.
8580
8581 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8582 functions from byte-compile-function-environment.
8583
8584 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8585
8586 * window.el (window-deletable-p): Avoid deleting the root window
8587 of a frame with an active minibuffer.
8588
8589 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8590
8591 * simple.el (choose-completion): Use quit-window (Bug#11567).
8592
8593 2012-05-29 Chong Yidong <cyd@gnu.org>
8594
8595 * whitespace.el (whitespace-cleanup): Fix usage of
8596 whitespace-empty-at-bob-regexp (Bug#11492).
8597
8598 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8599
8600 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8601 revert (Bug#11488).
8602
8603 2012-05-29 Juri Linkov <juri@jurta.org>
8604
8605 * isearch.el (isearch-mode-map): Bind `M-s _' to
8606 `isearch-toggle-symbol'. Bind `M-s c' to
8607 `isearch-toggle-case-fold'.
8608 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8609 (isearch-forward): Add `M-s _' to the docstring.
8610 (isearch-forward-symbol, isearch-toggle-case-fold)
8611 (isearch-symbol-regexp): New functions. (Bug#11381)
8612
8613 2012-05-29 Juri Linkov <juri@jurta.org>
8614
8615 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8616 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8617 a function, call it to get the regexp.
8618 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8619 property `isearch-message-prefix' instead of the string "word ".
8620 (isearch-search-fun-default): For the case of `isearch-word',
8621 return a lambda that calls re-search-forward/re-search-backward
8622 with a regexp returned by `word-search-regexp' or by the function
8623 in `isearch-word'.
8624
8625 2012-05-29 Juri Linkov <juri@jurta.org>
8626
8627 * isearch.el (isearch-search-fun-default): New function.
8628 (isearch-search-fun): Move default part to the new function
8629 `isearch-search-fun-default'.
8630 (isearch-search-fun-function): Set the default value to
8631 `isearch-search-fun-default'. (Bug#11381)
8632
8633 * comint.el (comint-history-isearch-end):
8634 Use `isearch-search-fun-default'.
8635 (comint-history-isearch-search): Use `isearch-search-fun-default'
8636 and remove spacial case for `isearch-word'.
8637 (comint-history-isearch-wrap): Remove spacial case for
8638 `isearch-word'.
8639
8640 * hexl.el (hexl-isearch-search-function):
8641 Use `isearch-search-fun-default'.
8642
8643 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8644 Use `word-search-regexp' for `isearch-word'.
8645
8646 * misearch.el (multi-isearch-search-fun):
8647 Use `isearch-search-fun-default'.
8648
8649 * simple.el (minibuffer-history-isearch-search):
8650 Use `isearch-search-fun-default' and remove spacial case for
8651 `isearch-word'.
8652 (minibuffer-history-isearch-wrap): Remove spacial case for
8653 `isearch-word'.
8654
8655 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8656 Remove spacial case for `isearch-word'.
8657 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8658
8659 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8660
8661 Decrease XEmacs incompatibilities.
8662 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8663 Use `string-match'.
8664 (flyspell-delete-region-overlays): Use alternative definition for
8665 XEmacs.
8666 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8667 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8668 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8669 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8670 `define-obsolete-face-alias' under XEmacs, but old method.
8671
8672 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8673 `with-no-warnings' definition or Emacs alias.
8674 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8675 (ispell-word): Do not use `region-p' if XEmacs.
8676
8677 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8678
8679 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8680 Check for `ispell-dictionary-base-alist' instead of full
8681 `ispell-dictionary-alist'.
8682 (ispell-init-process): Show spellchecker when starting new Ispell
8683 process.
8684
8685 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8686
8687 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8688 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8689
8690 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8691
8692 * version.el (motif-version-string, gtk-version-string)
8693 (ns-version-string): Declare.
8694
8695 2012-05-27 Juri Linkov <juri@jurta.org>
8696
8697 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8698 after the `eval-defun-1' specialcaseing
8699 like in `edebug-eval-defun' (bug#10181).
8700
8701 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8702 like in `eval-defun-1'.
8703
8704 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8705
8706 * mail/sendmail.el (mail-yank-region):
8707 Recognize rmail-yank-current-message in addition to insert-buffer.
8708 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8709 a *mail* buffer created through rmail-start-mail with sendmail as
8710 mail-user-agent.
8711
8712 2012-05-27 Chong Yidong <cyd@gnu.org>
8713
8714 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8715 Default to 256 (Bug#11267).
8716
8717 * help.el (describe-mode): Doc fix.
8718
8719 2012-05-26 Glenn Morris <rgm@gnu.org>
8720
8721 * w32-fns.el (w32-init-info): Remove.
8722 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8723
8724 * info.el (info-initialize): For self-contained NS builds, put the
8725 included info/ directory at the front. (Bug#2791)
8726
8727 * paths.el (Info-default-directory-list): Make it a defcustom,
8728 mainly so that we can use custom-initialize-delay.
8729
8730 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8731
8732 * subr.el (buffer-has-markers-at): Mark obsolete.
8733
8734 * subr.el (lambda): Use declare.
8735
8736 * emacs-lisp/lisp-mode.el (lambda):
8737 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8738
8739 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8740
8741 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8742
8743 2012-05-26 Glenn Morris <rgm@gnu.org>
8744
8745 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8746
8747 2012-05-25 Glenn Morris <rgm@gnu.org>
8748
8749 * paths.el: Remove no-byte-compile.
8750 * loadup.el: No need to load paths.el uncompiled.
8751
8752 * image.el (imagemagick-types-inhibit): Doc fix.
8753
8754 * version.el: Remove no-byte-compile and associated formatting.
8755 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8756 is ancient code from when there was an "inc-vers.el".
8757
8758 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8759
8760 * progmodes/gdb-mi.el: Minor style changes.
8761 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8762 Turn into minor modes.
8763 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8764 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8765 (gdb-shell): Remove unneeded let-binding.
8766 (gdb-get-many-fields): Eliminate O(n²) behavior.
8767
8768 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8769
8770 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8771 platforms that don't link in fontset.c.
8772
8773 2012-05-25 Juri Linkov <juri@jurta.org>
8774
8775 Use the same diff color scheme as in modern VCSes (bug#10181).
8776
8777 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8778 to avoid confusion with `diff-added' that now uses green colors.
8779 (diff-removed): Use shades of red.
8780 (diff-added): Use shades of green.
8781 (diff-changed): Leave just the yellow color.
8782 (diff-use-changed-face): New variable.
8783 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8784 how to highlight context diff changes.
8785 (diff-refine-change): Use shades of yellow.
8786 (diff-refine-removed): New face that uses shades of red.
8787 (diff-refine-added): New face that uses shades of green.
8788 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8789 `diff-refine-removed' in the call to `smerge-refine-subst'
8790 depending on the value of `diff-use-changed-face'.
8791
8792 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8793 (smerge-other): Use shades of green.
8794 (smerge-base): Use shades of yellow.
8795 (smerge-refined-change): Empty face.
8796 (smerge-refined-removed): New face that uses shades of red.
8797 (smerge-refined-added): New face that uses shades of green.
8798 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8799 args `props-r' and `props-a', and use them. Doc fix.
8800 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8801 on its value use different faces `smerge-refined-change',
8802 `smerge-refined-removed', `smerge-refined-added' in the call to
8803 `smerge-refine-subst'.
8804
8805 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8806 Add face condition `min-colors 88' with shades of red.
8807 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8808 `min-colors 88' with shades of green.
8809 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8810 `min-colors 88' with shades of yellow.
8811
8812 2012-05-24 Glenn Morris <rgm@gnu.org>
8813
8814 * paths.el (prune-directory-list, remote-shell-program): Move to...
8815 * files.el (prune-directory-list, remote-shell-program): ...here.
8816 For the latter, delay initialization, prefer ssh, just search PATH.
8817
8818 * paths.el (term-file-prefix): Move to faces.el (the only user).
8819 * faces.el (term-file-prefix): Move here, make it a defcustom.
8820
8821 * paths.el (news-directory, news-path, news-inews-program):
8822 Move to gnus/nnspool.el.
8823
8824 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8825
8826 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8827 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8828 Make the latter a defcustom, with a delayed initialization.
8829
8830 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8831 These were deleted from Gnus itself late 2010.
8832
8833 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8834
8835 * progmodes/which-func.el (which-func-ff-hook):
8836 Check against user-error, not error.
8837
8838 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8839 cl-specs.el, which no longer exists.
8840
8841 2012-05-22 Glenn Morris <rgm@gnu.org>
8842
8843 * info.el (info-emacs-bug): New command.
8844 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8845 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8846
8847 2012-05-21 Glenn Morris <rgm@gnu.org>
8848
8849 * makefile.w32-in (update-subdirs-SH):
8850 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8851
8852 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8855
8856 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8857 Simplify Maven regexp, and make sure the file can't start with a space
8858 (bug#11517).
8859
8860 2012-05-21 Glenn Morris <rgm@gnu.org>
8861
8862 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8863 Scrap superfluous subshells.
8864
8865 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8868 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8869
8870 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8871
8872 * calc/calc.el (calc-ensure-consistent-units): New variable.
8873
8874 * calc/calc-units.el (math-consistent-units-p)
8875 (math-check-unit-consistency): New functions.
8876 (calc-quick-units, calc-convert-units):
8877 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8878 is non-nil.
8879 (calc-extract-units): Fix typo.
8880
8881 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8884
8885 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8886 (flyspell-default-deplacement-commands): Don't spell check after
8887 repeated window/frame switches (e.g. triggered by mouse-movement).
8888 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8889 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8890 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8891 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8892 Remove unused vars.
8893 (flyspell-get-casechars, flyspell-get-not-casechars):
8894 Simplify; Don't bother removing a ] just to add it back.
8895 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8896
8897 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8898
8899 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8900 New functions.
8901 (math-function-table): Add support for more C functions.
8902
8903 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8904
8905 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8906 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8907 Protect delay handling for otherchars against empty otherchars.
8908
8909 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8910
8911 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8912 their respective macro declarations.
8913 * skeleton.el (define-skeleton):
8914 * progmodes/compile.el (define-compilation-mode):
8915 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8916 (define-ibuffer-filter):
8917 * emacs-lisp/generic.el (define-generic-mode):
8918 * emacs-lisp/easy-mmode.el (define-minor-mode)
8919 (define-globalized-minor-mode):
8920 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8921 * emacs-lisp/byte-run.el (defsubst):
8922 * custom.el (deftheme): Add doc-string metadata.
8923
8924 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8927
8928 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8929
8930 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8931
8932 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8933 * emacs-lisp/cl-macs.el: Idem.
8934 * emacs-lisp/cl-specs.el: Remove.
8935
8936 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8937
8938 Minor renaming of internal CL functions and variables.
8939 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8940 (cl--position): Rename from cl-position.
8941 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8942 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8943 (cl--random-state): Rename from *random-state*.
8944
8945 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8946
8947 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8948 parens around the arg list (bug#11499).
8949
8950 2012-05-17 Juri Linkov <juri@jurta.org>
8951
8952 * isearch.el (word-search-regexp, word-search-backward)
8953 (word-search-forward, word-search-backward-lax)
8954 (word-search-forward-lax): Move functions from search.c
8955 (bug#10145, bug#11381).
8956
8957 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8958
8959 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8960 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8961 Delay for otherchars as for normal word components.
8962
8963 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8964
8965 * minibuffer.el (completion--sifn-requote): Fix last change.
8966 (minibuffer-local-must-match-filename-map):
8967 Move define-obsolete-variable-alias before its var.
8968
8969 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8970
8971 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8972
8973 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8974 behavior.
8975 (completion--string-equal-p): New function.
8976 (completion--twq-all): Use it to get better assertion failure data.
8977
8978 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8979 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8980 (shell--requote-argument): New functions.
8981 (shell-completion-vars): Use them.
8982 (shell--parse-pcomplete-arguments): Rename from
8983 shell-parse-pcomplete-arguments.
8984 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8985 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8986 Obey comint-file-name-quote-list.
8987
8988 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8989 (smie-indent-keyword): Use it.
8990
8991 2012-05-14 Stefan Merten <smerten@oekonux.de>
8992
8993 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8994
8995 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8996
8997 * net/rlogin.el (rlogin-mode-map): Fix last change.
8998
8999 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
9000
9001 * mail/smtpmail.el (smtpmail-send-command): Send the command and
9002 the following \r\n using a single `process-send-string', since the
9003 Lotus SMTP server refuses to accept any commands if they are sent
9004 with two `process-send-string's (Bug#11444).
9005
9006 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
9007
9008 * shell.el (shell-parse-pcomplete-arguments):
9009 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
9010
9011 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9012
9013 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
9014 (image-transform-scale, image-transform-right-angle-fudge): New vars.
9015 (image-transform-width, image-transform-fit-width): New functions.
9016 (image-transform-properties): Use them.
9017 (image-transform-check-size): New function.
9018 (image-toggle-display-image): Use it (for testing).
9019 (image-transform-set-rotation): Reduce angle mod 360.
9020 Delete obsolete comment.
9021
9022 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
9023
9024 * image-mode.el: Fix scaling (bug#11399).
9025 (image-transform-resize): Doc fix.
9026 (image-transform-properties): Default scale is 1 and height should
9027 be an integer.
9028
9029 2012-05-13 Johan Bockgård <bojohan@gnu.org>
9030
9031 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
9032 than hard-coding `car', to fix misbehavior when moving forward.
9033
9034 2012-05-13 Chong Yidong <cyd@gnu.org>
9035
9036 * emacs-lisp/tabulated-list.el (tabulated-list-format)
9037 (tabulated-list-entries, tabulated-list-padding)
9038 (tabulated-list-sort-key): Make permanent-local.
9039
9040 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
9041 (electric-buffer-list): Put electric buffer menu
9042 command descriptions in this docstring, instead of the docstring
9043 of electric-buffer-menu-mode. Code cleanups.
9044 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
9045 Electric-buffer-menu-mode.
9046 (electric-buffer-update-highlight): Minor code cleanup.
9047
9048 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
9049
9050 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
9051 (Bug#11447)
9052
9053 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 Move define-obsolete-variable-alias before the var's definition.
9056 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
9057 * tooltip.el (tooltip-hook):
9058 * textmodes/reftex-toc.el (reftex-toc-map):
9059 * textmodes/reftex-sel.el (reftex-select-label-map)
9060 (reftex-select-bib-map):
9061 * textmodes/reftex-index.el (reftex-index-map)
9062 (reftex-index-phrases-map):
9063 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
9064 * progmodes/meta-mode.el (meta-mode-map):
9065 * novice.el (disabled-command-hook):
9066 * loadhist.el (unload-hook-features-list):
9067 * frame.el (blink-cursor):
9068 * files.el (find-file-not-found-hooks, write-file-hooks)
9069 (write-contents-hooks):
9070 * emulation/tpu-edt.el (GOLD-map):
9071 * emacs-lock.el (emacs-lock-from-exiting):
9072 * emacs-lisp/generic.el (generic-font-lock-defaults):
9073 * emacs-lisp/chart.el (chart-map):
9074 * dos-fns.el (register-name-alist):
9075 * dired-x.el (dired-omit-files-p):
9076 * desktop.el (desktop-enable):
9077 * cus-edit.el (custom-mode-hook):
9078 * buff-menu.el (buffer-menu-mode-hook):
9079 * bookmark.el (bookmark-read-annotation-text-func)
9080 (bookmark-exit-hooks):
9081 * allout.el (allout-mode-deactivate-hook)
9082 (allout-exposure-change-hook, allout-structure-added-hook)
9083 (allout-structure-deleted-hook, allout-structure-shifted-hook):
9084 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
9085 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
9086 comes before the corresponding variable's definition.
9087
9088 2012-05-12 Chong Yidong <cyd@gnu.org>
9089
9090 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
9091 (Buffer-menu-mouse-select): Restore function (Bug#11459).
9092 (Buffer-menu-mode-map): Bind it.
9093 (Buffer-menu--pretty-name): Add a mouse-face property.
9094
9095 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
9096
9097 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9098 (prolog-upper-case-string, prolog-lower-case-string)
9099 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9100 (prolog-use-smie, prolog-smie-grammar): New vars.
9101 (prolog-smie-forward-token, prolog-smie-backward-token)
9102 (prolog-smie-rules): New funs.
9103 (prolog-comment-indent): Remove.
9104 (prolog-mode-variables): Use default comment indentation instead.
9105 Setup SMIE.
9106 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9107 (prolog-mode): Don't call them any more.
9108 (prolog-electric-colon, prolog-electric-dash)
9109 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9110
9111 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9112
9113 * minibuffer.el (completion--twq-all): Again, allow case differences.
9114
9115 * term.el: Move keymap initialization code to be more idiomatic.
9116 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9117 (term-terminal-menu): Move initialization into declaration.
9118 (term-escape-char): Let the user set it in her .emacs.
9119
9120 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9121 Provide SMIE-based indentation (not enabled by default yet).
9122 (sh-mode-map): Don't bind electric keys.
9123 Use electric-pair-mode instead of skeleton-pair.
9124 (sh-assignment-regexp): Fit within 80 columns.
9125 (sh-indent-supported): Specify actual shell name instead of boolean.
9126 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9127 (sh-maybe-here-document): Use it. Make obsolete.
9128 (sh-electric-here-document-mode) New minor mode.
9129 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9130 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9131 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9132 (sh-smie-rc-grammar, sh-use-smie): New vars.
9133 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9134 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9135 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9136 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9137 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9138 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9139 (sh-set-shell): Use smie-setup if requested.
9140
9141 * term.el (term-set-escape-char): Properly set term-escape-char.
9142 See http://stackoverflow.com/questions/10524656.
9143
9144 2012-05-10 Chong Yidong <cyd@gnu.org>
9145
9146 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9147 Use url-generic-parse-url, and handle host names and Windows
9148 filenames properly.
9149 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9150 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9151 URL schemes to work on.
9152 (ffap--toggle-read-only): New function.
9153 (ffap-read-only, ffap-read-only-other-window)
9154 (ffap-read-only-other-frame): Use it.
9155 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9156 necessary for ffap-url-unwrap-remote.
9157
9158 2012-05-10 Dave Abrahams <dave@boostpro.com>
9159
9160 * cus-start.el (create-lockfiles): Add it.
9161
9162 2012-05-09 Chong Yidong <cyd@gnu.org>
9163
9164 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9165 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9166
9167 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9168
9169 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9170
9171 2012-05-09 Chong Yidong <cyd@gnu.org>
9172
9173 * ansi-color.el (ansi-color-process-output): Check for validity of
9174 comint-last-output-start before using it. This avoids a bad
9175 interaction with gdb-mi's input/output buffer.
9176
9177 2012-05-09 Glenn Morris <rgm@gnu.org>
9178
9179 * files.el (dir-locals-read-from-file):
9180 Mention dir-locals in any error message.
9181
9182 2012-05-09 Chong Yidong <cyd@gnu.org>
9183
9184 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9185 package (Bug#11410).
9186
9187 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9188 variables into description.
9189
9190 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9191
9192 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9193 shell-delimiter-argument-list (bug#11348).
9194 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9195
9196 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9197
9198 * textmodes/rst.el: Silence byte-compiler warnings.
9199 (rst-re-alist, rst-reset-section-caches): Move around.
9200 (rst-re): Use `characterp', not `char-valid-p'.
9201 (font-lock-beg, font-lock-end): Declare.
9202
9203 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9204 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9205
9206 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9207
9208 2012-05-08 Glenn Morris <rgm@gnu.org>
9209
9210 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9211
9212 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9213
9214 * vc/log-edit.el: Add GNU coding standards highlighting.
9215 (log-edit-font-lock-gnu-style)
9216 (log-edit-font-lock-gnu-keywords): New vars.
9217 (log-edit-font-lock-keywords): New fun.
9218 (log-edit-mode): Don't fold case in font-lock.
9219 (log-edit-font-lock-keywords): Do not assume case-folding.
9220
9221 * imenu.el: Misc cleanup. Make docstrings out of comments.
9222 Use lexical-binding.
9223 (imenu--index-alist, imenu--last-menubar-index-alist)
9224 (imenu-menubar-modified-tick): Use defvar-local.
9225 (imenu--split-menu): Remove unused var.
9226 (imenu--cleanup-seen): Declare as global.
9227 (imenu--cleanup): Use dolist.
9228
9229 * subr.el (defvar-local): Add debug spec and doc-string position.
9230
9231 2012-05-08 Glenn Morris <rgm@gnu.org>
9232
9233 * language/burmese.el, language/cham.el, language/czech.el:
9234 * language/english.el, language/georgian.el, language/greek.el:
9235 * language/japanese.el, language/khmer.el, language/korean.el:
9236 * language/lao.el, language/misc-lang.el, language/romanian.el:
9237 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9238 * language/thai.el, language/utf-8-lang.el:
9239 Remove no-byte-compile setting.
9240
9241 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9242
9243 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9244
9245 * progmodes/make-mode.el (makefile-browse):
9246 Remove unnecessary interactive. (Bug#11324)
9247
9248 2012-05-07 Glenn Morris <rgm@gnu.org>
9249
9250 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9251
9252 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9253
9254 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * loadup.el: Preload newcomment.el.
9257 * newcomment.el: Move autoload-only code to toplevel.
9258
9259 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9260 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9261 Handle new :right-align column property.
9262 (tabulated-list-print-col): Idem, plus use `display' text-property to
9263 try and preserve alignment for variable pitch fonts.
9264
9265 2012-05-07 Chong Yidong <cyd@gnu.org>
9266
9267 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9268 (tabulated-list-use-header-line): New var.
9269 (tabulated-list-init-header): Use it.
9270 (tabulated-list-print-fake-header): New function.
9271 (tabulated-list-print): Use it.
9272 (tabulated-list-sort-button-map): Add non-header-line commands.
9273 (tabulated-list-init-header): Add column name property to basic
9274 labels as well.
9275 (tabulated-list-col-sort): Handle non-header-line button case.
9276 (tabulated-list--sort-by-column-name): Fix a corner case.
9277
9278 * buff-menu.el (list-buffers--refresh):
9279 Handle Buffer-menu-use-header-line.
9280
9281 2012-05-06 Chong Yidong <cyd@gnu.org>
9282
9283 * buff-menu.el: Convert to Tabulated List mode.
9284 (Buffer-menu-buffer+size-width): Make obsolete.
9285 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9286 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9287 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9288 documentation into docstring of buffer-menu.
9289 (Buffer-menu-toggle-files-only): Add an informative message.
9290 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9291 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9292 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9293 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9294 (Buffer-menu-execute, Buffer-menu-select)
9295 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9296 (Buffer-menu-bury): Use Tabulated List machinery.
9297 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9298 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9299 Delete.
9300 (list-buffers--refresh): New function.
9301 (list-buffers-noselect): Use it.
9302 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9303 (Buffer-menu--pretty-file-name): New helper functions.
9304
9305 * loadup.el: Preload tabulated-list.
9306
9307 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9308 tabulated-list-sort-column.
9309 (tabulated-list-init-header): Add the initial aligning space even
9310 if tabulated-list-padding is zero.
9311
9312 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9313
9314 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9315 whose cdr is not a cons cell correctly (bug#11038).
9316
9317 2012-05-06 Chong Yidong <cyd@gnu.org>
9318
9319 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9320 Accept additional plist in column descriptors.
9321 (tabulated-list-init-header): Obey it.
9322 (tabulated-list-get-entry): New function.
9323 (tabulated-list-put-tag): Use it. Use string-width instead of
9324 length.
9325 (tabulated-list--column-number): New function.
9326 (tabulated-list-print): Use it.
9327 (tabulated-list-print-col): New function.
9328 Set `tabulated-list-column-name' property on each column's text.
9329 (tabulated-list-print-entry): Use it.
9330 (tabulated-list-delete-entry, tabulated-list-set-col):
9331 New functions.
9332 (tabulated-list-sort-column): New command (Bug#11337).
9333
9334 * buff-menu.el (list-buffers): Move C-x C-b binding from
9335 buff-menu.el to bindings.el.
9336
9337 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9338 :advertised-binding feature.
9339
9340 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9341
9342 * progmodes/compile.el (compilation-internal-error-properties):
9343 Calculate start position correctly when end-col is set but
9344 end-line is not (Bug#11382).
9345
9346 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9347
9348 * man.el (Man-unindent): Use text-property-default-nonsticky to
9349 prevent untabify from inheriting face properties (Bug#11408).
9350
9351 2012-05-05 Stefan Merten <smerten@oekonux.de>
9352
9353 * textmodes/rst.el: Major merge with upstream development up to
9354 Docutils SVN r7399 / rst.el V1.2.1.
9355
9356 Clarify maintainership and authors.
9357
9358 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9359 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9360 (rst-official-version, rst-official-cvs-rev, rst-version)
9361 (rst-package-emacs-version-alist): New functions and variables
9362 for version information.
9363
9364 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9365 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9366 (rst-mode-syntax-table, rst-mode): New and corrected functions
9367 and variables representing reStructuredText features.
9368
9369 (rst-re): New function for reStructuredText regexes. Use in
9370 many places.
9371
9372 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9373 (rst-mode-map): Rebind keys.
9374
9375 (rst-mode-lazy, rst-font-lock-keywords)
9376 (rst-font-lock-extend-region)
9377 (rst-font-lock-extend-region-internal)
9378 (rst-font-lock-extend-region-extend)
9379 (rst-font-lock-find-unindented-line-limit)
9380 (rst-font-lock-find-unindented-line-match)
9381 (rst-adornment-level, rst-font-lock-adornment-level)
9382 (rst-font-lock-adornment-match)
9383 (rst-font-lock-handle-adornment-pre-match-form)
9384 (rst-font-lock-handle-adornment-matcher): Major revision of
9385 font-locking. Integrate with other code. Use `jit-lock-mode'.
9386
9387 (rst-preferred-adornments, rst-adjust-hook)
9388 (rst-new-adornment-down, rst-preferred-bullets)
9389 (rst-preferred-bullets, rst-indent, rst-indent-width)
9390 (rst-indent-field, rst-indent-literal-normal)
9391 (rst-indent-literal-minimized, rst-indent-comment): Change,
9392 extend and improve customization.
9393
9394 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9395 (rst-normalize-cursor-position, rst-get-decoration)
9396 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9397 (rst-rstrip, rst-toc-insert-find-delete-contents)
9398 (rst-shift-fill-region, rst-compute-bullet-tabs)
9399 (rst-debug-print-tabs, rst-debug-mark-found)
9400 (rst-shift-region-guts, rst-shift-region-right)
9401 (rst-shift-region-left, rst-use-char-classes)
9402 (rst-font-lock-keywords-function)
9403 (rst-font-lock-indentation-point)
9404 (rst-font-lock-find-unindented-line-begin)
9405 (rst-font-lock-find-unindented-line-end)
9406 (rst-font-lock-find-unindented-line)
9407 (rst-font-lock-adornment-point, rst-font-lock-level)
9408 (rst-adornment-level-alist): Remove functions and variables.
9409
9410 (rst-compare-adornments, rst-get-adornment-match)
9411 (rst-suggest-new-adornment, rst-get-adornments-around)
9412 (rst-adornment-complete-p, rst-get-next-adornment)
9413 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9414 (rst-straighten-adornments): Standardize function names to
9415 use "adornment" instead of "decoration". Correct callers.
9416 Similar standardizing in many places.
9417
9418 (rst-update-section, rst-adjust, rst-promote-region)
9419 (rst-enumerate-region, rst-bullet-list-region)
9420 (rst-repeat-last-character): Correct use of `interactive'.
9421
9422 (rst-classify-adornment, rst-find-all-adornments)
9423 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9424 (rst-find-leftmost-column, rst-repeat-last-character):
9425 Refactor functions.
9426
9427 (rst-find-title-line, rst-reset-section-caches)
9428 (rst-get-adornments-around, rst-adjust-adornment-work)
9429 (rst-arabic-to-roman, rst-roman-to-arabic)
9430 (rst-insert-list-pos, rst-insert-list-new-item)
9431 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9432 New functions.
9433
9434 (rst-all-sections, rst-section-hierarchy)
9435 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9436 New variables.
9437
9438 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9439 configuration instead of only buffer. Change where necessary.
9440
9441 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9442 (rst-shift-region, rst-adaptive-fill): New functions for
9443 indentation and filling.
9444
9445 (rst-comment-line-break, rst-comment-indent)
9446 (rst-comment-insert-comment, rst-comment-region)
9447 (rst-uncomment-region): New functions for handling comments.
9448
9449 (rst-compile): Quote shell arguments.
9450
9451 (rst-compile-pdf-preview, rst-compile-slides-preview):
9452 Delete temporary files after use.
9453
9454 2012-05-05 Glenn Morris <rgm@gnu.org>
9455
9456 * calendar/cal-html.el: Optionally include holidays in the output.
9457 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9458 (cal-html-holidays): New option.
9459 (cal-html-css-default): Add holiday entry.
9460 (holiday-in-range): Autoload it.
9461 (cal-html-htmlify-entry): Add optional class argument.
9462 (cal-html-htmlify-list): Add optional holidays argument.
9463 (cal-html-insert-agenda-days): Include holidays in the output.
9464 (cal-html-one-month): Maybe include holidays.
9465
9466 * calendar/holidays.el (holiday-in-range):
9467 Move here from cal-tex-list-holidays.
9468 * calendar/cal-tex.el (cal-tex-list-holidays):
9469 Make it an obsolete alias for holiday-in-range. Update all callers.
9470
9471 2012-05-05 Chong Yidong <cyd@gnu.org>
9472
9473 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9474 Nextstep.
9475
9476 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9477
9478 * files.el (file-auto-mode-skip): New var.
9479 (set-auto-mode-1): Use it.
9480
9481 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9482
9483 * repeat.el: Use lexical-binding.
9484 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9485 (repeat-undo-count): Remove.
9486 (repeat):
9487 * progmodes/octave-mod.el (octave-abbrev-start):
9488 * progmodes/f90.el (f90-abbrev-start):
9489 * face-remap.el (text-scale-adjust):
9490 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9491
9492 * emacs-lisp/pcase.el (pcase--let*): New function.
9493 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9494 a bit more.
9495 (pcase--split-pred): Be more clever about ruling out overlap between
9496 a predicate and some constant pattern.
9497 (pcase--q1): Use `null' instead of (eq foo nil).
9498
9499 * subr.el (setq-local, defvar-local): New macros.
9500 (kbd): Redefine as an alias.
9501 (with-selected-window): Leave unrelated frames alone.
9502 (set-temporary-overlay-map): New function.
9503
9504 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * subr.el (user-error): New function.
9507 * window.el (switch-to-buffer):
9508 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9509 (smerge-match-conflict):
9510 * simple.el (previous-matching-history-element)
9511 (next-matching-history-element, goto-history-element, undo-more)
9512 (undo-start):
9513 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9514 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9515 (next-file, tags-loop-scan, list-tags, complete-tag):
9516 * progmodes/compile.el (compilation-loop):
9517 * mouse.el (mouse-minibuffer-check):
9518 * man.el (Man-bgproc-sentinel, Man-goto-page):
9519 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9520 (Info-history-forward, Info-follow-reference, Info-menu)
9521 (Info-extract-menu-item, Info-extract-menu-counting)
9522 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9523 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9524 (Info-next-reference, Info-prev-reference, Info-index)
9525 (Info-index-next, Info-follow-nearest-node)
9526 (Info-copy-current-node-name):
9527 * imenu.el (imenu--make-index-alist)
9528 (imenu-default-create-index-function, imenu-add-to-menubar):
9529 * files.el (basic-save-buffer, recover-file):
9530 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9531 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9532 (checkdoc-message-text, checkdoc-defun):
9533 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9534 * cus-edit.el (customize-changed-options, customize-rogue)
9535 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9536 (custom-variable-mark-to-reset-standard)
9537 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9538 (custom-file):
9539 * completion.el (check-completion-length):
9540 * comint.el (comint-search-arg)
9541 (comint-previous-matching-input-string-position)
9542 (comint-previous-matching-input)
9543 (comint-replace-by-expanded-history-before-point, comint-send-input)
9544 (comint-copy-old-input, comint-backward-matching-input)
9545 (comint-goto-process-mark, comint-set-process-mark):
9546 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9547 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9548
9549 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9550
9551 * dabbrev.el (dabbrev--ignore-case-p): New function.
9552 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9553 Use it.
9554
9555 * files.el (automount-dir-prefix): Mark as obsolete.
9556
9557 2012-05-04 Glenn Morris <rgm@gnu.org>
9558
9559 * patcomp.el, play/bruce.el: Move to obsolete/.
9560
9561 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9562
9563 Fix minor Y10k bugs.
9564 * arc-mode.el (archive-unixdate):
9565 * autoinsert.el (auto-insert-alist):
9566 * calc/calc-forms.el (math-this-year):
9567 * emacs-lisp/copyright.el (copyright-current-year)
9568 (copyright-update-year, copyright):
9569 * tar-mode.el (tar-clip-time-string):
9570 * time.el (display-time-update):
9571 Don't assume years have 4 digits.
9572
9573 2012-05-04 Chong Yidong <cyd@gnu.org>
9574
9575 * dos-w32.el (file-name-buffer-file-type-alist)
9576 (direct-print-region-use-command-dot-com):
9577 * ffap.el (ffap-menu-regexp):
9578 * find-file.el (ff-special-constructs):
9579 * follow.el (follow-debug):
9580 * forms.el (forms--debug):
9581 * iswitchb.el (iswitchb-all-frames):
9582 * ido.el (ido-all-frames):
9583 * emacs-lisp/timer.el (timer-max-repeats):
9584 * mail/feedmail.el (feedmail-mail-send-hook)
9585 (feedmail-mail-send-hook-queued):
9586 * mail/footnote.el (footnote-signature-separator):
9587 * mail/mailabbrev.el (mail-alias-separator-string)
9588 (mail-abbrev-mode-regexp):
9589 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9590 * progmodes/idlwave.el (idlwave-libinfo-file)
9591 (idlwave-default-completion-case-is-down)
9592 (idlwave-library-routines): Convert defvars to defcustoms.
9593
9594 * mail/rmail.el (rmail-decode-mime-charset):
9595 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9596 (idlwave-shell-fix-inserted-breaks)
9597 (idlwave-shell-activate-alt-keybindings)
9598 (idlwave-shell-use-breakpoint-glyph):
9599 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9600
9601 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9604
9605 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9606
9607 * progmodes/verilog-mode.el (font-lock-keywords):
9608 Fix mis-highligting auto. Reported by Craig Barner.
9609 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9610 defines from global name space. Reported by Dan Dever.
9611 (verilog-auto-reset, verilog-auto-reset-widths)
9612 (verilog-auto-tieoff): Support using unbased numbers for
9613 AUTORESET and AUTOTIEOFF.
9614 (verilog-submit-bug-report): Update variable list.
9615 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9616 parenthesis from not matching. Reported by Michael Rytting.
9617 (verilog-auto-template-lint): Fix hash error when linting modules
9618 with no used templates.
9619 (verilog-warn, verilog-warn-error)
9620 (verilog-warn-fatal): When non-interactive report multiple
9621 warnings before exiting. Suggested by Brad Dobbie.
9622 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9623 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9624 to report unused template errors. Reported by Brad Dobbie.
9625 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9626 nets, bug438. Reported by Vns Blore.
9627 (verilog-auto-inout-module, verilog-auto-reg)
9628 (verilog-read-decls, verilog-read-sub-decls-sig)
9629 (verilog-signals-edit-wire-reg, verilog-signals-with):
9630 Fix passing of Verilog data types in ANSI input/output ports
9631 such as "output logic" into the AUTOs. Special case "wire" and
9632 "reg" for backwards compatibility presuming Verilog 2001.
9633 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9634 (verilog-preprocess): Fix replication of preprocess output.
9635 Reported by Brad Dobbie.
9636 (verilog-auto-inst-interfaced-ports):
9637 Create verilog-auto-inst-interfaced-ports, bug429.
9638 Reported by Julian Gorfajn.
9639 (verilog-after-save-font-hook)
9640 (verilog-before-save-font-hook): New variable.
9641 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9642 (verilog-save-font-mods): Wrap disabling fontification, reported
9643 by David Rogoff.
9644 (verilog-do-indent, verilog-pretty-declarations-auto)
9645 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9646 Reported by Pierre-David Pfister.
9647 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9648 of class declarations, bug292. Reported by Kevin Heilman.
9649 (verilog-read-decls): Fix 'parameter type' not appearing in
9650 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9651 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9652 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9653 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9654 Reported by David Kravitz.
9655
9656 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9657
9658 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9659 assignment with tests in ifs and for loops.
9660 (verilog-extended-complete-re, verilog-complete-reg): Change so
9661 that DPI inport functions don't look like fuction declarations.
9662 (verilog-pretty-expr): Don't line up assignment
9663 operations to the test and increment in if and for loops
9664 (verilog-extended-complete-re, verilog-complete-reg): Change so
9665 that DPI inport functions don't look like fuction declarations.
9666
9667 2012-05-03 Kenichi Handa <handa@m17n.org>
9668
9669 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9670 decoding, and show a warning message without signaling an error
9671 (Bug#11282).
9672
9673 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9674
9675 * emacs-lisp/bytecomp.el
9676 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9677 since cconv.el might have introduced :fun-body, internal-make-closure,
9678 and friends for bytecomp to handle (bug#11391).
9679 * custom.el (defcustom): Avoid ((λ ..) ..).
9680
9681 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9682
9683 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9684
9685 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9686
9687 * notifications.el (dbus-debug):
9688 * term/linux.el (gpm-mouse-enable):
9689 * term/screen.el (xterm-register-default-colors): Declare.
9690
9691 2012-05-02 Chong Yidong <cyd@gnu.org>
9692
9693 * cus-start.el (gc-cons-percentage, exec-suffixes)
9694 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9695 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9696 (make-cursor-line-fully-visible, void-text-area-pointer)
9697 (font-list-limit): Add customization data.
9698
9699 * allout.el (allout-exposure-change-functions)
9700 (allout-structure-added-functions)
9701 (allout-structure-deleted-functions)
9702 (allout-structure-shifted-functions): Rename abnormal hooks from
9703 *-hook, and convert to defcustoms.
9704 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9705 Convert to defcustoms.
9706 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9707
9708 * allout-widgets.el: Hook callers changed.
9709
9710 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9711
9712 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9713 the yanked message in preference to the default value of
9714 buffer-file-coding-system.
9715
9716 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9717
9718 * window.el (display-buffer--action-function-custom-type):
9719 Fix entry.
9720
9721 2012-05-02 Alan Mackenzie <acm@muc.de>
9722
9723 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9724
9725 2012-05-01 Glenn Morris <rgm@gnu.org>
9726
9727 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9728
9729 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9730
9731 * cus-edit.el (custom-variable-documentation): Simplify with format.
9732
9733 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9734 Stefan Monnier <monnier@iro.umontreal.ca>
9735
9736 * simple.el (suggest-key-bindings, execute-extended-command):
9737 Move from keyboard.c.
9738
9739 2012-05-01 Chong Yidong <cyd@gnu.org>
9740
9741 * follow.el: Eliminate advice.
9742 (set-process-filter, process-filter, sit-for): Advice deleted.
9743 (follow-mode-off-hook): Obsolete hook removed.
9744 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9745 Vars deleted.
9746 (follow-auto): Use a :set function.
9747 (follow-mode): Rewritten. Don't advise process filters.
9748 (follow-switch-to-current-buffer-all, follow-scroll-up)
9749 (follow-scroll-down): Assume follow-mode is bound.
9750 (follow-comint-scroll-to-bottom)
9751 (follow-align-compilation-windows): New functions.
9752 (follow--window-sorter): New function.
9753 (follow-all-followers): Use it to explicitly sort windows by their
9754 positions; don't make assumptions about next-window order.
9755 (follow-windows-start-end, follow-delete-other-windows-and-split)
9756 (follow-calc-win-start): Doc fix.
9757 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9758 vertical-motion unnecessarily.
9759 (follow-adjust-window): New function.
9760 (follow-post-command-hook): Use it.
9761 (follow-call-set-process-filter, follow-call-process-filter)
9762 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9763 (follow-stop-intercept-process-output, follow-generic-filter):
9764 Functions deleted.
9765 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9766 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9767 New functions, replacing advice on scroll-bar-* commands.
9768 (follow-mwheel-scroll): New function (Bug#4112).
9769
9770 * comint.el (comint-adjust-point): New function.
9771 (comint-postoutput-scroll-to-bottom): Use it.
9772 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9773
9774 2012-05-01 Glenn Morris <rgm@gnu.org>
9775
9776 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9777 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9778 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9779 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9780 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9781 Remove no-byte-compile setting.
9782
9783 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9784
9785 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9786 all-completions code to not return a number in the last cdr.
9787
9788 2012-04-30 Leo Liu <sdl.web@gmail.com>
9789
9790 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9791 read-only error.
9792
9793 2012-04-29 Chong Yidong <cyd@gnu.org>
9794
9795 * follow.el (follow-calc-win-end): Rewrite to handle partial
9796 screen lines correctly (Bug#8390).
9797 (follow-avoid-tail-recenter): Minor cleanup.
9798
9799 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9800
9801 Avoid the obsolete `assoc' package.
9802 * speedbar.el (speedbar-refresh): Avoid adelete.
9803 (speedbar-file-lists): Simplify and avoid aput.
9804 * man.el (Man--sections, Man--refpages): New vars, replacing
9805 Man-sections-alist and Man-refpages-alist.
9806 (Man-build-section-alist, Man-build-references-alist):
9807 Use them; avoid aput.
9808 (Man--last-section, Man--last-refpage): New vars.
9809 (Man-follow-manual-reference): Use them.
9810 Use the `default' arg of completing-read.
9811 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9812
9813 2012-04-27 Chong Yidong <cyd@gnu.org>
9814
9815 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9816
9817 * startup.el (x-apply-session-resources): New function.
9818
9819 * term/ns-win.el (ns-initialize-window-system):
9820 * term/w32-win.el (w32-initialize-window-system):
9821 * term/x-win.el (x-initialize-window-system): Use it to properly
9822 set menu-bar-mode and other vars from X resources, even if the
9823 initial frame is not a window-system frame (Bug#2299).
9824
9825 * subr.el (read-key): Avoid running filter function when setting
9826 up temporary tool bar entries (Bug#9922).
9827
9828 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9829
9830 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9831 (Bug#11344)
9832
9833 2012-04-27 Chong Yidong <cyd@gnu.org>
9834
9835 * select.el (xselect--encode-string): New function, split from
9836 xselect-convert-to-string.
9837 (xselect-convert-to-string): Use it.
9838 (xselect-convert-to-filename, xselect-convert-to-os)
9839 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9840 returned strings are properly encoded (Bug#11315).
9841
9842 2012-04-27 Chong Yidong <cyd@gnu.org>
9843
9844 * simple.el (delete-active-region): Move to killing custom group.
9845
9846 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * progmodes/which-func.el (which-func-current): Quote %
9849 characters for mode-line processing.
9850
9851 2012-04-27 Chong Yidong <cyd@gnu.org>
9852
9853 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9854 reaching eob (Bug#11286).
9855
9856 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9857
9858 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9859 (gdb): Make it buffer-local and init to zero.
9860 (gdb-control-commands-regexp): New variable.
9861 (gdb-send): Don't wrap in "-interpreter-exec console" if
9862 gdb-control-level is positive. Increment gdb-control-level
9863 whenever the command matches gdb-control-commands-regexp, and
9864 decrement it each time the command is "end". (Bug#11279)
9865
9866 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9867
9868 * window.el (adjust-window-trailing-edge, enlarge-window)
9869 (shrink-window, window-resize):
9870 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9871 windows (Bug#11276).
9872
9873 2012-04-27 Chong Yidong <cyd@gnu.org>
9874
9875 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9876 fix "missing prefix" warning. All callers changed.
9877
9878 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9879
9880 * emacs-lisp/assoc.el: Move to obsolete/.
9881
9882 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9885
9886 * term/ns-win.el (ns-define-service):
9887 * progmodes/pascal.el (pascal-goto-defun):
9888 * progmodes/js.el (js--read-tab):
9889 * progmodes/etags.el (tags-lazy-completion-table):
9890 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9891 * emacs-lisp/ewoc.el (ewoc--wrap):
9892 * emacs-lisp/assoc.el (aput, adelete, amake):
9893 * doc-view.el (doc-view-convert-current-doc):
9894 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9895
9896 2012-04-26 Chong Yidong <cyd@gnu.org>
9897
9898 * image.el (image-type-from-buffer): Only return supported image
9899 type (Bug#9045).
9900
9901 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9902 value, for symmetry with diff-end-of-hunk.
9903 (diff-split-hunk, diff-find-source-location)
9904 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9905 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9906 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9907 compute the relevant hunk or file properly (Bug#6005).
9908 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9909
9910 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * vc/vc-mtn.el:
9913 * vc/vc-hg.el:
9914 * vc/vc-git.el:
9915 * vc/vc-dir.el:
9916 * vc/vc-cvs.el:
9917 * vc/vc-bzr.el:
9918 * vc/vc-arch.el:
9919 * vc/vc.el: Replace lexical-let by lexical-binding.
9920 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9921 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9922 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9923
9924 2012-04-26 Chong Yidong <cyd@gnu.org>
9925
9926 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9927 (diff-mode-shared-map): Bind it to / and [remap undo].
9928
9929 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9930 (ediff-window-setup-function): Use it as the default, to set up
9931 windows based on whether the current frame is graphical (Bug#2138).
9932 (ediff-choose-window-setup-function-automatically): Make obsolete.
9933
9934 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9935
9936 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9937
9938 * ffap.el: Remove old code for obsolete package.
9939 (ffap-complete-as-file-p): Remove.
9940
9941 Use completion-table-with-quoting for comint and pcomplete.
9942 * comint.el (comint--unquote&requote-argument)
9943 (comint--unquote-argument, comint--requote-argument): New functions.
9944 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9945 (comint-quote-filename): Use regexp-opt-charset.
9946 (comint--common-suffix, comint--common-quoted-suffix)
9947 (comint--table-subvert): Remove.
9948 (comint-unquote-function, comint-requote-function): New vars.
9949 (comint--complete-file-name-data): Use them with
9950 completion-table-with-quoting.
9951 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9952 * pcomplete.el (pcomplete-arg-quote-list)
9953 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9954 (pcomplete-unquote-argument-function): Default to non-nil.
9955 (pcomplete-unquote-argument): Simplify.
9956 (pcomplete--common-quoted-suffix): Remove.
9957 (pcomplete-requote-argument-function): New var.
9958 (pcomplete--common-suffix): New function.
9959 (pcomplete-completions-at-point): Use completion-table-with-quoting
9960 and completion-table-subvert.
9961
9962 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9963 (minibuffer--double-dollars): Preserve properties.
9964 (completion--sifn-requote): New function.
9965 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9966
9967 * minibuffer.el: Add support for completion of quoted/escaped data.
9968 (completion-table-with-quoting, completion-table-subvert): New funs.
9969 (completion--twq-try, completion--twq-all): New functions.
9970 (completion--nth-completion): New function.
9971 (completion-try-completion, completion-all-completions): Use it.
9972
9973 2012-04-25 Leo Liu <sdl.web@gmail.com>
9974
9975 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9976 Use compilation-message if available to find real filename.
9977
9978 2012-04-25 Chong Yidong <cyd@gnu.org>
9979
9980 * vc/diff-mode.el (diff-setup-whitespace): New function.
9981 (diff-mode): Use it.
9982
9983 * vc/diff.el (diff-sentinel):
9984 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9985 Whitespace mode variables based on diff style (Bug#8612).
9986
9987 2012-04-25 Leo Liu <sdl.web@gmail.com>
9988
9989 * progmodes/python.el (python-send-region): Add suffix .py to the
9990 temp file.
9991
9992 * files.el (auto-mode-alist): Use javascript-mode instead.
9993
9994 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9995
9996 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9997
9998 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9999 (soap-resolve-references-for-array-type): Hack to prevent self
10000 references, see Bug#9.
10001 (soap-parse-envelope): Report the contents of the 'detail' node
10002 when receiving a fault reply.
10003 (soap-parse-envelope): Report the contents of the entire 'detail' node.
10004
10005 * net/soap-inspect.el (soap-sample-value-for-simple-type)
10006 (soap-inspect-simple-type): New function.
10007
10008 * net/soap-client.el (soap-simple-type): New struct.
10009 (soap-default-xsd-types, soap-default-soapenc-types)
10010 (soap-decode-basic-type, soap-encode-basic-type):
10011 support unsignedInt and double basic types.
10012 (soap-resolve-references-for-simple-type)
10013 (soap-parse-simple-type, soap-encode-simple-type): New function.
10014 (soap-parse-schema): Parse xsd:simpleType declarations.
10015
10016 * net/soap-client.el (soap-default-xsd-types)
10017 (soap-default-soapenc-types): Add integer, byte and anyURI types.
10018 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
10019 the local name of "soapenc:Array".
10020 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
10021 decoding integer, byte and anyURI xsd types.
10022
10023 2012-04-25 Chong Yidong <cyd@gnu.org>
10024
10025 * cus-edit.el (custom-buffer-create-internal): Update header text.
10026
10027 2012-04-25 Eli Zaretskii <eliz@gnu.org>
10028
10029 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
10030 settings on 'system-type', not on 'window-system'. On MS-Windows,
10031 set interactive-mode on in GDB.
10032
10033 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
10036 (ruby-syntax-propertize-regexp): Remove.
10037 (ruby-syntax-propertize-function): Split regexp into chunks.
10038 Match following code directly.
10039
10040 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
10041
10042 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
10043 (ruby-syntax-propertize-regexp): New function.
10044 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
10045 by a special keyword.
10046
10047 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
10048 (ruby-syntax-general-delimiters-goto-beg)
10049 (ruby-syntax-propertize-general-delimiters): New functions.
10050 (ruby-syntax-propertize-function): Use them to handle GDL.
10051 (ruby-font-lock-keywords): Move old handling of GDL...
10052 (ruby-font-lock-syntactic-keywords): .. to here.
10053 (ruby-calculate-indent): Adjust indentation for GDL.
10054
10055 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
10056
10057 * notifications.el (top): Remove unneeded declarations.
10058 (notifications-specification-version): Change to "1.2".
10059 (notifications-interface, notifications-notify-method)
10060 (notifications-close-notification-method): Fix docstring.
10061 (notifications-get-capabilities-method): New defconst.
10062 (notifications-notify): Add :action-items, :resident and
10063 :transient hints. Change "image_data" to "image-data" and
10064 "image_path" to "image-path".
10065 (notifications-get-capabilities): New defun.
10066
10067 2012-04-24 Leo Liu <sdl.web@gmail.com>
10068
10069 * progmodes/python.el: Move hideshow setup to the end.
10070
10071 2012-04-24 Martin Rudalics <rudalics@gmx.at>
10072
10073 * window.el (handle-select-window): Clear echo area since this is
10074 no more done by read_char (Bug#11304).
10075
10076 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
10077
10078 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
10079 and `/ M' to filter-derived-mode.
10080 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
10081 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
10082 (ibuffer-mark-by-mode): Use default rather than initial-input.
10083 (ibuffer-filter-by-derived-mode): Autoload and require-match.
10084
10085 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
10086
10087 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
10088 (ibuffer-filter-by-derived-mode): New filter.
10089 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
10090
10091 2012-04-23 Andreas Politz <politza@fh-trier.de>
10092
10093 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
10094
10095 2012-04-23 Chong Yidong <cyd@gnu.org>
10096
10097 * cus-edit.el (customize-apropos, customize-apropos-options):
10098 Disable matching of non-option variables (Bug#11176).
10099 (customize-option, customize-option-other-window)
10100 (customize-changed-options): Doc fix.
10101 (customize-apropos-options, customize-apropos-faces)
10102 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10103
10104 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10105 Fix word list splitting (Bug#11132).
10106 (apropos-symbol, apropos-keybinding, apropos-label)
10107 (apropos-property, apropos-function-button)
10108 (apropos-variable-button, apropos-misc-button): New faces.
10109 (apropos-symbol-face, apropos-keybinding-face)
10110 (apropos-label-face, apropos-property-face, apropos-match-face):
10111 Variables removed (Bug#8396).
10112 (apropos-library-button, apropos-format-plist, apropos-print)
10113 (apropos-print-doc, apropos-describe-plist): Callers changed.
10114
10115 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10116
10117 * net/xesam.el (xesam-mode-map): Use let-bound map in
10118 initialization. (Bug#11292)
10119
10120 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10121
10122 Preserve ispell session localwords when switching back to
10123 original buffer.
10124
10125 * textmodes/ispell.el (ispell-buffer-session-localwords):
10126 New buffer-local variable to hold buffer session localwords.
10127 (ispell-kill-ispell): Add option 'clear to delete session
10128 localwords.
10129 (ispell-command-loop, ispell-change-dictionary)
10130 (ispell-buffer-local-words): Preserve session localwords when
10131 needed.
10132
10133 * textmodes/flyspell.el (flyspell-process-localwords)
10134 (flyspell-do-correct): Preserve session localwords when needed.
10135
10136 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10137
10138 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10139 using obsolete `translation-table-for-input'.
10140 (ispell-word, ispell-process-line, ispell-complete-word):
10141 Use plain `insert' instead of removed `ispell-insert-word'.
10142
10143 2012-04-22 Chong Yidong <cyd@gnu.org>
10144
10145 * cus-edit.el (custom-variable-menu)
10146 (custom-variable-reset-saved, custom-face-menu)
10147 (custom-face-reset-saved): If there is no saved value, make the
10148 "reset-saved" operation bring back the default (Bug#9509).
10149 (custom-face-state): Properly detect themed faces.
10150
10151 * faces.el (face-spec-set): Stop supporting deprecated form of
10152 third arg.
10153
10154 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10155
10156 Move functions from C to Lisp. Make non-blocking method calls
10157 the default. Implement further D-Bus standard interfaces.
10158
10159 * net/dbus.el (dbus-message-internal): Declare function.
10160 Remove unneeded function declarations.
10161 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10162 (dbus-message-type-method-return, dbus-message-type-error)
10163 (dbus-message-type-signal): Declare variables. Remove local
10164 definitions.
10165 (dbus-interface-dbus, dbus-interface-peer)
10166 (dbus-interface-introspectable, dbus-interface-properties)
10167 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10168 Adapt docstring.
10169 (dbus-interface-objectmanager): New defconst.
10170 (dbus-call-method, dbus-call-method-asynchronously)
10171 (dbus-send-signal, dbus-method-return-internal)
10172 (dbus-method-error-internal, dbus-register-service)
10173 (dbus-register-signal, dbus-register-method): New defuns, moved
10174 from dbusbind.c
10175 (dbus-call-method-handler, dbus-setenv)
10176 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10177 New defuns.
10178 (dbus-call-method-non-blocking): Make it an obsolete function.
10179 (dbus-unregister-object, dbus-unregister-service)
10180 (dbus-handle-event, dbus-register-property)
10181 (dbus-property-handler): Obey the new structure of
10182 `bus-registered-objects'.
10183 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10184 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10185 Use `dbus-call-method'.
10186
10187 2012-04-22 Chong Yidong <cyd@gnu.org>
10188
10189 * cus-edit.el (custom-commands, custom-reset-menu)
10190 (Custom-reset-standard): Tweak labels.
10191 (custom-reset-button-menu): Change default to t.
10192 (custom-buffer-create-internal): For the custom-reset-button-menu
10193 case, put the revert button first.
10194 (custom-group-subtitle): New face.
10195 (custom-group-value-create): Align docstring to a specific column.
10196
10197 * wid-edit.el (widget-documentation-link-add): Don't handle
10198 indentation in this function.
10199 (widget-documentation-string-indent-to): New function.
10200 (widget-documentation-string-value-create): Use it.
10201
10202 * autorevert.el (auto-revert):
10203 * epg-config.el (epg):
10204 * ibuffer.el (ibuffer):
10205 * mpc.el (mpc):
10206 * ses.el (ses):
10207 * eshell/eshell.el (eshell):
10208 * net/ange-ftp.el (ange-ftp):
10209 * progmodes/ebnf2ps.el (postscript):
10210 * progmodes/flymake.el (flymake):
10211 * progmodes/prolog.el (prolog):
10212 * progmodes/verilog-mode.el (verilog-mode):
10213 * progmodes/which-func.el (which-func):
10214 * term/xterm.el (xterm):
10215 * textmodes/picture.el (picture):
10216 * textmodes/tildify.el (tildify):
10217 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10218 customization buffers.
10219
10220 2012-04-22 Alan Mackenzie <acm@muc.de>
10221
10222 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10223 Adding a ) can hide the resulting (..) from searches. Fix it.
10224 Bound the backward search to the position of the existing (.
10225
10226 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10227
10228 * progmodes/verilog-mode.el (verilog-mode): Check whether
10229 which-func-modes is t before adding verilog-mode.
10230 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10231
10232 2012-04-21 Leo Liu <sdl.web@gmail.com>
10233
10234 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10235
10236 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10237
10238 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10239 filling of the last column of a table (Bug#5635).
10240 (woman-find-next-control-line): New arg, specifying an additional
10241 regexp component for the control line.
10242 (woman2-roff-buffer): Use it.
10243 (woman-break-table): New function.
10244 (woman2-TS): Use it.
10245
10246 2012-04-21 Chong Yidong <cyd@gnu.org>
10247
10248 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10249 (woman-horizontal-escapes, woman-negative-vertical-space)
10250 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10251 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10252
10253 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * minibuffer.el (completion-file-name-table): Complete user names.
10256
10257 2012-04-20 Leo Liu <sdl.web@gmail.com>
10258
10259 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10260 and pcase-let*.
10261
10262 2012-04-20 Chong Yidong <cyd@gnu.org>
10263
10264 * server.el (server-execute): Respect initial-buffer-choice if it
10265 is a string and there are no files to open (Bug#2825).
10266 (server-create-window-system-frame, server-create-tty-frame):
10267 Don't switch buffers here.
10268 (server-process-filter): Only try to open a window system frame if
10269 compiled with graphical support (Bug#8314).
10270
10271 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10272
10273 * battery.el (battery-echo-area-format): Display remaining time
10274 for sysfs backend too (Bug#11269).
10275 (battery-linux-sysfs): Fix conditional for the charge.
10276
10277 2012-04-20 Chong Yidong <cyd@gnu.org>
10278
10279 * progmodes/gdb-mi.el (gdb): Revert previous change.
10280 (gdb-inferior-io--init-proc): New function.
10281 (gdb-init-1): Use it.
10282 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10283 responsible for allocating a new pty and hooking it to gdb when
10284 the old pty gets an EIO due to process exit.
10285 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10286 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10287 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10288
10289 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10290
10291 * window.el (window-min-size, window-sizable, window-min-delta)
10292 (window-max-delta, window--resizable, window-resizable)
10293 (window-total-size, window-full-height-p, window-full-width-p)
10294 (window-in-direction, window--resize-mini-window, window-resize)
10295 (window--resize-child-windows-normal)
10296 (window--resize-child-windows, window--resize-siblings)
10297 (window--resize-this-window, adjust-window-trailing-edge)
10298 (enlarge-window, shrink-window): Doc fixes.
10299
10300 2012-04-20 Chong Yidong <cyd@gnu.org>
10301
10302 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10303 New function to call delete-process on the gdb-inferior buffer's pty.
10304 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10305 pty process (Bug#11273).
10306 (gdb-update): New arg to suppress talking to the gdb process.
10307 (gdb-done-or-error): Use it.
10308 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10309 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10310 sentinel not being called.
10311
10312 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10313
10314 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10315
10316 2012-04-20 Glenn Morris <rgm@gnu.org>
10317
10318 * net/network-stream.el (open-network-stream): Doc fix.
10319
10320 2012-04-20 Chong Yidong <cyd@gnu.org>
10321
10322 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10323
10324 2012-04-20 Alan Mackenzie <acm@muc.de>
10325
10326 Ensure searching for keywords is case sensitive.
10327
10328 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10329 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10330 (c-defun-name, c-mark-function, c-cpp-define-name)
10331 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10332 (c-context-line-break): Bind case-fold-search to nil.
10333
10334 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10335 Bind case-fold-search to nil.
10336
10337 2012-04-20 Chong Yidong <cyd@gnu.org>
10338
10339 * mail/sendmail.el (mail-bury): Call return action with the right
10340 Rmail buffer (Bug#11242).
10341
10342 * server.el (server-process-filter): Handle corner case where both
10343 tty and nowait options are present (Bug#11102).
10344
10345 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10346
10347 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10348 (top level): Put into the executable the ident-style '$Id:' tag on
10349 windows-nt as well.
10350
10351 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10352
10353 * electric.el (electric-indent-post-self-insert-function): Check that
10354 electric-indent-mode is enabled in current buffer.
10355
10356 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10357
10358 * imenu.el (imenu-progress-message): Restore; it is "used" in
10359 erc/erc-imenu.el and net/snmp-mode.el.
10360
10361 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10362
10363 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10364 (mouse-avoidance-nudge-mouse): Remove unused binding.
10365
10366 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10367
10368 * descr-text.el (describe-char):
10369 * progmodes/python.el (python-describe-symbol):
10370 Don't call `toggle-read-only', set `buffer-read-only'.
10371
10372 * imenu.el (imenu-default-goto-function): Mark unused args.
10373 (imenu-progress-message): Remove obsolete macro; all callers changed.
10374
10375 * subr.el (keymap-canonicalize): Remove unused binding.
10376 (read-passwd): Mark unused arg.
10377
10378 * tutorial.el (tutorial--display-changes): Remove unused binding.
10379 (tutorial--save-tutorial-to): Remove unused variable.
10380
10381 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10382 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10383 (package-generate-autoloads, package-menu--generate)
10384 (package-menu--find-upgrades): Remove unused bindings.
10385
10386 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10387 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10388 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10389 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10390 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10391 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10392 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10393 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10394 (cua-delete-char-rectangle): Mark unused args.
10395 (cua-align-rectangle): Remove unused binding.
10396
10397 * mail/rmail.el (compilation--message->loc)
10398 (epa--find-coding-system-for-mime-charset): Declare.
10399
10400 * net/dbus.el (dbus-register-service): Declare.
10401 (dbus-name-owner-changed-handler): Remove unused binding.
10402
10403 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10404 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10405 (nxml-scan-backward-within): Mark unused arg.
10406 (nxml-dynamic-markup-word): Remove unused binding.
10407
10408 * mouse.el (mouse-menu-major-mode-map):
10409 * emacs-lisp/authors.el (authors-scan-change-log)
10410 (authors-add-to-author-list):
10411 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10412 * emacs-lisp/smie.el (smie-auto-fill):
10413 * mail/sendmail.el (mail-bury):
10414 * mail/unrmail.el (unrmail):
10415 * net/tls.el (open-tls-stream):
10416 * textmodes/picture.el (picture-mouse-set-point):
10417 Remove unused bindings.
10418
10419 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10420
10421 * net/tramp.el (tramp-action-password): Let-bind
10422 `enable-recursive-minibuffers' to t.
10423
10424 2012-04-18 Sam Steingold <sds@gnu.org>
10425
10426 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10427 instead of 'string to accommodate values like [f11].
10428 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10429 * progmodes/gdb-mi.el: Likewise.
10430
10431 2012-04-18 Leo Liu <sdl.web@gmail.com>
10432
10433 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10434 current buffer.
10435 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10436 LOCAL is nil.
10437
10438 2012-04-18 Chong Yidong <cyd@gnu.org>
10439
10440 * simple.el (line-move): Use forward-line if in batch mode
10441 (Bug#11053).
10442
10443 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10444
10445 * files.el (after-find-file): Do not try to add a final newline if
10446 the buffer is read-only (Bug#11156).
10447
10448 2012-04-17 Richard Stallman <rms@gnu.org>
10449
10450 * mail/rmail.el (rmail-start-mail):
10451 Pass (rmail-mail-return...) for the return-action.
10452 Pass (rmail-yank-current-message...) for the yank-action.
10453 (rmail-yank-current-message): New function.
10454 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10455 (rmail-reply): Likewise.
10456 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10457
10458 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10459 buffer, not the last. Reject temp buffers. Use the rmail-mode
10460 buffer, not newbuf.
10461
10462 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10463
10464 * server.el (server-ensure-safe-dir): Simplify.
10465
10466 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10467
10468 * emacs-lisp/smie.el: Provide smarter auto-filling.
10469 (smie-auto-fill): New function.
10470 (smie-setup): Use it.
10471
10472 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10473
10474 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10475
10476 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10477 (comment-indent): Use it.
10478
10479 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10480
10481 * ses.el: The overall change is to add cell renaming, that is
10482 setting fancy names for cell symbols other than name matching
10483 "\\`[A-Z]+[0-9]+\\'" regexp .
10484 (ses-localvars): Add ses--renamed-cell-symb-list.
10485 (ses-create-cell-variable): New defun.
10486 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10487 (ses-relocate-formula): Relocate formulas only for cells the
10488 symbols of which are not renamed, i.e. symbols whose names do not
10489 match regexp "\\`[A-Z]+[0-9]+\\'".
10490 (ses-relocate-all): Relocate values only for cells the symbols of
10491 which are not renamed.
10492 (ses-load): Create cells variables as the (ses-cell ...) are read,
10493 in order to check row col consistency with cell symbol name only
10494 for cells that are not renamed.
10495 (ses-replace-name-in-formula): New defun.
10496 (ses-rename-cell): New defun.
10497
10498 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10499
10500 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10501 New option (bug#11118).
10502 (perl-calculate-indent): Respect it.
10503
10504 2012-04-17 Glenn Morris <rgm@gnu.org>
10505
10506 * dired-aux.el (dired-mark-read-string): Doc fix.
10507
10508 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10509
10510 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10511 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10512
10513 2012-04-17 Glenn Morris <rgm@gnu.org>
10514
10515 * mouse.el (mouse-drag-track):
10516 * speedbar.el (speedbar-frame-mode):
10517 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10518
10519 2012-04-16 Leo Liu <sdl.web@gmail.com>
10520
10521 * progmodes/python.el: Trivial cleanup.
10522
10523 2012-04-16 Glenn Morris <rgm@gnu.org>
10524
10525 * vc/vc.el (vc-string-prefix-p):
10526 * vc/pcvs-util.el (cvs-string-prefix-p):
10527 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10528 * mpc.el (mpc-string-prefix-p):
10529 Make all of these into obsolete aliases for string-prefix-p.
10530 Update callers.
10531 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10532
10533 * textmodes/two-column.el: Move custom options to the start.
10534 (frame-width): Remove compat definition.
10535 (2C-associate-buffer, 2C-dissociate):
10536 Use with-current-buffer rather than save-excursion.
10537 (2C-dissociate): Force a mode-line update.
10538 (2C-autoscroll): Use ignore-errors.
10539
10540 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10541 Autoload trivia.
10542
10543 * emacs-lisp/cl-extra.el (*random-state*):
10544 Remove unnecessary declaration.
10545
10546 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10547
10548 * play/cookie1.el (cookie-snarf):
10549 Give an explicit error if input file cannot be read.
10550
10551 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10552
10553 * progmodes/perl-mode.el (c-macro-expand):
10554 Remove unnecessary autoload (it is in loaddefs.el).
10555
10556 * textmodes/picture.el (picture-desired-column)
10557 (picture-update-desired-column): Convert comments to doc-strings.
10558 (picture-substitute): Remove function.
10559 (picture-mode-map): Initialize in the defvar.
10560
10561 * woman.el: Remove eval-after-load for tar-mode.
10562 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10563 (woman-tar-extract-file): Autoload it.
10564
10565 * frame.el (automatic-hscrolling): Make this alias obsolete.
10566
10567 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10568
10569 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10570 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10571 (ispell-dictionary-base-alist): Revert to original XEmacs
10572 friendly version for default. [:alpha:] will be added in
10573 `ispell-set-spellchecker-params' if needed.
10574
10575 2012-04-16 Chong Yidong <cyd@gnu.org>
10576
10577 * image.el (imagemagick--file-regexp): New variable.
10578 (imagemagick-register-types): Use it.
10579 (imagemagick-types-inhibit): Add :set function. Allow new value
10580 of t to inhibit all types.
10581
10582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10583 so we can preload it.
10584
10585 * loadup.el (fboundp): Preload regexp-opt, needed by
10586 imagemagick-register-types.
10587
10588 2012-04-15 Chong Yidong <cyd@gnu.org>
10589
10590 * frame.el (scrolling): Remove nearly unused customization group.
10591
10592 * scroll-all.el (scroll-all-mode): Move to windows group.
10593
10594 2012-04-15 Chong Yidong <cyd@gnu.org>
10595
10596 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10597
10598 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10601 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10602
10603 2012-04-15 Glenn Morris <rgm@gnu.org>
10604
10605 * simple.el (process-file-side-effects): Doc fix.
10606
10607 2012-04-15 Glenn Morris <rgm@gnu.org>
10608
10609 * international/mule-cmds.el (set-language-environment): Doc fix.
10610
10611 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10612
10613 * server.el (server-auth-key, server-generate-key): Doc fixes.
10614 (server-get-auth-key): Doc fix. Use `string-match-p'.
10615 (server-start): Reflow docstring.
10616
10617 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10618
10619 * server.el (server-generate-key): `called-interactively-p'
10620 requires a parameter.
10621
10622 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10623
10624 * server.el (server-auth-key): New variable.
10625 (server-generate-key, server-get-auth-key): New function.
10626 (server-start): Use the new variable and functions to allow
10627 setting a permanent server key (bug#9423).
10628
10629 2012-04-14 Leo Liu <sdl.web@gmail.com>
10630
10631 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10632
10633 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10634
10635 Spelling fixes.
10636 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10637 Emacs uses American spelling.
10638
10639 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10640
10641 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10642 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10643 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10644 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10645
10646 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * progmodes/which-func.el (which-func-modes): Change default.
10649
10650 2012-04-14 Kim F. Storm <storm@cua.dk>
10651
10652 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10653 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10654
10655 2012-04-14 Chong Yidong <cyd@gnu.org>
10656
10657 * custom.el (custom-theme-set-variables): Doc fix.
10658
10659 2012-04-14 Glenn Morris <rgm@gnu.org>
10660
10661 * international/mule.el (set-auto-coding-for-load): Doc fix.
10662
10663 2012-04-14 Alan Mackenzie <acm@muc.de>
10664
10665 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10666 imenu work again for Objective C Mode. Correct the *-index values,
10667 these having been disturbed by a previous change in 2011-08.
10668
10669 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10670 Correct two search limits.
10671
10672 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10673
10674 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10675
10676 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10677
10678 * international/characters.el: Fix sorting.
10679
10680 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10681
10682 * international/characters.el: Add more missing Latin case pairs.
10683
10684 2012-04-14 Glenn Morris <rgm@gnu.org>
10685
10686 * files.el (dir-locals-set-class-variables): Doc fix.
10687
10688 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10689
10690 * international/characters.el: Add set-case-syntax-pair call for
10691 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10692 counterpart. (Bug#11209)
10693
10694 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10695
10696 2012-04-14 Glenn Morris <rgm@gnu.org>
10697
10698 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10699
10700 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10701
10702 * textmodes/ispell.el (ispell-dictionary-base-alist):
10703 Add data for Hebrew.
10704
10705 2012-04-14 Chong Yidong <cyd@gnu.org>
10706
10707 * net/rcirc.el (rcirc-cmd-quit):
10708 Revert 2012-03-18 change (Bug#11192).
10709
10710 2012-04-14 Glenn Morris <rgm@gnu.org>
10711
10712 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10713
10714 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10715
10716 * minibuffer.el (completion-in-region-mode-map):
10717 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10718
10719 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10720
10721 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10722
10723 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10724
10725 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10726 to allow `C-M-f' and `C-M-b' to move to the nearest path
10727 separator (bug#9511).
10728
10729 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10730
10731 * avoid.el: Require cl when compiling. And also move the
10732 `provide' to the end.
10733
10734 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10735
10736 * avoid.el (mouse-avoidance-banish-position): New variable.
10737 (mouse-avoidance-banish-destination): Use it (bug#10165).
10738
10739 2012-04-13 Leo Liu <sdl.web@gmail.com>
10740
10741 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10742
10743 2012-04-13 Ken Brown <kbrown@cornell.edu>
10744
10745 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10746 this is no longer needed now that cygstart understands file:// URLs.
10747 (browse-url-filename-alist): For the same reason, don't modify
10748 file:// URLs on Cygwin.
10749
10750 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10753 the region on shift if the binding is already shifted (bug#11221).
10754
10755 2012-04-12 Glenn Morris <rgm@gnu.org>
10756
10757 * mail/mailpost.el: Move to obsolete/.
10758
10759 2012-04-12 Drew Adams <drew.adams@oracle.com>
10760
10761 * imenu.el (imenu--generic-function): Ignore invisible definitions
10762 (bug#10123).
10763
10764 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10765
10766 * hexl.el (hexl-bits): New variable.
10767 (hexl-options): Mention the variable in the doc string.
10768 (hexl-rulerise, hexl-line-displen): New functions.
10769 (hexl-mode): Mention the new variable.
10770 (hexl-mode, hexl-current-address, hexl-current-address):
10771 Use the displen.
10772 (hexl-ascii-start-column): New function.
10773 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10774 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10775
10776 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10777
10778 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10779 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10780 the encoding, as expected by hunspell.
10781
10782 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * battery.el (battery--linux-sysfs-regexp): New const.
10785 (battery-status-function): Use it. Remove yeeloong special case.
10786 (battery-yeeloong-sysfs): Remove.
10787 (battery-echo-area-format): Remove yeeloong special case.
10788
10789 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10792 Reported by Noah Friedman.
10793
10794 * subr.el (read-passwd): Use read-string.
10795
10796 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10797
10798 * vcursor.el (vcursor-move): Increase the priority of the overlay
10799 (bug#9663).
10800
10801 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10802
10803 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10804 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10805
10806 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10807
10808 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10809 define-minor-mode (bug#10760).
10810
10811 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10812
10813 * progmodes/grep.el (rgrep): Tweak the find command line so
10814 that directories matching `grep-find-ignored-files' won't be
10815 pruned (bug#10351).
10816
10817 2012-04-11 Chong Yidong <cyd@gnu.org>
10818
10819 * startup.el (command-line): Remove support for long-obsolete
10820 variable font-lock-face-attributes.
10821
10822 2012-04-11 Glenn Morris <rgm@gnu.org>
10823
10824 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10825
10826 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10827
10828 * window.el (window--state-get-1): Obey window-point-insertion-type.
10829
10830 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10831
10832 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10833 to previous function when point is on the first character of a
10834 function. Take care of that in `narrow-to-defun' (bug#6157).
10835
10836 2012-04-11 Glenn Morris <rgm@gnu.org>
10837
10838 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10839 not just file-errors.
10840
10841 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10842 (vc-bzr-sha1): Use internal sha1.
10843
10844 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10845
10846 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10847
10848 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10849
10850 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10851 that start in the middle of the line (bug#10496).
10852
10853 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10854
10855 * battery.el (battery-linux-proc-acpi): Only one battery is
10856 discharged at a time, but that seems to confuse battery.el when
10857 computing `rate-type' for the battery not being discharged
10858 (bug#10332).
10859
10860 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10861
10862 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10863
10864 * international/quail.el: Use dolist and simplify.
10865 (quail-define-package, quail-update-keyboard-layout)
10866 (quail-define-rules): Use dolist.
10867 (quail-insert-kbd-layout, quail-get-translation): CSE.
10868
10869 * tmm.el: Use dolist, remove left over hook.
10870 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10871 Use dolist.
10872 (calendar-load-hook): Don't mess with it.
10873
10874 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10875 Use derived-mode-p. Run the diff asynchronously.
10876
10877 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10878
10879 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10880
10881 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10882
10883 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10884 (list-dynamic-libraries--loaded): New function.
10885 (list-dynamic-libraries--refresh): Use it.
10886
10887 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10888
10889 * progmodes/python.el (python-fill-paragraph):
10890 Make python-fill-region in a multiline string work when font-lock is
10891 disabled (bug#7018).
10892
10893 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10894
10895 * language/european.el (cp775): Add oem/legacy (en)coding on
10896 DOS/MS Windows for the Baltic languages. There are still plenty
10897 of texts written in this encoding/codepage (bug#6519).
10898
10899 2012-04-10 Glenn Morris <rgm@gnu.org>
10900
10901 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10902 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10903
10904 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10905
10906 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10907 next-line "n" and previous-line "p" in order to make recentf more
10908 consistent with ibuffer, dired or org-mode (bug#9387).
10909
10910 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10911
10912 * image.el (put-image): Return the overlay created instead of the
10913 optional input string (bug#7834). Note that this may break code
10914 that is (for some reason or other) depending on `put-image'
10915 returning the string.
10916
10917 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10918
10919 * simple.el (zap-to-char): Allow zapping using input methods
10920 (bug#1580).
10921
10922 * textmodes/fill.el (fill-region): Leave point and mark where they
10923 were before filling (bug#5399).
10924
10925 2012-04-09 Glenn Morris <rgm@gnu.org>
10926
10927 * version.el (emacs-bzr-get-version):
10928 Handle lightweight checkouts of local branches.
10929
10930 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10931
10932 * international/characters.el: Recover lost case pairs. (Bug#11209)
10933
10934 2012-04-09 Chong Yidong <cyd@gnu.org>
10935
10936 * custom.el (custom-variable-p): Return nil for non-symbol
10937 arguments instead of signaling an error.
10938 (user-variable-p): Obsolete alias for custom-variable-p.
10939
10940 * apropos.el (apropos-variable):
10941 * files-x.el (read-file-local-variable):
10942 * simple.el (set-variable):
10943 * woman.el (woman-mini-help):
10944 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10945
10946 2012-04-09 Glenn Morris <rgm@gnu.org>
10947
10948 * startup.el (normal-top-level): Don't look for leim-list.el
10949 in places where it will not be found. (Bug#910)
10950
10951 * international/mule-cmds.el (set-default-coding-systems):
10952 * files.el (normal-mode):
10953 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10954 This function was removed with ucs-tables.el in 2008.
10955
10956 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10957
10958 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10959 ispell-encoding8-command to "-i", without a trailing space.
10960 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10961 separate command-line arguments, to specify the encoding, since
10962 that's how hunspell expects it.
10963
10964 2012-04-08 Glenn Morris <rgm@gnu.org>
10965
10966 * loadup.el: Load bindings before cus-start.
10967 This reduces somewhat the number of "rogue" settings in emacs -Q.
10968
10969 2012-04-07 Glenn Morris <rgm@gnu.org>
10970
10971 * version.el (emacs-bzr-get-version): New function.
10972 (emacs-bzr-version): New variable.
10973 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10974 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10975
10976 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10977
10978 * international/uni-bidi.el, international/uni-category.el:
10979 * international/uni-combining.el, international/uni-decimal.el:
10980 * international/uni-decomposition.el, international/uni-digit.el:
10981 * international/uni-lowercase.el, international/uni-mirrored.el:
10982 * international/uni-name.el, international/uni-numeric.el:
10983 * international/uni-titlecase.el, international/uni-uppercase.el:
10984 Update for Unicode 6.1.
10985
10986 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10987
10988 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10989
10990 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10991
10992 * window.el (shrink-window): Mention the `window-min-height'
10993 variable in the doc string.
10994
10995 2012-04-05 Bastien Guerry <bzg@altern.org>
10996
10997 * color.el (color-lighten-name): Fix typo.
10998
10999 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11000
11001 * server.el (server--on-display-p): New function.
11002 (server--on-display-p): Use it.
11003
11004 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
11005
11006 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
11007 (bug#11145).
11008
11009 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
11010
11011 * comint.el (comint--common-quoted-suffix): Check string boundary
11012 before comparing (bug#11158).
11013 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
11014
11015 2012-04-04 Chong Yidong <cyd@gnu.org>
11016
11017 * minibuffer.el (completion-extra-properties): Doc fix.
11018
11019 * subr.el (delayed-warnings-hook): Doc fix.
11020
11021 2012-04-04 Daiki Ueno <ueno@unixuser.org>
11022
11023 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
11024 selection (Bug#11159).
11025 (epa-insert-keys): Inform that the default public key will be
11026 exported if no key is selected.
11027
11028 2012-04-04 Richard Stallman <rms@gnu.org>
11029
11030 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
11031
11032 2012-04-03 Chong Yidong <cyd@gnu.org>
11033
11034 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
11035 mail-insert-file, not its obsolete alias mail-attach-file.
11036
11037 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
11038
11039 * notifications.el (notifications-notify): Fix docstring.
11040
11041 2012-04-02 Glenn Morris <rgm@gnu.org>
11042
11043 * emacs-lisp/authors.el (authors-aliases): Another addition.
11044
11045 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
11046
11047 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
11048 `tramp-compat-call-process' instead of `tramp-local-call-process'.
11049 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
11050
11051 2012-04-01 Chong Yidong <cyd@gnu.org>
11052
11053 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
11054 Handle root directory properly.
11055 (copy-directory): Caller changed.
11056
11057 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11058 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
11059
11060 2012-03-31 Glenn Morris <rgm@gnu.org>
11061
11062 * term/xterm.el (xterm-extra-capabilities): Doc fix.
11063
11064 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
11065
11066 * calendar/calendar.el (calendar-window-list)
11067 (calendar-hide-window): Restore. (Bug#11140)
11068 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
11069
11070 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
11071
11072 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11073
11074 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
11075 Check if file is a symlink (Bug#10489).
11076
11077 * files.el (copy-directory): Likewise.
11078
11079 2012-03-30 Chong Yidong <cyd@gnu.org>
11080
11081 * image.el (imagemagick-types-inhibit)
11082 (imagemagick-register-types): Doc fix.
11083
11084 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11085
11086 * textmodes/ispell.el (ispell-get-extended-character-mode):
11087 Disable extended-char-mode for hunspell. hunspell does not support it
11088 and treats ~word as ordinary words in pipe mode.
11089
11090 2012-03-30 Glenn Morris <rgm@gnu.org>
11091
11092 * tutorial.el (help-with-tutorial): Ensure local variables don't
11093 happen to make the buffer read-only. (Bug#11127)
11094
11095 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
11096
11097 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11098 (perl-calculate-indent): Return `noindent' in strings.
11099
11100 2012-03-28 Sam Steingold <sds@gnu.org>
11101
11102 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11103 instead of the broken adhockery which does not prevent calendar
11104 buffers from being displayed at random after exit.
11105 (calendar-window-list, calendar-hide-window): Remove the broken
11106 adhockery.
11107
11108 2012-03-28 Glenn Morris <rgm@gnu.org>
11109
11110 * replace.el (query-replace-map): Doc fix.
11111
11112 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11113
11114 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11115 contents. (Bug#11109)
11116
11117 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11118
11119 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11120 (bug#11077).
11121 (avl-tree--check, avl-tree--check-node): New funs.
11122
11123 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11124
11125 * window.el (switch-to-visible-buffer): New option.
11126 (switch-to-prev-buffer, switch-to-next-buffer):
11127 Observe switch-to-visible-buffer. Make sure that checking for a window
11128 showing a buffer already is done on the same frame.
11129
11130 2012-03-27 Glenn Morris <rgm@gnu.org>
11131
11132 * startup.el (mail-host-address): Doc fix.
11133
11134 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11135
11136 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11137 than 197 variables.
11138
11139 2012-03-26 Ami Fischman <ami@fischman.org>
11140
11141 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11142
11143 2012-03-26 Glenn Morris <rgm@gnu.org>
11144
11145 * files.el (save-buffers-kill-emacs): Doc fix.
11146
11147 * startup.el (normal-top-level, command-line, command-line-1):
11148 Give them doc strings.
11149
11150 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11151
11152 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11153 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11154
11155 2012-03-25 Chong Yidong <cyd@gnu.org>
11156
11157 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11158 theme if it was previously enabled before (Bug#11031).
11159
11160 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11161 spec with custom-face-get-current-spec if its :shown-value is not
11162 determined yet (Bug#9337).
11163 (customize-create-theme, custom-theme-revert): Doc fixes.
11164
11165 * button.el (button-at): Minor addition to docstring.
11166
11167 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11168
11169 * vc/vc.el (vc-merge): Fix a prompt.
11170
11171 2012-03-24 Chong Yidong <cyd@gnu.org>
11172
11173 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11174 point (Bug#9623).
11175
11176 * button.el (button-at): Minor addition to docstring.
11177
11178 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11179
11180 * newcomment.el (comment-choose-indent): No space after BOL.
11181
11182 2012-03-22 Sam Steingold <sds@gnu.org>
11183
11184 * window.el (switch-to-prev-buffer): Revert last patch because the
11185 bug turned out to be an advertised feature (Elisp manual 28.14).
11186
11187 2012-03-22 Glenn Morris <rgm@gnu.org>
11188
11189 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11190 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11191
11192 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11193
11194 * net/network-stream.el (network-stream-open-starttls): Make error
11195 message under Windows be less misleading.
11196
11197 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11198
11199 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11200 understands (bug#9942).
11201
11202 2012-03-22 Chong Yidong <cyd@gnu.org>
11203
11204 * simple.el (end-of-visible-line): Handle return value of
11205 next-single-property-change properly (Bug#9371).
11206
11207 2012-03-22 Kenichi Handa <handa@m17n.org>
11208
11209 * international/quail.el (quail-insert-kbd-layout): Fix previous
11210 change. To avoid unwanted bidi reordering, use
11211 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11212
11213 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11214
11215 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11216 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11217 (ruby-beginning-of-indent): Be more careful with the difference
11218 between word-boundary and symbol boundary.
11219 (ruby-mode-syntax-table): Make : a symbol constituent.
11220
11221 2012-03-21 Andreas Politz <politza@fh-trier.de>
11222
11223 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11224
11225 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 * progmodes/etags.el (tags-completion-at-point-function):
11228 Improve last fix.
11229
11230 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11231
11232 2012-03-21 Sam Steingold <sds@gnu.org>
11233
11234 * progmodes/etags.el (tags-completion-at-point-function):
11235 Avoid the error when point is inside the pattern.
11236
11237 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11238
11239 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11240 line (Bug#10855).
11241
11242 2012-03-21 Drew Adams <drew.adams@oracle.com>
11243
11244 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11245
11246 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11247
11248 * ido.el (ido-set-current-directory, ido-read-internal)
11249 (ido-choose-completion-string, ido-completion-help): Handle nil
11250 value of ido-completion-buffer (Bug#11008).
11251
11252 2012-03-21 Sam Steingold <sds@gnu.org>
11253
11254 * window.el (switch-to-prev-buffer): Do not switch to a visible
11255 window previous buffer, just like with the frame previous buffers.
11256
11257 2012-03-21 Chong Yidong <cyd@gnu.org>
11258
11259 * faces.el (make-face, make-empty-face, copy-face):
11260 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11261 Doc fixes.
11262
11263 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11266 (widget-complete): Remove broken use of it.
11267
11268 2012-03-20 Chong Yidong <cyd@gnu.org>
11269
11270 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11271 Use string-width and truncate-string-width to handle arbitrary
11272 characters.
11273
11274 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11275
11276 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11277 to draw rectangles, not squares. (Regression introduced by revno
11278 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11279
11280 2012-03-18 Chong Yidong <cyd@gnu.org>
11281
11282 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11283 it is not yet defined (for temacs).
11284
11285 2012-03-18 Leo Liu <sdl.web@gmail.com>
11286
11287 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11288 prefix.
11289
11290 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11291
11292 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11293 (ispell-choices-win-default-height, ispell-silently-savep)
11294 (ispell-dictionary-alist, ispell-encoding8-command)
11295 (ispell-check-version, ispell-aspell-find-dictionary)
11296 (ispell-valid-dictionary-list, ispell-words-keyword)
11297 (ispell-get-word, ispell-internal-change-dictionary)
11298 (ispell-region, ispell-skip-region-list)
11299 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11300 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11301 (ispell-message-text-end, ispell-message)
11302 (ispell-buffer-local-parsing): Doc fix.
11303
11304 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11305
11306 * htmlfontify.el: Add support for code block fontification for ODT
11307 export (Bug #9914).
11308 (hfy-optimisations): Define new option
11309 `body-text-only'
11310 (hfy-fontify-buffer): Honor above setting.
11311 (hfy-begin-span, hfy-end-span): New routines factored out form
11312 `hfy-fontify-buffer'.
11313 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11314 that permit insertion of custom tags.
11315 (hfy-fontify-buffer): Use above handlers.
11316 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11317 (hfy-face-to-css): Re-defined to be a variable.
11318 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11319 over multiple runs. This is made possible by having the caller let
11320 bind a special variable `hfy-user-sheet-assoc'.
11321 (htmlfontify-string): New defun.
11322 (hfy-compile-face-map): Make sure that the last char in the
11323 buffer is correctly fontified.
11324 (hfy-face-resolve-face): Whitespace only change.
11325
11326 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11327
11328 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11329 message more clear.
11330
11331 2012-03-16 Leo Liu <sdl.web@gmail.com>
11332
11333 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11334
11335 2012-03-16 Alan Mackenzie <acm@muc.de>
11336
11337 Further optimise the handling of large macros.
11338
11339 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11340 limit to a call of `c-literal-limits'.
11341 (c-determine-+ve-limit): New function.
11342 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11343 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11344 In CASE 5B, restrict a search limit to 500.
11345 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11346
11347 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11348 Restrict macro bounds to +-500 from after-change's BEG END.
11349
11350 2012-03-16 Leo Liu <sdl.web@gmail.com>
11351
11352 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11353
11354 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11355
11356 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11357 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11358
11359 2012-03-16 Glenn Morris <rgm@gnu.org>
11360
11361 * view.el (view-buffer, view-buffer-other-window)
11362 (view-buffer-other-frame): Doc fixes re special mode-class.
11363
11364 * subr.el (eval-after-load): If named feature is provided not from
11365 a file, run after-load forms. (Bug#10946)
11366
11367 * calendar/calendar.el (calendar-insert-at-column):
11368 Handle non-unit-width characters a bit better. (Bug#10978)
11369
11370 2012-03-15 Chong Yidong <cyd@gnu.org>
11371
11372 * emacs-lisp/ring.el (ring-extend): New function.
11373 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11374
11375 * comint.el (comint-read-input-ring)
11376 (comint-add-to-input-history): Grow comint-input-ring lazily.
11377
11378 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11379
11380 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11381 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11382
11383 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11384 (imenu-add-to-menubar): Don't add a redundant index.
11385 (imenu-update-menubar): Handle a dynamically composed keymap.
11386
11387 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11388
11389 * mail/sendmail.el (mail-encode-header):
11390 Bind rfc2047-encode-encoded-words to nil.
11391
11392 2012-03-13 Glenn Morris <rgm@gnu.org>
11393
11394 * calendar/calendar.el (calendar-string-spread):
11395 Handle non-unit-width characters a bit better. (Bug#10978)
11396
11397 2012-03-13 Leo Liu <sdl.web@gmail.com>
11398
11399 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11400 directory and file as argument (Bug#10822).
11401
11402 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11403
11404 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11405 For dynamically generated code, follow $PC.
11406 (gdb-disassembly-handler-custom): Handle no function name case.
11407
11408 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11409
11410 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11411 * emulation/ws-mode.el (ws-query-replace):
11412 * sort.el (sort-regexp-fields):
11413 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11414
11415 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11416
11417 * dabbrev.el: Fix cycle completion order (bug#10963).
11418 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11419 (dabbrev-completion): Don't use an obarray; provide
11420 a cycle-sort-function.
11421
11422 2012-03-12 Leo Liu <sdl.web@gmail.com>
11423
11424 * simple.el (kill-new): Use equal-including-properties for comparison.
11425 (kill-do-not-save-duplicates): Doc fix.
11426
11427 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11428
11429 * dabbrev.el: Fix cycle completion (bug#10963).
11430 Use lexical binding and wrap to 80 columns.
11431 (dabbrev-completion): Delay computing the list of completions.
11432
11433 2012-03-12 Kenichi Handa <handa@m17n.org>
11434
11435 * international/quail.el (quail-insert-kbd-layout): Surround each
11436 row by LRO and PDF instead of inserting many LRMs. Pad the left
11437 and right of each non-spacing marks. Insert invisible space
11438 between lower and upper characters to prevent composition.
11439
11440 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11441
11442 * minibuffer.el (minibuffer-complete): Don't get confused when the
11443 function is run twice via different commands (bug#10958).
11444 (complete-with-action): Fix docstring.
11445
11446 2012-03-12 Chong Yidong <cyd@gnu.org>
11447
11448 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11449 (nxml-completion-at-point-function): New function.
11450 (nxml-mode): Use it.
11451 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11452
11453 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11454 Load generated autoloads file before byte compiling (Bug#10970).
11455 (package--make-autoloads-and-compile): New helper fun.
11456
11457 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11458
11459 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11460
11461 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11462
11463 * autorevert.el (auto-revert-handler): Ensure, that
11464 file-readable-p is applied only for local files or in
11465 auto-revert-tail-mode.
11466
11467 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11468
11469 * server.el (server-eval-at): Handle non-tcp connections.
11470 Decode result string.
11471
11472 * server.el (server-msg-size): New constant.
11473 (server-reply-print): New function.
11474 (server-eval-and-print): Use it.
11475 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11476 Handle -print-nonl.
11477
11478 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11479
11480 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11481 (Bug#10987).
11482
11483 2012-03-11 Chong Yidong <cyd@gnu.org>
11484
11485 * simple.el (goto-line): Doc fix (Bug#9938).
11486
11487 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11488
11489 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11490 when finished (Bug#10963).
11491
11492 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11493
11494 * window.el (split-window-below): Fix bug in case where
11495 split-window-keep-point is nil (Bug#10971).
11496
11497 2012-03-11 Juri Linkov <juri@jurta.org>
11498
11499 * replace.el (replace-highlight): Set isearch-word to nil
11500 unconditionally. (Bug#10887)
11501
11502 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11503
11504 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11505 mairix-replace-illegal-chars; all callers changed. Don't remove
11506 ^, ~, and = characters: they are meaningful in mairix search specs.
11507 (mairix-widget-create-query): Add usage information about mairix
11508 search forms: negating words, searching for substrings, etc.
11509
11510 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11511
11512 * international/fontset.el (font-encoding-alist): Add an entry for
11513 ksx1001 (Bug#5667).
11514
11515 2012-03-10 Richard Stallman <rms@gnu.org>
11516
11517 * mail/sendmail.el (mail-encode-header):
11518 Set rfc2047-encode-encoded-words.
11519
11520 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11521
11522 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11523 view buffer means not swapped.
11524 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11525 (rmail-write-region-annotate): Error if real text has disappeared.
11526
11527 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11528
11529 2012-03-10 Chong Yidong <cyd@gnu.org>
11530
11531 * emulation/cua-rect.el (cua--init-rectangles):
11532 * emulation/cua-base.el (cua--init-keymaps):
11533 Add delete-forward-char to remappings (Bug#9666).
11534
11535 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11536
11537 * speedbar.el (speedbar-unhighlight-one-tag-line):
11538 Avoid unhighlighting due to frame switching (Bug#10275).
11539
11540 2012-03-10 Chong Yidong <cyd@gnu.org>
11541
11542 * minibuffer.el (completion-in-region, completion-help-at-point):
11543 Give the completion field overlay a high priority (Bug#6830).
11544
11545 * dired.el (dired-goto-file): Recognize absolute file name
11546 listings (Bug#7126).
11547 (dired-goto-file-1): New helper function.
11548 (dired-toggle-read-only): Inhibit warnings.
11549
11550 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11551
11552 * net/dbus.el (dbus-property-handler): Return empty array if
11553 there are no properties.
11554
11555 2012-03-09 Leo Liu <sdl.web@gmail.com>
11556
11557 * savehist.el (savehist-printable): Stricter check for string
11558 value (Bug#10937).
11559
11560 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11561
11562 * mail/smtpmail.el (smtpmail-send-it):
11563 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11564 valid mbox format.
11565
11566 2012-03-09 Glenn Morris <rgm@gnu.org>
11567
11568 * files.el (dir-locals-find-file):
11569 Don't check result is regular, readable.
11570 (dir-locals-read-from-file): Demote errors.
11571
11572 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11573
11574 * international/quail.el (quail-insert-kbd-layout):
11575 Insert invisible LRM characters before each character in a keyboard
11576 layout cell, to prevent their reordering by bidi display engine.
11577 For details, see the discussion in
11578 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11579
11580 2012-03-08 Alan Mackenzie <acm@muc.de>
11581
11582 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11583 the starting position; make it extend the marked region when
11584 invoked repeatedly - all under appropriate circumstances.
11585 Fixes bugs #5525, #10906.
11586
11587 2012-03-08 Glenn Morris <rgm@gnu.org>
11588
11589 * files.el (locate-dominating-file, dir-locals-find-file):
11590 Undo 2012-03-06 change.
11591
11592 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11593
11594 * international/quail.el (quail-help):
11595 Force bidi-paragraph-direction be left-to-right. See discussion in
11596 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11597 for the reason.
11598
11599 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11600
11601 Avoid superfluous registering of signals. (Bug#10807)
11602
11603 * notifications.el (notifications-on-action-object)
11604 (notifications-on-close-object): New defvars.
11605 (notifications-on-action-signal, notifications-on-closed-signal):
11606 Unregister the signal if not needed any longer.
11607 (notifications-notify): Register `notifications-action-signal' or
11608 `notifications-closed-signal', if :on-action or :on-close has been
11609 passed as argument.
11610
11611 2012-03-07 Chong Yidong <cyd@gnu.org>
11612
11613 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11614 non-X platforms.
11615
11616 2012-03-06 Glenn Morris <rgm@gnu.org>
11617
11618 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11619 (x-disown-selection-internal, x-get-selection-internal):
11620 Doc fix (add arglist signatures). (Bug#10783)
11621
11622 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11623
11624 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11625 Handle breakpoints with no "type".
11626
11627 2012-03-06 Glenn Morris <rgm@gnu.org>
11628
11629 * files.el (locate-dominating-file): Add optional predicate argument.
11630 (dir-locals-find-file): Make use of above change.
11631
11632 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11633
11634 * info.el (Info-insert-dir): Also try "dir.gz".
11635
11636 2012-03-06 Glenn Morris <rgm@gnu.org>
11637
11638 * files.el (dir-locals-find-file):
11639 Ignore non-readable or non-regular files. (Bug#10928)
11640
11641 * files.el (locate-dominating-file): Doc fix.
11642
11643 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11644
11645 * calendar/calendar.el (calendar-set-mode-line):
11646 `getenv' returns a string. (Bug#10951)
11647
11648 2012-03-05 Leo Liu <sdl.web@gmail.com>
11649
11650 * simple.el (backward-delete-char-untabify): Constrain point to
11651 field (Bug#10939).
11652
11653 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11654
11655 2012-03-05 Chong Yidong <cyd@gnu.org>
11656
11657 * simple.el (count-words): If called from Lisp, return the word
11658 count, for symmetry with `count-lines'. Arglist changed.
11659 (count-words--message): Args changed. Consolidate counting code
11660 from count-words and count-words-region.
11661 (count-words-region): Caller changed.
11662 (count-lines-region): Make it an obsolete alias.
11663
11664 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11665
11666 * saveplace.el (save-place-to-alist)
11667 (save-place-ignore-files-regexp): Allow value nil to disable this
11668 feature.
11669
11670 2012-03-04 Chong Yidong <cyd@gnu.org>
11671
11672 * faces.el (face-spec-reset-face): For the default face, reset the
11673 attributes to default values (Bug#10748).
11674
11675 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11676
11677 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11678 previous patch: Check `message-send-mail-function', and not the
11679 default function (bug#10897).
11680
11681 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11682
11683 * notifications.el (notifications-on-action-signal)
11684 (notifications-on-closed-signal): Check for unique service name of
11685 incoming event. Fix error in removing entry.
11686 (top): Register for signals with wildcard service name.
11687 (notifications-notify): Use daemon unique service name for map entries.
11688
11689 2012-03-04 Chong Yidong <cyd@gnu.org>
11690
11691 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11692
11693 2012-03-04 Glenn Morris <rgm@gnu.org>
11694
11695 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11696 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11697 (expand-abbrev, define-abbrev-table): Doc fixes.
11698
11699 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11700
11701 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11702 `message-default-send-mail-function' and not `send-mail-function'
11703 when doing the prompting for `sendmail-query-once' before sending
11704 in Message buffers (bug#10897).
11705
11706 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11707 This is inconsistent with all the other stream functions, which leave
11708 the setting up to the higher levels (if so wanted) (bug#10931).
11709
11710 2012-03-02 Alan Mackenzie <acm@muc.de>
11711
11712 Depessimize the handling of very large macros.
11713
11714 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11715 (c-macro-cache-syntactic): New variables to implement a one
11716 element macro cache.
11717 (c-invalidate-macro-cache): New function.
11718 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11719 Adapt to use the new cache.
11720 (c-state-safe-place): Use better the cache of safe positions.
11721 (c-state-semi-nonlit-pos-cache)
11722 (c-state-semi-nonlit-pos-cache-limit):
11723 New variables for...
11724 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11725 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11726 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11727 Use c-state-semi-safe-place.
11728
11729 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11730 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11731
11732 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11733
11734 * jka-compr.el (jka-compr-call-process):
11735 Apply `file-accessible-directory-p' only when the default directory is
11736 not remote.
11737
11738 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11739
11740 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11741 access of FILE2, if FILE1 does not exist.
11742
11743 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11744 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11745
11746 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11747 Add "PAGER=" to `process-environment'.
11748
11749 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11750
11751 * progmodes/sql.el: Bug fix
11752 (sql-get-login-ext): Save login values in globals.
11753 (sql-get-login): Use new version of `sql-get-login-ext'.
11754 (sql-interactive-mode): Set global `sql-connection' to nil.
11755 (sql-connect): Set global values for connection.
11756 (sql-product-interactive): Save global values as buffer local.
11757
11758 2012-02-29 Leo Liu <sdl.web@gmail.com>
11759
11760 * abbrev.el (define-abbrevs): Reset sys to nil.
11761
11762 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11763
11764 * files.el (file-equal-p): Rename from `files-equal-p'.
11765 Return nil when one or both files don't exist.
11766 (file-subdir-of-p): Now only top directory must exists,
11767 return nil if it doesn't.
11768 (copy-directory): No need to test with `file-subdir-of-p' after
11769 creating dir.
11770 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11771 to `file-equal-p'.
11772
11773 2012-02-28 Glenn Morris <rgm@gnu.org>
11774
11775 * shell.el (shell-mode):
11776 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11777 * play/landmark.el (landmark-font-lock-face-O):
11778 * play/handwrite.el (handwrite):
11779 * play/gomoku.el (gomoku-O):
11780 * net/browse-url.el (browse-url-browser-display):
11781 * international/mule.el (define-charset):
11782 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11783 * filesets.el (filesets-find-file-delay):
11784 * eshell/em-xtra.el (eshell-xtra):
11785 * eshell/em-unix.el (eshell-grep):
11786 * emulation/viper.el (viper-mode):
11787 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11788 * emacs-lisp/easymenu.el (easy-menu-define):
11789 * calendar/timeclock.el (timeclock-use-display-time):
11790 * bs.el (bs-mode):
11791 * bookmark.el (bookmark-save-flag):
11792 Doc fix (standardize possessive apostrophe usage).
11793
11794 2012-02-27 Chong Yidong <cyd@gnu.org>
11795
11796 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11797 Fix key-binding lookup for ESC key (Bug#9146).
11798
11799 * font-lock.el (font-lock-specified-p): Rename from
11800 font-lock-spec-present. Callers changed.
11801
11802 2012-02-27 Daniel Hackney <dan@haxney.org>
11803
11804 * emacs-lisp/package.el (package-compute-transaction):
11805 Handle holding a package version to t in package-load-list.
11806
11807 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11808
11809 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11810 (tramp-get-inode, tramp-get-device): Use cached values.
11811
11812 2012-02-26 Alan Mackenzie <acm@muc.de>
11813
11814 Check there is a font-lock specification before doing initial
11815 fontification.
11816
11817 * font-core.el (font-lock-mode): Move the conditional from
11818 :after-hook to font-lock-initial-fontify.
11819 (font-lock-default-function): Move the check for a specification
11820 to font-lock-spec-present.
11821
11822 * font-lock.el (font-lock-initial-fontify): Call ...
11823 (font-lock-spec-present): New function.
11824
11825 2012-02-26 Jim Blandy <jimb@red-bean.com>
11826
11827 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11828 (gdb-send): Apply it to the operand of the '-interpreter-exec
11829 console' command, so that we can pass arguments with (say) quotes
11830 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11831
11832 2012-02-26 Chong Yidong <cyd@gnu.org>
11833
11834 * help-fns.el (describe-function-1): Clarify description of
11835 remapping (Bug#10844).
11836
11837 * files.el (files-equal-p): Doc fix.
11838 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11839 and quit the loop once a mismatch is found.
11840
11841 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11842
11843 * bs.el (bs--show-with-configuration): Don't throw an error
11844 if the window cannot be split; otherwise, subsequent calls to
11845 bs-show fail, restoring a stale window config. (Bug#10882)
11846
11847 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11848
11849 * term/ns-win.el (global-map): Bind ns-drag-file to
11850 ns-find-file (Bug#5855, Bug#10050).
11851
11852 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11853
11854 * calendar/parse-time.el (parse-time-string): Allow extractor to
11855 return nil.
11856
11857 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11858
11859 * net/tramp.el (tramp-file-name-for-operation):
11860 Add `files-equal-p' and `file-subdir-of-p'.
11861
11862 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11863 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11864 Add COPY-CONTENTS argument.
11865
11866 2012-02-25 Chong Yidong <cyd@gnu.org>
11867
11868 Add custom groups for VC backends, for consistency with vc-bzr.
11869
11870 * vc/vc-arch.el (vc-arch):
11871 * vc/vc-cvs.el (vc-cvs):
11872 * vc/vc-git.el (vc-git):
11873 * vc/vc-hg.el (vc-hg):
11874 * vc/vc-mtn.el (vc-mtn):
11875 * vc/vc-rcs.el (vc-rcs):
11876 * vc/vc-sccs.el (vc-sccs):
11877 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11878 All relevant defcustoms reassigned.
11879
11880 2012-02-25 Chong Yidong <cyd@gnu.org>
11881
11882 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11883
11884 * term/x-win.el (x-initialize-window-system): Reduce default for
11885 x-selection-timeout to 5 seconds (Bug#8869).
11886
11887 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11888
11889 * files.el (files-equal-p, file-subdir-of-p): New functions.
11890 (copy-directory): Error when trying to copy a directory on itself.
11891 Add missing copy-contents arg to tramp handler.
11892 * dired-aux.el (dired-copy-file-recursive): Same.
11893 (dired-create-files): Modify destination when source is equal to
11894 dest when copying files.
11895 Return also when dest is a subdir of source. (Bug#10489)
11896
11897 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11898
11899 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11900 (Bug#10874)
11901
11902 2012-02-23 Alan Mackenzie <acm@muc.de>
11903
11904 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11905 parameter "after-hook:" to allow the expansion to run code after
11906 the execution of the mode hooks.
11907
11908 * font-lock.el (font-lock-initial-fontify): New function extracted
11909 from font-lock-mode-internal.
11910
11911 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11912 :after-hook.
11913
11914 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11915
11916 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11917 (completion--cache-all-sorted-completions): New function.
11918 (completion-all-sorted-completions): Use it.
11919 (completion--do-completion, minibuffer-force-complete):
11920 Use it to re-instate the flush hook.
11921
11922 * icomplete.el (icomplete-completions): Replace last fix with a better
11923 one (bug#10850).
11924
11925 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11926
11927 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11928 when it might call us back infinitely (bug#10797).
11929
11930 2012-02-23 Glenn Morris <rgm@gnu.org>
11931
11932 * minibuffer.el (completion-category-overrides): Doc fix.
11933
11934 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11935
11936 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11937 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11938
11939 2012-02-23 Glenn Morris <rgm@gnu.org>
11940
11941 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11942 (authors-obsolete-files-regexps, authors-ignored-files)
11943 (authors-ambiguous-files, authors-renamed-files-alist):
11944 Add more entries.
11945
11946 2012-02-23 Juri Linkov <juri@jurta.org>
11947
11948 * isearch.el (isearch-occur): Sync interactive spec with occur's
11949 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11950
11951 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11952
11953 2012-02-22 Juri Linkov <juri@jurta.org>
11954
11955 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11956 (ucs-insert): Doc fix. Check for hex digits in the string.
11957 Don't display `nil' in the error message. (Bug#10857)
11958
11959 2012-02-22 Alan Mackenzie <acm@muc.de>
11960
11961 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11962
11963 2012-02-22 Glenn Morris <rgm@gnu.org>
11964
11965 * ffap.el (ffap-c-path):
11966 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11967
11968 2012-02-22 Chong Yidong <cyd@gnu.org>
11969
11970 * custom.el (load-theme): Doc fix.
11971
11972 2012-02-22 Glenn Morris <rgm@gnu.org>
11973
11974 * dired-x.el (dired-guess-shell-alist-default):
11975 Remove escape sequences from nroff output. (Bug#172)
11976
11977 2012-02-21 Glenn Morris <rgm@gnu.org>
11978
11979 * vc/emerge.el (emerge-defvar-local):
11980 Set `permanent-local' property rather than unused `preserved'.
11981
11982 * textmodes/picture.el (picture-delete-char): New alias.
11983 (picture-mode-map): Use it. (Bug#10860)
11984 (picture-mode): Doc fix.
11985
11986 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11987
11988 * newcomment.el (uncomment-region-default): Remove unused binding.
11989
11990 2012-02-21 Glenn Morris <rgm@gnu.org>
11991
11992 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11993 (picture-self-insert, picture-tab-chars): Doc fix.
11994 (picture-mode-map): Fix C-a, C-e.
11995
11996 2012-02-20 Glenn Morris <rgm@gnu.org>
11997
11998 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11999
12000 2012-02-20 Leo Liu <sdl.web@gmail.com>
12001
12002 * icomplete.el (icomplete-completions): Check FROM arg before
12003 passing to substring (Bug#10850).
12004
12005 2012-02-19 Chong Yidong <cyd@gnu.org>
12006
12007 * comint.el: Require ansi-color.
12008 (comint-output-filter-functions): Add ansi-color-process-output.
12009
12010 * ansi-color.el: Don't set comint-output-filter-functions; it is
12011 now in the initial value defined in comint.el.
12012 (ansi-color-apply-face-function): New variable.
12013 (ansi-color-apply-on-region): Use it.
12014 (ansi-color-apply-overlay-face): New function.
12015
12016 * shell.el (shell): No need to require ansi-color.
12017 (shell-mode): Use ansi-color-apply-face-function to highlight
12018 color escapes using font-lock-face property (Bug#10835).
12019
12020 2012-02-19 Chong Yidong <cyd@gnu.org>
12021
12022 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
12023 mode-line formats (Bug#10839).
12024
12025 2012-02-18 Glenn Morris <rgm@gnu.org>
12026
12027 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
12028
12029 * mail/undigest.el (unforward-rmail-message): Doc fix.
12030
12031 * saveplace.el (save-place-ignore-files-regexp): Add :version.
12032
12033 2012-02-18 Eli Zaretskii <eliz@gnu.org>
12034
12035 * international/characters.el (script-list): Sync with the latest
12036 Unicode Character Database.
12037
12038 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
12039
12040 * international/titdic-cnv.el: Remove duplicate coding tag.
12041 * language/cham.el: Likewise.
12042 * language/tai-viet.el: Likewise.
12043
12044 2012-02-18 Glenn Morris <rgm@gnu.org>
12045
12046 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
12047 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
12048 (calendar-bahai-all-holidays-flag, calendar-other-dates):
12049 * calendar/diary-lib.el (diary-abbreviated-year-flag):
12050 * calendar/holidays.el (holiday-bahai-holidays)
12051 (calendar-holidays, list-holidays):
12052 Use utf-8 Bahá'í in doc-strings, menus, etc.
12053
12054 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
12055
12056 * saveplace.el (save-place-ignore-files-regexp): New variable
12057 allowing for excluding files from saving their location of point.
12058 The default value matches the temporary commit message editing
12059 files from Git, SVN, Bazaar, and Mercurial.
12060 (save-place-to-alist): Use it.
12061
12062 2012-02-17 Lawrence Mitchell <wence@gmx.li>
12063 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * newcomment.el (uncomment-region-default): Don't leave extra space
12066 when an arg is provided (bug#8150).
12067
12068 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
12069
12070 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
12071
12072 2012-02-17 Glenn Morris <rgm@gnu.org>
12073
12074 * net/socks.el: Require network-stream. (Bug#10599)
12075
12076 2012-02-17 Kenichi Handa <handa@m17n.org>
12077
12078 * international/charprop.el:
12079 * international/uni-name.el:
12080 * international/uni-old-name.el:
12081 * international/uni-comment.el: Regenerate.
12082
12083 2012-02-16 Glenn Morris <rgm@gnu.org>
12084
12085 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
12086 Interactively in calendar buffer, give an error if not on a date.
12087
12088 2012-02-15 Glenn Morris <rgm@gnu.org>
12089
12090 * shell.el (shell-delimiter-argument-list):
12091 Revert 2011-02-17 change. (Bug#8027)
12092
12093 2012-02-15 Chong Yidong <cyd@gnu.org>
12094
12095 * minibuffer.el (completion-at-point-functions): Doc fix.
12096
12097 * custom.el (defcustom): Doc fix; note use of defvar.
12098
12099 2012-02-15 Glenn Morris <rgm@gnu.org>
12100
12101 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12102 Doc fixes.
12103
12104 2012-02-14 Glenn Morris <rgm@gnu.org>
12105
12106 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12107
12108 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12109
12110 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12111 way the ports list is computed.
12112 (smtpmail-query-smtp-server): Prompt the user for a port number if
12113 we can't connect to any of the standard ports (bug#10810).
12114
12115 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12116
12117 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12118
12119 2012-02-13 Glenn Morris <rgm@gnu.org>
12120
12121 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12122
12123 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12124
12125 * net/gnutls.el (gnutls-trustfiles): New variable.
12126 (gnutls-negotiate): Use it.
12127
12128 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12129
12130 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12131 does its stuff if Gnus is running.
12132
12133 2012-02-13 Alan Mackenzie <acm@muc.de>
12134
12135 Fix a loop in c-set-fl-decl-start.
12136
12137 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12138 c-backward-syntactic-ws actually moves backwards.
12139
12140 2012-02-13 Leo Liu <sdl.web@gmail.com>
12141
12142 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12143 beginning so that all \C-o chars are removed.
12144
12145 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12146
12147 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12148
12149 2012-02-12 Alan Mackenzie <acm@muc.de>
12150
12151 Fix infinite loop with long macros.
12152 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12153
12154 2012-02-12 Chong Yidong <cyd@gnu.org>
12155
12156 * window.el (display-buffer): Doc fix (Bug#10785).
12157
12158 2012-02-12 Glenn Morris <rgm@gnu.org>
12159
12160 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12161 (x-disown-selection-internal, x-get-selection-internal):
12162 Sync docs with the xselect.c versions.
12163
12164 * allout-widgets.el: Add missing license notice.
12165
12166 2012-02-11 Glenn Morris <rgm@gnu.org>
12167
12168 * select.el (x-get-selection-internal, x-own-selection-internal)
12169 (x-disown-selection-internal):
12170 * x-dnd.el (x-get-selection-internal): Update declarations.
12171
12172 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12173
12174 * window.el (window-sides-slots):
12175 * tool-bar.el (tool-bar-position):
12176 * term/xterm.el (xterm-extra-capabilities):
12177 * ses.el (ses-self-reference-early-detection):
12178 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12179 (verilog-auto-wire-type)
12180 (verilog-auto-delete-trailing-whitespace)
12181 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12182 (verilog-auto-tieoff-declaration):
12183 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12184 (sql-oracle-statement-starters, sql-oracle-scan-on):
12185 * progmodes/prolog.el (prolog-align-comments-flag)
12186 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12187 (prolog-left-indent-regexp, prolog-paren-indent-p)
12188 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12189 (prolog-types, prolog-mode-specificators)
12190 (prolog-determinism-specificators, prolog-directives)
12191 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12192 (prolog-electric-dot-flag)
12193 (prolog-electric-dot-full-predicate-template)
12194 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12195 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12196 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12197 (prolog-program-switches, prolog-prompt-regexp)
12198 (prolog-debug-on-string, prolog-debug-off-string)
12199 (prolog-trace-on-string, prolog-trace-off-string)
12200 (prolog-zip-on-string, prolog-zip-off-string)
12201 (prolog-use-standard-consult-compile-method-flag)
12202 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12203 (prolog-imenu-max-lines, prolog-info-predicate-index)
12204 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12205 (prolog-char-quote-workaround):
12206 * progmodes/cc-vars.el (c-defun-tactic):
12207 * net/tramp.el (tramp-encoding-command-interactive)
12208 (tramp-local-end-of-line):
12209 * net/soap-client.el (soap-client):
12210 * net/netrc.el (netrc-file):
12211 * net/gnutls.el (gnutls):
12212 * minibuffer.el (completion-category-overrides)
12213 (completion-cycle-threshold)
12214 (completion-pcm-complete-word-inserts-delimiters):
12215 * man.el (Man-name-local-regexp):
12216 * mail/feedmail.el (feedmail-display-full-frame):
12217 * international/characters.el (glyphless-char-display-control):
12218 * eshell/em-ls.el (eshell-ls-date-format):
12219 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12220 (lisp-lambda-list-keyword-parameter-indentation)
12221 (lisp-lambda-list-keyword-parameter-alignment):
12222 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12223 * dired-x.el (dired-omit-verbose):
12224 * cus-theme.el (custom-theme-allow-multiple-selections):
12225 * calc/calc.el (calc-highlight-selections-with-faces)
12226 (calc-lu-field-reference, calc-lu-power-reference)
12227 (calc-note-threshold):
12228 * battery.el (battery-mode-line-limit):
12229 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12230 (archive-7z-update):
12231 * allout.el (allout-prefixed-keybindings)
12232 (allout-unprefixed-keybindings)
12233 (allout-inhibit-auto-fill-on-headline)
12234 (allout-flattened-numbering-abbreviation):
12235 * allout-widgets.el (allout-widgets-auto-activation)
12236 (allout-widgets-icons-dark-subdir)
12237 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12238 (allout-widgets-theme-dark-background)
12239 (allout-widgets-theme-light-background)
12240 (allout-widgets-item-image-properties-emacs)
12241 (allout-widgets-item-image-properties-xemacs)
12242 (allout-widgets-run-unit-tests-on-load)
12243 (allout-widgets-time-decoration-activity)
12244 (allout-widgets-hook-error-post-time)
12245 (allout-widgets-track-decoration):
12246 Add missing :version tags to new defcustoms and defgroups.
12247
12248 * progmodes/sql.el (sql-ansi-statement-starters)
12249 (sql-oracle-statement-starters): Add custom type.
12250
12251 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12252 (prolog-system-version): Give it a type.
12253
12254 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12255
12256 * term/pc-win.el (x-select-text, x-selection-owner-p)
12257 (x-own-selection-internal, x-disown-selection-internal)
12258 (x-get-selection-internal): Sync doc strings and argument lists
12259 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12260
12261 2012-02-11 Leo Liu <sdl.web@gmail.com>
12262
12263 * progmodes/python.el (python-end-of-statement): Fix infinite
12264 loop. (Bug#10788)
12265
12266 2012-02-10 Glenn Morris <rgm@gnu.org>
12267
12268 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12269 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12270
12271 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12272
12273 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12274 about SMTP before checking the From header.
12275
12276 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12277 into own function for reuse by emacsbug.el.
12278
12279 2012-02-10 Leo Liu <sdl.web@gmail.com>
12280
12281 * subr.el (condition-case-unless-debug): Rename from
12282 condition-case-no-debug. All callers changed.
12283 (with-demoted-errors): Fix caller.
12284
12285 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12286 * nxml/rng-valid.el (rng-do-some-validation):
12287 * emacs-lisp/package.el (package-refresh-contents)
12288 (package-menu-execute):
12289 * desktop.el (desktop-create-buffer):
12290 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12291
12292 2012-02-10 Glenn Morris <rgm@gnu.org>
12293
12294 * textmodes/bibtex.el:
12295 Add missing :version tags for new/changed defcustoms.
12296
12297 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12298
12299 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12300
12301 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12302 (smtpmail-via-smtp): Use it, or fall back on the From address.
12303 (smtpmail-send-it): Ditto.
12304
12305 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12306
12307 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12308 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12309 (byte-compile-tmp-var): New const.
12310 (byte-compile-defvar): Use it to minimize .elc size.
12311 Just use `defvar' rather than simulate it (bug#10761).
12312
12313 2012-02-09 Glenn Morris <rgm@gnu.org>
12314
12315 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12316
12317 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12318 Add :version tags.
12319
12320 * progmodes/compile.el (compilation-error-screen-columns)
12321 (compilation-first-column, compilation-filter-start): Doc fixes.
12322
12323 * vc/log-view.el (log-view-toggle-entry-display):
12324 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12325
12326 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12327 (report-emacs-bug-can-use-xdg-email):
12328 (report-emacs-bug-insert-to-mailer): Doc fixes.
12329 (report-emacs-bug): Message fix.
12330
12331 * net/browse-url.el (browse-url-can-use-xdg-open)
12332 (browse-url-xdg-open): Doc fixes.
12333
12334 * electric.el (electric-indent-mode, electric-pair-mode)
12335 (electric-layout-rules, electric-layout-mode): Doc fixes.
12336 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12337
12338 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12339
12340 * server.el (server-unselect-display): Don't inadvertently kill
12341 the current buffer. (Bug#10729)
12342
12343 2012-02-08 Glenn Morris <rgm@gnu.org>
12344
12345 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12346 (sql-list-table): Doc fixes.
12347
12348 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12349 Comment out (does nothing).
12350
12351 * completion.el (dynamic-completion-mode):
12352 * dirtrack.el (dirtrack-debug-mode):
12353 * electric.el (electric-layout-mode):
12354 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12355 * face-remap.el (text-scale-mode, buffer-face-mode):
12356 * iimage.el (iimage-mode):
12357 * image-mode.el (image-transform-mode):
12358 * minibuffer.el (completion-in-region-mode):
12359 * scroll-lock.el (scroll-lock-mode):
12360 * simple.el (next-error-follow-minor-mode):
12361 * tar-mode.el (tar-subfile-mode):
12362 * tooltip.el (tooltip-mode):
12363 * vcursor.el (vcursor-use-vcursor-map):
12364 * wid-browse.el (widget-minor-mode):
12365 * emulation/tpu-edt.el (tpu-edt-mode):
12366 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12367 * international/iso-ascii.el (iso-ascii-mode):
12368 * language/thai-util.el (thai-word-mode):
12369 * mail/supercite.el (sc-minor-mode):
12370 * net/goto-addr.el (goto-address-mode):
12371 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12372 * progmodes/cwarn.el (cwarn-mode):
12373 * progmodes/flymake.el (flymake-mode):
12374 * progmodes/glasses.el (glasses-mode):
12375 * progmodes/hideshow.el (hs-minor-mode):
12376 * progmodes/pascal.el (pascal-outline-mode):
12377 * textmodes/enriched.el (enriched-mode):
12378 * vc/smerge-mode.el (smerge-mode):
12379 Doc fixes (minor mode argument).
12380
12381 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12382
12383 * ls-lisp.el (ls-lisp-sanitize): New function.
12384 (ls-lisp-insert-directory): Use it to fix or remove any elements
12385 in file-alist with missing attributes. (Bug#4673)
12386
12387 2012-02-07 Alan Mackenzie <acm@muc.de>
12388
12389 Fix spurious recognition of c-in-knr-argdecl.
12390
12391 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12392 putative K&R region.
12393
12394 2012-02-07 Alan Mackenzie <acm@muc.de>
12395
12396 * progmodes/cc-engine.el (c-forward-objc-directive):
12397 Prevent looping in "#pragma mark @implementation".
12398
12399 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12400
12401 * notifications.el (notifications-on-closed-signal): Make `reason'
12402 optional. (Bug#10744)
12403
12404 2012-02-07 Glenn Morris <rgm@gnu.org>
12405
12406 * emacs-lisp/easy-mmode.el (define-minor-mode):
12407 Doc fixes for the macro and the mode it defines.
12408
12409 * image.el (imagemagick-types-inhibit): Doc fix.
12410
12411 * cus-start.el (imagemagick-render-type): Add it.
12412
12413 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12414
12415 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12416 Set the default at load time, too, so that `font-lock-fontify-buffer'
12417 can be called without setting up the entire mode first. This fixes
12418 a bug in `mm-inline-text' with C MIME parts.
12419
12420 2012-02-06 Chong Yidong <cyd@gnu.org>
12421
12422 * simple.el (list-processes--refresh): Delete exited processes
12423 (Bug#8094).
12424
12425 * comint.el (comint-next-prompt): next-single-char-property-change
12426 and prev-single-char-property-change never return nil (Bug#8657).
12427
12428 * custom.el (defcustom): Doc fix (Bug#9711).
12429
12430 2012-02-05 Chong Yidong <cyd@gnu.org>
12431
12432 * cus-edit.el (custom-variable-reset-backup): Quote the value
12433 before storing it in the customized-value property (Bug#6712).
12434 (custom-display): Add a customization type tag.
12435 (custom-buffer-create-internal): Improve tooltip message.
12436
12437 * wid-edit.el (widget-field-value-get): New optional arg to
12438 suppress trailing whitespace truncation.
12439 (character): Use it (Bug#2689).
12440
12441 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12442
12443 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12444 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12445
12446 2012-02-05 Chong Yidong <cyd@gnu.org>
12447
12448 * cus-edit.el (custom-variable-value-create): For mismatched
12449 types, show the current value (Bug#7600).
12450
12451 * custom.el (defcustom): Doc fix.
12452
12453 2012-02-05 Glenn Morris <rgm@gnu.org>
12454
12455 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12456
12457 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12458
12459 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12460 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12461 (pp-last-sexp): Use `looking-at-p'.
12462
12463 2012-02-04 Glenn Morris <rgm@gnu.org>
12464
12465 * files.el (revert-buffer):
12466 Doc fix (mention revert-buffer-in-progress-p).
12467
12468 * emacs-lisp/ert-x.el (ert-simulate-command):
12469 Check deferred-action-list (which is obsolete) is bound.
12470
12471 * subr.el (with-wrapper-hook): Doc fixes.
12472
12473 * simple.el (filter-buffer-substring-functions)
12474 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12475
12476 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12477
12478 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12479 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12480
12481 2012-02-04 Leo Liu <sdl.web@gmail.com>
12482
12483 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12484
12485 2012-02-04 Glenn Morris <rgm@gnu.org>
12486
12487 * image.el (image-extension-data): Add obsolete alias.
12488
12489 * isearch.el (isearch-update): Doc fix.
12490
12491 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12492
12493 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12494
12495 2012-02-03 Glenn Morris <rgm@gnu.org>
12496
12497 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12498 (image-animate-timeout): Doc fix.
12499
12500 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12501
12502 2012-02-02 Glenn Morris <rgm@gnu.org>
12503
12504 * server.el (server-auth-dir): Doc fix.
12505 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12506
12507 * subr.el (run-mode-hooks): Doc fix.
12508
12509 2012-02-02 Juri Linkov <juri@jurta.org>
12510
12511 * image-mode.el (image-toggle-display-image): Remove tautological
12512 `major-mode' from the `derived-mode-p' test.
12513
12514 2012-02-02 Kenichi Handa <handa@m17n.org>
12515
12516 * composite.el (compose-region): Cancel previous change.
12517
12518 2012-02-02 Kenichi Handa <handa@m17n.org>
12519
12520 * composite.el (compose-region, compose-string): Signal error for
12521 a null string component (Bug#6988).
12522
12523 2012-02-01 Chong Yidong <cyd@gnu.org>
12524
12525 * view.el (view-buffer-other-window, view-buffer-other-frame):
12526 Handle special modes like view-buffer (Bug#10650).
12527 (view-buffer): Simplify.
12528
12529 * frame.el (set-frame-font): Tweak meaning of third argument.
12530
12531 * dynamic-setting.el (font-setting-change-default-font):
12532 Use set-frame-font (Bug#9982).
12533
12534 2012-02-01 Glenn Morris <rgm@gnu.org>
12535
12536 * progmodes/compile.el (compilation-internal-error-properties):
12537 Respect compilation-first-column in the "*compilation*" buffer.
12538
12539 * emacs-lisp/easy-mmode.el (define-minor-mode):
12540 Relax :variable's test for a named function.
12541
12542 2012-01-31 Alan Mackenzie <acm@muc.de>
12543
12544 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12545 off by one error.
12546
12547 2012-01-31 Chong Yidong <cyd@gnu.org>
12548
12549 * frame.el (set-frame-font): New arg ALL-FRAMES.
12550
12551 * menu-bar.el (menu-set-font): Use set-frame-font.
12552
12553 * faces.el (face-spec-reset-face): Don't apply unspecified
12554 attribute values to the default face.
12555
12556 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12557
12558 * progmodes/cwarn.el (cwarn): Remove dead link.
12559 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12560 Remove * from defcustom docstrings.
12561 (turn-on-cwarn-mode): Make obsolete.
12562 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12563 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12564
12565 2012-01-31 Glenn Morris <rgm@gnu.org>
12566
12567 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12568 Fix :variable handling of mode a symbol not equal to modefun.
12569 Allow named functions to be used as the cdr of :variable.
12570
12571 2012-01-30 Glenn Morris <rgm@gnu.org>
12572
12573 * emacs-lisp/authors.el (authors-fixed-entries):
12574 Remove reference to deleted file rnewspost.el.
12575
12576 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12577
12578 * window.el (window-with-parameter): Remove unused variable `windows'.
12579 (window--side-check): Remove unused variable `code'.
12580 (window--resize-siblings): Remove unused variable `first'.
12581 (adjust-window-trailing-edge): Remove unused variable `failed'.
12582 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12583 Use `let', not `let*'.
12584 (balance-windows-2): Remove unused variable `found'.
12585 (window--state-put-2): Remove unused variable `splits'.
12586 (window-state-put): Remove unused variable `selected'.
12587 (same-window-p): Use `string-match-p'.
12588 (display-buffer-assq-regexp): Remove unused variable `value'.
12589 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12590 Mark argument ALIST as ignored.
12591 (pop-to-buffer): Remove unused variable `old-window'.
12592
12593 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12594
12595 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12596 and .lzma compressed files.
12597
12598 2012-01-29 Chong Yidong <cyd@gnu.org>
12599
12600 * frame.el (window-system-default-frame-alist): Doc fix.
12601
12602 * dynamic-setting.el (font-setting-change-default-font): Don't
12603 change the default face if SET-FONT argument is non-nil (Bug#9982).
12604
12605 2012-01-29 Samuel Bronson <naesten@gmail.com>
12606
12607 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12608
12609 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12610
12611 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12612 breakpoints in files outside current directory (Bug#6098).
12613
12614 2012-01-29 Chong Yidong <cyd@gnu.org>
12615
12616 * progmodes/python.el: Require ansi-color at top-level.
12617
12618 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12619 Define and use in Emacs Lisp mode (Bug#9360).
12620 (lisp-mode-abbrev-table): Add doc.
12621 (lisp-mode-variables): Don't set local-abbrev-table.
12622 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12623
12624 2012-01-28 Roland Winkler <winkler@gnu.org>
12625
12626 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12627
12628 2012-01-28 Roland Winkler <winkler@gnu.org>
12629
12630 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12631 (bibtex-set-dialect): Use it. Either set global values of
12632 dialect-dependent variables or bind these variables buffer-locally
12633 (Bug#10254).
12634 (bibtex-mode): Call bibtex-set-dialect via
12635 hack-local-variables-hook.
12636 (bibtex-dialect): Update docstring.
12637 Add safe-local-variable predicate.
12638 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12639 bibtex-set-dialect.
12640 (bibtex-mode-map): Define menu for each dialect.
12641 (bibtex-entry): Fix docstring.
12642
12643 2012-01-28 Chong Yidong <cyd@gnu.org>
12644
12645 * eshell/esh-arg.el (eshell-quote-argument): New function.
12646
12647 * eshell/esh-ext.el (eshell-invoke-batch-file):
12648 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12649 first arg to eshell-parse-command (Bug#10523).
12650
12651 2012-01-28 Drew Adams <drew.adams@oracle.com>
12652
12653 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12654 `default-directory' is non-nil.
12655
12656 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12657
12658 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12659 line that displays system-configuration-options. (Bug#9924)
12660
12661 2012-01-28 Drew Adams <drew.adams@oracle.com>
12662
12663 * descr-text.el (describe-char): Show information about POS, in
12664 addition to information about the character at POS. Improve and
12665 update the doc string. Change "code point" to "code point in
12666 charset", to avoid confusion with the character's Unicode code
12667 point shown above that. (Bug#10129)
12668
12669 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12670
12671 * descr-text.el (describe-char): Show the raw character, not only
12672 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12673 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12674 for the reasons.
12675
12676 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12677
12678 * emacs-lisp/package.el (package-install):
12679 Run package-refresh-contents if there is no archive yet (Bug#9798).
12680
12681 2012-01-28 Chong Yidong <cyd@gnu.org>
12682
12683 * emacs-lisp/package.el (package-maybe-load-descriptor):
12684 New function, split from package-maybe-load-descriptor.
12685 (package-maybe-load-descriptor): Use it.
12686 (package-download-transaction): Fully load required packages
12687 inside the loop, so that `require' calls work (Bug#10593).
12688 (package-install): No need to call package-initialize now.
12689
12690 2012-01-28 Chong Yidong <cyd@gnu.org>
12691
12692 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12693
12694 * tooltip.el (tooltip-mode): Doc fix.
12695 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12696
12697 * frame.el (set-cursor-color): Doc fix (Bug#352).
12698
12699 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12700 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12701
12702 * cus-edit.el (custom-buffer-create-internal): Fix search button
12703 action (Bug#10542).
12704 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12705
12706 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12707
12708 * dired.el (dired-mark-files-regexp):
12709 Include any subdirectory components. (Bug#10445)
12710
12711 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12712
12713 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12714 Handle [host]:port syntax. (Bug#10533)
12715
12716 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12717
12718 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12719
12720 2012-01-26 Glenn Morris <rgm@gnu.org>
12721
12722 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12723 * term.el (term-raw-escape-map): Use Control-X-prefix.
12724 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12725
12726 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12727
12728 * window.el (window-state-get, window--state-get-1): Don't deal
12729 with fixed-sizeness of windows. Simplify code.
12730
12731 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12732
12733 * window.el (window--state-get-1, window--state-put-2):
12734 Don't save and restore the mark.
12735
12736 2012-01-25 Chong Yidong <cyd@gnu.org>
12737
12738 * custom.el (custom-variable-p): Doc fix.
12739
12740 2012-01-25 Glenn Morris <rgm@gnu.org>
12741
12742 * dired.el (dired-goto-file): Handle some of the more common
12743 characters that `ls -b' escapes. (Bug#10596)
12744
12745 * progmodes/compile.el (compilation-next-error-function):
12746 Respect compilation-first-column in the "*compilation*" buffer.
12747 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12748
12749 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12750
12751 2012-01-24 Glenn Morris <rgm@gnu.org>
12752
12753 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12754
12755 2012-01-24 Julien Danjou <julien@danjou.info>
12756
12757 * color.el (color-rgb-to-hsl): Fix value computing.
12758 (color-hue-to-rgb): New function.
12759 (color-hsl-to-rgb): New function.
12760 (color-clamp, color-saturate-hsl, color-saturate-name)
12761 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12762 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12763
12764 2012-01-24 Glenn Morris <rgm@gnu.org>
12765
12766 * vc/vc-rcs.el (vc-rcs-create-tag):
12767 * vc/vc-sccs.el (vc-sccs-create-tag):
12768 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12769
12770 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12771
12772 * eshell/esh-util.el (eshell-read-hosts-file):
12773 Skip comment lines. (Bug#10549)
12774
12775 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12776
12777 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12778
12779 * subr.el (display-delayed-warnings): Doc fix.
12780 (collapse-delayed-warnings): New function to collapse identical
12781 adjacent warnings.
12782 (delayed-warnings-hook): Add it.
12783
12784 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12785
12786 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12787
12788 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12789 (tramp-default-user-alist): Don't add "pscp".
12790 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12791 property "login-as", if set. (Bug#10530)
12792
12793 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12794
12795 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12796 "plink1" and "psftp". (Bug#10530)
12797
12798 2012-01-21 Kenichi Handa <handa@m17n.org>
12799
12800 * international/mule-cmds.el (prefer-coding-system): Show a
12801 warning message if the default value of file-name-coding-system
12802 was not changed.
12803
12804 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12805
12806 * windmove.el (windmove-reference-loc):
12807 Fix windmove-reference-loc miscalculation.
12808
12809 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12810
12811 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12812 default unit.
12813
12814 2012-01-21 Glenn Morris <rgm@gnu.org>
12815
12816 * international/mule.el (auto-coding-alist): Add .tbz.
12817
12818 * files.el (local-enable-local-variables): Doc fix.
12819 (inhibit-local-variables-regexps): Rename from
12820 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12821 Doc fix. Add some extensions from auto-coding-alist.
12822 (inhibit-local-variables-suffixes):
12823 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12824 (inhibit-local-variables-p):
12825 New function, extracted from set-auto-mode-1.
12826 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12827 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12828 (hack-local-variables): Doc fix. Make the mode-only case
12829 respect enable-local-variables and friends.
12830 Respect inhibit-local-variables-regexps for file-locals, but
12831 not for directory-locals.
12832 (set-visited-file-name):
12833 Take account of inhibit-local-variables-regexps.
12834 Whether it applies may change as the file name is changed.
12835 * jka-cmpr-hook.el (jka-compr-install):
12836 * jka-compr.el (jka-compr-uninstall):
12837 Update for inhibit-first-line-modes-suffixes name change.
12838
12839 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12840
12841 * help-macro.el (make-help-screen): Temporarily restore original
12842 binding for minor-mode-map-alist (Bug#10454).
12843
12844 2012-01-19 Julien Danjou <julien@danjou.info>
12845
12846 * color.el (color-name-to-rgb): Use the white color to find the max
12847 color component value and return correctly computed values.
12848 (color-name-to-rgb): Add missing float conversion for max value.
12849
12850 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12851
12852 * window.el (window--state-get-1, window-state-get): Do not use
12853 special state value for window-persistent-parameters.
12854 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12855 (window--state-put-2): Reset all window parameters to nil before
12856 assigning values of persistent parameters.
12857
12858 2012-01-18 Alan Mackenzie <acm@muc.de>
12859
12860 Eliminate sluggishness and hangs in fontification of "semicolon
12861 deserts".
12862
12863 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12864 Change value 10000 -> 3000.
12865 (c-state-safe-place): Reformulate so it doesn't stack up an
12866 infinite number of wrong entries in c-state-nonlit-pos-cache.
12867 (c-determine-limit-get-base, c-determine-limit): New functions to
12868 determine backward search limits disregarding literals.
12869 (c-find-decl-spots): Amend commenting.
12870 (c-cheap-inside-bracelist-p): New function which detects "={".
12871
12872 * progmodes/cc-fonts.el
12873 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12874 backward search.
12875 (c-font-lock-declarations): Fix an occurrence of point being
12876 undefined. Check additionally for point being in a bracelist or
12877 near a macro invocation without a semicolon so as to avoid a
12878 fruitless time consuming search for a declarator. Give a more
12879 precise search limit for declarators using the new
12880 c-determine-limit.
12881
12882 2012-01-18 Glenn Morris <rgm@gnu.org>
12883
12884 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12885 (set-auto-mode): Doc fixes.
12886
12887 2012-01-17 Glenn Morris <rgm@gnu.org>
12888
12889 * isearch.el (search-nonincremental-instead): Fix doc typo.
12890
12891 * dired.el (dired-insert-directory): Handle newlines in directory name.
12892 (dired-build-subdir-alist): Unescape newlines in directory name.
12893
12894 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12895
12896 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12897 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12898 (tramp-action-terminal): Use it. (Bug#10530)
12899
12900 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12901
12902 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12903
12904 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12905
12906 * window.el (window-state-ignored-parameters): Remove variable.
12907 (window--state-get-1): Rename argument MARKERS to IGNORE.
12908 Handle persistent window parameters. Make copy of clone-of
12909 parameter only if requested. (Bug#10348)
12910 (window--state-put-2): Install a window parameter only if it has
12911 a non-nil value or an existing parameter shall be overwritten.
12912
12913 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12914
12915 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12916
12917 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12918
12919 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12920 don't pass the (nil) value of `upnode' to string-match.
12921
12922 2012-01-14 Chong Yidong <cyd@gnu.org>
12923
12924 * startup.el (command-line): Fix X resource class for cursorColor.
12925 Fix values recognized by the cursorBlink resource.
12926
12927 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12928
12929 * epg.el (epg--make-temp-file): Avoid permission race condition
12930 when running on old Emacs versions (bug#10403).
12931
12932 2012-01-14 Glenn Morris <rgm@gnu.org>
12933
12934 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12935
12936 2012-01-13 Alan Mackenzie <acm@muc.de>
12937
12938 Fix filling for when filladapt mode is enabled.
12939
12940 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12941 c-mask-paragraph, pass in `fill-paragraph' rather than
12942 `fill-region-as-paragraph'. (This is a reversion of a previous
12943 change.)
12944 * progmodes/cc-mode.el (c-basic-common-init):
12945 Make fill-paragraph-handle-comment buffer local and set it to nil.
12946
12947 2012-01-13 Glenn Morris <rgm@gnu.org>
12948
12949 * dired.el (dired-switches-escape-p): New function.
12950 (dired-insert-directory): Use dired-switches-escape-p.
12951 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12952
12953 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12954
12955 2012-01-12 Glenn Morris <rgm@gnu.org>
12956
12957 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12958 changes in adaptive-fill-regexp. (Bug#10276)
12959
12960 2012-01-11 Alan Mackenzie <acm@muc.de>
12961
12962 Fix Emacs bug #10463 - put `widen's around the critical spots.
12963
12964 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12965 widen around each invocation of c-state-pp-to-literal. Remove an
12966 unused let variable.
12967
12968 2012-01-11 Glenn Morris <rgm@gnu.org>
12969
12970 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12971 Doc fix.
12972
12973 2012-01-10 Chong Yidong <cyd@gnu.org>
12974
12975 * net/network-stream.el (network-stream-open-starttls):
12976 Avoid emitting a confusing error message when the server gives a bad
12977 response to the capability command.
12978
12979 2012-01-10 Glenn Morris <rgm@gnu.org>
12980
12981 * mail/unrmail.el (unrmail): Tweak previous change.
12982
12983 2012-01-09 Chong Yidong <cyd@gnu.org>
12984
12985 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12986
12987 2012-01-08 Alan Mackenzie <acm@muc.de>
12988
12989 Optimise font locking in long enum definitions.
12990
12991 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12992 arm to a cond form to handle enums.
12993 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12994 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12995
12996 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12997
12998 * files.el (move-file-to-trash): Preserve default file modes on error.
12999 (Bug#10401)
13000
13001 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13002
13003 * faces.el (set-face-attribute): Clarify the meaning of the nil
13004 frame (bug#10294).
13005
13006 * subr.el (with-selected-frame): Mention that the selected frame
13007 is restored (bug#9980).
13008
13009 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
13010 (bug#9759).
13011
13012 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
13013 (password-read): Don't autoload unused function.
13014
13015 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
13016
13017 * progmodes/which-func.el (which-func-mode): Turn into a
13018 non-interactive function and mark as obsolete (bug#10428).
13019
13020 2012-01-06 Chong Yidong <cyd@gnu.org>
13021
13022 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
13023 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
13024 functions, along with 1 and -1.
13025
13026 2012-01-06 Eli Zaretskii <eliz@gnu.org>
13027
13028 * time.el (display-time-load-average)
13029 (display-time-default-load-average): Doc fixes. See the thread
13030 starting at
13031 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
13032 for the details.
13033
13034 2012-01-06 Glenn Morris <rgm@gnu.org>
13035
13036 * mail/unrmail.el (unrmail): Give an explicit error if the input file
13037 has no messages. (Bug#10377)
13038
13039 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
13040 than Info-edit. (Bug#10385)
13041
13042 * time.el (display-time-load-average, display-time-next-load-average):
13043 Doc fixes.
13044
13045 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
13046 local setting of buffer-read-only to the input buffer. (Bug#10419)
13047
13048 * calendar/calendar.el (calendar-mode):
13049 Locally set scroll-margin to 0. (Bug#10379)
13050
13051 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
13052
13053 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
13054
13055 2012-01-05 Glenn Morris <rgm@gnu.org>
13056
13057 * eshell/em-unix.el (diff-no-select): Autoload it.
13058 (eshell/diff): Use diff-no-select. (Bug#10420)
13059
13060 2012-01-05 Chong Yidong <cyd@gnu.org>
13061
13062 * shell.el (shell-dynamic-complete-functions): Revert last change.
13063 (shell-command-completion-function): New function.
13064 (shell-completion-vars): Use it to implement
13065 shell-completion-execonly (Bug#10417).
13066
13067 * custom.el (enable-theme): Don't set custom-safe-themes.
13068
13069 * cus-theme.el (custom-theme-merge-theme):
13070 Ignore custom-enabled-themes and custom-safe-themes.
13071
13072 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
13073
13074 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
13075 first prompt in `sql-interacive-mode'.
13076 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
13077 keywords.
13078 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
13079 (sql-product-interactive): Bug fix: Set `sql-buffer' in
13080 context of original buffer. Invoke `sql-login-hook'.
13081
13082 2012-01-04 Eli Zaretskii <eliz@gnu.org>
13083
13084 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
13085 letters in cite-prefix.
13086
13087 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
13090
13091 2012-01-03 Chong Yidong <cyd@gnu.org>
13092
13093 * shell.el (shell-dynamic-complete-functions):
13094 Put pcomplete-completions-at-point, so as to try
13095 comint-filename-completion first (Bug#10417).
13096
13097 2012-01-02 Richard Stallman <rms@gnu.org>
13098
13099 * battery.el (battery-status-function):
13100 Detect when to use battery-yeeloong-sysfs.
13101 (battery-echo-area-format): Add string for Yeeloong.
13102 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13103 (battery-yeeloong-sysfs): New function.
13104
13105 2012-01-02 Chong Yidong <cyd@gnu.org>
13106
13107 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13108 (dirtrack): Merge code for handling relative filenames in prompt
13109 from shell-dir-cookie-watcher.
13110 (dirtrack-debug-message): New arg to avoid excess format calls.
13111
13112 * shell.el (shell-dir-cookie-re): Variable deleted.
13113 (shell-dir-cookie-watcher): Function deleted.
13114 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13115 with dirtrack-mode.
13116
13117 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13118
13119 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13120 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13121 libgnutls-26.dll.
13122
13123 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13124
13125 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13126
13127 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13128
13129 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13130 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13131
13132 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13133
13134 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13135 also for alternative shells.
13136 (tramp-open-connection-setup-interactive-shell): Check, whether
13137 the shell is a busybox.
13138 (tramp-send-command): Don't suppress multiple prompts for
13139 busyboxes, it hurts.
13140
13141 2011-12-28 Chong Yidong <cyd@gnu.org>
13142
13143 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13144 (gdb-get-source-file): Move mode line update to
13145 gdb-get-source-file (Bug#10087).
13146
13147 2011-12-25 Chong Yidong <cyd@gnu.org>
13148
13149 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13150 gud-gdb-marker-filter without taking it as an argument.
13151 (gud-gdb-run-command-fetch-lines): Caller changed.
13152 (gud-gdb-completion-function): New variable.
13153 (gud-gdb-completion-at-point): Use it.
13154 (gud-gdb-completions-1): Split from gud-gdb-completions.
13155
13156 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13157 function as separate arguments.
13158 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13159 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13160 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13161 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13162 (gdb-stopped, def-gdb-auto-update-trigger)
13163 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13164 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13165 Callers changed.
13166 (gud-gdbmi-completions): New function.
13167 (gdb): Use it for generating the completion table.
13168
13169 2011-12-24 Alan Mackenzie <acm@muc.de>
13170
13171 Introduce a mechanism to widen the region used in context font
13172 locking. Use this to protect declarations from losing their contexts.
13173
13174 * progmodes/cc-langs.el (c-before-font-lock-functions):
13175 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13176 (c-before-context-fontification-functions): New defvar, a list of
13177 functions to be run just before context (etc.) font locking.
13178
13179 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13180 New, functionality extracted from
13181 c-neutralize-syntax-in-and-mark-CPP.
13182 (c-in-after-change-fontification): New variable.
13183 (c-after-change): Set c-in-after-change-fontification.
13184 (c-set-fl-decl-start): Rejig its interface, so it can be called
13185 from both after-change and context fontifying.
13186 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13187 New functions.
13188 (c-standard-font-lock-fontify-region-function): New variable.
13189 (c-font-lock-fontify-region): New function.
13190
13191 2011-12-24 Juri Linkov <juri@jurta.org>
13192
13193 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13194 (Bug#10348)
13195
13196 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13197
13198 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13199 existence of source file. (Bug#10325)
13200
13201 2011-12-23 Alan Mackenzie <acm@muc.de>
13202
13203 Fix unstable fontification inside templates.
13204
13205 * progmodes/cc-langs.el (c-before-font-lock-functions):
13206 Newly created from the singular version. The (c c++ objc) entry now
13207 additionally has c-set-fl-decl-start. The other languages (apart
13208 from AWK) have that as a single entry.
13209
13210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13211 The functionality for "local" declarations has been extracted to
13212 c-set-fl-decl-start.
13213
13214 * progmodes/cc-mode.el (c-common-init, c-after-change):
13215 Changes due to pluralisation of c-before-font-lock-functions.
13216 (c-set-fl-decl-start): New function, extracted from
13217 c-font-lock-enclosing-decls and enhanced.
13218
13219 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13220
13221 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13222
13223 2011-12-22 Juri Linkov <juri@jurta.org>
13224
13225 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13226
13227 2011-12-22 Chong Yidong <cyd@gnu.org>
13228
13229 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13230
13231 2011-12-21 Drew Adams <drew.adams@oracle.com>
13232
13233 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13234
13235 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13236
13237 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13238
13239 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13240
13241 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13242 highlighting and support. Fix up comments for capitalization.
13243 (cfengine-mode-debug): New var.
13244 (cfengine3-mode): Change the modeline indicator to "CFE3".
13245 (cfengine3-font-lock-keywords): Improve defun highlighting.
13246 (cfengine2-actions): Rename from `cfengine-actions'.
13247 (cfengine2-font-lock-keywords): Rename from
13248 `cfengine-font-lock-keywords'.
13249 (cfengine2-imenu-expression): Rename from
13250 `cfengine-imenu-expression'.
13251 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13252 (cfengine2-beginning-of-defun): Rename from
13253 `cfengine-beginning-of-defun'.
13254 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13255 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13256 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13257 modeline indicator to "CFE2".
13258 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13259 (cfengine-mode-abbrevs): Mark obsolete.
13260
13261 2011-12-21 Chong Yidong <cyd@gnu.org>
13262
13263 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13264 filename argument.
13265
13266 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13267
13268 * window.el (window-normalize-buffer-to-display): Remove.
13269 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13270
13271 2011-12-19 Chong Yidong <cyd@gnu.org>
13272
13273 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13274 Don't signal an error in a predicate function; return non-nil.
13275 (vc-dir-mark-file): Move the error here.
13276 (vc-dir-mark-unmark): If acting on the region, keep going if one
13277 of the entries cannot be marked/unmarked.
13278 (vc-dir-mark-all-files): If current entry is a directory, mark
13279 only child files, as documented.
13280
13281 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13282
13283 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13284 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13285 addition.
13286
13287 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13288
13289 * term/ns-win.el (ns-get-selection-internal)
13290 (ns-store-selection-internal): Declare.
13291 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13292 Declare as obsolete.
13293 (ns-get-pasteboard, ns-paste-secondary):
13294 Use ns-get-selection-internal.
13295 (ns-set-pasteboard, ns-copy-including-secondary):
13296 Use ns-store-selection-internal.
13297
13298 2011-12-17 Chong Yidong <cyd@gnu.org>
13299
13300 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13301 (vc-deduce-fileset): Doc fix.
13302
13303 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13304
13305 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13306
13307 2011-12-13 Sam Steingold <sds@gnu.org>
13308
13309 * man.el (Man-getpage-in-background): When running under a
13310 window-system, ignore $MANWIDTH and $COLUMNS.
13311
13312 2011-12-15 Kenichi Handa <handa@m17n.org>
13313
13314 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13315 (setup-ethiopic-environment-internal): Comment out key-binding for
13316 ethio-toggle-punctuation.
13317
13318 2011-12-13 Alan Mackenzie <acm@muc.de>
13319
13320 Add the switch statement to AWK Mode.
13321
13322 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13323 "default" to the keywords regexp.
13324
13325 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13326 expression as the rest.
13327 (c-nonlabel-token-key): Allow string literals for AWK.
13328 Refactor for the other modes.
13329
13330 Large brace-block initialisation makes CC Mode slow: Fix.
13331 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13332 routines. Limit backward searching in c-font-lock-enclosing.decl.
13333
13334 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13335 pp-state and literal type in addition to the limits.
13336 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13337 (c-state-literal-at): Use the above new defun.
13338 (c-slow-in-literal, c-fast-in-literal): Remove.
13339 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13340
13341 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13342 being in a literal. Add a limit for backward searching.
13343
13344 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13345 c-slow-in-literal.
13346
13347 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13350
13351 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13352
13353 * window.el (delete-other-windows): Use correct frame in call to
13354 window-with-parameter.
13355
13356 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13357
13358 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13359 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13360 (makefile-gmake-statements, makefile-makepp-statements):
13361 Use it and add new makepp keywords.
13362 (makefile-makepp-font-lock-keywords): Add new patterns.
13363 (makefile-match-function-end): Match new [...] and [[...]].
13364
13365 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13366
13367 * ses.el (ses-call-printer-return, ses-cell-property-get)
13368 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13369 (ses-create-cell-variable, ses-reset-header-string)
13370 (ses-cell-set-formula, ses-repair-cell-reference-all)
13371 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13372 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13373 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13374 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13375 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13376 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13377 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13378 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13379 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13380 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13381 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13382 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13383
13384 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13385
13386 * ses.el: The overall change is to add cell renaming, that is
13387 setting fancy names for cell symbols other than name matching
13388 "\\`[A-Z]+[0-9]+\\'" regexp .
13389 (ses-create-cell-variable): New defun.
13390 (ses-relocate-formula): Relocate formulas only for cells the
13391 symbols of which are not renamed, i.e. symbols whose names do not
13392 match regexp "\\`[A-Z]+[0-9]+\\'".
13393 (ses-relocate-all): Relocate values only for cells the symbols of
13394 which are not renamed.
13395 (ses-load): Create cells variables as the (ses-cell ...) are read,
13396 in order to check row col consistency with cell symbol name only
13397 for cells that are not renamed.
13398 (ses-replace-name-in-formula): New defun.
13399 (ses-rename-cell): New defun.
13400
13401 2011-12-11 Chong Yidong <cyd@gnu.org>
13402
13403 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13404 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13405
13406 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13407
13408 * window.el (other-window): Fix docstring.
13409
13410 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13411
13412 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13413 `from' or `to' address before taking its substring.
13414 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13415 encoded name is chopped in the middle of the encoded string, and
13416 thus displayed encoded.
13417
13418 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13419
13420 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13421
13422 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13423
13424 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13425 to use texinfo-update-node and commands that call it if the
13426 Texinfo file uses @node lines without next/prev/up pointers.
13427 Correct outdated description about texinfo-master-menu.
13428 (texinfo-all-menus-update, texinfo-master-menu)
13429 (texinfo-update-node, texinfo-every-node-update)
13430 (texinfo-multiple-files-update): Doc fix. Warn against updating
13431 all the @node lines.
13432 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13433 argument is numeric. Explain better in the doc string what the
13434 function really does.
13435 (texinfo-insert-master-menu-list): Improve the error message
13436 displayed if there's no menu in the Top node.
13437 (Bug#2975) See also this thread:
13438 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13439
13440 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13441
13442 * speedbar.el (speedbar-supported-extension-expressions):
13443 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13444
13445 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13446
13447 * printing.el (pr-mode-alist):
13448 * simple.el (filter-buffer-substring-functions)
13449 (completion-list-insert-choice-function):
13450 * window.el (window-with-parameter, window-atom-root)
13451 (window-sides-slots, window-size-fixed, window-min-delta)
13452 (window-max-delta, window--resize-mini-window)
13453 (window--resize-child-windows-normal, window-tree)
13454 (delete-other-windows, quit-window, split-window)
13455 (display-buffer-record-window, special-display-buffer-names)
13456 (special-display-regexps, special-display-popup-frame)
13457 (same-window-p, split-window-sensibly)
13458 (display-buffer-overriding-action, display-buffer-alist)
13459 (display-buffer-base-action, display-buffer, switch-to-buffer)
13460 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13461 (fit-window-to-buffer, recenter-positions)
13462 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13463 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13464 and remove unneeded backslashes in docstrings.
13465
13466 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13467
13468 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13469
13470 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13471 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13472 end in ".mk".
13473 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13474 when reading the makefile (bug#10116).
13475
13476 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13477
13478 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13479 (bug#10116).
13480
13481 2011-12-06 Glenn Morris <rgm@gnu.org>
13482
13483 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13484
13485 2011-12-06 Chong Yidong <cyd@gnu.org>
13486
13487 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13488
13489 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13490
13491 * textmodes/table.el (table-shorten-cell): Fix typo.
13492
13493 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13494
13495 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13496
13497 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13498
13499 * descr-text.el (describe-char): Fix display of strong
13500 right-to-left characters and directional embeddings and overrides.
13501
13502 * simple.el (what-cursor-position): Fix display of codepoints of
13503 strong right-to-left characters.
13504
13505 2011-12-05 Chong Yidong <cyd@gnu.org>
13506
13507 * faces.el (read-color): Doc fix.
13508
13509 2011-12-05 Glenn Morris <rgm@gnu.org>
13510
13511 * align.el (align--set-marker): Add doc-string.
13512 Don't try to move something that is not a marker. (Bug#10216)
13513
13514 2011-12-04 Glenn Morris <rgm@gnu.org>
13515
13516 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13517 overly zealous deletion of trailing whitespace.
13518
13519 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13520
13521 * server.el (server-delete-client): On Windows, do not try to delete
13522 the only terminal.
13523 (server-process-filter): On Windows, treat requests for a tty frame as
13524 if they were for a GUI frame if the running server is in GUI mode.
13525
13526 2011-12-03 Glenn Morris <rgm@gnu.org>
13527
13528 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13529
13530 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * electric.el: Streamline electric-indent's hook.
13533 (electric-indent-chars): Revert to simple list.
13534 (electric-indent-functions): New var.
13535 (electric-indent-post-self-insert-function): Use it.
13536
13537 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13538 there's no inferior buffer (bug#10196).
13539 (prolog-consult-compile): Don't use toggle-read-only.
13540
13541 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13542
13543 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13544 interrupt. (Bug#10187)
13545
13546 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13549 (bug#9160).
13550
13551 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13552 (bug#10191).
13553
13554 2011-12-02 Juri Linkov <juri@jurta.org>
13555
13556 * info.el (Info-search): Display "end of manual" when Isearch
13557 reaches the end of single-file Info manual. (Bug#9918)
13558
13559 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13560
13561 * isearch.el (isearch-message-prefix): Run the input method part
13562 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13563
13564 2011-12-02 Juri Linkov <juri@jurta.org>
13565
13566 * isearch.el (isearch-occur): Use `word-search-regexp' for
13567 `isearch-word'.
13568 (isearch-search-and-update): Add condition for `isearch-word' and
13569 call `word-search-regexp'. (Bug#10145)
13570
13571 2011-12-01 Glenn Morris <rgm@gnu.org>
13572
13573 * eshell/em-hist.el (eshell-hist-initialize):
13574 Handle eshell-history-size nil and HISTSIZE set or unset.
13575 (eshell-history-file-name, eshell-history-size): Fix custom type.
13576
13577 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13580
13581 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13582
13583 * progmodes/verilog-mode.el (verilog-pretty-expr):
13584 Rework verilog-pretty-expr to handle new assignment operators in system
13585 verilog, such as += *= and the like.
13586 (verilog-assignment-operator-re): Regular expression to find the
13587 assigment operator in a verilog assignment.
13588 (verilog-assignment-operation-re): Regular expression to find an
13589 assignment statement for pretty-expr.
13590 (verilog-in-attribute-p): Query returns true if point is in an
13591 attribute context; used to skip these for expression line up from
13592 pretty-expr.
13593 (verilog-in-parameter-p): Query returns true if point is in an
13594 parameter definition context; used to skip these for expression
13595 line up from pretty-expr.
13596 (verilog-in-parenthesis-p): Query returns true if point is in a
13597 parenthetical expression, specifically ( ) but not [ ] or { };
13598 used by pretty-expr.
13599 (verilog-just-one-space): If there is no space, don't add one.
13600 (verilog-get-lineup-indent-2): Specifically skip just attribute
13601 contexts for expression lineup, rather than skipping all
13602 parenthetical expressions.
13603 (verilog-calculate-indent): Fix comment, and fix indent.
13604 (verilog-do-indent): Indent declarations in lists (suggested by
13605 Joachim Lechner).
13606 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13607 skeleton items.
13608 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13609 by Alain Mellan).
13610
13611 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13612
13613 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13614 parameters with embedded comments. Reported by Ray Stevens.
13615 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13616 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13617 Reported by Tim Holt.
13618 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13619 instantiated by upper module causing wrong expansion until AUTOed a
13620 second time. Reported by K C Buckenmaier.
13621 (verilog-diff-auto): Fix showing .* as a difference when
13622 `verilog-auto-star-save' off. Reported by Dan Dever.
13623 (verilog-auto-reset, verilog-read-always-signals)
13624 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13625 temporary signals in reset list if
13626 verilog-auto-reset-blocking-in-non is nil, and match assignment
13627 style to each signal's assignment type, bug381.
13628 Reported by Thomas Esposito.
13629 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13630 (verilog-uvm-statement-re): Support UVM indentation and
13631 highlighting, with old OVM keywords only.
13632 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13633 Support AUTOTIEOFF creating non-wire data types.
13634 Suggested by Jonathan Greenlaw.
13635 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13636 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13637 (verilog-inject-sense, verilog-read-inst-pins)
13638 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13639 Fix mismatching parenthesis inside commented out code when deleting
13640 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13641 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13642 non-numeric vector width. Reported by Alex Reed.
13643 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13644 detecting signals with parameter widths. Reported by Alex Reed.
13645 (verilog-auto-delete-trailing-whitespace):
13646 With `verilog-auto-delete-trailing-whitespace' remove trailing
13647 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13648 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13649 Fix verilog-scan-cache corruption when running user AUTO expansion
13650 hooks that call indentation routines.
13651 (verilog-simplify-range-expression): Fix typo ignoring lower case
13652 identifiers.
13653 (verilog-delete-auto): Fix delete-autos to also remove user created
13654 automatics, as long as they start with AUTO.
13655 (verilog-batch-diff-auto, verilog-diff-auto)
13656 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13657 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13658 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13659 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13660 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13661 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13662 is disabled and its cache will get corrupt, causing AUTOS not to
13663 expand. Instead use only -quick functions.
13664 (verilog-scan-region): Fix scanning over escaped quotes.
13665 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13666 (verilog-re-search-backward-quick)
13667 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13668 related functions now ignore strings, to fix misparsing of strings
13669 with magic comments embedded in them.
13670 (verilog-read-auto-template):
13671 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13672 Reported by Brad Dobbie.
13673 (verilog-read-auto-template):
13674 Fix 'verilog-auto-inst-template-numbers' with comments.
13675 Reported by Brad Dobbie.
13676 (verilog-auto-inst, verilog-auto-inst-param)
13677 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13678 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13679 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13680 debugging templates without merge conflicts, bug357.
13681 Reported by Brad Dobbie.
13682 (verilog-read-auto-template):
13683 Fix verilog-auto-inst-template-numbers with multiple templates.
13684 Reported by Brad Dobbie.
13685 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13686 abbrevs so user won't be asked to save.
13687 (verilog-read-auto-lisp-present): Fix to start at beginning of
13688 buffer in case called outside of verilog-auto.
13689 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13690 to "X-2". Reported by Matthew Myers.
13691 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13692 all inputs from module templates. Reported by Leith Johnson.
13693 (verilog-module-inside-filename-p): Fix locating programs as with
13694 modules.
13695 (verilog-auto-inst-port): Fix vl-width expressions when using
13696 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13697 (verilog-decls-get-regs, verilog-decls-get-signals,
13698 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13699 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13700 verilog-read-decls): Combine reg and wire structures into one var
13701 structure to represent SystemVerilog concepts.
13702 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13703 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13704 (verilog-auto-wire-type, verilog-insert-definition):
13705 Add verilog-auto-wire-type and AUTOLOGIC to support using
13706 SystemVerilog "logic" keyword instead of "wire"/"reg".
13707 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13708 to declares outputs that also have assignments (presumably in an
13709 ifdef or generate if so there's not a driver conflict).
13710 Reported by Matthew Myers.
13711 (verilog-auto-declare-nettype, verilog-insert-definition):
13712 Add verilog-auto-declare-nettype to fix declarations using
13713 `default_nettype none. Reported by Julian Gorfajn.
13714 (verilog-read-always-signals-recurse, verilog-read-decls)
13715 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13716 malformed end statement, bug325. Reported by Joshua Wise and
13717 Andrew Drake.
13718 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13719 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13720 when expanding .* in interfaces, bug320.
13721 Reported by Pierre-David Pfister.
13722 (verilog-read-module-name): Fix import statements between module
13723 name and open parenthesis, bug317.
13724 Reported by Pierre-David Pfister.
13725 (verilog-simplify-range-expression): Fix simplification of
13726 multiplications inside AUTOWIRE connections, bug303.
13727 (verilog-auto-inst-port): Support parameter expansion in
13728 multidimensional arrays.
13729 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13730 after "assert property". Reported by Julian Gorfajn.
13731 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13732 with multiplication, bug303.
13733 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13734 Reported by Jan Frode Lonnum.
13735
13736 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13737
13738 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13739 (hfy-shell-file-name, hfy-shell):
13740 * international/fontset.el (x-decompose-font-name): Fix typos.
13741
13742 2011-11-29 Ken Brown <kbrown@cornell.edu>
13743
13744 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13745 (gdb-version): Remove defvar.
13746 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13747 (gdb-gud-context-command, gdb-non-stop-handler)
13748 (gdb-current-context-command, gdb-stopped): Use it.
13749 (gdb-init-1): Enable pretty printing here.
13750 (gdb-non-stop-handler): Don't enable pretty-printing here.
13751 Check to see if the target supports non-stop mode; if not, turn off
13752 non-stop mode. Use the following.
13753 (gdb-check-target-async): New defun.
13754 (gud-watch, gdb-stopped): Fix whitespace.
13755 (gdb-get-source-file): Don't try to display the source file if
13756 `gdb-main-file' is nil.
13757
13758 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * align.el: Try to generate fewer markers (bug#10047).
13761 (align--set-marker): New macro.
13762 (align-region): Use it.
13763
13764 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13765
13766 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13767
13768 2011-11-29 Chong Yidong <cyd@gnu.org>
13769
13770 * indent.el (indent-for-tab-command, indent-according-to-mode):
13771 Doc fix.
13772 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13773
13774 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13775
13776 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13777 aware of remote file names. (Bug#10124)
13778
13779 2011-11-29 Chong Yidong <cyd@gnu.org>
13780
13781 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13782
13783 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * files.el (find-file): Don't use force-same-window (bug#10144).
13786 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13787 use pop-to-buffer if the selected window can't be used.
13788 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13789
13790 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13791
13792 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13793 special-mode-map.
13794
13795 2011-11-28 Chong Yidong <cyd@gnu.org>
13796
13797 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13798
13799 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13800
13801 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13802 gdb-get-source-file-list on gdb-create-source-file-list.
13803
13804 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13805
13806 * whitespace.el (whitespace-newline): Use a different foreground
13807 color for 16-color light-background displays.
13808
13809 2011-11-24 Chong Yidong <cyd@gnu.org>
13810
13811 * window.el (display-buffer--special-action): Doc fix.
13812
13813 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13814
13815 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13816 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13817 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13818 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13819 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13820 (avl-tree-stack-first):
13821 * emacs-lisp/cconv.el (cconv--analyse-use):
13822 * net/gnutls.el (gnutls-negotiate): Fix typos.
13823
13824 2011-11-24 Glenn Morris <rgm@gnu.org>
13825
13826 * lpr.el (lpr-windows-system, lpr-lp-system):
13827 * mail/binhex.el (binhex-begin-line):
13828 * progmodes/grep.el (grep-history, grep-find-history):
13829 * textmodes/flyspell.el:
13830 * vc/pcvs-defs.el (cvs-global-menu):
13831 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13832 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13833 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13834
13835 * net/tls.el: Fix case of "GnuTLS".
13836
13837 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13838
13839 * version.el (emacs-build-system): Give it a doc-string.
13840
13841 2011-11-24 Juri Linkov <juri@jurta.org>
13842
13843 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13844
13845 2011-11-24 Glenn Morris <rgm@gnu.org>
13846
13847 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13848 if called on a non-mime message just toggle the headers. (Bug#8006)
13849
13850 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13851
13852 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13853 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13854 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13855 (allout-rebullet-heading, allout-open-sibtopic)
13856 (allout-toggle-current-subtree-encryption)
13857 (allout-toggle-subtree-encryption, allout-encrypt-string)
13858 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13859 (allout-distinctive-bullets-string, allout-auto-activation):
13860 * window.el (window-normalize-buffer-to-display):
13861 * progmodes/verilog-mode.el (verilog-batch-indent):
13862 * textmodes/bibtex.el (bibtex-field-braces-opt)
13863 (bibtex-field-strings-opt):
13864 * vc/cvs-status.el (cvs-tree-merge):
13865 Fix typos.
13866
13867 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13868
13869 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13870 `non-essential' to t, in order to avoid remote connections.
13871
13872 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13873
13874 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13875 On MS-DOS and MS-Windows, compare with loaddefs.el
13876 case-insensitively.
13877
13878 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13879
13880 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13881
13882 2011-11-23 Glenn Morris <rgm@gnu.org>
13883
13884 * paths.el (rmail-file-name): Reformat the doc-string so that it
13885 is picked up.
13886
13887 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13888 (rmail-auto-file): Ignore case in the "special" field names,
13889 as mail-fetch-field does for all others.
13890
13891 * mail/rmail.el (rmail-forward):
13892 * mail/rmailkwd.el (rmail-set-label):
13893 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13894 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13895
13896 * mail/rmail.el (rmail-current-message): Doc fix.
13897
13898 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13899
13900 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13901
13902 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13903
13904 2011-11-22 Glenn Morris <rgm@gnu.org>
13905
13906 * mail/rmailmm.el (test-rmail-mime-handler)
13907 (test-rmail-mime-bulk-handler)
13908 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13909
13910 2011-11-21 Juri Linkov <juri@jurta.org>
13911
13912 * calc/calc.el (calc-read-key-sequence):
13913 Let-bind `input-method-function' to nil. (Bug#10018)
13914
13915 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13916
13917 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13918 Tell the caller that the next line needs recomputation, even
13919 though it doesn't start a sexp (bug#10094).
13920
13921 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13922
13923 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13924
13925 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13926
13927 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13928 Use force-same-window.
13929
13930 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13931
13932 * descr-text.el (describe-char-unicode-data):
13933 * json.el (json-string-escape):
13934 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13935 (Footnote-unicode, Footnote-style-p):
13936 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13937
13938 2011-11-20 Chong Yidong <cyd@gnu.org>
13939
13940 * window.el (replace-buffer-in-windows): Restore interactive spec.
13941
13942 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13945
13946 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13947 (byte-compile-global-not-obsolete-vars): New var.
13948 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13949 Use it.
13950 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13951
13952 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13953
13954 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13955 * progmodes/pascal.el (electric-pascal-equal):
13956 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13957 * xml.el (xml-substitute-special): Fix typos.
13958
13959 2011-11-20 Glenn Morris <rgm@gnu.org>
13960
13961 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13962 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13963 Doc fixes.
13964 (rmail-decode-mime-charset): Mark as obsolete.
13965
13966 * mail/rmailsum.el (rmail-message-regexp-p-1):
13967 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13968 Before using mime functions, check they are set. (Bug#10077)
13969
13970 2011-11-19 Juri Linkov <juri@jurta.org>
13971
13972 * info.el (Info-finder-find-node): Use `package--builtins' instead
13973 of `package-alist'. Use node names formed by the pattern "Keyword "
13974 and the keyword name.
13975
13976 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13977
13978 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13979
13980 2011-11-19 Juri Linkov <juri@jurta.org>
13981
13982 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13983 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13984 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13985 `old-history', `old-history-forward'. Add let-binding
13986 `window-selected'. Remove calls to `kill-buffer',
13987 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13988 before calling `Info-find-node', so `Info-find-node-2' will reread
13989 the Info file. Restore window positions only when `window-selected'
13990 is non-nil.
13991
13992 2011-11-19 Juri Linkov <juri@jurta.org>
13993
13994 * isearch.el (isearch-lazy-highlight-new-loop):
13995 Remove condition `(not isearch-error)'. (Bug#9918)
13996
13997 * misearch.el (multi-isearch-search-fun): Add condition
13998 `(not bound)' to ignore lazy-highlighting search.
13999 Add the search-failed message "end of multi" when the end of
14000 multi-sequence is reached. Uncapitalize the search-failed
14001 message "Repeat for next buffer".
14002
14003 * info.el (Info-search): Add the search-failed message
14004 "end of the manual" when the end of the manual is reached
14005 in Isearch mode.
14006
14007 2011-11-19 Juri Linkov <juri@jurta.org>
14008
14009 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
14010 Use non-destructive `remove' instead of `delete' because
14011 `Info-history-list' stored to `Info-isearch-initial-history-list' in
14012 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
14013
14014 2011-11-19 Juri Linkov <juri@jurta.org>
14015
14016 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
14017 to nil instead of binding `search-ring' and `regexp-search-ring'.
14018 (Bug#9185)
14019
14020 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14021
14022 * simple.el (line-move): Force movement by logical lines for any
14023 hscrolled window, not only when auto-hscroll-mode is on.
14024 (line-move-visual): Update doc string to that effect. (Bug#10076)
14025
14026 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
14027
14028 * language/european.el (macintosh): Define as alias for mac-roman.
14029
14030 2011-11-19 Eli Zaretskii <eliz@gnu.org>
14031
14032 * mail/rmailmm.el (rmail-mime-display-header)
14033 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
14034 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
14035 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
14036 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
14037 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
14038 of a raw aref.
14039 (rmail-mime-entity-segment): To get past the tagline, move forward
14040 2 more lines, to account for the 2 empty lines that precede and
14041 follow the line with the buttons.
14042 (rmail-mime-update-tagline): Move one more line, to get past the
14043 empty line that follows the buttons in the tagline. (Bug#9520)
14044
14045 2011-11-19 Martin Rudalics <rudalics@gmx.at>
14046
14047 * window.el (window-max-delta-1, window-min-delta-1)
14048 (window-min-size-1, window-state-get-1, window-state-put-1)
14049 (window-state-put-2): Use "window--" prefix.
14050
14051 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * emacs-lisp/smie.el: Improve warnings and conflict detection.
14054 (smie-warning-count): New var.
14055 (smie-set-prec2tab): Use it.
14056 (smie-bnf->prec2): Improve warnings. Add docstring.
14057 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
14058 (smie-bnf--set-class): New function.
14059 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
14060 corner case.
14061
14062 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
14063 (compilation-error-properties, compilation-move-to-column):
14064 Handle compilation-first-column while in the target buffer.
14065
14066 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
14067 Don't hardcode point-min==1.
14068
14069 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
14070 (eshell-rewrite-for-command): Remove workaround.
14071 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
14072 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
14073 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
14074
14075 * files-x.el (modify-file-local-variable): Obey commenting conventions.
14076
14077 2011-11-17 Glenn Morris <rgm@gnu.org>
14078
14079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
14080 Ignore buffer-local generated-autoload-file if it is the same
14081 as the global value. (Bug#10049)
14082
14083 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
14084
14085 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
14086 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
14087 (reftex-toc-previous-heading, reftex-toc-max-level)
14088 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
14089 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
14090 (reftex-toc-do-promote, reftex-toc-promote-prepare)
14091 (reftex-toc-promote-action, reftex-toc-extract-section-number)
14092 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
14093 (reftex-toc-rename-label, reftex-toc-visit-location)
14094 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
14095 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
14096 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
14097 leaving "*toc*" only for references to the buffer.
14098
14099 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14100
14101 * window.el (window-resize, delete-window, split-window):
14102 Replace window-splits by window-combination-resize.
14103 * cus-start.el (window-splits): Replace by window-combination-resize.
14104
14105 2011-11-17 Glenn Morris <rgm@gnu.org>
14106
14107 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14108 Make bash entry derive from sh entry, not shell entry.
14109
14110 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14111
14112 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14113 local file name.
14114
14115 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14116
14117 * menu-bar.el (menu-bar-file-menu):
14118 * printing.el (pr-ps-utility):
14119 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14120 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14121 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14122 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14123 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14124 (icalendar--convert-cyclic-to-ical)
14125 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14126 (icalendar--convert-ical-to-diary)
14127 (icalendar--convert-recurring-to-diary)
14128 (icalendar--convert-non-recurring-all-day-to-diary)
14129 (icalendar-import-format-sample):
14130 * progmodes/idlw-shell.el (idlwave-shell-mode):
14131 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14132 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14133 (vhdl-ps-print-init): Fix typos.
14134
14135 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14136
14137 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14138 FSF and collapse date sequence, obscure author/maintainer email address
14139 better, remove extra version line, track relocation of author's webpage.
14140
14141 * progmodes/python.el (python-pdbtrack-input-prompt)
14142 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14143 regular python pdb prompts. Adjustments shamelessly taken exactly as
14144 suggested in EmacsWiki page (tiny change):
14145 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14146
14147 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14148
14149 * expand.el (expand-pos, expand-index, expand-point):
14150 Remove redundant info from docstring.
14151 (expand-add-abbrevs): Doc fix.
14152 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14153 (expand-sample-perl-mode-expand-list): Fix typos.
14154
14155 * net/dbus.el (dbus-event-member-name):
14156 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14157 * term/pc-win.el (msdos-create-frame-with-faces):
14158 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14159
14160 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14161
14162 * window.el (split-window, window-state-get-1)
14163 (window-state-put-1, window-state-put-2): Rename occurrences of
14164 window-nest to window-combination-limit.
14165 * cus-start.el (window-nest): Rename to window-combination-limit.
14166
14167 2011-11-16 Chong Yidong <cyd@gnu.org>
14168
14169 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14170 regexp (Bug#10033).
14171
14172 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14175 `completing-read' will remove *Completions* and will preserve
14176 current-buffer for us.
14177 (tmm-add-prompt): Users of *Completions* will always (re)set its
14178 major mode.
14179 (tmm-old-comp-map): Remove.
14180
14181 2011-11-16 Glenn Morris <rgm@gnu.org>
14182
14183 * mail/rmailedit.el: Require rmailmm when compiling.
14184 (rmail-old-mime-state): New declaration.
14185 (rmail-edit-current-message): If editing a mime message,
14186 edit the "raw" message from the mbox buffer.
14187 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14188
14189 2011-11-15 Glenn Morris <rgm@gnu.org>
14190
14191 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14192 which wasn't being used. Add optional arg to force given state.
14193 (rmail-mime): Add optional arg to force given state.
14194
14195 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14196
14197 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14198 * frame.el (display-mm-dimensions-alist):
14199 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14200 (outline-move-subtree-down):
14201 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14202 (newsticker--treeview-do-get-node):
14203 * net/quickurl.el (quickurl-list-buffer-name):
14204 * progmodes/dcl-mode.el (dcl-mode):
14205 * progmodes/gdb-mi.el (gdb-mapcar*):
14206 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14207
14208 2011-11-15 Glenn Morris <rgm@gnu.org>
14209
14210 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14211 in a boolean sense, so just make it a boolean, and fix the doc.
14212 (rmail-show-mime-function, rmail-mime-feature)
14213 (rmail-require-mime-maybe): Doc fixes.
14214 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14215
14216 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14217
14218 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14219
14220 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14221 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14222 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14223 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14224
14225 2011-11-15 Glenn Morris <rgm@gnu.org>
14226
14227 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14228 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14229 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14230 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14231 (rmail-mime, rmail-show-mime): Doc fixes.
14232
14233 * term/ns-win.el (mode-line-frame-identification):
14234 Leave it alone. (Bug#10051)
14235
14236 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14237
14238 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14239 Handle empty buffers. (Bug#9978)
14240
14241 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14242
14243 * international/mule.el (define-charset):
14244 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14245 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14246 * progmodes/verilog-mode.el (verilog-backward-token):
14247 * textmodes/ispell.el (lookup-words):
14248 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14249
14250 2011-11-14 Glenn Morris <rgm@gnu.org>
14251
14252 * progmodes/executable.el
14253 (executable-make-buffer-file-executable-if-script-p):
14254 Handle file-modes returning nil.
14255
14256 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14257 message - not necessary, and causes problems. (Bug#9831)
14258
14259 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14260
14261 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14262
14263 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14264 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14265 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14266
14267 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14268
14269 * window.el (window-resize, delete-window): Use window-splits
14270 variable instead of function.
14271 (window-state-get-1, window-state-put-2, window-state-put):
14272 Don't deal with windows' splits status.
14273
14274 2011-11-12 Glenn Morris <rgm@gnu.org>
14275
14276 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14277 (apropos-documentation): Doc fixes.
14278
14279 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14280
14281 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14282 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14283
14284 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14285
14286 * electric.el (electric-indent-post-self-insert-function): Make it
14287 possible for a char to only indent in some circumstances.
14288 (electric-indent-mode): Simplify.
14289
14290 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14291
14292 * window.el (windows-with-parameter): Remove unused function.
14293 (windows-at-side): Rename to window-at-side-list.
14294 (window-check, window-atom-check, window-atom-check-1)
14295 (window-side-check, window-size-ignore, window-size-fixed-1)
14296 (window-in-direction-2): Prefix with "window--".
14297 (window-tree-1): Rename to window--subtree, fix doc-string.
14298
14299 2011-11-11 Glenn Morris <rgm@gnu.org>
14300
14301 * subr.el (eval-after-load): If FILE is already loaded,
14302 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14303
14304 2011-11-10 Glenn Morris <rgm@gnu.org>
14305
14306 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14307 Call svn via vc-svn-command rather than vc-do-command.
14308 (vc-svn-command): Add --non-interactive. (Bug#9993)
14309 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14310
14311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14312 Add toggle-read-only. (Bug#7292)
14313 * files.el (toggle-read-only): Mention that it should only
14314 be used interactively. (Bug#10006)
14315
14316 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14317
14318 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14319 Adjust regexp for OCaml warnings.
14320
14321 * electric.el (electric-pair-post-self-insert-function): Let user
14322 turn it off buffer-locally (bug#9932).
14323
14324 * progmodes/python.el (python-beginning-of-statement):
14325 Rewrite (bug#2703).
14326
14327 * progmodes/compile.el: Better handle TABs (bug#9749).
14328 (compilation-internal-error-properties)
14329 (compilation-next-error-function): Obey the target buffer's
14330 compilation-error-screen-columns.
14331
14332 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14333
14334 * progmodes/meta-mode.el: Remove obsolete comments.
14335 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14336 Fix typos in docstrings.
14337
14338 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14339
14340 * window.el (window-size-fixed-p): Rewrite doc-string.
14341 (window-resizable-p): Rename to window--resizable-p. Update callers.
14342 (window--resizable): New function. Make all callers of
14343 window-resizable call window--resizable instead.
14344 (window-resizable): Rewrite in terms of window--resizable.
14345
14346 2011-11-08 Glenn Morris <rgm@gnu.org>
14347
14348 * progmodes/delphi.el (delphi-mode-syntax-table):
14349 Let define-derived-mode define a proper syntax table. (Bug#9994)
14350
14351 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14352
14353 * window.el: Stay away from defsubst.
14354 (window-list-no-nils): Remove.
14355 (window-state-get-1, window-state-get): Use backquote instead.
14356
14357 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14358
14359 * emacs-lisp/find-func.el (find-function-read):
14360 Fix incorrect use of default argument in `completing-read'.
14361
14362 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14363
14364 * window.el (display-buffer-function, special-display-function):
14365 Mention display-buffer-record-window but do not mention
14366 help-setup parameter in doc-strings.
14367 (window-min-delta): Fix doc-string typo.
14368
14369 2011-11-08 Chong Yidong <cyd@gnu.org>
14370
14371 * window.el (window-total-height, window-total-width): Doc fix.
14372 (window-body-size): Move from C.
14373 (window-body-height, window-body-width): Move to C.
14374
14375 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * window.el: Make special-display like display-buffer-alist (bug#9532).
14378 (display-buffer--special-action): New function, morphed
14379 from display-buffer--special.
14380 (display-buffer): Use it to handle special-display-buffers at higher
14381 priority (just after display-buffer-alist).
14382 (display-buffer-fallback-action, display-buffer--other-frame-action)
14383 (pop-to-buffer-same-window): Remove display-buffer--special.
14384
14385 2011-11-07 Glenn Morris <rgm@gnu.org>
14386
14387 * calendar/cal-menu.el (cal-menu-set-date-title):
14388 Do nothing if not in a calendar. (Bug#9976)
14389
14390 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14391
14392 * files.el (find-file): Always use selected-window.
14393
14394 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14395
14396 * window.el (window-combinations): Make WINDOW argument
14397 mandatory. Rewrite doc-string.
14398 (walk-window-subtree, window-atom-check, window-min-delta)
14399 (window-max-delta, window--resize-this-window)
14400 (window--resize-root-window-vertically, window-tree)
14401 (balance-windows, window-state-put): Rewrite doc-strings as to
14402 not mention the term "subwindow".
14403 (window--resize-subwindows-skip-p): Rename to
14404 window--resize-child-windows-skip-p.
14405 (window--resize-subwindows-normal): Rename to
14406 window--resize-child-windows-normal.
14407 (window--resize-subwindows): Rename to
14408 window--resize-child-windows.
14409 (window-or-subwindow-p): Rename to window--in-subtree-p.
14410
14411 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14412
14413 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14414 Ensure that mbox format messages end in two newlines (Bug#9974).
14415
14416 2011-11-06 Chong Yidong <cyd@gnu.org>
14417
14418 * window.el (window-combination-p): Function deleted; its
14419 side-effect is not used in any existing code.
14420 (window-combinations, window-combined-p): Call window-*-child
14421 directly.
14422
14423 2011-11-05 Chong Yidong <cyd@gnu.org>
14424
14425 * window.el (window-valid-p): Rename from window-any-p.
14426 (window-size-ignore, window-state-get): Callers changed.
14427 (window-normalize-window): Rename from window-normalize-any-window.
14428 New arg LIVE-ONLY, replacing window-normalize-live-window.
14429 (window-normalize-live-window): Delete.
14430 (window-combination-p, window-combined-p, window-combinations)
14431 (walk-window-subtree, window-atom-root, window-min-size)
14432 (window-sizable, window-sizable-p, window-size-fixed-p)
14433 (window-min-delta, window-max-delta, window-resizable)
14434 (window-resizable-p, window-full-height-p, window-full-width-p)
14435 (window-current-scroll-bars, window-point-1, set-window-point-1)
14436 (window-at-side-p, window-in-direction, window-resize)
14437 (adjust-window-trailing-edge, maximize-window, minimize-window)
14438 (window-deletable-p, delete-window, delete-other-windows)
14439 (record-window-buffer, unrecord-window-buffer)
14440 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14441 (quit-window, split-window, window-state-put)
14442 (set-window-text-height, fit-window-to-buffer)
14443 (shrink-window-if-larger-than-buffer): Callers changed.
14444
14445 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14446
14447 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14448 rfc2047-decode-string.
14449 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14450 warnings.
14451
14452 * window.el (window-body-height, window-body-width): Mention in
14453 the doc string that the return values are in frame's canonical
14454 units. (Bug#9949)
14455
14456 2011-11-03 Alan Mackenzie <acm@muc.de>
14457
14458 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14459 change in cc-engine.el.
14460
14461 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14462
14463 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14464
14465 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14466
14467 * window.el (quit-window): Call unrecord-window-buffer after
14468 showing another buffer in the window. (Bug#9937)
14469 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14470
14471 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14472
14473 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14474 Accept status with more than 9 shelves. (Bug#9935)
14475 Reported by Colin D Bennett <colin@gibibit.com>.
14476
14477 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14478
14479 * help.el (with-help-window): Don't reference
14480 temp-buffer-show-specifiers in doc-string.
14481
14482 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14483
14484 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14485 menu-item.
14486
14487 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14488
14489 * whitespace.el: New version 13.2.2.
14490 (whitespace-newline-mode): Disable properly. Reported by Sarah
14491 <EmacsWiki>.
14492
14493 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14494
14495 * net/newst-treeview.el: Remove "Time-stamp".
14496 (newsticker--group-manage-orphan-feeds): Do not call
14497 newsticker--treeview-tree-update.
14498 (newsticker-treeview-update, newsticker-treeview):
14499 Call newsticker--treeview-tree-update if necessary.
14500
14501 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14502
14503 * window.el (window-iso-combination-p, window-iso-combined-p)
14504 (window-iso-combinations): Remove "iso-" infix.
14505 Suggested by Chong Yidong.
14506 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14507 (window-max-delta-1, window-resize, window--resize-siblings)
14508 (window--resize-this-window, adjust-window-trailing-edge)
14509 (split-window, balance-windows-1)
14510 (shrink-window-if-larger-than-buffer):
14511 * calendar/calendar.el (calendar-generate-window):
14512 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14513
14514 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14515
14516 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14517 in place (bug#9907).
14518 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14519 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14520 (eshell-structure-basic-command, eshell-rewrite-while-command)
14521 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14522 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14523 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14524 (eshell-do-pipelines-synchronously, eshell-eval-command):
14525 Use backquotes and prefer setq to set.
14526 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14527 (eshell-macrop): Use functionp.
14528 (eshell-do-eval): Handle multiple expressions in `while' body.
14529
14530 2011-10-30 Chong Yidong <cyd@gnu.org>
14531
14532 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14533 instead of set-mark (Bug#9810).
14534
14535 2011-10-30 Chong Yidong <cyd@gnu.org>
14536
14537 * window.el (split-window-below, split-window-right): Rename from
14538 split-window-above-each-other and split-window-side-by-side
14539 respectively. All callers changed.
14540 (split-window-sensibly, split-window-sensibly): Use them.
14541 (split-window-keep-point): Doc fix.
14542
14543 * isearch.el: Add isearch-scroll property to split-window-below
14544 and split-window-right.
14545
14546 * follow.el (follow-mode):
14547 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14548 * progmodes/ada-xref.el (ada-gdb-application):
14549 * emulation/vip.el (vip-buffer-in-two-windows):
14550 * image-dired.el (image-dired-dired-with-window-configuration):
14551 * dired-x.el (dired-do-find-marked-files):
14552 * dired.el (dired-pop-to-buffer):
14553 * bs.el (bs--show-with-configuration):
14554 * vc/emerge.el (emerge-setup-windows):
14555 * textmodes/two-column.el (2C-two-columns):
14556 * textmodes/reftex-toc.el (reftex-toc):
14557 * progmodes/gdb-mi.el (gdb-setup-windows):
14558 * progmodes/fortran.el (fortran-window-create):
14559 * net/newst-treeview.el (newsticker--treeview-window-init):
14560 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14561 * emulation/tpu-edt.el (tpu-gold-map):
14562 * emulation/crisp.el (crisp-mode-map):
14563 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14564
14565 2011-10-29 Chong Yidong <cyd@gnu.org>
14566
14567 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14568
14569 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14570
14571 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14572 forged Ispell output (Bug#7904).
14573
14574 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14575
14576 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14577
14578 * doc-view.el: Avoid ugly errors about not finding nil.
14579 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14580 (doc-view-dvipdf-program, doc-view-unoconv-program)
14581 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14582 Avoid nil or absolute file name as default value.
14583 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14584
14585 2011-10-28 Alan Mackenzie <acm@muc.de>
14586
14587 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14588
14589 2011-10-28 Alan Mackenzie <acm@muc.de>
14590
14591 Amend the handling of c-beginning/end-of-defun in nested declaration
14592 scopes.
14593
14594 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14595 cc-langs.el. Change it to a defcustom.
14596
14597 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14598 cc-vars.el.
14599
14600 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14601 Prevent "class foo : bar" being spuriously recognized as a label.
14602
14603 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14604 Add parameter `inclusive' (to include enclosing braces in the region).
14605 (c-widen-to-enclosing-decl-scope): New function.
14606 (c-while-widening-to-decl-block): New macro.
14607 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14608 outward for defun boundaries, and correspondingly change symbol
14609 `respect-enclosure' to `go-outward'.
14610 (c-declaration-limits): Change algorithm to report only the "innermost"
14611 defun's boundaries.
14612
14613 2011-10-28 Deniz Dogan <deniz@dogan.se>
14614
14615 * net/rcirc.el (rcirc-mode): Use hard newlines.
14616
14617 2011-10-28 Alan Mackenzie <acm@muc.de>
14618
14619 Amend to indent and fontify macros "which include their own semicolon"
14620 correctly, using the "virtual semicolon" mechanism.
14621
14622 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14623
14624 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14625 Recode to scan one line at a time rather than having \n and \r
14626 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14627 (c-forward-label): Amend for virtual semicolons.
14628 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14629
14630 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14631 of the new C macros.
14632
14633 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14634 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14635 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14636 (c-opt-cpp-macro-define): Make into a full language variable.
14637 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14638 AWK Mode (including \n, \r) removed, no longer needed.
14639
14640 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14641 Invoke c-make-macro-with-semi-re.
14642
14643 * progmodes/cc-vars.el (c-macro-with-semi-re):
14644 (c-macro-names-with-semicolon): New variables.
14645 (c-make-macro-with-semi-re): New function.
14646
14647 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14648
14649 * vc/log-edit.el: Fill empty field rather than adding new one.
14650 (log-edit-add-field): New function.
14651 (log-edit-insert-changelog): Use it.
14652
14653 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14654
14655 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14656
14657 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14660 (gdb--check-interpreter): New function.
14661 (gdb): Use it.
14662
14663 2011-10-27 Glenn Morris <rgm@gnu.org>
14664
14665 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14666 (least-positive-float, least-negative-float)
14667 (least-positive-normalized-float, least-negative-normalized-float)
14668 (float-epsilon, float-negative-epsilon):
14669 Remove unnecessary declarations.
14670
14671 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14672 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14673 (least-positive-float, least-negative-float)
14674 (least-positive-normalized-float, least-negative-normalized-float)
14675 (float-epsilon, float-negative-epsilon): Add doc-strings,
14676 based on those in cl.texi.
14677
14678 * files.el (set-visited-file-name): If the major-mode changed,
14679 reload the local variables. (Bug#9796)
14680
14681 2011-10-27 Chong Yidong <cyd@gnu.org>
14682
14683 * subr.el (change-major-mode-after-body-hook): New hook.
14684 (run-mode-hooks): Run it.
14685
14686 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14687 Use change-major-mode-before-body-hook.
14688
14689 * simple.el (fundamental-mode):
14690 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14691 change introducing fundamental-mode-hook.
14692
14693 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14694
14695 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14696
14697 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14698
14699 * ido.el (ido-file-name-all-completions-1): Do not require
14700 tramp.el explicitly. (Bug#7583)
14701
14702 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14703
14704 * progmodes/octave-mod.el:
14705 * progmodes/octave-inf.el: Update maintainer.
14706
14707 2011-10-26 Chong Yidong <cyd@gnu.org>
14708
14709 * subr.el (with-wrapper-hook): Rewrite doc.
14710
14711 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14712
14713 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14714 filenames "/method:foo:". (Bug#9793)
14715
14716 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14719 (bug#9865).
14720
14721 2011-10-24 Glenn Morris <rgm@gnu.org>
14722
14723 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14724
14725 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14726
14727 * notifications.el: Add the requirement of a running D-Bus session
14728 bus to the Commentary.
14729
14730 2011-10-24 Juri Linkov <juri@jurta.org>
14731
14732 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14733 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14734 (Bug#9364)
14735
14736 2011-10-24 Juri Linkov <juri@jurta.org>
14737
14738 * info.el (Info-following-node-name-re): Add newline to the list
14739 of allowed characters for leading space. (Bug#9824)
14740
14741 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14742
14743 * progmodes/octave-inf.el (inferior-octave-mode-map):
14744 Fix C-c C-h binding.
14745 * progmodes/octave-mod.el (octave-help): Remove.
14746
14747 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14748
14749 Sync with Tramp 2.2.3.
14750
14751 * net/tramp-cache.el (top): Pacify byte-compiler using
14752 `init-file-user' and `site-run-file'.
14753
14754 * net/trampver.el: Update release number.
14755
14756 2011-10-23 Chong Yidong <cyd@gnu.org>
14757
14758 * files.el (toggle-read-only): Remove obsolete comment about
14759 version control.
14760
14761 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14762 for toggle-read-only. Note that this hasn't called vc-next-action
14763 since 2008-05-02, though it wasn't documented at the time.
14764
14765 * vc/ediff-init.el (ediff-toggle-read-only-function):
14766 Use toggle-read-only.
14767
14768 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14769
14770 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14771 of c-parse-state.
14772
14773 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14774 correct faulty logical expression.
14775 (c-parse-state-state, c-record-parse-state-state):
14776 (c-replay-parse-state-state): New defvar/defuns.
14777 (c-debug-parse-state): Use new functions.
14778
14779 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14780
14781 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14782 last fix. Use window-in-direction correctly.
14783
14784 2011-10-21 Chong Yidong <cyd@gnu.org>
14785
14786 * progmodes/idlwave.el (idlwave-mode):
14787 * progmodes/vera-mode.el (vera-mode): No need to set
14788 require-final-newline; that's done in prog-mode.
14789 Suggested by Stefan Monnier.
14790
14791 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14792
14793 * mouse.el (mouse-drag-window-above)
14794 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14795 (mouse-drag-mode-line-1, mouse-drag-header-line)
14796 (mouse-drag-vertical-line-rightward-window): Remove.
14797 (mouse-drag-line): New function.
14798 (mouse-drag-mode-line, mouse-drag-header-line)
14799 (mouse-drag-vertical-line): Call mouse-drag-line.
14800 * window.el (window-at-side-p, windows-at-side): New functions.
14801
14802 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14803
14804 * tar-mode.el (tar-grind-file-mode):
14805 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14806
14807 2011-10-21 Chong Yidong <cyd@gnu.org>
14808
14809 * progmodes/idlwave.el (idlwave-mode):
14810 * progmodes/vera-mode.el (vera-mode):
14811 Use mode-require-final-newline.
14812
14813 2011-10-20 Glenn Morris <rgm@gnu.org>
14814
14815 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14816
14817 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14818
14819 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14820
14821 2011-10-20 Chong Yidong <cyd@gnu.org>
14822
14823 * emulation/cua-base.el (cua-mode):
14824 * mail/footnote.el (footnote-mode):
14825 * mail/mailabbrev.el (mail-abbrevs-mode):
14826 * net/xesam.el (xesam-minor-mode):
14827 * progmodes/bug-reference.el (bug-reference-mode):
14828 * progmodes/cap-words.el (capitalized-words-mode):
14829 * progmodes/compile.el (compilation-minor-mode)
14830 (compilation-shell-minor-mode):
14831 * progmodes/gud.el (gud-tooltip-mode):
14832 * progmodes/hideif.el (hide-ifdef-mode):
14833 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14834 * progmodes/subword.el (subword-mode):
14835 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14836 * progmodes/which-func.el (which-function-mode):
14837 * term/tvi970.el (tvi970-set-keypad-mode):
14838 * term/vt100.el (vt100-wide-mode):
14839 * textmodes/flyspell.el (flyspell-mode):
14840 * textmodes/ispell.el (ispell-minor-mode):
14841 * textmodes/nroff-mode.el (nroff-electric-mode):
14842 * textmodes/paragraphs.el (use-hard-newlines):
14843 * textmodes/refill.el (refill-mode):
14844 * textmodes/reftex.el (reftex-mode):
14845 * textmodes/rst.el (rst-minor-mode):
14846 * textmodes/sgml-mode.el (html-autoview-mode)
14847 (sgml-electric-tag-pair-mode):
14848 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14849 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14850 * emulation/crisp.el (crisp-mode):
14851 * emacs-lisp/eldoc.el (eldoc-mode):
14852 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14853 minor mode behavior.
14854
14855 2011-10-19 Juri Linkov <juri@jurta.org>
14856
14857 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14858 the list of hard-coded chars with escape-glyph face.
14859
14860 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14861
14862 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14863
14864 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14865
14866 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14867 running process.
14868
14869 2011-10-19 Glenn Morris <rgm@gnu.org>
14870
14871 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14872 Ignore ignored files. (Bug#9726)
14873
14874 2011-10-19 Chong Yidong <cyd@gnu.org>
14875
14876 Doc fix for minor modes, stating that an omitted argument enables
14877 the mode unconditionally when called from Lisp.
14878
14879 * abbrev.el (abbrev-mode):
14880 * allout.el (allout-mode):
14881 * autoinsert.el (auto-insert-mode):
14882 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14883 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14884 (global-auto-revert-mode):
14885 * battery.el (display-battery-mode):
14886 * composite.el (global-auto-composition-mode)
14887 (auto-composition-mode):
14888 * delsel.el (delete-selection-mode):
14889 * desktop.el (desktop-save-mode):
14890 * dired-x.el (dired-omit-mode):
14891 * dirtrack.el (dirtrack-mode):
14892 * doc-view.el (doc-view-minor-mode):
14893 * double.el (double-mode):
14894 * electric.el (electric-indent-mode, electric-pair-mode):
14895 * emacs-lock.el (emacs-lock-mode):
14896 * epa-hook.el (auto-encryption-mode):
14897 * follow.el (follow-mode):
14898 * font-core.el (font-lock-mode):
14899 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14900 * help.el (temp-buffer-resize-mode):
14901 * hilit-chg.el (highlight-changes-mode)
14902 (highlight-changes-visible-mode):
14903 * hi-lock.el (hi-lock-mode):
14904 * hl-line.el (hl-line-mode, global-hl-line-mode):
14905 * icomplete.el (icomplete-mode):
14906 * ido.el (ido-everywhere):
14907 * image-file.el (auto-image-file-mode):
14908 * image-mode.el (image-minor-mode):
14909 * iswitchb.el (iswitchb-mode):
14910 * jka-cmpr-hook.el (auto-compression-mode):
14911 * linum.el (linum-mode):
14912 * longlines.el (longlines-mode):
14913 * master.el (master-mode):
14914 * mb-depth.el (minibuffer-depth-indicate-mode):
14915 * menu-bar.el (menu-bar-mode):
14916 * minibuf-eldef.el (minibuffer-electric-default-mode):
14917 * mouse-sel.el (mouse-sel-mode):
14918 * msb.el (msb-mode):
14919 * mwheel.el (mouse-wheel-mode):
14920 * outline.el (outline-minor-mode):
14921 * paren.el (show-paren-mode):
14922 * recentf.el (recentf-mode):
14923 * reveal.el (reveal-mode, global-reveal-mode):
14924 * rfn-eshadow.el (file-name-shadow-mode):
14925 * ruler-mode.el (ruler-mode):
14926 * savehist.el (savehist-mode):
14927 * scroll-all.el (scroll-all-mode):
14928 * scroll-bar.el (scroll-bar-mode):
14929 * server.el (server-mode):
14930 * shell.el (shell-dirtrack-mode):
14931 * simple.el (auto-fill-mode, transient-mark-mode)
14932 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14933 (line-number-mode, column-number-mode, size-indication-mode)
14934 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14935 * strokes.el (strokes-mode):
14936 * time.el (display-time-mode):
14937 * t-mouse.el (gpm-mouse-mode):
14938 * tool-bar.el (tool-bar-mode):
14939 * tooltip.el (tooltip-mode):
14940 * type-break.el (type-break-mode-line-message-mode)
14941 (type-break-query-mode):
14942 * view.el (view-mode):
14943 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14944 (global-whitespace-mode, global-whitespace-newline-mode):
14945 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14946
14947 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14948 Fix autogenerated docstring.
14949
14950 2011-10-19 Juri Linkov <juri@jurta.org>
14951
14952 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14953 by checking environment variables "DESKTOP_SESSION" and
14954 "XDG_CURRENT_DESKTOP". (Bug#9779)
14955
14956 2011-10-19 Juri Linkov <juri@jurta.org>
14957
14958 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14959 (browse-url-chromium-program, browse-url-chromium-arguments):
14960 New defcustoms.
14961 (browse-url-default-browser): Check for `browse-url-chromium' and
14962 call `browse-url-chromium-program'.
14963 (browse-url-chromium): New command. (Bug#9779)
14964
14965 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14966
14967 * facemenu.el (list-colors-duplicates): On Windows, detect more
14968 duplicates by assuming that only colors matching "^System" are
14969 special "system colors". (Bug#9722)
14970
14971 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14972
14973 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14974 to distinguish the author from the committer.
14975
14976 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14977
14978 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14979
14980 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14981
14982 * international/mule.el (sgml-html-meta-auto-coding-function):
14983 Add support for detecting encoding in HTML5 specified only as
14984 <meta charset="UTF-8">. Implementation just makes http-equiv and
14985 content-type parts from HTML4 encoding string optional. (Bug#9716)
14986
14987 2011-10-18 Glenn Morris <rgm@gnu.org>
14988
14989 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14990
14991 2011-10-18 Chong Yidong <cyd@gnu.org>
14992
14993 * faces.el (cursor): Doc fix.
14994
14995 2011-10-17 Chong Yidong <cyd@gnu.org>
14996
14997 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14998
14999 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
15000
15001 * dirtrack.el (dirtrack): Support shell buffers with path
15002 prefixes, e.g. tramp-based remote shells. (Bug#9647)
15003
15004 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
15005
15006 * json.el: Bump version to 1.3 and note change in History.
15007 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
15008
15009 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
15010
15011 * comint.el (comint-insert-input, comint-send-input)
15012 (comint-get-old-input-default, comint-backward-matching-input)
15013 (comint-next-prompt): Use nil instead of `input' for field property of
15014 past user input (bug#114).
15015
15016 * minibuffer.el (completion--replace): Inherit surrounding properties
15017 (bug#114).
15018 (minibuffer-complete-and-exit): Use it.
15019
15020 * comint.el (comint--table-subvert): Quote the all-completions output
15021 (bug#9160).
15022
15023 2011-10-17 Martin Rudalics <rudalics@gmx.at>
15024
15025 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
15026
15027 * menu-bar.el (menu-bar-file-menu): Add entry for making new
15028 window on right of selected. (Bug#9350) Reword other window
15029 entries and separate them from frame entries.
15030
15031 2011-10-15 Glenn Morris <rgm@gnu.org>
15032
15033 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
15034 Doc fixes.
15035
15036 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
15037
15038 * net/network-stream.el (network-stream-open-starttls):
15039 Improve detection of failure due to lack of TLS support.
15040
15041 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
15042 putting the input text in front and in bold.
15043
15044 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
15045
15046 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
15047
15048 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
15049 empty buffer.
15050
15051 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
15052 unread-command-events rather than pushing yet-another event.
15053
15054 2011-10-14 Eli Zaretskii <eliz@gnu.org>
15055
15056 * mail/sendmail.el (sendmail-query-once): Improve the wording of
15057 the explanation of the possible choices. Make the options passed
15058 to completing-read shorter.
15059
15060 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15061
15062 * textmodes/flyspell.el (flyspell-large-region): Make sure
15063 extended character mode is used if defined (Bug#1339).
15064
15065 2011-10-13 Eli Zaretskii <eliz@gnu.org>
15066
15067 * simple.el (what-cursor-position): Fix the display of the
15068 character info for LRE, LRO, RLE, and RLO characters by appending
15069 an invisible PDF.
15070
15071 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
15072
15073 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
15074 even in case of error; add debug spec; simplify data flow.
15075 (with-timeout-handler): Remove.
15076
15077 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
15078
15079 Fix Bug#6019, Bug#9315.
15080
15081 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
15082 complete `buffer-file-name', the local file name part could look
15083 remotely (for example on VMS).
15084
15085 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
15086 `tramp-run-real-handler'.
15087 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
15088 already quoted by '"'.
15089
15090 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
15091 Let `file-name-handler-alist' be nil, the local file name part
15092 could look remotely (for example on VMS).
15093
15094 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
15095
15096 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
15097 from here...
15098 (flyspell-post-command-hook): ...to here.
15099
15100 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15101
15102 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15103 if not needed.
15104 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15105 using completion. Protect against "slow" callers.
15106 Remove the "message hack".
15107
15108 2011-10-11 Juri Linkov <juri@jurta.org>
15109
15110 * isearch.el (isearch-lazy-highlight-word): New variable.
15111 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15112 Use it. (Bug#9727)
15113
15114 2011-10-11 Glenn Morris <rgm@gnu.org>
15115
15116 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15117 like f90-previous-statement does.
15118
15119 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15120
15121 * eshell/eshell.el (eshell-command): History should be saved
15122 only in interactive use, to avoid error.
15123
15124 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15125
15126 * minibuffer.el (completion-file-name-table): Fix last change,
15127 i.e. ignore normal errors but not the other ones.
15128
15129 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15130
15131 * window.el (special-display-buffer-names)
15132 (special-display-regexps): Remove some remnants of earlier
15133 changes from doc-strings.
15134 (quit-windows-on): New function.
15135
15136 * vc/vc.el (vc-revert, vc-rollback):
15137 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15138 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15139 (Bug#6183) (Bug#7074) (Bug#7447)
15140
15141 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15142
15143 * window.el (frame-auto-hide-function): Add version tag.
15144 (Bug#9699)
15145
15146 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15147
15148 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15149 condition.
15150
15151 2011-10-09 Leo Liu <sdl.web@gmail.com>
15152
15153 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15154 (Bug#9701)
15155
15156 2011-10-08 Glenn Morris <rgm@gnu.org>
15157
15158 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15159 before the first code statement zero indent. (Bug#9690)
15160
15161 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15162
15163 * simple.el (count-words-region): Always count in the region.
15164 Report the number of lines and characters too.
15165 (count-words): New command, which counts in the buffer if the
15166 region is inactive, as count-words-region used to.
15167 (count-words--message): New function. Handle plurals.
15168 (count-lines-region): Make it an alias for count-words-region.
15169
15170 * bindings.el (esc-map): Replace count-lines-region with
15171 count-words-region.
15172
15173 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15174
15175 * window.el (window--delete): Delete dedicated frame
15176 unconditionally when argument KILL is non-nil. (Bug#9699)
15177 (switch-to-buffer): Fix doc-string typo.
15178
15179 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15180
15181 * eshell/eshell.el (eshell-command): Avoid using hooks.
15182
15183 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15184
15185 * bindings.el ([M-left],[M-right]): Bind to left-word and
15186 right-word respectively.
15187
15188 2011-10-07 Glenn Morris <rgm@gnu.org>
15189
15190 * cus-start.el (debug-on-quit): Fix custom type.
15191
15192 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15193
15194 * subr.el (define-key-after): Clarify that the function is not
15195 useful for non-menu keymaps.
15196
15197 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15198
15199 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15200
15201 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15202 in current minibuffer (Fix bug with recursive minibuffers).
15203
15204 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15205
15206 * progmodes/gdb-mi.el (gdb): Doc fix.
15207
15208 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15209
15210 * window.el (frame-auto-hide-function): New option replacing
15211 frame-auto-delete. Suggested by Stefan Monnier.
15212 (window--delete): Call frame-auto-hide-function instead of
15213 investigating frame-auto-delete.
15214 (window-point-1, set-window-point-1): New functions.
15215 (window-in-direction, record-window-buffer, window-state-get-1)
15216 (display-buffer-record-window): Use window-point-1 instead of
15217 window-point.
15218 (set-window-buffer-start-and-point): Use set-window-point-1.
15219
15220 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15221
15222 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15223
15224 2011-10-05 Glenn Morris <rgm@gnu.org>
15225
15226 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15227 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15228
15229 2011-10-05 Leo Liu <sdl.web@gmail.com>
15230
15231 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15232 works with buffer object.
15233
15234 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15235
15236 * mpc.el (mpc-tool-bar-map): Add labels.
15237
15238 2011-10-04 Glenn Morris <rgm@gnu.org>
15239
15240 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15241
15242 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15243
15244 * window.el (window--delete): New function.
15245 (frame-auto-delete): Resuscitate option.
15246 (bury-buffer, replace-buffer-in-windows)
15247 (quit-window): Rewrite using window--delete.
15248 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15249 Pass display-buffer-mark-dedicated to window--display-buffer-2
15250 (Bug#9639).
15251
15252 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15253
15254 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15255 returns a list (bug#9554). Add remote file name completion.
15256 * comint.el (comint--table-subvert): Curry and get quote&unquote
15257 functions as arguments.
15258 (comint--complete-file-name-data): Adjust call accordingly.
15259 * pcomplete.el (pcomplete--table-subvert): Remove.
15260 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15261
15262 * minibuffer.el (completion-table-case-fold): Use currying.
15263 (completion--styles-type, completion--cycling-threshold-type):
15264 New constants.
15265 (completion-styles, completion-category-overrides)
15266 (completion-cycle-threshold): Use them.
15267 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15268 completion-table-case-fold.
15269
15270 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15271
15272 * minibuffer.el (completion-category-overrides): Fix type of styles
15273 and add more user friendly tags (bug#9660).
15274
15275 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15276
15277 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15278 (mule-input-method-string): New widget.
15279 (default-input-method, language-info-custom-alist): Use it.
15280
15281 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15282
15283 * pcomplete.el: Require comint.
15284 (pcomplete--common-suffix): Remove.
15285 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15286 (pcomplete--table-subvert): Sync with comint--table-subvert.
15287 (pcomplete--entries): Use comint-completion-file-name-table.
15288 * comint.el (comint-unquote-filename): Simplify.
15289 (comint-completion-file-name-table): New function (bug#9616).
15290 (comint--complete-file-name-data): Use it.
15291
15292 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15293 (pcmpl-gnu-tar-buffer): Remove.
15294 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15295 around. Make sure pcomplete-suffix-list is only changed temporarily.
15296 Don't look inside the tar's file if it's too large.
15297
15298 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15299
15300 * cus-edit.el (custom-mode-map):
15301 * epa.el (epa-key-list-mode-map):
15302 * man.el (Man-mode-map):
15303 * startup.el (splash-screen-keymap):
15304 * simple.el (special-mode-map): Use scroll-up-command and
15305 scroll-down-command.
15306
15307 * progmodes/idlw-help.el (idlwave-help-mode-map):
15308 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15309 * net/newst-plainview.el (newsticker-mode-map):
15310 * emulation/ws-mode.el (wordstar-mode-map):
15311 * emulation/vi.el (vi-com-map):
15312 * calc/calc-graph.el (calc-graph-show-dumb):
15313 * term/sun.el (terminal-init-sun):
15314 * term/ns-win.el (global-map):
15315 * progmodes/grep.el (grep-mode-map):
15316 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15317 * mail/rmail.el (rmail-mode-map):
15318 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15319
15320 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15321 custom-safe-themes as special.
15322
15323 2011-10-01 Julien Danjou <julien@danjou.info>
15324
15325 * notifications.el (notifications-notify): Fix docstring.
15326
15327 2011-10-01 Per Starbäck <per@starback.se>
15328
15329 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15330
15331 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15332
15333 * startup.el (command-line-1): Fix last fix by inserting
15334 initial-scratch-message into *scratch* before displaying it.
15335 (Bug#9605) and (Bug#9636)
15336
15337 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15338
15339 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15340 window is hscrolled, move by logical lines. (Bug#9607)
15341 (line-move-visual): Update the doc string to the above effect.
15342
15343 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15344
15345 * window.el (display-buffer-record-window): When WINDOW is the
15346 selected window use `point' instead of `window-point'. (Bug#9626)
15347
15348 * startup.el (command-line-1): Use insert-before-markers when
15349 inserting initial-scratch-message. (Bug#9605)
15350
15351 * help.el (help-window): Remove variable.
15352
15353 2011-09-29 Glenn Morris <rgm@gnu.org>
15354
15355 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15356
15357 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15358
15359 * descr-text.el (describe-char-categories): Accept category
15360 descriptions more than one line long.
15361
15362 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15363
15364 * simple.el (delete-trailing-whitespace): Fix last change.
15365
15366 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15367 Don't confuse "y => 3" as the beginning of a `y' operation.
15368
15369 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15370 object has more than 4 slots (bug#9613).
15371
15372 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15373
15374 * subr.el (with-output-to-temp-buffer):
15375 * net/quickurl.el (quickurl, quickurl-browse-url):
15376 Fix typos in docstrings.
15377
15378 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15379
15380 * minibuffer.el (completion-styles)
15381 (completion-category-overrides): Cross reference each other in doc
15382 strings.
15383
15384 2011-09-27 Glenn Morris <rgm@gnu.org>
15385
15386 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15387 to split-string. (Bug#9606)
15388
15389 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15390
15391 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15392 (bug#9615).
15393
15394 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15395
15396 * emacs-lisp/package.el (list-packages): Fix echo area message.
15397
15398 2011-09-27 Leo Liu <sdl.web@gmail.com>
15399
15400 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15401
15402 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15403
15404 * net/dbus.el (dbus-unregister-object): Don't release services for
15405 registered signals. (Bug#9581)
15406
15407 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15408
15409 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15410 function that picks between cfengine 2 and 3 support
15411 automatically. Update docs accordingly.
15412
15413 2011-09-22 Kenichi Handa <handa@m17n.org>
15414
15415 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15416 ZERO.
15417 (indian-itrans-v5-table-for-tamil): New variable.
15418 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15419
15420 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15421
15422 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15423 that's true if the current command involved collapsing of text.
15424 It's reset to false at the beginning of the next command.
15425 (allout-post-command-business): Move the cursor to the beginning
15426 of entry if the cursor is hidden and collapsing activity just
15427 happened.
15428
15429 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15430
15431 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15432 tracking (Bug#9541).
15433
15434 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15435
15436 * net/newst-reader.el (newsticker-html-renderer)
15437 (newsticker-show-news): Automatically load html rendering package
15438 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15439 because w3m-fill-column is let-bound" and the error "Symbol's value
15440 as variable is void: w3m-fill-column".
15441
15442 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15443
15444 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15445 Release services only if they are defined. (Bug#9581)
15446
15447 2011-09-23 Richard Stallman <rms@gnu.org>
15448
15449 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15450 distinguish start of paragraph from start of its text.
15451
15452 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15453
15454 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15455 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15456 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15457
15458 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15459
15460 * international/mule-diag.el (mule-diag): Insert a newline after
15461 each fontset description.
15462
15463 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15464
15465 * simple.el (delete-trailing-whitespace):
15466 Document last change; simplify.
15467
15468 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15469
15470 * simple.el (delete-trailing-whitespace): Also delete
15471 extra newlines at the end of the buffer.
15472
15473 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15474 (picture-newline): Use forward-line so as to ignore fields.
15475
15476 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * subr.el (with-wrapper-hook): Fix edebug spec.
15479
15480 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15481
15482 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15483 (bug#4538).
15484
15485 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15486
15487 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15488 Fix nasty bug using wrong cached values.
15489
15490 2011-09-23 Alan Mackenzie <acm@muc.de>
15491
15492 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15493
15494 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15495
15496 * window.el (pop-to-buffer): Ensure right window is selected if we
15497 chose another frame.
15498
15499 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15500
15501 * simple.el (what-cursor-position): Use get-char-property-change
15502 and next-single-char-property-change, to be able to show display
15503 properties that come from overlays as well as text properties.
15504
15505 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15506
15507 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15508
15509 * cmuscheme.el (run-scheme, switch-to-scheme):
15510 * cus-edit.el (customize-group, custom-buffer-create)
15511 (customize-browse):
15512 * info.el (info):
15513 * shell.el (shell):
15514 * mail/sendmail.el (mail):
15515 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15516
15517 2011-09-22 Richard Stallman <rms@gnu.org>
15518
15519 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15520 move back only to line beg, don't move back over blank lines.
15521
15522 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15523
15524 * files.el (copy-directory): Set directory attributes only in case
15525 they could be retrieved from the source directory. (Bug#9565)
15526
15527 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15528
15529 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15530 (hs-find-block-beginning, hs-hide-level-recursive):
15531 Ignore strings as well as comments. (Bug#9502)
15532
15533 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15534
15535 * progmodes/sql.el (sql-comint-postgres):
15536 Convert port number to a string. (Bug#9566)
15537
15538 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15539
15540 * window.el (quit-window): Undedicate window when switching to
15541 previous buffer. Reported by Thierry Volpiatto
15542 <thierry.volpiatto@gmail.com>.
15543 (special-display-popup-frame): When popping up a new frame reset
15544 its previous buffers to nil. Simplify code.
15545
15546 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15549 and process filter, as done also in `shell-command'.
15550
15551 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15552
15553 * window.el (set-window-buffer-start-and-point):
15554 Call set-window-start with NOFORCE argument t.
15555 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15556 (quit-window): Reword doc-string. Handle new format of
15557 quit-restore parameter. Don't delete window if it has a
15558 previous buffer we can show instead of the present one.
15559 (display-buffer-record-window): Rewrite using a new format for
15560 the quit-restore window parameter
15561 (special-display-popup-frame, display-buffer-same-window)
15562 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15563 (display-buffer-pop-up-window, display-buffer-use-some-window):
15564 Adapt symbol passed to display-buffer-record-window.
15565 * help.el (help-window-setup): Handle new format of quit-restore
15566 parameter.
15567
15568 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * faces.el (face-list): Fix docstring (bug#9564).
15571
15572 * window.el (display-buffer--action-function-custom-type):
15573 Don't include internal functions in the Custom interface.
15574
15575 2011-09-20 Juri Linkov <juri@jurta.org>
15576
15577 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15578 (Info-forward-node, Info-backward-node, Info-next-preorder)
15579 (Info-last-preorder): Use it. (Bug#9528)
15580
15581 2011-09-20 Juri Linkov <juri@jurta.org>
15582
15583 * info.el (Info-last-preorder): Visit last menu item only when
15584 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15585
15586 2011-09-20 Julien Danjou <julien@danjou.info>
15587
15588 * password-cache.el (password-cache-remove): Remove entries even if the
15589 value is nil, so that password with a nil value (negative caching) is
15590 possible to invalidate.
15591
15592 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15593
15594 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15595 all whitespace around breakpoint. (Bug#9553)
15596 (f90-find-breakpoint): Only break at whitespace inside a comment.
15597
15598 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15599
15600 * minibuffer.el (completion-file-name-table): Keep track of errors.
15601 (completion-table-with-predicate): Handle the case where pred1 is nil.
15602 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15603
15604 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15605
15606 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15607 (debugger-return-value): Signal an error if the debugging context does
15608 not await any return value.
15609
15610 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15611 * image-mode.el (image-toggle-display-text)
15612 (image-toggle-display-image): Stay away from evil `intangible'.
15613
15614 2011-09-19 Leo Liu <sdl.web@gmail.com>
15615
15616 * replace.el (occur-revert-arguments): Make it permanent-local.
15617 (occur-mode): Don't call font-lock-defontify.
15618
15619 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15620
15621 * net/ldap.el (ldap-search-internal): Don't push empty search
15622 result (Bug#9508).
15623
15624 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15627
15628 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15629
15630 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15631 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15632
15633 2011-09-18 Juri Linkov <juri@jurta.org>
15634
15635 * buff-menu.el (Buffer-menu-mode-map):
15636 * dired.el (dired-mode-map):
15637 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15638 (lisp-interaction-mode-map):
15639 * emacs-lisp/package.el (package-menu-mode-map):
15640 * epa.el (epa-key-list-mode-map):
15641 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15642 (menu-bar-options-menu):
15643 * outline.el (outline-mode-menu-bar-map):
15644 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15645 * vc/vc-dir.el (vc-dir-menu-map):
15646 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15647 Capitalize non-function content words in menu item strings.
15648
15649 * dired.el (dired-mode-map): Add menu item for
15650 `image-dired-dired-toggle-marked-thumbs'.
15651
15652 2011-09-18 Juri Linkov <juri@jurta.org>
15653
15654 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15655 to `isearch-case-fold-search' and restore its original value
15656 after the `isearch-mode' call.
15657
15658 2011-09-18 Juri Linkov <juri@jurta.org>
15659
15660 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15661 because `zgrep' returns 1 for successful matches (bug#9226).
15662
15663 2011-09-18 Juri Linkov <juri@jurta.org>
15664
15665 * info.el (Info-extract-menu-node-name): Check the second match
15666 for empty string (second test-case of bug#9528).
15667 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15668 intermediate nodes to the history (first test-case of bug#9528).
15669
15670 2011-09-18 Juri Linkov <juri@jurta.org>
15671
15672 * info.el (Info-mode-syntax-table): New variable.
15673 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15674
15675 2011-09-18 Juri Linkov <juri@jurta.org>
15676
15677 * info.el (Info-file-supports-index-cookies):
15678 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15679 outputs one more line for long file names (bug#4142).
15680
15681 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15682
15683 * newcomment.el (comment-normalize-vars): If prompting for
15684 comment-start, set comment-start-skip too (Bug#8424).
15685
15686 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15687
15688 * icomplete.el: Fix previous fix of Bug#5849.
15689 (icomplete-mode): Don't set completion-show-inline-help.
15690 (icomplete-minibuffer-setup): Set completion-show-inline-help
15691 locally during icompletion.
15692
15693 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15694
15695 * woman.el (woman2-process-escapes): Don't delete unrecognized
15696 escapes (Bug#7843).
15697
15698 * files.el (inhibit-first-line-modes-regexps): Add image files.
15699 (hack-local-variables-prop-line): Return nil for malformed
15700 prop-lines (Bug#9044).
15701
15702 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15703
15704 * net/tramp.el (top): Don't require 'shell.
15705 (tramp-methods): Fix docstring.
15706 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15707 Return complete remote file name. Handle "smb" case.
15708 Use `tramp-tmpdir', if defined for the respective method.
15709 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15710
15711 * net/tramp-compat.el (top): Require 'shell.
15712
15713 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15714 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15715 `tramp-current-host'.
15716 (tramp-get-remote-tmpdir): Remove.
15717
15718 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15719 `tramp-tmpdir' entries.
15720 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15721 (tramp-smb-handle-file-attributes): Ignore errors.
15722 (tramp-smb-wait-for-output): Check also for process end.
15723
15724 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15725
15726 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15727 when sending QUIT (bug#9312).
15728
15729 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15730
15731 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15732 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15733 occur-mode-display-occurrence.
15734 (occur-edit-mode): Add usage message.
15735 (occur-cease-edit): New command.
15736 (occur-after-change-function): Use text properties to find the
15737 position of the prefix text.
15738 (occur-engine): Set stickiness of prefix text properties.
15739
15740 2011-09-17 Glenn Morris <rgm@gnu.org>
15741
15742 * progmodes/etags.el (complete-tag):
15743 Fix call to completion-in-region. (Bug#9526)
15744
15745 2011-09-17 Juri Linkov <juri@jurta.org>
15746
15747 * textmodes/ispell.el (ispell-word): Add to the error message
15748 the word, ispell program name and current dictionary (bug#9121).
15749 (ispell-tex-arg-end): Capitalize "error" in the error message.
15750
15751 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15752
15753 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15754 check. (Bug#4251)
15755
15756 2011-09-17 Juri Linkov <juri@jurta.org>
15757
15758 * window.el (window-safe-min-height, window-safe-min-width):
15759 Fix typos (followup to bug#9522).
15760
15761 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15762
15763 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15764
15765 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15766
15767 * simple.el (line-move): If goal-column is set, move by logical
15768 lines, not by display lines. (Bug#971)
15769 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15770 to reflect the above change.
15771
15772 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15773
15774 * image.el (imagemagick-register-types): Use regexp-opt.
15775
15776 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15777
15778 * window.el (display-buffer-base-action): Rename from
15779 display-buffer-default-action. Make default value empty.
15780 (display-buffer-overriding-action): Convert to defvar.
15781 (display-buffer-fallback-action): New var.
15782
15783 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15784
15785 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15786 declaration.
15787 (package--add-to-archive-contents): If there is a duplicate entry
15788 with an older version, remove it.
15789 (package-menu-mark-delete, package-menu-mark-install)
15790 (package-menu-mark-unmark): Make unused args optional.
15791 (package-menu-mark-obsolete-for-deletion):
15792 Use package-menu-get-status instead of a regexp search.
15793 (package-menu-get-status): Use tabulated-list-entry.
15794 (package-menu-mark-upgrades): New command.
15795 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15796 (package-menu-execute): Do installation before deletion.
15797 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15798 instead of checking major-mode.
15799 (package-menu--find-upgrades): New function.
15800
15801 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15802
15803 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15804 passwords in the log buffer.
15805 (smtpmail-process-filter): Update the process marker so that the
15806 "broken by peer" status message is inserted in the right place.
15807
15808 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15809
15810 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15811 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15812 bibtex-completion-at-point-function.
15813 (bibtex-completion-at-point-function): Use them.
15814
15815 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15816
15817 * mpc.el (mpc-constraints-tag-lookup): New function.
15818 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15819 also to browser "album|playlist".
15820
15821 2011-09-14 Juri Linkov <juri@jurta.org>
15822
15823 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15824 (isearch-edit-string): Use length of `isearch-string' when
15825 `isearch-fail-pos' returns nil.
15826 (isearch-message): Remove duplicate code and call
15827 `isearch-fail-pos' with arg `t'.
15828
15829 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15830
15831 * replace.el (occur-mode-goto-occurrence): Don't force using other
15832 window (Bug#9499).
15833
15834 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15835
15836 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15837
15838 * window.el (display-buffer-window): Remove.
15839 (display-buffer-record-window): Use help-setup window parameter
15840 instead of variable display-buffer-window.
15841 (display-buffer-function, special-display-buffer-names)
15842 (special-display-function): Mention help-setup parameter instead
15843 of display-buffer-window in doc-string.
15844 * help.el (help-window-setup): New argument help-window.
15845 Use help-window-setup parameter instead of display-buffer-window.
15846 Reword some messages.
15847 (with-help-window): Pass window used for displaying the buffer
15848 to help-window-setup. Don't set display-buffer-window.
15849
15850 2011-09-13 Glenn Morris <rgm@gnu.org>
15851
15852 * emacs-lisp/debug.el (debugger-make-xrefs):
15853 Preserve point. (Bug#9462)
15854
15855 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15856
15857 * window.el (window-deletable-p): Use next-frame.
15858
15859 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15860
15861 * window.el (window-auto-delete): Remove.
15862 (window-deletable-p): Remove argument FORCE. Don't deal with
15863 dedication and previous buffers.
15864 (switch-to-prev-buffer): Don't delete window.
15865 (delete-windows-on): Delete a window's frame if and only if the
15866 window is dedicated.
15867 (replace-buffer-in-windows): Delete buffer's window or frame if
15868 and only if window is dedicated.
15869 (quit-window): Handle quit-restore as before last change.
15870 (bury-buffer): Delete window only if window-deletable-p returns t.
15871
15872 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15873
15874 * window.el (window-deletable-p): Never delete the last frame on a
15875 given terminal.
15876
15877 2011-09-13 Glenn Morris <rgm@gnu.org>
15878
15879 * help.el (describe-key-briefly): Copy previous standard-output change.
15880
15881 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15882
15883 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15884
15885 2011-09-13 Glenn Morris <rgm@gnu.org>
15886
15887 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15888 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15889
15890 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15891
15892 * dired-aux.el (dired-mark-read-string): Don't return default
15893 value on empty input (Bug#9361).
15894 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15895 Omit initial minibuffer contents.
15896 (dired-do-chmod): Signal an error on empty input.
15897 (dired-mark-read-string): Don't return default on empty input.
15898
15899 * files.el (file-modes-symbolic-to-number): Doc fix.
15900
15901 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15902
15903 * international/mule-cmds.el (ucs-completions): Remove.
15904 (read-char-by-name): Use complete-with-action instead; add metadata.
15905
15906 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15907
15908 * window.el (display-buffer--action-function-custom-type)
15909 (display-buffer--action-custom-type): New vars.
15910 (display-buffer-alist, display-buffer-default-action)
15911 (display-buffer-overriding-action): Add defcustom types.
15912
15913 * frame.el (delete-other-frames): Doc fix (Bug#276).
15914
15915 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15916
15917 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15918
15919 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15920
15921 Change modes that used same-window-* vars to use switch-to-buffer.
15922
15923 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15924 Use switch-to-buffer.
15925
15926 * cus-edit.el (customize-group, custom-buffer-create)
15927 (customize-browse, custom-buffer-create-other-window):
15928 Use switch-to-buffer or switch-to-buffer-other-window.
15929
15930 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15931 (Info-prev, Info-up, Info-speedbar-goto-node)
15932 (info-display-manual): Use switch-to-buffer.
15933 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15934
15935 * mail/sendmail.el (mail): Use switch-to-buffer.
15936 (mail-recover): Use switch-to-buffer-other-window.
15937
15938 * cmuscheme.el (run-scheme, switch-to-scheme):
15939 * ielm.el (ielm):
15940 * shell.el (shell):
15941 * net/rlogin.el (rlogin):
15942 * net/telnet.el (telnet, rsh):
15943 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15944
15945 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15946
15947 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15948
15949 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15950
15951 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15952 so don't mention it (bug#9301).
15953 (dired-sort-toggle-or-edit): Clarify string further.
15954
15955 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15956 match `x', `w32' and `ns', like the manual says (bug#9029).
15957
15958 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15959 (process-kill-buffer-query-function): Mention the buffer name in
15960 the query.
15961
15962 * image-mode.el (image-next-line): The line parameter is mandatory
15963 (bug#9258).
15964
15965 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15966 which can be useful (bug#9301).
15967
15968 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15969
15970 * subr.el (match-string): Mention that the current buffer should
15971 be the same as the search was done in (bug#9282).
15972
15973 * facemenu.el: Disable the remove-* commands if the mark isn't
15974 active (bug#9162).
15975
15976 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15977
15978 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15979 of display-buffer.
15980 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15981
15982 * replace.el (occur-mode-goto-occurrence)
15983 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15984 and display-buffer.
15985
15986 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15987 display-buffer.
15988
15989 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15990 special-display and same-window variables.
15991 (mail-other-window): Use switch-to-buffer-other-window.
15992 (mail-other-frame): USe switch-to-buffer-other-frame.
15993
15994 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15995 Use display-buffer-other-frame.
15996 (gdb-display-gdb-buffer): Use pop-to-buffer.
15997
15998 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15999
16000 * progmodes/python.el: Don't set same-window-buffer-names.
16001
16002 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
16003
16004 * window.el (display-buffer-alist): Add *Python*.
16005
16006 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
16007
16008 * window.el (display-buffer-alist): Add entry for buffers
16009 previously handled same-window-*.
16010 (display-buffer-alist, display-buffer-default-action)
16011 (display-buffer-overriding-action): Mark as risky.
16012 (display-buffer-alist): Document action function changes.
16013 (display-buffer--same-window-action)
16014 (display-buffer--other-frame-action): New variables.
16015 (switch-to-buffer, display-buffer-other-frame): Use them.
16016 (display-buffer): Rename reuse-frame entry to reusable-frames.
16017 (display-buffer-reuse-selected-window): Function deleted.
16018 (display-buffer-reuse-window): Handle reusable-frames alist entry.
16019 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
16020 (display-buffer-special): New function.
16021 (display-buffer--maybe-pop-up-frame-or-window): Rename from
16022 display-buffer-reuse-or-pop-window. Split off special-display
16023 part into display-buffer-special.
16024 (display-buffer-use-some-window): Don't perform any special
16025 pop-up-frames handling.
16026 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
16027 (display-buffer--maybe-same-window): Rename from
16028 display-buffer-maybe-same-window.
16029
16030 * info.el: Don't set same-window-regexps.
16031 (info-setup): New function.
16032 (info-other-window, info): Call it.
16033
16034 * cus-edit.el: Don't set same-window-regexps.
16035 (customize-group): New argument.
16036 (customize-group-other-window): Use it.
16037 (customize-face, customize-face-other-window): Likewise.
16038 (custom-buffer-create-other-window): Use pop-to-buffer directly.
16039
16040 * net/rlogin.el:
16041 * net/telnet.el:
16042 * progmodes/gud.el: Don't set same-window-regexps.
16043
16044 * cmuscheme.el:
16045 * ielm.el:
16046 * shell.el:
16047 * mail/sendmail.el:
16048 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
16049
16050 2011-09-10 Juri Linkov <juri@jurta.org>
16051
16052 * isearch.el (isearch-edit-string): Remove obsolete mention of
16053 `C-w' (`isearch-yank-word-or-char') from docstring.
16054 (isearch-query-replace): Fix typo in docstring (bug#9466).
16055
16056 2011-09-10 Juri Linkov <juri@jurta.org>
16057
16058 * paren.el (show-paren-function): Don't show escaped parens.
16059 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
16060
16061 2011-09-10 Eli Zaretskii <eliz@gnu.org>
16062
16063 * mail/sendmail.el (mml-to-mime, mml-attach-file)
16064 (mm-default-file-encoding): Remove autoload forms, they are
16065 replaced with autoload cookies in mml.el and mm-encode.el.
16066 (mail-add-attachment): New command.
16067 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
16068 (mail-mode): Mention mail-insert-file and mail-add-attachment in
16069 the doc string.
16070 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
16071
16072 2011-09-10 Reuben Thomas <rrt@sc3d.org>
16073
16074 * simple.el (count-words-region): Use buffer if there's no region
16075 (bug#9429).
16076
16077 2011-09-09 Juri Linkov <juri@jurta.org>
16078
16079 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
16080 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
16081 (wdired-isearch-filter-read-only): New function. (Bug#6362)
16082
16083 2011-09-09 Alan Mackenzie <acm@muc.de>
16084
16085 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
16086 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
16087
16088 2011-09-09 Eli Zaretskii <eliz@gnu.org>
16089
16090 Fix for Savannah bug#9392.
16091 * simple.el (mail-encode-mml): New defvar.
16092
16093 * mail/rmail.el (mail-encode-mml): Add a defvar.
16094 (rmail-enable-mime-composing): Default to t.
16095 (rmail-forward): Use MIME method of forwarding only if both
16096 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
16097 Set mail-encode-mml non-nil if the MIME method was used.
16098
16099 * mail/sendmail.el (mml-to-mime): Add autoload form.
16100 (mail-encode-mml): Add a defvar.
16101 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16102 to nil.
16103 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16104 message through mml-to-mime, and reset mail-encode-mml to nil.
16105
16106 2011-09-09 Glenn Morris <rgm@gnu.org>
16107
16108 * woman.el (woman-if-body): When processing an .el block,
16109 do not delete the next .el block as well. (Bug#9447)
16110 (woman-special-characters): Add oq, cq, and hy characters.
16111
16112 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16113
16114 * window.el (window-deletable-p): Make sure window is live before
16115 invoking window-prev-buffers.
16116
16117 2011-09-08 Leo Liu <sdl.web@gmail.com>
16118
16119 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16120
16121 2011-09-08 Juri Linkov <juri@jurta.org>
16122
16123 * progmodes/compile.el (compilation-environment): Make it
16124 a defcustom (bug#8340).
16125
16126 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16127
16128 * window.el (frame-auto-delete): Rename to window-auto-delete.
16129 Make it control auto-deletion of windows and/or frames.
16130 (window-deletable-p): New argument FORCE. Rewrite conditions
16131 for deleting window/frame. (Bug#9419)
16132 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16133 Rewrite handling of case when window/frame can be deleted.
16134 (delete-windows-on): Call window-deletable-p with new FORCE
16135 argument t. (Bug#9456)
16136
16137 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16138
16139 * help-mode.el (help-mode): Restore autoload.
16140
16141 2011-09-07 Juri Linkov <juri@jurta.org>
16142
16143 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16144 `compilation-environment'. Set buffer-local
16145 `compilation-environment' to `thisenv' later after (funcall mode).
16146 (Bug#8340)
16147
16148 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16149 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16150 instead of replacing its value. (Bug#8340)
16151
16152 2011-09-07 Juri Linkov <juri@jurta.org>
16153
16154 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16155 based on text properties put by `grep-filter' instead of matching
16156 escape sequences.
16157 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16158 to the value of `grep-error-screen-columns' (bug#9438).
16159
16160 2011-09-07 Juri Linkov <juri@jurta.org>
16161
16162 * simple.el (next-error-highlight, next-error-highlight-no-select):
16163 Doc fix (bug#9432).
16164
16165 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16166
16167 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16168 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16169
16170 2011-09-07 Leo Liu <sdl.web@gmail.com>
16171
16172 * net/rcirc.el (rcirc-mode): Conditionally initialize
16173 rcirc-input-ring.
16174
16175 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16176
16177 * emacs-lisp/find-func.el (find-function-C-source): Only set
16178 find-function-C-source-directory after checking that we found a source
16179 file there (bug#9440).
16180
16181 2011-09-06 Alan Mackenzie <acm@muc.de>
16182
16183 * isearch.el (isearch-other-meta-char): Wherever a key list is
16184 unread, "unread" the prefix arg, too. This fixes bug #8901.
16185
16186 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16187
16188 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16189
16190 2011-09-05 Juri Linkov <juri@jurta.org>
16191
16192 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16193
16194 2011-09-05 Juri Linkov <juri@jurta.org>
16195
16196 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16197 keeping point where processing of grep matches begins, and
16198 continue to delete remaining escape sequences from the same point.
16199 (grep-filter): Make leading zero optional in "0?1;31m" because
16200 git-grep emits "\033[1;31m" escape sequences unlike expected
16201 "\033[01;31m" as GNU Grep does (bug#9408).
16202 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16203
16204 2011-09-05 Juri Linkov <juri@jurta.org>
16205
16206 * subr.el (y-or-n-p): Capitalize "yes".
16207
16208 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16209
16210 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16211 `tramp-cache-unload-hook' where appropriate.
16212 (tramp-methods): Rename `tramp-remote-sh' to
16213 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16214 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16215
16216 * net/tramp-sh.el (top): Don't require 'shell.
16217 (tramp-methods): Add `tramp-remote-shell' and
16218 `tramp-remote-shell-args' entries.
16219 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16220 (tramp-sh-handle-shell-command): Remove.
16221 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16222 Use `tramp-remote-shell'.
16223
16224 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16225
16226 * mail/sendmail.el (sendmail-query-once-function): Delete.
16227 (sendmail-query-once): Save directly to send-mail-function.
16228 Update message-send-mail-function too.
16229
16230 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16231
16232 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16233
16234 * progmodes/python.el (python-mode-map): Use correct function to
16235 start python interpreter from menu-bar (as reported by Geert
16236 Kloosterman).
16237 (inferior-python-mode-map): Fix typo.
16238 (python-shell-map): Remove.
16239
16240 2011-09-03 Deniz Dogan <deniz@dogan.se>
16241
16242 * net/rcirc.el (rcirc-print): Simplify code for
16243 rcirc-scroll-show-maximum-output. There is no need to walk
16244 through all windows to find the right one.
16245
16246 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16247
16248 * help.el (help-return-method): Doc fix.
16249
16250 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16251
16252 * window.el (window-deletable-p): Don't return a non-nil value
16253 when there's a buffer that was shown in the window before.
16254 (Bug#9419)
16255 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16256 Set window's previous buffers to nil.
16257
16258 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16259
16260 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16261 newline before and after the tag line, so it doesn't interfere
16262 with determining the paragraph direction of bidirectional text.
16263
16264 2011-09-03 Leo Liu <sdl.web@gmail.com>
16265
16266 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16267
16268 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16269
16270 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16271 (pop-to-buffer): Change interactive spec. Pass second argument
16272 directly to display-buffer.
16273 (display-buffer): Fix interactive spec. Use functionp to
16274 distinguish between a function and a list of functions.
16275
16276 * abbrev.el (edit-abbrevs):
16277 * arc-mode.el (archive-extract):
16278 * autoinsert.el (auto-insert):
16279 * bookmark.el (bookmark-bmenu-list):
16280 * files.el (find-file):
16281 * view.el (view-buffer):
16282 * progmodes/compile.el (compilation-goto-locus):
16283 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16284
16285 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16286
16287 * window.el (display-buffer-alist): Doc fix.
16288 (display-buffer): Add docstring. Don't treat
16289 display-buffer-default specially.
16290 (display-buffer-reuse-selected-window)
16291 (display-buffer-same-window, display-buffer-maybe-same-window)
16292 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16293 (display-buffer-pop-up-window)
16294 (display-buffer-reuse-or-pop-window)
16295 (display-buffer-use-some-window): New functions.
16296 (display-buffer-default-action): Use them.
16297 (display-buffer-default): Delete.
16298 (pop-to-buffer-1): Fix choice of actions.
16299
16300 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16301
16302 * minibuffer.el (completion--insert-strings): Don't get confused by
16303 completion entries that end with an LF char.
16304
16305 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16306
16307 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16308
16309 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16310
16311 * window.el (display-buffer): Restore interactive spec.
16312 (display-buffer-same-window, display-buffer-other-window):
16313 New functions.
16314 (pop-to-buffer-1): New function. Use the above.
16315 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16316 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16317
16318 * view.el (view-buffer-other-window, view-buffer-other-frame):
16319 Just use pop-to-buffer.
16320
16321 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16322
16323 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16324
16325 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16326
16327 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16328
16329 2011-08-31 Richard Stallman <rms@gnu.org>
16330
16331 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16332 of the separation of rmail-view-buffer from rmail-buffer.
16333 If you say no to "replace original", the decrypt is in the
16334 view buffer. If you say yes, the decrypt goes into the
16335 rmail buffer also.
16336
16337 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16338
16339 * window.el (display-buffer-window): Rewrite doc-string.
16340 (display-buffer-record-window): New function.
16341 (display-buffer-macro-specifiers)
16342 (display-buffer-even-window-sizes, display-buffer-set-height)
16343 (display-buffer-set-width, display-buffer-in-window)
16344 (display-buffer-reuse-window, display-buffer-split-specifiers)
16345 (display-buffer-side-specifiers, display-buffer-split-window-1)
16346 (display-buffer-split-window, display-buffer-split-atom-window)
16347 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16348 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16349 (display-buffer-other-window-means-other-frame)
16350 (display-buffer-normalize-special)
16351 (display-buffer-normalize-default)
16352 (display-buffer-normalize-argument)
16353 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16354 (display-buffer-normalize-specifiers, display-buffer-frame)
16355 (display-buffer-same-window, display-buffer-same-frame)
16356 (display-buffer-other-window)
16357 (display-buffer-same-frame-other-window)
16358 (display-buffer-other-frame, pop-to-buffer-same-window)
16359 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16360 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16361 (switch-to-buffer-same-frame)
16362 (switch-to-buffer-other-window-same-frame)
16363 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16364 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16365 (display-buffer-alist-set): Remove.
16366 (display-buffer-function, special-display-buffer-names)
16367 (special-display-regexps, special-display-function):
16368 In doc-string refer to display-buffer-window and quit-restore
16369 parameter.
16370 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16371 (special-display-frame-alist, special-display-popup-frame)
16372 (same-window-buffer-names, same-window-regexps, same-window-p)
16373 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16374 (split-window-preferred-function, split-height-threshold)
16375 (split-width-threshold, window-splittable-p)
16376 (split-window-sensibly, window--try-to-split-window)
16377 (window--frame-usable-p, even-window-heights)
16378 (window--even-window-heights, window--display-buffer-1)
16379 (window--display-buffer-2, display-buffer-other-frame):
16380 Restore old Emacs 23 code, order and doc-strings where applicable.
16381 (display-buffer-default, display-buffer-assq-regexp): New functions.
16382 (display-buffer-alist): Rewrite doc-string.
16383 (display-buffer-default-action)
16384 (display-buffer-overriding-action): New variables.
16385 (display-buffer, switch-to-buffer): Rewrite.
16386 (pop-to-buffer): Restore Emacs 23 behavior but use
16387 window-normalize-buffer-to-display.
16388 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16389 Restore Emacs 23 behavior but use
16390 window-normalize-buffer-to-switch-to.
16391 (pop-to-buffer-same-window): Rewrite.
16392 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16393 Rewrite using Emacs 23 options.
16394
16395 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16396
16397 * net/tramp.el (tramp-root-regexp): Remove.
16398 (tramp-completion-file-name-regexp-unified)
16399 (tramp-completion-file-name-regexp-separate)
16400 (tramp-completion-file-name-regexp-url): Don't use leading volume
16401 letter on w32 systems. (Bug#5303, Bug#9311)
16402 (tramp-drop-volume-letter): Simplify definition.
16403 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16404
16405 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16406
16407 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16408 (bug#9356).
16409
16410 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16411
16412 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16413
16414 2011-08-29 Juri Linkov <juri@jurta.org>
16415
16416 * isearch.el (isearch-done): Don't display message "Mark saved"
16417 when arg `edit' is non-nil to prevent its flicker in the echo area.
16418
16419 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16420
16421 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16422 obsolete packages for deletion.
16423
16424 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16425
16426 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16427 (help-mode): Derive help-mode from special-mode. Don't invoke
16428 view-mode from help-mode.
16429 (help-xref-override-view-map): Remove.
16430 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16431 view-mode is not used anymore.
16432
16433 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16434
16435 * server.el (server-port): Doc fix.
16436
16437 * cus-theme.el (custom-theme-choose-mode): Inherit from
16438 special-mode (Bug#9124).
16439 (custom-theme-choose-mode-map): Add special-mode to parent.
16440
16441 2011-08-28 Alan Mackenzie <acm@muc.de>
16442
16443 * progmodes/cc-fonts.el
16444 (c-make-font-lock-BO-decl-search-function): New function.
16445 (c-basic-matchers-after - "Fontify the clauses after various
16446 keywords"): Extract the three keyword lists for the 3 erroneous
16447 constructs from the list of four, and use the new function above
16448 in place of an old one.
16449
16450 2011-08-28 Deniz Dogan <deniz@dogan.se>
16451
16452 * net/rcirc.el (rcirc-insert-prev-input)
16453 (rcirc-insert-next-input): Remove unused argument.
16454
16455 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16456
16457 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16458
16459 2011-08-27 Alan Mackenzie <acm@muc.de>
16460
16461 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16462 handle function pointer parameters properly.
16463
16464 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16465
16466 * window.el (display-buffer-reuse-window): Fix case where
16467 selected window was reused with non-nil OTHER-WINDOW argument.
16468 (Bug#9381)
16469
16470 2011-08-27 Deniz Dogan <deniz@dogan.se>
16471
16472 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16473 oftc's NickServ messages.
16474
16475 2011-08-27 Glenn Morris <rgm@gnu.org>
16476
16477 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16478
16479 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16480
16481 * emacs-lisp/package.el (package-install): Call package-initialize
16482 if called interactively.
16483
16484 2011-08-26 Leo Liu <sdl.web@gmail.com>
16485
16486 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16487
16488 2011-08-25 Juri Linkov <juri@jurta.org>
16489
16490 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16491 `search-whitespace-regexp' (bug#9364).
16492
16493 2011-08-25 Juri Linkov <juri@jurta.org>
16494
16495 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16496 `regexp-search-ring' to their global values to protect from
16497 updating by `read-from-minibuffer' (bug#9185).
16498
16499 2011-08-25 Juri Linkov <juri@jurta.org>
16500
16501 * textmodes/ispell.el (ispell-command-loop): Add newline
16502 at the end of the "Use option `i'..." line.
16503
16504 2011-08-25 Juri Linkov <juri@jurta.org>
16505
16506 * battery.el (display-battery-mode): If `battery-status-function'
16507 or `battery-mode-line-format' is nil, display the message and set
16508 `display-battery-mode' to nil (bug#9363).
16509
16510 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16511
16512 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16513 bidi-string-mark-left-to-right; they are unnecessary now.
16514
16515 2011-08-25 Deniz Dogan <deniz@dogan.se>
16516
16517 * net/quickurl.el: Documentation typo fixes.
16518
16519 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16520
16521 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16522
16523 2011-08-25 Glenn Morris <rgm@gnu.org>
16524
16525 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16526
16527 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16528 (smtpmail-via-smtp): Handle nil response from smtp.
16529
16530 2011-08-24 Juri Linkov <juri@jurta.org>
16531
16532 * proced.el (proced-marked): Inherit from `error' instead of
16533 `font-lock-warning-face'.
16534
16535 * ibuffer.el (ibuffer-marked-face): Change default face from
16536 `font-lock-warning-face' to `warning'.
16537 (ibuffer-deletion-face): Change default face from
16538 `font-lock-type-face' to `error'.
16539
16540 * battery.el (battery-update): Use the face `error' instead of
16541 `font-lock-warning-face' (bug#6117).
16542
16543 2011-08-24 Juri Linkov <juri@jurta.org>
16544
16545 * faces.el (success): Change face color from "Green3" to
16546 "ForestGreen" on light background (bug#9353).
16547
16548 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16549
16550 * window.el (quit-window): Rename from quit-restore-window.
16551 Use same arglist as old quit-window.
16552 (frame-auto-delete): Doc fix.
16553
16554 * view.el (view-mode-exit): Use quit-window.
16555
16556 2011-08-24 Juri Linkov <juri@jurta.org>
16557
16558 * isearch.el (isearch-ring-adjust1): Start visiting previous
16559 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16560 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16561 for empty search string (when the last search string is reused
16562 automatically) to adjust the isearch ring to the last element and
16563 prepare the correct index for further M-p commands (bug#9185).
16564
16565 2011-08-24 Kenichi Handa <handa@m17n.org>
16566
16567 * international/ucs-normalize.el: If decomposition property of
16568 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16569 nil.
16570 (nfd, nfkd): Likewise.
16571
16572 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16575 from process filters aren't reliably transmitted to the surrounding
16576 accept-process-output.
16577 (mpc-proc-check): New function.
16578 (mpc-proc-sync): Use it (bug#8293)
16579
16580 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16581
16582 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16583 Add compatibility functions (bug#9313).
16584
16585 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16586
16587 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16588
16589 * international/uni-bidi.el: Regenerate.
16590
16591 2011-08-23 Kenichi Handa <handa@m17n.org>
16592
16593 * international/charprop.el:
16594 * international/uni-bidi.el:
16595 * international/uni-category.el:
16596 * international/uni-combining.el:
16597 * international/uni-comment.el:
16598 * international/uni-decimal.el:
16599 * international/uni-decomposition.el:
16600 * international/uni-digit.el:
16601 * international/uni-lowercase.el:
16602 * international/uni-mirrored.el:
16603 * international/uni-name.el:
16604 * international/uni-numeric.el:
16605 * international/uni-old-name.el:
16606 * international/uni-titlecase.el:
16607 * international/uni-uppercase.el: Regenerate.
16608
16609 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16610
16611 * help.el (help-window-setup): Fix message displayed when other
16612 window is reused. (Bug#9341)
16613
16614 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16615
16616 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16617 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16618
16619 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16620 Mark obsolete.
16621 * shell.el (shell-parse-pcomplete-arguments): New function.
16622 (shell-completion-vars): Use it instead (bug#9160).
16623
16624 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16627 strings and comments (bug#9333).
16628
16629 * emacs-lisp/debug.el (debug-arglist): New function.
16630 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16631 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16632
16633 2011-08-22 Juri Linkov <juri@jurta.org>
16634
16635 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16636 Revert regexp that highlights output switches to its old
16637 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16638
16639 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16640 to check for empty output (bug#9226).
16641
16642 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16643
16644 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16645 symbol-constituent as the default, as that stops font-lock from
16646 working properly (Bug#8843).
16647
16648 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16649
16650 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16651 `coding-system-for-*' around the process open call to avoid
16652 auth-source side effects.
16653 (smtpmail-try-auth-methods): Expand the secret password.
16654 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16655 probe hangs.
16656
16657 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16658
16659 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16660
16661 * emacs-lisp/find-func.el (find-function-noselect): New arg
16662 lisp-only.
16663
16664 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16665 signal an error for built-in functions (Bug#6664).
16666
16667 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16668
16669 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16670 (smtpmail-try-auth-methods): Use it.
16671
16672 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16673
16674 * font-lock.el (font-lock-fontify-region)
16675 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16676 (font-lock-default-unfontify-buffer)
16677 (font-lock-default-fontify-region)
16678 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16679
16680 * progmodes/compile.el (compilation-error-properties):
16681 Fix confusion between file struct and message struct (Bug#9319).
16682 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16683 `ant' regexp.
16684
16685 * net/browse-url.el (browse-url-firefox): Don't call
16686 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16687
16688 2011-08-20 Glenn Morris <rgm@gnu.org>
16689
16690 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16691
16692 * tutorial.el (tutorial--default-keys): Update some default bindings.
16693
16694 * files.el (hack-local-variables): Fully ignore case for "mode:".
16695
16696 2011-08-20 Alan Mackenzie <acm@muc.de>
16697
16698 Resolve invalid use of a regexp in regexp-opt.
16699
16700 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16701 detection for a java annotation.
16702
16703 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16704 detection for a java annotation.
16705
16706 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16707 handling for java.
16708 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16709
16710 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16711
16712 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16713 (Bug#9274).
16714
16715 2011-08-20 Alan Mackenzie <acm@muc.de>
16716
16717 Fontify CPP expressions correctly when starting in the middle of
16718 such a construct. Mainly for when jit-lock etc. starts a chunk
16719 here.
16720
16721 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16722 variable.
16723 (c-make-font-lock-search-form): New function, extracted from
16724 c-make-font-lock-search-function.
16725 (c-make-font-lock-search-function): Use the above function.
16726 (c-make-font-lock-context-search-function): New function.
16727 (c-cpp-matchers): Enhance the preprocessor expression case with
16728 the above function
16729 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16730 which takes an expression.
16731
16732 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16733
16734 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16735
16736 * window.el (display-buffer-reuse-window)
16737 (display-buffer-pop-up-window): Don't reuse or split a side
16738 window.
16739
16740 2011-08-19 Glenn Morris <rgm@gnu.org>
16741
16742 * files.el (hack-local-variables-prop-line, hack-local-variables):
16743 Downcase "Mode:". (Bug#9331)
16744
16745 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16746
16747 * international/characters.el: Add L and R categories.
16748
16749 * subr.el (bidi-string-mark-left-to-right): Rename from
16750 string-mark-left-to-right. Use category search.
16751
16752 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16753
16754 2011-08-18 Juri Linkov <juri@jurta.org>
16755
16756 * faces.el (error, warning, success): New faces with definitions
16757 copied from old default values of `font-lock-warning-face',
16758 `compilation-warning', `compilation-info' (bug#6117).
16759
16760 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16761
16762 * progmodes/compile.el (compilation-error): Inherit from `error'.
16763 (compilation-warning): Inherit from `warning'.
16764 (compilation-info): Inherit from `success'.
16765
16766 * dired.el (dired-marked): Inherit from `warning'.
16767 (dired-flagged): Inherit from `error'.
16768
16769 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16770
16771 * mail/smtpmail.el (auth-source): Require to avoid problems with
16772 binding variables (bug#9298). Also clean up some unused
16773 autoloads.
16774
16775 * net/network-stream.el (network-stream-open-starttls):
16776 Support using starttls.el without using gnutls-cli.
16777
16778 2011-08-17 Juri Linkov <juri@jurta.org>
16779
16780 * progmodes/grep.el (rgrep): Handle the case when
16781 `grep-find-command' is a cons cell (bug#9278).
16782
16783 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16784
16785 * window.el (display-buffer-pop-up-frame): Run frame creation
16786 function with BUFFER current (as special-display-popup-frame
16787 does). Reported by Drew Adams.
16788
16789 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16790
16791 * epa-mail.el: Simplify GnuPG group expansion using
16792 epg-expand-group.
16793 (epa-mail-group-alist, epa-mail-group-modtime)
16794 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16795 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16796 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16797 Remove.
16798
16799 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16800
16801 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16802
16803 2011-08-16 Alan Mackenzie <acm@muc.de>
16804
16805 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16806 Correct, to avoid the inside of macros.
16807
16808 2011-08-16 Richard Stallman <rms@gnu.org>
16809
16810 * epa-mail.el: Handle GnuPG group definitions.
16811 (epa-mail-group-alist, epa-mail-group-modtime)
16812 (epa-mail-gnupg-conf-file): New variables.
16813 (epa-mail-parse-groups, epa-mail-sync-groups)
16814 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16815 (epa-mail-expand-recipients): New functions.
16816 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16817
16818 * mail/rmail.el (rmail-epa-decrypt): New command.
16819
16820 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16821 Don't bind buffer-read-only, just inhibit-read-only.
16822 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16823 (epa-decrypt-armor-in-region): Make error message clearer.
16824
16825 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16826
16827 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16828 and "a2b" to "ab" for `prefix'.
16829
16830 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16831
16832 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16833 filter groups.
16834 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16835 Fourquet (Bug#8804).
16836
16837 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16838
16839 * startup.el (argi): Declare as global variable (bug#9275).
16840
16841 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16842
16843 * subr.el (string-mark-left-to-right): Search the entire string
16844 for RTL script, not just the terminating character. Doc fix.
16845
16846 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16847
16848 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16849 New function.
16850 (js--regexp-literal, js-syntax-propertize-function): Remove.
16851 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16852 (js-mode-map): Don't rebind electric keys.
16853 (js-insert-and-indent): Remove.
16854 (js-mode): Setup electric-layout and electric-indent instead.
16855
16856 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16857
16858 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16859
16860 * epa.el (epa-progress-callback-function): Fix the logic of
16861 displaying progress.
16862 * epa-file.el (epa-file-insert-file-contents): Make progress
16863 display more user-friendly.
16864 (epa-file-write-region): Ditto.
16865
16866 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16867
16868 * subr.el (string-mark-left-to-right): New function.
16869
16870 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16871 Use string-mark-left-to-right.
16872 (list-buffers-noselect): Caller changed.
16873
16874 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16875 Use string-mark-left-to-right.
16876 (tabulated-list-print): Recenter after moving point.
16877
16878 2011-08-10 Juri Linkov <juri@jurta.org>
16879
16880 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16881 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16882 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16883
16884 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16885
16886 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16887 (Bug#7554).
16888
16889 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16890
16891 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16892 character. (Bug#6594)
16893
16894 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16895
16896 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16897 (image-dired--with-db-file): New macro.
16898 (image-dired-write-tags, image-dired-remove-tag)
16899 (image-dired-create-gallery-lists, image-dired-write-comments)
16900 (image-dired-get-comment, image-dired-mark-tagged-files)
16901 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16902 (image-dired-gallery-generate): Use insert-file-contents.
16903
16904 * time.el (display-time-world-list, display-time-world-display):
16905 * time-stamp.el (time-stamp-string):
16906 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16907 set-time-zone-rule (Bug#7337).
16908
16909 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16910
16911 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16912 (epg-error-to-string, epg-errors-to-string): New function.
16913 (epg-wait-for-completion): Reverse errors list.
16914 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16915 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16916 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16917 (epg-sign-keys, epg-generate-key-from-file)
16918 (epg-generate-key-from-string): Format errors by using
16919 epg-errors-to-string (bug#9255).
16920 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16921
16922 2011-08-07 Juri Linkov <juri@jurta.org>
16923
16924 * faces.el (list-faces-display): Remove extra angle bracket
16925 from `help-mode-map'.
16926
16927 * info.el (Info-history-toc-nodes): Doc fix.
16928
16929 * longlines.el (longlines-mode): Doc fix.
16930
16931 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16932
16933 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16934 of statements and in a few more cases (bug#9183).
16935
16936 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16937 New functions.
16938 (cl-transform-lambda): Use them (bug#9239).
16939
16940 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16941
16942 * window.el (display-buffer-same-window)
16943 (display-buffer-same-frame, display-buffer-other-window)
16944 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16945 (pop-to-buffer-other-window)
16946 (pop-to-buffer-same-frame-other-window)
16947 (pop-to-buffer-other-frame): Make them defuns.
16948 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16949
16950 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16951
16952 * subr.el (make-composed-keymap): Move from C. Change calling
16953 convention, and improve docstring to bring attention to a subtle point.
16954 * minibuffer.el (completing-read-default): Adjust accordingly.
16955
16956 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16957
16958 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16959 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16960
16961 * net/trampver.el: Update release number.
16962
16963 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16964
16965 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16966 "in" (bug#9190).
16967
16968 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16969
16970 * mail/sendmail.el (sendmail-query-once): Restore the current
16971 buffer after querying (bug#9074).
16972
16973 * dired.el (dired-flagged): Use different faces for marked and
16974 flagged files (bug#6117).
16975
16976 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16977 (bug#4433).
16978
16979 * ido.el (ido-mode): Switch off the message if called
16980 non-interactively.
16981
16982 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16983 before 587, since it appears that that's more likely to work for
16984 more people.
16985
16986 * cus-edit.el (custom-file): When running under emacs -q, always
16987 refuse to save the customizations, even if the .emacs file doesn't
16988 exist.
16989
16990 * info.el: Remove the `Info-beginning-of-buffer' function
16991 (bug#8325).
16992
16993 * net/network-stream.el (network-stream-open-starttls):
16994 Use `starttls-available-p' to see whether starttls.el can be used.
16995
16996 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16997
16998 * window.el (display-buffer-in-window): Don't set dedicated status
16999 of window here (Bug#9215).
17000 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
17001 (display-buffer-pop-up-side-window)
17002 (display-buffer-in-side-window): Set dedicated status of window here.
17003
17004 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
17005
17006 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
17007 before binding generated-autoload-file.
17008
17009 2011-08-01 Deniz Dogan <deniz@dogan.se>
17010
17011 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
17012
17013 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
17014
17015 Sync with Tramp 2.2.2.
17016
17017 * net/trampver.el: Update release number.
17018
17019 2011-07-30 Juri Linkov <juri@jurta.org>
17020
17021 * dired-aux.el (dired-touch-initial): Remove function.
17022 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
17023 current time, and `default' to the last modification time of the
17024 current marked file (bug#6887).
17025
17026 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
17027
17028 * simple.el (goto-line): Use string-to-number to provide a
17029 numeric argument to read-number (bug#9163).
17030
17031 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
17032
17033 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
17034 connection process, it could be nil.
17035
17036 2011-07-27 Leo Liu <sdl.web@gmail.com>
17037
17038 Simplify url handling in rcirc-mode.
17039
17040 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
17041 (rcirc-browse-url-at-mouse): Remove.
17042 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
17043
17044 2011-07-26 Alan Mackenzie <acm@muc.de>
17045
17046 Fontify bitfield declarations properly.
17047
17048 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
17049 (c-symbol-chars): Now exported as a lang variable.
17050 (c-not-primitive-type-keywords): New lang variable.
17051
17052 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
17053 QT keyword "more" to prevent "more slots: ...." being spuriously
17054 parsed as a bitfield declaration.
17055
17056 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17057 Refactor and enhance to handle bitfield declarations.
17058 (c-punctuation-in): New function.
17059 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
17060 declarations properly.
17061
17062 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
17063
17064 * calendar/icalendar.el (icalendar--all-events): Take care of
17065 multiple vcalendars in a single file.
17066 (icalendar--convert-float-to-ical): Checkdoc fixes.
17067
17068 2011-07-25 Deniz Dogan <deniz@dogan.se>
17069
17070 * image.el (insert-image): Clarifying docstring.
17071
17072 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
17073
17074 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
17075 `tramp-send-command-and-check' if there is no error.
17076 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
17077
17078 2011-07-22 Alan Mackenzie <acm@muc.de>
17079
17080 Prevent cc-langs.elc being loaded at run time.
17081
17082 * progmodes/cc-mode.el: Remove two autoload forms which loaded
17083 cc-langs.
17084
17085 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
17086 "(require 'cc-langs)". Quote a form so it will evaluate at
17087 (cc-mode's) compilation time.
17088
17089 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
17090
17091 * net/tramp.el (tramp-file-name-handler): Avoid recursive
17092 loading. (Bug#9114)
17093
17094 2011-07-21 Martin Rudalics <rudalics@gmx.at>
17095
17096 * window.el (display-buffer-pop-up-window)
17097 (display-buffer-pop-up-side-window)
17098 (display-buffer-in-side-window): Call display-buffer-set-height
17099 and display-buffer-set-width after setting the new window's
17100 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17101
17102 2011-07-20 Sam Steingold <sds@gnu.org>
17103
17104 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17105 (etags-tags-included-tables): Call `convert-standard-filename' on
17106 the file names contained in TAGS so that windows Emacs can handle
17107 TAGS files created by cygwin ctags.
17108
17109 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17110
17111 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17112 which apparently didn't work.
17113
17114 2011-07-19 Roland Winkler <winkler@gnu.org>
17115
17116 * proced.el (proced-send-signal): For *Marked Processes* buffer
17117 put point at beginning of buffer.
17118
17119 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17120
17121 * proced.el (proced-format): Make header lines align with the text
17122 (bug#1779).
17123
17124 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17125
17126 * view.el (view-buffer): Allow running in `special' modes if we're
17127 visiting a file (bug#8615).
17128
17129 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17130
17131 * window.el (display-buffer-alist-of-strings-p)
17132 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17133 New functions.
17134 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17135 more accurately.
17136
17137 2011-07-18 Alan Mackenzie <acm@muc.de>
17138
17139 Fontify declarators properly when, e.g., a jit-lock chunk begins
17140 inside a declaration.
17141
17142 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17143
17144 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17145 New function.
17146 (c-complex-decl-matchers): Insert reference to
17147 c-font-lock-enclosing-decls.
17148
17149 * progmodes/cc-engine.el (c-backward-single-comment):
17150 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17151 to nil around calls to (forward-comment -1).
17152
17153 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17154
17155 * image.el (put-image): Doc typo fix.
17156
17157 * progmodes/etags.el (tags-search): Doc typo fix.
17158
17159 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17160 password if we get errors 550 to 554.
17161
17162 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17163
17164 * net/gnutls.el (gnutls-log-level): Remove.
17165
17166 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17167 indentation character (bug#6380).
17168
17169 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17170
17171 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17172 to clarify what the problem is (bug#4291).
17173
17174 * simple.el (current-kill): Clarify what
17175 `interprogram-paste-function' does (bug#7500).
17176 (auto-fill-mode): Document `auto-fill-function' in relation to
17177 `auto-fill-mode' (bug#2470).
17178
17179 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17180
17181 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17182 method if slot is read-only (bug#9035).
17183
17184 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17185
17186 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17187 * window.el (pop-to-buffer): Select window used even if it was
17188 selected before, see discussion of (Bug#8615), (Bug#6954).
17189 Pass argument NORECORD on to select-frame-set-input-focus.
17190
17191 2011-07-15 Glenn Morris <rgm@gnu.org>
17192
17193 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17194 Respect help-form.
17195
17196 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17197
17198 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17199 (gnutls-negotiate): Use it.
17200
17201 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17202
17203 * net/gnutls.el (gnutls-negotiate):
17204 Upcase `gnutls-algorithm-priority'.
17205
17206 2011-07-15 Glenn Morris <rgm@gnu.org>
17207
17208 * jka-compr.el (jka-compr-verbose): Move from here...
17209 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17210 Add missing :version tag.
17211 * info.el: No need to require jka-compr when compiling.
17212
17213 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17214
17215 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17216 (gnutls-negotiate): Use it.
17217
17218 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17219
17220 * info.el (Info-beginning-of-buffer): New command.
17221 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17222 announcing `b' as the key (bug#8325).
17223 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17224
17225 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17226
17227 * international/mule-cmds.el
17228 (describe-specified-language-support): Make the error message
17229 clearer (bug#8905).
17230
17231 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17232
17233 * isearch.el (isearch-barrier): Add a doc string, since it's
17234 mentioned in a function doc string (bug#8678).
17235
17236 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17237
17238 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17239 buffer argument (Bug#9083) and self-identifying label argument.
17240
17241 2011-07-15 Glenn Morris <rgm@gnu.org>
17242
17243 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17244
17245 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17246
17247 * man.el (Man-fontify-manpage): Fix message when formatting the
17248 man page (bug#7929).
17249
17250 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17251
17252 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17253 argument LRM; if non-nil, append an invisible LRM character to the
17254 buffer name.
17255 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17256 last argument non-nil, when formatting buffer names.
17257 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17258 paragraph direction.
17259
17260 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17261
17262 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17263 the man page name (bug#7929).
17264
17265 * image.el (put-image): Mention the `put-image' overlay property
17266 (bug#7834).
17267
17268 * scroll-bar.el (set-scroll-bar-mode): Mention that
17269 `scroll-bar-mode' lists the values (bug#7772).
17270
17271 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17272 command (bug#7729).
17273
17274 * rect.el (apply-on-rectangle): Return the point after the last
17275 operation.
17276 (string-rectangle): Go to the point after the last operation
17277 (bug#7522).
17278
17279 * printing.el (pr-toggle-region): Clarify the documentation
17280 slightly (bug#7493).
17281
17282 * time.el (display-time-update):
17283 Allow `display-time-mail-function' to return nil (bug#7158).
17284 Fix suggested by Detlev Zundel.
17285
17286 * vc/diff.el (diff): Clarify the order the file names are read
17287 (bug#7111).
17288
17289 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17290 the doc string (bug#7015).
17291
17292 * font-lock.el (font-lock-maximum-decoration): Mention what
17293 numeric levels mean (bug#6935).
17294
17295 * startup.el (initial-buffer-choice): Don't mention the `none'
17296 selection, which is against policy.
17297
17298 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17299
17300 * window.el (display-buffer-normalize-special):
17301 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17302
17303 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17304
17305 * subr.el (version<, version<=, version=): Mention "-CVS" and
17306 "-12345" alpha version numbers.
17307
17308 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17309
17310 * bindings.el: Add advertised binding for set-mark-command
17311 (Bug#5772).
17312
17313 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17314
17315 * bindings.el (mode-line-other-buffer):
17316 * bookmark.el (bookmark-bmenu-2-window):
17317 * bs.el (bs-cycle-next, bs-cycle-previous):
17318 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17319 switch-to-buffer.
17320
17321 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17322 Delete.
17323
17324 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17325
17326 * follow.el (follow-debug-message, follow-redisplay):
17327 * jka-cmpr-hook.el (with-auto-compression-mode):
17328 Fix typos in docstrings.
17329
17330 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17331
17332 * subr.el (with-silent-modifications): Clarify somewhat what the
17333 macro inhibits (bug#6525).
17334
17335 * simple.el (eval-expression): Note what it does if called
17336 interactively (bug#6495).
17337
17338 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17339
17340 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17341 Use pop-to-buffer buffer-or-name if it is nil.
17342
17343 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17344 Remove switch-to-buffer.
17345
17346 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17347
17348 * files.el (make-directory): Clarify that an error will be raised
17349 if there's an error (bug#6397).
17350
17351 * startup.el (initial-buffer-choice): Add `none' as a choice
17352 (bug#6234).
17353
17354 * subr.el (add-hook): Clarify section about buffer-local hooks
17355 (bug#6218).
17356
17357 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17358
17359 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17360
17361 * tabify.el (untabify): Preserve the current column so that point
17362 doesn't move (bug#6032).
17363
17364 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17365
17366 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17367 Rewrite to avoid awkward possessive "s" (bug#5986).
17368
17369 2011-07-13 Glenn Morris <rgm@gnu.org>
17370
17371 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17372 (dired-insert-directory): Give a message the first time
17373 if ls is found not to support --dired.
17374
17375 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17376
17377 * simple.el (toggle-truncate-lines): Clarify what is toggled
17378 (bug#5580). Text by Drew Adams.
17379
17380 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17381
17382 * simple.el (blink-matching-open): Make the error message from the
17383 last change less verbose.
17384
17385 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17386
17387 * font-lock.el (font-lock-comment-face): Use the high contrast
17388 "yellow" color for font-lock-comment-face on low color terminals
17389 using a dark background color (bug#4221).
17390
17391 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17392
17393 * dired.el (dired-insert-set-properties): Make the doc string
17394 reflect what it does now (bug#5325).
17395
17396 * simple.el (blink-matching-open): Say that we were unable to find
17397 the match within the limit, if we're limited (bug#5122).
17398
17399 * international/mule-cmds.el (prefer-coding-system): Add an
17400 example (bug#4869).
17401
17402 * progmodes/etags.el (tags-search): Document `file-list-form'
17403 (bug#4731).
17404
17405 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17406
17407 * net/browse-url.el (browse-url-default-browser)
17408 (browse-url-browser-function): Make the default browser choice a
17409 bit more logical (bug#4300). Also clean up the doc string.
17410
17411 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17412
17413 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17414 binary endings (bug#4440).
17415
17416 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17417
17418 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17419 which can be pretty annoying (bug#8971).
17420
17421 * jka-compr.el (jka-compr-verbose): New variable, and use
17422 throughout (bug#8971).
17423
17424 * info.el (Info-find-file): Fall back on the installation
17425 directory if we can't find the info node anywhere else.
17426
17427 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17428
17429 * vc/vc.el (vc-revert-file):
17430 Don't set file time-stamp in the past. (Bug#5181)
17431
17432 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17433
17434 * files.el (after-find-file): Give a better error message when
17435 trying to find a symlink that points to a file that doesn't exist
17436 (bug#4398).
17437
17438 * progmodes/cc-vars.el: Remove (probably) misleading comment
17439 (bug#4396).
17440
17441 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17442
17443 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17444
17445 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17446
17447 * mouse-sel.el: Hack restoring functionality, while keeping
17448 compatibility with 2010-07-03 changes to mouse selection.
17449 (mouse-sel-primary-overlay): New var.
17450 (mouse-sel-selection-alist): Use it.
17451 (mouse-sel-mode): Doc fix; remove points that are default features
17452 of mouse.el.
17453
17454 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17455
17456 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17457 Fix previous fix (bug#2490).
17458
17459 2011-07-12 Roland Winkler <winkler@gnu.org>
17460
17461 * textmodes/bibtex.el (bibtex-initialize):
17462 Use pop-to-buffer-same-window.
17463 (bibtex-search-entries): Fix interactive call.
17464
17465 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17466
17467 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17468 Fontise bytecomp Error lines more correctly (bug#2490).
17469 Fix suggested by Johan Bockgård.
17470
17471 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17472
17473 * dired-x.el (dired-guess-default): Use `delete-dups'.
17474
17475 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17476
17477 * dired.el (dired-mark-prompt):
17478 * dired-aux.el (dired-read-shell-command): Doc fix.
17479
17480 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17481
17482 * mail/sendmail.el (sendmail-query-once):
17483 Use `customize-save-variable' unconditionally, now that it works under
17484 emacs -Q.
17485
17486 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17487
17488 * cus-edit.el (custom-file): Take an optional no-error variable.
17489 (customize-save-variable): Set the variable, and give a warning if
17490 running under "emacs -q".
17491
17492 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17493
17494 * loadhist.el (unload-feature-special-hooks):
17495 Add `auto-coding-functions', `fill-nobreak-predicate' and
17496 `find-directory-functions' (bug#5327).
17497
17498 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17499
17500 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17501
17502 * cus-edit.el (custom-guess-name-alist): -alist variables should
17503 use the `alist' type (bug#3120). Suggested by Drew Adams.
17504
17505 * printing.el: Add documentation to all the `pr-toggle-' commands.
17506
17507 2011-07-11 Leo Liu <sdl.web@gmail.com>
17508
17509 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17510 backends where it makes sense (bug#2623).
17511
17512 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17513
17514 * dired-x.el (dired-guess-default): Remove duplicate shell command
17515 entries (bug#2028).
17516 (dired-guess-default): Fix grammar in doc string (bug#2028).
17517 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17518
17519 * subr.el (remove-duplicates): New conveniency function.
17520
17521 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17522
17523 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17524 (bug#1526).
17525
17526 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17527
17528 * window.el (display-buffer-normalize-default): Don't invert
17529 meaning of even-window-heights. Reported by Eli Zaretskii
17530 <eliz@gnu.org>.
17531
17532 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17533
17534 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17535
17536 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17537
17538 * window.el (display-buffer): Fix arguments to
17539 display-buffer-reuse-window in last change.
17540
17541 * faces.el (link): Use a less saturated blue on light backgrounds.
17542
17543 * startup.el (fancy-startup-text, fancy-about-text)
17544 (fancy-startup-tail): Use font-lock faces, for background safety.
17545
17546 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17547
17548 * emulation/viper-cmd.el (viper-change-state-to-vi):
17549 Limit triggering of abbrev expansion (Bug#9038).
17550
17551 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17552
17553 * window.el (display-buffer-default-specifiers): Remove.
17554 (display-buffer-macro-specifiers): Remove default specifiers.
17555 (display-buffer-alist): Default to nil.
17556 (display-buffer-reuse-window): New optional argument other-window.
17557 (display-buffer-pop-up-window): Allow splitting internal
17558 windows. Check whether a live window was created.
17559 (display-buffer-other-window-means-other-frame)
17560 (display-buffer-normalize-arguments): Rename to
17561 display-buffer-normalize-argument and rewrite. Set the
17562 other-window specifier.
17563 (display-buffer-normalize-special): New function.
17564 (display-buffer-normalize-options): Rename to
17565 display-buffer-normalize-default and rewrite.
17566 (display-buffer-normalize-options-inhibit): Remove.
17567 (display-buffer-normalize-specifiers): Rewrite.
17568 (display-buffer): Process other-window specifier and call
17569 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17570 more faithfully.
17571 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17572 (display-buffer-alist-set): Don't handle 'unset default values.
17573 (display-buffer-in-window, display-buffer-alist-set):
17574 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17575 <tassilo@member.fsf.org>.
17576
17577 2011-07-09 Leo Liu <sdl.web@gmail.com>
17578
17579 * register.el (insert-register): Restore accidental change on
17580 2011-06-26. (Bug#9028)
17581
17582 2011-07-09 Glenn Morris <rgm@gnu.org>
17583
17584 * subr.el (remq): Handle the empty list. (Bug#9024)
17585
17586 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17587
17588 * mail/sendmail.el (send-mail-function): No longer delay custom
17589 initialization.
17590 * custom.el (custom-initialize-delay): Doc fix.
17591
17592 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17593
17594 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17595
17596 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17597
17598 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17599 human-friendly prompt.
17600
17601 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17602
17603 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17604 provided by a particular plugin.
17605
17606 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17607
17608 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17609 save customizations (with "emacs -Q"), just set the variable
17610 instead of erroring out.
17611
17612 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17613
17614 2011-07-08 Juri Linkov <juri@jurta.org>
17615
17616 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17617 (archive-zip-update-case): Use 7z if found by `executable-find'.
17618 The order of searching the available programs is the same as in
17619 `archive-zip-extract' (bug#8968).
17620
17621 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17622
17623 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17624 (menu-bar-options-menu): Tweak descriptions.
17625
17626 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17627
17628 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17629 menu items into verb phrases (bug#1421). Also refill to fit under
17630 80 columns.
17631
17632 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17633
17634 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17635 (Info-read-node-name): Doc fix (Bug#1084).
17636
17637 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17638 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17639 (end-of-sexp, beginning-of-sexp)
17640 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17641 (forward-symbol, forward-same-syntax, word-at-point)
17642 (sentence-at-point): Doc fix (Bug#1144).
17643
17644 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17645
17646 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17647 should cover it (bug#1281).
17648
17649 * cus-edit.el (custom-show): Mark as obsolete.
17650
17651 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17652 negotiation fails, then possibly try again with a non-encrypted
17653 connection (bug#9017).
17654
17655 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17656 be used.
17657
17658 2011-07-07 Richard Stallman <rms@gnu.org>
17659
17660 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17661 property, and handle its changed format.
17662 Look for the correct line number.
17663 Use file's line contents (but not past first =) to find
17664 correct line in message.
17665
17666 2011-07-07 Kenichi Handa <handa@m17n.org>
17667
17668 * international/characters.el (build-unicode-category-table):
17669 Delete it.
17670 (unicode-category-table): Set it by unicode-property-table-internal.
17671
17672 * international/mule-cmds.el (char-code-property-alist): Move to
17673 to src/chartab.c.
17674 (get-char-code-property): Call unicode-property-table-internal to
17675 load a file. Call get-unicode-property-internal where necessary.
17676 (put-char-code-property): Call unicode-property-table-internal to
17677 load a file. Call put-unicode-property-internal where necessary.
17678 put-unicode-property-internal where necessary.
17679 (char-code-property-description):
17680 Call unicode-property-table-internal to load a file.
17681
17682 * international/charprop.el:
17683 * international/uni-bidi.el:
17684 * international/uni-category.el:
17685 * international/uni-combining.el:
17686 * international/uni-comment.el:
17687 * international/uni-decimal.el:
17688 * international/uni-decomposition.el:
17689 * international/uni-digit.el:
17690 * international/uni-lowercase.el:
17691 * international/uni-mirrored.el:
17692 * international/uni-name.el:
17693 * international/uni-numeric.el:
17694 * international/uni-old-name.el:
17695 * international/uni-titlecase.el:
17696 * international/uni-uppercase.el: Regenerate.
17697
17698 * loadup.el: Load international/charprop.el before
17699 international/characters.
17700
17701 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17702
17703 * window.el (next-buffer, previous-buffer): Signal an error if
17704 called from a minibuffer window.
17705
17706 * bindings.el: Revert 2011-07-04 change.
17707
17708 2011-07-06 Richard Stallman <rms@gnu.org>
17709
17710 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17711 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17712 Treat markers like ints.
17713 (rmail-mime-entity): Doc fix.
17714
17715 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17716
17717 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17718 defcustom again for backwards compatibility.
17719
17720 * simple.el (shell-command-on-region): Fill.
17721
17722 * dired-aux.el (dired-kill-line): Add a doc string.
17723
17724 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17725 to "\\sw\\|\\s_" (bug#358).
17726
17727 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17728 (dired-unmark-backward): Ditto.
17729 (dired-flag-backup-files): Ditto.
17730
17731 * dired-x.el (dired-mark-sexp): Ditto.
17732
17733 2011-07-06 Richard Stallman <rms@gnu.org>
17734
17735 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17736 (rmail-mime-entity): New arg TRUNCATED.
17737 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17738 New functions.
17739 (rmail-mime-save): Warn if entity is truncated.
17740 (rmail-mime-toggle-hidden): Likewise, for showing.
17741 (rmail-mime-process-multipart): Record when an entity is truncated.
17742
17743 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17744 if ENTITY is a string.
17745
17746 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17747
17748 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17749 of faces when `M-C-x'-ing their definitions (bug#8378).
17750 Also clean up the code slightly.
17751
17752 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17753 because that makes the colors go away.
17754
17755 * mail/sendmail.el (send-mail-function): Change the default to
17756 `sendmail-query-once'.
17757 (sendmail-query-once): Add an autoload cookie.
17758
17759 * net/network-stream.el (network-stream-open-starttls): Try using
17760 a plain connection even if the server offered STARTTLS, and we
17761 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17762 capability. This should make smtpmail.el work in slightly more
17763 configurations.
17764
17765 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17766
17767 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17768 New defun.
17769 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17770
17771 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17772
17773 * progmodes/sql.el: Version 3.0
17774 (sql-product-alist): Add product :completion-object,
17775 :completion-column, and :statement attributes.
17776 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17777 (sql-mode-syntax-table): Mark all punctuation.
17778 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17779 ansi keywords.
17780 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17781 (sql-mode-oracle-font-lock-keywords): Improve.
17782 (sql-oracle-show-reserved-words): New function for development.
17783 (sql-product-font-lock): Simplify for source code buffers.
17784 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17785 New functions.
17786 (sql-highlight-product): Set product specific syntax table.
17787 (sql-mode-map): Add statement movement functions.
17788 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17789 New variable.
17790 (sql-statement-regexp, sql-beginning-of-statement)
17791 (sql-end-of-statement, sql-signum): New functions.
17792 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17793 (sql-show-sqli-buffer): Bug fix.
17794 (sql-interactive-mode): Store connection data as buffer local.
17795 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17796 with sql-interactive-mode.
17797 (sql-save-connection): Save buffer local settings.
17798 (sql-connection-menu-filter): Change menu entry name.
17799 (sql-product-interactive): Bug fix.
17800 (sql-preoutput-hold): New variable.
17801 (sql-interactive-remove-continuation-prompt): Bug fixes.
17802 (sql-debug-redirect): New variable.
17803 (sql-str-literal): New function.
17804 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17805 Redesign.
17806 (sql-oracle-save-settings, sql-oracle-restore-settings)
17807 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17808 (sql-completion-object, sql-completion-column)
17809 (sql-completion-sqlbuf): New variables.
17810 (sql-build-completions-1, sql-build-completions)
17811 (sql-try-completion): New functions.
17812 (sql-read-table-name): Use them.
17813 (sql-contains-names): New buffer local variable.
17814 (sql-list-all, sql-list-table): Use it.
17815 (sql-oracle-completion-types): New variable.
17816 (sql-oracle-completion-object, sql-sqlite-completion-object)
17817 (sql-postgres-completion-object): New functions.
17818
17819 2011-07-06 Glenn Morris <rgm@gnu.org>
17820
17821 * window.el (pop-to-buffer): Doc fix.
17822
17823 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17824
17825 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17826
17827 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17828
17829 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17830
17831 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17832
17833 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17834
17835 * button.el (button): Inherit from link face. Suggested by Dan
17836 Nicolaescu.
17837
17838 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17839
17840 * progmodes/gdb-mi.el: Fit in 80 columns.
17841 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17842 switch-to-buffer.
17843
17844 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17845 if imenu is simply not configured (bug#8941).
17846
17847 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17848
17849 * allout.el (allout-post-undo-hook): New allout outline-change
17850 event hook to signal undo activity.
17851 (allout-post-command-business): Run allout-post-undo-hook if an
17852 undo just occurred.
17853 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17854 * allout-widgets.el (allout-widgets-after-undo-function):
17855 Ensure the integrity of the current item's decoration after it has been
17856 in the vicinity of an undo.
17857 (allout-widgets-mode): Include allout-widgets-after-undo-function
17858 on the new allout-post-undo-hook.
17859
17860 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17861
17862 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17863 Let define-derived-mode define it.
17864 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17865 cycles of abbrev-table inheritance (bug#8998).
17866
17867 2011-07-05 Roland Winkler <winkler@gnu.org>
17868
17869 * textmodes/bibtex.el: Add support for biblatex.
17870 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17871 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17872 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17873 (bibtex-entry-alist, bibtex-field-alist): New variables.
17874 (bibtex-entry-field-alist): Obsolete alias for
17875 bibtex-BibTeX-entry-alist.
17876 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17877 (bibtex-set-dialect): New command.
17878 (bibtex-entry-type, bibtex-entry-head)
17879 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17880 Bind via bibtex-set-dialect.
17881 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17882 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17883 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17884 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17885 Define via bibtex-set-dialect.
17886 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17887 Obey bibtex-no-opt-remove-re.
17888 (bibtex-vec-push, bibtex-vec-incr): New functions.
17889 (bibtex-format-entry, bibtex-field-list)
17890 (bibtex-print-help-message, bibtex-validate)
17891 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17892
17893 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17894
17895 * progmodes/compile.el (compilation-goto-locus):
17896 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17897 * bs.el (bs-cycle-next, bs-cycle-previous):
17898 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17899 * bindings.el (mode-line-other-buffer):
17900 * autoinsert.el (auto-insert):
17901 * arc-mode.el (archive-extract):
17902 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17903
17904 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17905
17906 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17907 Fix check of `emacs-lock-unlockable-modes'.
17908 Coerce true values of `emacs-lock--try-unlocking' to t.
17909
17910 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17911
17912 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17913 * emacs-lock.el: New file.
17914
17915 2011-07-05 Julien Danjou <julien@danjou.info>
17916
17917 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17918 than `boundp' to check if face is set.
17919
17920 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17921
17922 * register.el (registerv-make):
17923 * window.el (window-min-height): Fix typos in docstrings.
17924
17925 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17926
17927 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17928 Update doc string.
17929
17930 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17931
17932 * server.el (server-execute): Catch quit and call
17933 `server-return-error' to pass the error back to emacsclient and
17934 close the connection (bug#8942).
17935
17936 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17937
17938 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17939 insecure exception for current topic. Also note that auto-saves
17940 are handled differently.
17941
17942 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17943 State variables for tracking auto-save inhibition situation.
17944
17945 (allout-write-contents-hook-handler): Rename from
17946 'allout-write-file-hook-handler', and describe how it depends on
17947 write-contents-functions sensitivity to non-nil value to prevent
17948 file write.
17949
17950 (allout-auto-save-hook-handler): Remove. auto-save does not check
17951 this in individual buffers, only in the starting buffer, so this
17952 is not the right way for us to inhibit auto-save in a buffer
17953 according to its condition.
17954
17955 (allout-mode): Use new allout-write-contents-hook-handler, and
17956 only with write-contents-functions. Remove auto-save provisions -
17957 they're implemented elsewhere.
17958
17959 (allout-before-change-handler): If undo is in progress, note that
17960 for attention of allout-post-command-business.
17961
17962 (allout-post-command-business): If the command we're following was
17963 an undo, check for change in the status of encrypted items and
17964 adjust auto-save inhibitions accordingly.
17965
17966 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17967 according to whether there are or aren't any plain-text topics
17968 pending encryption.
17969
17970 (allout-inhibit-auto-save-info-for-decryption):
17971 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17972 if there are plain-text topics pending encryption.
17973
17974 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17975 buffer-saved-size and some allout state to not inhibit auto-saves
17976 if there are no longer any plain-text topics pending encryption.
17977
17978 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17979 No longer provide for exemption of the current topic.
17980
17981 2011-07-04 Juri Linkov <juri@jurta.org>
17982
17983 Add 7z operations to delete and save changed members (bug#8968).
17984 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17985 New defcustoms.
17986 (archive-7z-write-file-member): New function.
17987 (archive-7z-summarize): Fix the number of dashes in the
17988 listing output.
17989
17990 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17991
17992 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17993 (bug#8958).
17994
17995 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17996
17997 * bindings.el: Ignore next-buffer and previous-buffer in
17998 minibuffer-local-map.
17999
18000 * font-lock.el (font-lock-builtin-face): Change light background
18001 color to dark slate blue (Bug#6693).
18002
18003 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
18004
18005 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
18006
18007 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
18008
18009 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
18010 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18011 Add switch-to-buffer.
18012
18013 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18014
18015 * isearch.el (isearch-search-fun-function): Clarify further the
18016 meaning of the function returned.
18017
18018 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
18019
18020 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
18021
18022 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
18023 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
18024 Use it.
18025 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
18026 `tramp-default-remote-path' does not exist.
18027 (tramp-send-command-and-read): New optional argument NOERROR.
18028 (tramp-open-connection-setup-interactive-shell)
18029 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
18030 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
18031 (tramp-process-sentinel): Flush also process' connection property.
18032 (tramp-sh-handle-start-file-process): Do not set process
18033 sentinel. It is done now ...
18034 (tramp-maybe-open-connection): ... here. (Bug#8929)
18035
18036 2011-07-04 MON KEY <monkey@sandpframing.com>
18037
18038 * play/animate.el (animate-string): Doc fixes and allow changing
18039 the buffer name (bug#5417).
18040
18041 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
18042
18043 * play/animate.el (animation-buffer-name): Rename from *animate*.
18044
18045 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
18046
18047 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
18048 This is simpler and helps future-proof the code.
18049 (timer-until): Use time-subtract and float-time.
18050 (timer--time-less-p): Use time-less-p.
18051
18052 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
18053
18054 * type-break.el (timep): Use the value of `float-time' to avoid a
18055 byte-compiler warning.
18056
18057 * server.el (server-eval-and-print): Return any result, even nil.
18058
18059 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
18060
18061 * type-break.el: Accept time formats that the builtins accept.
18062 (timep, type-break-time-difference): Accept any format that
18063 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
18064 This is simpler and helps future-proof the code.
18065 (type-break-time-difference): Round rather than ignoring
18066 subseconds components.
18067
18068 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18069
18070 * info.el (Info-apropos-matches): Make non-interactive, since it
18071 doesn't seem to do anything useful as a command (bug#8829).
18072
18073 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
18074
18075 * frame.el (frame-background-mode, frame-set-background-mode):
18076 Move from faces.el.
18077 (frame-default-terminal-background): New function.
18078
18079 * custom.el (custom-push-theme): Don't record faces in `changed'
18080 theme; this doesn't work correctly for per-frame face settings.
18081 (disable-theme): Use face-set-after-frame-default to reset faces.
18082 (custom--frame-color-default): New function.
18083
18084 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18085
18086 * dired.el (dired-flagging-regexp): Remove unused variable
18087 (bug#8769).
18088
18089 2011-03-29 Kevin Ryde <user42@zip.com.au>
18090
18091 * progmodes/compile.el (compilation-error-regexp-alist-alist):
18092 `perl-Test2' extend to match possible "fail #N" rep count
18093 (bug#8377).
18094
18095 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18096
18097 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18098 `smtpmail-via-smtp' now returns the error instead of nil.
18099
18100 * isearch.el (isearch-search-fun-function): Clarify the doc string
18101 (bug#8101).
18102
18103 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18104
18105 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18106 unnecessary spaces (bug#8987).
18107
18108 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18109
18110 * net/network-stream.el (open-network-stream): Use the
18111 :end-of-capability command thoughout.
18112
18113 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18114
18115 * net/network-stream.el (open-network-stream): Add the
18116 :end-of-capability command parameter, used by pop3.el.
18117
18118 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18119
18120 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18121
18122 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18123 for list)" (bug#6475).
18124
18125 * files.el (file-expand-wildcards): Ignore non-readable
18126 sub-directories while trying to find matches instead of signaling
18127 an error (bug#6297).
18128
18129 * man.el (Man-reference-regexp): Allow matching possible
18130 word-wrapped references (bug#6289).
18131
18132 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18133 for consistency with the other vc buffers (bug#6197).
18134 (vc-checkin): Ditto.
18135
18136 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18137
18138 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18139
18140 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18141
18142 * custom.el (defcustom): Clarify that :set is only used in the
18143 Customize user interface (bug#6089).
18144
18145 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18146 associated with a file, refuse to run instead of erroring out
18147 (bug#6084).
18148
18149 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18150 the doc string, since it appears that using `fill-column' always
18151 controls the width (bug#7845).
18152
18153 * simple.el (shell-command-on-region): Say where the error output
18154 went if `shell-command-default-error-buffer' is set (bug#6857).
18155
18156 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18157
18158 * allout.el (allout-yank-processing): Adjust cursor position for
18159 backwards-deleted space.
18160
18161 (allout-rebullet-heading): Register changes with
18162 allout-exposure-changed-hook, so the modified topic is properly
18163 decorated.
18164
18165 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18166
18167 * minibuffer.el (completion-in-region): Document PREDICATE
18168 (bug#7136).
18169
18170 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18171 of keyword/argument pairs (bug#6904).
18172
18173 * replace.el (multi-occur):
18174 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18175
18176 2011-07-02 Drew Adams <drew.adams@oracle.com>
18177
18178 * dired.el (dired-mark-if): Make the message about whether it's
18179 marking or unmarking clearer (bug#8523).
18180
18181 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18182
18183 * disp-table.el (display-table-print-array): New function.
18184 (describe-display-table): Use it to print the vectors more pretty
18185 (Bug#8859).
18186
18187 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18188
18189 * window.el (window-state-get-1): Don't assign clone numbers.
18190 Add clone-of item to list of window parameters.
18191 (window-state-put-2): Don't process clone numbers.
18192 (display-buffer-alist): Fix doc-string.
18193
18194 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18195
18196 * subr.el (remq): Don't allocate if it's not needed.
18197 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18198 (keymap--merge-bindings): New functions.
18199 (keymap-canonicalize): Use them to refine the canonicalization.
18200 * minibuffer.el (minibuffer-local-completion-map)
18201 (minibuffer-local-must-match-map): Move initialization from C.
18202 (minibuffer-local-filename-completion-map): Move initialization from C;
18203 don't inherit from anything here.
18204 (minibuffer-local-filename-must-match-map): Make obsolete.
18205 (completing-read-default): Use make-composed-keymap to combine
18206 minibuffer-local-filename-completion-map with either
18207 minibuffer-local-must-match-map or
18208 minibuffer-local-filename-completion-map.
18209
18210 2011-07-01 Glenn Morris <rgm@gnu.org>
18211
18212 * type-break.el (type-break-time-sum): Use dolist.
18213
18214 * textmodes/flyspell.el (flyspell-word-search-backward):
18215 Replace CL function.
18216
18217 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18218
18219 * mouse.el (mouse--strip-first-event): New function.
18220 (function-key-map): Use it to map fringe clicks to normal clicks
18221 by default.
18222
18223 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18224 (vc-bzr-revision-completion-table): Add support for annotate and date.
18225
18226 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18227 inherit from parent.
18228
18229 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18230
18231 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18232 (dired-show-file-type): Doc fixup (bug#8818).
18233
18234 * dired.el (dired-mode): Fix up the doc string as suggested by
18235 Drew Adams (bug#8817).
18236
18237 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18238 cookie, since the manual says that it should be possible to add
18239 this function to `find-file-hook' (bug#8709).
18240
18241 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18242
18243 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18244 here. Noted Ted Zlatanov as the maintainer.
18245 (cfengine-common-settings, cfengine-common-syntax): New functions
18246 to set up common things between `cfengine-mode' and
18247 `cfengine3-mode'.
18248 (cfengine3-mode): New mode.
18249 (cfengine3-defuns cfengine3-defuns-regex
18250 (cfengine3-class-selector-regex cfengine3-category-regex)
18251 (cfengine3-vartypes cfengine3-font-lock-keywords)
18252 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18253 (cfengine3-indent-line): Add from cfengine3.el.
18254
18255 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18256
18257 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18258
18259 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18260
18261 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18262
18263 * window.el (same-window-buffer-names, same-window-regexps)
18264 (same-window-p, special-display-frame-alist)
18265 (special-display-popup-frame, special-display-function)
18266 (special-display-buffer-names, special-display-regexps)
18267 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18268 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18269 (split-window-preferred-function, split-height-threshold)
18270 (split-width-threshold, even-window-heights)
18271 (display-buffer-mark-dedicated, window-splittable-p)
18272 (split-window-sensibly, window-safely-shrinkable-p):
18273 Un-obsolete.
18274 (display-buffer): Don't spread args with function specifier
18275 because special-display-popup-frame won't like it.
18276
18277 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18278
18279 Time-stamp simplifications and fixes.
18280 These improve accuracy slightly, and future-proof the code
18281 against some potential changes to current-time format.
18282
18283 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18284 by using time-since and float-time.
18285
18286 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18287 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18288 + NNN microseconds".
18289
18290 * type-break.el (type-break-time-sum): Rewrite using time-add.
18291
18292 * play/hanoi.el (hanoi-current-time-float): Remove.
18293 All uses replaced by float-time.
18294
18295 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18296 This yields a more-accurate answer.
18297 (rng-time-to-float): Remove; no longer needed.
18298
18299 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18300
18301 * calendar/timeclock.el (timeclock-seconds-to-time):
18302 Defalias to seconds-to-time, since they're the same thing.
18303
18304 * emacs-lisp/elp.el (elp-elapsed-time):
18305 * emacs-lisp/benchmark.el (benchmark-elapse):
18306 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18307
18308 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18309
18310 * window.el (bury-buffer): Don't iconify the only frame.
18311 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18312 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18313
18314 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18315
18316 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18317 Add mouse-yank-primary.
18318
18319 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18320
18321 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18322
18323 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18324
18325 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18326 (find-library-name): Use it to find relative load names when provided
18327 absolute file name (bug#8803).
18328
18329 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18330
18331 * textmodes/flyspell.el (flyspell-word): Consider words that
18332 differ only in case as potential doublons (bug#5687).
18333
18334 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18335 Remove two rather uninteresting debugging-like messages to make
18336 debbugs.el more silent.
18337
18338 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18339 a password-like phrase.
18340
18341 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18342
18343 * progmodes/cc-guess.el: New file.
18344
18345 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18346
18347 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18348 derived from `c-basic-common-init'.
18349
18350 * progmodes/cc-mode.el (top-level): Require cc-guess.
18351 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18352
18353 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18354
18355 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18356
18357 2011-06-30 Alan Mackenzie <acm@muc.de>
18358
18359 * progmodes/cc-engine.el (c-guess-continued-construct):
18360 Correct the handling of template-args-cont, particularly for when font
18361 lock is disabled. Name this case as "CASE G".
18362
18363 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18364
18365 * allout.el (allout-yank-processing): Fix injection of extra space
18366 between bullet and non-whitespace character in first topic when
18367 pasting, ensuring that the actual spacing in the pasted topic
18368 following the bullet char is preserved. This extra space was
18369 causing pasted encrypted topics to get a decrypted status even
18370 when the content was actually still encrypted. Now the decryption
18371 status from before the paste is preserved.
18372
18373 (allout-flag-region): Set all allout overlays so they evaporate
18374 when reduced to zero length (evanescent), to prevent overlay
18375 leakage.
18376
18377 2011-06-30 Glenn Morris <rgm@gnu.org>
18378
18379 * w32-fns.el (w32-charset-info-alist): Declare.
18380
18381 * find-dired.el (find-grep-options): Simplify.
18382
18383 * term/ns-win.el (ns-set-resource): Declare.
18384
18385 * ses.el (row, col): Declare dynamic variables honestly.
18386
18387 * textmodes/reftex-parse.el (index-tags): Declare.
18388
18389 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18390
18391 * cus-edit.el (customize-push-and-save): New function.
18392
18393 * files.el (hack-local-variables-confirm): Use it.
18394
18395 * custom.el (load-theme): New arg NO-CONFIRM.
18396 Use customize-push-and-save (Bug#8720).
18397 (custom-enabled-themes): Doc fix.
18398
18399 * cus-theme.el (customize-create-theme)
18400 (custom-theme-merge-theme): Callers to load-theme changed.
18401
18402 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18403
18404 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18405 short URLs have at least one dot in them (bug #7614).
18406
18407 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18408 nil, because using a pty is apparently too slow (bug #895).
18409
18410 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18411
18412 * mail/sendmail.el (sendmail-query-once): New function.
18413 (sendmail-query-once-function): New variable.
18414
18415 2011-06-29 Glenn Morris <rgm@gnu.org>
18416
18417 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18418
18419 * ses.el (top-level): Require cl when compiling.
18420 (ses-set-localvars): Fix error statement.
18421 Call it at compile time to silence a storm of warnings.
18422
18423 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18424
18425 * window.el (normalize-live-buffer): Rename to
18426 window-normalize-buffer.
18427 (normalize-live-frame): Rename to window-normalize-frame.
18428 (normalize-any-window): Rename to window-normalize-any-window.
18429 (normalize-live-window): Rename to window-normalize-live-window.
18430 (make-window-atom): Rename to window-make-atom.
18431 (window-resize-reset): Rename to window--resize-reset.
18432 (window-resize-reset-1): Rename to window--resize-reset-1.
18433 (resize-mini-window): Rename to window--resize-mini-window.
18434 (resize-subwindows-skip-p): Rename to
18435 window--resize-subwindows-skip-p.
18436 (resize-subwindows-normal): Rename to
18437 window--resize-subwindows-normal.
18438 (resize-subwindows): Rename to window--resize-subwindows.
18439 (resize-other-windows): Rename to window--resize-siblings.
18440 (resize-this-window): Rename to window--resize-this-window.
18441 (resize-root-window): Rename to window--resize-root-window.
18442 (resize-root-window-vertically): Rename to
18443 window--resize-root-window-vertically.
18444 (normalize-buffer-to-display): Rename to
18445 window-normalize-buffer-to-display.
18446 (normalize-buffer-to-switch-to): Rename to
18447 window-normalize-buffer-to-switch-to.
18448 Correspondingly update all callers of the functions listed
18449 above.
18450 (display-buffer-alist, display-buffer-normalize-arguments)
18451 (display-buffer-normalize-options, display-buffer)
18452 (display-buffer-alist-set): Use "function" instead of
18453 "fun-with-args".
18454
18455 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18456
18457 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18458 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18459 debbugs.gnu.org. Mention acknowledgment email.
18460
18461 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18462
18463 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18464 buffer multibyteness, since it shouldn't matter.
18465
18466 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18467
18468 * window.el (display-buffer-in-side-window): Handle dedicated
18469 windows as in display-buffer-reuse-window.
18470 (display-buffer-normalize-alist): Use value of override
18471 specifier.
18472 (display-buffer-normalize-specifiers): Use value of
18473 other-window-means-other-frame specifier.
18474 (display-buffer-alist): Rewrite some texts in widgets.
18475 (display-buffer): Spread arguments when calling function
18476 specified by fun-with-args.
18477
18478 2011-06-28 Deniz Dogan <deniz@dogan.se>
18479
18480 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18481 Unnest `let'.
18482
18483 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18484 selectors (Bug#5732).
18485 (css-proprietary-nmstart-re): Use `regexp-opt'.
18486
18487 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18488
18489 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18490 (eshell-ls-date-format): New defcustom.
18491 (eshell-ls-file): Use it.
18492
18493 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18494
18495 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18496
18497 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18498
18499 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18500 (ange-ftp-make-tmp-name): New arg.
18501 (ange-ftp-file-local-copy): Use it.
18502
18503 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18504
18505 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18506 no-conversion (Bug#8870).
18507
18508 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18509
18510 * window.el (window-right, window-left, window-child)
18511 (window-child-count, window-last-child)
18512 (window-iso-combination-p, walk-window-tree-1)
18513 (window-atom-check-1, window-tree-1, delete-window)
18514 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18515 new naming conventions - window-vchild, window-hchild,
18516 window-next and window-prev are now called window-top-child,
18517 window-left-child, window-next-sibling and window-prev-sibling
18518 respectively.
18519 (resize-window-reset): Rename to window-resize-reset.
18520 (resize-window-reset-1): Rename to window-resize-reset-1.
18521 (resize-window): Rename to window-resize.
18522 (window-min-height, window-min-width)
18523 (resize-mini-window, resize-this-window, resize-root-window)
18524 (resize-root-window-vertically, adjust-window-trailing-edge)
18525 (enlarge-window, shrink-window, maximize-window)
18526 (minimize-window, delete-window, quit-restore-window)
18527 (split-window, balance-windows, balance-windows-area-adjust)
18528 (balance-windows-area, window-state-put-2)
18529 (display-buffer-even-window-sizes, display-buffer-set-height)
18530 (display-buffer-set-width, set-window-text-height)
18531 (fit-window-to-buffer): Rename all "resize-window" prefixed
18532 calls to use the "window-resize" prefix convention.
18533 (display-buffer-alist): Fix symbol for label specifier.
18534 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18535 corresponding specifier.
18536 Reported by Juanma Barranquero <lekktu@gmail.com>.
18537
18538 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18539
18540 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18541 convention.
18542 (ses-call-printer): Does not pass an empty string to formatter when the
18543 cell is empty to keep from barking printer Calc math-format-value.
18544
18545 2011-06-27 Richard Stallman <rms@gnu.org>
18546
18547 * battery.el (battery-mode-line-limit): New variable.
18548 (battery-update): Handle it.
18549
18550 * mail/rmailmm.el (rmail-mime-process-multipart):
18551 Handle truncated messages.
18552
18553 2011-06-27 Glenn Morris <rgm@gnu.org>
18554
18555 * progmodes/flymake.el (flymake-err-line-patterns):
18556 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18557
18558 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18559
18560 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18561 (ses--clean-!, ses--clean-_): New functions.
18562 (ses-range): Add configurability of readout order, and conversion
18563 to Calc vector.
18564
18565 * ses.el (ses-repair-cell-reference-all): New function.
18566 (ses-cell-symbol): Set macro as safe, so that it can be used in
18567 formulas.
18568
18569 * ses.el: Update cycle detection algorithm.
18570 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18571 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18572 (ses-set-localvars): New function.
18573 (ses-make-cell): Add property-list as a cell element.
18574 (ses-cell-property-get-fun, ses-cell-property-get)
18575 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18576 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18577 New functions.
18578 (ses-cell-property-set, ses-cell-property-pop)
18579 (ses-cell-property-get-handle): New macro.
18580 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18581 New aliases, used for code readability.
18582 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18583 cycle detection.
18584 (ses-self-reference-early-detection): New defcustom.
18585 (ses-formula-references): Robustify against self-referring cells.
18586 (ses-mode): Use ses-set-localvars.
18587 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18588 before lauching the update processing.
18589 (ses-initialize-Dijkstra-attempt): New function.
18590 (ses-recalculate-cell): Update for cycle detection based on
18591 Dijkstra algorithm.
18592
18593 * ses.el: Fix commenting and indenting convention.
18594
18595 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18596
18597 * bs.el (bs-cycle-next): Complete last change.
18598
18599 2011-06-27 Drew Adams <drew.adams@oracle.com>
18600
18601 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18602
18603 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18604
18605 * net/network-stream.el (network-stream-open-starttls):
18606 Don't re-get capabilities unless we've reestablished connection.
18607 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18608
18609 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18610 to binary to possibly avoid line encoding issues on Windows (among
18611 other things).
18612
18613 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18614
18615 * net/network-stream.el (open-network-stream): Return an :error
18616 saying what the problem was, if possible.
18617
18618 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18619 server.
18620
18621 * net/network-stream.el (network-stream-open-starttls): If we
18622 wanted to use STARTTLS, and the server offered it, but we weren't
18623 able to because we had no STARTTLS support, then close the connection.
18624 (open-network-stream): Return an :error element, if present.
18625
18626 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18627
18628 * hl-line.el (hl-line-sticky-flag): Doc fix.
18629 (global-hl-line-sticky-flag): New option (Bug#8323).
18630 (global-hl-line-highlight): Obey it.
18631
18632 * vc/vc.el (vc-revert-show-diff): Default to t.
18633
18634 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18635
18636 * allout-widgets.el (allout-widgets-post-command-business):
18637 Stop decorating intermediate isearch matches. They're not being
18638 undecorated when an isearch is continued past, and isearch
18639 automatically collapses them. This leads to "widget leaks", where
18640 decorated items accumulate in collapsed areas. Lines with lots of
18641 hidden widgets can slow down cursor travel, substantially.
18642 Too much complicated machinery would be needed to ensure undecoration,
18643 so we're doing without this nicety.
18644
18645 (allout-widgets-tally-string): Don't try to do a hash-table-count
18646 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18647 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18648 *Messages* when allout-widgets-maintain-tally is t.
18649
18650 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18651
18652 * window.el (display-buffer-normalize-argument): Rename to
18653 display-buffer-normalize-arguments. Handle special meaning of
18654 LABEL argument. Respect special-display-function when popping up
18655 a new frame. Fix code searching for a window showing the buffer
18656 on another frame.
18657 (display-buffer-normalize-specifiers):
18658 Call display-buffer-normalize-arguments.
18659 (display-buffer-in-window): Don't undedicate the window if its
18660 buffer remains the same.
18661 Reported by Drew Adams <drew.adams@oracle.com>.
18662 (display-buffer-alist): Add choice for same-window macro
18663 specfier.
18664 (display-buffer): Mention special meaning of LABEL argument in
18665 doc-string. Fix quoting. Don't pop up a new frame even as
18666 fallback.
18667
18668 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18669
18670 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18671 avoid deleting the current window in some cases (bug#8911).
18672
18673 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18674
18675 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18676 (Bug#8934)
18677
18678 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18679
18680 * net/network-stream.el (network-stream-open-starttls):
18681 Use built-in TLS support if `gnutls-available-p' is true.
18682 (network-stream-open-tls): Ditto.
18683
18684 2011-06-26 Leo Liu <sdl.web@gmail.com>
18685
18686 * register.el (registerv): New struct.
18687 (registerv-make): New function.
18688 (jump-to-register, describe-register-1, insert-register):
18689 Support the jump-func, print-func and insert-func slot of a registerv
18690 struct. (Bug#8415)
18691
18692 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18693
18694 * vc/vc.el (vc-revert-show-diff): New defcustom.
18695 (vc-diff-internal): New arg specifying diff buffer.
18696 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18697 reuse an existing *vc-diff* buffer (Bug#8927).
18698
18699 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18700
18701 2011-06-26 Glenn Morris <rgm@gnu.org>
18702
18703 * progmodes/f90.el (f90-critical-indent): New option.
18704 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18705 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18706 (f90-mode): Doc fix.
18707 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18708 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18709 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18710 (f90-match-end): Handle block, critical.
18711
18712 2011-06-25 Glenn Morris <rgm@gnu.org>
18713
18714 * calendar/diary-lib.el (diary-included-files): Doc fix.
18715 (diary-include-files): New function, extracted from
18716 diary-include-other-diary-files and diary-mark-included-diary-files.
18717 (diary-include-other-diary-files, diary-mark-included-diary-files):
18718 Just call diary-include-files.
18719 (diary-mark-entries): Reset diary-included-files on first call.
18720
18721 * calendar/diary-lib.el (diary-mark-entries)
18722 (diary-mark-included-diary-files):
18723 Visit included diary-files in temp buffers.
18724
18725 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18726 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18727 (f90-start-block-re, f90-imenu-generic-expression)
18728 (f90-looking-at-program-block-start, f90-no-block-limit):
18729 Add support for submodules.
18730
18731 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18732 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18733
18734 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18735
18736 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18737 buffer-file-type before setting its value, to avoid disastrous
18738 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18739
18740 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18741
18742 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18743
18744 * ses.el (ses-unload-function):
18745 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18746
18747 * proced.el (proced-unload-function):
18748 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18749
18750 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18751
18752 * server.el (server-create-window-system-frame): Add parameters arg.
18753 (server-process-filter): Doc fix. Handle frame-parameters.
18754
18755 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18756
18757 Fix bug#8730, bug#8781.
18758
18759 * loadhist.el (unload--set-major-mode): New function.
18760 (unload-feature): Use it.
18761
18762 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18763 (python-unload-function): New function.
18764
18765 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18766
18767 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18768
18769 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18770
18771 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18772 the candidates list.
18773
18774 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18775
18776 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18777
18778 2011-06-23 Richard Stallman <rms@gnu.org>
18779
18780 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18781 (rmail-variables): Set next-error-move-function.
18782 (rmail-what-message): Take argument POS.
18783 (rmail-next-error-move): New function.
18784
18785 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18786
18787 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18788 messages for adjacent non-terminals.
18789
18790 2011-06-23 Richard Stallman <rms@gnu.org>
18791
18792 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18793 (rmail-show-message-1): Preserve buffer modified flag.
18794 (rmail-start-mail): Don't specify use of rmail-mail-return;
18795 that's done by mail-bury now.
18796 (rmail-mail-return): Handle arg NEWBUF.
18797
18798 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18799
18800 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18801 SIZE is a number.
18802
18803 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18804
18805 * window.el (get-lru-window, get-mru-window)
18806 (get-largest-window): Never return a minibuffer window.
18807 (display-buffer-pop-up-window): Fix a bug that could lead to
18808 reusing the minibuffer window.
18809 (display-buffer): Pass original specifier argument to
18810 display-buffer-function instead of the normalized one.
18811 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18812
18813 2011-06-22 Leo Liu <sdl.web@gmail.com>
18814
18815 * minibuffer.el (completing-read-function)
18816 (completing-read-default): Move from minibuf.c.
18817
18818 2011-06-22 Richard Stallman <rms@gnu.org>
18819
18820 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18821 to Rmail even if not started by a special Rmail command.
18822
18823 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18824 Copy the buffer currently showing just one message.
18825
18826 2011-06-22 Roland Winkler <winkler@gnu.org>
18827
18828 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18829 (bibtex-clean-entry): First delete the old key so that a
18830 customized algorithm for generating the new key does not get
18831 confused by the old key.
18832 (bibtex-url): Obey regexp of first step.
18833 (bibtex-search-entries): Do not use add-to-list with local
18834 list-var.
18835
18836 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18837
18838 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18839 stored a user name, then query for the password first, instead of
18840 waiting for SMTP to give an error message and the trying again.
18841
18842 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18843
18844 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18845 BUFFER in call-process.
18846
18847 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18848
18849 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18850 QUIT twice.
18851 (smtpmail-try-auth-methods): Require user name and password from
18852 auth-source.
18853
18854 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18855
18856 * window.el (display-buffer-default-specifiers)
18857 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18858 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18859 (split-window): Normalize SIDE argument (Bug#8916).
18860
18861 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18862 (special-display-frame-alist, special-display-popup-frame):
18863 Remove duplicate declarations. These are now in window.el.
18864
18865 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18866
18867 * mail/smtpmail.el (smtpmail-via-smtp):
18868 Set :use-starttls-if-possible so that we always use STARTTLS if the
18869 server supports it. SMTP servers that support STARTTLS commonly
18870 require it.
18871
18872 * net/network-stream.el (network-stream-open-starttls): Support
18873 upgrading to STARTTLS always, even if we don't have built-in support.
18874 (open-network-stream): Add the :always-query-capabilities keyword.
18875
18876 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18877 upgrades with `open-network-stream', and rely solely on
18878 auth-source for all credentials. Big changes throughout the file,
18879 but in particular:
18880 (smtpmail-auth-credentials): Remove.
18881 (smtpmail-starttls-credentials): Remove.
18882 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18883 MAIL FROM, too.
18884
18885 * net/network-stream.el (network-stream-open-starttls):
18886 Provide support for client certificates both for external and built-in
18887 STARTTLS.
18888 (auth-source): Require.
18889 (open-network-stream): Document the :client-certificate keyword.
18890 (network-stream-certificate): Change cert-cert to cert and
18891 cert-key to key.
18892
18893 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18894
18895 * net/tramp-cache.el (top): Don't load the persistency file when
18896 "emacs -Q" has been called.
18897
18898 2011-06-21 Tim Harper <timcharper@gmail.com>
18899
18900 * term/ns-win.el (ns-initialize-window-system):
18901 Set application-specific `ApplePressAndHoldEnabled' system
18902 resource to NO as it is not yet supported by the NS port.
18903
18904 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18905
18906 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18907 (list-dynamic-libraries): ...not here.
18908
18909 2011-06-21 Leo Liu <sdl.web@gmail.com>
18910
18911 * subr.el (sha1): Implement sha1 using secure-hash.
18912
18913 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18914
18915 * window.el (display-buffer-alist): In default value do not
18916 enforce searching a window on any but the selected frame.
18917 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18918 (display-buffer-select-window): Remove function.
18919 (display-buffer-in-window): When a window on another frame gets
18920 reused, do not select it any more but just raise its frame if
18921 necessary (Bug#8851) and (Bug#8856).
18922 (display-buffer-normalize-options): Handle pop-up-frames related
18923 options more faithfully.
18924 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18925 window if it is on another frame.
18926 (display-buffer-alist, display-buffer-default-specifiers):
18927 Don't make new frame unsplittable by default.
18928 (display-buffer-normalize-argument): Fix doc-string typo and use
18929 'same-frame-other-window instead of 'other-window when associating
18930 with display-buffer-macro-specifiers.
18931
18932 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18933
18934 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18935 New functions.
18936 (5x5-mode-map, 5x5-mode-menu): Bind them.
18937 (5x5-draw-grid): Tweak the solver's rendering.
18938
18939 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18940
18941 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18942 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18943
18944 2011-06-21 Drew Adams <drew.adams@oracle.com>
18945
18946 * menu-bar.el: Use function variable instead of switch-to-buffer.
18947 (menu-bar-select-buffer-function): New variable.
18948 (menu-bar-update-buffers): Use it (bug#8876).
18949
18950 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18951
18952 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18953 variable's status.
18954
18955 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18956
18957 * x-dnd.el (x-dnd-version-from-flags)
18958 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18959 and long as number (Bug#8899).
18960 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18961
18962 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18963
18964 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18965 (completion-try-completion, completion-all-completions): Compute the
18966 metadata argument if it's missing; make it optional (bug#8795).
18967
18968 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18969 (widget-complete): Use new :completion-function property.
18970 (widget-completions-at-point): New function.
18971 (default): Use :completion-function instead of :complete.
18972 (widget-default-completions): Rename from widget-default-complete;
18973 Rewrite.
18974 (widget-string-complete, widget-file-complete, widget-color-complete):
18975 Remove functions.
18976 (file, symbol, function, variable, coding-system, color):
18977 * international/mule-cmds.el (default-input-method, charset)
18978 (language-info-custom-alist):
18979 * cus-edit.el (face): Use new property :completions.
18980
18981 * progmodes/pascal.el (pascal-completions-at-point): New function.
18982 (pascal-mode): Use it.
18983 (pascal-mode-map): Use completion-at-point.
18984 (pascal-toggle-completions): Make obsolete.
18985 (pascal-complete-word, pascal-show-completions):
18986 * progmodes/octave-mod.el (octave-complete-symbol):
18987 Redefine as obsolete alias.
18988 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18989 Signal absence of completion info for old Octave,
18990 (inferior-octave-complete): Redefine as obsolete alias.
18991 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18992 (meta-completions-at-point): Rename from meta-complete-symbol and
18993 adapt it for use on completion-at-point-functions.
18994 (meta-common-mode): Use it.
18995 (meta-looking-at-backward, meta-match-buffer): Remove.
18996 (meta-complete-symbol): Redefine as obsolete alias.
18997 (meta-common-mode-map): Use completion-at-point.
18998 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18999 (makefile-mode-map): Use completion-at-point.
19000 (makefile-completions-at-point): Rename from makefile-complete and
19001 adapt it for use on completion-at-point-functions.
19002 (makefile-mode): Use it.
19003 (makefile-complete): Redefine as obsolete alias.
19004
19005 2011-06-20 Deniz Dogan <deniz@dogan.se>
19006
19007 * net/rcirc.el: Delete trailing whitespaces once and for all.
19008
19009 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
19010
19011 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
19012
19013 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
19014
19015 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
19016
19017 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
19018
19019 2011-06-19 Martin Rudalics <rudalics@gmx.at>
19020
19021 * window.el (display-buffer-other-window-means-other-frame):
19022 Call display-buffer-normalize-alist.
19023 (display-buffer-normalize-specifiers-1): Rename to
19024 display-buffer-normalize-argument. New argument other-frame.
19025 Rewrite.
19026 (display-buffer-normalize-specifiers-2): Rename to
19027 display-buffer-normalize-options.
19028 (display-buffer-normalize-alist-1): New function.
19029 (display-buffer-normalize-specifiers-3): Rename to
19030 display-buffer-normalize-alist.
19031 Call display-buffer-normalize-alist-1.
19032 (display-buffer-normalize-options-inhibit): New variable.
19033 (display-buffer-normalize-specifiers): Rewrite calling
19034 display-buffer-normalize-alist,
19035 display-buffer-normalize-argument, and
19036 display-buffer-normalize-options. Don't call the latter if
19037 display-buffer-normalize-options-inhibit is non-nil.
19038 (frame-auto-delete): New option.
19039 (window-deletable-p): Use frame-auto-delete.
19040 (window-list-no-nils, window-state-ignored-parameters)
19041 (window-state-get-1, window-state-get, window-state-put-list)
19042 (window-state-put-1, window-state-put-2, window-state-put):
19043 New functions.
19044 (display-buffer-normalize-options): Move special-display-p group
19045 after pop-up-frame group (Bug#8851) and (Bug#8856).
19046
19047 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
19048
19049 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
19050 groups (Bug#8776).
19051 (rx-submatch-n): New function.
19052 (rx): Document it.
19053
19054 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
19055 (Bug#8768).
19056
19057 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
19058
19059 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
19060
19061 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
19062 anytime existing face settings are present (Bug#8889).
19063
19064 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
19065 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
19066 Remove unused argument.
19067
19068 2011-06-18 Martin Rudalics <rudalics@gmx.at>
19069
19070 * window.el (display-buffer-default-specifiers):
19071 Remove pop-up-frame. Add pop-up-window-min-height,
19072 pop-up-window-min-width, and another reuse-window specifier
19073 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
19074 (display-buffer-normalize-specifiers-2):
19075 Handle split-height-threshold and split-width-threshold also when
19076 pop-up-windows is unset. Add a reuse-window specifier for the
19077 case popping up a new window fails.
19078 (special-display-popup-frame): Remove double quoting.
19079 (display-buffer-normalize-specifiers-1): Fix thinko.
19080
19081 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
19082
19083 * shell.el (shell-completion-vars): Set pcomplete-termination-string
19084 according to comint-completion-addsuffix.
19085
19086 * pcomplete.el: Convert to lexical binding and fix bug#8819.
19087 (pcomplete-suffix-list): Mark as obsolete.
19088 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
19089 pcomplete-seen in the closure.
19090 (pcomplete-comint-setup): Setup completion-at-point as well.
19091 (pcomplete--entries): New function.
19092 (pcomplete--env-regexp): New var.
19093 (pcomplete-entries): Rewrite to work with partial-completion and
19094 without relying on pcomplete-suffix-list.
19095 (pcomplete-pare-list): Remove, unused.
19096
19097 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19098
19099 * window.el (display-buffer-alist): Set pop-up-window-min-height
19100 and pop-up-window-min-width in default value. Reported by
19101 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19102 other-window-means-other-frame.
19103 (display-buffer-macro-specifiers): Comment out entry for
19104 other-window specifier.
19105 (display-buffer-other-window-means-other-frame): New function.
19106 (display-buffer-normalize-specifiers-1): New arguments
19107 buffer-name and label. Treat other-window case specially.
19108 (display-buffer-normalize-specifiers-2): Treat other-window case
19109 specially.
19110 (display-buffer-normalize-specifiers-3): New function.
19111 (display-buffer-normalize-specifiers):
19112 Call display-buffer-normalize-specifiers-3.
19113
19114 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19115
19116 * window.el (same-window-p): Fix two typos introduced when
19117 adding with-no-warnings.
19118 (display-buffer-normalize-specifiers-1): Don't check
19119 pop-up-frames for 'unset initialization.
19120 (display-buffer-normalize-specifiers-2): Major rewrite using
19121 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19122 (pop-up-frames, display-buffer-reuse-frames)
19123 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19124 Suggested by David Engster <deng@randomsample.de>.
19125 (even-window-heights): Initialize to 'unset.
19126 (display-buffer-alist-set): Handle new 'unset initializations.
19127 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19128 other window case.
19129
19130 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19131
19132 * window.el (display-buffer-normalize-specifiers-1):
19133 Respect current value of pop-up-frames for most reasonable values of
19134 second argument of display-buffer (Bug#8865).
19135 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19136 (switch-to-buffer-other-window-same-frame)
19137 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19138 Adams (Bug#8875).
19139 (display-buffer): Don't check noninteractive when calling
19140 display-buffer-pop-up-frame.
19141 (display-buffer-pop-up-frame): Never pop up a frame in
19142 noninteractive mode (Bug#8857).
19143 (enlarge-window, shrink-window): Don't report an error when the
19144 window can't be resized as requested (Bug#8862).
19145
19146 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19147
19148 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19149
19150 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19151
19152 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19153
19154 2011-06-15 Alan Mackenzie <acm@muc.de>
19155
19156 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19157 for declarators, disable knr checking to speed up for normal files.
19158 2: Refactor, replacing a sequence of nested if forms by a cond form.
19159
19160 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19161
19162 * net/network-stream.el (open-network-stream): Add the keyword
19163 :always-query-capabilities for the case where you want to force a
19164 `plain' network connection, but the protocol still requires the
19165 capabilitiy command (i.e., SMTP and EHLO).
19166
19167 * subr.el (process-live-p): Rename from `process-alive-p' for
19168 consistency with other `-live-p' functions.
19169
19170 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19171
19172 * window.el (same-window-buffer-names, same-window-regexps)
19173 (special-display-frame-alist, special-display-popup-frame)
19174 (special-display-function, special-display-buffer-names)
19175 (special-display-regexps, pop-up-frame-alist)
19176 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19177 (pop-up-windows, split-window-preferred-function)
19178 (split-height-threshold, split-width-threshold, even-window-heights)
19179 (display-buffer-mark-dedicated): Don't encourage the use of
19180 display-buffer-alist from Elisp code.
19181
19182 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19183
19184 * progmodes/python.el (python-mode): Derive from prog-mode.
19185 * progmodes/ps-mode.el (ps-mode):
19186 * progmodes/mixal-mode.el (mixal-mode):
19187 * progmodes/cfengine.el (cfengine-mode):
19188 * progmodes/ld-script.el (ld-script-mode): Likewise.
19189
19190 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19191
19192 * window.el (display-buffer-alist): Trim default value to avoid
19193 popping up a new frame (Bug#8857) or reusing an arbitrary window
19194 on another frame.
19195 (display-buffer): Do not fall back on popping up a new frame in
19196 batch mode (Bug#8857).
19197
19198 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19199
19200 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19201 (custom-theme-summary): New function.
19202 (customize-themes): Use it.
19203
19204 2011-06-13 Glenn Morris <rgm@gnu.org>
19205
19206 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19207
19208 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19209
19210 * help.el (help-window): Remove variable.
19211 (help-window-point-marker, temp-buffer-max-height)
19212 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19213 (help-print-return-message): Don't set help-window.
19214 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19215 (help-window-setup-finish): Remove.
19216 (help-window-display-message, help-window-setup)
19217 (with-help-window): Major rewrite based on new
19218 display-buffer-window variable.
19219
19220 * help-mode.el (help-mode-finish): Remove help-window related
19221 code.
19222
19223 * view.el (view-exits-all-viewing-windows): Remove reference to
19224 view-return-to-alist in doc-string.
19225 (view-return-to-alist): Make obsolete.
19226 (view-buffer): Call pop-to-buffer-same-window and remove
19227 undo-window code.
19228 (view-buffer-other-window): Call pop-to-buffer-other-window and
19229 simplify code. Ignore second argument.
19230 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19231 simplify code. Ignore second argument.
19232 (view-return-to-alist-update): Make obsolete.
19233 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19234 Rewrite using quit-restore window parameters.
19235 (view-mode-exit): Rename second argument to EXIT-ONLY.
19236 Rewrite using quit-restore-window.
19237 (View-exit, View-exit-and-edit, View-leave, View-quit)
19238 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19239 appropriate arguments.
19240 (view-end-message): Use quit-restore window parameter.
19241
19242 * window.el (display-buffer-function): Rewrite doc-string.
19243 (display-buffer-window, display-buffer-alist): New variables.
19244 (display-buffer-split-specifiers)
19245 (display-buffer-side-specifiers)
19246 (display-buffer-macro-specifiers): New constants.
19247 (display-buffer-even-window-sizes, display-buffer-set-height)
19248 (display-buffer-set-width, display-buffer-select-window)
19249 (display-buffer-in-window, display-buffer-reuse-window)
19250 (display-buffer-split-window-1, display-buffer-split-window)
19251 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19252 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19253 (display-buffer-in-side-window, normalize-buffer-to-display)
19254 (display-buffer-normalize-specifiers-1)
19255 (display-buffer-normalize-specifiers-2)
19256 (display-buffer-normalize-specifiers, display-buffer-frame):
19257 New functions.
19258 (display-buffer): Major rewrite.
19259 (display-buffer-other-window, display-buffer-other-frame)
19260 (pop-to-buffer, switch-to-buffer-other-window)
19261 (switch-to-buffer-other-frame): Rewrite.
19262 (display-buffer-same-window, display-buffer-same-frame)
19263 (display-buffer-same-frame-other-window)
19264 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19265 (pop-to-buffer-other-window)
19266 (pop-to-buffer-same-frame-other-window)
19267 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19268 (switch-to-buffer-other-window-same-frame): New functions.
19269 (same-window-p, special-display-p): Rewrite disabling warnings.
19270 Make obsolete.
19271 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19272 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19273 Make obsolete
19274 (same-window-buffer-names, same-window-regexps)
19275 (special-display-frame-alist, special-display-popup-frame)
19276 (special-display-function, special-display-buffer-names)
19277 (special-display-regexps, pop-up-frame-alist)
19278 (pop-up-frame-function, split-window-preferred-function)
19279 (split-height-threshold, split-width-threshold)
19280 (even-window-heights): Make obsolete.
19281
19282 2011-06-12 Glenn Morris <rgm@gnu.org>
19283
19284 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19285 Misc simplifications.
19286
19287 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19288
19289 * window.el (window-safely-shrinkable-p): Restore function which
19290 was inadvertently removed in change from 2011-06-11. Declare as
19291 obsolete.
19292
19293 * calendar/calendar.el (calendar-generate-window):
19294 Use window-iso-combined-p instead of combination of one-window-p and
19295 window-safely-shrinkable-p.
19296
19297 2011-06-12 Glenn Morris <rgm@gnu.org>
19298
19299 * progmodes/fortran.el (fortran-mode-syntax-table):
19300 * progmodes/f90.el (f90-mode-syntax-table):
19301 Set % to punctuation. (Bug#8820)
19302 (f90-find-tag-default): Remove, no longer needed.
19303
19304 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19305
19306 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19307
19308 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19309
19310 * image.el (image-animated-p): Return animation delay in seconds.
19311 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19312 (image-animate-timeout): Remove DELAY argument. Don't assume
19313 every subimage has the same delay; get it from image-animated-p.
19314 (image-animate): Caller changed.
19315
19316 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19317
19318 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19319 to ignored backtrace functions.
19320
19321 2011-06-11 Glenn Morris <rgm@gnu.org>
19322
19323 * calendar/appt.el (appt-disp-window-function): Doc fix.
19324 (appt-check): Handle overlapping appointments. (Bug#8337)
19325
19326 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19327
19328 * window.el (window-tree-1, window-tree): New functions, moving
19329 the latter to window.el.
19330 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19331 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19332 (bw-refresh-edges): Remove.
19333 (balance-windows-1, balance-windows-2): New functions.
19334 (balance-windows): Rewrite in terms of window tree functions,
19335 balance-windows-1 and balance-windows-2.
19336 (bw-adjust-window): Remove.
19337 (balance-windows-area-adjust): New function with functionality of
19338 bw-adjust-window but using resize-window.
19339 (set-window-text-height): Rewrite doc-string.
19340 Use normalize-live-window and resize-window.
19341 (enlarge-window-horizontally, shrink-window-horizontally):
19342 Rename argument to DELTA.
19343 (window-buffer-height): New function.
19344 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19345 Rewrite using new window resize routines.
19346 (kill-buffer-and-window, mouse-autoselect-window-select):
19347 Use ignore-errors instead of condition-case.
19348 (quit-window): Call delete-frame instead of delete-windows-on
19349 for the only buffer on frame.
19350
19351 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19352
19353 * loadup.el (top-level): Load window before files for the sake
19354 of replace-buffer-in-windows.
19355
19356 * files.el (read-buffer-to-switch)
19357 (switch-to-buffer-other-window)
19358 (switch-to-buffer-other-frame, display-buffer-other-frame):
19359 Move to window.el.
19360
19361 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19362 (previous-buffer): Move to window.el.
19363
19364 * bindings.el (unbury-buffer): Move to window.el.
19365
19366 * window.el (delete-other-windows-vertically): Move after
19367 definition of delete-other-windows.
19368 (other-window, delete-windows-on, replace-buffer-in-windows):
19369 Move here from window.c.
19370 (record-window-buffer, unrecord-window-buffer)
19371 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19372 (switch-to-next-buffer): New functions.
19373 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19374 from simple.el. Call switch-to-next-buffer.
19375 (previous-buffer): Move here from simple.el.
19376 Call switch-to-prev-buffer.
19377 (bury-buffer): Move here from buffer.c. Switch to previous
19378 buffer when window cannot be deleted.
19379 (unbury-buffer): Move here from bindings.el.
19380 (ctl-x-map): Move binding for other-window from window.c to
19381 here.
19382 (read-buffer-to-switch, switch-to-buffer-other-window)
19383 (switch-to-buffer-other-frame): Move here from files.el.
19384 (normalize-buffer-to-switch-to): New functions.
19385 (switch-to-buffer): Move here from buffer.c.
19386 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19387
19388 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19389
19390 * window.el (window-min-height, window-min-width): Move here
19391 from window.c. Add defcustoms and rewrite doc-strings.
19392 (resize-mini-window, resize-window): New functions.
19393 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19394 Move here from window.c.
19395 (maximize-window, minimize-window): New functions.
19396 (delete-window, delete-other-windows, split-window): Move here
19397 from window.c.
19398 (window-split-min-size): New function.
19399 (split-window-keep-point): Mention split-window-above-each-other
19400 instead of split-window-vertically.
19401 (split-window-above-each-other, split-window-vertically):
19402 Rename split-window-vertically to split-window-above-each-other
19403 and provide defalias for old definition.
19404 (split-window-side-by-side, split-window-horizontally):
19405 Rename split-window-horizontally to split-window-side-by-side
19406 and provide defalias for the old definition.
19407 (ctl-x-map): Move bindings for delete-window,
19408 delete-other-windows and enlarge-window here from window.c.
19409 Replace bindings for split-window-vertically and
19410 split-window-horizontally by bindings for
19411 split-window-above-each-other and split-window-side-by-side.
19412
19413 * cus-start.el (all): Remove entries for window-min-height and
19414 window-min-width. Add entries for window-splits and
19415 window-nest.
19416
19417 2011-06-09 Glenn Morris <rgm@gnu.org>
19418
19419 * calendar/appt.el (appt-mode-line): New function.
19420 (appt-check, appt-disp-window): Use it.
19421
19422 * files.el (hack-one-local-variable-eval-safep):
19423 Allow minor-modes with explicit +/-1 arguments.
19424
19425 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19426
19427 * term/xterm.el (xterm): Add defgroup.
19428 (xterm-extra-capabilities): Add defcustom to supply known xterm
19429 capabilities, skip querying them, or query them (default).
19430 (terminal-init-xterm): Use it.
19431 (terminal-init-xterm-modify-other-keys): New function to set up
19432 modifyOtherKeys support to simplify `terminal-init-xterm'.
19433
19434 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19435
19436 * window.el (resize-window-reset, resize-window-reset-1)
19437 (resize-subwindows-skip-p, resize-subwindows-normal)
19438 (resize-subwindows, resize-other-windows, resize-this-window)
19439 (resize-root-window, resize-root-window-vertically)
19440 (window-deletable-p, window-or-subwindow-p)
19441 (frame-root-window-p): New functions.
19442
19443 2011-06-09 Glenn Morris <rgm@gnu.org>
19444
19445 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19446 (ange-ftp-get-files): Use it.
19447
19448 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19449
19450 * mail/sendmail.el (mail-recover-1, mail-recover):
19451 * files.el (recover-file, recover-session):
19452 Handle dired-listing-switches not being just a single short option.
19453
19454 2011-06-09 Glenn Morris <rgm@gnu.org>
19455
19456 * calendar/appt.el (appt-display-message, appt-disp-window):
19457 Handle lists of appointments.
19458
19459 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19460
19461 * window.el (one-window-p): Move down in code.
19462 Rewrite doc-string.
19463 (window-current-scroll-bars): Rewrite doc-string.
19464 Normalize live window argument.
19465 (walk-windows, get-window-with-predicate, count-windows):
19466 Rewrite doc-string. Use window-list-1.
19467 (window-in-direction-2, window-in-direction, get-mru-window):
19468 New functions.
19469
19470 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19471
19472 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19473 Doc fix (Bug#8713).
19474
19475 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19476
19477 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19478
19479 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19480
19481 * loadhist.el (unload-feature-special-hooks):
19482 Add `comint-output-filter-functions'.
19483
19484 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19485
19486 * calendar/appt.el (appt-check): Move some initializations into the let.
19487
19488 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19489
19490 * window.el (window-height): Defalias to window-total-height.
19491 (window-width): Defalias to window-body-width.
19492
19493 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19494
19495 * image-mode.el (image-toggle-animation): New command.
19496 (image-mode-map): Bind it to RET.
19497 (image-mode): Update message.
19498 (image-toggle-display-image): Avoid a spurious cache flush.
19499 (image-transform-rotation): Doc fix.
19500 (image-transform-properties): Return quickly in the normal case.
19501 (image-animate-loop): Rename from image-animate-max-time.
19502
19503 * image.el (image-animate-max-time): Move to image-mode.el.
19504 (create-animated-image): Remove unnecessary function.
19505 (image-animate): Rename from image-animate-start. New arg.
19506 (image-animate-stop): Remove; just use image-animate-timer.
19507 (image-animate-timer): Use car-safe.
19508 (image-animate-timeout): Rename argument.
19509
19510 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19511
19512 * window.el (get-lru-window, get-largest-window): Move here from
19513 window.c. Rename first argument to ALL-FRAMES.
19514 Rephrase doc-strings.
19515 (get-buffer-window-list): Rewrite using window-list-1.
19516 Rephrase doc-string.
19517 (window-safe-min-height, window-safe-min-width): New constants.
19518 (window-size-ignore, window-min-size, window-min-size-1)
19519 (window-sizable, window-sizable-p, window-size-fixed-1)
19520 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19521 (window-max-delta-1, window-max-delta, window-resizable)
19522 (window-resizable-p, window-total-height, window-total-width)
19523 (window-body-width): New functions.
19524 (window-full-height-p, window-full-width-p): Rewrite using
19525 window-total-size.
19526 (window-body-height): Rewrite using window-body-size.
19527
19528 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19529
19530 * window.el (window-right, window-left, window-child)
19531 (window-child-count, window-last-child, window-any-p)
19532 (normalize-live-buffer, normalize-live-frame)
19533 (normalize-any-window, normalize-live-window)
19534 (window-iso-combination-p, window-iso-combined-p)
19535 (window-iso-combinations)
19536 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19537 (windows-with-parameter, window-with-parameter)
19538 (window-atom-root, make-window-atom, window-atom-check-1)
19539 (window-atom-check, window-side-check, window-check):
19540 New functions.
19541 (ignore-window-parameters, window-sides, window-sides-vertical)
19542 (window-sides-slots): New variables.
19543 (window-size-fixed): Move down in code. Minor doc-string fix.
19544
19545 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19546
19547 * comint.el (comint-dynamic-complete-as-filename)
19548 (comint-dynamic-complete-filename): Correctly call
19549 completion-in-region.
19550
19551 2011-06-05 Deniz Dogan <deniz@dogan.se>
19552
19553 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19554 in last change.
19555
19556 2011-06-05 Deniz Dogan <deniz@dogan.se>
19557
19558 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19559 (rcirc): Use it to prompt for encryption.
19560
19561 2011-06-05 Roland Winkler <winkler@gnu.org>
19562
19563 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19564 (bibtex-search-entries): New command bound to C-c C-a.
19565 (bibtex-display-entries): New function.
19566
19567 2011-06-05 Roland Winkler <winkler@gnu.org>
19568
19569 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19570 (bibtex-insert-kill): After yanking insert newline if necessary.
19571 (bibtex-initialize): Call bibtex-string-files-init only once.
19572 (bibtex-mode): Do not call easy-menu-add.
19573 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19574 (bibtex-yank): Set arg properly if nil.
19575
19576 2011-06-05 Roland Winkler <winkler@gnu.org>
19577
19578 * textmodes/bibtex.el (bibtex-search-entry-globally):
19579 New variable.
19580 (bibtex-search-entry): Use it.
19581
19582 2011-06-05 Roland Winkler <winkler@gnu.org>
19583
19584 * textmodes/bibtex.el (bibtex-entry-format): New option
19585 sort-fields.
19586 (bibtex-format-entry, bibtex-reformat): Honor this option.
19587 (bibtex-parse-entry): Return fields in proper order.
19588
19589 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19590
19591 * doc-view.el (doc-view-remove-if): Move computation of result out
19592 of `dolist' to silence misleading lexical-binding warning.
19593
19594 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19595
19596 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19597 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19598
19599 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19600
19601 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19602 "SunOS 5.10".
19603
19604 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19605
19606 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19607 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19608 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19609 (tramp-parse-putty):
19610 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19611 (tramp-completion-function-alist-ssh)
19612 (tramp-completion-function-alist-telnet)
19613 (tramp-completion-function-alist-su)
19614 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19615 cookie.
19616
19617 * net/tramp-ftp.el:
19618 * net/tramp-sh.el:
19619 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19620 load "tramp.el" `tramp-set-completion-function'.
19621
19622 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19623
19624 * shell.el: Require and use pcomplete.
19625 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19626 (shell-completion-vars): Set pcomplete-default-completion-function.
19627
19628 2011-06-04 Deniz Dogan <deniz@dogan.se>
19629
19630 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19631 `memq' (Bug#8799).
19632
19633 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19634
19635 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19636
19637 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19638
19639 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19640 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19641 * vc/log-view.el (log-view-beginning-of-defun):
19642 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19643 (smerge-refine-forward, smerge-refine-chopup-region):
19644 Silence warning for unused `dotimes' counter variables.
19645
19646 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19647
19648 * net/tramp.el (tramp-with-progress-reporter): Rename from
19649 with-progress-reporter. Use `declare'.
19650 * net/tramp-smb.el:
19651 * net/tramp-sh.el:
19652 * net/tramp-gvfs.el: Update all uses.
19653
19654 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19655
19656 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19657 buffer isn't killed before making it current.
19658
19659 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19660
19661 Silence various byte-compiler warnings.
19662 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19663 `access-type' and new obsolescence format.
19664 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19665 new format.
19666 (byte-compile-check-variable): New `access-type' argument.
19667 Only warn if the access-type is obsolete.
19668 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19669 (byte-compile-variable-set): Adjust callers.
19670 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19671 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19672 setting it as obsolete.
19673 * simple.el (minibuffer-completing-symbol):
19674 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19675 access as obsolete.
19676 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19677 obsolete yet.
19678 * international/quail.el (quail-mouse-choose-completion): Remove unused
19679 code referring to obsolete var.
19680 (quail-choose-completion-string): Remove.
19681 * server.el (server-clients-with, server-kill-buffer-query-function)
19682 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19683 * proced.el (proced-send-signal):
19684 * emacs-lisp/lisp.el (lisp-complete-symbol):
19685 Replace completion-annotate-function with completion-extra-properties.
19686
19687 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19688
19689 * simple.el (goto-line): Use read-number.
19690 (overriding-map-is-bound): Remove.
19691 (saved-overriding-map): Change default.
19692 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19693 Take the map as argument.
19694 (universal-argument, negative-argument, digit-argument): Use it.
19695 (restore-overriding-map): Adjust.
19696 (do-auto-fill): Use fill-forward-paragraph.
19697 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19698
19699 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19700 (minibuffer-inactive-mode): New major mode.
19701 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19702 the *Messages* buffer" hack.
19703 (mouse-popup-menubar): Don't burp if the event is a normal key.
19704
19705 Miscellaneous tweaks.
19706 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19707 lexical scoping as in subr.el's dolist and dotimes.
19708 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19709 Silence compiler warning.
19710 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19711 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19712 * international/ccl.el (ccl-compile): Trivial simplification.
19713 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19714 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19715 `printflag' argument.
19716 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19717 Purecopy the whole obsolescence data.
19718
19719 2011-06-01 Leo Liu <sdl.web@gmail.com>
19720
19721 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19722 improve doc-string as suggested by Marco Pessotto
19723 <melmothx@gmail.com>.
19724 (rcirc-print): Fix last change.
19725
19726 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * minibuffer.el (complete-with-action): Return nil for the metadata and
19729 boundaries of non-functional tables.
19730 (completion-table-dynamic): Return nil for the metadata.
19731 (completion-table-with-terminator): Add default case, using
19732 complete-with-action.
19733 (completion--metadata): New function.
19734 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19735 to try and avoid pathological performance problems.
19736 (completion--embedded-envvar-table): Return `category' metadata.
19737
19738 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19739
19740 * subr.el (process-alive-p): New tiny convenience function.
19741
19742 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19743
19744 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19745 content but also its previous major mode.
19746
19747 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19748
19749 * emacs-lisp/debug.el (debug): Restore the previous content of the
19750 *Backtrace* buffer when we exit with C-M-c.
19751
19752 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19753
19754 * minibuffer.el: Add metadata method to completion tables.
19755 (completion-category-overrides): New defcustom.
19756 (completion-metadata, completion--field-metadata)
19757 (completion-metadata-get, completion--styles)
19758 (completion--cycle-threshold): New functions.
19759 (completion-try-completion, completion-all-completions):
19760 Add `metadata' argument to choose completion-styles.
19761 (completion--do-completion): Use metadata to choose cycling.
19762 (completion-all-sorted-completions): Use metadata for sorting.
19763 Remove :completion-cycle-penalty which is not needed any more.
19764 (completion--try-word-completion): Add `metadata' argument.
19765 (minibuffer-completion-help): Check metadata for annotation function
19766 and sorting.
19767 (completion-file-name-table): Return `category' metadata.
19768 (minibuffer-completing-file-name): Make obsolete.
19769 * simple.el (minibuffer-completing-symbol): Make obsolete.
19770 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19771 completion-try-completion.
19772
19773 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19774
19775 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19776
19777 2011-05-30 Leo Liu <sdl.web@gmail.com>
19778
19779 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19780 (rcirc-print): Decode all incoming messages (bug#8744).
19781 (rcirc-decode-coding-system): Allow value nil for automatic coding
19782 system detection.
19783
19784 2011-06-01 Glenn Morris <rgm@gnu.org>
19785
19786 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19787
19788 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19789
19790 * image.el (image-animate-max-time): Allow nil and t values.
19791 Default to nil.
19792 (create-animated-image): Doc fix.
19793 (image-animate-start): Remove second arg; just use
19794 image-animate-max-time.
19795 (image-animate-timeout): Doc fix. Args changed.
19796
19797 * image-mode.el (image-toggle-display-image): Ensure that the
19798 image spec passed to the animate timer is the same object as in
19799 the buffer's display property (Bug#6981).
19800 (image-transform-properties): Doc fix.
19801
19802 * image.el (image-animate-max-time): Default to nil.
19803
19804 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19805
19806 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19807 entire buffer list (Bug#8184).
19808
19809 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19810
19811 * image.el (imagemagick-types-inhibit)
19812 (imagemagick-register-types): Doc fix.
19813
19814 2011-05-29 Deniz Dogan <deniz@dogan.se>
19815
19816 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19817 default.
19818
19819 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19820
19821 * select.el: Don't perform clipboard-manager saving in hooks;
19822 leave the hooks empty.
19823
19824 2011-05-28 Leo Liu <sdl.web@gmail.com>
19825
19826 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19827 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19828 (occur-edit-mode): New major mode (Bug#8463).
19829 (occur-after-change-function): New function.
19830 (occur-engine): Give Occur tags a read-only property.
19831
19832 2011-05-28 Kevin Ryde <user42@zip.com.au>
19833
19834 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19835
19836 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19837
19838 * bindings.el (help-echo): Make the initial non-indicator dash
19839 empty on graphical terminals (Bug#7295).
19840
19841 * files.el (auto-mode-alist): Move config rule after the
19842 in-stripping one (Bug#8547).
19843
19844 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19845
19846 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19847 setting (Bug#8740).
19848
19849 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19850
19851 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19852 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19853 (Bug#8539).
19854
19855 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19856
19857 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19858
19859 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19860
19861 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19862 (hs-hide-block-at-point, hs-find-block-beginning)
19863 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19864 (Bug#8279).
19865
19866 2011-05-28 Glenn Morris <rgm@gnu.org>
19867
19868 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19869
19870 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19871
19872 * help-fns.el (describe-function-1): If the function is a derived
19873 major mode, print the parent mode.
19874
19875 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19876 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19877
19878 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19879
19880 * minibuffer.el (completion--capf-wrapper): Check applicability before
19881 returning non-nil for non-exclusive completion data.
19882 * progmodes/etags.el (tags-completion-at-point-function):
19883 * info-look.el (info-lookup-completions-at-point): Mark as
19884 non-exclusive.
19885 (info-complete): Adjust accordingly.
19886
19887 * info-look.el: Convert to lexical-binding and completion-at-point.
19888 (info-lookup-completions-at-point): New function.
19889 (info-complete): Use it and completion-in-region.
19890
19891 2011-05-28 Drew Adams <drew.adams@oracle.com>
19892
19893 * isearch.el: Let M-e start with point at the first mismatched char.
19894 (isearch-fail-pos): New function.
19895 (isearch-edit-string): Use it.
19896
19897 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19898
19899 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19900
19901 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19902
19903 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19904 traversal functions for avl-trees.
19905 (avl-tree--stack): New struct.
19906 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19907 (avl-tree-enter): Add optional `updatefun' arg.
19908 (avl-tree--do-enter): Add optional `updatefun' arg.
19909 Change return value.
19910 (avl-tree-delete): Add optional `test' and `nilflag' args.
19911 (avl-tree--do-delete): Add `test' and `nilflag' args.
19912 Change return value.
19913 (avl-tree-member): Add optional `nilflag'
19914 (avl-tree-member-p): New function.
19915 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19916 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19917 (avl-tree-stack-empty-p): New functions.
19918
19919 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19920 avl-tree--del-balance1 and make it work both ways.
19921 (avl-tree--del-balance2): Remove.
19922 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19923 make it work both ways.
19924 (avl-tree--enter-balance2): Remove.
19925 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19926 New macros.
19927 (avl-tree--mapc, avl-tree-map): Add direction argument.
19928
19929 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19930
19931 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19932
19933 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19934
19935 * select.el: Support clipboard managers with built-in function
19936 x-clipboard-manager-save, via delete-frame-functions and
19937 kill-emacs-hook.
19938 (xselect-convert-to-targets): Add MULTIPLE target to list.
19939 (xselect-convert-to-save-targets): New function.
19940
19941 2011-05-27 Kenichi Handa <handa@m17n.org>
19942
19943 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19944 let-binding rfc2047-encode-encoded-words to nil.
19945
19946 2011-05-27 Glenn Morris <rgm@gnu.org>
19947
19948 * mail/emacsbug.el: Don't require url-util.
19949
19950 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19951
19952 * files.el (set-auto-mode):
19953 Also respect mode: entries at the end of the file. (Bug#8586)
19954
19955 2011-05-26 Glenn Morris <rgm@gnu.org>
19956
19957 * files.el (hack-local-variables-prop-line, hack-local-variables):
19958 Downcase mode names, as seems to be traditional.
19959 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19960
19961 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19962 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19963
19964 2011-05-25 Julien Danjou <julien@danjou.info>
19965
19966 * textmodes/rst.el (rst-define-level-faces): Do not define face
19967 symbol if it is already defined.
19968
19969 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19970
19971 * play/5x5.el (5x5-new-game, 5x5-randomize):
19972 Reset 5x5-solver-output to nil when a new grid is cast.
19973 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19974 these debugging traces, as defmacro breaks the compiled code.
19975
19976 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19977
19978 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19979
19980 2011-05-24 Leo Liu <sdl.web@gmail.com>
19981
19982 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19983 (vc-bzr-sha1): Adapt.
19984
19985 * sha1.el: Remove. Function `sha1' is now builtin.
19986
19987 * bindings.el: Provide sha1 feature.
19988
19989 2011-05-24 Kenichi Handa <handa@m17n.org>
19990
19991 * mail/sendmail.el: Require `rfc2047'.
19992 (mail-insert-from-field): Do not perform RFC2047 encoding.
19993 (mail-encode-header): New function.
19994 (sendmail-send-it): Set buffer-file-coding-system of the work
19995 buffer to the return value of select-message-coding-system.
19996 Call mail-encode-header.
19997
19998 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19999
20000 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
20001
20002 * mail/supercite.el (sc-default-cite-frame):
20003 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
20004
20005 2011-05-24 Glenn Morris <rgm@gnu.org>
20006
20007 * progmodes/python.el (brm-menu): Declare.
20008
20009 * emulation/viper.el (viper-set-hooks): Declare.
20010
20011 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
20012 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
20013 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
20014 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
20015 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
20016 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
20017
20018 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
20019
20020 Add an :exit-function for completion-at-point.
20021
20022 * minibuffer.el (completion--done): New fun.
20023 (completion--do-completion): Use it. New arg `expect-exact'.
20024 (minibuffer-complete, minibuffer-complete-word): Don't output message,
20025 since completion--do-completion does it for us now.
20026 (minibuffer-force-complete): Use completion--done and
20027 completion--replace. Handle sole-completion case with more care.
20028 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
20029 (completion-extra-properties): New var.
20030 (completion-annotate-function): Make obsolete.
20031 (minibuffer-completion-help): Adjust accordingly.
20032 Use completion-list-insert-choice-function.
20033 (completion-at-point, completion-help-at-point):
20034 Bind completion-extra-properties.
20035 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
20036 * simple.el (completion-list-insert-choice-function): New var.
20037 (completion-setup-function): Preserve it.
20038 (choose-completion): Pay attention to it, shuffle the code a bit.
20039 (choose-completion-string): New arg `insert-function'.
20040
20041 * textmodes/bibtex.el: Convert to lexical binding.
20042 (bibtex-mode-map): Use completion-at-point.
20043 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
20044 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
20045 (bibtex-complete): Define as obsolete alias.
20046 (bibtex-complete-internal): Remove.
20047 (bibtex-format-entry): Remove unused sub-group in regexp.
20048 * shell.el (shell--command-completion-data)
20049 (shell-environment-variable-completion):
20050 * pcomplete.el (pcomplete-completions-at-point):
20051 * comint.el (comint--complete-file-name-data): Use :exit-function
20052 instead of completion-table-with-terminator so it also works for
20053 choose-completion.
20054
20055 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20056
20057 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
20058
20059 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
20060 (bug#8710).
20061
20062 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
20063
20064 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
20065
20066 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
20067 customization variable and implement: If non-nil, auto-fill will
20068 be inhibited while on topic's header line.
20069
20070 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
20071
20072 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
20073 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
20074 always have a solution in grid size = 5 cases.
20075 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
20076 (5x5-solver-output, 5x5-log-buffer): New vars.
20077 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
20078 Make these variables buffer local to achieve 5x5 multi-session-ness.
20079 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
20080 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
20081 (5x5-solve-suggest): New funs.
20082 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
20083 randomize a grid so that we ensure that there is always a solution.
20084 (5x5-make-random-grid): Allow other movement than flipping.
20085
20086 2011-05-23 Kevin Ryde <user42@zip.com.au>
20087
20088 * emacs-lisp/advice.el (ad-read-advised-function):
20089 Use `function-called-at-point' as the default, if it has
20090 advice and passes PREDICATE.
20091
20092 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
20093
20094 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
20095 byte-compile-lambda if it's actually a lambda.
20096
20097 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20098 Fix function quoting. Use backquote better.
20099
20100 2011-05-22 Yuanle Song <sylecn@gmail.com>
20101
20102 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20103 matching (Bug#8516).
20104
20105 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20106
20107 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20108 different face (Bug#8178).
20109
20110 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20111
20112 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20113 defface (Bug#8144).
20114
20115 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20116
20117 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20118 funcall as well (bug#8712). Warn when performing those conversions.
20119 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20120
20121 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20122
20123 2011-05-22 Glenn Morris <rgm@gnu.org>
20124
20125 * files.el (hack-local-variables-prop-line): Small simplifications.
20126 (hack-local-variables, hack-local-variables-prop-line):
20127 If MODE-ONLY, return the mode, rather than just `t'.
20128
20129 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20130
20131 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20132
20133 2011-05-21 Glenn Morris <rgm@gnu.org>
20134
20135 * files.el (hack-local-variables-prop-line, hack-local-variables):
20136 If only interested in the mode, don't bother doing the other stuff.
20137
20138 * image-mode.el (image-after-revert-hook):
20139 Redraw all frames on which the image is visible. (Bug#8567)
20140
20141 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20142
20143 * wid-edit.el (widget-checklist-match-inline):
20144 Fix 2011-04-19 change. (Bug#8649)
20145
20146 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20147
20148 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20149 Also allow singlespace after single-letter capitals followed by a dot.
20150
20151 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20152 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20153
20154 2011-05-20 Nix <nix@esperi.org.uk>
20155
20156 * files.el (basic-save-buffer-2):
20157 Fix handling of break-hardlink-on-save with non-existent files.
20158
20159 2011-05-19 Deniz Dogan <deniz@dogan.se>
20160
20161 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20162 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20163
20164 2011-05-19 Glenn Morris <rgm@gnu.org>
20165
20166 * progmodes/f90.el (f90-type-def-re):
20167 Handle "type, bind(c)". (Bug#8691)
20168
20169 * emacs-lisp/autoload.el (batch-update-autoloads):
20170 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20171
20172 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20173
20174 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20175 property for the correct connection in case of multihops.
20176
20177 2011-05-18 Glenn Morris <rgm@gnu.org>
20178
20179 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20180 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20181
20182 Rationalize calendar handling of day and month abbrev-arrays.
20183 * calendar/calendar.el (calendar-customized-p): New function.
20184 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20185 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20186 Add :set function.
20187 (calendar-abbrev-length, calendar-day-abbrev-array)
20188 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20189 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20190 Elements may no longer be nil.
20191 (calendar-day-name, calendar-month-name):
20192 Update for changed nature of abbrev arrays.
20193 * calendar/diary-lib.el (diary-name-pattern):
20194 Update for changed nature of abbrev arrays.
20195 (diary-mark-entries-1): Update calendar-make-alist calls.
20196 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20197 * calendar/cal-html.el (cal-html-day-abbrev-array):
20198 Simply inherit from calendar-day-abbrev-array.
20199
20200 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20201
20202 * progmodes/grep.el (grep-mode): Disable default
20203 compilation-directory-matcher setting (bug#8684).
20204
20205 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20206
20207 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20208 instead of "head" and "tail". There were problems with SunOS 5.9,
20209 and it performs better.
20210
20211 2011-05-17 Glenn Morris <rgm@gnu.org>
20212
20213 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20214
20215 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20216 Replace obsolete function.
20217
20218 * shell.el (pcomplete-parse-arguments-function): Declare.
20219
20220 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20221 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20222 (appt-check): Doc fixes.
20223 (appt-disp-window-function, appt-delete-window-function):
20224 Remove needless special case in custom :type.
20225 (appt-display-count): Default to 0, not nil.
20226 (appt-check): Reset appt-display-count to 0, not nil.
20227
20228 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20229
20230 * progmodes/python.el (python-font-lock-keywords):
20231 Add the Python 3.X keyword "nonlocal" (bug#8639).
20232
20233 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20234
20235 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20236
20237 2011-05-16 Kevin Ryde <user42@zip.com.au>
20238
20239 * info-look.el (makefile-automake-mode): New setups, looking in
20240 automake manual, then makefile-mode.
20241 (makefile-mode): Remove automake manual, have it just in
20242 makefile-automake-mode since there's various things different or
20243 not relevant to plain make.
20244 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20245 believe a hypothetical automake-mode would go to makefile-mode,
20246 not the other way around.
20247
20248 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20249
20250 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20251 hunk-end tags (Bug#8672).
20252
20253 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20254 vc-annotate-show-diff-revision-at-line (Bug#8671).
20255
20256 2011-05-14 Glenn Morris <rgm@gnu.org>
20257
20258 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20259 in the middle of an existing one with multiple authors. (Bug#8645)
20260 (change-log-font-lock-keywords): Also handle multiple author lines
20261 with leading tabs. (Bug#8644)
20262
20263 * calendar/appt.el (appt-check): Rename some local variables.
20264 Some simplification/reordering.
20265
20266 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20267 (feedmail-sendmail-f-doesnt-sell-me-out)
20268 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20269 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20270 (feedmail-queue-runner-message-sender): Set :version.
20271 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20272 (bbdb-dwim-net-address, vm-mail): Declare.
20273 (feedmail-binmail-gnulinuxish-template):
20274 Rename from feedmail-binmail-linuxish-template.
20275 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20276 Use insert-buffer-substring.
20277
20278 2011-05-14 Bill Carpenter <bill@carpenter.org>
20279
20280 * mail/feedmail.el (feedmail-patch-level): Increase.
20281 (feedmail-debug): New custom group.
20282 (feedmail-confirm-outgoing-timeout)
20283 (feedmail-sendmail-f-doesnt-sell-me-out)
20284 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20285 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20286 (feedmail-sender-line, feedmail-from-line)
20287 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20288 (feedmail-spray-this-address)
20289 (feedmail-spray-address-fiddle-plex-list)
20290 (feedmail-queue-use-send-time-for-date)
20291 (feedmail-queue-use-send-time-for-message-id)
20292 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20293 (feedmail-buffer-eating-function):
20294 Doc fixes.
20295 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20296 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20297 (feedmail-message-action-scroll-down): New functions.
20298 (feedmail-queue-directory, feedmail-queue-draft-directory):
20299 Use expand-file-name.
20300 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20301 Remove C-v help entry.
20302 (feedmail-queue-buffer-file-name): New variable.
20303 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20304 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20305 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20306 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20307 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20308 (feedmail-message-action-toggle-spray)
20309 (feedmail-run-the-queue-no-prompts)
20310 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20311 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20312 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20313 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20314 (feedmail-envelope-deducer, feedmail-fiddle-from)
20315 (feedmail-fiddle-sender, feedmail-default-date-generator)
20316 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20317 (feedmail-fiddle-spray-address)
20318 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20319 (feedmail-fiddle-list-of-fiddle-plexes)
20320 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20321 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20322 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20323 Change default. Doc fix.
20324 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20325 (feedmail-binmail-linuxish-template): New constant.
20326 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20327 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20328 (feedmail-send-it): Add debug call.
20329 Use feedmail-queue-buffer-file-name, and
20330 feedmail-send-it-immediately-wrapper.
20331 (feedmail-message-action-send): Add debug call.
20332 Use feedmail-send-it-immediately-wrapper.
20333 (feedmail-queue-express-to-queue): Add debug call.
20334 Run feedmail-queue-express-hook.
20335 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20336 (feedmail-message-action-help-blat):
20337 Rename from feedmail-queue-send-edit-prompt-help-first.
20338 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20339 Check line-endings. Handle errors better.
20340 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20341 Doc fix. Add debug call.
20342 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20343 Use feedmail-queue-send-edit-prompt-inner.
20344 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20345 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20346 from feedmail-queue-send-edit-prompt.
20347 (feedmail-queue-send-edit-prompt-help)
20348 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20349 (feedmail-tidy-up-slug): Add debug call.
20350 Respect feedmail-queue-slug-suspect-regexp.
20351 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20352 (feedmail-dump-message-to-queue): Add debug call.
20353 Expand queue-directory.
20354 (feedmail-dump-message-to-queue): Change message slightly.
20355 Use feedmail-say-chatter.
20356 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20357 (feedmail-send-it-immediately-wrapper): New function.
20358 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20359 Insert empty string rather than newline. Handle full-frame case.
20360 Use catch/throw. Use feedmail-say-chatter.
20361 (feedmail-fiddle-from): Try mail-host-address.
20362 (feedmail-default-message-id-generator): Doc fix.
20363 Bind system-time-locale. Handle missing end.
20364 (feedmail-fiddle-x-mailer): Add debug call.
20365 Handle feedmail-x-mailer-line being nil.
20366 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20367 Add debug call. Use buffer-substring-no-properties.
20368 (feedmail-say-debug, feedmail-say-chatter): New functions.
20369 (feedmail-find-eoh): Give an explicit error.
20370
20371 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20372
20373 * net/newst-treeview.el (newsticker-treeview-face): Change default
20374 family from helvetica to sans.
20375 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20376 etc/images/newsticker.
20377
20378 * net/newst-reader.el (newsticker-feed-face): Change default
20379 family from helvetica to sans.
20380
20381 * net/newst-plainview.el (newsticker-new-item-face)
20382 (newsticker-old-item-face, newsticker-immortal-item-face)
20383 (newsticker-obsolete-item-face, newsticker-date-face)
20384 (newsticker-statistics-face): Change default family from
20385 helvetica to sans.
20386 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20387 etc/images/newsticker.
20388
20389 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20390 (newsticker--process-auto-mark-filter-match): Tell user about
20391 auto-marking.
20392
20393 2011-05-13 Didier Verna <didier@xemacs.org>
20394
20395 Common Lisp indentation improvements on defmethod and lambda-lists.
20396 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20397 TODO entries.
20398 (lisp-lambda-list-keyword-parameter-indentation)
20399 (lisp-lambda-list-keyword-parameter-alignment)
20400 (lisp-lambda-list-keyword-alignment): New customizable user options.
20401 (lisp-indent-defun-method): Improve docstring.
20402 (extended-loop-p): Fix comment.
20403 (lisp-indent-lambda-list-keywords-regexp): New variable.
20404 (lisp-indent-lambda-list): New function.
20405 (lisp-indent-259): Use it.
20406 (lisp-indent-defmethod): Support for more than one
20407 method qualifier and properly indent methods lambda-lists.
20408 (defgeneric): Provide a missing common-lisp-indent-function property.
20409
20410 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20411
20412 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20413 bounds for the empty string (bug#8667).
20414
20415 2011-05-13 Glenn Morris <rgm@gnu.org>
20416
20417 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20418
20419 * mail/sendmail.el (sendmail-program): Try executable-find first.
20420 (sendmail-send-it): `sendmail-program' cannot be unbound.
20421
20422 * calendar/appt.el (appt-make-list): Simplify.
20423 (appt-time-msg-list): Doc fix.
20424 (appt-check): Change mode-line message at the time of the appointment.
20425
20426 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20427
20428 * progmodes/ld-script.el (ld-script-keywords)
20429 (ld-script-builtins): Update keywords list.
20430
20431 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20432
20433 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20434
20435 * shell.el (shell-completion-vars): New function.
20436 (shell-mode):
20437 * simple.el (read-shell-command): Use it.
20438 (blink-matching-open): No need for " [...]" in minibuffer-message.
20439
20440 2011-05-12 Glenn Morris <rgm@gnu.org>
20441
20442 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20443 (appt-check): Simplify.
20444
20445 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20446
20447 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20448 literal "/dev/null".
20449
20450 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20451
20452 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20453 Fix typo.
20454
20455 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20456
20457 * progmodes/which-func.el (which-function):
20458 Use add-log-current-defun instead of add-log-current-defun-function,
20459 which might not be defined (Bug#8260).
20460
20461 2011-05-12 Glenn Morris <rgm@gnu.org>
20462
20463 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20464 Let byte-compile-initial-macro-environment always take precedence.
20465
20466 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20467
20468 * net/rcirc.el: Add support for SSL/TLS connections.
20469 (rcirc-server-alist): New field `encryption'.
20470 (rcirc): Check `encryption' settings.
20471 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20472 Merge make-local-variable into `set'.
20473 (rcirc--connection-open-p): New function.
20474 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20475 the process is not a network process (e.g. running gnutls-cli).
20476 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20477 Make rcirc-(en|de)code-coding-system local here.
20478 (rcirc-mode): Merge make-local-variable into `set'.
20479 (rcirc-parent-buffer): Make permanent buffer-local.
20480 (rcirc-multiline-minor-mode): Don't do it here.
20481 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20482 there's no server buffer.
20483
20484 2011-05-11 Glenn Morris <rgm@gnu.org>
20485
20486 * newcomment.el (comment-kill): Prefix "unused" local.
20487
20488 * term/w32console.el (get-screen-color): Declare.
20489
20490 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20491 Handle symbol elements of byte-compile-initial-macro-environment.
20492
20493 2011-05-10 Leo Liu <sdl.web@gmail.com>
20494
20495 * bookmark.el (bookmark-bmenu-mode-map):
20496 Bind bookmark-bmenu-search to `/'.
20497
20498 * mail/footnote.el: Convert to utf-8 encoding.
20499 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20500 (Footnote-unicode): New function.
20501 (footnote-style-alist): Add unicode style to the list.
20502 (footnote-style): Doc fix.
20503
20504 2011-05-10 Jim Meyering <meyering@redhat.com>
20505
20506 Fix doubled-word typos.
20507 * international/quail.el (quail-insert-kbd-layout): and and -> and
20508 * kermit.el: and and -> and
20509 * net/ldap.el (ldap-search-internal): to to -> to
20510 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20511 * progmodes/js.el (js-mode): and and -> and
20512 * textmodes/artist.el (artist-move-to-xy): at at -> at
20513 (artist-draw-region-trim-line-endings): if if -> if
20514 And Safetyc -> Safety.
20515 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20516
20517 2011-05-10 Glenn Morris <rgm@gnu.org>
20518 Stefan Monnier <monnier@iro.umontreal.ca>
20519
20520 * files.el (hack-one-local-variable-eval-safep):
20521 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20522
20523 2011-05-10 Glenn Morris <rgm@gnu.org>
20524
20525 * calendar/diary-lib.el (diary-list-entries-hook)
20526 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20527 (diary-nongregorian-marking-hook, diary-list-entries)
20528 (diary-include-other-diary-files, diary-mark-entries)
20529 (diary-mark-included-diary-files): Doc fixes.
20530
20531 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20532
20533 * misc.el: Require tabulated-list.el during compilation.
20534
20535 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20536
20537 * progmodes/compile.el (compilation-start):
20538 Run compilation-filter-hook for the async case too.
20539 (compilation-filter-hook): Doc fix.
20540
20541 2011-05-09 Deniz Dogan <deniz@dogan.se>
20542
20543 * wdired.el: Remove outdated installation comment. Fix usage
20544 comment.
20545
20546 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20547
20548 * misc.el: Implement new command `list-dynamic-libraries'.
20549 (list-dynamic-libraries--loaded-only-p): New variable.
20550 (list-dynamic-libraries--refresh): New function.
20551 (list-dynamic-libraries): New command.
20552
20553 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20554
20555 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20556 Fix the ant regexp to handle end-line and end-column info from jikes.
20557 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20558 higher priority to avoid clobbering by gnu.
20559
20560 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20561
20562 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20563 if the face has existing theme settings (Bug#8454).
20564
20565 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20566
20567 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20568 Only match variables declared via `my' or `our' (Bug#8261).
20569
20570 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20571 special file names `.' and `..' (Bug#8259).
20572
20573 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20574
20575 * progmodes/grep.el (grep-mode-font-lock-keywords):
20576 Remove buffer-changing entries.
20577 (grep-filter): New function.
20578 (grep-mode): Add it to compilation-filter-hook.
20579
20580 * progmodes/compile.el (compilation-filter-hook)
20581 (compilation-filter-start): New defvars.
20582 (compilation-filter): Call compilation-filter-hook prior to
20583 updating the process mark.
20584
20585 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20586
20587 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20588
20589 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20590
20591 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20592 mailclient-send-it even if window-system is nil. (Bug#8595)
20593
20594 * term/w32console.el (terminal-init-w32console):
20595 Call get-screen-color and use its output to set the frame
20596 background-mode. (Bug#8597)
20597
20598 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20599
20600 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20601 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20602 New functions.
20603 (defgeneric, eieio--defmethod): Use them.
20604 (eieio-defgeneric): Remove.
20605 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20606
20607 2011-05-07 Glenn Morris <rgm@gnu.org>
20608
20609 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20610 Use let rather than let*.
20611 (timeclock-find-discrep): Remove unused local.
20612
20613 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20614
20615 * calendar/appt.el (appt-time-msg-list): Doc fix.
20616
20617 2011-05-06 Noah Friedman <friedman@splode.com>
20618
20619 * apropos.el (apropos-print-doc): Only use
20620 emacs-lisp-docstring-fill-column when it is bound to an integer,
20621 per that variable's documentation.
20622
20623 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20624
20625 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20626 and warnings are not silently discarded (e.g. use -d instead of -P).
20627
20628 2011-05-06 Glenn Morris <rgm@gnu.org>
20629
20630 * calendar/appt.el (appt-message-warning-time): Doc fix.
20631 (appt-warning-time-regexp): New option.
20632 (appt-make-list): Respect appt-message-warning-time.
20633
20634 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20635 New options.
20636 (diary-add-to-list): Strip comments from the displayed string.
20637 (diary-mode): Set comment-start and comment-end.
20638
20639 * vc/diff-mode.el (smerge-refine-subst): Declare.
20640 (diff-refine-hunk): Don't require smerge-mode when compiling.
20641
20642 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20643
20644 * simple.el (list-processes): Return nil as the docstring says.
20645
20646 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20647
20648 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20649 to "".
20650 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20651 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20652 determining of binary transfer. (Bug#7383)
20653
20654 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20655
20656 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20657 Fix port computation bug. (Bug#8618)
20658
20659 2011-05-05 Glenn Morris <rgm@gnu.org>
20660
20661 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20662
20663 * simple.el (shell-dynamic-complete-functions)
20664 (comint-dynamic-complete-functions): Declare.
20665
20666 * net/network-stream.el (gnutls-negotiate):
20667 * simple.el (tabulated-list-print): Fix declarations.
20668
20669 * progmodes/gud.el (syntax-symbol, syntax-point):
20670 Remove unnecessary and incorrect declarations.
20671
20672 * emacs-lisp/check-declare.el (check-declare-scan):
20673 Handle byte-compile-initial-macro-environment in bytecomp.el.
20674
20675 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20676
20677 Fix earlier half-done eieio-defmethod change (bug#8338).
20678 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20679 Streamline and change calling convention.
20680 (defmethod): Adjust accordingly and simplify.
20681 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20682 new eieio--defmethod.
20683 (slot-boundp): Minor CSE simplification.
20684
20685 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20686
20687 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20688 (glasses-make-readable): Use glasses-separate-capital-groups.
20689
20690 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20691
20692 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20693 (warning-series): Doc fix.
20694 (display-warning): Don't try to create the buffer if we just found it.
20695
20696 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20697
20698 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20699 (autoload-find-generated-file): New function.
20700 (generate-file-autoloads): Bind generated-autoload-file to
20701 buffer-file-name.
20702 (update-file-autoloads, update-directory-autoloads):
20703 Use autoload-find-generated-file. If called interactively, prompt for
20704 output file (Bug#7989).
20705 (batch-update-autoloads): Doc fix.
20706
20707 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20708
20709 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20710
20711 2011-05-04 Glenn Morris <rgm@gnu.org>
20712
20713 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20714 function, so it follows changes in calendar-date-style.
20715 (diary-fancy-date-matcher): New function.
20716 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20717 (diary-fancy-font-lock-fontify-region-function):
20718 Use diary-fancy-date-pattern as a function.
20719
20720 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20721 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20722
20723 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20724
20725 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20726 instead of positional arguments. Allow :keylist and :crlfiles
20727 arguments.
20728 (open-gnutls-stream): Call it.
20729
20730 * net/network-stream.el (network-stream-open-starttls): Adjust to
20731 call `gnutls-negotiate' with :process and :hostname arguments.
20732
20733 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20734
20735 * minibuffer.el (completion--message): New function.
20736 (completion--do-completion, minibuffer-complete)
20737 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20738 (completion--do-completion): Don't ignore completion-auto-help when in
20739 icomplete-mode.
20740
20741 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20742 internal encoding (e.g. tibetan zero is not whitespace).
20743 (global-whitespace-mode): Prefer save-current-buffer.
20744 (whitespace-trailing-regexp): Remove useless save-match-data.
20745 (whitespace-empty-at-bob-regexp): Minor simplification.
20746
20747 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20748
20749 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20750
20751 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20752
20753 * textmodes/ispell.el (ispell-add-per-file-word-list):
20754 Use `concat' to create string for insertion.
20755
20756 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20757
20758 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20759 Avoid open-line which runs post-self-insert-hook.
20760 (bibtex-fill-entry): Remove unused `end' var.
20761
20762 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20763
20764 * textmodes/ispell.el (ispell-add-per-file-word-list):
20765 Protect against `nil' value of `comment-start' (Bug#8579).
20766
20767 2011-05-03 Leo Liu <sdl.web@gmail.com>
20768
20769 * isearch.el (isearch-yank-pop): New command.
20770 (isearch-mode-map): Bind it to `M-y'.
20771 (isearch-forward): Mention it.
20772
20773 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20774
20775 * simple.el (minibuffer-complete-shell-command): Remove.
20776 (minibuffer-local-shell-command-map): Use completion-at-point.
20777 (read-shell-command): Setup completion vars here instead.
20778 (read-expression-map): Bind TAB to symbol completion.
20779
20780 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20781 error directly rather via storing it into `results'.
20782
20783 2011-05-02 Leo Liu <sdl.web@gmail.com>
20784
20785 * vc/diff.el: Fix description.
20786
20787 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20788
20789 * server.el (server-eval-at): New function.
20790
20791 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20792
20793 * net/network-stream.el (open-network-stream): Take a :nowait
20794 parameter and pass it on to `make-network-process'.
20795 (network-stream-open-plain): Ditto.
20796
20797 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20798
20799 * faces.el (face-spec-set-match-display): Don't match toolkit
20800 options on terminal frames.
20801
20802 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20803
20804 * progmodes/pascal.el: Use lexical binding.
20805 (pascal-mode-map): Remove author preferences.
20806
20807 * pcomplete.el (pcomplete-std-complete): Don't abuse
20808 completion-at-point.
20809
20810 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20811
20812 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20813 removing code that has been dead since 1991 or so.
20814
20815 * startup.el (command-line): When warning about "_emacs", use a
20816 delayed warning to allow the user to filter it out.
20817
20818 2011-04-28 Deniz Dogan <deniz@dogan.se>
20819
20820 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20821 user has not joined.
20822
20823 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20824
20825 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20826 aren't any completions at point.
20827
20828 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20829
20830 * subr.el (display-delayed-warnings): New function.
20831 (delayed-warnings-hook): New variable.
20832
20833 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20834
20835 * minibuffer.el (completion-at-point, completion-help-at-point):
20836 Don't presume that a given completion-at-point-function will always
20837 use the same calling convention.
20838
20839 * pcomplete.el (pcomplete-completions-at-point):
20840 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20841 pcomplete-seen is non-nil.
20842 (pcomplete-comint-setup): Also recognize the new comint/shell
20843 completion functions.
20844 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20845 pcomplete-seen is non-nil.
20846
20847 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20848
20849 * calendar/icalendar.el (diary-lib): Add require statement.
20850 (icalendar--create-uid): Read out a uid from a text-property on
20851 the first character in the entry. This allows for code to add its
20852 own uid to the entry.
20853 (icalendar--convert-float-to-ical): Add export of
20854 `diary-float'-entries save for those with the optional DAY
20855 argument.
20856
20857 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20858
20859 * subr.el (shell-quote-argument): Use alternate escaping strategy
20860 when we spot a variable reference in a string.
20861
20862 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20863
20864 * cus-start.el (all): Define customization for debug-on-event.
20865
20866 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20867
20868 * subr.el (shell-quote-argument): Escape correctly under Windows.
20869
20870 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20871
20872 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20873
20874 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20875
20876 * net/tramp.el (tramp-process-actions): Add POS argument.
20877 Delete region between POS and (pos).
20878
20879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20880 Use `nil' position in `tramp-process-actions' call.
20881 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20882
20883 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20884 position in `tramp-process-actions' call.
20885
20886 * net/trampver.el: Update release number.
20887
20888 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20889
20890 * custom.el (defcustom): Obey lexical-binding.
20891
20892 Fix octave-inf completion problems reported by Alexander Klimov.
20893 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20894 Inherit from octave-mode-syntax-table.
20895 (inferior-octave-mode): Set info-lookup-mode.
20896 (inferior-octave-completion-at-point): New function.
20897 (inferior-octave-complete): Use it and completion-in-region.
20898 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20899 comint-filename-completion.
20900 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20901 symbol elements which shouldn't be word elements.
20902 (octave-font-lock-keywords, octave-beginning-of-defun)
20903 (octave-function-header-regexp): Adjust regexps accordingly.
20904 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20905
20906 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20907
20908 * net/gnutls.el (gnutls-errorp): Declare before first use.
20909
20910 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20911
20912 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20913 verify-error, and verify-hostname-error parameters. Check whether
20914 default trustfile exists before going to use it. Add missing
20915 argument to gnutls-message-maybe call. Return value.
20916 Reported by Claudio Bley <claudio.bley@gmail.com>.
20917 (open-gnutls-stream): Add usage example.
20918
20919 * net/network-stream.el (network-stream-open-starttls): Give host
20920 parameter to `gnutls-negotiate'.
20921 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20922 * subr.el (shell-quote-argument): Escape correctly under Windows.
20923
20924 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20925
20926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20927 Use correct match group (bug#8438).
20928
20929 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20930
20931 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20932 (package-menu--generate): New arg specifying packages to show.
20933 (package-menu-refresh, package-menu-execute, list-packages):
20934 Callers changed.
20935 (package-show-package-list): New function, replacing deleted
20936 package--list-packages (renamed because it is non-internal).
20937
20938 * finder.el (finder-list-matches): Use package-show-package-list
20939 instead of deleted package--list-packages.
20940
20941 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20942 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20943 (vc-annotate-mode-map): Bind it to RET.
20944
20945 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20946
20947 * progmodes/etags.el (next-file): Don't use set-buffer to change
20948 buffers (Bug#8478).
20949
20950 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20951
20952 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20953
20954 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20955 (apropos-accumulator): Doc fix.
20956 (apropos-function, apropos-macro, apropos-command)
20957 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20958 (apropos-plist): Add face property.
20959 (apropos-symbols-internal): Fix indentation.
20960 (apropos-print): Simplify help, and recognize apropos-multi-type.
20961 (apropos-print-doc): Use button-type-get to extract the button's
20962 face property. Fill docstring (Bug#8352).
20963
20964 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20965
20966 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20967
20968 * play/mpuz.el (mpuz-silent): Doc fix.
20969 (mpuz-mode-map): Use mapc.
20970 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20971 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20972 Fix typos in docstrings.
20973
20974 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20975 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20976
20977 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20978
20979 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20980
20981 * minibuffer.el (completion--do-completion): Avoid the "Next char
20982 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20983
20984 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20985 mouse-2 into unread-command-events, it is interpreted correctly.
20986
20987 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20988 (image-toggle-display): Doc fix.
20989
20990 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20991
20992 * textmodes/page.el (what-page): Use line-number-at-pos to
20993 calculate line number (Bug#6825).
20994
20995 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20996
20997 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20998 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20999 Pass argument NO-DEFAULT to `find-tag-interactive'.
21000
21001 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
21002
21003 Lexical-binding cleanup.
21004
21005 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
21006 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
21007 * progmodes/ada-prj.el (ada-prj-initialize-values)
21008 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
21009 (ada-prj-show-value):
21010 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
21011 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
21012 (antlr-invalidate-context-cache, antlr-options-menu-filter)
21013 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
21014 * progmodes/bug-reference.el (bug-reference-push-button):
21015 * progmodes/fortran.el (fortran-line-length):
21016 * progmodes/glasses.el (glasses-change):
21017 * progmodes/octave-mod.el (octave-fill-paragraph):
21018 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
21019 (python-pdbtrack-grub-for-buffer, python-sentinel):
21020 * progmodes/sql.el (sql-save-connection):
21021 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
21022 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
21023 Mark unused parameters.
21024
21025 * progmodes/compile.el (compilation--flush-directory-cache)
21026 (compilation--flush-parse, compile-internal): Mark unused parameters.
21027 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
21028 (compilation-next-error-function): Remove unused variable `timestamp'.
21029
21030 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
21031 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
21032
21033 * progmodes/dcl-mode.el (dcl-end-of-command):
21034 Remove unused variable `start'.
21035 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
21036 (dcl-option-value-basic, dcl-option-value-offset)
21037 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
21038 Mark unused parameters.
21039 (dcl-save-local-variable): Remove unused variable `val'.
21040 (mode): Declare.
21041
21042 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
21043 Mark unused parameters.
21044 (delphi-ignore-changes): Move before first use.
21045 (delphi-charset-token-at): Remove unused variable `start'.
21046 (delphi-else-start): Remove unused variable `if-count'.
21047 (delphi-comment-block-start, delphi-comment-block-end):
21048 Remove unused variable `kind'.
21049 (delphi-indent-line): Remove unused variable `new-point'.
21050
21051 * progmodes/ebrowse.el (ebrowse-files-list)
21052 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
21053 Mark unused parameters. Don't quote `lambda'.
21054 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
21055 Don't quote `lambda'.
21056 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
21057 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
21058 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
21059 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
21060 Use `ignore-errors'.
21061 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
21062 (ebrowse-view/find-file-and-search-pattern)
21063 (ebrowse-view/find-member-declaration/definition):
21064 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
21065 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
21066 Rename parameter PREFIX-ARG to PREFIX.
21067 (ebrowse-tags-read-name): Remove unused variables `start' and
21068 `member-info'.
21069 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
21070 to `tags-file'.
21071
21072 * progmodes/etags.el (local-find-tag-hook): Declare.
21073 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
21074 Mark unused parameters.
21075
21076 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
21077 (executable-interpret): Mark unused parameter.
21078
21079 * progmodes/flymake.el (flymake-process-sentinel)
21080 (flymake-after-change-function)
21081 (flymake-create-temp-with-folder-structure)
21082 (flymake-get-include-dirs-dot): Mark unused parameters.
21083 (flymake-safe-delete-directory): Remove unused variable `err'.
21084
21085 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
21086 (speedbar-timer-fn, speedbar-line-text)
21087 (speedbar-change-expand-button-char, speedbar-delete-subblock)
21088 (speedbar-center-buffer-smartly): Declare functions.
21089 (gdb-find-watch-expression): Remove unused variable `array'.
21090 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
21091 (gdb-starting): Mark unused parameters.
21092 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
21093 (gdb-table-string): Remove unused variable `res'.
21094 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
21095 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
21096 (gdb-display-buffer): Remove unused variable `cur-size'.
21097
21098 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21099 allow lexical-binding compilation.
21100 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21101 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21102 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21103 Mark unused parameters.
21104 (gud-gdb-marker-filter): Remove unused variable `match'.
21105 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21106 lambda expressions and funcall them, instead of using `fset'.
21107
21108 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21109 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21110
21111 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21112 variable `header-beg'; use `let'.
21113
21114 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21115 `restart', `last-sexp' and `at-do'.
21116
21117 * progmodes/js.el (js--debug): Mark unused parameter.
21118 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21119 (js--splice-into-items): Remove unused variable `item'.
21120 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21121
21122 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21123 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21124 (makefile-complete): Remove unused variable `try'.
21125 (makefile-fill-paragraph, makefile-match-function-end):
21126 Mark unused parameters.
21127
21128 * progmodes/octave-inf.el (inferior-octave-complete):
21129 Remove unused variable `proc'.
21130 (inferior-octave-output-digest): Mark unused parameter.
21131
21132 * progmodes/perl-mode.el (perl-calculate-indent):
21133 Remove unused variable `err'.
21134
21135 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21136 (prolog-indent-line): Mark unused parameters.
21137 (prolog-indent-line): Remove unused variable `beg'.
21138
21139 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21140 (reporter-dont-compact-list): Declare.
21141
21142 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21143 Remove unused variable `char'.
21144 (sh-debug): Mark unused parameter.
21145 (sh-get-indent-info): Remove unused variable `start'.
21146 (sh-calculate-indent): Remove unused variable `var'.
21147
21148 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21149 (simula-electric-keyword): Remove unused variable `null'.
21150 (simula-search-backward, simula-search-forward): Remove unused
21151 variables `begin' and `end'.
21152
21153 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21154 Remove unused variable `pos'.
21155 (vera-electric-tab, vera-comment-uncomment-region):
21156 Mark unused parameters.
21157 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21158
21159 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21160
21161 * emacs-lisp/package.el (package--builtins, package-alist)
21162 (package-load-descriptor, package-built-in-p, package-activate)
21163 (define-package, package-installed-p)
21164 (package-compute-transaction, package-buffer-info)
21165 (package--push): Doc fix. Distinguish more clearly between
21166 version strings and version lists.
21167
21168 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21169
21170 Lexical-binding cleanup.
21171
21172 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21173 (5x5-make-mutate-best):
21174 * play/fortune.el (fortune-in-buffer):
21175 * play/gomoku.el (gomoku-init-display):
21176 * play/solitaire.el (solitaire, solitaire-do-check):
21177 * play/tetris.el (tetris-default-update-speed-function):
21178 Mark unused parameters.
21179
21180 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21181 (bubbles--shift): Remove unused variable `char-org'.
21182 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21183 (bubbles--show-images): Remove unused variable `char'.
21184
21185 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21186 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21187 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21188 (decipher-analyze-buffer): Use ?\s.
21189 (decipher-make-checkpoint): Remove unused variable `mapping'.
21190
21191 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21192
21193 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21194 Remove unused variable `result'; use `let'.
21195
21196 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21197 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21198 (gametree-children-shown-p, gametree-compute-reduced-score):
21199 Use `ignore-errors'.
21200
21201 * play/handwrite.el (ps-lpr-switches): Declare.
21202 (handwrite): Remove unused variables `pmin' and `lastp'.
21203
21204 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21205
21206 * play/landmark.el (landmark-init-display)
21207 (landmark-update-naught-weights): Mark unused parameters.
21208 (landmark-y): Remove unused variable `noise'. Simplify.
21209 (landmark-human-plays): Remove unused variable `score'.
21210
21211 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21212 (mpuz-try-proposal): Remove unused variable `game'.
21213
21214 * play/zone.el (life-patterns): Declare.
21215
21216 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21217
21218 * vc/vc.el (ediff-vc-internal): Declare function.
21219
21220 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21221
21222 * shell.el: Use lexical-binding and std completion UI.
21223 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21224 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21225 comint-preoutput-filter-functions rather than on
21226 comint-output-filter-functions.
21227 (shell-command-completion, shell--command-completion-data)
21228 (shell-filename-completion, shell-environment-variable-completion)
21229 (shell-c-a-p-replace-by-expanded-directory): New functions.
21230 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21231 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21232 (shell-dynamic-complete-environment-variable): Use them.
21233 (shell-dynamic-complete-as-environment-variable)
21234 (shell-dynamic-complete-as-command): Remove.
21235 (shell-match-partial-variable): Match past point.
21236 * comint.el: Clean up use of completion-at-point-functions.
21237 (comint-completion-at-point): New function.
21238 (comint-mode): Use it completion-at-point-functions.
21239 (comint-dynamic-complete): Make it obsolete.
21240 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21241 (comint-c-a-p-replace-by-expanded-history): New function.
21242 (comint-dynamic-complete-functions)
21243 (comint-replace-by-expanded-history): Use it.
21244 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21245 termination strings. Try harder to avoid second try-completion.
21246 (completion-in-region-mode-map): Disable bindings that don't work yet.
21247
21248 * comint.el: Use lexical-binding. Require CL.
21249 (comint-dynamic-complete-functions): Use comint-filename-completion.
21250 (comint-completion-addsuffix): Tweak custom type.
21251 (comint-filename-completion, comint--common-suffix)
21252 (comint--common-quoted-suffix, comint--table-subvert)
21253 (comint--complete-file-name-data): New functions.
21254 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21255 (comint-dynamic-list-filename-completions): Use them.
21256 (comint-dynamic-simple-complete): Make obsolete.
21257
21258 * minibuffer.el (completion-in-region-mode):
21259 Keep completion-in-region-mode--predicate global.
21260 (completion-in-region--postch):
21261 Assume completion-in-region-mode--predicate is not null.
21262
21263 * progmodes/flymake.el (flymake-start-syntax-check-process):
21264 Obey `dir'. Simplify.
21265
21266 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21267 we're in VC after all.
21268
21269 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21270
21271 * vc/vc.el (vc-diff-build-argument-list-internal)
21272 (vc-version-ediff, vc-ediff): New commands.
21273 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21274
21275 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21276
21277 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21278 add sanity check.
21279
21280 * obsolete/erc-hecomplete.el: Make obsolete.
21281 * obsolete/: Standardize obsolescence info in the header.
21282
21283 2011-04-20 Glenn Morris <rgm@gnu.org>
21284
21285 * calendar/solar.el (solar-horizontal-coordinates):
21286 Use the longitude argument rather than `calendar-longitude'.
21287 (solar-date-next-longitude): Remove unused locals.
21288
21289 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21290
21291 * whitespace.el: New version 13.2.1.
21292
21293 2011-04-20 felix <EmacsWiki> (tiny change)
21294
21295 * whitespace.el (global-whitespace-mode): Keep highlight when
21296 switching between major modes on a file.
21297
21298 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21299
21300 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21301 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21302 multi-line comments as well.
21303
21304 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21305
21306 Lexical-binding cleanup.
21307
21308 * arc-mode.el (archive-mode-revert):
21309 * cmuscheme.el (scheme-interactively-start-process):
21310 * custom.el (custom-initialize-delay):
21311 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21312 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21313 * emacs-lock.el (emacs-lock-clear-sentinel):
21314 * ezimage.el (defezimage):
21315 * follow.el (follow-avoid-tail-recenter):
21316 * fringe.el (set-fringe-mode-1):
21317 * generic-x.el (bat-generic-mode-compile):
21318 * help-mode.el (help-info-variable, help-do-xref)
21319 (help-mode-revert-buffer):
21320 * help.el (view-emacs-todo):
21321 * iswitchb.el (iswitchb-completion-help):
21322 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21323 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21324 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21325 * locate.el (locate-update):
21326 * longlines.el (longlines-encode-region)
21327 (longlines-after-change-function):
21328 * outline.el (outline-isearch-open-invisible):
21329 * ps-def.el (declare-function, charset-dimension, char-width)
21330 (encode-char):
21331 * ps-mule.el (ps-mule-plot-string):
21332 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21333 (recentf-edit-list-select, recentf-edit-list-validate)
21334 (recentf-open-files-action):
21335 * rect.el (delete-whitespace-rectangle-line)
21336 (rectangle-number-line-callback):
21337 * register.el (window-configuration-to-register)
21338 (frame-configuration-to-register):
21339 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21340 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21341 (xselect-convert-to-targets, xselect-convert-to-delete)
21342 (xselect-convert-to-filename, xselect-convert-to-charpos)
21343 (xselect-convert-to-lineno, xselect-convert-to-colno)
21344 (xselect-convert-to-os, xselect-convert-to-host)
21345 (xselect-convert-to-user, xselect-convert-to-class)
21346 (xselect-convert-to-name, xselect-convert-to-integer)
21347 (xselect-convert-to-atom, xselect-convert-to-identity):
21348 * subr.el (declare, ignore, process-kill-without-query)
21349 (text-clone-maintain):
21350 * terminal.el (te-get-char, te-tic-sentinel):
21351 * tool-bar.el (tool-bar-make-keymap):
21352 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21353 * type-break.el (type-break-mode, type-break-noninteractive-query):
21354 * view.el (View-back-to-mark):
21355 * wid-browse.el (widget-browse-action, widget-browse-widget)
21356 (widget-browse-widgets, widget-browse-sexp):
21357 * widget.el (define-widget-keywords):
21358 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21359 Mark unused parameters.
21360
21361 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21362 (align-areas): Remove unused variable `look'.
21363 (align-region): Remove unused variables `real-end' and `pos-list'.
21364
21365 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21366
21367 * bindings.el (mode-line-modified, mode-line-remote):
21368 Mark unused parameters.
21369 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21370
21371 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21372 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21373
21374 * comint.el (comint-history-isearch-pop-state)
21375 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21376 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21377 (comint-substitute-in-file-name): Doc fix.
21378
21379 * completion.el (cmpl-statistics-block): Mark unused parameter.
21380 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21381 (save-completions-to-file, load-completions-from-file):
21382 Remove unused local variable `e'.
21383
21384 * composite.el (compose-chars): Remove unused variable `len'.
21385 (lgstring-insert-glyph): Remove unused variable `g'.
21386 (compose-glyph-string): Remove unused variables `ascent',
21387 `descent', `lbearing' and `rbearing'.
21388 (compose-glyph-string-relative): Remove unused variables
21389 `lbearing', `rbearing' and `wadjust'.
21390 (compose-gstring-for-graphic): Remove unused variables `header',
21391 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21392 (compose-gstring-for-terminal): Remove unused variables `header'
21393 and `nchars'. Use `let', not `let*'.
21394
21395 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21396 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21397 (Custom-buffer-done, custom-buffer-create-internal)
21398 (custom-browse-visibility-action, custom-browse-group-tag-action)
21399 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21400 (widget-magic-mouse-down-action, custom-toggle-parent)
21401 (custom-add-parent-links, custom-toggle-hide-variable)
21402 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21403 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21404 (custom-face-menu-create, custom-variable-menu-create, get)
21405 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21406 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21407 (customize-apropos): Remove unused variable `tests'.
21408 (custom-group-value-create): Remove unused variable `hidden-p'.
21409 (sort-fold-case): Declare.
21410
21411 * cus-theme.el (custom-reset-standard-faces-list)
21412 (custom-reset-standard-variables-list): Declare.
21413 (customize-create-theme, custom-theme-revert, custom-theme-write)
21414 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21415 Mark unused parameters.
21416
21417 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21418
21419 * delim-col.el (delimit-columns-max): Move defvar before first use.
21420
21421 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21422 (describe-char): Don't quote `lambda'. Mark unused parameter.
21423
21424 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21425 (auto-insert): Declare.
21426 (desktop-restore-file-buffer): Rename desktop-* parameters;
21427 mark unused ones.
21428 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21429 (desktop-buffer): Rename desktop-* parameters.
21430
21431 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21432 (dframe-reposition-frame-xemacs, dframe-help-echo)
21433 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21434 Mark unused parameters.
21435
21436 * dired-aux.el (backup-extract-version-start, overwrite-query)
21437 (overwrite-backup-query, rename-regexp-query)
21438 (rename-non-directory-query): Declare.
21439 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21440 (dired-add-entry): Remove unused variable `orig-file-name'.
21441 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21442 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21443 `dired-copy-preserve-time' directly.
21444 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21445 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21446
21447 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21448 (dired-virtual-revert, dired-make-relative-symlink):
21449 Mark unused parameters.
21450 (manual-program): Declare.
21451 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21452 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21453 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21454
21455 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21456
21457 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21458
21459 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21460 Declare.
21461
21462 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21463
21464 * electric.el (Electric-command-loop): Rename parameter
21465 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21466
21467 * expand.el (expand-in-literal): Remove unused variable `here'.
21468
21469 * facemenu.el (facemenu-add-new-color):
21470 Remove unused variable `docstring'.
21471
21472 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21473 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21474 (face-attr-construct): Mark unused parameter. Doc fix.
21475 (read-color): Remove unused variable `hex-string'.
21476
21477 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21478 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21479 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21480 (display-buffer-other-frame): Remove unused variable `old-window'.
21481 (kill-buffer-hook): Declare.
21482 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21483 Mark unused parameters.
21484 (after-find-file): Pass 1 to `auto-save-mode', not t.
21485
21486 * files-x.el (auto-insert): Declare.
21487 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21488
21489 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21490 variable `buf'. Mark unused parameter.
21491 (find-lisp-insert-directory): Mark unused parameter.
21492
21493 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21494 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21495 (format-common-tail): Remove, unused.
21496 (format-deannotate-region): Remove unused variable `loc'.
21497 (format-annotate-region): Remove unused variable `p'.
21498 (format-annotate-single-property-change): Remove unused variables
21499 `default' and `tail'.
21500
21501 * forms.el (read-file-filter): Declare.
21502 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21503
21504 * frame.el (frame-creation-function-alist): Mark unused parameter.
21505 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21506
21507 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21508 Remove unused parameters.
21509 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21510 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21511
21512 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21513 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21514 (hfy-prepare-tag-map): Mark unused parameters.
21515 (htmlfontify-buffer): Use `called-interactively-p'.
21516
21517 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21518 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21519 (ibuffer-do-occur): Mark unused parameters.
21520 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21521 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21522
21523 * ibuffer.el: Don't quote `lambda'.
21524 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21525 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21526 Mark unused parameters.
21527
21528 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21529 (ido-completing-read): Mark unused parameters.
21530 (ido-copy-current-word): Mark unused parameters;
21531 remove unused variable `name'.
21532 (ido-sort-merged-list): Remove unused parameter `dirs'.
21533
21534 * ielm.el (ielm-input-sender): Mark unused parameter.
21535 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21536 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21537 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21538 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21539 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21540
21541 * image-dired.el (image-dired-display-thumbs): Remove unused
21542 variables `curr-file' and `count'.
21543 (image-dired-remove-tag): Remove unused variable `start'.
21544 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21545 variable `curr-file'
21546 (image-dired-rotate-original): Remove unused variable `temp-file'.
21547 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21548 Remove unused variable `file'.
21549 (image-dired-gallery-generate): Remove unused variable `curr'.
21550 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21551
21552 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21553
21554 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21555
21556 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21557
21558 * isearch.el (minibuffer-history-symbol): Declare.
21559 (isearch-edit-string): Remove unused variable `err'.
21560 (isearch-message-prefix, isearch-message-suffix):
21561 Mark unused parameters.
21562
21563 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21564
21565 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21566
21567 * makesum.el (double-column): Remove unused variable `cnt'.
21568
21569 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21570 (ido-ignore-item-temp-list): Declare.
21571
21572 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21573 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21574 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21575 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21576 `mouse-col-delta'.
21577
21578 * mouse-sel.el (mouse-extend-internal):
21579 Remove unused variable `orig-window-frame'.
21580
21581 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21582 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21583 Move declarations before first use.
21584 (pcomplete-opt): Mark unused parameters; doc fix.
21585
21586 * proced.el (proced-revert): Mark unused parameter.
21587 (proced-send-signal): Remove unused variable `err'.
21588
21589 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21590 Rename parameter PREFIX-ARG to ARG.
21591 (ps-basic-plot-string, ps-basic-plot-whitespace):
21592 Mark unused parameters.
21593
21594 * replace.el (replace-count): Define.
21595 (occur-revert-function): Mark unused parameters.
21596 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21597 (isearch-case-fold-search, isearch-string): Declare.
21598 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21599 bind `case-fold-search'. Remove unused variables `beg' and `end',
21600 and simplify.
21601 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21602 COUNT and bind `replace-count'.
21603 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21604 to COUNT.
21605
21606 * savehist.el (print-readably, print-string-length): Declare.
21607
21608 * shadowfile.el (shadow-expand-cluster-in-file-name):
21609 Remove unused variable `cluster'.
21610 (shadow-copy-file): Remove unused variable `i'.
21611 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21612 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21613 (shadow-define-literal-group, shadow-define-regexp-group)
21614 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21615
21616 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21617 (shell): Use `called-interactively-p'.
21618 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21619
21620 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21621 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21622 (delete-backward-char): Remove unused variable `ocol'.
21623 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21624 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21625 (event-apply-hyper-modifier, event-apply-shift-modifier)
21626 (event-apply-control-modifier, event-apply-meta-modifier):
21627 Mark unused parameters.
21628 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21629 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21630
21631 * speedbar.el (speedbar-ignored-directory-expressions)
21632 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21633 (speedbar-find-file, speedbar-dir-follow)
21634 (speedbar-directory-buttons-follow, speedbar-tag-find)
21635 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21636 (speedbar-buffers-line-directory, speedbar-buffer-click):
21637 Mark unused parameters.
21638 (speedbar-tag-file): Remove unused variable `mode'.
21639 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21640
21641 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21642
21643 * talk.el (talk): Remove unused variable `display'.
21644
21645 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21646 (tar-write-region-annotate): Mark unused parameter.
21647
21648 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21649 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21650 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21651 warning by another.
21652
21653 * time-stamp.el (time-stamp-string-preprocess):
21654 Remove unused variable `require-padding'.
21655
21656 * tree-widget.el (widget-glyph-enable): Declare.
21657 (tree-widget-action): Mark unused parameter.
21658
21659 * w32-fns.el (x-get-selection): Mark unused parameter.
21660 (autoload-make-program, generated-autoload-file): Declare.
21661
21662 * wdired.el (wdired-revert): Mark unused parameters.
21663 (wdired-xcase-word): Remove unused variable `err'.
21664
21665 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21666 (whitespace-help-scroll): Remove unused variable `data-help'.
21667
21668 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21669 (widget-image-insert, widget-after-change, default)
21670 (widget-default-format-handler, widget-default-notify)
21671 (widget-default-prompt-value, widget-info-link-action)
21672 (widget-url-link-action, widget-function-link-action)
21673 (widget-variable-link-action, widget-file-link-action)
21674 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21675 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21676 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21677 (widget-insert-button-action, widget-delete-button-action, visibility)
21678 (widget-documentation-link-action, widget-documentation-string-action)
21679 (widget-const-prompt-value, widget-regexp-match, symbol)
21680 (widget-coding-system-prompt-value)
21681 (widget-key-sequence-value-to-external, sexp)
21682 (widget-sexp-value-to-internal, character, vector, cons)
21683 (widget-choice-prompt-value, widget-boolean-prompt-value)
21684 (widget-color--choose-action): Mark unused parameters.
21685 (widget-item-match-inline, widget-choice-match-inline)
21686 (widget-checklist-match, widget-checklist-match-inline)
21687 (widget-group-match): Rename parameter VALUES to VALS.
21688 (widget-field-value-set): Remove unused variable `size'.
21689 (widget-color-action): Remove unused variables `value' and `start'.
21690
21691 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21692 variable `dir'. Doc fix.
21693 (windmove-find-other-window): Don't pass it.
21694
21695 * window.el (count-windows): Mark unused parameter.
21696 (bw-adjust-window): Remove unused variable `err'.
21697
21698 * woman.el (woman-file-name): Remove unused variable `default'.
21699 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21700 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21701 (global-font-lock-mode): Declare.
21702 (woman-decode-region): Mark unused parameter.
21703 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21704
21705 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21706 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21707 (x-dnd-handle-moz-url): Remove unused variable `title'.
21708 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21709
21710 * xml.el (xml-parse-tag, xml-parse-attlist):
21711 Remove unused variable `pos'.
21712
21713 2011-04-19 Glenn Morris <rgm@gnu.org>
21714
21715 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21716 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21717 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21718 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21719 * calendar/cal-html.el (cal-html-insert-minical):
21720 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21721 (calendar-mark-date-pattern):
21722 Prefix "unused" locals.
21723
21724 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21725 optional argument `style'.
21726
21727 * calendar/appt.el (appt-make-list):
21728 * calendar/cal-china.el (calendar-chinese-date-string):
21729 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21730 (diary-hebrew-yahrzeit):
21731 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21732 * calendar/calendar.el (calendar-generate-window):
21733 * calendar/time-date.el (time-to-days):
21734 Remove unused local variables.
21735
21736 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21737
21738 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21739 glyphless-char-display table.
21740 (tabulated-list-glyphless-char-display): New var.
21741
21742 2011-04-18 Sam Steingold <sds@gnu.org>
21743
21744 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21745 to acknowledgments.
21746
21747 2011-04-17 Glenn Morris <rgm@gnu.org>
21748
21749 * calendar/diary-lib.el (diary-sexp-entry):
21750 * calendar/holidays.el (holiday-sexp):
21751 Set debug-on-error rather than the removed stack-trace-on-error.
21752
21753 2011-04-16 Glenn Morris <rgm@gnu.org>
21754
21755 * progmodes/f90.el: Use lexical-binding.
21756 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21757
21758 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21759
21760 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21761 (mail-mode): Setup mailalias completion here instead.
21762 * mail/mailalias.el: Use lexical-binding.
21763 (pattern, mailalias-done): Declare dynamic.
21764 (mail-completion-at-point-function): New function, from mail-complete.
21765 (mail-complete): Use it.
21766 (mail-completion-expand): New function.
21767 (mail-get-names): Use it.
21768 (mail-directory, mail-directory-process, mail-directory-stream):
21769 Don't use `pattern' for lexically bound arg.
21770
21771 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21772
21773 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21774 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21775 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21776
21777 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21778 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21779 (byte-interactive-p): Define them again, for use when inlining
21780 old code.
21781
21782 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21783
21784 * loadup.el: Use `string-to-number', not `string-to-int'.
21785
21786 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21787
21788 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21789 gud-gdb-complete-command.
21790 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21791 (gud-gdb-completion-at-point): New function.
21792 (gud-gdb-completions): Remove.
21793
21794 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21795
21796 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21797 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21798 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21799 whether `executable-find' is bound.
21800
21801 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21802
21803 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21804
21805 * minibuffer.el (completion-in-region-mode-predicate)
21806 (completion-in-region-mode--predicate): New vars.
21807 (completion-in-region, completion-in-region--postch)
21808 (completion-in-region-mode): Use them.
21809 (completion--capf-wrapper): Also return the hook function.
21810 (completion-at-point, completion-help-at-point):
21811 Adjust and provide a predicate.
21812
21813 Preserve arg names for advice of subr and lexical functions (bug#8457).
21814 * help-fns.el (help-function-arglist): Consolidate the subr and
21815 new-byte-code cases. Add argument `preserve-names' to extract names
21816 from the docstring when needed.
21817 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21818 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21819 (ad-arglist): Use help-function-arglist's new arg.
21820 (ad-definition-type): Use cond.
21821
21822 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21823
21824 * autorevert.el (auto-revert-handler):
21825 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21826 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21827 Don't quote lambda.
21828
21829 * image-mode.el (image-transform-set-scale):
21830 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21831
21832 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21833
21834 * net/network-stream.el (network-stream-open-starttls): Only do
21835 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21836 Upgrades via gnutls-cli are too slow to be done opportunistically.
21837
21838 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21839
21840 * dframe.el (dframe-current-frame): Remove spurious quote.
21841
21842 2011-04-12 Glenn Morris <rgm@gnu.org>
21843
21844 * calendar/cal-tex.el (cal-tex-end-document):
21845 Try to automatically use latin1 input if needed.
21846
21847 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21848 Don't try to cons a mark onto an empty element.
21849
21850 2011-04-11 Leo Liu <sdl.web@gmail.com>
21851
21852 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21853 buffers.
21854 (ido-kill-buffer-at-head): Support killing virtual buffers.
21855
21856 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21857
21858 * minibuffer.el (completion-show-inline-help): New var.
21859 (completion--do-completion, minibuffer-complete)
21860 (minibuffer-force-complete, minibuffer-complete-word):
21861 Inhibit minibuffer messages if completion-show-inline-help is nil.
21862
21863 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21864 to avoid interference from inline help (Bug#5849).
21865
21866 2011-04-10 Leo Liu <sdl.web@gmail.com>
21867
21868 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21869 Fix typo.
21870
21871 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21872
21873 * image-mode.el (image-toggle-display-image): Signal an error if
21874 not in Image mode.
21875 (image-transform-mode, image-transform-resize)
21876 (image-transform-set-rotation): Doc fix.
21877 (image-transform-set-resize): Delete.
21878 (image-transform-set-scale, image-transform-fit-to-height)
21879 (image-transform-fit-to-width): Handle image-toggle-display-image
21880 and image-transform-resize directly.
21881
21882 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21883
21884 * doc-view.el (doc-view-fit-width-to-window)
21885 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21886 New functions for fitting the shown image to the Emacs window size.
21887 (doc-view-mode-map): Add bindings for the new functions.
21888
21889 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21890
21891 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21892 Fix typo in docstring.
21893
21894 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21895
21896 * files.el (file-size-human-readable): Produce one digit after
21897 decimal, like "ls -lh" does.
21898
21899 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21900 the file size representation.
21901
21902 * simple.el (list-processes): If async subprocesses are not
21903 available, error out with a clear error message.
21904
21905 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21906
21907 * help.el (help-form-show): New function, to be called from C.
21908 Put help-form output in a buffer named differently than *Help*.
21909
21910 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21911
21912 * files.el (file-size-human-readable): New function.
21913
21914 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21915 computing the representation inline. Don't require `cl'.
21916
21917 2011-04-08 Glenn Morris <rgm@gnu.org>
21918
21919 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21920
21921 * net/browse-url.el (browse-url-firefox):
21922 Test system-type, not system-configuration.
21923
21924 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21925 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21926 Use log-edit-empty-buffer-p. (Bug#7598)
21927
21928 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21929 (rlogin-mode-map): Initialize in the defvar.
21930 (rlogin): Use ignore-errors.
21931
21932 * replace.el (occur-mode-map): Some fixes for menu items.
21933
21934 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21935
21936 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21937
21938 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21939
21940 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21941 issuing unused warnings.
21942
21943 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21944 macro directly.
21945
21946 * simple.el: Lisp reimplement of list-processes. Based on an
21947 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21948 (process-menu-mode): New major mode.
21949 (list-processes--refresh, list-processes):
21950 (process-menu-visit-buffer): New functions.
21951
21952 * files.el (save-buffers-kill-emacs): Don't assume any return
21953 value of list-processes, which is undocumented anyway.
21954
21955 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21956
21957 * emacs-lisp/tabulated-list.el: New file.
21958
21959 * emacs-lisp/package.el: Use Tabulated List mode.
21960 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21961 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21962 table format using Tabulated List mode variables.
21963 (package--push): New macro, replacing package-list-maybe-add.
21964 (package-menu--generate): Use package--push. Renamed from
21965 package--generate-package-list.
21966 (package-menu-refresh, list-packages): Use it.
21967 (package-menu--print-info): Rename from package-print-package.
21968 Return insertion data instead of inserting it directly.
21969 (package-menu-describe-package, package-menu-execute):
21970 Use tabulated-list-get-id.
21971 (package-menu-mark-delete, package-menu-mark-install)
21972 (package-menu-mark-unmark, package-menu-backup-unmark)
21973 (package-menu-mark-obsolete-for-deletion):
21974 Use tabulated-list-put-tag.
21975 (package--list-packages, package-menu-revert)
21976 (package-menu-get-package, package-menu-get-version)
21977 (package-menu-sort-by-column): Functions deleted.
21978 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21979 (package-menu--status-predicate, package-menu--version-predicate)
21980 (package-menu--name-predicate)
21981 (package-menu--description-predicate): Handle arguments in the
21982 Tabulated List format.
21983 (package-list-packages-no-fetch): Call list-packages.
21984
21985 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21986
21987 * files.el (after-find-file-from-revert-buffer): Remove variable.
21988 (after-find-file): Don't bind it.
21989 (revert-buffer-in-progress-p): New variable.
21990 (revert-buffer): Bind it.
21991 Pass nil for `after-find-file-from-revert-buffer'.
21992
21993 * saveplace.el (save-place-find-file-hook): Use new variable
21994 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21995
21996 2011-04-06 Glenn Morris <rgm@gnu.org>
21997
21998 * Makefile.in (AUTOGEN_VCS): New variable.
21999 (autoloads): Use $AUTOGEN_VCS.
22000
22001 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
22002 * calendar/calendar.el (calendar-mode-map):
22003 Check for toolkit scroll bars. (Bug#8305)
22004
22005 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22006
22007 * minibuffer.el (completion-in-region--postch)
22008 (completion-in-region-mode): Remove unnecessary messages.
22009
22010 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
22011
22012 * font-lock.el (font-lock-refresh-defaults):
22013 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
22014 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
22015
22016 * info.el (Info-directory-list, Info-read-node-name-2)
22017 (Info-split-parameter-string): Doc fixes.
22018 (Info-virtual-nodes): Reflow docstring.
22019 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
22020 (Info-apropos-toc-nodes, info-finder, Info-get-token)
22021 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
22022 Fix typos in docstrings.
22023 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
22024 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
22025 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
22026 (Info-restore-desktop-buffer): Mark unused parameters.
22027 (Info-directory-find-file, Info-directory-find-node)
22028 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
22029 (Info-virtual-index-find-node, Info-apropos-find-file)
22030 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
22031 Mark unused parameters; fix typos in docstrings.
22032 (Info-virtual-index): Remove unused local variable `nodename'.
22033
22034 2011-04-05 Deniz Dogan <deniz@dogan.se>
22035
22036 * net/rcirc.el: Update my e-mail address.
22037 (rcirc-mode-map): Remove M-o binding.
22038
22039 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
22040
22041 * startup.el (command-line): Save the cursor's theme-face
22042 directly, instead of using face-override-spec.
22043
22044 * custom.el (load-theme): Minor optimization in assigning faces.
22045
22046 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22047
22048 * help-fns.el (describe-variable): Complete all variables having
22049 documentation, including keywords.
22050 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
22051
22052 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
22053
22054 Convert to lexical-binding.
22055
22056 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
22057 (bs--get-marked-string, bs--get-modified-string)
22058 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
22059 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
22060 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
22061
22062 * ehelp.el (electric-help-execute-extended)
22063 (electric-help-ctrl-x-prefix):
22064 * hexl.el (hexl-revert-buffer-function):
22065 * linum.el (linum-after-change, linum-after-scroll):
22066 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
22067
22068 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
22069
22070 2011-04-04 Daiki Ueno <ueno@unixuser.org>
22071
22072 * epa-dired.el:
22073 * epa-mail.el:
22074 * epa-hook.el:
22075 * epa-file.el:
22076 * epa.el:
22077 * epg.el: Use lexical binding.
22078
22079 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
22080
22081 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
22082
22083 * textmodes/flyspell.el (flyspell-word): Recognize default
22084 dictionary case for flyspell-mark-duplications-exceptions.
22085 Use regexp matching for languages.
22086 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
22087 default dictionary (Bug#7926).
22088
22089 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
22090
22091 * emacs-lisp/package.el (package--with-work-buffer):
22092 Recognize https URLs.
22093
22094 * net/network-stream.el: Move from gnus/proto-stream.el.
22095 Change prefix to network-stream throughout.
22096 (open-protocol-stream): Merge into open-network-stream, leaving
22097 open-protocol-stream as an alias. Handle nil BUFFER args.
22098
22099 * subr.el (open-network-stream): Move to net/network-stream.el.
22100
22101 2011-04-02 Glenn Morris <rgm@gnu.org>
22102
22103 * find-dired.el (find-exec-terminator): New option.
22104 (find-ls-option): Test for -ls support.
22105 (find-ls-subdir-switches): Test for -b in find-ls-option.
22106 (find-dired, find-grep-dired): Doc fixes.
22107 (find-dired): Use find-exec-terminator.
22108
22109 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22110 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22111 (find-name-arg): Remove purecopy.
22112
22113 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22114 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22115 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22116 accordingly. Don't add the null-device if not needed.
22117
22118 * files.el (save-some-buffers): Doc fix.
22119
22120 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22121
22122 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22123
22124 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22125
22126 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22127 Use `dolist' rather than `mapcar'.
22128
22129 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22130
22131 Add lexical binding.
22132
22133 * subr.el (apply-partially): Use new closures rather than CL.
22134 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22135 (dolist, dotimes): Use slightly different expansion for lexical code.
22136 (functionp): Move to C.
22137 (letrec): New macro.
22138 (with-wrapper-hook): Use it and apply-partially instead of CL.
22139 (eval-after-load): Preserve lexical-binding.
22140 (save-window-excursion, with-output-to-temp-buffer): Turn them
22141 into macros.
22142
22143 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22144
22145 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22146 than the arglist.
22147 (help-add-fundoc-usage): Don't add `Not documented'.
22148 (help-function-arglist): Handle closures, subroutines, and new
22149 byte-code-functions.
22150 (help-make-usage): Remove leading underscores.
22151 (describe-function-1): Handle closures.
22152 (describe-variable): Use special-variable-p for completion.
22153
22154 * files.el (lexical-binding): Declare safe.
22155
22156 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22157 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22158 (pcase): Add `let' pattern.
22159 Change memoization so it actually works.
22160 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22161 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22162 <let>: New case.
22163
22164 * emacs-lisp/macroexp.el: Use lexical binding.
22165 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22166 Don't convert ' to #' without checking that it's indeed quoting
22167 a lambda.
22168
22169 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22170 Use eval-sexp-add-defvars.
22171 (eval-sexp-add-defvars): New fun.
22172
22173 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22174
22175 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22176 Don't autoload.
22177 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22178 than the internal `byte-compile-lambda'.
22179 (defmethod): Don't hide code under quotes.
22180 (eieio-defmethod): New `code' argument.
22181
22182 * emacs-lisp/eieio-comp.el: Remove.
22183
22184 * emacs-lisp/edebug.el (edebug-eval-defun)
22185 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22186 (edebug-toggle): Avoid `eval'.
22187
22188 * emacs-lisp/disass.el (disassemble-internal): Handle new
22189 `closure' objects.
22190 (disassemble-1): Handle new byte codes.
22191
22192 * emacs-lisp/cl.el (pushnew): Silence warning.
22193
22194 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22195 (cl-byte-compile-throw): Remove.
22196 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22197
22198 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22199 closures.
22200
22201 * emacs-lisp/cconv.el: New file.
22202
22203 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22204 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22205 (byte-compile-initial-macro-environment):
22206 Handle declare-function here.
22207 (byte-compile--lexical-environment): New var.
22208 (byte-stack-ref, byte-stack-set, byte-discardN)
22209 (byte-discardN-preserve-tos): New lap codes.
22210 (byte-interactive-p): Don't use any more.
22211 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22212 New macros.
22213 (byte-compile-lapcode): Use them and handle new lap codes.
22214 (byte-compile-obsolete): Remove.
22215 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22216 (byte-compile-arglist-warn): Check late def of inlinable funs.
22217 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22218 since they should have been expanded by now.
22219 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22220 (byte-compile-from-buffer): Remove unused second arg.
22221 (byte-compile-preprocess): New function.
22222 (byte-compile-toplevel-file-form): New function to distinguish
22223 file-form calls from outside from file-form calls from hunk-handlers.
22224 (byte-compile-file-form): Simplify.
22225 (byte-compile-file-form-defsubst): Remove.
22226 (byte-compile-file-form-defmumble): Simplify now that
22227 byte-compile-lambda always returns a byte-code-function.
22228 (byte-compile): Preprocess.
22229 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22230 Remove, not used any more.
22231 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22232 (byte-compile-make-args-desc): New funs.
22233 (byte-compile-lambda): Handle lexical functions. Always return
22234 a byte-code-function.
22235 (byte-compile-reserved-constants): New var, to make up room for
22236 closed-over variables.
22237 (byte-compile-constants-vector): Obey it.
22238 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22239 (byte-compile-macroexpand-declare-function): New function.
22240 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22241 byte-code-functions.
22242 (byte-compile-form): Check obsolescence here.
22243 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22244 (byte-compile-variable-ref): Remove.
22245 (byte-compile-dynamic-variable-op): New fun.
22246 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22247 (byte-compile-variable-set): New funs.
22248 (byte-compile-discard): Add 2 args.
22249 (byte-compile-stack-ref, byte-compile-stack-set)
22250 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22251 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22252 macroexpand-all instead.
22253 (byte-compile-quote-form): Remove.
22254 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22255 (byte-compile-bind, byte-compile-unbind): New funs.
22256 (byte-compile-let): Handle let* and lexical binding.
22257 (byte-compile-let*): Remove.
22258 (byte-compile-catch, byte-compile-unwind-protect)
22259 (byte-compile-track-mouse, byte-compile-condition-case):
22260 Handle a new :fun-body form, used for lexical scoping.
22261 (byte-compile-save-window-excursion)
22262 (byte-compile-with-output-to-temp-buffer): Remove.
22263 (byte-compile-defun): Simplify.
22264 (byte-compile-stack-adjustment): New fun.
22265 (byte-compile-out): Use it.
22266 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22267
22268 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22269 handler any more.
22270
22271 * emacs-lisp/byte-opt.el: Use lexical binding.
22272 (byte-inline-lapcode): Remove (to bytecomp).
22273 (byte-compile-inline-expand): Pay attention to inlining to/from
22274 lexically bound code.
22275 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22276 any more.
22277 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22278 any more and don't call compiler-macros.
22279 (byte-compile-splice-in-already-compiled-code): Remove.
22280 (byte-code): Don't inline any more.
22281 (disassemble-offset): Receive `bytes' as argument rather than via
22282 dynamic scoping.
22283 (byte-compile-tag-number): Declare before first use.
22284 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22285 `return' even if make-spliceable.
22286 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22287 obsolete interactive-p.
22288 (byte-optimize-lapcode): Optimize new lap-codes.
22289 Don't trip up on new form of `byte-constant' lap code.
22290
22291 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22292
22293 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22294
22295 * custom.el (custom-initialize-default, custom-declare-variable):
22296 Use `defvar'.
22297
22298 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22299 New variables.
22300 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22301 (COMPILE_FIRST): Add macroexp and cconv.
22302 * makefile.w32-in: Mirror changes in Makefile.in.
22303
22304 * vc/cvs-status.el:
22305 * vc/diff-mode.el:
22306 * vc/log-edit.el:
22307 * vc/log-view.el:
22308 * vc/smerge-mode.el:
22309 * textmodes/bibtex-style.el:
22310 * textmodes/css-mode.el:
22311 * startup.el:
22312 * uniquify.el:
22313 * minibuffer.el:
22314 * newcomment.el:
22315 * reveal.el:
22316 * server.el:
22317 * mpc.el:
22318 * emacs-lisp/smie.el:
22319 * doc-view.el:
22320 * dired.el:
22321 * abbrev.el: Use lexical binding.
22322
22323 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22324
22325 * info.el (info-display-manual): New function.
22326
22327 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22328
22329 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22330
22331 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22332
22333 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22334 an entry for that server in rcirc-authinfo. (Bug#8385)
22335
22336 2011-03-31 Glenn Morris <rgm@gnu.org>
22337
22338 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22339
22340 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22341
22342 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22343
22344 * progmodes/python.el (python-default-interpreter)
22345 (python-python-command-args, python-jython-command-args)
22346 (python-which-shell, python-which-args, python-which-bufname)
22347 (python-file-queue, python-comint-output-filter-function)
22348 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22349 variables and functions.
22350
22351 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22352
22353 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22354 (completion-in-region-mode): New minor mode.
22355 (completion-in-region): Use it.
22356 (completion-in-region--data, completion-in-region-mode-map): New vars.
22357 (completion-in-region--postch): New function.
22358 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22359 New vars.
22360 (completion--capf-wrapper): New function.
22361 (completion-at-point): Use it to track well-behavedness of
22362 hook functions.
22363 (completion-help-at-point): New command.
22364
22365 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22366
22367 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22368 syntax class to search for whitespace on a single line
22369 (Message-ID: <4D938140.4030905@redhat.com>).
22370
22371 2011-03-30 Leo Liu <sdl.web@gmail.com>
22372
22373 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22374 New commands.
22375 (edit-abbrevs-map): Bind them here.
22376 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22377
22378 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22379
22380 * allout.el (allout-hide-by-annotation, allout-flag-region):
22381 Reduce possibility of overlay leakage by making them volatile.
22382
22383 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22384 hash is not shared between buffers. Mode initialization is
22385 responsible for giving it a useful starting value.
22386 (allout-item-span): Reduce possibility of overlay leakage by
22387 making them volatile.
22388 (allout-widgets-count-buttons-in-region): Add diagnostic function
22389 for tracking down button overlay leaks.
22390
22391 2011-03-29 Leo Liu <sdl.web@gmail.com>
22392
22393 * ido.el (ido-read-internal): Use the default history var
22394 minibuffer-history if no HISTORY is specified.
22395
22396 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22397
22398 * net/imap.el (imap-shell-open, imap-process-connection-type):
22399 Use imap-process-connection-type for 'shell' streams as well as
22400 Kerberos, SSL, other subprocesses.
22401
22402 2011-03-28 Leo Liu <sdl.web@gmail.com>
22403
22404 * abbrev.el (abbrev-table-empty-p): New function.
22405 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22406 nonempty ones. (Bug#5937)
22407
22408 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22409
22410 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22411
22412 2011-03-27 Leo Liu <sdl.web@gmail.com>
22413
22414 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22415 for foreground and background colors.
22416 (ansi-color-make-color-map): Adapt.
22417
22418 2011-03-25 Leo Liu <sdl.web@gmail.com>
22419
22420 * midnight.el (midnight-time-float): Remove. Note it calculates
22421 the microsecond component incorrectly and seconds-to-time does the
22422 same job.
22423 Remove redundant (require 'timer).
22424
22425 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22426 (ido-completions): Remove unused arguments. (Bug#8329)
22427
22428 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22429
22430 * minibuffer.el (completion--flush-all-sorted-completions):
22431 Remove itself from hook.
22432 (completion-at-point): Let the functions perform the completion
22433 immediately and return nil or t.
22434 * comint.el (comint-dynamic-complete-functions): Now identical to
22435 completion-at-point-functions.
22436 (comint-dynamic-list-input-ring): Remove unused var `index'.
22437 (comint--match-partial-filename, comint--unquote&expand-filename):
22438 New funs, split from comint-match-partial-filename.
22439 (comint-dynamic-complete): Use completion-at-point.
22440 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22441
22442 2011-03-24 Drew Adams <drew.adams@oracle.com>
22443
22444 * thingatpt.el: Support `defun'.
22445
22446 2011-03-23 Leo Liu <sdl.web@gmail.com>
22447
22448 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22449
22450 * help-mode.el (help-mode-finish): Tweak regexp.
22451
22452 2011-03-23 Glenn Morris <rgm@gnu.org>
22453
22454 * eshell/esh-opt.el (eshell-eval-using-options):
22455 Do not bind unused local variable `eshell-option-stub'.
22456
22457 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22458
22459 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22460
22461 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22462 keymap variable in `with-no-warnings' to avoid a warning when the
22463 keymap has been already `defconst'ed.
22464
22465 2011-03-22 Leo Liu <sdl.web@gmail.com>
22466
22467 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22468 encode all chars in abbrevs; otherwise use emacs-mule or
22469 utf-8-emacs. (Bug#8308)
22470
22471 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22472
22473 * simple.el (backward-delete-char-untabify):
22474 Avoid warning about using `delete-backward-char'.
22475
22476 * image.el (image-type-file-name-regexps): Make it variable.
22477 `imagemagick-register-types' modifies it, and the user may want
22478 to add new extensions for known image types.
22479 (imagemagick-register-types): Throw error if not using ImageMagick.
22480
22481 2011-03-22 Leo Liu <sdl.web@gmail.com>
22482
22483 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22484 located before rcirc-prompt-end-marker.
22485 (rcirc-complete): Error if point is not after rcirc prompt.
22486 Handle the case when table is nil.
22487 (rcirc-user-authenticated): Define to fix compiler warning.
22488
22489 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22490
22491 * custom.el (custom--inhibit-theme-enable): Make it affect only
22492 custom-theme-set-variables and custom-theme-set-faces.
22493 (provide-theme): Ignore custom--inhibit-theme-enable.
22494 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22495 (custom-enabling-themes): Delete variable.
22496 (enable-theme): Accept only loaded themes as arguments.
22497 Ignore the special custom-enabled-themes variable.
22498 (custom-enabled-themes): Forbid themes from setting this.
22499 Eliminate use of custom-enabling-themes.
22500 (custom-push-theme): Quote "changed" custom var entry.
22501
22502 2011-03-21 Leo Liu <sdl.web@gmail.com>
22503
22504 * ido.el (ido-read-internal): Add ido-selected to history instead
22505 of user input.
22506
22507 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22508
22509 * subr.el (deferred-action-list, deferred-action-function):
22510 Mark obsolete.
22511
22512 2011-03-21 Leo Liu <sdl.web@gmail.com>
22513
22514 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22515 change on 2011-02-13 (bug#8309).
22516
22517 * minibuffer.el (read-file-name-function): Change default value.
22518 (read-file-name--defaults): Rename from read-file-name-defaults.
22519 (read-file-name-default): Rename from read-file-name.
22520 (read-file-name): Call read-file-name-function.
22521
22522 2011-03-21 Glenn Morris <rgm@gnu.org>
22523
22524 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22525 Doc fixes.
22526
22527 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22528
22529 * cus-theme.el: Add missing provide statement.
22530 (customize-create-theme): Extract theme value correctly.
22531 (custom-theme-visit-theme): Autoload.
22532 (customize-create-theme): Prompt before inserting default faces.
22533
22534 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22535
22536 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22537 units and musical notes.
22538
22539 2011-03-20 Leo Liu <sdl.web@gmail.com>
22540
22541 * ido.el (ido-read-internal): Use completing-read-default.
22542 (ido-completing-read): Fix compatibility with completing-read.
22543
22544 2011-03-20 Christian Ohler <ohler@gnu.org>
22545
22546 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22547 (ert-delete-all-tests): Use `called-interactively-p' rather than
22548 `interactive-p'.
22549 (ert--make-xrefs-region): Respect END.
22550
22551 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22552
22553 * dired-aux.el (dired-create-directory): Signal an error if the
22554 directory already exists (Bug#8246).
22555
22556 * facemenu.el (list-colors-display): Call list-faces-display
22557 inside with-help-window.
22558 (list-colors-print): Use display property to align the final
22559 column, instead of checking window-width.
22560
22561 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22562
22563 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22564 windows-nt systems.
22565 (emerge-protect-metachars): Quote correctly for ms-dos and
22566 windows-nt systems.
22567
22568 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22569
22570 * info.el (info-initialize): Replace all uses of `:' with
22571 path-separator for compatibility with non-Unix systems.
22572 Cache quoting of path-separator. (Bug#8258)
22573
22574 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22575
22576 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22577 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22578 (mouse-avoidance-mode): Fix typos in docstrings.
22579
22580 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22581
22582 * startup.el (package-subdirectory-regexp): Move from package.el.
22583 Omit \\` and \\', and let callers add them.
22584
22585 * emacs-lisp/package.el (package-strip-version)
22586 (package-load-all-descriptors): Add \\` and \\' to
22587 package-subdirectory-regexp before using it.
22588 (package-untar-buffer): New arg DIR; ensure that file untars only
22589 into this expected directory. Remove superfluous delete-region.
22590 (package-unpack): Caller changed.
22591 (package-tar-file-info): Use package-subdirectory-regexp.
22592
22593 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22594
22595 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22596 diff-mode-shared-map (bug#8284).
22597 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22598
22599 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22600
22601 * calendar/time-date.el (format-seconds): Use assoc instead of
22602 assoc-string, since assoc-string doesn't exist in XEmacs.
22603
22604 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22605
22606 * custom.el (custom-known-themes): Reflow docstring.
22607 (custom-theme-load-path): Fix typo in docstring.
22608 (load-theme): Fix typo in error message.
22609 (custom-available-themes, custom-variable-theme-value):
22610 Use `let', not `let*'.
22611
22612 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22613
22614 * calc/README: Mention inclusion of musical notes.
22615
22616 * calc/calc-units.el (calc-lu-quant): Rename from
22617 `calc-logunits-quantity'.
22618 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22619 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22620 (calc-db): Rename from `calc-dblevel'.
22621 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22622 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22623 (calc-np): Rename from `calc-nplevel'.
22624 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22625 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22626 (calc-lu-plus): Rename from `calc-logunits-add'.
22627 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22628 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22629 (calc-lu-minus): Rename from `calc-logunits-sub'.
22630 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22631 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22632 (calc-lu-times): Rename from `calc-logunits-mul'.
22633 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22634 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22635 (calc-lu-divide): Rename from `calc-logunits-div'.
22636 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22637 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22638
22639 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22640 functions being autoloaded.
22641
22642 * calc/calc.el (calc-lu-power-reference): Rename from
22643 `calc-logunits-power-reference'.
22644 (calc-lu-field-reference): Rename from
22645 `calc-logunits-field-reference'.
22646
22647 * calc/calc-help.el (calc-l-prefix-help):
22648 Mention musical note functions.
22649
22650 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22651
22652 * minibuffer.el (completion-all-sorted-completions):
22653 Use :completion-cycle-penalty text property if present.
22654
22655 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22656
22657 * allout.el (allout-yank-processing): Adjust for new rebulleting
22658 regime so bullet being yanked is used without prompting the user
22659 for a choice.
22660
22661 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22662
22663 * startup.el (command-line): Warn the user that _emacs is deprecated.
22664
22665 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22666
22667 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22668 (delphi-verbose, delphi-comment-face, delphi-string-face)
22669 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22670 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22671 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22672 (delphi-new-comment-line, delphi-font-lock-defaults)
22673 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22674 Fix typos in docstrings.
22675
22676 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22677
22678 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22679 Invert the roles of character and string values for INSTEAD, so a
22680 string is used for the more common case of a defaulting prompt.
22681
22682 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22683
22684 * progmodes/ruby-mode.el (ruby-backward-sexp):
22685 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22686 * play/gamegrid.el (gamegrid-make-face):
22687 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22688 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22689 * notifications.el (notifications-notify):
22690 * net/xesam.el (xesam-search-engines):
22691 * net/quickurl.el (quickurl-list-insert):
22692 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22693
22694 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22695
22696 * startup.el (command-line): Update package subdirectory regexp.
22697
22698 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22699
22700 * allout.el (allout-abbreviate-flattened-numbering)
22701 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22702
22703 * subr.el (read-char-choice): Only show the cursor after the prompt,
22704 not after the answer.
22705
22706 2011-03-15 Kevin Ryde <user42@zip.com.au>
22707
22708 * help-fns.el (variable-at-point): Skip leading quotes, if any
22709 (bug#8253).
22710
22711 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22712
22713 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22714 warning message.
22715
22716 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22717
22718 * shell.el (shell): When called interactively, offer to change the
22719 shell file name on remote hosts.
22720
22721 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22722
22723 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22724 integration for LDAP parameters. The host, base, user or binddn,
22725 and secret tokens can be specified in a netrc file, for instance.
22726 This is optional because an `auth-source' parameter must be
22727 specified in the search attributes.
22728
22729 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22730
22731 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22732
22733 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22734
22735 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22736 into declaration. Remove redundant and harmful binding.
22737
22738 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22739
22740 * files.el (file-ownership-preserved-p): Pass `integer' as an
22741 explicit 2nd argument to `file-attributes'. If the file's owner
22742 is the Administrators group on Windows, and the current user is
22743 Administrator, consider that a match.
22744
22745 * server.el (server-ensure-safe-dir): Consider server directory
22746 safe on MS-Windows if its owner is the Administrators group while
22747 the current Emacs user is Administrator. Use `=' to compare
22748 numerical UIDs, since they could be integers or floats.
22749
22750 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22751
22752 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22753
22754 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22755
22756 Sync with Tramp 2.2.1.
22757
22758 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22759
22760 * net/trampver.el: Update release number.
22761
22762 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22763
22764 * progmodes/compile.el (compilation--previous-directory): Fix up
22765 various nil/dead-marker mismatches (bug#8014).
22766 (compilation-directory-properties, compilation-error-properties):
22767 Don't call it at a position past the one we're about to change.
22768
22769 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22770 Disable obsolescence warnings in the file that declares it.
22771
22772 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22773
22774 * allout-widgets.el (allout-widgets-tally):
22775 Initialize allout-widgets-tally as a hash table rather than nil to
22776 prevent mode-line redisplay warnings. Also, clarify the module
22777 description and fix a comment typo.
22778
22779 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22780
22781 * help-fns.el (describe-variable): Don't complete keywords.
22782 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22783
22784 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22785
22786 * emacs-lisp/package.el (package-version-join): Impose a standard
22787 string representation for pre/alpha/beta version lists.
22788 (package-unpack-single): Standardize the directory name by passing
22789 it through package-version-join.
22790 (package-strip-rcs-id): Accept any version string that does not
22791 signal an error in version-to-list.
22792
22793 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22794
22795 * simple.el (delete-trailing-whitespace): Return nil for the
22796 benefit of `write-file-functions'.
22797
22798 2011-03-10 Glenn Morris <rgm@gnu.org>
22799
22800 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22801
22802 * vc/vc-git.el (vc-git-program): New option.
22803 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22804 (vc-git--call): Use it.
22805
22806 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22807
22808 * cus-edit.el (Custom-newline): If no button at point, look
22809 for a subgroup button at start-of-line. (Bug#2298)
22810
22811 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22812
22813 2011-03-10 Julien Danjou <julien@danjou.info>
22814
22815 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22816 `cursor-type' is nil.
22817
22818 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22819
22820 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22821
22822 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22823
22824 * allout.el: Change so yank of distinctive-bullet items
22825 preserves the existing header prefix, rebulleting it if necessary,
22826 rather than replacing it. This is necessary for proper operation
22827 of cooperative addons like allout-widgets.
22828 (allout-make-topic-prefix, allout-rebullet-heading):
22829 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22830 value as alternate bullet to be used, instead of prompting the user
22831 for a bullet character.
22832
22833 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22834
22835 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22836 Do not use `tramp-file-name-port', because this returns also
22837 `tramp-default-port'.
22838
22839 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22840
22841 * net/rcirc.el (rcirc-handler-001): Remove useless
22842 with-rcirc-process-buffer.
22843 (rcirc-check-auth-status): Swap arguments to string-match.
22844
22845 2011-03-09 Glenn Morris <rgm@gnu.org>
22846
22847 * shell.el (shell-mode):
22848 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22849
22850 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22851 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22852
22853 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22854
22855 * emacs-lisp/package.el (package-refresh-contents)
22856 (package-menu-execute): Use condition-case-no-debug.
22857
22858 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22859
22860 * simple.el (shell-command-to-string): Use `process-file'.
22861
22862 * emacs-lisp/package.el (package-tar-file-info): Handle also
22863 remote files.
22864
22865 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22866 Use `equal' for upload base check.
22867
22868 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22869
22870 * textmodes/texinfo.el (texinfo-environments):
22871 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22872
22873 2011-03-08 Glenn Morris <rgm@gnu.org>
22874
22875 * cus-start.el (cursor-in-non-selected-windows):
22876 Fix :set quoting oddness. (Bug#8192)
22877
22878 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22879 in some setf expressions. (Bug#2159)
22880
22881 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22882
22883 * custom.el (custom-available-themes): Return themes in
22884 alphabetical order.
22885
22886 See ChangeLog.15 for earlier changes.
22887
22888 ;; Local Variables:
22889 ;; coding: utf-8
22890 ;; End:
22891
22892 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22893
22894 This file is part of GNU Emacs.
22895
22896 GNU Emacs is free software: you can redistribute it and/or modify
22897 it under the terms of the GNU General Public License as published by
22898 the Free Software Foundation, either version 3 of the License, or
22899 (at your option) any later version.
22900
22901 GNU Emacs is distributed in the hope that it will be useful,
22902 but WITHOUT ANY WARRANTY; without even the implied warranty of
22903 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22904 GNU General Public License for more details.
22905
22906 You should have received a copy of the GNU General Public License
22907 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.