* lisp/info.el (Info-file-completions): New variable.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-12-27 Juri Linkov <juri@jurta.org>
2
3 * info.el (Info-file-completions): New variable.
4 (Info-read-node-name-1): Complete node names in the Info file
5 when a file name is given. Call `Info-build-node-completions'
6 with a file name.
7 (Info-build-node-completions): Add new arg `file'. When it is
8 non-nil, visit it in a temporary buffer and cache its completions in
9 `Info-current-file-completions'. Move most of the function body to
10 `Info-build-node-completions-1'.
11 (Info-build-node-completions-1): New function with the body from
12 `Info-build-node-completions'. (Bug#12456)
13
14 2012-12-27 Juri Linkov <juri@jurta.org>
15
16 * frame.el (frame-maximization-style): Remove user option.
17 (cycle-frame-maximized): Remove function.
18 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
19 (toggle-frame-fullscreen): New command bound to <f11> instead of
20 `toggle-frame-maximized'.
21 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
22
23 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
24
25 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
26
27 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
28 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
29 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
30 for `file-accessible-directory-p'. (Bug#13275)
31
32 2012-12-27 Sam Steingold <sds@gnu.org>
33
34 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
35 continuations, see <http://stackoverflow.com/questions/3582436>.
36
37 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
38
39 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
40 "module" and "def" to have indentation before them. Regression
41 from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
42
43 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
44
45 2012-12-27 Alan Mackenzie <acm@muc.de>
46
47 Speed up fontification where there's large brace blocks.
48 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
49 to a call of c-beginning-of-decl-1.
50
51 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
52
53 * comint.el (comint-adjust-window-point): New function.
54 (comint-postoutput-scroll-to-bottom): Call
55 comint-adjust-window-point (Bug#13248).
56
57 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
58
59 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
60 Rakefile regexp.
61 (auto-mode-alist): Associate .gemspec files with ruby-mode
62 (https://bugs.ruby-lang.org/issues/5453).
63
64 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
65
66 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. Suppress
67 coloring, if possible (required for BusyBox based systems like
68 CynagenMod).
69 (tramp-adb-handle-file-attributes)
70 (tramp-adb-handle-insert-directory)
71 (tramp-adb-handle-file-name-all-completions): Use it.
72 (tramp-adb-get-toolbox): New defun. Check for remote shell
73 implementation (BusyBox or Toolbox).
74
75 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
76
77 * startup.el (initial-buffer-choice): Allow function as value
78 (Bug#13251).
79 (command-line-1): Handle case where initial-buffer-choice
80 specifies a function.
81 * server.el (server-execute): Handle case where
82 initial-buffer-choice specifies a function.
83
84 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
85
86 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
87 its own function.
88 (smtpmail-try-auth-methods): Forget the user name/password if the
89 login is unsuccessful (bug#12424).
90
91 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
92
93 * notifications.el (notifications-notify): Protect body with
94 `with-demoted-errors'.
95
96 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
97 properties of remote device. Restart connection, if there is a
98 change.
99
100 2012-12-21 Chong Yidong <cyd@gnu.org>
101
102 * sort.el (sort-subr): Doc fix (Bug#13056).
103
104 2012-12-21 Bastien Guerry <bzg@gnu.org>
105
106 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
107
108 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
109
110 * simple.el (process-file): Overwrite stderr file, if exists.
111
112 2012-12-21 Daiki Ueno <ueno@gnu.org>
113
114 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
115 (epg-error): Set `error-message' property.
116
117 2012-12-21 Chong Yidong <cyd@gnu.org>
118
119 * international/mule-cmds.el (read-char-by-name): Signal an error
120 if the user does not supply a valid character (Bug#13177).
121
122 * simple.el (transpose-subr-1): Preserve marker positions by
123 changing the insertion sequence (Bug#13122).
124
125 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
126
127 * simple.el (kill-region): Deactivate mark even for empty regions
128 (Bug#13169).
129
130 2012-12-21 Chong Yidong <cyd@gnu.org>
131
132 * help-fns.el (describe-variable): Make sure we get the right
133 buffer name (Bug#13105). Suggested by Kelly Dean.
134
135 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
136
137 * comint.el (comint-redirect-previous-input-string): New variable.
138 (comint-redirect-setup, comint-redirect-cleanup)
139 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
140 (comint-redirect-preoutput-filter): Fix verbose message.
141
142 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
143
144 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
145 is too long for Tramp. See discussion in
146 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
147
148 * progmodes/compile.el (compilation-start): Remove line escape
149 template.
150
151 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
152
153 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
154 Adjust comment.
155
156 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
157
158 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
159 following non-comment text (bug#13207).
160 (lm-header-multiline): Continuation lines need to be indented more than
161 the first line.
162 (lm-homepage): New function.
163 (lm-with-file): Don't be confused if narrowing is in effect.
164
165 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
166 very beginning of a hunk (e.g. killing the first line).
167
168 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
169
170 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
171 and text properties from returned ACL string.
172 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
173 for "setfacl" command.
174
175 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
176
177 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
178 `tramp-cleanup-this-connection', when the process has died.
179 (Bug#13151)
180
181 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
184
185 2012-12-17 Kevin Ryde <user42@zip.com.au>
186
187 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
188
189 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
190
191 Add support for preserving ACL entries of files.
192
193 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
194 `set-file-acl' handlers.
195
196 * net/tramp-adb.el (tramp-adb-handle-copy-file):
197 Handle PRESERVE-EXTENDED-ATTRIBUTES.
198
199 * net/tramp-compat.el (tramp-compat-copy-file):
200 Handle PRESERVE-EXTENDED-ATTRIBUTES.
201
202 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
203 Add `file-acl' and `set-file-acl' handlers.
204 (tramp-gvfs-handle-copy-file):
205 Handle PRESERVE-EXTENDED-ATTRIBUTES.
206 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
207 New defuns.
208
209 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
210 Add `file-acl' and `set-file-acl' handlers.
211 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
212 (tramp-sh-handle-set-file-acl): New defuns.
213 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
214 Handle PRESERVE-EXTENDED-ATTRIBUTES.
215
216 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
217 Add `file-acl' and `set-file-acl' handlers.
218 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
219
220 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
221
222 * help-macro.el (make-help-screen): Instead of switch-to-buffer
223 use pop-to-buffer with NORECORD argument t. As buffer name, use
224 *Metahelp* with a leading space (Bug#13190).
225
226 2012-12-16 Romain Francoise <romain@orebokech.com>
227
228 * files.el (file-extended-attributes)
229 (set-file-extended-attributes): New functions.
230 (backup-buffer): Use them to handle both SELinux context and ACL
231 entries.
232 (backup-buffer-copy): Work with an alist of extended attributes,
233 rather than an SELinux context.
234 (basic-save-buffer-2): Ditto.
235
236 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
237
238 * battery.el (battery-bsd-apm): New function.
239
240 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
241
242 * calc/calc.el (calc-standard-date-formats): Adjust one of the
243 standard date formats.
244
245 2012-12-15 Juri Linkov <juri@jurta.org>
246
247 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
248 `isearch-insert-char-by-name'.
249 (with-isearch-suspended): New defmacro with body mostly from
250 `isearch-edit-string' except the part that sets
251 `isearch-new-string' and `isearch-new-message'.
252 (isearch-edit-string): Use new macro `with-isearch-suspended' with
253 body that sets `isearch-new-string' and `isearch-new-message'.
254 (isearch-insert-char-by-name): New command.
255 * international/mule-cmds.el (read-char-by-name): Let-bind
256 `enable-recursive-minibuffers' to t.
257 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
258
259 2012-12-15 Juri Linkov <juri@jurta.org>
260
261 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
262 (Bug#13175)
263
264 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
265
266 * dired-x.el (dired-guess-shell-command): Put colon at the end of
267 the prompt. (Bug#13045)
268
269 2012-12-14 Glenn Morris <rgm@gnu.org>
270
271 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
272 Try to include filename in non-bytecomp warning. (Bug#13132)
273
274 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
275
276 Fix permissions bugs with setgid directories etc. (Bug#13125)
277 * files.el (backup-buffer): Don't rely on 9th output of
278 file-attributes, as it's now a placeholder. Instead, use the new
279 optional arg of file-ownership-preserved-p.
280 (file-ownership-preserved-p): New optional arg GROUP.
281 Fix mishandling of setuid directories that would cause this
282 function to return t when it should have returned nil.
283 Document what happens if the file does not exist, and when
284 it's not known whether the ownership will be preserved.
285 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
286 Likewise.
287 (tramp-get-local-gid): Use group-gid for integer, as that's
288 faster and more reliable.
289
290 2012-12-14 Julien Danjou <julien@danjou.info>
291
292 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
293 Update keywords list, data type and PL/pgSQL.
294
295 2012-12-14 Dave Abrahams <dave@boostpro.com>
296
297 * vc/ediff-util.el (ediff-buffer-type): New function.
298 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
299 rather than taking it as as argument.
300 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
301
302 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
303
304 * json.el: Add pretty-print option (bug#12634).
305 (json-encoding-separator, json-encoding-default-indentation)
306 (json--encoding-current-indentation, json-encoding-pretty-print)
307 (json-encoding-lisp-style-closings): New vars.
308 (json--with-indentation): New macro.
309 (json-encode-hash-table, json-encode-alist, json-encode-plist)
310 (json-encode-array): Use it to obey json-encoding-pretty-print.
311 (json-pretty-print-buffer, json-pretty-print): New commands.
312
313 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
314
315 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
316 Extract `ruby-syntax-propertize-expansions'.
317 (ruby-syntax-propertize-expansions): Only change syntax on
318 certain string delimiters, to punctuation. This way the common
319 functions like forward-word and thing-at-point still work.
320 (ruby-match-expression-expansion): Improve readability.
321 (ruby-block-contains-point): New function.
322 (ruby-add-log-current-method): Handle several edge cases.
323
324 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
325
326 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
327 unload-feature finishes even when aborting an ongoing edebug session.
328 Also, do not worry about edebug-mode, unload-feature takes care of it.
329
330 2012-12-13 Andreas Schwab <schwab@suse.de>
331
332 * net/tls.el (tls-program): Update customize type.
333
334 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
335
336 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
337 (edebug-setup-hook, cl-read-load-hooks): Use it.
338 (edebug-unload-function): New function. (Bug#13163)
339
340 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
341
342 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
343 Otherwise, there could be errors in autoloading. (Bug#13151)
344
345 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
346
347 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
348 sequences.
349
350 2012-12-13 Alan Mackenzie <acm@muc.de>
351
352 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
353 * progmodes/cc-engine.el (c-backward-comments): Add code to work
354 around `forward-comment' not recognizing ^M as whitespace.
355
356 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
357
358 * progmodes/python.el (python-skeleton-class)
359 (python-skeleton-def): Do not add space after defun name.
360
361 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
362
363 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
364 (cl--symbol-function): Remove (now that funbound is like nil).
365
366 2012-12-12 Glenn Morris <rgm@gnu.org>
367
368 * button.el (button--area-button-p): Fix typo.
369
370 2012-12-12 Sam Steingold <sds@gnu.org>
371
372 * frame.el (frame-maximization-style): New user option.
373 (toggle-frame-maximized): Toggle frame maximization according to
374 `frame-maximization-style', bound to <f11>.
375 (cycle-frame-maximized): Cycle between all maximization styles and
376 non-maximized frame, bound to shift-<f11>.
377
378 2012-12-12 David Cadé <codename68@gmail.com>
379
380 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
381
382 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
383
384 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
385 (eieio-override-prin1): Don't quote kewords and booleans.
386 (object-write) <eieio-default-superclass>: Don't put closing parens
387 on new line, avoid needless empty lines, align values that are objects
388 with the slot keyword (instead of beginning on the same line).
389 (eieio-list-prin1): Align value with slot keyword; increase
390 eieio-print-depth before printing members of the list.
391
392 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
393
394 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
395 a display text-property.
396 (report-emacs-bug-hook): Don't bother deleting it any more.
397
398 * hilit-chg.el (highlight-save-buffer-state): Delete.
399 Use with-silent-modifications instead.
400 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
401
402 * button.el: Handle buttons in display text-properties.
403 (button--area-button-p, button--area-button-string):
404 Use (STRING . STRING-POS) representation instead of just STRING.
405
406 2012-12-11 Eli Zaretskii <eliz@gnu.org>
407
408 * makefile.w32-in (compile4-SH): Fix a typo that caused term
409 subdirectory be skipped.
410
411 2012-12-11 Glenn Morris <rgm@gnu.org>
412
413 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
414
415 * progmodes/f90.el (f90-line-continued, f90-indent-region):
416 Treat preprocessor lines embedded in continuations like comments.
417 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
418
419 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
420
421 * calc/calc.el (calc-standard-date-formats): Add more date
422 formats.
423 * calc/calc-forms.el (math-parse-iso-date): New function.
424 (math-parse-date): Use `math-parse-iso-date' when appropriate.
425 (math-parse-iso-date-validate): Add extra error checking.
426 (calc-date-notation): Add ability to access new date formats.
427
428 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
429
430 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
431 font-lock as well as when there's no text-property.
432
433 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
434
435 * hi-lock.el: Refine the choice of default face.
436 (hi-lock-keyword->face): New function. Use it wherever we used
437 cadadadr instead.
438 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
439 (hi-lock--last-face): Remove var.
440 (hi-lock--unused-faces): New var to replace it.
441 (hi-lock-read-face-name): Use/maintain it.
442 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
443 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
444 if it has another face.
445
446 2012-12-10 Eli Zaretskii <eliz@gnu.org>
447
448 * subr.el (w32notify-handle-event): New function.
449 (inotify-handle-event): Doc fix.
450
451 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
452
453 * subr.el (inotify-event-p, inotify-handle-event): New functions.
454
455 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
456
457 * simple.el (just-one-space): Doc fix.
458
459 2012-12-10 Eli Zaretskii <eliz@gnu.org>
460
461 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
462
463 2012-12-10 Le Wang <l26wang@gmail.com>
464
465 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
466 narrowed buffer (bug#12361).
467
468 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
469
470 * vc/vc-hooks.el (vc-state): Doc fix.
471
472 2012-12-10 Glenn Morris <rgm@gnu.org>
473
474 * mail/rmail.el (rmail-maybe-display-summary):
475 Preserve buffer, in case select-window changes it. (Bug#13066)
476
477 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
480 cl-load-hook where they belong.
481
482 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
483
484 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
485
486 2012-12-09 Eli Zaretskii <eliz@gnu.org>
487
488 Parallelize byte compilation on MS-Windows.
489 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
490 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
491 (WINS_BASIC): Define as concatenation of the above.
492 (compile): Subdivide into 4 separate and independent jobs that can
493 be run in parallel.
494 (compile0-CMD, compile0-SH): New targets for compiling
495 COMPILE_FIRST files, which are prerequisites for the rest of the
496 byte-compilation.
497 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
498 New targets for parallel compilation with cmd.exe.
499 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
500 compiling under a Unixy shell.
501
502 2012-12-09 Chong Yidong <cyd@gnu.org>
503
504 * simple.el (set-mark-default-inactive): Delete this
505 accidentally-introduced option.
506 (set-mark-command, exchange-point-and-mark): Remove calls.
507
508 2012-12-09 Glenn Morris <rgm@gnu.org>
509
510 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
511 Respect a defcustom's :set function, if appropriate. (Bug#109)
512 (eval-defun): Doc fix.
513
514 2012-12-08 Juri Linkov <juri@jurta.org>
515
516 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
517 (Info-fontify-node, Info-bookmark-make-record): Remove the
518 file extension from Info-current-file (Bug#13016).
519
520 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
521
522 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
523 point, still provide some default.
524 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
525 names, since we don't use it right now. Actually return the list.
526 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
527
528 2012-12-07 Chong Yidong <cyd@gnu.org>
529
530 * novice.el (disabled-command-function): Remove a spurious help
531 xref (Bug#13043). Suggested by Kelly Dean.
532
533 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
534 syntax is specified (Bug#13025).
535
536 * info.el (Info-set-mode-line): Remove the file extension from
537 Info-current-file if there is one (Bug#13016).
538
539 2012-12-07 Glenn Morris <rgm@gnu.org>
540
541 * mail/rmail.el (rmail-mime-decoded): New permanent local.
542 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
543 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
544 and rmail-mime-decoded. (Bug#9841)
545
546 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
547 (batch-unrmail, unrmail): Doc fixes.
548 (unrmail): Respect unrmail-mbox-format.
549 * mail/rmail.el (rmail-mbox-format): New option.
550 (rmail-show-message-1): Respect rmail-mbox-format.
551
552 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
555
556 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
557
558 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
559 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
560 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
561 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
562 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
563 (cl-progv): Don't rely on dynamic scoping to find the body.
564 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
565 (cl--proclaims-deferred): Rename from the "cl-" prefix.
566 (cl-declaim): Use backquotes.
567 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
568 Use "cl--" prefix for the object's tag.
569
570 * ses.el: Use advice-add/remove.
571 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
572 (copy-region-as-kill, yank): Use advice-add.
573 (ses-unload-function): Use advice-remove.
574
575 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
576
577 * button.el: Make them work in header-lines (bug#12817).
578 (button-map): Add bindings for header-line and mode-line use.
579 (button-get, button-put, button-label): `button' may now be a string.
580 (button-activate): Don't make it a defsubst.
581 (button--area-button-p, button--area-button-string): New functions.
582 (make-text-button): Fix the return value when `beg' was a string.
583 (push-button): Handle the mode-line case.
584
585 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
588 (sql-signum): Remove. Use `cl-signum' instead.
589 (sql-read-passwd): Remove; use read-passwd instread.
590 (sql-get-login-ext): Use read-string.
591 (sql-get-login): Use dolist and pcase.
592 (sql--completion-table): Rename from sql-try-completion.
593 Use complete-with-action.
594 (sql-mode): Don't change abbrev-all-caps globally.
595 (sql-connect): Don't rely on dynamic scoping for `new-name'.
596 (sql-postgres-completion-object): Initialize vars in their `let'.
597 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
598 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
599 (sql-comint-interbase): Use a single append, without setq.
600 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
601
602 * hi-lock.el: Rework the default face and the serialize regexp code.
603 (hi-lock--auto-select-face-defaults): Remove.
604 (hi-lock-string-serialize-serial): Remove.
605 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
606 make weak.
607 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
608 equal string.
609 (hi-lock-set-pattern): Adjust accordingly.
610 (hi-lock--regexps-at-point): Simplify accordingly.
611 (hi-lock--auto-select-face-defaults): Remove.
612 (hi-lock--last-face): New var to replace it.
613 (hi-lock-read-face-name): Rewrite (bug#11095).
614 (hi-lock-unface-buffer): Arrange for the face to be the next default.
615
616 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
617
618 * net/tramp.el (tramp-replace-environment-variables):
619 Hide compiler warning.
620 (tramp-file-name-for-operation): Remove `executable-find',
621 `start-process', `call-process' and `call-process-region'.
622
623 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
624
625 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
626 compatibility.
627
628 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
629
630 2012-12-06 Chong Yidong <cyd@gnu.org>
631
632 * ffap.el (ffap-replace-file-component): Fix typo.
633
634 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
637 fix open-paren-like token test (bug#12785).
638
639 2012-12-06 Glenn Morris <rgm@gnu.org>
640
641 * mail/rmailsum.el (rmail-new-summary): Tweak for
642 rmail-maybe-display-summary changing buffer. (Bug#13066)
643
644 2012-12-06 Juri Linkov <juri@jurta.org>
645
646 * info.el (Info-fontify-node): Don't hide the last newline.
647 (Bug#12272)
648
649 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
650
651 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
652 so as to enable message-read-from-minibuffer to expand mail aliases.
653
654 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
657 the `intangible' property.
658 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
659
660 2012-12-05 Deniz Dogan <deniz@dogan.se>
661
662 * net/rcirc.el (rcirc-urls): Update documentation.
663 (rcirc-condition-filter): New function.
664 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
665 and exclude consecutive duplicate URLs (Bug#6082).
666
667 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
668
669 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
670 Check return code of copy command.
671
672 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
673 Use group `tramp'. Add version.
674
675 2012-12-05 Chong Yidong <cyd@gnu.org>
676
677 * ffap.el (ffap-url-regexp): Don't require matching at front of
678 string (Bug#4952).
679 (ffap-url-p): If only a substring matches, return that.
680 (ffap-url-at-point): Use the return value of ffap-url-p.
681 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
682 (find-file-at-point, dired-at-point, dired-at-point-prompter)
683 (ffap-guess-file-name-at-point): Likewise.
684 (ffap-replace-file-component): Fix typo.
685
686 * info.el (info-display-manual): Add existing Info buffers, whose
687 files may not be in Info-directory-list, to the completion.
688 (info--manual-names): New helper function.
689
690 2012-12-05 Glenn Morris <rgm@gnu.org>
691
692 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
693 New functions, for detecting and resolving conflicts. (Bug#10709)
694
695 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
696
697 * hi-lock.el (hi-lock-auto-select-face): New user variable.
698 (hi-lock-auto-select-face-defaults): New buffer local variable.
699 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
700 (hi-lock-unface-buffer): Prompt user with useful defaults.
701 With prefix arg, unhighlight all hi-lock patterns in buffer.
702
703 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
706
707 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
708
709 * Makefile.in (TRAMP_SRC):
710 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
711
712 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
713
714 * net/tramp-adb.el: New package.
715
716 2012-12-04 Chong Yidong <cyd@gnu.org>
717
718 * terminal.el: Move to obsolete/.
719
720 * longlines.el: Move to obsolete/.
721
722 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
723 Remove code referring to longlines mode.
724
725 2012-12-03 Juri Linkov <juri@jurta.org>
726
727 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
728
729 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
730
731 * textmodes/ispell.el (ispell-init-process)
732 (ispell-start-process, ispell-internal-change-dictionary):
733 Make sure personal dictionary name is expanded after initial
734 `default-directory' value. Use expanded strings for
735 keep/restart checks and for value (Bug#13019).
736
737 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
738
739 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
740
741 2012-12-03 Leo Liu <sdl.web@gmail.com>
742
743 * files.el (dir-locals-read-from-file): Check file non-empty
744 before reading. (Bug#13038)
745
746 2012-12-03 Glenn Morris <rgm@gnu.org>
747
748 * jka-cmpr-hook.el (jka-compr-get-compression-info):
749 Remove any version extension before checking filename. (Bug#13006)
750 (jka-compr-compression-info-list): Belated :version bump.
751
752 2012-12-03 Chong Yidong <cyd@gnu.org>
753
754 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
755
756 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
757 (buffer-menu): Doc fix (Bug#12294).
758
759 2012-12-03 Roland Winkler <winkler@gnu.org>
760
761 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
762 of diary-show-all-entries in the diary buffer (Bug#12994).
763
764 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
765
766 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
767 "<STDIN>". This is binary safe.
768
769 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
770
771 * calc/calc-forms.el (math-absolute-from-iso-dt)
772 (math-date-to-iso-dt, math-parse-iso-date-validate)
773 (math-iso-dt-to-date): New functions.
774 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
775 (math-fd-isoweekday): New variables.
776 (calc-date-notation, math-parse-standard-date, math-format-date)
777 (math-format-date-part): Add support for more formatting codes.
778
779 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
780
781 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
782 current buffer's file name when called interactively (Bug#12488).
783
784 2012-12-02 Juri Linkov <juri@jurta.org>
785
786 * info.el (info-display-manual): Don't clobber an existing Info
787 buffer (Bug#10770). Add completion (Bug#10771).
788
789 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
790
791 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
792 before using it for comparison (Bug#5297).
793
794 2012-12-01 Jari Aalto <jari.aalto@cante.net>
795
796 * textmodes/css-mode.el (css-current-defun-name): New function.
797 (css-mode): Use it.
798
799 * textmodes/sgml-mode.el (html-current-defun-name): New function.
800 (html-mode): Use it.
801
802 2012-12-01 Chong Yidong <cyd@gnu.org>
803
804 Modularize add-log-current-defun (Bug#2224).
805 Suggested by Jari Aalto.
806
807 * vc/add-log.el (add-log-current-defun-function): Doc fix.
808 (add-log-current-defun): Move mode-specific code to other files.
809 (add-log-lisp-like-modes, add-log-c-like-modes)
810 (add-log-tex-like-modes): Variables deleted.
811
812 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
813 (lisp-mode-variables): Use it.
814
815 * progmodes/cc-mode.el (c-common-init):
816 * progmodes/cperl-mode.el (cperl-mode): Set a value for
817 add-log-current-defun-function.
818
819 * progmodes/m4-mode.el (m4-current-defun-name): New function.
820 (m4-mode): Use it.
821
822 * progmodes/perl-mode.el (perl-current-defun-name): New.
823 (perl-mode): Use it.
824
825 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
826 Use lisp-current-defun-name.
827
828 * textmodes/tex-mode.el (tex-current-defun-name): New.
829 (tex-common-initialization): Use it.
830
831 * textmodes/texinfo.el (texinfo-current-defun-name): New.
832 (texinfo-mode): Use it.
833
834 2012-12-01 Chong Yidong <cyd@gnu.org>
835
836 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
837 * progmodes/autoconf.el (autoconf-mode):
838 * progmodes/js.el (js-mode):
839 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
840 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
841 * progmodes/perl-mode.el (perl-mode):
842 * progmodes/sh-script.el (sh-mode, sh-set-shell):
843 * textmodes/css-mode.el (css-mode):
844 * textmodes/sgml-mode.el (html-mode, sgml-mode)
845 (sgml-tags-invisible, sgml-guess-indent):
846 * textmodes/tex-mode.el (tex-common-initialization)
847 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
848 (doctex-mode, plain-tex-mode, latex-mode):
849 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
850
851 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
852
853 * vc/vc-hg.el (vc-hg-next-revision):
854 Ensure use of default "tip" output format. (Bug#6968)
855
856 2012-12-01 Kim F. Storm <storm@cua.dk>
857
858 * startup.el (fancy-startup-tail): Add a clickable link
859 (Bug#2176).
860
861 2012-12-01 Chong Yidong <cyd@gnu.org>
862
863 * startup.el (fancy-startup-tail): Improve the message about
864 auto-save files (Bug#2176).
865
866 * files.el (recover-session): Improve the descriptive message, and
867 use substitute-command-keys.
868
869 2012-12-01 Glenn Morris <rgm@gnu.org>
870
871 * ido.el (ido-file-internal):
872 Handle other-window, other-frame for dired. (Bug#13036)
873
874 2012-11-30 Glenn Morris <rgm@gnu.org>
875
876 * icomplete.el (icomplete-separator): Fix :version.
877
878 2012-11-30 Chong Yidong <cyd@gnu.org>
879
880 * shell.el (shell): For C-u M-x shell, use an inactive shell
881 buffer as the default (Bug#1975).
882 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
883 (shell-mode): Use them to reapply ansi colorization if Shell mode
884 is re-enabled.
885
886 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
887
888 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
889
890 2012-11-30 Samuel Bronson <naesten@gmail.com>
891
892 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
893 flag to xargs, for compatibility with BSD xargs (Bug#11703).
894
895 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
896
897 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
898 by move-to-column (Bug#3234).
899
900 2012-11-30 Chong Yidong <cyd@gnu.org>
901
902 * longlines.el (longlines-wrap-line, longlines-encode-region):
903 Preserve text properties (Bug#1425).
904
905 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
906
907 * vc/vc.el (vc-register): Allow registering a file which is
908 already registered with a different backend (Bug#10589).
909
910 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
911 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * icomplete.el: Change separator; add ido-style commands.
914 (icomplete-show-key-bindings): Remove custom var.
915 (icomplete-get-keys): Remove function.
916 (icomplete-forward-completions, icomplete-backward-completions):
917 New commands.
918 (icomplete-minibuffer-map): New var.
919 (icomplete-minibuffer-setup): Use it.
920 (icomplete-exhibit): Don't delay if the list of completions is known.
921 (icomplete-separator): New custom.
922 (icomplete-completions): Use it.
923 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
924 (minibuffer-force-complete-and-exit): New command.
925 (minibuffer--complete-and-exit): New function extracted from
926 minibuffer-complete-and-exit.
927 (minibuffer-complete-and-exit): Use it.
928
929 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
930 error message when the file doesn't exist (bug#12974).
931
932 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
933
934 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
935
936 2012-11-29 Glenn Morris <rgm@gnu.org>
937
938 * files.el (hack-dir-local-variables): Warn if try to set
939 coding via dir-locals, since it doesn't work. (Bug#7169)
940
941 Add desktop support for restoring vc-dir buffers. (Bug#10606)
942 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
943 Set buffer-local value of desktop-save-buffer.
944 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
945 New functions.
946 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
947 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
948
949 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
950 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
951 Doc fix.
952 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
953 Doc fixes.
954
955 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
956
957 * calc/calc-forms.el (calc-date-notation): Fix regexp
958 used to find time codes. Fix symbol for seconds.
959
960 2012-11-27 Glenn Morris <rgm@gnu.org>
961
962 * emacs-lisp/derived.el (derived-mode-make-docstring):
963 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
964
965 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
966
967 * textmodes/table.el (table-insert): Don't use `symbol-name' on
968 lexically scoped variables (bug#13005).
969
970 2012-11-27 Glenn Morris <rgm@gnu.org>
971
972 * vc/vc-hooks.el (vc-mistrust-permissions):
973 Default to t, to avoid data-loss. (Bug#11490)
974
975 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
976
977 * progmodes/python.el (python-indent-guess-indent-offset):
978 If indentation is guessed make python-indent-offset buffer-local.
979
980 Fix Imenu regression.
981 * progmodes/python.el (python-nav-beginning-of-defun):
982 Fix forward movement when statement(s) separates point from defun.
983 (python-imenu-prev-index-position): New function.
984
985 2012-11-27 Eli Zaretskii <eliz@gnu.org>
986
987 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
988
989 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
990 Don't set buffer-file-type. Return nil. (Bug#12989)
991
992 2012-11-27 Glenn Morris <rgm@gnu.org>
993
994 * hippie-exp.el (hippie-expand-try-functions-list):
995 Re-autoload it. (Bug#12982)
996
997 2012-11-27 Eli Zaretskii <eliz@gnu.org>
998
999 * descr-text.el (describe-char-padded-string):
1000 Call internal-char-font only on GUI frames. (Bug#11964)
1001
1002 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
1003
1004 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
1005 and obsoletion message.
1006
1007 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1008
1009 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
1010 the constructs to keep outside of the `cl-block' (bug#12977).
1011
1012 2012-11-27 Chong Yidong <cyd@gnu.org>
1013
1014 * mouse.el (mouse-drag-line): Even if the line is not draggable,
1015 keep reading until we get the up-event anyway, in order to process
1016 the up-event for mouse-1-click-follows-link (Bug#12971).
1017
1018 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
1021 base function is not yet defined (bug#12965).
1022 (ad-activate-advised-definition): Use ad-compile-function.
1023 (ad-activate): Use cond.
1024
1025 2012-11-25 Leo Liu <sdl.web@gmail.com>
1026
1027 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
1028 (Bug#12979)
1029
1030 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1031
1032 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
1033 reftex-section-info-function in order to be compatible with
1034 Texinfo integration.
1035
1036 * textmodes/reftex.el (reftex-section-pre-regexp)
1037 (reftex-section-post-regexp, reftex-section-info-function):
1038 New variable.
1039 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
1040 reftex-section-post-regexp, and reftex-section-info-function in order
1041 to be compatible with Texinfo integration.
1042
1043 * textmodes/reftex-toc.el (reftex-toc-promote-action):
1044 use reftex-section-pre-regexp variable in order to be compatible with
1045 Texinfo integration.
1046
1047 2012-11-25 Chong Yidong <cyd@gnu.org>
1048
1049 * faces.el: Make face-spec-set more analogous to setq.
1050 (face-spec-set): Change the third arg to specify whether this
1051 function is being called via defface, customize, or a third party.
1052 Set the appropriate symbol properties. Clear the override spec if
1053 setting via Custom. Initialize face if necessary. (Bug#4988)
1054 (face-spec-recalc): Allow theme faces to completely replace the
1055 defface spec, in the same way as custom faces (Bug#8454).
1056
1057 * cus-face.el (custom-declare-face): Move face initialization to
1058 face-spec-set.
1059 (custom-theme-set-faces): Don't initialize the face name here, as
1060 that is now done in face-spec-set.
1061
1062 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
1063 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
1064 Simplify by using the new arg to face-spec-set.
1065
1066 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
1067 reset face-override-spec too, and use custom-declare-face.
1068
1069 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
1070
1071 * term/ns-win.el (ns-initialize-window-system): Move creation of
1072 fontsets here (Bug#11964).
1073
1074 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
1075
1076 * ses.el (ses-rename-cell): Correct bug on mode-line update after
1077 cell renaming.
1078
1079 2012-11-24 Chong Yidong <cyd@gnu.org>
1080
1081 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
1082 obsolete.
1083
1084 * custom.el (custom-theme-set-variables): Use a topological sort
1085 for ordering by custom dependencies (Bug#12952).
1086 (custom--sort-vars, custom--sort-vars-1): New functions.
1087
1088 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1089
1090 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
1091 lexical-binding (bug#12938).
1092
1093 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
1094
1095 * image-mode.el (image-transform-check-size): Use assertions only
1096 for images of type imagemagick.
1097
1098 Otherwise no error, image-transform-fit-to-{width,height} is
1099 silently ignored, as before. Doc fix.
1100
1101 2012-11-24 Chong Yidong <cyd@gnu.org>
1102
1103 * faces.el (color-defined-p): Doc fix (Bug#12853).
1104
1105 2012-11-24 Juri Linkov <juri@jurta.org>
1106
1107 * dired.el (dired-mark): Add optional arg `interactive'.
1108 Check for `use-region-p' if `interactive' is non-nil.
1109 (dired-unmark, dired-flag-file-deletion): Add optional arg
1110 `interactive'. Call `dired-mark' with the arg `interactive'.
1111 (Bug#10624)
1112
1113 * wdired.el: Revert 2012-10-17 change partly and replace it with
1114 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
1115 (wdired-finish-edit): Add marks for new file names to
1116 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
1117 after `revert-buffer'.
1118 (wdired-do-renames): Remove calls to `dired-remove-file',
1119 `dired-add-file', `dired-add-entry'. (Bug#11795)
1120
1121 2012-11-24 Alan Mackenzie <acm@muc.de>
1122
1123 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
1124
1125 Fix bugs in the state cache. Enhance a debugging mechanism.
1126 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
1127 "brace at column zero" strategy for C++.
1128 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
1129 (c-parse-state-point): New variable.
1130 (c-record-parse-state-state): Record old parse state with
1131 `copy-tree'. Record previous value of point.
1132 (c-debug-parse-state-double-cons): New debugging function.
1133 (c-debug-parse-state): Call the above new function.
1134 (c-toggle-parse-state-debug): Output a confirmatory message.
1135
1136 * progmodes/cc-mode.el (c-before-change, c-after-change):
1137 Call c-invalidate-state-cache from `c-before-change' instead of
1138 `c-after-change'.
1139
1140 2012-11-23 Chong Yidong <cyd@gnu.org>
1141
1142 * find-cmd.el (find-constituents): Add executable, ipath,
1143 readable, samefile, writable, daystart, regextype (Bug#12856).
1144
1145 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
1148
1149 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
1150
1151 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
1152 definition. This fixes a bootstrap failure.
1153 (calc-gregorian-switch): In menu, put dates before regions.
1154 This is easier to follow, lines up better in the menu, and lets us
1155 coalesce regions that switch at the same time. Give country
1156 names, not "Vatican", as that's better for non-expert users.
1157 Use names that are stable between the date of switch and now, e.g.,
1158 Bohemia and Moravia (which existed then and now) and not
1159 Czechoslovakia (which didn't exist then and doesn't exist now).
1160 What is now the U.S. mostly did not switch at the same time as
1161 Britain, so omit the U.S. Correct spelling of "Britain".
1162 Catholic Switzerland was too much of a mess, so omit it.
1163
1164 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
1165
1166 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
1167 after the variable is changed.
1168
1169 2012-11-21 Daniel Colascione <dancol@dancol.org>
1170
1171 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
1172 in SQL declarations for font-lock.
1173 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
1174
1175 2012-11-21 Glenn Morris <rgm@gnu.org>
1176
1177 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
1178 (face-italic-p): Add optional argument "inherit".
1179
1180 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
1181 Remove -p suffix from names, for consistency with other set-face-*.
1182 (set-face-inverse-video): Fix interactive spec.
1183 * play/gamegrid.el (gamegrid-make-mono-tty-face):
1184 * textmodes/table.el (table--update-cell-face):
1185 Use set-face-inverse-video rather than now obsolete alias.
1186
1187 2012-11-21 Eli Zaretskii <eliz@gnu.org>
1188
1189 * simple.el (line-move): Don't call line-move-partial if
1190 scroll-conservatively is in effect. (Bug#12927)
1191
1192 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1193
1194 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
1195 Fallback on completion-at-point rather than
1196 pcomplete-expand-and-complete, and only if pcomplete actually failed.
1197 (eshell-cmpl-initialize): Setup completion-at-point.
1198
1199 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
1200
1201 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
1202
1203 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
1204
1205 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
1206 are remote, check out-of-band property for both.
1207
1208 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1209
1210 * window.el (switch-to-buffer): Re-add the warning that was lost in the
1211 code rewrite.
1212
1213 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
1214
1215 More minor time fixes.
1216 * calendar/time-date.el: Commentary fix.
1217 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
1218 too much other code depends on (0 0) time stamps.
1219 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
1220 Add a couple of FIXME comments.
1221
1222 Minor cleanup for times as lists of four integers.
1223 * files.el (dir-locals-directory-cache):
1224 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
1225 Doc fixes.
1226 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
1227 * ps-bdf.el (bdf-file-newer-than-time):
1228 Process four-integers time stamps, not two. Doc fixes.
1229
1230 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * uniquify.el (uniquify-managed): Use defvar-local.
1233 (rename-buffer, create-file-buffer): Advise with advice-add.
1234 (uniquify-unload-function): Unadvise accordingly.
1235
1236 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
1237 (trace-buffer): Don't purecopy.
1238 (trace-entry-message, trace-exit-message): Add `context' arg.
1239 (trace--timer): New var.
1240 (trace-make-advice): Adjust for use in nadvice.
1241 Add `context' argument. Delay `display-buffer' via a timer.
1242 (trace-function-internal): Use advice-add.
1243 (trace--read-args): New function.
1244 (trace-function-foreground, trace-function-background): Use it.
1245 (trace-function): Rename to trace-function-foreground and redefine as
1246 an alias to that new name.
1247 (untrace-function, untrace-all): Adjust to the use of nadvice.
1248
1249 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
1250
1251 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
1252
1253 * subr.el (called-interactively-p-functions): New var.
1254 (internal--called-interactively-p--get-frame): New macro.
1255 (called-interactively-p, interactive-p): Rewrite in Lisp.
1256 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
1257 (called-interactively-p-functions): Use it.
1258 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
1259 (called-interactively-p-functions): Use it.
1260 * allout.el (allout-called-interactively-p): Don't assume
1261 called-interactively-p is a subr.
1262
1263 2012-11-20 Glenn Morris <rgm@gnu.org>
1264
1265 * profiler.el (profiler-report-mode-map): Add a menu.
1266 No need to bind `q' because we derive from special-mode.
1267 (profiler-report-find-entry): Handle calls from the menu-bar.
1268
1269 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * emacs-lisp/byte-run.el (defun-declarations-alist):
1272 Allow a compiler-macro to be a lambda expression.
1273
1274 * progmodes/python.el: Use cl-lib. Move var declarations outside of
1275 eval-when-compile.
1276 (python-syntax-context): Add compiler-macro.
1277 (python-font-lock-keywords): Simplify with De Morgan.
1278
1279 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
1280
1281 * files.el (load-file): Require match in minibuffer selection, as was
1282 the case in Emacs-20 before we changed the spec to allow .elc files
1283 (bug#12935).
1284
1285 * json.el: Don't require cl since we don't use it.
1286 * color.el: Don't require cl.
1287 (color-complement): `caddr' -> `nth 2'.
1288
1289 * calendar/time-date.el (time-to-seconds): De-obsolete.
1290
1291 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
1292
1293 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
1294 year numbers.
1295 (math-date-to-julian-dt): Adjust the initial approximation for the
1296 year to deal with the new definition of the DATE.
1297
1298 2012-11-19 Daniel Colascione <dancol@dancol.org>
1299
1300 * term/w32-win.el (cygwin-convert-path-from-windows):
1301 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
1302
1303 2012-11-18 Chong Yidong <cyd@gnu.org>
1304
1305 * filecache.el (file-cache--read-list): New function.
1306 (file-cache-add-directory-list, file-cache-add-file-list)
1307 (file-cache-delete-file-list, file-cache-delete-directory-list):
1308 Use it to read a list of files or directories (Bug#12846).
1309 (file-cache-add-file, file-cache-add-directory)
1310 (file-cache-delete-file-list, file-cache-delete-file-regexp)
1311 (file-cache-delete-directory): Print an message.
1312
1313 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
1314
1315 * calc/calc-forms.el (math-date-to-dt): Use integer date when
1316 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
1317
1318 2012-11-18 Glenn Morris <rgm@gnu.org>
1319
1320 * image.el (insert-image, insert-sliced-image): Doc fix.
1321
1322 2012-11-18 Chong Yidong <cyd@gnu.org>
1323
1324 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
1325 (Bug#12810).
1326
1327 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
1328
1329 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
1330 response when the target file is in a subdirectory (Bug#12757).
1331
1332 2012-11-18 Chong Yidong <cyd@gnu.org>
1333
1334 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
1335
1336 2012-11-18 Glenn Morris <rgm@gnu.org>
1337
1338 * emacs-lisp/cl-lib.el (face-underline-p):
1339 Use set-face-underline rather than the alias set-face-underline-p.
1340
1341 * window.el (with-temp-buffer-window): Doc fix.
1342 * subr.el (with-output-to-temp-buffer):
1343 Add doc xref to with-temp-buffer-window.
1344
1345 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
1346
1347 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
1348 * calc/calc.el (math-format-date-cache): Declare.
1349
1350 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
1351
1352 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
1353 It also uses January 1, 1 AD as its day number 1.
1354 * calc/calc-forms.el (math-julian-date-beginning)
1355 (math-julian-date-beginning-int): Implement this.
1356
1357 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * descr-text.el (quail-find-key):
1360 * dired.el (desktop-file-name):
1361 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
1362 * generic-x.el (comint-mode, comint-exec):
1363 * image-dired.el (widget-forward):
1364 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
1365 (speedbar-change-expand-button-char)
1366 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
1367 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
1368 * printing.el (easy-menu-add-item, easy-menu-remove-item)
1369 (widget-field-action, widget-value-set):
1370 * speedbar.el (imenu--make-index-alist):
1371 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
1372 (ring-length, ring-insert):
1373 * vcursor.el (compare-windows-skip-whitespace):
1374 * woman.el (dired-get-filename):
1375 Declare functions.
1376
1377 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
1378
1379 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
1380
1381 * calc/calc.el (calc-gregorian-switch): New variable.
1382
1383 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
1384 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
1385 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
1386 (math-leap-year-p): Add option to distinguish between Julian
1387 and Gregorian calendars.
1388 (math-day-number): Use `math-day-in-year' to do the computations.
1389 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
1390 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
1391 to do the computations.
1392 (math-date-to-dt): Use `math-date-to-julian-dt' and
1393 `math-date-to-gregorian-dt' to do the computations.
1394 (calcFunc-weekday, math-format-date-part): Use the new version of
1395 the DATE to determine the weekday.
1396 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
1397 when necessary.
1398
1399 2012-11-17 Eli Zaretskii <eliz@gnu.org>
1400
1401 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
1402 Cygwin; otherwise use 'file:'. (Bug#12914)
1403 (cygwin-convert-path-from-windows): Declare, to avoid
1404 byte-compiler warnings.
1405
1406 2012-11-17 Andreas Politz <politza@fh-trier.de>
1407
1408 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
1409 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
1410 prefix and negative numeric prefix args (Bug#12795).
1411
1412 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
1413
1414 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
1415 Don't signal an error with a score that is too low to add to the
1416 list of top scores. (Bug#12779)
1417
1418 2012-11-17 Chong Yidong <cyd@gnu.org>
1419
1420 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
1421
1422 * filecache.el (file-cache-add-file): Handle relative file name in
1423 the argument (Bug#12694).
1424
1425 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
1426
1427 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
1428
1429 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1430
1431 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
1432
1433 * emacs-lisp/cl-lib.el: Set more meaningful version number.
1434
1435 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1436
1437 * window.el (enlarge-window, shrink-window): Don't mention return
1438 value in doc-string (Bug#12896).
1439 (window--display-buffer): Don't resize frames - it won't work
1440 with all window managers and defeat pop-up-frame-alist.
1441 (display-buffer-alist): In doc-string explain that CONDITION can
1442 be a function and which arguments are passed to it (Bug#12854).
1443 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
1444 expressions (Bug#12854).
1445 (display-buffer): Pass ACTION argument to
1446 display-buffer-assq-regexp.
1447
1448 2012-11-16 Glenn Morris <rgm@gnu.org>
1449
1450 * window.el (fit-frame-to-buffer-bottom-margin)
1451 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
1452
1453 * faces.el (face-underline-p): Use face-attribute-specified-or.
1454
1455 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
1456
1457 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
1458
1459 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1460
1461 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
1462
1463 2012-11-16 Glenn Morris <rgm@gnu.org>
1464
1465 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
1466 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
1467
1468 * faces.el (face-underline-p): Doc fix. Handle :underline being
1469 things other than `t' (a string, a list).
1470 (face-inverse-video-p): Doc fix.
1471 (set-face-underline): Rename it back from set-face-underline-p.
1472 Doc fix. Allow interactive input of values other than t.
1473 (read-face-attribute): Apply formatting to :underline,
1474 since like :box and :stipple it can take list values.
1475
1476 * term.el (ansi-term): Don't let C-x escape-char binding
1477 clobber the more standard C-c binding. (Bug#12842)
1478
1479 * subr.el (set-temporary-overlay-map): Doc fix.
1480
1481 2012-11-16 Martin Rudalics <rudalics@gmx.at>
1482
1483 * window.el (record-window-buffer)
1484 (display-buffer-record-window): When copying the markers to
1485 window-point preserve window-point-insertion-type. (Bug#12588)
1486
1487 2012-11-16 Glenn Morris <rgm@gnu.org>
1488
1489 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
1490 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
1491 Use new names for hooks rather than obsolete aliases.
1492
1493 2012-11-15 Daniel Colascione <dancol@dancol.org>
1494
1495 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
1496 prefix instead of "file:" so that when FILE-NAME begins with "//",
1497 as it does when the target file is on a network share, url-handler
1498 isn't confused.
1499
1500 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1501
1502 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
1503 a preactivated advice from an old advice.el; they're not compatible!
1504
1505 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
1506
1507 * emacs-lisp/nadvice.el (advice--make-interactive-form):
1508 Fix string-spec case.
1509
1510 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
1511
1512 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1513
1514 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
1515 (advice--buffer-local-function-sample): New var.
1516 (advice--set-buffer-local, advice--buffer-local): New functions.
1517 (add-function, remove-function): Use them.
1518
1519 2012-11-15 Drew Adams <drew.adams@oracle.com>
1520
1521 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
1522
1523 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1524
1525 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
1526 potential binding of print-gensym to t, and prettify (back)quotes in
1527 case they appear in args's default values (bug#12884).
1528
1529 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1530
1531 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
1532 (advice-eval-interactive-spec): New function.
1533 (advice--make-interactive-form): Support around advice (bug#12844).
1534
1535 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
1536
1537 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
1538 more strict. Add docstring.
1539 (ruby-expression-expansion-re): Extract from
1540 `ruby-match-expression-expansion'.
1541 (ruby-syntax-propertize-function): After everything else, search
1542 for expansions in string literals, mark their insides as
1543 whitespace syntax and save match data for font-lock.
1544 (ruby-font-lock-keywords): Use the 2nd group from expression
1545 expansion matches.
1546 (ruby-match-expression-expansion): Use the match data saved to the
1547 text property in ruby-syntax-propertize-function.
1548
1549 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
1552 (bug#12879).
1553
1554 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1555
1556 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
1557 start/end keyword a bit harder. Works with different values of N.
1558 Add more comments.
1559 (ruby-end-of-block): Update accordingly.
1560
1561 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1562
1563 * woman.el (woman-file-name): Don't mess with unread-command-events
1564 (bug#12861).
1565
1566 * emacs-lisp/advice.el: Layer on top of nadvice.el.
1567 Remove out of date self-require hack.
1568 (ad-do-advised-functions): Use simple `dolist'.
1569 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
1570 (ad-advice-definition): Redefine as functions.
1571 (ad-advice-classes): Move before first use.
1572 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
1573 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
1574 (ad--defalias-fset): Remove functions.
1575 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
1576 (ad-get-orig-definition): Rewrite.
1577 (ad-make-advised-definition-docstring): Change base docstring.
1578 (ad-real-orig-definition): Rewrite.
1579 (ad-map-arglists): Change name of called function.
1580 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
1581 (ad-make-advised-definition): Simplify.
1582 (ad-assemble-advised-definition): Tweak for new calling context.
1583 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
1584 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
1585 function and call ad-activate if needed.
1586 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
1587 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
1588 (ad-compile-function): Compile ad-Advice-*.
1589 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
1590 (ad-start-advice, ad-stop-advice): Remove.
1591
1592 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1593
1594 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
1595 period before class method names, not after. Remove handling of
1596 one impossible case. Add comments.
1597
1598 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1599
1600 * emacs-lisp/advice.el: Remove support for freezing.
1601 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
1602 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
1603 Remove support for `freeze'.
1604
1605 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
1606 override the default.
1607 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
1608 cl--dotimes/dolist.
1609 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
1610 `cl' is loaded.
1611
1612 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
1613 from add-advice.
1614 (advice--strip-macro): New function.
1615 (advice--defalias-fset): Use them to handle macros.
1616 (advice-add): Use them.
1617 (advice-member-p): Correctly handle macros.
1618
1619 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1620
1621 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1622 Never font-lock the beginning of singleton class as heredoc.
1623
1624 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1625
1626 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
1627
1628 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
1629
1630 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1631 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
1632 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1633
1634 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
1635
1636 Fix end-of-defun misbehavior.
1637 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1638 python-beginning-of-defun-function. Handle nested defuns
1639 correctly.
1640 (python-nav-end-of-defun): Rename from
1641 python-end-of-defun-function. Ensure forward movement.
1642 (python-info-current-defun): Reimplement to work as intended
1643 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
1644 parent defuns as soon as possible.
1645
1646 2012-11-13 Glenn Morris <rgm@gnu.org>
1647
1648 * progmodes/flymake.el (flymake-error-bitmap)
1649 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1650 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1651
1652 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
1653
1654 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1655 backward, always stop at indentation. Reverts the change from
1656 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1657
1658 2012-11-13 Glenn Morris <rgm@gnu.org>
1659
1660 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1661 Add ibuffer-filter-by-derived-mode.
1662
1663 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1664 the same name shadowing each other.
1665
1666 * window.el (with-temp-buffer-window): Doc tweak.
1667
1668 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1669
1670 * help.el (temp-buffer-max-height):
1671 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1672 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1673
1674 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
1675
1676 * emacs-lisp/nadvice.el: New package.
1677 * subr.el (special-form-p): New function.
1678 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1679 (elp-all-instrumented-list): Remove var.
1680 (elp-not-profilable): Remove elp-wrapper.
1681 (elp-profilable-p): Use autoloadp and special-form-p.
1682 (elp--advice-name): New const.
1683 (elp-instrument-function): Use advice-add.
1684 (elp--instrumented-p): New predicate.
1685 (elp-restore-function): Use advice-remove.
1686 (elp-restore-all, elp-reset-all): Use mapatoms.
1687 (elp-set-master): Use elp--instrumented-p.
1688 (elp--make-wrapper): Rename from elp-wrapper, return a function
1689 suitable for advice-add. Use cl-inf.
1690 (elp-results): Use mapatoms+elp--instrumented-p.
1691 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1692 (debug-function-list): Remove var.
1693 (debug): Rename arg, and then let-bind it explicitly inside.
1694 (debugger-setup-buffer): Rename arg.
1695 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1696 (debugger-frame-number): Adjust to new debug-on-entry setup.
1697 (debug--implement-debug-on-entry): Rename from
1698 implement-debug-on-entry, add argument.
1699 (debugger-special-form-p): Remove, use special-form-p instead.
1700 (debug-on-entry): Use advice-add.
1701 (debug--function-list): New function.
1702 (cancel-debug-on-entry): Use it, along with advice-remove.
1703 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1704 (debugger-list-functions): Use debug--function-list instead of
1705 debug-function-list.
1706 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1707 (ad-special-form-p): Remove, use special-form-p instead.
1708 (ad-set-advice-info): Use add-function and remove-function.
1709 (ad--defalias-fset): Adjust accordingly.
1710
1711 2012-11-10 Glenn Morris <rgm@gnu.org>
1712
1713 * mail/emacsbug.el (report-emacs-bug-tracker-url)
1714 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1715 (report-emacs-bug-create-existing-bugs-buffer)
1716 (report-emacs-bug-parse-query-results)
1717 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
1718
1719 * term.el (term-default-fg-color, term-default-bg-color):
1720 Make obsolete, rather than just saying "deprecated" in the doc.
1721
1722 * term.el (term): Rename from `term-face'.
1723 (term-current-face, ansi-term-color-vector)
1724 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1725 Update all users.
1726
1727 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
1728
1729 * server.el (server-create-window-system-frame): Handle Nextstep
1730 specially (Bug#12780).
1731
1732 2012-11-10 Glenn Morris <rgm@gnu.org>
1733
1734 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1735 Unautoload, and make obsolete. (Bug#7449)
1736
1737 2012-11-10 Chong Yidong <cyd@gnu.org>
1738
1739 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1740 rename from diff-remove-trailing-whitespace (Bug#12831).
1741
1742 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1745 miscompilation of trace.el.
1746
1747 2012-11-10 Glenn Morris <rgm@gnu.org>
1748
1749 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1750
1751 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1752
1753 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1754 (bug#12812).
1755
1756 2012-11-10 Chong Yidong <cyd@gnu.org>
1757
1758 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1759 a defcustom with an appropriate :set function.
1760 (minibuffer-default--in-prompt-regexps): New function.
1761
1762 2012-11-10 Glenn Morris <rgm@gnu.org>
1763
1764 * emacs-lisp/cl.el (define-setf-expander, defsetf)
1765 (define-modify-macro): Doc fixes.
1766
1767 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1768 (gv-define-simple-setter): Update doc of `fix-return'.
1769
1770 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1773 twice when `fix-return' is set (bug#12813).
1774
1775 * emacs-lisp/cl.el (defsetf): Pass the third arg to
1776 gv-define-simple-setter (bug#12812).
1777
1778 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1779 (bug#12756).
1780
1781 2012-11-10 Glenn Morris <rgm@gnu.org>
1782
1783 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1784
1785 * emacs-lisp/cl-extra.el (cl-prettyexpand):
1786 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1787 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1788 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1789
1790 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1791
1792 2012-11-10 Leo Liu <sdl.web@gmail.com>
1793
1794 * ido.el (ido-set-matches-1): Improve flex matching performance by
1795 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
1796
1797 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1800 (ad--defalias-fset): New function.
1801 (ad-safe-fset): Remove.
1802 (ad-make-freeze-definition): Use cl-letf*.
1803
1804 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * subr.el (dolist): Don't bind VAR in RESULT.
1807
1808 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
1809 (fset, documentation): Don't save real def since we don't advise.
1810 (ad-do-advised-functions): Remove problematic `result-form'.
1811 (ad-safe-fset): `ad-real-fset' => `fset'.
1812 (ad-read-advised-function): Don't assume that ad-do-advised-functions
1813 uses CL's dolist internally.
1814 (ad-arglist): Remove unused arg `name'.
1815 (ad-docstring, ad-make-advised-docstring):
1816 `ad-real-documentation' => `documentation'.
1817 (warning-suppress-types): Declare.
1818 (ad-set-arguments): Simple CSE.
1819 (ad-recover-normality): Sanity check.
1820
1821 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1822 (funcall '(lambda ..) ..) into ((lambda ..) ..).
1823
1824 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
1825
1826 * ses.el: symbol to coordinate mapping is made by symbol property
1827 `ses-cell'. This means that the same mapping is done for all SES
1828 sheets. That is good enough for cells with standard A1 names, but
1829 not for named cell. So a hash map is added for the latter.
1830 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1831 (ses-sym-rowcol): Use hashmap for named cell.
1832 (ses-is-cell-sym-p): New defun.
1833 (ses-decode-cell-symbol): New defun.
1834 (ses-create-cell-variable): Add cell to hashmap when name is not
1835 A1-like.
1836 (ses-rename-cell): Check that cell new name is not already in
1837 spreadsheet with the use of ses-is-cell-sym-p
1838 (ses-rename-cell): Use hash map for named cells, but accept also
1839 renaming back to A1-like.
1840
1841 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
1842
1843 * emacs-lisp/advice.el: Use new dynamic docstrings.
1844 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1845 Use dynamic-docstring-function instead of ad-advice-info.
1846 (ad--make-advised-docstring): New function extracted from
1847 ad-make-advised-docstring.
1848 (ad-make-advised-docstring): Use it.
1849 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1850 from sql-help.
1851 (sql-help): Use it with dynamic-docstring-function.
1852
1853 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1854
1855 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1856
1857 * files.el (hack-one-local-variable--obsolete): New function.
1858 (hack-one-local-variable): Use it for obsolete settings.
1859
1860 * subr.el (locate-user-emacs-file): If both old and new name exist, use
1861 the new name.
1862
1863 * progmodes/js.el (js--filling-paragraph): New var.
1864 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1865 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1866 less sneaky.
1867
1868 2012-11-08 Julien Danjou <julien@danjou.info>
1869
1870 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1871 `auto-mode-alist' (Bug#12835).
1872
1873 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
1874
1875 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1876 (perl--prettify-symbols-alist): New const.
1877 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1878 New functions.
1879 (perl-font-lock-keywords-2): Use them.
1880 (perl-electric-noindent-p): New function.
1881 (perl-mode): Use it to set up electric-indent-mode.
1882 (perl-electric-terminator, perl-indent-command): Mark obsolete.
1883 (perl-mode-map): Remove bindings for them.
1884 (perl-imenu-generic-expression, perl-outline-level):
1885 Match functions&packages in column>0.
1886
1887 * env.el (env--substitute-vars-regexp): New const.
1888 (substitute-env-vars): Use it. Add `only-defined' arg.
1889 * net/tramp.el (tramp-replace-environment-variables): Use it.
1890
1891 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1892 Byte-compile *before* eval in eval-and-compile.
1893 (byte-compile-log-warning): Remove redundant inhibit-read-only.
1894 (byte-compile-file-form-autoload): Don't hide actual definition.
1895 (byte-compile-maybe-guarded): Accept `functionp' as well.
1896
1897 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1898
1899 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
1900
1901 * notifications.el (notifications-get-server-information-method):
1902 New defconst.
1903 (notifications-get-capabilities): Fix docstring.
1904 (notifications-get-server-information): New defun.
1905
1906 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1907
1908 * textmodes/ispell.el (ispell-region): Standard re-indent for better
1909 readability.
1910
1911 * textmodes/ispell.el: Experimental support for support debugging.
1912 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1913 buffer for ispell.
1914 (ispell-print-if-debug): New function to print stuff to
1915 `ispell-debug-buffer' if debugging is enabled.
1916 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1917 show some debugging info.
1918 (ispell-buffer-with-debug): New function that creates a debugging
1919 buffer and calls `ispell-buffer' with debugging enabled.
1920
1921 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1922 comment in autoconf mode. (Bug#12768)
1923
1924 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
1925
1926 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1927 frame-first-window, frame-root-window, frame-selected-window,
1928 minibuffer-selected-window, minibuffer-window,
1929 window-absolute-pixel-edges, window-at, window-body-height,
1930 window-body-width, window-display-table, window-combination-limit,
1931 window-frame, window-fringes, window-inside-absolute-pixel-edges,
1932 window-inside-edges, window-inside-pixel-edges, window-left-child,
1933 window-left-column, window-margins, window-next-buffers,
1934 window-next-sibling, window-new-normal, window-new-total,
1935 window-normal-size, window-parameter, window-parameters, window-parent,
1936 window-pixel-edges, window-point, window-prev-buffers,
1937 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1938 window-start, window-text-height, window-top-child, window-top-line,
1939 window-total-height, window-total-width and window-use-time to the list
1940 of functions without side-effects.
1941 (toplevel): Add window-valid-p to the list of error-free functions
1942 without side-effects.
1943
1944 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1945
1946 * textmodes/ispell.el (ispell-program-name):
1947 Update spellchecker parameters when customized.
1948
1949 2012-11-04 Glenn Morris <rgm@gnu.org>
1950
1951 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
1952
1953 2012-11-04 Chong Yidong <cyd@gnu.org>
1954
1955 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1956 same-window-* variables.
1957
1958 2012-11-04 Juri Linkov <juri@jurta.org>
1959
1960 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1961 (isearch-describe-key, isearch-describe-mode): Use a display
1962 action instead of binding same-window-* variables (Bug#10040).
1963
1964 2012-11-03 Glenn Morris <rgm@gnu.org>
1965
1966 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1967 Rename handler properties back from cl-- to cl-. (Bug#12788)
1968
1969 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1970
1971 2012-11-03 Eli Zaretskii <eliz@gnu.org>
1972
1973 * term/pc-win.el: Don't load term/internal from here.
1974
1975 * loadup.el: Load term/internal from here.
1976
1977 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
1978
1979 * progmodes/python.el (inferior-python-mode): Fix hang in
1980 jit-lock (Bug#12645).
1981
1982 2012-11-03 Martin Rudalics <rudalics@gmx.at>
1983
1984 * window.el (switch-to-visible-buffer)
1985 (switch-to-buffer-preserve-window-point): Fix doc-strings.
1986
1987 2012-11-03 Glenn Morris <rgm@gnu.org>
1988
1989 * emacs-lisp/cl-lib.el (cl--random-time):
1990 Rename from cl-random-time. (Bug#12773)
1991 (cl--gensym-counter, cl--random-state): Update callers.
1992 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1993
1994 2012-11-03 Chong Yidong <cyd@gnu.org>
1995
1996 * cus-start.el: Make cursor-type customizable (Bug#11633).
1997
1998 2012-11-02 Glenn Morris <rgm@gnu.org>
1999
2000 * filecache.el: No need to load find-lisp when compiling.
2001 (find-lisp-find-files): Autoload it.
2002 (file-cache-add-directory-recursively): Don't require find-lisp.
2003
2004 * image.el (image-type-from-file-name): Trivial simplification.
2005
2006 * emacs-lisp/bytecomp.el (byte-compile-eval):
2007 Decouple "noruntime" and "cl-functions" warnings.
2008
2009 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
2010
2011 * play/gomoku.el (gomoku-display-statistics): Update mode line
2012 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
2013
2014 2012-10-31 Martin Rudalics <rudalics@gmx.at>
2015
2016 * window.el (quit-restore-window): If the window has been
2017 created on an existing frame and ended up as the sole window on
2018 that frame, do not delete it (Bug#12764).
2019
2020 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * progmodes/sh-script.el (sh--inside-noncommand-expression):
2023 Rename from sh--inside-arithmetic-expression, handle more cases
2024 (bug#11263).
2025
2026 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
2027 (sh-font-lock-open-heredoc): Use it (bug#12770).
2028
2029 2012-10-30 Glenn Morris <rgm@gnu.org>
2030
2031 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
2032
2033 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
2034
2035 2012-10-29 Chong Yidong <cyd@gnu.org>
2036
2037 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
2038 function key is stored in a keyboard macro (Bug#4894).
2039
2040 * thingatpt.el (number-at-point): Apply a thing-at-point property.
2041
2042 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2043
2044 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
2045 header comments".
2046 (diff-unified->context, diff-context->unified)
2047 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
2048
2049 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
2050
2051 * files.el (find-alternate-file): Only ask one question (bug#12487).
2052
2053 2012-10-29 Chong Yidong <cyd@gnu.org>
2054
2055 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
2056 Suggested by Dan Nicolaescu (Bug#6326).
2057
2058 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
2059
2060 * startup.el (fancy-about-screen): Don't message (Bug#12680).
2061
2062 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
2063
2064 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
2065
2066 * face-remap.el (face-remap-add-relative): Handle the case where a
2067 face-remapping-alist entry is a cons cell (Bug#12762).
2068
2069 2012-10-29 Kevin Ryde <user42@zip.com.au>
2070
2071 * woman.el (woman-parse-numeric-value): Handle picas correctly
2072 (Bug#12639).
2073
2074 2012-10-29 Glenn Morris <rgm@gnu.org>
2075
2076 * emacs-lisp/cl.el (defsetf): Doc fix.
2077
2078 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
2079
2080 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
2081 syntax to the matching opener, if any (bug#12547).
2082 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
2083 matching open as a "case-(".
2084 (sh-smie-rc-grammar): Add a corresponding rule for it.
2085
2086 2012-10-28 Daniel Hackney <dan@haxney.org>
2087
2088 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
2089 "PKGNAME-autoloads.el" in case we created it.
2090
2091 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
2094 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
2095 (completion--twq-all): Disable too-strict assertions.
2096
2097 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
2098
2099 2012-10-27 Eli Zaretskii <eliz@gnu.org>
2100
2101 * profiler.el (profiler-report-make-entry-part): Fix help-echo
2102 text to match the real keybindings.
2103
2104 2012-10-27 Juri Linkov <juri@jurta.org>
2105
2106 * wdired.el (wdired-keep-marker-rename): New defcustom.
2107 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
2108 (Bug#11795)
2109
2110 * dired.el (dired-keep-marker-rename): Add reference to
2111 `wdired-keep-marker-rename' in the docstring.
2112 Add default character value ?R to display initially in
2113 Customization UI instead of ?@.
2114
2115 2012-10-27 Martin Rudalics <rudalics@gmx.at>
2116
2117 * window.el (display-buffer): In doc-string describe
2118 window-height and window-width alist entries.
2119
2120 * time.el (display-time-world): Restore fit-window-to-buffer
2121 behavior.
2122
2123 2012-10-27 Chong Yidong <cyd@gnu.org>
2124
2125 * subr.el (insert-buffer-substring-as-yank): Doc fix.
2126
2127 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
2128
2129 * minibuffer.el (completion-category-overrides): New completion
2130 category `bookmark' (bug#11131).
2131
2132 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2133
2134 * emacs-lisp/advice.el (ad-assemble-advised-definition):
2135 Silence bogus compiler warnings for ad-do-it.
2136
2137 * bookmark.el (bookmark-completing-read): Set the completion category
2138 to `bookmark' (bug#11131).
2139
2140 2012-10-26 Bastien <bzg@altern.org>
2141 Stefan Monnier <monnier@iro.umontreal.ca>
2142
2143 * face-remap.el: Use lexical-binding.
2144 (text-scale-adjust): Improve docstring. Use itself for the temporary
2145 overlay-map bindings, so as to repeat the "Use..." message each time.
2146
2147 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2148
2149 * emacs-lisp/macroexp.el (macroexp--expand-all):
2150 Obey byte-compile-warning-enabled-p (bug#12486).
2151
2152 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
2153 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
2154
2155 2012-10-26 Martin Rudalics <rudalics@gmx.at>
2156
2157 * mouse.el (mouse-drag-line): Move last form into preceding when
2158 clause (Bug#12731).
2159
2160 * help.el (resize-temp-buffer-window): Fix doc-string.
2161
2162 2012-10-25 David Engster <deng@randomsample.de>
2163
2164 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
2165 Remove. This feature is already integrated in imenu.
2166
2167 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
2168 always loaded. Require `speedbar' unconditionally.
2169
2170 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
2171
2172 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
2173
2174 * minibuffer.el (minibuffer-force-complete): Fix thinko.
2175
2176 * net/ldap.el (ldap-search-internal): The official ldif format starts
2177 with a "version: 1" header (bug#12724).
2178
2179 * emacs-lisp/package.el (package-installed-p): Warn if not ready
2180 (bug#12721).
2181
2182 2012-10-25 Glenn Morris <rgm@gnu.org>
2183
2184 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
2185
2186 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2187
2188 * minibuffer.el (minibuffer-force-complete): Use one more marker
2189 for the temporary-overlay-map command (bug#12619).
2190
2191 2012-10-24 Chong Yidong <cyd@gnu.org>
2192
2193 * time.el (display-time-world-mode): Derive from special-mode.
2194 (display-time-world): Use display-buffer (Bug#12708).
2195 (display-time-world-mode-map): Variable deleted.
2196 (display-time-world-display): Wrap the final delete-char inside
2197 inhibit-read-only.
2198
2199 2012-10-24 Chong Yidong <cyd@gnu.org>
2200
2201 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
2202 Doc fix.
2203
2204 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
2205
2206 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
2207
2208 * minibuffer.el (completion--all-sorted-completions-location): New var.
2209 (completion--cache-all-sorted-completions)
2210 (completion--flush-all-sorted-completions): Use it.
2211 (completion-in-region, completion-in-region--postch)
2212 (completion-at-point, completion-help-at-point): Use markers in
2213 completion-in-region--data (bug#12619).
2214
2215 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2216
2217 * progmodes/compile.el (compilation-start): Try to handle common
2218 quoting of `cd' argument (bug#12640).
2219
2220 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
2221 (bug#12671).
2222
2223 2012-10-23 Glenn Morris <rgm@gnu.org>
2224
2225 * progmodes/gud.el (gud-menu-map):
2226 Check gdb-active-process is bound. (Bug#12358)
2227
2228 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * repeat.el (repeat): Set real-this-command (bug#12232).
2231
2232 * htmlfontify.el (hfy-post-html-hook):
2233 * filesets.el (filesets-cache-fill-content-hook):
2234 * arc-mode.el (archive-extract-hook):
2235 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
2236 * net/rcirc.el (rcirc-sentinel-functions)
2237 (rcirc-receive-message-functions, rcirc-activity-functions)
2238 (rcirc-print-functions):
2239 * net/dbus.el (dbus-event-error-functions):
2240 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
2241 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
2242 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
2243 * term/sun.el (sun-raw-prefix-hooks):
2244 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
2245
2246 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
2247
2248 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2249 Set `tramp-chunksize' to 1. This improves the performance.
2250 (tramp-smb-wait-for-output): Add timeout to
2251 `tramp-accept-process-output' calls.
2252
2253 2012-10-23 Chong Yidong <cyd@gnu.org>
2254
2255 * faces.el (font-list-limit): Define as an obsolete variable.
2256
2257 * startup.el (command-line):
2258 * cus-start.el: Don't refer to font-list-limit.
2259
2260 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
2261
2262 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
2263
2264 * subr.el (internal-temp-output-buffer-show): Rename from
2265 temp-output-buffer-show, since previously compiled files expect this name.
2266
2267 2012-10-23 Glenn Morris <rgm@gnu.org>
2268
2269 * image.el (image-type-from-file-name): If multiple types match,
2270 return the first one that is supported. (Bug#9045)
2271
2272 2012-10-22 Glenn Morris <rgm@gnu.org>
2273
2274 * image.el (imagemagick-enabled-types): Doc fix.
2275
2276 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
2277
2278 * progmodes/which-func.el (which-func-current): The hash-table may have
2279 an explicit nil (bug#12338).
2280
2281 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
2282
2283 * electric.el (electric-pair-delete-selection-self-insert-function):
2284 Rename to electric-pair-will-use-region, return a boolean.
2285 (electric-pair-mode): Adjust accordingly. Don't require delsel.
2286
2287 * delsel.el (delete-selection-helper): Use a function instead of a hook.
2288 (delete-selection-pre-hook): Use use-region-p.
2289 (delete-selection-self-insert-function): Remove.
2290 (self-insert-command): Obey self-insert-uses-region-functions.
2291 (self-insert-iso): Revert to previous setting, since we don't actually
2292 know what that command does.
2293 (delete-selection-self-insert-hooks): Remove.
2294
2295 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
2296
2297 * delsel.el (delete-selection-helper): New function, extracted from
2298 delete-selection-pre-hook.
2299 (delete-selection-pre-hook): Use it.
2300 (delete-selection-self-insert-function): New function.
2301 (delete-selection-self-insert-hooks): New hook.
2302 (self-insert-command, self-insert-iso): Use it.
2303 * electric.el (electric-pair-syntax): New function, extracted from
2304 electric-pair-post-self-insert-function.
2305 (electric-pair-post-self-insert-function): Use it.
2306 (electric-pair-delete-selection-self-insert-function): New function.
2307 (electric-pair-mode): Require delsel and setup
2308 delete-selection-self-insert-hooks (bug#11520).
2309
2310 2012-10-20 Chong Yidong <cyd@gnu.org>
2311
2312 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
2313 no changes to show (Bug#12586).
2314
2315 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
2316 list explicitly (Bug#12571).
2317
2318 2012-10-20 Arne Jørgensen <arne@arnested.dk>
2319
2320 * progmodes/flymake.el (flymake-create-temp-inplace):
2321 Use file-truename.
2322
2323 2012-10-20 Eli Zaretskii <eliz@gnu.org>
2324
2325 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
2326
2327 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
2328
2329 * calc/calc-units.el (math-extract-units): Properly extract powers
2330 of units.
2331
2332 2012-10-20 Daniel Colascione <dancol@dancol.org>
2333
2334 * frame.el (make-frame): Set x-display-name as we used to in order
2335 to unbreak creating an X11 frame from an Emacs daemon started
2336 without a display.
2337
2338 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * minibuffer.el (minibuffer-force-complete): Make the next completion use
2341 the same completion-field (bug#12221).
2342
2343 2012-10-19 Martin Rudalics <rudalics@gmx.at>
2344
2345 * emacs-lisp/debug.el (debug): Record height of debugger window
2346 also when debugger will be back (Bug#8789).
2347
2348 2012-10-18 Chong Yidong <cyd@gnu.org>
2349
2350 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2351 Convert to defcustom.
2352 (gdb-get-source-file): Don't bind pop-up-windows.
2353
2354 * progmodes/gud.el (gud-display-line): Don't specially re-use
2355 other frames for the gdb-mi case (Bug#12648).
2356
2357 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * emacs-lisp/advice.el: Clean up commentary a bit.
2360 (ad-do-advised-functions, ad-with-originals): Use `declare'.
2361 (byte-code-function-p): Never redefine.
2362
2363 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
2364
2365 2012-10-18 Glenn Morris <rgm@gnu.org>
2366
2367 * dired.el (dired-sort-toggle): Some ls implementations only allow
2368 a single option string. (Bug#12666)
2369
2370 * minibuffer.el (completion-cycle-threshold): Doc fix.
2371
2372 2012-10-17 Kenichi Handa <handa@gnu.org>
2373
2374 * international/mule.el (set-keyboard-coding-system):
2375 Recover input meta mode when the new coding system doesn not use 8-bit.
2376 Supply TERMINAL arg to set-input-meta-mode.
2377
2378 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
2379
2380 * wdired.el (wdired-old-marks): New variable.
2381 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
2382 (wdired-do-renames): Move point with renamed file and don't lose
2383 mark status (Bug#11795).
2384
2385 2012-10-16 Juri Linkov <juri@jurta.org>
2386
2387 * replace.el (query-replace-help): Mention multi-buffer replacement
2388 keys in the Help message. (Bug#12655)
2389
2390 2012-10-15 Chong Yidong <cyd@gnu.org>
2391
2392 * emacs-lisp/byte-run.el (defsubst): Doc fix.
2393
2394 2012-10-14 Eli Zaretskii <eliz@gnu.org>
2395
2396 * window.el (display-buffer): Doc fix.
2397
2398 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2399 Adjust the msft regexp to the output of Studio 2010, and move msft
2400 before edg-1. See the discussion on emacs-devel,
2401 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
2402 for the details.
2403
2404 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
2405
2406 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
2407 (oset): Move uses of object-class-fast macro after its definition.
2408
2409 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
2410
2411 2012-10-13 Chong Yidong <cyd@gnu.org>
2412
2413 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
2414 enabled, re-enable it (Bug#11963).
2415
2416 2012-10-13 Martin Rudalics <rudalics@gmx.at>
2417
2418 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
2419 non-nil, restore window configuration (Bug#12623).
2420
2421 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * help-fns.el (describe-variable, describe-function-1):
2424 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
2425
2426 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
2427
2428 2012-10-12 Glenn Morris <rgm@gnu.org>
2429
2430 * mail/rmailsum.el (rmail-header-summary):
2431 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
2432
2433 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
2434
2435 * progmodes/python.el (python-mode-map):
2436 Replace subtitute-key-definition with proper command remapping.
2437 (python-nav--up-list): Fix behavior for blocks on the same level.
2438
2439 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
2442
2443 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
2444 changes to the format of load-history.
2445
2446 * international/mule-cmds.el (read-char-by-name): Move let-binding of
2447 completion-ignore-case in case that var is buffer-local (bug#12615).
2448
2449 2012-10-11 Kenichi Handa <handa@gnu.org>
2450
2451 * international/eucjp-ms.el: Re-generated.
2452
2453 2012-10-10 Kenichi Handa <handa@gnu.org>
2454
2455 * select.el (xselect--encode-string): If a coding is specified for
2456 selection, and that is compatible with COMPOUND_TEXT, use it.
2457
2458 2012-10-10 Martin Rudalics <rudalics@gmx.at>
2459
2460 * window.el (switch-to-buffer-preserve-window-point): New option.
2461 (switch-to-buffer):
2462 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
2463
2464 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
2467 Don't document nil as a useful value (bug#12583).
2468
2469 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * net/tramp.el (tramp-debug-message):
2472 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
2473 (with-tramp-progress-reporter): Rename from
2474 `tramp-with-progress-reporter'.
2475 (with-tramp-file-property, with-tramp-connection-property):
2476 Move from tramp-cache.el, rename from `with-file-property' and
2477 `with-connection-property', respectively.
2478
2479 * net/tramp-cache.el: Remove `with-file-property' and
2480 `with-connection-property'.
2481
2482 * net/tramp.el:
2483 * net/tramp-gvfs.el:
2484 * net/tramp-sh.el:
2485 * net/tramp-smb.el: Adapt callees.
2486
2487 * net/trampver.el: Update release number.
2488
2489 2012-10-09 Glenn Morris <rgm@gnu.org>
2490
2491 * w32-fns.el (set-message-beep):
2492 * term/w32-win.el (set-message-beep): Update declarations.
2493
2494 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
2495
2496 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
2497 (mode-line-widen, mode-line-input-method-map)
2498 (mode-line-coding-system-map, mode-line-remote)
2499 (mode-line-unbury-buffer, mode-line-bury-buffer)
2500 (mode-line-next-buffer, mode-line-previous-buffer):
2501 Replace save-selected-window+select-window => with-selected-window.
2502
2503 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
2504 * progmodes/cc-vars.el (bq-process): Remove, unused.
2505
2506 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
2507
2508 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
2509
2510 Implemented `backward-up-list'-like navigation.
2511 * progmodes/python.el (python-nav-up-list)
2512 (python-nav-backward-up-list): New functions.
2513 (python-mode-map): Define substitute key for backward-up-list to
2514 python-nav-backward-up-list.
2515
2516 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2517
2518 * progmodes/python.el (python-fill-paragraph): Rename from
2519 python-fill-paragraph-function. Fixed fill-paragraph for
2520 decorators (Bug#12605).
2521
2522 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2523
2524 * progmodes/python.el (python-shell-output-filter): Handle extra
2525 carriage return in OSX (Bug#12409).
2526
2527 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2528
2529 Fix shell handling of unbalanced quotes and parens in output.
2530 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
2531 (python-syntax-propertize-function): Use it.
2532 (python-shell-output-syntax-table): New var.
2533 (inferior-python-mode): Prevent unbalanced parens/quotes from
2534 previous output mess with current input context.
2535
2536 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
2537
2538 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
2539 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
2540
2541 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
2542
2543 * ffap.el (ffap-replace-file-component): Support Tramp file name
2544 syntax, not only ange-ftp's one.
2545
2546 2012-10-08 Glenn Morris <rgm@gnu.org>
2547
2548 * cus-start.el (message-log-max): Set :version.
2549
2550 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
2551
2552 2012-10-08 Martin Rudalics <rudalics@gmx.at>
2553
2554 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
2555 the minibuffer window (Bug#10851).
2556
2557 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
2558
2559 Enhancements on forward-sexp movement.
2560 * progmodes/python.el (python-nav-beginning-of-statement)
2561 (python-nav-end-of-statement): Return point-marker.
2562 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
2563 (python-info-current-symbol)
2564 (python-info-statement-starts-block-p): Rename from
2565 python-info-beginning-of-block-p.
2566 (python-info-statement-ends-block-p): Rename from
2567 python-info-end-of-block-p.
2568 (python-info-beginning-of-statement-p)
2569 (python-info-end-of-statement-p)
2570 (python-info-beginning-of-block-p, python-info-end-of-block-p):
2571 New functions.
2572
2573 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
2574
2575 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
2576 frame-selected-windows.
2577
2578 2012-10-08 Daniel Colascione <dancol@dancol.org>
2579
2580 * battery.el (battery-status-function): Check for
2581 w32-battery-status itself, not system-time windows-nt.
2582
2583 * frame.el: Require cl-lib.
2584 (display-format-alist): New variable mapping frame types to
2585 functions that initialize them.
2586 (window-system-for-display): New function: interprets
2587 display-format-alist.
2588 (make-frame-on-display): Remove existing display-selection logic
2589 and just forward to make-frame, which will now DTRT.
2590 (make-frame): Restructure to use window-system-for-display to
2591 figure out how to create a frame on a given display.
2592 (display-mouse-p): Look for frame-type w32, not a particular
2593 system-type.
2594
2595 * loadup.el: Load w32 lisp code when we have the w32 feature.
2596
2597 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
2598 system-type windows-nt.
2599
2600 * server.el (server-create-window-system-frame): Look for window
2601 type.
2602 (server-proces-filter): Only force a window system when windows-nt
2603 _and_ w32. Explain why.
2604
2605 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
2606 of window systems we configure for the mode.
2607
2608 * startup.el (command-line): Mark window system is initialized
2609 after we've done it.
2610
2611 * common-win.el (x-select-text): Look for w32, not windows-nt.
2612
2613 * ns-win.el: Require cl-lib. Add ourselves to
2614 display-format-alist.
2615 (ns-initialize-window-system): Assert we're not initialized twice.
2616
2617 * w32-win.el: Enable lexical binding; require cl-lib; add
2618 ourselves to display-format-alist.
2619 (w32-handle-dropped-file): Convert incoming dropped files from
2620 Windows paths to Cygwin ones before passing them on to the rest of
2621 Emacs.
2622 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
2623 (w32-initialize-window-system): Assert we're not initialized twice.
2624
2625 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
2626 (x-initialize-window-system): Assert we're not initialized twice.
2627
2628 * w32-common-fns.el: New File.
2629 (w32-version, w32-using-nt, w32-get-clipboard-data)
2630 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2631 (w32-charset-info-alist, x-last-selected, text)
2632 (x-get-selection-value, x-selection-value): Move here.
2633
2634 * w32-fns.el: Require w32-common-fns.
2635 (w32-version, w32-using-nt, w32-get-clipboard-data)
2636 (w32-set-clipboard-data, x-set-selection, x-get-selection)
2637 (w32-charset-info-alist, x-last-selected, text)
2638 (x-get-selection-value, x-selection-value): Move to
2639 w32-common-fns.
2640
2641 * w32-vars.el:
2642 (w32-allow-system-shell, w32-system-shells): Define only in
2643 non-cygwin case.
2644
2645 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2646
2647 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2648 (read-passwd): Remove a few more potential sources of leaks.
2649
2650 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2651
2652 * progmodes/python.el (inferior-python-mode)
2653 (python-shell-make-comint): Fix initialization of local
2654 variables copied from parent buffer.
2655
2656 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
2657
2658 * term/ns-win.el (ns-read-file-name): Update declaration to match
2659 nsfns.m.
2660 (ns-respond-to-change-font): Change fontsize separatly so we are sure
2661 it is set when font is acted upon.
2662
2663 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2664
2665 Enhancements to indentation.
2666 * progmodes/python.el (python-indent-context): Give priority to
2667 inside-string context. Make comments indentation markers.
2668 (python-indent-region): Do not mess with strings, unless it's the
2669 enclosing set of quotes.
2670
2671 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * window.el (internal--before-save-selected-window)
2674 (internal--after-save-selected-window): New functions extracted from
2675 save-selected-window. Make sure we return the `alist' we construct.
2676 (save-selected-window): Use them.
2677
2678 * textmodes/tex-mode.el (tex-recenter-output-buffer):
2679 Use with-selected-window.
2680
2681 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2682 forms that define macros (bug#12593).
2683
2684 2012-10-07 Kenichi Handa <handa@gnu.org>
2685
2686 * international/mule-conf.el (compound-text-with-extensions):
2687 Add :mime-charset property as x-ctext.
2688
2689 2012-10-07 Stefan Merten <smerten@oekonux.de>
2690
2691 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2692 (rst-indent-literal-normal, rst-indent-literal-minimized)
2693 (rst-indent-comment): Correct :version tag.
2694 (rst-official-cvs-rev): Correct version string.
2695
2696 2012-10-07 Glenn Morris <rgm@gnu.org>
2697
2698 * mail/rmailmm.el (rmail-mime-process-multipart):
2699 Do not confuse a multipart message with an epilogue
2700 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
2701
2702 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
2703
2704 Fix shell output retrieval and comint-prompt-regexp init.
2705 * progmodes/python.el (inferior-python-mode):
2706 (python-shell-make-comint): Fix initialization of
2707 comint-prompt-regexp from copied file local variables.
2708 (python-shell-fetched-lines): Remove var.
2709 (python-shell-output-filter-in-progress): Rename from
2710 python-shell-fetch-lines-in-progress.
2711 (python-shell-output-filter-buffer): Rename from
2712 python-shell-fetch-lines-string.
2713 (python-shell-fetch-lines-filter): Delete function.
2714 (python-shell-output-filter): New function.
2715 (python-shell-send-string-no-output): Use them.
2716
2717 2012-10-07 Glenn Morris <rgm@gnu.org>
2718
2719 * hi-lock.el (hi-lock-process-phrase):
2720 Try to make it less fragile. (Bug#7161)
2721
2722 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2723
2724 2012-10-06 Glenn Morris <rgm@gnu.org>
2725
2726 * ehelp.el (electric-help-mode): Use help-mode rather than
2727 non-existent mode `help'.
2728 (electric-help-map): Use button-buffer-map. (Bug#10917)
2729
2730 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2731 (reftex-create-bibtex-footer): Fix custom types.
2732
2733 * progmodes/sh-script.el (sh-indent-after-continuation):
2734 Add explicit :group.
2735
2736 * textmodes/rst.el (rst-preferred-decorations)
2737 (rst-shift-basic-offset): Clarify obsolescence versions.
2738
2739 * profiler.el (profiler): Add missing group :version tag.
2740 * avoid.el (mouse-avoidance-banish-position):
2741 * proced.el (proced-renice-command):
2742 * calc/calc.el (calc-ensure-consistent-units):
2743 * calendar/icalendar.el (icalendar-import-format-uid):
2744 * net/tramp.el (tramp-save-ad-hoc-proxies):
2745 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2746 * progmodes/flymake.el (flymake-error-bitmap)
2747 (flymake-warning-bitmap, flymake-fringe-indicator-position):
2748 * progmodes/sh-script.el (sh-indent-after-continuation):
2749 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2750 (verilog-before-save-font-hook, verilog-after-save-font-hook):
2751 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2752 (vhdl-array-index-record-field-in-sensitivity-list)
2753 (vhdl-indent-comment-like-next-code-line):
2754 * textmodes/reftex-vars.el (reftex-ref-style-alist)
2755 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2756 (reftex-cite-key-separator, reftex-create-bibtex-header)
2757 (reftex-create-bibtex-footer):
2758 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2759 (rst-indent-literal-normal, rst-indent-literal-minimized)
2760 (rst-indent-comment): Add missing custom :version tags.
2761
2762 * calendar/timeclock.el (timeclock-modeline-display):
2763 Add missing obsolete alias for renamed user option.
2764
2765 * strokes.el (strokes-modeline-string):
2766 * emulation/crisp.el (crisp-mode-modeline-string):
2767 * eshell/esh-mode.el (eshell-status-in-modeline):
2768 Aliases to defcustoms must come before the defcustom.
2769
2770 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2771 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2772 (cal-tex-cursor-week-monday): Doc fixes.
2773 (cal-tex-cursor-week2-summary): Doc fix.
2774 Rename from cal-tex-cursor-week-at-a-glance.
2775
2776 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2777 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
2778
2779 * calendar/calendar.el (calendar-mode-map):
2780 Add cal-tex-cursor-week2-summary.
2781
2782 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
2783
2784 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2785
2786 * subr.el (read-passwd-map): New var.
2787 (read-passwd): Use `read-string' again.
2788 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2789
2790 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
2791
2792 * register.el (append-to-register, prepend-to-register):
2793 Deactivate mark, as does `copy-to-register' (bug#12389).
2794
2795 2012-10-06 Chong Yidong <cyd@gnu.org>
2796
2797 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2798
2799 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
2800
2801 * international/characters.el: Fix simple mistake ((car chars) ->
2802 elt), delete duplicated code.
2803
2804 2012-10-06 Glenn Morris <rgm@gnu.org>
2805
2806 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
2807
2808 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
2809
2810 * color.el (color-hsl-to-rgb): Fix incorrect results for
2811 small and large hue values. (Bug#12559)
2812
2813 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
2814
2815 Enhancements to docstring formatting when filling paragraphs.
2816 * progmodes/python.el (python-fill-docstring-style): Rename from
2817 python-fill-string-style. Added new style.
2818 (python-fill-string): Use new style. Better checks for
2819 docstrings.
2820
2821 2012-10-05 Glenn Morris <rgm@gnu.org>
2822
2823 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2824
2825 * color.el (color-name-to-rgb, color-rgb-to-hex)
2826 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2827 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2828 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2829 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2830
2831 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
2832
2833 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2836 to get the correct size across symlinks.
2837
2838 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2839
2840 2012-10-04 Juri Linkov <juri@jurta.org>
2841
2842 * replace.el (query-replace-interactive): Declare obsolete.
2843 (query-replace-read-from): Add the last incremental search string
2844 to the list of default values accessible via M-n.
2845 (map-query-replace-regexp): Use `read-regexp'.
2846 (query-replace, query-replace-regexp, query-replace-regexp-eval)
2847 (map-query-replace-regexp, replace-string, replace-regexp):
2848 Fix docstrings to replace mentions of `query-replace-interactive'
2849 with alternatives. (Bug#12526)
2850
2851 2012-10-04 Juri Linkov <juri@jurta.org>
2852
2853 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
2854 (dired-pop-to-buffer): Declare obsolete.
2855 (dired-mark-pop-up): Doc fix.
2856
2857 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
2858
2859 Allow user to set docstring style for fill-paragraph.
2860 * progmodes/python.el
2861 (python-fill-comment-function, python-fill-string-function)
2862 (python-fill-decorator-function, python-fill-paren-function):
2863 Remove :safe for defcustoms.
2864 (python-fill-string-style): New defcustom
2865 (python-fill-paragraph-function): Enhance context detection.
2866 (python-fill-string): Honor python-fill-string-style settings.
2867
2868 2012-10-04 Martin Rudalics <rudalics@gmx.at>
2869
2870 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2871 after setting its buffer (Bug#10805).
2872
2873 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
2874
2875 Fix cornercase for string syntax.
2876 * progmodes/python.el (python-syntax-propertize-function):
2877 Simplify and enhance the regexp for unescaped quotes. Now it also
2878 matches quotes in weird situations like the single quote in
2879 "something\"'".
2880 (python-syntax-stringify): Simplify num-quotes detecting code.
2881
2882 2012-10-03 Glenn Morris <rgm@gnu.org>
2883
2884 * help-macro.el (three-step-help):
2885 Revert 2012-09-29 change. (Bug#12567)
2886
2887 2012-10-03 Martin Rudalics <rudalics@gmx.at>
2888
2889 * menu-bar.el (kill-this-buffer): Don't do anything when
2890 `menu-frame' is not alive or visible (Bug#8184).
2891
2892 * emacs-lisp/debug.el (debug): When quitting the debugger window
2893 restore current buffer (Bug#12502).
2894
2895 2012-10-02 Chong Yidong <cyd@gnu.org>
2896
2897 * progmodes/hideif.el (hif-lookup, hif-defined):
2898 Handle semantic-c-takeover-hideif.
2899
2900 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
2901
2902 Change sampling interval units from ms to ns.
2903 * profiler.el (profiler-sampling-interval): Change units
2904 from ms to ns, multiplying the default by 1000000 so that
2905 it remains 1 ms.
2906 (profiler-report-cpu-line-format): Give enough room for
2907 the maximum counters on 64-bit hosts.
2908 (profiler-report-render-calltree-1): Call them "CPU samples",
2909 not "Time (ms)", since they are not milliseconds now (and
2910 never really were).
2911
2912 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
2913
2914 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2915 Fix querying BBDB for entries without a last name (Bug#11580).
2916
2917 2012-10-02 Chong Yidong <cyd@gnu.org>
2918
2919 * emacs-lisp/eieio.el: Restore Version header.
2920
2921 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * vc/diff-mode.el (diff--auto-refine-data): New var.
2924 (diff-hunk): Use it to delay refinement.
2925 (diff-mode): Remove overlays when we turn off font-lock.
2926
2927 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2928 (table-initialize-table-fixed-width-mode)
2929 (table-set-table-fixed-width-mode): Remove functions.
2930 (table-command-list): Move initialization into declaration.
2931 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2932 (table-with-cache-buffer): Use `declare'.
2933 (table-span-cell): Simplify via CSE.
2934 (table-fixed-width-mode): Use define-minor-mode.
2935 (table-call-interactively, table-funcall, table-apply): Remove.
2936 (table-function): New function, to replace them.
2937
2938 * bookmark.el (bookmark-search-pattern): Remove var.
2939 (bookmark-read-search-input): Remove function.
2940 (bookmark-bmenu-search): Reimplement using a minibuffer.
2941
2942 * faces.el (modeline): Remove obsolete face name.
2943
2944 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2945 and give a non-nil default value.
2946 (add-change-log-entry): Simplify accordingly.
2947
2948 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
2949
2950 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2951 (vc-git-log-edit-toggle-amend): New function.
2952 (vc-git-log-edit-toggle-signoff): New function.
2953 (vc-git-log-edit-mode): New major mode.
2954 (vc-git-log-edit-mode-map): Keymap for it.
2955 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2956
2957 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2958 header names.
2959 (log-edit-toggle-header): New function.
2960 (log-edit-extract-headers): Accept function values in HEADERS alist.
2961
2962 2012-10-01 David Engster <deng@randomsample.de>
2963
2964 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2965 from symbol property and change message to be more consistent with
2966 Emacs proper.
2967 (eieio-describe-generic): Add filename for each implementation.
2968 Fix indices for generic and normal methods.
2969 (eieio-method-def, eieio-class-def): New buttons.
2970 (eieio-help-find-method-definition)
2971 (eieio-help-find-class-definition): New functions.
2972 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2973 class, constructor and method definitions.
2974
2975 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2976 information in symbol property.
2977 (scoped-class): Remove.
2978 (eieio-slot-name-index, call-next-method): Check if it is bound.
2979
2980 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
2981
2982 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2983 (eieio-custom-mode): New major mode.
2984 (eieio-customize-object): Use it.
2985
2986 2012-10-01 Eric Ludlam <zappo@gnu.org>
2987
2988 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2989 specifying the expected class, and whether subclassing is allowed.
2990 (eieio-persistent-convert-list-to-object):
2991 (eieio-persistent-validate/fix-slot-value)
2992 (eieio-persistent-slot-type-is-class-p): New functions.
2993 (eieio-named::slot-missing): Doc fix.
2994
2995 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2996 Stop using unused publd variable.
2997
2998 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2999 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
3000 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
3001 (eieio-speedbar-handle-click): Do not specify a class for the
3002 method. Fixes method invocation order problems with EDE.
3003
3004 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
3007 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
3008
3009 2012-10-01 Karl Fogel <kfogel@red-bean.com>
3010
3011 * bookmark.el (bookmark-version-control): Give tags in the
3012 :type choices (Bug#12309), and improve doc string.
3013 (bookmark-write-file): Bind `print-circle' to `t' to allow
3014 circular custom bookmark types. (Bug#12503)
3015
3016 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
3017
3018 Revert the FOLLOW-SYMLINKS change for file-attributes.
3019 * files.el (remote-file-name-inhibit-cache, after-find-file):
3020 * time.el (display-time-file-nonempty-p): Undo last change.
3021
3022 * profiler.el (profiler-sampling-interval): Change default back to 1.
3023 See Stefan Monnier in
3024 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
3025
3026 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
3027
3028 Shell output catching a la gud-gdb.
3029 * progmodes/python.el (python-shell-fetch-lines-in-progress)
3030 (python-shell-fetch-lines-string, python-shell-fetched-lines):
3031 New Vars.
3032 (python-shell-fetch-lines-filter): New function.
3033 (python-shell-send-string-no-output): Use them.
3034
3035 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
3036
3037 * profiler.el (profiler-sampling-interval): Rename from
3038 profiler-sample-interval.
3039 (profiler-sampling-interval): Default to 10.
3040 (profiler-find-profile): New command (was profiler-find-log).
3041 (profiler-find-profile-other-window): New command.
3042 (profiler-find-profile-other-frame): New command.
3043 (profiler-profile): Introduce API-level data structure.
3044
3045 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
3046
3047 file-attributes has a new optional arg FOLLOW-SYMLINKS.
3048 * files.el (remote-file-name-inhibit-cache):
3049 * time.el (display-time-file-nonempty-p): Use it.
3050 * files.el (after-find-file): Don't chase links before calling
3051 file-exists-p, as file-exists-p already does the right thing.
3052
3053 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
3054
3055 Merge from standalone RefTeX repository.
3056
3057 The following ChangeLog entries are shortened versions of the
3058 original ones with file paths adapted. A not so strongly edited
3059 version of the original ChangeLog can be found in the commit log.
3060
3061 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
3062 (reftex-arg-cite): Use `reftex-cite-key-separator'.
3063 Correctly handle new value type returned by `reftex-citation'.
3064
3065 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
3066 that entries with whitespace at various places are found.
3067 Doc fix. Include entries that are cross-referenced from cited entries.
3068 Include @String definitions in the resulting bib file. Add header
3069 and footer defined in `reftex-create-bibtex-header' and
3070 `reftex-create-bibtex-footer'.
3071 (reftex-do-citation): Make it possible again to insert
3072 non-existent entries. Save match data when asking for optional
3073 arguments. Return all keys, not just the first one.
3074 (reftex-all-used-citation-keys): Fix regexp to correctly extract
3075 all citations in the same line.
3076 (reftex-parse-bibtex-entry): Accept additional optional argument
3077 `raw' and keep quotes or braces if it is non-nil. Match fields
3078 containing hyphens besides word constituents.
3079 (reftex-get-string-refs): New function.
3080 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
3081 and ask if it should be reread in case it did.
3082 (reftex-pop-to-bibtex-entry)
3083 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
3084 entries with spaces or tabs in front of arguments.
3085 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
3086 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
3087 Match entries containing numbers and symbol constituents.
3088 (reftex-do-citation, reftex-figure-out-cite-format):
3089 Use `reftex-cite-key-separator'.
3090
3091 * textmodes/reftex-dcr.el: Move provide statement to end of file.
3092 (reftex-mouse-view-crossref): Explain why point is set.
3093
3094 * textmodes/reftex-global.el: Whitespace changes.
3095
3096 * textmodes/reftex-index.el: Move provide statement to end of
3097 file.
3098 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
3099 (reftex-index-visit-phrases-buffer): Set marker when visiting
3100 buffer. This allows for returning from the phrases file to the
3101 file one was just editing instead of the file where the last
3102 phrases was added from.
3103 (reftex-index-phrases-syntax-table): New variable. Give ?\"
3104 punctuation syntax as it usually is not used as string quote in
3105 TeX-related modes and may occur unmatched. The change also
3106 prevents fontification of quoted content.
3107 (reftex-index-phrases-mode): Use it.
3108
3109 * textmodes/reftex-parse.el (reftex-parse-from-file):
3110 Move backward one char if a `\' was matched after a section macro.
3111 (reftex-parse-from-file): Use beginning of match instead of end as
3112 bound.
3113
3114 * textmodes/reftex-ref.el: Adapt creation of
3115 `reftex-<package>-<macro>' functions to new structure of
3116 `reftex-ref-style-alist'.
3117 (reftex-reference): Use `reftex-ref-style-list' function.
3118 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
3119 reference macro if `reftex-ref-macro-prompt' is non-nil.
3120 (reftex-reference): Pass refstyle to `reftex-format-special'.
3121 Determine reference macro by looking at
3122 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
3123 Use only one special format function.
3124 (reftex-varioref-vref, reftex-fancyref-fref)
3125 (reftex-fancyref-Fref): Remove definitions. The functions are now
3126 generated from `reftex-ref-style-alist'.
3127 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
3128 Remove.
3129 (reftex-format-special): New function.
3130
3131 * textmodes/reftex-sel.el
3132 (reftex-select-cycle-ref-style-internal): Adapt to new structure
3133 of `reftex-ref-style-alist'. Remove code for testing macro type.
3134 (reftex-select-toggle-varioref)
3135 (reftex-select-toggle-fancyref): Remove.
3136 (reftex-select-cycle-ref-style-internal)
3137 (reftex-select-cycle-ref-style-forward)
3138 (reftex-select-cycle-ref-style-backward): New functions.
3139 (reftex-select-label-map): Use `v' and `V' for general cycling
3140 through reference styles. Add `p' for switching between number
3141 and page reference types.
3142
3143 * textmodes/reftex-toc.el (reftex-re-enlarge):
3144 Call `enlarge-window' only if there is something to do because in Emacs
3145 the horizontal version throws an error even if the parameter is 0.
3146
3147 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
3148 (reftex-plug-into-AUCTeX): Doc fix.
3149 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
3150 string. Adapt to new name.
3151 (reftex-ref-style-alist): Change structure so that it is not
3152 possible to use multiple different package names within a style.
3153 Remove the symbols for symbols for macro type distinction.
3154 Add characters for macro selection.
3155 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
3156 (reftex-create-bibtex-footer): New variables.
3157 (reftex-format-ref-function): Mention third argument of special
3158 format function.
3159 (reftex-ref-style-alist, reftex-ref-style-default-list):
3160 New variables.
3161 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
3162 to new implementation. Mark as obsolete. Add compatibility code
3163 for honoring the variable values in case they are set.
3164 (reftex-cite-format-builtin, reftex-bibliography-commands):
3165 Add support for ConTeXt.
3166 (reftex-format-ref-function, reftex-format-cite-function):
3167 Fix custom type.
3168 (reftex-cite-key-separator): New variable.
3169
3170 * textmodes/reftex.el (reftex-syntax-table-for-bib)
3171 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
3172 `reftex-syntax-table' because parens have to retain their paren
3173 syntax in order for parsing of BibTeX entries like @book(...) to
3174 work.
3175 (reftex-in-comment): Do not error out if `comment-start-skip' is
3176 not set. Deal correctly with escaped comment characters.
3177 (reftex-tie-multifile-symbols): Add doc string.
3178 Initialize `reftex-ref-style-list'.
3179 (reftex-untie-multifile-symbols): Add doc string.
3180 (reftex-add-index-macros): Doc fix.
3181 (reftex-ref-style-activate, reftex-ref-style-toggle)
3182 (reftex-ref-style-list): New functions.
3183 (reftex-mode-menu): Use them. Adapt to new structure of
3184 `reftex-ref-style-alist'.
3185 (reftex-select-with-char): Kill the RefTeX Select buffer when
3186 done.
3187 (reftex-remove-if): New function.
3188 (reftex-erase-all-selection-and-index-buffers)
3189 (reftex-mode-menu): Reference styles are now computed from
3190 `reftex-ref-style-alist'. Fix typo.
3191 (reftex-report-bug): New function.
3192 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
3193 algorithms with O(n log n). Introduce optional argument SORT (not
3194 yet used).
3195
3196 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
3197
3198 Enhancements for triple-quote string syntax.
3199 * progmodes/python.el (python-syntax-propertize-function):
3200 Match both quote cases in one regexp.
3201 (python-syntax-stringify): Handle matches properly.
3202
3203 2012-09-30 Juri Linkov <juri@jurta.org>
3204
3205 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
3206 to nil around the call to `insert' to prevent
3207 directory time modification by lock_file. (Bug#2295)
3208 * tar-mode.el (tar-summarize-buffer): Idem.
3209
3210 2012-09-30 Juri Linkov <juri@jurta.org>
3211
3212 * facemenu.el (list-colors-sort): Add option "Luminance".
3213 (list-colors-sort-key): Implement it.
3214
3215 * vc/diff-mode.el (diff-refine-removed):
3216 * vc/ediff-init.el (ediff-fine-diff-A):
3217 * vc/smerge-mode.el (smerge-refined-removed):
3218 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
3219
3220 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
3221
3222 * term/ns-win.el (x-file-dialog): New function.
3223
3224 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
3225
3226 * ido.el (ido-max-directory-size): Default to nil; the current
3227 default is small for POSIX systems, and impractical on Windows 7
3228 now that lstat returns directory sizes for NTFS.
3229
3230 2012-09-30 Martin Rudalics <rudalics@gmx.at>
3231
3232 In buffer display functions handle window-height/window-width
3233 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
3234 * window.el (window--display-buffer): New argument ALIST.
3235 Obey window-height and window-width alist entries.
3236 (window--try-to-split-window): New argument ALIST.
3237 Bind window-combination-limit to t when the window's size shall be
3238 changed and window-combination-limit equals `window-size'.
3239 (display-buffer-in-atom-window)
3240 (display-buffer-in-major-side-window)
3241 (display-buffer-in-side-window, display-buffer-same-window)
3242 (display-buffer-reuse-window, display-buffer-pop-up-frame)
3243 (display-buffer-pop-up-window, display-buffer-below-selected)
3244 (display-buffer-at-bottom, display-buffer-in-previous-window)
3245 (display-buffer-use-some-window): Adjust all callers of
3246 window--display-buffer and window--try-to-split-window.
3247 (fit-frame-to-buffer): New option.
3248 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
3249 is non-nil.
3250 (display-buffer-in-major-side-window): Evaluate window-height /
3251 window-width alist entries.
3252
3253 * help.el (temp-buffer-resize-frames)
3254 (temp-buffer-resize-regexps): Remove options.
3255 (temp-buffer-resize-mode): Adjust doc-string.
3256 (resize-temp-buffer-window): Don't consult
3257 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
3258 temp-buffer-resize-frames.
3259
3260 * dired.el (dired-mark-pop-up):
3261 Call display-buffer-below-selected with a fit-window-to-buffer alist
3262 entry.
3263
3264 2012-09-30 Chong Yidong <cyd@gnu.org>
3265
3266 * server.el (server-host): Document the security implications.
3267 (server-auth-key): Doc fix.
3268
3269 * startup.el (initial-buffer-choice): Doc fix.
3270
3271 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
3272
3273 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
3274 restriction change.
3275
3276 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
3277
3278 * help-fns.el (help-fns--obsolete): Fix last change.
3279
3280 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
3281
3282 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
3283 (minor-mode-map-alist): Remove redundant code.
3284
3285 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
3286 visited in a buffer.
3287 (cvs-insert-visited-file): New function.
3288 (find-file-hook): Use it.
3289
3290 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
3291
3292 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
3293 chose face.
3294 (log-edit-empty-buffer-p): Don't require a space after a header.
3295
3296 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
3297
3298 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
3299
3300 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
3301 a proper minor-mode.
3302
3303 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
3304
3305 2012-09-29 Glenn Morris <rgm@gnu.org>
3306
3307 * winner.el (winner-mode): Remove variable (let define-minor-mode
3308 handle it).
3309 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
3310 Doc fixes.
3311 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
3312 (winner-mode): Use define-minor-mode.
3313
3314 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
3315 the full definition in loaddefs, rather than duplicating it.
3316
3317 * help-macro.el (three-step-help): No need to autoload defcustom.
3318
3319 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3320 (inferior-lisp-program, inferior-lisp-load-command)
3321 (inferior-lisp-prompt, inferior-lisp-mode-hook):
3322 No need to autoload defcustoms.
3323
3324 * hippie-exp.el (hippie-expand-try-functions-list)
3325 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
3326 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
3327 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
3328 (hippie-expand-only-buffers): No need to autoload defcustoms.
3329 * progmodes/vhdl-mode.el (vhdl-line-expand):
3330 Explicitly load hippie-exp, so it does not get autoloaded
3331 while hippie-expand-try-functions-list is let-bound.
3332
3333 2012-09-28 Glenn Morris <rgm@gnu.org>
3334
3335 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
3336
3337 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
3338 Only "cl.el" counts as cl these days.
3339
3340 2012-09-28 Juri Linkov <juri@jurta.org>
3341
3342 Display archive errors in the echo area instead of inserting
3343 to the file buffer.
3344
3345 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
3346 to STDERR-TEST that can be a regexp matching a successful output.
3347 Create a temporary file and redirect stderr to it. Search for
3348 STDERR-TEST in the stderr output and display it in the echo area
3349 if no match is found.
3350 (archive-extract-by-file): New function like
3351 `archive-extract-by-stdout' but extracting archives to files
3352 and looking for successful matches in stdout. Function body is
3353 mostly copied from `archive-rar-extract'.
3354 (archive-rar-extract): Use `archive-extract-by-file'.
3355 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
3356
3357 2012-09-28 Leo Liu <sdl.web@gmail.com>
3358
3359 * pcomplete.el (pcomplete-show-completions):
3360 Use minibuffer-message to make pcomplete usable in minibuffer.
3361
3362 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
3363
3364 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * type-break.el: Use lexical-binding.
3367 (type-break-mode): Use define-minor-mode.
3368
3369 * emacs-lisp/pcase.el (pcase--mark-used): New.
3370 (pcase--u1): Use it (bug#12512).
3371
3372 * custom.el (load-theme): Set buffer-file-name so the load is recorded
3373 in load-history with the right file name.
3374
3375 2012-09-28 Tassilo Horn <tsdh@gnu.org>
3376
3377 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
3378 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
3379 (doc-view-get-bounding-box): Make bounding box slicing work for
3380 ODF and DVI documents.
3381
3382 2012-09-28 Glenn Morris <rgm@gnu.org>
3383
3384 * type-break.el (type-break-mode, type-break-interval)
3385 (type-break-good-rest-interval, type-break-keystroke-threshold):
3386 No need to autoload.
3387 (type-break-good-rest-interval, type-break-keystroke-threshold):
3388 Add :set-after.
3389
3390 2012-09-28 Chong Yidong <cyd@gnu.org>
3391
3392 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
3393 Add :version tag.
3394
3395 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3396
3397 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
3398
3399 2012-09-27 Glenn Morris <rgm@gnu.org>
3400
3401 * faces.el (x-display-name): Declare (for without-x builds).
3402
3403 * linum.el (linum-format): Don't autoload it. Improve :type.
3404
3405 * progmodes/tcl.el: Don't require outline when compiling.
3406 (outline-regexp, outline-level): Declare.
3407 * textmodes/sgml-mode.el: Don't require outline when compiling.
3408 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
3409
3410 * term.el (term-ansi-reset):
3411 Try setting term-ansi-face-already-done to nil. (Bug#11785)
3412
3413 * vc/vc.el (vc-next-action): Only gripe about committing read-only
3414 files for RCS and SCCS. (Bug#9781)
3415
3416 2012-09-27 Chong Yidong <cyd@gnu.org>
3417
3418 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
3419 change; value should be t.
3420
3421 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
3422
3423 * image-mode.el: Use lexical-binding.
3424 (image-mode-winprops): Use t to stand for the window of
3425 a buffer that's not displayed.
3426 * doc-view.el (doc-view-new-window-function): Handle the new
3427 t in winprops.
3428 (doc-view-enlarge): Make it a real nop if the size is not changed.
3429 (doc-view-display): Handle the case where the buffer is not (yet?)
3430 displayed in any window.
3431 (doc-view-saved-settings): New var.
3432 (doc-view-mode): Use it.
3433 (doc-view-fallback-mode): Set it.
3434
3435 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
3436 Set lexical-binding.
3437 (minibuffer-eldef-shorten-default): New var.
3438 (minibuffer-default-in-prompt-regexps): Use it for new default.
3439 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
3440
3441 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3442
3443 * international/uni-bidi.el:
3444 * international/uni-category.el:
3445 * international/uni-name.el:
3446 * international/uni-numeric.el: Regenerate.
3447
3448 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
3449 Stefan Monnier <monnier@iro.umontreal.ca>
3450
3451 * profiler.el: New file.
3452
3453 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
3456 (testcover-reinstrument): Simplify with CSE.
3457
3458 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
3459
3460 * window.el (temp-buffer-window-setup): Fix typo in docstring.
3461
3462 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
3463
3464 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
3465 (verilog-auto-input, verilog-auto-insert-lisp)
3466 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
3467 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
3468 (verilog-auto-unused, verilog-auto-wire)
3469 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
3470 newline. Reported by Andrew Jones.
3471 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
3472 Reported by Brad Dobbie.
3473 (verilog-batch-delete-trailing-whitespace):
3474 Create verilog-batch-delete-trailing-whitespace.
3475 Reported by Brad Dobbie.
3476 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
3477 parameters from another module. Reported by Dan Katz.
3478 (verilog-auto, verilog-auto-assign-modport)
3479 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
3480 AUTOINOUTMODPORT for UVM interface module shell generation.
3481 Reported by Brad Dobbie.
3482 (verilog-auto-inst-interfaced-ports): Make default nil, as more
3483 standard behavior.
3484 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
3485 Reported by Matt Martin.
3486
3487 2012-09-25 Martin Rudalics <rudalics@gmx.at>
3488
3489 * window.el (window--resize-child-windows): When resizing child
3490 windows proportionally, process them in reverse order to
3491 preserve the "when splitting a window the new one gets the odd
3492 line" behavior.
3493 (window--resize-root-window-vertically): When resizing the
3494 minibuffer window try to affect only windows at the bottom of the
3495 frame. (Bug#12419)
3496
3497 2012-09-25 Chong Yidong <cyd@gnu.org>
3498
3499 * subr.el (declare): Doc fix.
3500
3501 * help-fns.el (help-fns--obsolete): Handle macros properly.
3502
3503 2012-09-25 Chong Yidong <cyd@gnu.org>
3504
3505 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
3506 this function obsolete.
3507
3508 * calendar/cal-x.el (calendar-two-frame-setup)
3509 (calendar-only-one-frame-setup, calendar-one-frame-setup):
3510 * calendar/calendar.el (american-calendar, european-calendar)
3511 (calendar-for-loop):
3512 * comint.el (comint-dynamic-simple-complete)
3513 (comint-dynamic-complete-as-filename, comint-unquote-filename):
3514 * desktop.el (desktop-load-default):
3515 * dired-x.el (dired-omit-here-always)
3516 (dired-hack-local-variables, dired-default-directory):
3517 * emacs-lisp/derived.el (derived-mode-class):
3518 * emacs-lisp/timer.el (timer-set-time-with-usecs):
3519 * emacs-lock.el (toggle-emacs-lock):
3520 * epa.el (epa-display-verify-result):
3521 * epg.el (epg-sign-keys, epg-start-sign-keys)
3522 (epg-passphrase-callback-function):
3523 * eshell/esh-util.el (eshell-for):
3524 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
3525 (eshell-add-to-window-buffer-names):
3526 * files.el (locate-file-completion):
3527 * imenu.el (imenu-example--create-c-index)
3528 (imenu-example--create-lisp-index)
3529 (imenu-example--lisp-extract-index-name)
3530 (imenu-example--name-and-position):
3531 * international/mule-cmds.el (princ-list):
3532 * international/mule-diag.el (decode-codepage-char):
3533 * international/mule-util.el (detect-coding-with-priority):
3534 * iswitchb.el (iswitchb-read-buffer):
3535 * mail/mailalias.el (mail-complete):
3536 * mail/sendmail.el (mail-sent-via):
3537 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
3538 (mouse-major-mode-menu):
3539 * password-cache.el (password-read-and-add):
3540 * pcomplete.el (pcomplete-parse-comint-arguments):
3541 * progmodes/sh-script.el (sh-maybe-here-document):
3542 * replace.el (query-replace-regexp-eval):
3543 * savehist.el (savehist-load):
3544 * simple.el (choose-completion-delete-max-match):
3545 * term.el (term-dynamic-simple-complete):
3546 * vc/ediff-init.el (ediff-check-version):
3547 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
3548 * vc/vc.el (vc-diff-switches-list):
3549 * view.el (view-return-to-alist-update): Likewise.
3550
3551 * subr.el (eval-next-after-load, makehash, insert-string)
3552 (assoc-ignore-representation, assoc-ignore-case): Use declare to
3553 mark obsolete.
3554 (mode-line-inverse-video): Variable deleted.
3555
3556 * international/mule-util.el (string-to-sequence): Remove.
3557
3558 * calendar/calendar.el (calendar-version):
3559 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
3560 (icalendar-convert-diary-to-ical):
3561 * cus-edit.el (custom-mode):
3562 * ansi-color.el (ansi-color-unfontify-region):
3563 * international/latin1-disp.el (latin1-char-displayable-p):
3564 * progmodes/cwarn.el (turn-on-cwarn-mode):
3565 * progmodes/which-func.el (which-func-update-1):
3566 Use define-obsolete-function-alias.
3567
3568 * net/newst-backend.el (newsticker-cache-filename):
3569 * net/newst-treeview.el (newsticker-groups-filename):
3570 Fix incorrect obsolescence declaration.
3571
3572 * allout.el (allout-passphrase-hint-string): Likewise.
3573 (allout-init): Use a declare form to mark obsolete.
3574
3575 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
3576 this applies to functions.
3577
3578 * iswitchb.el (iswitchb-read-buffer): Move code of
3579 iswitchb-define-mode-map here, and delete that obsolete function.
3580
3581 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
3582 font-lock-reference-face.
3583
3584 2012-09-25 Glenn Morris <rgm@gnu.org>
3585
3586 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
3587 Doc fixes.
3588
3589 * eshell/em-term.el (eshell-term-name):
3590 Default to term-term-name. (Bug#12485)
3591
3592 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3593
3594 * progmodes/python.el (python-shell-send-buffer): Better handling
3595 of "if __name__ == '__main__':" conditionals when sending the buffer.
3596
3597 2012-09-24 Glenn Morris <rgm@gnu.org>
3598
3599 * eshell/esh-cmd.el (eshell-find-alias-function):
3600 Tighten up file-name regexp. (Bug#12499)
3601
3602 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
3603
3604 Enhancements for triple-quote string syntax.
3605 * progmodes/python.el (python-quote-syntax): Remove.
3606 (python-syntax-propertize-function): New value.
3607 (python-syntax-count-quotes, python-syntax-stringify):
3608 New functions.
3609
3610 2012-09-24 Chong Yidong <cyd@gnu.org>
3611
3612 * mail/supercite.el (sc-version): Remove obsolete function.
3613 (sc-describe): Don't mark as obsolete, since it is bound.
3614 (sc-submit-bug-report): Remove.
3615
3616 * vc/log-edit.el (cvs-changelog-full-paragraphs)
3617 (cvs-commit-buffer-require-final-newline): Remove.
3618 (log-edit-require-final-newline)
3619 (log-edit-changelog-full-paragraphs): Default to t.
3620
3621 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
3622 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
3623 * vc/vc.el (vc-checkout-carefully): Likewise.
3624
3625 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
3626 (emerge-version): Remove.
3627
3628 * progmodes/compile.el (compile-internal): Remove.
3629 (compilation-parse-errors-function): Fix typo.
3630
3631 * international/mule.el (set-char-table-default): Remove.
3632 (set-coding-priority, make-coding-system, generic-char-p)
3633 (charset-list, charset-bytes, charset-id): Use declare to mark
3634 functions as obsolete.
3635
3636 * vc/pcvs-defs.el (cvs-buffer-name-alist)
3637 (cvs-invert-ignore-marks): Remove references to obsolete vars.
3638 * vc/vc-hooks.el (vc-default-registered): Don't use
3639 vc-master-templates.
3640
3641 * font-lock.el (font-lock-reference-face):
3642 Use define-obsolete-variable-alias.
3643
3644 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3645 * calendar/calendar.el (calendar-font-lock-keywords):
3646 * calendar/diary-lib.el (diary-font-lock-keywords)
3647 (diary-fancy-font-lock-keywords):
3648 * textmodes/reftex-sel.el (reftex-insert-docstruct):
3649 * textmodes/reftex-index.el (reftex-insert-index):
3650 * textmodes/reftex-cite.el (reftex-format-bib-entry):
3651 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3652 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3653 * progmodes/prolog.el (prolog-font-lock-keywords):
3654 * progmodes/idlwave.el (idlwave-idl-keywords):
3655 * progmodes/ada-mode.el (ada-font-lock-keywords):
3656 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3657
3658 2012-09-24 Glenn Morris <rgm@gnu.org>
3659
3660 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3661
3662 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
3663
3664 * progmodes/python.el (python-indent-line): More consistent cursor
3665 movement behavior.
3666
3667 2012-09-23 Stefan Merten <smerten@oekonux.de>
3668
3669 * textmodes/rst.el: Fix compiler warning.
3670
3671 2012-09-23 Roland Winkler <winkler@gnu.org>
3672
3673 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3674 Transcribe also LaTeX hyphenation.
3675 (bibtex-reformat): Bug fix. Do not quote twice the elements of
3676 bibtex-reformat-previous-options.
3677
3678 2012-09-23 Roland Winkler <winkler@gnu.org>
3679
3680 * proced.el (proced-renice-command): New variable.
3681 (proced-marked-processes): New function.
3682 (proced-with-processes-buffer): New macro.
3683 (proced-send-signal): Use them.
3684 (proced-renice): New command bound to r.
3685
3686 2012-09-23 Roland Winkler <winkler@gnu.org>
3687
3688 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3689 ibuffer-saved-filter-groups has one element, shortcut the call of
3690 completing-read. (Bug#12331)
3691
3692 2012-09-23 Chong Yidong <cyd@gnu.org>
3693
3694 * bindings.el (mode-line-toggle-read-only):
3695 * bs.el (bs-toggle-readonly):
3696 * buff-menu.el (Buffer-menu-toggle-read-only):
3697 * dired.el (dired-toggle-read-only):
3698 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3699
3700 2012-09-23 Chong Yidong <cyd@gnu.org>
3701
3702 * image.el (image-type-available-p): Adapt to init-image-library
3703 argument changes.
3704
3705 2012-09-22 Juri Linkov <juri@jurta.org>
3706
3707 * dired.el (dired-mode-map): Add [remap read-only-mode] for
3708 `dired-toggle-read-only'. (Bug#12462)
3709
3710 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3711
3712 * subr.el (temp-output-buffer-show): New function.
3713 (with-output-to-temp-buffer): Call temp-output-buffer-show
3714 instead of internal-temp-output-buffer-show.
3715
3716 2012-09-22 Chong Yidong <cyd@gnu.org>
3717
3718 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3719 (Bug#12462).
3720
3721 * repeat.el (repeat): Doc fix (Bug#12348).
3722
3723 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3724 (Bug#10909).
3725
3726 * simple.el (shell-command-on-region): Doc fix.
3727 (read-only-mode): Doc fix.
3728
3729 2012-09-22 Eli Zaretskii <eliz@gnu.org>
3730
3731 * emacs-lisp/timer.el (run-with-idle-timer)
3732 (timer-activate-when-idle): Warn against reinvoking an idle timer
3733 from within its own timer action. (Bug#12447)
3734
3735 2012-09-22 Martin Rudalics <rudalics@gmx.at>
3736
3737 * cus-start.el (window-combination-limit): Add new optional
3738 values.
3739 * window.el (temp-buffer-window-show)
3740 (window--try-to-split-window): Handle new values of
3741 window-combination-limit (Bug#1806).
3742 (split-window): Test window-combination-limit for t instead of
3743 non-nil.
3744 (display-buffer-at-bottom): New buffer display action function.
3745 * help.el (temp-buffer-resize-regexps): New option.
3746 (temp-buffer-resize-mode): Rewrite doc-string.
3747 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3748 Don't resize reused window. Suggested by Glenn Morris.
3749
3750 2012-09-22 Stefan Merten <smerten@oekonux.de>
3751
3752 * textmodes/rst.el: Revamp section title faces.
3753 (rst-official-version)
3754 (rst-package-emacs-version-alist): Sync with official version
3755 V1.4.0.
3756 (rst-faces-defaults, rst-set-level-default)
3757 (rst-level-face-max, rst-level-face-base-color)
3758 (rst-level-face-base-light, rst-level-face-format-light)
3759 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3760 (rst-adornment-faces-alist): Match new setup.
3761 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3762 (rst-level-5, rst-level-6): New faces.
3763
3764 2012-09-22 Chong Yidong <cyd@gnu.org>
3765
3766 * simple.el (undo): Handle indirect buffers (Bug#8207).
3767
3768 2012-09-21 Leo Liu <sdl.web@gmail.com>
3769
3770 IDO: Disable match re-ordering for buffer switching.
3771 * ido.el (ido-buffer-disable-smart-matches): New variable.
3772 (ido-set-matches-1): Use it. (Bug#2042)
3773
3774 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
3775
3776 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3777 Fix 2011-05-17 change. (Bug#12418)
3778
3779 2012-09-21 Leo Liu <sdl.web@gmail.com>
3780
3781 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3782
3783 2012-09-21 Glenn Morris <rgm@gnu.org>
3784
3785 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3786 Be more robust about locating simple.el.
3787
3788 2012-09-21 Glenn Morris <rgm@gnu.org>
3789
3790 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3791
3792 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
3793
3794 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
3795
3796 2012-09-20 Juri Linkov <juri@jurta.org>
3797
3798 * replace.el (query-replace-read-from): Use `read-regexp' instead
3799 of `read-from-minibuffer' when `regexp-flag' is non-nil.
3800 (occur-read-primary-args): Use `read-regexp' instead of
3801 `read-string'.
3802 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3803 `read-from-minibuffer'.
3804 * isearch.el (isearch-occur): Use `read-regexp' instead of
3805 `read-string'.
3806 * dired.el (dired-read-regexp): Use `read-regexp' instead of
3807 `read-from-minibuffer'.
3808 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3809 of `read-string'. (Bug#7567)
3810
3811 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3812 and allow accepting a list of strings prepended to a list of
3813 standard default values. Doc fix. (Bug#12321)
3814
3815 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
3816
3817 * replace.el (read-regexp): Don't add ": " when PROMPT already
3818 ends with a colon and space. (Bug#12321)
3819
3820 2012-09-20 Tassilo Horn <tsdh@gnu.org>
3821
3822 * doc-view.el (doc-view-display): Better fix for the cl-assertion
3823 error.
3824
3825 2012-09-20 Stefan Merten <smerten@oekonux.de>
3826
3827 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3828 Fixes feature request bug#11711.
3829 (rst-mode): Create `imenu-create-index-function'.
3830 (rst-get-stripped-line): Delete after refactoring.
3831 (rst-section-tree, rst-section-tree-rec)
3832 (rst-section-tree-point): Refactor and document properly.
3833 (rst-imenu-find-adornments-for-position)
3834 (rst-imenu-convert-cell, rst-imenu-create-index):
3835 New function.
3836
3837 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3838
3839 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3840 (macroexp--expand-all): Use it.
3841 (macroexp--funcall-and-return): Remove by folding it into its sole
3842 caller (macroexp--warn-and-return).
3843 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3844 Use macroexp--obsolete-warning.
3845
3846 * calc/calc.el: Fix last change by removing the whole chunk, since it
3847 was only needed back when Calc was not bundled.
3848
3849 2012-09-20 Martin Rudalics <rudalics@gmx.at>
3850
3851 * emacs-lisp/debug.el (debug): Restore assignment to
3852 debugger-old-buffer removed on 2012-09-08.
3853
3854 2012-09-20 Juri Linkov <juri@jurta.org>
3855
3856 * dired-aux.el (dired-diff): Remove (require 'diff) since
3857 `diff-latest-backup-file' is now autoloaded.
3858
3859 2012-09-20 Chong Yidong <cyd@gnu.org>
3860
3861 * vc/diff.el (diff-latest-backup-file): Autoload.
3862
3863 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
3864
3865 * calc/calc.el: Remove redundant autoload shape check.
3866 (sel-mode): Don't defvar.
3867 (calc-get-stack-element): Add `sel-mode' arg instead.
3868 (calc-top, calc-top-list): Pass it this additional argument.
3869 * calc/calc-store.el (calc-store-map):
3870 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3871 (calc-map-equation, calc-outer-product, calc-inner-product):
3872 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3873
3874 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3875
3876 2012-09-19 Juri Linkov <juri@jurta.org>
3877
3878 * dired-aux.el (dired-diff): Add (require 'diff) because
3879 `diff-latest-backup-file' is not autoloaded.
3880 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3881 of `dired-get-filename' to t to not report error when there is
3882 no default file on the current line.
3883
3884 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
3885
3886 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3887 macroexp--eval-if-compile.
3888 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3889 (macroexp--expand-all): Use them (bug#12371).
3890
3891 * doc-view.el (doc-view-guess-paper-size)
3892 (doc-view-scale-bounding-box): Fix unbound `caddr'.
3893
3894 2012-09-19 Tassilo Horn <tsdh@gnu.org>
3895
3896 New feature: set optimal slice from BoundingBox information.
3897 * doc-view.el (doc-view-mode-map): Add keybinding.
3898 (doc-view-menu): Add menu entry.
3899 (doc-view-set-slice): Adapt docstring.
3900 (doc-view-get-bounding-box, doc-view-guess-paper-size)
3901 (doc-view-scale-bounding-box)
3902 (doc-view-set-slice-from-bounding-box): New functions.
3903 (doc-view-paper-sizes): New defvar.
3904
3905 2012-09-19 Glenn Morris <rgm@gnu.org>
3906
3907 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3908 (byte-compile-log-warning): Autoload. (Bug#12371)
3909
3910 * calendar/calendar.el (calendar-american-month-header)
3911 (calendar-european-month-header, calendar-iso-month-header)
3912 (calendar-month-header): New options.
3913 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
3914 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
3915
3916 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
3917
3918 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3919
3920 2012-09-18 Juri Linkov <juri@jurta.org>
3921
3922 * dired-aux.el (dired-diff): Restore original functionality of
3923 getting the default value, but keep new feature of using the
3924 latest existing backup file (`diff-latest-backup-file').
3925
3926 2012-09-18 Juri Linkov <juri@jurta.org>
3927
3928 * dired.el (dired-mark): If the region is active in Transient Mark
3929 mode, mark all files in the active region. Doc fix.
3930 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3931 Doc fix. (Bug#10624)
3932
3933 2012-09-18 Juri Linkov <juri@jurta.org>
3934
3935 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3936 attributes for M-n are pulled from the file at point.
3937 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3938 Suggested by Drew Adams. (Bug#10624)
3939
3940 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
3941
3942 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3943 whitespace after "end".
3944 (ruby-do-end-to-brace): Collapse block to one line if it fits
3945 within fill-column.
3946
3947 2012-09-18 Martin Rudalics <rudalics@gmx.at>
3948
3949 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3950 value.
3951 (debug): Don't remove debugger window when debugger is expected
3952 to be back.
3953
3954 2012-09-18 Chong Yidong <cyd@gnu.org>
3955
3956 * custom.el (defface): Doc fix.
3957
3958 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3959
3960 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
3961
3962 * progmodes/compile.el (compilation-start): Use compilation-always-kill
3963 to initialize query-on-exit; then test that instead (bug#12288).
3964
3965 2012-09-17 Stefan Merten <smerten@oekonux.de>
3966
3967 * textmodes/rst.el: Add support for `testcover'.
3968 (rst-defcustom-testcover, rst-testcover-add-compose)
3969 (rst-testcover-add-1value): New functions.
3970 (rst-portable-mark-active-p): Replace by `use-region-p'.
3971 (rst-update-section, rst-classify-adornment)
3972 (rst-find-title-line): Mark `1value' forms.
3973 (rst-classify-adornment): Remove superfluous form.
3974 (rst-update-section, rst-get-adornments-around)
3975 (rst-adornment-complete-p, rst-get-next-adornment)
3976 (rst-adjust, rst-promote-region)
3977 (rst-display-adornments-hierarchy, rst-straighten-adornments)
3978 (rst-find-pfx-in-region, rst-section-tree-rec)
3979 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3980 (rst-toc-node, rst-toc, rst-forward-section)
3981 (rst-iterate-leftmost-paragraphs)
3982 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3983 (rst-bullet-list-region)
3984 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3985 (rst-compile-find-conf, rst-compile)
3986 (rst-repeat-last-character): Fix style.
3987
3988 2012-09-17 Chong Yidong <cyd@gnu.org>
3989
3990 * comint.el (comint--complete-file-name-data): Don't add a space
3991 if the status is `sole'; that adds a gratuitous space in the
3992 completion-cycling case (Bug#12092).
3993
3994 * pcomplete.el (pcomplete-completions-at-point): Likewise.
3995
3996 2012-09-17 Richard Stallman <rms@gnu.org>
3997
3998 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3999 only in the mime-shown mode, not in raw mode.
4000 (rmail-mime): Toggle off mime by displaying the message without
4001 mime processing. (Bug#12305)
4002
4003 * mail/rmail.el (rmail-retry-failure):
4004 Turn off mime processing first. (Bug#12037)
4005
4006 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
4007
4008 2012-09-17 Chong Yidong <cyd@gnu.org>
4009
4010 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
4011 (shell-dynamic-complete-functions): Convert to defcustom.
4012 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
4013
4014 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
4015 * comint.el (comint-prompt-read-only):
4016 * custom.el (defcustom):
4017 * hi-lock.el (hi-lock-mode):
4018 * ibuffer.el (ibuffer-formats):
4019 * ielm.el (ielm-prompt-read-only):
4020 * novice.el (disable-command):
4021 * saveplace.el (toggle-save-place):
4022 * speedbar.el (speedbar-supported-extension-expressions):
4023 * startup.el (auto-save-list-file-prefix, init-file-user)
4024 (after-init-hook, inhibit-startup-echo-area-message):
4025 * strokes.el (strokes-help):
4026 * time-stamp.el (time-stamp):
4027 * calendar/calendar.el (calendar, diary-file):
4028 * calendar/diary-lib.el (diary-mail-entries, diary)
4029 (diary-list-entries-hook):
4030 * calendar/holidays.el (holidays, calendar-holidays):
4031 * calendar/lunar.el (lunar-phases):
4032 * calendar/solar.el (sunrise-sunset):
4033 * emulation/edt.el (edt-load-keys):
4034 * emulation/viper.el (viper-mode):
4035 * eshell/em-alias.el (eshell-command-aliases-list):
4036 * eshell/esh-util.el (eshell-convert-numeric-arguments):
4037 * international/ogonek.el (ogonek-information):
4038 * net/tramp-cmds.el (tramp-bug):
4039 * net/quickurl.el (quickurl-reread-hook-postfix):
4040 * play/decipher.el (decipher-font-lock-keywords):
4041 * progmodes/cc-styles.el (c-set-style):
4042 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
4043 * progmodes/inf-lisp.el (inferior-lisp-prompt):
4044 * progmodes/octave-mod.el (octave-mode):
4045 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
4046 * progmodes/verilog-mode.el (verilog-read-defines):
4047 * textmodes/two-column.el (2C-mode): Likewise.
4048
4049 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
4050
4051 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
4052 that holds many addresses.
4053
4054 2012-09-16 Chong Yidong <cyd@gnu.org>
4055
4056 * align.el (align-areas): Call the indication function with
4057 positions instead of markers for arguments (Bug#12343).
4058
4059 * files.el (parse-colon-path): Use split-string (Bug#12351).
4060
4061 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4062 (display-buffer-function): Mark as obsolete.
4063
4064 * progmodes/compile.el (compilation-parse-errors): Accept list
4065 values similar to font-lock-keywords (Bug#12136).
4066 Suggested by Oleksandr Manzyuk.
4067 (compilation-error-regexp-alist): Doc fix.
4068
4069 2012-09-15 Glenn Morris <rgm@gnu.org>
4070
4071 * version.el (emacs-bzr-version-bzr): New function.
4072 (emacs-bzr-get-version): Add optional EXTERNAL argument.
4073
4074 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
4075 checkouts, check the parent dirstate matches the branch.
4076 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
4077 empty string.
4078
4079 * version.el (emacs-bzr-version): Doc fix.
4080 (emacs-bzr-version-dirstate): New function.
4081 (emacs-bzr-get-version): For lightweight checkouts, if the parent
4082 is local try and check that it matches the branch. If not, just
4083 use dirstate information. (Bug#12441)
4084
4085 2012-09-14 Juri Linkov <juri@jurta.org>
4086
4087 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
4088 (Bug#12399)
4089
4090 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
4091
4092 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
4093
4094 * emacs-lisp/edebug.el: Miscellaneous cleanup.
4095 Remove obsolete byte-compiler hack that tried to silence some warnings.
4096 (edebug-submit-bug-report): Remove.
4097 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
4098 Remove aliases, use the un-prefixed name instead.
4099 (edebug-pop-to-buffer): Consider other frames.
4100 (edebug-original-read):: Make it more obvious that it's always defined.
4101 (edebug--make-form-data-entry, edebug--form-data-name)
4102 (edebug--form-data-begin, edebug--form-data-end): Rename from the
4103 single-dashed name, and implement with cl-defstruct.
4104 (edebug-set-form-data-entry): Use the standard accessors.
4105 (edebug-make-top-form-data-entry): Use push.
4106 (edebug-no-match): Drop useless `funcall'.
4107 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
4108 to functions.
4109 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
4110 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
4111 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
4112 (easy-menu-define, with-custom-print): Remove redundant specs.
4113 (edebug-outside-overriding-local-map)
4114 (edebug-outside-overriding-terminal-local-map): Remove, unused.
4115 (edebug--display): Bind unread-command-events directly to nil rather
4116 than binding it to unread-command-events and later setting it to nil.
4117 (edebug--display): Kill edebug-eval-buffer here...
4118 (edebug--recursive-edit): ...rather than here.
4119 Bind standard-output and standard-input.
4120 (edebug-eval): Check cl-macroexpand-all is fboundp.
4121 (edebug-temp-display-freq-count): Fix last change.
4122
4123 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
4124 * subr.el (noreturn, 1value): Add `debug' spec.
4125 * emacs-lisp/advice.el: Require cl-lib.
4126 (ad-copy-tree): Remove, use copy-tree instead.
4127 (ad-dolist): Remove use dolist or cl-dolist instead.
4128 (ad-do-return): Remove, use cl-return instead.
4129 (defadvice): Add `debug' spec.
4130
4131 2012-09-13 Juri Linkov <juri@jurta.org>
4132
4133 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
4134 (Bug#12399)
4135
4136 2012-09-13 Glenn Morris <rgm@gnu.org>
4137
4138 * calc/calc.el (math-compose-expr):
4139 * calc/calc-ext.el (math-compose-expr):
4140 * progmodes/cc-defs.el (cl-macroexpand-all):
4141 * progmodes/cc-langs.el (delete-duplicates, mapcan)
4142 (cl-macroexpand-all): Update declarations.
4143
4144 * vc/vc.el: No need to require ediff.
4145 (ediff-load-version-control): Declare.
4146 (ediff-vc-internal): Fix declaration.
4147 (vc-version-ediff): Require ediff.
4148
4149 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4150
4151 Use a more backwards-compatible timer format (Bug#12430).
4152 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
4153 being right after USECS, as that better supports old code that
4154 inadvisedly looked directly at the timer vector.
4155
4156 2012-09-13 Kenichi Handa <handa@gnu.org>
4157
4158 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4159 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
4160 `coding-priority' property of these language environment.
4161
4162 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
4163
4164 Fix glitches caused by addition of psec to timers (Bug#12430).
4165 * image.el (image-animate-timer):
4166 * time.el (display-time-world-timer):
4167 Use timer--function and timer--args rather than raw access to
4168 timer vector.
4169
4170 2012-09-13 Glenn Morris <rgm@gnu.org>
4171
4172 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
4173 If not compiling a file, try using load-file-name.
4174
4175 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
4178 Fix last change.
4179 (edebug-update-eval-list): Use `push'.
4180
4181 * emacs-lisp/edebug.el: Use lexical-binding.
4182 Remove the "edebug-" prefix from non-dynamically-scoped variables.
4183 Mark unused args with underscore.
4184 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
4185 (edebug-form-data): Use defvar-local.
4186 (edebug-make-before-and-after-form, edebug-make-after-form):
4187 Use backquote.
4188 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
4189 Not dynamically scoped any more.
4190 (edebug--enter-trace): Add arguments `function' and `args'.
4191 Rename from edebug-enter-trace.
4192 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
4193 (edebug--update-coverage): Add `after-index' and `value' args.
4194 Rename from edebug-update-coverage.
4195 (edebug-slow-after): Call it accordingly.
4196 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
4197 edebug-recursive-edit.
4198 (edebug--display): Call it accordingly. Add args `value',
4199 `offset-index', and `arg-mode'. Rename from edebug-display.
4200 (edebug-debugger, edebug): Call it accordingly.
4201 (edebug-eval-display-list): Use dolist.
4202
4203 2012-09-12 Juri Linkov <juri@jurta.org>
4204
4205 * info.el (Info-search): Don't check for isearch-mode and
4206 isearch-regexp before let-binding search-spaces-regexp to
4207 Info-search-whitespace-regexp.
4208 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
4209 search-whitespace-regexp if isearch-lax-whitespace or
4210 isearch-regexp-lax-whitespace is non-nil.
4211 (Info-mode): Don't set local variable search-whitespace-regexp.
4212 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
4213
4214 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4215
4216 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
4217 (debugger-env-macro): Remove support for unread-command-char.
4218
4219 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
4220 the temporary map re-appearing on emulation-mode-map-alists.
4221
4222 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
4223 since 22.1.
4224
4225 * ehelp.el (with-electric-help): Accept functions in
4226 electric-help-form-to-execute.
4227 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
4228 And replace unread-command-char -> unread-command-events.
4229
4230 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
4231
4232 Sync with Tramp 2.2.6.
4233
4234 * net/tramp.el (tramp-accept-process-output): Don't use
4235 JUST-THIS-ONE in the XEmacs case.
4236
4237 * net/trampver.el: Update release number.
4238
4239 2012-09-12 Martin Rudalics <rudalics@gmx.at>
4240
4241 * emacs-lisp/debug.el (debugger-previous-window-height):
4242 New variable.
4243 (debug): When debugger-jumping-flag is non-nil try to restore
4244 height of debugger window. (Bug#8789)
4245
4246 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
4247
4248 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
4249 overriding-local-map and pre/post-command-hook here.
4250 (edebug-recursive-edit): Do it here instead (bug#12345).
4251 (edebug-outside-unread-command-char): Remove all uses of
4252 unread-command-char.
4253
4254 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
4255 inhibit-debugger is bound instead.
4256
4257 2012-09-11 Bastien Guerry <bzg@gnu.org>
4258
4259 * subr.el (set-temporary-overlay-map): Add a docstring.
4260 (Bug#12346)
4261
4262 2012-09-11 Bastien Guerry <bzg@gnu.org>
4263
4264 * minibuffer.el (completion-table-subvert): Fix docstring.
4265 (Bug#12347)
4266
4267 2012-09-11 Bastien Guerry <bzg@gnu.org>
4268
4269 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
4270
4271 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
4272
4273 * progmodes/sql.el: Version 3.1
4274 (sql-db2-escape-newlines): New variable.
4275 (sql-escape-newlines-filter): Use it.
4276
4277 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
4278
4279 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
4280
4281 2012-09-10 Dan Nicolaescu <dann@gnu.org>
4282
4283 * vc/diff-mode.el (diff-mode-menu):
4284 Bind diff-remove-trailing-whitespace.
4285
4286 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
4287
4288 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
4289 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
4290 (emacs-lisp-byte-code-mode): New functions.
4291 (eval-sexp-add-defvars): Don't skip defvars in column >0.
4292 (eval-defun-2): Remove bogus interactive spec.
4293 (lisp-indent-line): Remove redundant whole-exp code, now done in
4294 indent-according-to-mode.
4295 (save-match-data): Remove redundant indent data.
4296
4297 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
4298 Use `declare'.
4299
4300 2012-09-09 Juri Linkov <juri@jurta.org>
4301
4302 * replace.el (replace-regexp-lax-whitespace): New defcustom.
4303 (replace-lax-whitespace, query-replace-regexp)
4304 (query-replace-regexp-eval, replace-regexp): Doc fix.
4305 (perform-replace, replace-highlight): Let-bind
4306 isearch-lax-whitespace to replace-lax-whitespace and
4307 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
4308
4309 * isearch.el (isearch-query-replace): Let-bind
4310 replace-lax-whitespace to isearch-lax-whitespace and
4311 replace-regexp-lax-whitespace to
4312 isearch-regexp-lax-whitespace. (Bug#10885)
4313
4314 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
4317
4318 2012-09-09 Alan Mackenzie <acm@muc.de>
4319
4320 * progmodes/cc-engine.el (c-state-cache-init):
4321 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
4322 (c-record-parse-state-state):
4323 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
4324
4325 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
4326
4327 * register.el (register-separator): Rename from
4328 separator-register. All uses changed. Doc fix.
4329 (register): Fix version.
4330
4331 2012-09-09 Chong Yidong <cyd@gnu.org>
4332
4333 * replace.el (query-replace-map): Bind four new symbols for
4334 requesting window scrolling.
4335
4336 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
4337 query-replace-map (Bug#8948).
4338
4339 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
4340
4341 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
4342 since they are now in query-replace-map.
4343
4344 * window.el (scroll-other-window-down): Make the arg optional.
4345
4346 2012-09-09 Chong Yidong <cyd@gnu.org>
4347
4348 * files.el (hack-local-variables-confirm): Use quit-window to kill
4349 the *Local Variables* buffer.
4350
4351 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4352
4353 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
4354 not just expect to be at its beginning. Adjust callees.
4355 Succeed when do-end block has no space before the pipe character.
4356 (ruby-brace-to-do-end): When the original block is one-liner,
4357 convert to multiline. Reindent the result.
4358
4359 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
4360
4361 * register.el (register): New group.
4362 (separator-register): New user option.
4363 (increment-register): Route it to `append-to-register', if
4364 register contains text. Implication is that `C-x r +' can now be
4365 used for appending to a text register (bug#12217).
4366 (append-to-register, prepend-to-register): Add separator based on
4367 `separator-register'.
4368
4369 2012-09-08 Alan Mackenzie <acm@muc.de>
4370
4371 AWK Mode: make auto-newline work when there's "==" in the pattern.
4372 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
4373 correctly.
4374 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
4375 Test more rigorously for "=" token.
4376
4377 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
4378
4379 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
4380 Only fail when reached LIMIT.
4381
4382 2012-09-08 Chong Yidong <cyd@gnu.org>
4383
4384 * dired.el (dired-mode-map): Don't bind M-=.
4385
4386 * dired-aux.el (dired-diff): Use backup file as default.
4387
4388 2012-09-08 Drew Adams <drew.adams@oracle.com>
4389
4390 * subr.el (add-to-history): Fix delete usage (Bug#12314).
4391
4392 2012-09-08 Chong Yidong <cyd@gnu.org>
4393
4394 * subr.el (syntax-after, syntax-class): Doc fix.
4395
4396 2012-09-08 Martin Rudalics <rudalics@gmx.at>
4397
4398 * window.el (display-buffer-in-previous-window): New buffer
4399 display action function.
4400
4401 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
4402 (debugger-previous-window): New variable.
4403 (debug): Rewrite using display-buffer-in-previous-window,
4404 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
4405
4406 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
4409
4410 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
4411
4412 * progmodes/python.el (python-shell-send-string):
4413 When default-directory is remote, create temp file on remote
4414 filesystem.
4415 (python-shell-send-file): When file is remote, pass local view of
4416 file paths to remote Python interpreter. (Bug#12340)
4417
4418 2012-09-07 Chong Yidong <cyd@gnu.org>
4419
4420 * window.el (switch-to-buffer): Doc fix (Bug#12181).
4421
4422 * files.el (after-find-file): Don't fail on a read-only buffer if
4423 require-final-newline is `visit' or `visit-save' (Bug#11156).
4424
4425 * subr.el (read-char-choice): Allow quitting via ESC ESC.
4426
4427 * userlock.el (ask-user-about-supersession-threat):
4428 Use read-char-choice (Bug#12093).
4429
4430 2012-09-07 Chong Yidong <cyd@gnu.org>
4431
4432 * subr.el (buffer-narrowed-p): New function.
4433
4434 * ses.el (ses-widen):
4435 * simple.el (count-words--buffer-message):
4436 * net/browse-url.el (browse-url-of-buffer): Use it.
4437
4438 * simple.el (count-words-region): Don't signal an error if there
4439 is a non-nil prefix arg and the mark is not set.
4440
4441 * help.el (describe-key-briefly): Allow the message to be seen
4442 when invoked from the minibuffer (Bug#7014).
4443
4444 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4445
4446 * progmodes/ruby-mode.el (ruby-end-of-defun)
4447 (ruby-beginning-of-defun): Simplify, allow indentation before
4448 block beginning and end keywords.
4449 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
4450 (ruby-end-of-defun): Expect that the point is at the beginning of
4451 the defun.
4452
4453 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
4456 (bug#12367).
4457 (cl--make-usage-args): Strip _ from argument names.
4458
4459 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4460
4461 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
4462 obsolete alias speedbar-key-map.
4463 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
4464 (vhdl-index-menu-init): Don't use obsolete variable
4465 font-lock-maximum-size.
4466
4467 2012-09-06 Chong Yidong <cyd@gnu.org>
4468
4469 * frame.el (window-system-version): Mark as obsolete.
4470
4471 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
4472 of obsolete variable speedbar-key-map.
4473
4474 2012-09-06 Juri Linkov <juri@jurta.org>
4475
4476 * replace.el (replace-lax-whitespace): New defcustom.
4477 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4478 (replace-string, replace-regexp): Mention it in docstrings.
4479 (perform-replace, replace-highlight): Let-bind
4480 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
4481 to the values of replace-lax-whitespace and regexp-flag.
4482 Don't let-bind search-whitespace-regexp. (Bug#10885)
4483
4484 * isearch.el (isearch-query-replace): Let-bind
4485 replace-lax-whitespace instead of let-binding
4486 replace-search-function and replace-re-search-function.
4487 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
4488 and isearch-regexp-lax-whitespace to lazy-highlight variables.
4489 (isearch-toggle-symbol): Set isearch-regexp to nil
4490 in isearch-word mode (like in isearch-toggle-word).
4491
4492 2012-09-06 Juri Linkov <juri@jurta.org>
4493
4494 * replace.el (replace-search-function)
4495 (replace-re-search-function): Set default values to nil.
4496 (perform-replace): Let-bind isearch-related variables based on
4497 replace-related values, call `isearch-search-fun' and let-bind
4498 the result to `search-function'. Remove code that sets
4499 `search-function' and `search-string' separately for
4500 `delimited-flag'.
4501 (replace-highlight): Add new argument `delimited-flag' and
4502 rename other arguments to the names used in `perform-replace'.
4503 Let-bind `isearch-word' to the argument `delimited-flag'.
4504 (Bug#10885, bug#10887)
4505
4506 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
4507
4508 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
4509 ruby-beginning-of-indent, simplify, allow all keywords to have
4510 indentation before them.
4511 (ruby-beginning-of-indent): Adjust for above. Search until the
4512 found point is not inside a string or comment.
4513 (ruby-font-lock-keywords): Allow symbols to start with "@"
4514 character, give them higher priority than variables.
4515 (ruby-syntax-propertize-function)
4516 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
4517 matchers. Expression expansions are not comments when inside a
4518 string, and there comment syntax status is irrelevant.
4519 (ruby-match-expression-expansion): New function. Check that
4520 expression expansion is inside a string, and it's not escaped.
4521 (ruby-font-lock-keywords): Use it.
4522
4523 2012-09-05 Martin Rudalics <rudalics@gmx.at>
4524
4525 * help.el (temp-buffer-max-height): New default value.
4526 (temp-buffer-resize-frames): New option.
4527 (resize-temp-buffer-window): Optionally resize frame.
4528
4529 * window.el (fit-frame-to-buffer-bottom-margin): New option.
4530 (fit-frame-to-buffer): New function.
4531
4532 2012-09-05 Glenn Morris <rgm@gnu.org>
4533
4534 * emulation/cua-rect.el (cua--init-rectangles):
4535 * textmodes/picture.el (picture-mode-map):
4536 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
4537 like forward-char and backward-char. (Bug#12317)
4538
4539 2012-09-05 Leo Liu <sdl.web@gmail.com>
4540
4541 * progmodes/flymake.el (flymake-warning-re): New variable.
4542 (flymake-parse-line): Use it.
4543
4544 2012-09-05 Glenn Morris <rgm@gnu.org>
4545
4546 * calendar/holidays.el (holiday-christian-holidays):
4547 Rename an entry. (Bug#12289)
4548
4549 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
4550
4551 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
4552 (bug#12222).
4553
4554 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
4555
4556 * loadup.el: Load macroexp. Remove hack.
4557 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
4558 (macroexp--expand-all): Use it to get better warnings.
4559 (macroexp--backtrace, macroexp--trim-backtrace-frame)
4560 (internal-macroexpand-for-load): New functions.
4561 (macroexp--pending-eager-loads): New var.
4562 (emacs-startup-hook): New hack to replace one in loadup.el.
4563 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
4564 (cl--compiler-macro-cXXr): Move to top, before they can be used.
4565 (cl-psetf): Simplify.
4566 (cl-defstruct): Add indent rule.
4567
4568 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
4569
4570 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
4571 over `user-mail-address' for the SMTP MAIL FROM envelope.
4572 (smtpmail-via-smtp): Ditto.
4573
4574 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
4575
4576 * progmodes/ruby-mode.el: Clean up keybindings.
4577 (ruby-mode-map): Don't bind ruby-electric-brace,
4578 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
4579 backward-kill-word, reindent-then-newline-and-indent.
4580 (ruby-mark-defun): Remove.
4581 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
4582 (ruby-mode): Set local beginning-of-defun-function and
4583 end-of-defun-function values.
4584
4585 2012-09-03 Martin Rudalics <rudalics@gmx.at>
4586
4587 * window.el (temp-buffer-window-setup-hook)
4588 (temp-buffer-window-show-hook): New hooks.
4589 (temp-buffer-window-setup, temp-buffer-window-show)
4590 (with-temp-buffer-window): New functions.
4591 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
4592 (special-display-popup-frame): Make sure the window used shows BUFFER.
4593
4594 * help.el (temp-buffer-resize-mode): Fix doc-string.
4595 (resize-temp-buffer-window): New optional argument WINDOW.
4596
4597 * files.el (recover-file, save-buffers-kill-emacs):
4598 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
4599
4600 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
4601
4602 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
4603 remote definition of `default-directory', ensure we can connect.
4604
4605 2012-09-02 Juri Linkov <juri@jurta.org>
4606
4607 Toggle whitespace matching mode with M-s SPC.
4608 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
4609
4610 * isearch.el (search-whitespace-regexp): Doc fix.
4611 Remove cons cell customization.
4612 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
4613 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
4614 New variables.
4615 (isearch-forward, isearch-forward-regexp): Doc fix.
4616 (isearch-toggle-lax-whitespace): New command.
4617 (search-forward-lax-whitespace, search-backward-lax-whitespace)
4618 (re-search-forward-lax-whitespace)
4619 (re-search-backward-lax-whitespace): New functions.
4620 (isearch-whitespace-regexp): Remove function.
4621 (isearch-query-replace): Let-bind replace-search-function and
4622 replace-re-search-function.
4623 (isearch-occur): Let-bind search-spaces-regexp according to the
4624 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
4625 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
4626 condition for C-q SPC.
4627 (isearch-search-fun-default): Use new functions mentioned above.
4628 (isearch-search-forward, isearch-search-backward): Remove functions.
4629 (isearch-search): Don't let-bind search-spaces-regexp.
4630 (isearch-lazy-highlight-space-regexp): Remove variable.
4631 (isearch-lazy-highlight-lax-whitespace)
4632 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4633 (isearch-lazy-highlight-new-loop): Use them.
4634 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4635
4636 2012-09-02 Chong Yidong <cyd@gnu.org>
4637
4638 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4639
4640 2012-09-02 Glenn Morris <rgm@gnu.org>
4641
4642 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
4643
4644 2012-09-01 Glenn Morris <rgm@gnu.org>
4645
4646 * term.el: Tidy up menu definitions.
4647 (term-mode-map): Use easymenu for In/Out, Complete menus.
4648 (term-pager-break-map): Initialize in the defvar.
4649 (term-terminal-menu, term-signals-menu): Define with easymenu.
4650 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
4651 (term-pager-menu): New, extracted from term-process-pager.
4652 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4653 (term-update-mode-line): Propertize line/char and page items.
4654 (term-process-pager): Move keymap initialization elsewhere.
4655
4656 2012-09-01 Martin Rudalics <rudalics@gmx.at>
4657
4658 * window.el (switch-to-prev-buffer): Handle additional values of
4659 BURY-OR-KILL argument. Don't switch in minibuffer window.
4660 (switch-to-next-buffer): Don't switch in minibuffer window.
4661 (quit-restore-window): New function based on quit-window.
4662 Handle additional values of former KILL argument.
4663 (quit-window): Call quit-restore-window with appropriate
4664 interpretation of KILL argument.
4665 (display-buffer-below-selected): New buffer display action
4666 function.
4667
4668 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * minibuffer.el (completion-at-point-functions): Complete docstring
4671 (bug#12254).
4672
4673 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
4674
4675 Better seed support for (random).
4676 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4677 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4678 * play/mpuz.el, play/tetris.el, play/zone.el:
4679 * calc/calc-comb.el (math-init-random-base):
4680 * play/blackbox.el (bb-init-board):
4681 * play/life.el (life):
4682 * server.el (server-use-tcp):
4683 * type-break.el (type-break):
4684 Remove unnecessary call to (random t).
4685 * net/sasl.el (sasl-unique-id-function):
4686 Change (random t) to (random), now that the latter is more random.
4687 * play/life.el (life-initialized): Remove no-longer-needed var.
4688
4689 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
4690
4691 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4692 Consider frame's buffer predicate when choosing the buffer.
4693 (Bug#12081)
4694
4695 2012-08-30 Richard Stallman <rms@gnu.org>
4696
4697 * simple.el (special-mode-map): Delete binding for `z'.
4698
4699 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
4700
4701 * progmodes/compile.el (compilation-always-kill): Doc fix.
4702
4703 2012-08-30 Chong Yidong <cyd@gnu.org>
4704
4705 * window.el (display-buffer-reuse-frames): Make the obsolescence
4706 message more informative.
4707
4708 2012-08-30 Glenn Morris <rgm@gnu.org>
4709
4710 * paren.el (show-paren-delay):
4711 Add a :set function. Doc fix. (Bug#12297)
4712
4713 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
4714
4715 * progmodes/compile.el (compilation-always-kill): New var.
4716 (compilation-start): Use it.
4717
4718 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
4719
4720 * simple.el (read-only-mode): Move from files.el for bootstrapping.
4721 * files.el (read-only-mode): Move to simple.el.
4722
4723 * files.el (read-only-mode): New minor mode.
4724 (toggle-read-only): Use it and mark obsolete.
4725 (find-file--read-only):
4726 * vc/vc.el (vc-next-action, vc-checkout):
4727 * vc/vc-cvs.el (vc-cvs-checkout):
4728 * obsolete/vc-mcvs.el (vc-mcvs-update):
4729 * ffap.el (ffap--toggle-read-only): Update callers.
4730
4731 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
4732
4733 * eshell/esh-ext.el (eshell-external-command): Do not examine
4734 remote shell scripts.
4735 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4736
4737 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4738 "/usr/local/sbin".
4739
4740 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4741
4742 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4743
4744 2012-08-28 Leo Liu <sdl.web@gmail.com>
4745
4746 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4747 completion-at-point. (Bug#12220)
4748
4749 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4750
4751 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4752
4753 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4756 be buffer-local; add delete-trailing-whitespace (bug#12259).
4757
4758 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
4759
4760 * progmodes/hideif.el (hif-compress-define-list):
4761 Fix typo. (Bug#11951)
4762
4763 2012-08-28 Dan Nicolaescu <dann@gnu.org>
4764
4765 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4766 buffer local setting.
4767
4768 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4769 rcirc-encode-coding-system.
4770
4771 2012-08-28 Leo Liu <sdl.web@gmail.com>
4772
4773 * net/rcirc.el (rcirc-split-message): New function.
4774 (rcirc-send-message): Use it. (Bug#12051)
4775
4776 2012-08-28 Juri Linkov <juri@jurta.org>
4777
4778 * info.el (Info-fontify-node): Hide empty lines at the end of
4779 the node. (Bug#12272)
4780
4781 2012-08-27 Drew Adams <drew.adams@oracle.com>
4782
4783 * dired.el (dired-pop-to-buffer): Make window start at beginning
4784 of buffer (Bug#12281).
4785
4786 2012-08-26 Chong Yidong <cyd@gnu.org>
4787
4788 * window.el (special-display-regexps, special-display-frame-alist)
4789 (special-display-buffer-names, special-display-function)
4790 (display-buffer-reuse-frames): Mark as obsolete.
4791
4792 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4793
4794 * help.el (help-print-return-message): Don't treat
4795 display-buffer-reuse-frames specially.
4796
4797 2012-08-26 Chong Yidong <cyd@gnu.org>
4798
4799 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4800 New variable, replacing gdb-frame-parameters.
4801 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4802 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4803 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4804 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4805 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
4806 the functions directly with gdb-display-buffer-other-frame-action.
4807 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4808 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4809 (gdb-display-stack-buffer, gdb-display-locals-buffer)
4810 (gdb-display-registers-buffer): Define directly.
4811 (def-gdb-display-buffer): Macro deleted.
4812 (gdb-display-buffer): Remove second and third args, callers don't
4813 use them. Defer to the default display-buffer behavior, apart
4814 from making windows dedicated.
4815 (gdb-setup-windows): Don't call display-buffer unnecessarily.
4816
4817 * progmodes/gud.el (gud-display-line): Just use display-buffer.
4818
4819 * window.el (display-buffer-pop-up-frame): Handle a
4820 pop-up-frame-parameters alist entry.
4821 (display-buffer): Document it.
4822
4823 2012-08-26 Chong Yidong <cyd@gnu.org>
4824
4825 * isearch.el (search-whitespace-regexp): Make string and nil
4826 values apply to both ordinary and regexp search. Allow a cons
4827 cell value to distinguish between the two.
4828 (isearch-whitespace-regexp, isearch-search-forward)
4829 (isearch-search-backward): New functions.
4830 (isearch-occur, isearch-search-fun-default, isearch-search)
4831 (isearch-lazy-highlight-new-loop): Use them.
4832 (isearch-forward, isearch-forward-regexp): Doc fix.
4833
4834 2012-08-26 Chong Yidong <cyd@gnu.org>
4835
4836 * faces.el (help-argument-name): Always inherit from italic
4837 (Bug#12213).
4838
4839 2012-08-25 Martin Rudalics <rudalics@gmx.at>
4840
4841 * window.el (window--even-window-heights): Even heights when
4842 WINDOW and the selected window form a vertical combination.
4843 (display-buffer-use-some-window): Provide that window used gets
4844 sized back by quit-window. (Bug#11880) and (Bug#12091)
4845
4846 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
4847
4848 Fix file time stamp problem with bzr and CVS (Bug#12001).
4849 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4850 in the file's time stamp, since the version control system loses
4851 that information.
4852
4853 2012-08-22 Juri Linkov <juri@jurta.org>
4854
4855 * info.el (Info-fontify-node): Hide the suffix of the
4856 Info file name in the header line. (Bug#12187)
4857
4858 2012-08-22 Glenn Morris <rgm@gnu.org>
4859
4860 * calendar/cal-tex.el (cal-tex-weekly-common):
4861 Restore leading blank page.
4862
4863 2012-08-22 Le Wang <l26wang@gmail.com>
4864
4865 * misc.el (forward-to-word, backward-to-word): Activate or extend
4866 the region under `shift-select-mode'. (Bug#12231)
4867
4868 2012-08-22 Bastien Guerry <bzg@gnu.org>
4869
4870 * progmodes/executable.el (executable-prefix): Set to "#!" instead
4871 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
4872 gives details on why the space is never needed.
4873
4874 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4875
4876 * window.el (walk-window-tree, window-with-parameter):
4877 New optional argument MINIBUF to control whether these functions
4878 should run on the minibuffer window.
4879 (window-at-side-list): Don't operate on minibuffer window.
4880 (window-in-direction): Simplify and rewrite doc-string.
4881 (window--size-ignore): Rename to window--size-ignore-p.
4882 Update callers.
4883 (display-buffer-in-atom-window, window--major-non-side-window)
4884 (window--major-side-window, display-buffer-in-major-side-window)
4885 (delete-side-window, display-buffer-in-side-window):
4886 New functions.
4887 (window--side-check, window-deletable-p, delete-window)
4888 (delete-other-windows, split-window): Handle side windows and
4889 atomic windows appropriately.
4890 (window--display-buffer): Call display-buffer-record-window also
4891 when the window buffer did not change.
4892
4893 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
4894
4895 * help-fns.el (help-fns--key-bindings):
4896 Abbreviate non-symbol remap targets. (Bug#12174)
4897
4898 2012-08-22 Martin Rudalics <rudalics@gmx.at>
4899
4900 * dired.el (dired-mark-remembered): Don't clobber point.
4901 (Bug#11795)
4902
4903 2012-08-22 Glenn Morris <rgm@gnu.org>
4904
4905 * progmodes/bug-reference.el (bug-reference): New custom group.
4906 (bug-reference-bug-regexp): Make it a defcustom.
4907
4908 2012-08-22 Daiki Ueno <ueno@unixuser.org>
4909
4910 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4911 (js-paren-indent-offset, js-square-indent-offset)
4912 (js-curly-indent-offset): Add :safe (Bug#12257).
4913
4914 2012-08-22 Edward O'Connor <hober0@gmail.com>
4915
4916 * json.el (json-key-format): Add error properties.
4917 (json-encode-key): New function.
4918 (json-encode-hash-table, json-encode-alist, json-encode-plist):
4919 Use json-encode-key.
4920
4921 2012-08-22 Glenn Morris <rgm@gnu.org>
4922
4923 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4924 (cal-tex-leftday, cal-tex-rightday): Remove functions.
4925 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4926 Update for above change.
4927
4928 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
4929
4930 * cus-face.el (custom-face-attributes): Fix customize type for the
4931 :underline attribute. (Bug#11805)
4932
4933 2012-08-21 Martin Rudalics <rudalics@gmx.at>
4934
4935 * window.el (window-point-1, set-window-point-1): Remove.
4936 (window-in-direction, record-window-buffer)
4937 (set-window-buffer-start-and-point, split-window-below)
4938 (window--state-get-1, display-buffer-record-window):
4939 Replace calls to window-point-1 and set-window-point-1 by calls to
4940 window-point and set-window-point respectively.
4941
4942 2012-08-21 Glenn Morris <rgm@gnu.org>
4943
4944 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4945 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4946 Use it.
4947
4948 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4949 (cal-tex-shortday): New function.
4950 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4951 (cal-tex-cursor-filofax-daily): Use the above.
4952
4953 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4954 New functions.
4955 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4956 (cal-tex-cursor-filofax-week): Use them.
4957
4958 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4959 New constants.
4960 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4961 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4962
4963 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4964 (cal-tex-end-document): Don't rely on buffer name.
4965
4966 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4967 Use cal-tex-vspace.
4968 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4969 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4970 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4971 Use cal-tex-arg.
4972
4973 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4974 (cal-tex-cursor-week, cal-tex-cursor-week2)
4975 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4976 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4977 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4978 (cal-tex-insert-preamble, cal-tex-b-document)
4979 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4980 Improve cal-tex-cmd usage.
4981
4982 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4983 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4984 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4985 (cal-tex-weekly-paper): New function.
4986 (cal-tex-cursor-week, cal-tex-cursor-week2)
4987 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4988 (cal-tex-cursor-day): Use it.
4989
4990 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4991 (cal-tex-cursor-filofax-week): Remove leading blank page.
4992
4993 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4994 Add autoload cookie. For now at least, don't use color, since
4995 no other cal-tex function does.
4996
4997 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4998 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4999 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
5000
5001 2012-08-21 Juri Linkov <juri@jurta.org>
5002
5003 * info.el (Info-file-attributes): New variable.
5004 (info-insert-file-contents): Add file attributes to
5005 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
5006 `Info-toc-nodes' when previous modtime of the Info file is less
5007 than new modtime.
5008 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
5009 of info.el. (Bug#12230)
5010
5011 2012-08-20 Glenn Morris <rgm@gnu.org>
5012
5013 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
5014 * calendar/holidays.el (calendar-holiday-list):
5015 Report errors with display-warning rather than beep'n'sleep.
5016
5017 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
5018
5019 * net/tramp.el (tramp-accept-process-output): Accept only output
5020 from PROC. Otherwise, process filters and sentinels might be
5021 confused. (Bug#12145)
5022
5023 2012-08-20 Chong Yidong <cyd@gnu.org>
5024
5025 * descr-text.el (describe-text-properties-1): Use overlays-in to
5026 report on empty overlays (Bug#3322).
5027
5028 2012-08-20 Glenn Morris <rgm@gnu.org>
5029
5030 * mail/rmailout.el (rmail-output-read-file-name):
5031 Trap and report errors in rmail-output-file-alist elements.
5032
5033 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
5034 since most non-font-lock faces are not also variables).
5035
5036 2012-08-20 Edward Reingold <reingold@iit.edu>
5037
5038 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
5039 New function. (Bug12160)
5040
5041 2012-08-19 Glenn Morris <rgm@gnu.org>
5042
5043 * mail/rmailout.el (rmail-output-read-file-name):
5044 Fix previous change (when the alist is nil or does not match).
5045
5046 2012-08-19 Chong Yidong <cyd@gnu.org>
5047
5048 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
5049 (Bug#12228).
5050
5051 2012-08-18 Chong Yidong <cyd@gnu.org>
5052
5053 * simple.el (yank-handled-properties): New defcustom.
5054 (yank-excluded-properties): Add font-lock-face and category.
5055 (yank): Doc fix.
5056
5057 * subr.el (remove-yank-excluded-properties):
5058 Obey yank-handled-properties. The special handling of font-lock-face
5059 and category is now done this way, instead of being hard-coded.
5060 (insert-for-yank-1): Remove font-lock-face handling.
5061 (yank-handle-font-lock-face-property)
5062 (yank-handle-category-property): New function.
5063
5064 2012-08-17 Glenn Morris <rgm@gnu.org>
5065
5066 * mail/rmailout.el (rmail-output-read-file-name):
5067 Check rmail-output-file-alist against the full message body
5068 in the correct rmail buffer. (Bug#12214)
5069
5070 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
5071
5072 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5073 Eliminate superfluous prompt. (Bug#12203)
5074
5075 2012-08-17 Chong Yidong <cyd@gnu.org>
5076
5077 * mouse.el (mouse-appearance-menu): If x-select-font returns a
5078 font spec, set the font directly (Bug#3228).
5079
5080 2012-08-17 Martin Rudalics <rudalics@gmx.at>
5081
5082 * window.el (delete-window): Fix last fix.
5083
5084 2012-08-16 Martin Rudalics <rudalics@gmx.at>
5085
5086 * window.el (window-valid-p): Move to window.c.
5087 (window-child, window-child-count, window-last-child)
5088 (window-normalize-window, window-combined-p)
5089 (window-combinations, window-atom-root, window-min-size)
5090 (window-sizable, window-sizable-p, window-size-fixed-p)
5091 (window-min-delta, window-max-delta, window--resizable)
5092 (window--resizable-p, window-resizable, window-total-size)
5093 (window-full-height-p, window-full-width-p, window-body-size)
5094 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
5095 (minimize-window, window-deletable-p, delete-window)
5096 (delete-other-windows, set-window-buffer-start-and-point)
5097 (next-buffer, previous-buffer, split-window, balance-windows-2)
5098 (set-window-text-height, window-buffer-height)
5099 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
5100 (truncated-partial-width-window-p): Minor code adjustments.
5101 In doc-strings state whether the argument window has to denote a
5102 live, valid or any window.
5103
5104 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
5105
5106 * progmodes/subword.el (subword-forward-function)
5107 (subword-backward-function, subword-forward-regexp)
5108 (subword-backward-regexp): New variables.
5109 (subword-forward, subword-forward-internal, subword-backward-internal):
5110 Use new variables, eg so that different "word" definitions
5111 can be easily used. (Bug#11411)
5112
5113 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5114
5115 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
5116 for composite selectors.
5117 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
5118 operation just because we can't find a previous revision.
5119
5120 2012-08-15 Chong Yidong <cyd@gnu.org>
5121
5122 * frame.el (set-frame-font): Accept font objects.
5123
5124 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
5127
5128 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
5129
5130 * man.el (Man-overstrike-face, Man-underline-face)
5131 (Man-reverse-face): Remove variables.
5132 (Man-overstrike, Man-underline, Man-reverse): New faces.
5133 (Man-fontify-manpage): Use them instead of the variables.
5134 (Man-cleanup-manpage): Comment change.
5135 (Man-ansi-color-map): New variable.
5136 (Man-fontify-manpage): Use it.
5137 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
5138
5139 Implement ANSI SGR parameters 22-27 (bug#12146).
5140 * ansi-color.el (ansi-colors): Doc fix.
5141 (ansi-color-context, ansi-color-context-region): Doc fix.
5142 (ansi-color--find-face): New function.
5143 (ansi-color-apply, ansi-color-apply-on-region): Use it.
5144 Rename the local variable `face' to `codes' since it is now a list of
5145 ansi codes. Doc fix.
5146 (ansi-color-get-face): Remove.
5147 (ansi-color-parse-sequence): New function, derived from
5148 ansi-color-get-face.
5149 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
5150 codes 22-27.
5151
5152 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
5153
5154 * subr.el (read-passwd): Allow use from a minibuffer.
5155
5156 2012-08-14 Eli Zaretskii <eliz@gnu.org>
5157
5158 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
5159 inside comments and strings as identifiers.
5160
5161 * progmodes/gud.el (gud-tooltip-print-command): Quote the
5162 expression to evaluate. This allows to evaluate expressions with
5163 embedded whitespace.
5164 (gud-tooltip-tips): Add a blank before the newline in the
5165 message-box text, for the benefit of message-box emulation on
5166 MS-Windows.
5167
5168 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
5169 messages from GDB, pop them up in a tooltip to give feedback to
5170 user.
5171 (gdb-tooltip-print-1): Quote the expression to evaluate.
5172 This allows to evaluate expressions with embedded whitespace.
5173 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
5174 if the TTY name is nil or empty (which happens when communicating
5175 with the inferior via pipes, e.g. on MS-Windows).
5176 (gdb-internals): If GDB sends a "&\n" empty debugging message,
5177 don't send that to the GUD buffer.
5178
5179 2012-08-14 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
5182 Optimize away setq-default with no args, as for setq. (Bug#12195)
5183
5184 2012-08-14 Chong Yidong <cyd@gnu.org>
5185
5186 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
5187
5188 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
5189 (Bug#12085).
5190
5191 2012-08-14 Glenn Morris <rgm@gnu.org>
5192
5193 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
5194
5195 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
5196
5197 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
5198 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5199 Use cached shell name.
5200
5201 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5202
5203 * progmodes/python.el (python-shell-send-string):
5204 (python-shell-send-setup-code): Do not use `format' with `message'.
5205
5206 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
5207
5208 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
5209 (ruby-percent-literal-beg-re): New constant.
5210 (ruby-syntax-general-delimiters-goto-beg): Rename to
5211 `ruby-syntax-enclosing-percent-literal', improve literal type check.
5212 (ruby-syntax-propertize-general-delimiters): Rename to
5213 `ruby-syntax-propertize-percent-literal', it's a shorter and more
5214 popular term. Adjust comments everywhere.
5215 (ruby-syntax-propertize-percent-literal): Only propertize when not
5216 inside a simple string or comment. When the literal is unclosed,
5217 leave the text after it unpropertized.
5218 (ruby-syntax-methods-before-regexp): New constant.
5219 (ruby-syntax-propertize-function): Use it to recognize regexps.
5220 Don't look at the text after regexp, just use the whitelist.
5221
5222 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
5223
5224 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
5225 non-nil always load the compiled file if it exists. (Bug#12197)
5226
5227 2012-08-14 Chong Yidong <cyd@gnu.org>
5228
5229 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
5230 (hi-lock-set-pattern): When deciding whether to use font lock or
5231 overlays, look at font-lock-mode instead of font-lock-fontified
5232 (Bug#12168).
5233 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
5234 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
5235
5236 2012-08-14 Daiki Ueno <ueno@unixuser.org>
5237
5238 * subr.el (internal--after-with-selected-window): Fix typo
5239 (Bug#12193).
5240
5241 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
5242
5243 Use `completion-table-dynamic' for completion functions.
5244 * progmodes/python.el
5245 (python-shell-completion--do-completion-at-point)
5246 (python-shell-completion--get-completions):
5247 Remove functions.
5248 (python-shell-completion-complete-at-point): New function.
5249 (python-completion-complete-at-point): Use it.
5250
5251 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
5252
5253 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
5254 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
5255
5256 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * subr.el (function-get): Refine `autoload' arg so it can also
5259 autoload functions for gv.el (bug#12191).
5260 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
5261 autoloads macros.
5262
5263 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
5264 Prefer pcase-let over destructuring-bind.
5265 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
5266 Also, remove whitespace as we go, rather than after accumulating the
5267 various places.
5268
5269 * subr.el (internal--before-with-selected-window)
5270 (internal--after-with-selected-window): Fix typo seleted->selected.
5271 (with-selected-window): Adjust callers.
5272 Reported by Dmitry Gutov <dgutov@yandex.ru>.
5273
5274 2012-08-13 Bastien Guerry <bzg@gnu.org>
5275
5276 * window.el (special-display-popup-frame): Minor docstring
5277 enhancement. (Bug#12172)
5278
5279 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
5280
5281 * tar-mode.el (tar-header-data-end): Only ignore size for files of
5282 type 1-6.
5283 (tar-header-block-summarize, tar-get-descriptor): Handle pax
5284 extended headers.
5285
5286 * files.el (hack-local-variables-filter): Remove useless eval.
5287
5288 2012-08-13 Martin Rudalics <rudalics@gmx.at>
5289
5290 * subr.el (with-selected-window): Fix last change.
5291
5292 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5293
5294 * subr.el (internal--before-with-seleted-window)
5295 (internal--after-with-seleted-window): New functions.
5296 (with-selected-window): Use them, to replace dependency on
5297 tty-top-frame.
5298
5299 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
5300
5301 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
5302 binding for `newline'.
5303 (ruby-move-to-block): When moving backward, stop at block opening,
5304 not indentation.
5305 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
5306 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
5307 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
5308 `ruby-toggle-block'.
5309
5310 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
5311
5312 * ibuffer.el (ibuffer-do-toggle-read-only):
5313 * dired.el (dired-toggle-read-only):
5314 * buff-menu.el (Buffer-menu-toggle-read-only):
5315 * bindings.el (mode-line-toggle-read-only):
5316 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
5317
5318 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
5319
5320 * descr-text.el (describe-char): Put the overlays over the
5321 "displayed as" character.
5322
5323 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
5324
5325 * calc/calc-units.el (math-default-units-table): Give an
5326 initial value.
5327 (math-put-default-units): Add options to put composite units and
5328 unit systems in the default units table.
5329 (calc-convert-units): Send composite units to
5330 `math-put-default-units' when appropriate.
5331
5332 2012-08-11 Glenn Morris <rgm@gnu.org>
5333
5334 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
5335
5336 * tutorial.el (help-with-tutorial):
5337 * emacs-lisp/copyright.el (copyright-update-directory):
5338 * emacs-lisp/autoload.el (autoload-find-generated-file)
5339 (autoload-find-file): Disable local eval: (for insurance).
5340
5341 * files.el (hack-local-variables-filter): If an eval: form is not
5342 known to be safe, and enable-local-variables is :safe, then ignore
5343 the form totally, as is done for non-eval forms. (Bug#12155)
5344 This is CVE-2012-3479.
5345
5346 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5347
5348 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
5349 (rx-form): Simplify.
5350
5351 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
5352
5353 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
5354 ?, _, and : are symbol constituents, ! is not (but kinda should be).
5355 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
5356 (ruby-syntax-propertize-function): Adjust for changes in
5357 `ruby-syntax-propertize-heredoc'.
5358
5359 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
5360
5361 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
5362 binding (use `M-;' instead).
5363 (ruby-singleton-class-p): New function.
5364 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
5365
5366 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5367
5368 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
5369
5370 2012-08-10 Chong Yidong <cyd@gnu.org>
5371
5372 * progmodes/python.el (python-shell-get-process-name): Don't mess
5373 with same-window-buffer-names.
5374
5375 * eshell/eshell.el (eshell-add-to-window-buffer-names)
5376 (eshell-remove-from-window-buffer-names): Make obsolete.
5377 (eshell-buffer-name, eshell-unload-hook): Don't use them.
5378 (eshell): Just use pop-to-buffer-same-window instead.
5379
5380 2012-08-10 Chong Yidong <cyd@gnu.org>
5381
5382 * bindings.el: Bind M-= back to count-words-region.
5383
5384 * simple.el (count-words-region): Accept a prefix arg for acting
5385 on the entire buffer.
5386 (count-words--buffer-message): New helper function.
5387
5388 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
5391 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
5392 (event-start, event-end): Use posn-at-point to return a more
5393 informative posn.
5394 (posnp): New function.
5395 * mouse.el (popup-menu-normalize-position): Use it.
5396
5397 2012-08-10 Masatake YAMATO <yamato@redhat.com>
5398
5399 * mouse.el (popup-menu-normalize-position): New function.
5400 (popup-menu): Use `popup-menu-normalize-position' to normalize
5401 the form for POSITION argument.
5402
5403 * term/x-win.el (x-menu-bar-open):
5404 Use the value returend from (posn-at-point) as position
5405 passed to `popup-menu'.
5406
5407 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5408
5409 * calc/calccomp.el (math-compose-expr): Add extra argument
5410 indicating that parentheses should be put around products in
5411 denominators. Give multiplication precedence over division during
5412 composition.
5413
5414 2012-08-09 Chong Yidong <cyd@gnu.org>
5415
5416 * man.el (Man-switches, Man-sed-command, Man-awk-command)
5417 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
5418 (Man-untabify-command, manual-program): Convert to defcustom
5419 (Bug#10429).
5420
5421 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
5422
5423 * descr-text.el (describe-char): Don't insert extra newlines
5424 (Bug#10127).
5425
5426 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
5427 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
5428
5429 * align.el (align-region): Delete temporary markers (Bug#10047).
5430 Plus some code cleanups.
5431
5432 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5433
5434 * progmodes/python.el (python-pdbtrack-tracked-buffer)
5435 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
5436 (python-shell-internal-last-output): Use make-local-variable
5437 instead of make-variable-buffer-local.
5438
5439 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
5440
5441 * progmodes/python.el: Enhancements to forward-sexp.
5442 (python-nav-forward-sexp): Rename from
5443 python-nav-forward-sexp-function.
5444 (python-nav--forward-sexp, python-nav--backward-sexp):
5445 New functions.
5446
5447 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
5448
5449 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
5450 modes and simplification modes.
5451
5452 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * delsel.el (delete-selection-pre-hook): Don't propagate the
5455 file-supersession signals (bug#12161).
5456
5457 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
5458
5459 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
5460 (cl-map-extents): Add compatibility aliases (bug#12135).
5461
5462 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
5463
5464 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
5465 tests by `ignore-error'.
5466 (tramp-find-shell): Open also a new shell, when cache is already
5467 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
5468
5469 2012-08-08 Juri Linkov <juri@jurta.org>
5470
5471 * bookmark.el: Add `defaults' property to the bookmark record.
5472 (bookmark-current-buffer): Doc fix.
5473 (bookmark-make-record): Add `defaults' property with default values
5474 to the bookmark record.
5475 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
5476 with `bookmark-insert-current-bookmark'.
5477 (bookmark-set): Get `defaults' property from the bookmark record
5478 and use it in `read-from-minibuffer'.
5479 (bookmark-insert-current-bookmark): Remove function.
5480
5481 * info.el (Info-bookmark-make-record): Add `defaults' property
5482 with values of canonical Info node name, the current Info file
5483 name and the current Info node name. (Bug#12107)
5484
5485 2012-08-08 Juri Linkov <juri@jurta.org>
5486
5487 * files.el (basic-save-buffer): Use `buffer-name' as the default
5488 of `read-file-name' when buffer is not visiting a file (bug#12128).
5489
5490 2012-08-08 Juri Linkov <juri@jurta.org>
5491
5492 * info.el (Info-isearch-search): Doc fix.
5493 (Info-search): Change search-failed message from "initial node" to
5494 "end of node" (bug#12078).
5495 (Info-isearch-search): Change `isearch-string-state' to
5496 `isearch--state-string'.
5497
5498 2012-08-08 Glenn Morris <rgm@gnu.org>
5499
5500 * language/persian.el: Remove file.
5501 * language/misc-lang.el: Move unique part of persian.el here.
5502 * loadup.el: Remove language/persian.
5503
5504 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
5505
5506 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
5507
5508 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
5509
5510 * progmodes/python.el Fixed defsubst warning.
5511 (python-syntax-context) Rename from python-info-ppss-context.
5512 (python-syntax-context-type): Rename from
5513 python-info-ppss-context-type.
5514 (python-syntax-comment-or-string-p): Rename from
5515 python-info-ppss-comment-or-string-p.
5516
5517 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
5518
5519 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
5520
5521 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
5522
5523 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
5524 a defcustom that is quoted with backquote.
5525
5526 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
5527 Fix handling of interactive spec when the body uses return.
5528 (math-do-arg-check, math-define-function-body): Use backquote forms.
5529 * calc/calc-ext.el (math-defcache): Likewise.
5530 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
5531 * allout.el (allout-new-exposure): Likewise.
5532 * calc/calcalg2.el (math-tracing-integral): Likewise.
5533 * info.el (Info-last-menu-item): Likewise.
5534 * emulation/vip.el (vip-loop): Likewise.
5535 * textmodes/artist.el (artist-funcall): Likewise.
5536 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
5537 Construct menu-item directly.
5538
5539 * progmodes/autoconf.el (font-lock-syntactic-keywords):
5540 Don't declare.
5541
5542 2012-08-07 Chong Yidong <cyd@gnu.org>
5543
5544 * simple.el (deactivate-mark): Preserve text properties when
5545 saving the primary selection (Bug#8384).
5546
5547 2012-08-07 Kevin Ryde <user42@zip.com.au>
5548
5549 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
5550 (woman-parse-numeric-value): On a bad .IP line, issue a warning
5551 and continue processing (Bug#12110).
5552
5553 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5554
5555 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
5556 syntax-propertize-function (bug#10095).
5557
5558 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * help-fns.el (help-fns--key-bindings, help-fns--signature)
5561 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
5562 describe-function-1.
5563 (describe-function-1): Use them. Move compiler macro after sig.
5564 (help-fns--compiler-macro): Use function-get. Assume we're already in
5565 standard-output. Adjust layout to new call order.
5566
5567 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
5568 re-binding a symbol that has a symbol-macro (bug#12119).
5569
5570 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
5571
5572 * language/persian.el: New file. (Bug#11812)
5573 * loadup.el: Add language/persian.el.
5574
5575 2012-08-06 Chong Yidong <cyd@gnu.org>
5576
5577 * window.el (window--maybe-raise-frame): New function.
5578 (window--display-buffer): Split off from here.
5579 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5580 (display-buffer-pop-up-window, display-buffer-use-some-window):
5581 Obey an inhibit-switch-frame action alist entry.
5582 (display-buffer): Update doc.
5583
5584 * replace.el (occur-after-change-function): Avoid losing focus by
5585 using the inhibit-switch-frame display parameter (Bug#12139).
5586
5587 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
5588
5589 Make internal shell process buffer names start with space.
5590 * progmodes/python.el (python-shell-make-comint): Add optional
5591 argument INTERNAL.
5592 (run-python-internal): Use it.
5593 (python-shell-internal-get-or-create-process): Check for new
5594 internal buffer names.
5595
5596 2012-08-06 Glenn Morris <rgm@gnu.org>
5597
5598 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5599 Do less getting and setting of environment variables.
5600
5601 2012-08-05 Chong Yidong <cyd@gnu.org>
5602
5603 * proced.el (proced): Add substitution string to docstring to
5604 trigger autoloading of the proced library on C-h f (Bug#1768).
5605
5606 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
5607 Don't show defvars which have no second argument (Bug#8638).
5608
5609 * imenu.el (imenu-generic-expression): Move documentation here
5610 from imenu--generic-function.
5611 (imenu--generic-function): Refer to imenu-generic-expression.
5612
5613 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
5614
5615 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
5616 indentation declaration.
5617 (viper-loop): Add indentation declaration (Bug#7025).
5618
5619 2012-08-05 Chong Yidong <cyd@gnu.org>
5620
5621 * help-fns.el (describe-variable): Add hyperlink for
5622 directory-local variables files. Improve buffer-local and
5623 permanent-local reporting; suggested by MON KEY (Bug#6644).
5624
5625 * help-mode.el (help-dir-local-var-def): New button type.
5626
5627 * files.el (kill-buffer-hook): Provide a defvar.
5628
5629 2012-08-05 Glenn Morris <rgm@gnu.org>
5630
5631 * eshell/esh-ext.el (eshell/addpath):
5632 Also update eshell-path-env. (Bug#12013)
5633
5634 2012-08-05 Chong Yidong <cyd@gnu.org>
5635
5636 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5637
5638 * fringe.el (fringe-styles): Add docstring.
5639 (fringe--check-mode): New function.
5640 (set-fringe-mode, set-fringe-style): Use it.
5641 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5642
5643 * files.el (set-auto-mode): Fix invalid setq call.
5644
5645 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
5646
5647 * isearch.el: Misc simplification; use defstruct.
5648 (isearch-mode-map): Dense maps now work like sparse ones.
5649 (isearch--state): New defstruct.
5650 (isearch-string-state, isearch-message-state, isearch-point-state)
5651 (isearch-success-state, isearch-forward-state)
5652 (isearch-other-end-state, isearch-word-state, isearch-error-state)
5653 (isearch-wrapped-state, isearch-barrier-state)
5654 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5655 replaced by defstruct's accessors.
5656 (isearch--set-state): Rename from isearch-top-state and change
5657 calling convention.
5658 (isearch-push-state): Use new isearch--get-state.
5659 (isearch-toggle-word): Disable regexp when enabling word.
5660 (isearch-message-prefix): Remove unused arg _c-q-hack.
5661 (isearch-message-suffix): Remove unused arg _ellipsis.
5662
5663 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
5664
5665 * simple.el (list-processes--refresh): For a server use :host or
5666 :local as the address.
5667 (list-processes): Doc fix.
5668
5669 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
5670
5671 * lisp/mpc.el: Support password in host argument.
5672 (mpc--proc-connect): Parse and use new password element.
5673 Set mpc-proc variable instead of returning process.
5674 (mpc-proc): Adjust accordingly.
5675
5676 2012-08-03 Eli Zaretskii <eliz@gnu.org>
5677
5678 * whitespace.el (whitespace-display-mappings): Use Unicode
5679 codepoints, instead of emacs-mule codepoints. See
5680 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5681 for the details.
5682
5683 * files.el (file-truename): Don't skip symlink-chasing part on
5684 windows-nt. Incorporate the resolution of 8+3 short aliases on
5685 Windows into the loop that recursively chases symlinks.
5686 Compare directory and its parent case-insensitively on MS-Windows and
5687 MS-DOS.
5688
5689 2012-08-03 Chong Yidong <cyd@gnu.org>
5690
5691 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5692
5693 * sort.el (sort-regexp-fields): Doc fix.
5694
5695 2012-08-03 Tassilo Horn <tsdh@gnu.org>
5696
5697 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5698 labels regex position point at the expected place.
5699
5700 2012-08-03 MON KEY <monkey@sandpframing.com>
5701
5702 * net/imap.el (imap-interactive-login, imap-authenticate)
5703 (imap-mailbox-lsub, imap-mailbox-list)
5704 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5705 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5706 (imap-parse-response): Doc fix.
5707
5708 2012-08-03 João Távora <joaotavora@gmail.com>
5709
5710 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5711 if sexp scanning does not move point (Bug#5734).
5712
5713 2012-08-02 Tassilo Horn <tsdh@gnu.org>
5714
5715 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5716 Add listings, minted, and ctable packages.
5717 (reftex-label-alist-builtin): Move listings, minted, and ctable
5718 entries before LaTeX.
5719 (reftex-label-alist): Docfix.
5720
5721 2012-08-02 Bastien Guerry <bzg@gnu.org>
5722
5723 * replace.el (occur): Fix docstring (bug#12122).
5724
5725 2012-08-02 Glenn Morris <rgm@gnu.org>
5726
5727 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5728
5729 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
5730
5731 Obsolete alias inactivate-current-input-method-function (Bug#10150).
5732 * international/mule-cmds.el: Create
5733 inactivate-current-input-method-function as an obsolete alias for
5734 deactivate-current-input-method-function. See Katsumi Yamaoka in
5735 <http://bugs.gnu.org/10150#46>.
5736
5737 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
5738
5739 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5740 of nested `if's.
5741
5742 2012-08-01 Glenn Morris <rgm@gnu.org>
5743
5744 * progmodes/autoconf.el (autoconf-definition-regexp):
5745 Add AH_TEMPLATE, adjust submatch numbering.
5746 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5747 (autoconf-current-defun-function): Update for above change.
5748 (autoconf-current-defun-function): First skip to end of current word.
5749
5750 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
5751
5752 * calendar/cal-html.el (cal-html-insert-agenda-days):
5753 Fix typo. (Bug#12018)
5754
5755 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5756
5757 Shell processes: enhancements to startup and CEDET compatibility.
5758 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5759 (python-shell-make-comint): accept-process-output at startup.
5760 (run-python-internal): Set inferior-python-mode-hook to nil.
5761 (python-shell-internal-get-or-create-process): call sit-for.
5762 (python-preoutput-result): Add obsolete alias.
5763 (python-shell-internal-send-string): Use it.
5764 (python-shell-send-setup-code): Remove call to
5765 accept-process-output.
5766
5767 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
5768
5769 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5770 (Bug#12108)
5771
5772 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
5773
5774 * calc-mode.el (calc-basic-simplification-mode): Rename from
5775 `calc-limited-simplification-mode'.
5776 (calc-alg-simplification-mode): New function.
5777 (calc-set-simplify-mode): Adjust message.
5778
5779 * calc.el (calc-set-mode-line): Adjust mode line display for
5780 basic simplification mode.
5781
5782 * calc-help.el (calc-m-prefix-help): Update help message.
5783
5784 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5785 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5786
5787 2012-07-31 Bastien Guerry <bzg@gnu.org>
5788
5789 * man.el (man): Fix comment. (bug#12101)
5790
5791 2012-07-31 Martin Rudalics <rudalics@gmx.at>
5792
5793 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5794 Don't return a non-nil value when no suitable buffer was found.
5795
5796 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
5797
5798 * progmodes/python.el (run-python-internal): Disable font lock for
5799 internal shells.
5800
5801 2012-07-30 Stefan Merten <smerten@oekonux.de>
5802
5803 * textmodes/rst.el: Silence `checkdoc-ispell'.
5804 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5805 (rst-official-version, rst-official-cvs-rev)
5806 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5807 (rst-mode-map): New key binding.
5808
5809 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
5810
5811 Update .PHONY listings in makefiles.
5812 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5813 autoloads, update-subdirs, updates, bzr-update, update-authors,
5814 compile-onefile, compile-calc, backup-compiled-files,
5815 compile-after-backup, compile-one-process, mh-autoloads,
5816 bootstrap-clean, distclean, maintainer-clean.
5817
5818 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
5819
5820 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5821 (calc-set-mode-line): Don't display "AlgSimp ".
5822
5823 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5824 (calc-lim-simplify-mode): New function.
5825 (calc-set-simplify-mode): Default to 'alg.
5826 (calc-default-simplify-mode): Make algebraic simplifications
5827 the default.
5828
5829 * calc/calc-ext.el (calc-init-extensions): Remove binding for
5830 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
5831
5832 * calc/calc-help.el (calc-m-prefix-help): Change messages to
5833 indicate new simplification modes.
5834
5835 * calc/README: Mention new default simplification mode.
5836
5837 * calc/calc.el (math-normalize-error): New variable.
5838 (math-normalize): Set `math-normalize-error' to t
5839 when there's an error.
5840
5841 * calc/calc-alg.el (math-simplify): Don't simplify when
5842 `math-normalize' returns an error.
5843
5844 2012-07-29 Eli Zaretskii <eliz@gnu.org>
5845
5846 * international/mule-cmds.el (set-locale-environment): Revert last
5847 change, since display-graphic-p returns nil when this function is
5848 called during startup. Instead...
5849
5850 * term/w32console.el (terminal-init-w32console): ...setup the
5851 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
5852
5853 2012-07-29 Juri Linkov <juri@jurta.org>
5854
5855 * simple.el (goto-line): Don't display default line number in the
5856 prompt because it should be displayed by `read-number' (bug#9952).
5857 Add the current line number to the defaults of `goto-line' to
5858 allow its easier modification by users with `M-n' (bug#9201).
5859
5860 * subr.el (read-number): Support multiple default values like in
5861 other minibuffer reading functions. Replace `read' with
5862 `string-to-number' for consistency with `number-to-string'.
5863
5864 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
5865
5866 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5867 * emulation/viper-init.el (viper-deactivate-input-method-action):
5868 Rename from viper-inactivate-input-method-action.
5869 (viper-deactivate-input-method):
5870 Rename from viper-inactivate-input-method.
5871 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5872 * international/mule-cmds.el (deactivate-input-method):
5873 Rename from inactivate-input-method.
5874 Also run input-method-deactivate-hook.
5875 (deactivate-current-input-method-function):
5876 Rename from inactivate-current-input-method-function.
5877 (input-method-deactivate-hook): New hook.
5878 (input-method-inactivate-hook): Mark obsolete.
5879 (inactivate-input-method): Mark obsolete.
5880
5881 * international/quail.el (quail-activate):
5882 Also run quail-deactivate-hook.
5883 (quail-deactivate): Rename from quail-inactivate.
5884 * international/robin.el (robin-activate):
5885 Also run robin-deactivate-hook.
5886 (robin-deactivate): Rename from robin-inactivate.
5887
5888 2012-07-29 Chong Yidong <cyd@gnu.org>
5889
5890 * simple.el (indicate-copied-region): New function.
5891 (kill-ring-save): Split off from here.
5892
5893 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5894 (kill-rectangle): Set deactivate-mark to t on read-only error.
5895
5896 * register.el (copy-to-register, copy-rectangle-to-register):
5897 Deactivate the mark, and use indicate-copied-region (Bug#10056).
5898 (append-to-register, prepend-to-register): Call indicate-copied-region.
5899
5900 2012-07-29 Juri Linkov <juri@jurta.org>
5901
5902 * simple.el (async-shell-command-buffer): New defcustom.
5903 (shell-command): Use it. (Bug#4719)
5904
5905 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5906
5907 * international/mule-cmds.el (set-locale-environment): In a
5908 console session on MS-Windows, set up keyboard and terminal
5909 encoding from the OEM codepage, not the ANSI codepage.
5910 (Bug#12055)
5911
5912 2012-07-28 Chong Yidong <cyd@gnu.org>
5913
5914 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5915 gdb-get-location.
5916
5917 2012-07-28 Leo Liu <sdl.web@gmail.com>
5918
5919 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5920 the alist (bug#12029).
5921
5922 2012-07-28 Eli Zaretskii <eliz@gnu.org>
5923
5924 * makefile.w32-in (custom-deps, finder-data, updates, compile)
5925 (compile-always, compile-first)
5926 ($(lisp)/calendar/cal-loaddefs.el)
5927 ($(lisp)/calendar/diary-loaddefs.el)
5928 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5929 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5930 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5931 instead of on update-subdirs.
5932 (bootstrap-clean): Delete $(lisp)/subdirs.el.
5933
5934 2012-07-28 Chong Yidong <cyd@gnu.org>
5935
5936 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5937 directory if vc-deduce-backend returns nil (Bug#7350).
5938
5939 * simple.el (delete-trailing-lines): New option.
5940 (delete-trailing-whitespace): Obey it (Bug#11879).
5941
5942 2012-07-28 David Engster <deng@randomsample.de>
5943
5944 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5945 Explanation of new 'symbol-qnames feature in doc-strings.
5946 (xml-maybe-do-ns): Return expanded names as plain symbols if
5947 'symbol-qnames was provided in XML-NS argument (Bug#11916).
5948 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5949
5950 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5951
5952 Consistent completion in inferior python with emacs -nw.
5953 * progmodes/python.el (inferior-python-mode): replace "<tab>"
5954 binding in inferior-python-mode-map with "\t".
5955 (python-shell-completion-complete-at-point)
5956 (python-completion-complete-at-point): Remove interactive spec.
5957
5958 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5959
5960 * calc/calccomp.el (math-compose-expr): Undo previous change.
5961
5962 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
5963
5964 * progmodes/python.el (python-mode-map): Add keybinding for
5965 run-python.
5966 (python-shell-make-comint): Fix pop-to-buffer call.
5967 (run-python): Autoload. New arg SHOW.
5968 (python-shell-get-or-create-process): Do not pop python process
5969 buffer.
5970
5971 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
5972
5973 * notifications.el (notifications-on-action-signal)
5974 (notifications-on-closed-signal): Use also the bus address for the map.
5975 (notifications-notify, notifications-close-notification)
5976 (notifications-get-capabilities): Add optional argument BUS.
5977
5978 2012-07-27 Tassilo Horn <tsdh@gnu.org>
5979
5980 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5981 Add support for the lstlisting and minted environments, and for the
5982 ctable macro.
5983 * textmodes/reftex.el (reftex-compile-variables): Also recognize
5984 labels written in keyvals syntax.
5985
5986 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
5987
5988 * calc/calccomp.el (math-compose-expr): Use parentheses when
5989 there is a product in the denominator of a fraction.
5990
5991 2012-07-26 Eli Zaretskii <eliz@gnu.org>
5992
5993 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5994 ($(lisp)/calendar/diary-loaddefs.el)
5995 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5996 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5997 Fixes failures in parallel bootstrap because subdirs.el is being
5998 rewritten while the autoload files are built at the same time,
5999 which needs to load subdirs.el.
6000
6001 2012-07-26 Martin Rudalics <rudalics@gmx.at>
6002
6003 * mouse.el (popup-menu): Fix doc-string and re-indent code.
6004 (mouse-drag-line): Don't exit tracking when a switch-frame or
6005 switch-window event occurs (Bug#12006).
6006
6007 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * mouse.el (popup-menu): Fix last change.
6010
6011 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
6012
6013 Autoload from Lisp with more care. Follow aliases when looking for
6014 function properties.
6015 * subr.el (autoloadp): New function.
6016 (symbol-file): Use it.
6017 (function-get): New function.
6018 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
6019 autoload-do-load.
6020 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
6021 (lisp-indent-function):
6022 * emacs-lisp/gv.el (gv-get):
6023 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
6024 * emacs-lisp/byte-opt.el (byte-optimize-form):
6025 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
6026 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
6027 Use function-get.
6028 * emacs-lisp/cl.el: Don't propagate function properties any more.
6029
6030 * speedbar.el (speedbar-add-localized-speedbar-support):
6031 * emacs-lisp/disass.el (disassemble-internal):
6032 * desktop.el (desktop-load-file):
6033 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
6034 (describe-function-1):
6035 * emacs-lisp/find-func.el (find-function-noselect):
6036 * emacs-lisp/elp.el (elp-instrument-function):
6037 * emacs-lisp/advice.el (ad-has-proper-definition):
6038 * apropos.el (apropos-safe-documentation, apropos-macrop):
6039 * emacs-lisp/debug.el (debug-on-entry):
6040 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
6041 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
6042 * calc/calc.el (name): Use autoloadp & autoload-do-load.
6043
6044 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
6045
6046 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
6047 function, not an obsolete variable (Bug#12046).
6048
6049 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
6050
6051 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
6052
6053 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
6054
6055 * emacs-lisp/pp.el (pp-display-expression): Select old selected
6056 window only if it is still live (Bug#12034).
6057
6058 2012-07-25 Martin Rudalics <rudalics@gmx.at>
6059
6060 * subr.el (redirect-frame-focus): Add advertised calling
6061 convention (Bug#12030).
6062
6063 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
6064
6065 Prefer typical American spelling for "acknowledgment".
6066 * vc/add-log.el (change-log-acknowledgment): Rename from
6067 change-log-acknowledgement, with an alias for the old name.
6068
6069 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
6070
6071 * calc-alg.el (math-simplify-divide): Don't cross multiply
6072 in an equation when the lhs is a variable.
6073
6074 2012-07-24 Julien Danjou <julien@danjou.info>
6075
6076 * net/netrc.el (netrc-find-service-number, netrc-store-data):
6077 Remove, unused.
6078
6079 2012-07-23 Eli Zaretskii <eliz@gnu.org>
6080
6081 * startup.el (command-line): Don't display an empty user name in
6082 the error message about non-existent home directory, when
6083 init-file-user was set to an empty string. See
6084 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
6085 for the details and context.
6086
6087 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
6088
6089 * ses.el (ses-cell-formula-aset): New macro.
6090 (ses-cell-references-aset): New macro.
6091 (ses-cell-p): New function.
6092 (ses-rename-cell): Do no longer rely on complex operations like
6093 ses-cell-set-formula or ses-set-cell to change the cell and handle
6094 the undo at the same time, but rather use lower level new macros
6095 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
6096 the undo directly. Refresh the mode line.
6097
6098 2012-07-21 Leo Liu <sdl.web@gmail.com>
6099
6100 * progmodes/cc-cmds.el (c-defun-name):
6101 Use match-string-no-properties instead for consistency.
6102
6103 2012-07-20 Leo Liu <sdl.web@gmail.com>
6104
6105 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
6106 (Bug#7879)
6107
6108 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
6109
6110 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
6111
6112 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
6113 * progmodes/bug-reference.el, misearch.el: Provide themselves
6114 (bug#11915).
6115
6116 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
6117 of narrowed buffer (bug#11966).
6118
6119 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
6120
6121 * ses.el (ses-rename-cell): Set new name also in reference list of
6122 cells of which the renamed cell depends.
6123
6124 2012-07-20 Masatake YAMATO <yamato@redhat.com>
6125
6126 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
6127 to check whether menu-bar is shown or not. If not shown,
6128 show the menu-bar as a popup menu instead of using tmm.
6129 * mouse.el (popup-menu): Accept `point' as `position' argument.
6130
6131 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
6132
6133 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
6134 up inside string symbol literal (bug#11923).
6135
6136 2012-07-20 Eli Zaretskii <eliz@gnu.org>
6137
6138 * startup.el (fancy-startup-text): Read the whole tutorial, not
6139 just its first 256 bytes. Prevents gibberish in display of the
6140 tutorial title.
6141
6142 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
6143
6144 Drop idle buffer compaction due to an absence of the
6145 proved efficiency.
6146 * compact.el: Remove.
6147
6148 2012-07-19 Sam Steingold <sds@gnu.org>
6149
6150 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
6151 vc-bzr-pull & vc-bzr-merge-branch.
6152 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
6153 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
6154 for consistency with compilation-error-regexp-alist.
6155 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
6156 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
6157 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
6158 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
6159
6160 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6161
6162 * emacs-lisp/chart.el: Use lexical-binding.
6163 (chart-emacs-storage): Don't hardcode the list of entries.
6164
6165 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6166
6167 Next round of tweaks caused by Fgarbage_collect changes.
6168 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
6169
6170 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
6171
6172 Compact buffers when idle.
6173 * compact.el: New file.
6174
6175 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
6176
6177 * subr.el (eventp): Presume that if it looks vaguely like an event,
6178 it's an event (bug#10190).
6179
6180 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
6181
6182 Enhancements to ppss related code (thanks Stefan).
6183 * progmodes/python.el (python-indent-context)
6184 (python-indent-calculate-indentation, python-indent-dedent-line)
6185 (python-indent-electric-colon, python-nav-forward-block)
6186 (python-mode-abbrev-table)
6187 (python-info-assignment-continuation-line-p): Simplify checks
6188 for ppss context.
6189 (python-info-continuation-line-p): Cleanup.
6190 (python-info-ppss-context): Do not catch 'quote.
6191 (python-info-ppss-context-type)
6192 (python-info-ppss-comment-or-string-p): Simplify.
6193
6194 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
6195
6196 * progmodes/python.el: Enhancements to eldoc support.
6197 (python-info-current-symbol): New function.
6198 (python-eldoc-at-point): Use python-info-current-symbol.
6199 (python-info-current-defun): Fix cornercase on first defun scan.
6200 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
6201 and signal error when no inferior python process is available.
6202
6203 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
6204
6205 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
6206 assume it's always t.
6207 (vc-git-registered): Remove caching, the function is only called
6208 once.
6209 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
6210
6211 2012-07-18 Chong Yidong <cyd@gnu.org>
6212
6213 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
6214
6215 * simple.el (count-words): Report on narrowing (Bug#9959).
6216
6217 * bindings.el: Bind M-= to count-words.
6218
6219 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
6220
6221 2012-07-18 Masatake YAMATO <yamato@redhat.com>
6222
6223 * progmodes/sh-script.el (sh-imenu-generic-expression):
6224 Capture a function with `function' keyword and without parentheses
6225 like "function FOO" (bug#11856).
6226
6227 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
6228
6229 * window.el (split-window-sensibly): Make WINDOW argument
6230 optional.
6231
6232 2012-07-18 Chong Yidong <cyd@gnu.org>
6233
6234 * subr.el (keyboard-translate): Doc fix (Bug#7261).
6235
6236 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
6237 and make C-x 8 RET exit isearch (Bug#11439).
6238
6239 * international/iso-transl.el: Move isearch-mode-map key
6240 definitions to isearch.el.
6241
6242 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
6243
6244 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
6245 (eieio-defclass): Use gv-define-setter when possible.
6246
6247 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
6248
6249 Reflect recent changes in Fgarbage_collect.
6250 * emacs-lisp/chart.el (chart-emacs-storage): Change to
6251 reflect new format of data returned by Fgarbage_collect.
6252
6253 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6254
6255 New utility functions + python-info-ppss-context fix (Bug#11910).
6256 * progmodes/python.el (python-info-beginning-of-block-statement-p)
6257 (python-info-ppss-comment-or-string-p): New functions.
6258 (python-info-ppss-context): Small fix for string check.
6259
6260 2012-07-17 Juri Linkov <juri@jurta.org>
6261
6262 * dired-aux.el (dired-do-async-shell-command): Doc fix.
6263 (dired-do-async-shell-command): Don't add `*' at the end of the
6264 command (Bug#11815).
6265 (dired-do-shell-command): Doc fix.
6266 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
6267 Join the individual commands using either "&" or ";" as the
6268 separator depending on the values of these trailing characters.
6269 At the end re-add the trailing "&". (Bug#10598)
6270
6271 * simple.el (async-shell-command): Sync the interactive spec with
6272 `shell-command'. Doc fix.
6273 (shell-command): Doc fix.
6274
6275 2012-07-17 Juri Linkov <juri@jurta.org>
6276
6277 * descr-text.el (describe-char): Fix format args. (Bug#10129)
6278
6279 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6280
6281 Final renames and doc fixes for movement commands (bug#11899).
6282 * progmodes/python.el (python-nav-beginning-of-statement):
6283 Rename from python-nav-statement-start.
6284 (python-nav-end-of-statement): Rename from
6285 python-nav-statement-end.
6286 (python-nav-beginning-of-block): Rename from
6287 python-nav-block-start.
6288 (python-nav-end-of-block): Rename from python-nav-block-end.
6289
6290 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
6291
6292 * progmodes/python.el (python-shell-send-string-no-output):
6293 Allow accept-process-output to quit, keeping shell process ready for
6294 future interactions (Bug#11868).
6295
6296 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
6299
6300 * emacs-lisp/elint.el (elint-find-args-in-code):
6301 Use help-function-arglist, so as to handle lexical byte-code.
6302
6303 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
6304 change (bug#11826).
6305
6306 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
6307
6308 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
6309 Avoid spuriously marking the buffer as modified because of c-is-sws.
6310
6311 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
6312 as not-a-comment (bug#11946).
6313
6314 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
6315 for uninterned vars.
6316
6317 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
6318 Use read-event since we don't really want to read chars but bytes.
6319
6320 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
6321 $$..$$ but also $..$ using regexps (bug#11953).
6322 Use tex-verbatim for \url and \path.
6323 (tex-font-lock-keywords): Define as defconst like the others.
6324 (tex-common-initialization): Don't use font-lock-syntax-table any more.
6325
6326 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
6327
6328 * international/mule-cmds.el (ucs-insert): Make it an obsolete
6329 alias for insert-char.
6330
6331 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6332
6333 * progmodes/python.el: Simplified imenu implementation.
6334 (python-nav-jump-to-defun): Remove command.
6335 (python-mode-map): Use `imenu' instead.
6336 (python-nav-list-defun-positions-cache)
6337 (python-imenu-include-defun-type, python-imenu-make-tree)
6338 (python-imenu-subtree-root-label, python-imenu-index-alist):
6339 Remove vars.
6340 (python-nav-list-defun-positions, python-nav-read-defun)
6341 (python-imenu-tree-assoc, python-imenu-make-element-tree)
6342 (python-imenu-make-tree, python-imenu-create-index):
6343 Remove functions.
6344 (python-mode): Update to interact with imenu by setting
6345 `imenu-extract-index-name-function' only.
6346
6347 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
6348
6349 * progmodes/python.el: Enhancements to navigation commands.
6350 (python-nav-backward-sentence)
6351 (python-nav-forward-sentence): Remove.
6352 (python-nav-backward-statement, python-nav-forward-statement)
6353 (python-nav-statement-start, python-nav-statement-end)
6354 (python-nav-backward-block, python-nav-forward-block)
6355 (python-nav-block-start, python-nav-block-end)
6356 (python-nav-forward-sexp-function)
6357 (python-info-current-line-comment-p)
6358 (python-info-current-line-empty-p): New functions.
6359 (python-indent-context): Use `python-nav-statement-start'.
6360
6361 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
6362
6363 * eshell/em-ls.el (eshell/ls): Use `apply'.
6364
6365 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
6366 multi-hops, instead of Tramp internals.
6367
6368 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
6369
6370 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
6371 when F1 and F2 are located on different hosts.
6372
6373 2012-07-14 Chong Yidong <cyd@gnu.org>
6374
6375 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
6376 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
6377 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
6378 (xterm-mouse--read-event-sequence-1000)
6379 (xterm-mouse--read-event-sequence-1006): New functions. For old
6380 mouse protocol, handle M-mouse-X events correctly.
6381 (xterm-mouse-event): New arg specifying mouse protocol.
6382 (turn-on-xterm-mouse-tracking-on-terminal)
6383 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
6384 sequence to toggle extended coordinates on newer XTerms.
6385 This appears to be harmless on terminals which do not support this.
6386
6387 2012-07-14 Leo Liu <sdl.web@gmail.com>
6388
6389 Add fringe bitmap indicators for flymake. (Bug#11253)
6390 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
6391 (flymake-make-overlay): New arg BITMAP.
6392 (flymake-error-bitmap, flymake-warning-bitmap)
6393 (flymake-fringe-indicator-position): New user variables.
6394
6395 * fringe.el: New bitmap exclamation-mark.
6396
6397 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
6398
6399 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
6400 also (Bug#7879).
6401
6402 2012-07-14 Chong Yidong <cyd@gnu.org>
6403
6404 * electric.el (electric-pair-post-self-insert-function): Fix pair
6405 insertion in empty-region case (Bug#11520).
6406
6407 2012-07-14 Chong Yidong <cyd@gnu.org>
6408
6409 * bindings.el: Consolidate ctl-x-r-map bindings.
6410 Bind copy-rectangle-as-kill to C-x r w.
6411
6412 * rect.el, register.el: Move bindings to bindings.el.
6413
6414 2012-07-14 Reuben Thomas <rrt@sc3d.org>
6415
6416 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
6417
6418 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
6419
6420 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
6421
6422 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
6423
6424 * bindings.el (top): Use `mapc' instead of `mapcar'.
6425
6426 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
6427
6428 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
6429
6430 * progmodes/sql.el (sql-comint): Suppress the check for program on
6431 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
6432 (Bug#11908)
6433
6434 2012-07-13 Chong Yidong <cyd@gnu.org>
6435
6436 * bindings.el: Assign a non-nil permanent-local property to
6437 per-buffer variables which lack a default value (Bug#11930).
6438
6439 * help-fns.el (describe-variable): In the "automatically becomes
6440 local" notice, take note of permanent-local variables.
6441
6442 2012-07-13 Chong Yidong <cyd@gnu.org>
6443
6444 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
6445 to allow printing the message when called from Lisp.
6446
6447 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6448 Remove toggle-read-only.
6449
6450 * bs.el (bs-toggle-readonly):
6451 * buff-menu.el (Buffer-menu-toggle-read-only):
6452 Remove with-no-warnings around toggle-read-only.
6453
6454 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
6455 Remove with-no-warnings around toggle-read-only.
6456 (ffap-read-only, ffap-read-only-other-window)
6457 (ffap-read-only-other-frame): Callers changed.
6458
6459 * help-mode.el: Don't require view package.
6460 (help-mode-finish): Set buffer-read-only instead of calling
6461 toggle-read-only.
6462
6463 * bindings.el (mode-line-toggle-read-only):
6464 * dired.el (dired-toggle-read-only):
6465 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
6466 with non-nil second arg.
6467
6468 * emacs-lisp/eieio-custom.el (eieio-customize-object):
6469 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
6470 directly.
6471
6472 2012-07-12 Eli Zaretskii <eliz@gnu.org>
6473
6474 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
6475 not incf.
6476
6477 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
6478
6479 More CL cleanups and reduction of use of cl.el.
6480 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
6481 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
6482 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
6483 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
6484 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
6485 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
6486 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
6487 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
6488 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
6489 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
6490 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
6491 * eshell/em-cmpl.el, eshell/em-banner.el:
6492 * calendar/parse-time.el: Use cl-lib.
6493 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
6494 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
6495 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
6496 * term/ns-win.el, term.el, shell.el, ps-samp.el:
6497 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
6498 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
6499 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
6500 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
6501 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
6502 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
6503 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
6504 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
6505 `lambda' rather than with `quote'.
6506 (eshell-do-opt): Adjust accordingly.
6507 (eshell-process-option): Simplify.
6508 * eshell/esh-var.el:
6509 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
6510 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
6511 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
6512 to `pcase--dontcare'.
6513 * emacs-lisp/cl.el (labels): Mark obsolete.
6514 (cl--letf, letf): Move to cl-lib.
6515 (cl--letf*, letf*): Remove.
6516 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
6517 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
6518 (cl-progv): Rewrite.
6519 (cl--letf, cl-letf): Move from cl.el.
6520 (cl-letf*): New macro.
6521 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
6522
6523 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
6526
6527 2012-07-11 Chong Yidong <cyd@gnu.org>
6528
6529 * vc/log-edit.el (log-edit-vc-backend): New variable.
6530 (log-edit): Doc fix.
6531
6532 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
6533 argument of log-edit to set up all local variables.
6534 (vc-start-logentry): New optional arg specifying VC backend.
6535
6536 * vc/vc.el (vc-checkin): Use it.
6537 (vc-deduce-fileset): Handle Log Edit buffers.
6538 (vc-diff): Make first argument optional too.
6539
6540 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
6541
6542 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
6543
6544 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
6545 command, just in case. The function is not needed anymore.
6546 (eshell-external-command): Do not call `eshell-remote-command'.
6547
6548 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
6549
6550 Reduce use of (require 'cl).
6551 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
6552 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
6553 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
6554 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
6555 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
6556 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
6557 * battery.el, avoid.el, abbrev.el: Use cl-lib.
6558 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
6559 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
6560 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
6561 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
6562 * calculator.el, autorevert.el, apropos.el: Don't require CL.
6563 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
6564 (byte-compile-unfold-bcf, byte-compile-check-variable):
6565 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
6566 (byte-compile-nilconstp):
6567 * emacs-lisp/autoload.el (make-autoload): Use pcase.
6568 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
6569
6570 * emacs-lisp/gv.el (cond): Make it a valid place.
6571 (if): Simplify slightly.
6572
6573 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
6574 (pcase--self-quoting-p): New function.
6575 (pcase--u1): Use it.
6576
6577 2012-07-10 Glenn Morris <rgm@gnu.org>
6578
6579 * emacs-lisp/authors.el (authors-fixed-entries):
6580 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
6581
6582 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
6583
6584 Rename configure.in to configure.ac (Bug#11603).
6585 * emacs-lisp/authors.el (authors-canonical-file-name):
6586 * progmodes/autoconf.el (autoconf-mode):
6587 Prefer configure.ac to configure.in.
6588
6589 2012-07-08 Chong Yidong <cyd@gnu.org>
6590
6591 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
6592 Implement the mouse-1-click-follows-link handling properly.
6593
6594 * info.el (Info-link-keymap): Use follow-link mechanism for
6595 header-line links (Bug#374).
6596
6597 * simple.el (deactivate-mark): Do not set the primary selection
6598 if another program has acquired it (Bug#11772).
6599
6600 2012-07-07 Kevin Ryde <user42@zip.com.au>
6601
6602 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
6603 (woman-decode-region): Replace escaped-escapes without destroying
6604 bold or underline (Bug#11552).
6605 (woman2-process-escapes): Handle nofill regions (Bug#11591).
6606
6607 2012-07-07 Chong Yidong <cyd@gnu.org>
6608
6609 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
6610 (interprogram-cut-function, interprogram-paste-function):
6611 Mention that we typically mean the clipboard.
6612
6613 2012-07-06 Glenn Morris <rgm@gnu.org>
6614
6615 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
6616
6617 * files.el (toggle-read-only): Restrict message to interactive use.
6618
6619 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
6620
6621 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
6622
6623 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
6624
6625 2012-07-06 Glenn Morris <rgm@gnu.org>
6626
6627 * Makefile.in (compile-one-process): Rename from "recompile".
6628
6629 * Makefile.in (bzr-update): "compile" is the same as "recompile
6630 autoloads", but parallelizable, so use that instead.
6631
6632 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
6633
6634 * window.el (quit-window): Always restore window height when
6635 it's saved in quit-restore parameter (Bug#11810).
6636
6637 2012-07-06 Glenn Morris <rgm@gnu.org>
6638
6639 * simple.el (kill-whole-line): Doc tweak.
6640
6641 2012-07-06 Eli Zaretskii <eliz@gnu.org>
6642
6643 * files.el (file-relative-name): Compare file names
6644 case-insensitively if on MS-Windows or MS-DOS, or if
6645 read-file-name-completion-ignore-case is non-nil. Don't use
6646 case-fold-search for this purpose. (Bug#11827)
6647
6648 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
6649
6650 * calendar/cal-dst.el (calendar-current-time-zone):
6651 Return calendar-current-time-zone-cache if non-nil.
6652
6653 2012-07-17 Masatake YAMATO <yamato@redhat.com>
6654 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
6655
6656 * calendar/cal-dst.el (calendar-current-time-zone):
6657 Return calendar-current-time-zone-cache if non-nil.
6658
6659 2012-07-06 Glenn Morris <rgm@gnu.org>
6660
6661 * Makefile.in (cvs-update): Remove old alias.
6662
6663 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
6664
6665 Sync with Tramp 2.2.6-pre.
6666
6667 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6668 compatible declaration.
6669
6670 * net/tramp-cmds.el (tramp-append-tramp-buffers):
6671 Protect `list-load-path-shadows' call.
6672
6673 * net/tramp-compat.el (top): Require packages, which aren't
6674 autoloaded anymore for XEmacs. Protect call of
6675 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6676 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
6677 it hurts at least for SXEmacs.
6678 (tramp-compat-temporary-file-directory): In XEmacs, there is no
6679 standard-value for `temporary-file-directory'.
6680
6681 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6682 Redirect stderr to /dev/null.
6683 (tramp-sh-handle-write-region): uid and gid can be floats.
6684 Reported by Russell Sim <russell.sim@gmail.com>.
6685 (tramp-sh-handle-vc-registered): Hide errors.
6686 (tramp-vc-file-name-handler): Use dummy results for `process-file'
6687 and `start-file-process'.
6688 (tramp-maybe-open-connection): Check also whether `non-essential'
6689 is bound.
6690
6691 2012-07-04 Chong Yidong <cyd@gnu.org>
6692
6693 * xml.el (xml--parse-buffer): Use xml-syntax-table.
6694 (xml-parse-tag): Likewise, and avoid changing entity tables.
6695 (xml-syntax-table): Define from scratch, making sure not to give
6696 x2000 and other Unicode spaces whitespace syntax, since those are
6697 not spaces in XML.
6698 (xml-parse-fragment): Delete unused function.
6699 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6700 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6701 (xml-entity-ref, xml-pe-reference-re)
6702 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6703 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6704 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6705 (xml-entity-value-re): Use syntax references in regexps where
6706 possible; no need to define inside a let-binding.
6707 (xml-parse-dtd): Use xml-pe-reference-re.
6708 (xml-entity-or-char-ref-re): New defconst.
6709 (xml-parse-string, xml-substitute-special): Use it.
6710
6711 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
6712
6713 * files.el (locate-dominating-file): Allow `name' to be a predicate.
6714 (find-file--read-only): New function.
6715 (find-file-read-only, find-file-read-only-other-window)
6716 (find-file-read-only-other-frame): Use it.
6717 (insert-file-contents-literally): Don't `fset'.
6718 (get-free-disk-space): Use locate-dominating-file.
6719
6720 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6721 function is already compiled.
6722
6723 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
6724
6725 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
6726
6727 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6728 files on the same host.
6729
6730 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * help-fns.el (describe-function-1): Only call
6733 help-fns--autoloaded-p when we have a file name. (Bug#11848)
6734
6735 2012-07-03 Chong Yidong <cyd@gnu.org>
6736
6737 * xml.el: Protect parser against XML bombs.
6738 (xml-entity-expansion-limit): New variable.
6739 (xml-parse-string, xml-substitute-special): Use it.
6740 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6741
6742 2012-07-03 Glenn Morris <rgm@gnu.org>
6743
6744 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6745 Allow linking to specific messages in debbugs reports (eg 123#5).
6746
6747 2012-07-02 Chong Yidong <cyd@gnu.org>
6748
6749 * xml.el: Fix entity and character reference expansion, allowing
6750 them to expand into markup as per XML spec.
6751 (xml-default-ns): New variable.
6752 (xml-entity-alist): Use XML spec definitions for lt and amp.
6753 (xml-parse-region): Make first two arguments optional.
6754 Discard text properties.
6755 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6756 All callers changed.
6757 (xml-parse-tag): Call xml-parse-tag-1. For backward
6758 compatibility, this function should not modify buffer contents.
6759 (xml-parse-tag-1): Fix opening-tag regexp.
6760 (xml-parse-string): Rewrite, handling entity and character
6761 references properly.
6762 (xml--entity-replacement-text): Signal an error if a parameter
6763 entity is undefined.
6764
6765 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * comint.el (comint-output-filter): Filter out repeated prompts.
6768
6769 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6770 and file-name-absolute-p.
6771 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6772 internal calls.
6773
6774 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
6775
6776 Spelling fixes.
6777 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6778 Rename from byte-compile--refiy-function. All uses changed.
6779
6780 2012-07-01 Chong Yidong <cyd@gnu.org>
6781
6782 * xml.el (xml--parse-buffer): New function. Move most of
6783 xml-parse-region here.
6784 (xml-parse-region): Copy region into a temporary buffer, since
6785 parameter entity substitution requires changing buffer contents.
6786 Use xml--parse-buffer.
6787 (xml-parse-file): Use xml--parse-buffer.
6788 (xml-parse-dtd): Make parameter entity substitution work right.
6789 Use proper regexps for ELEMENT declarations (Bug#7172).
6790
6791 2012-06-30 Glenn Morris <rgm@gnu.org>
6792
6793 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6794
6795 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6796 Remove outdated and unnecessary dbus declarations.
6797
6798 2012-06-30 Eli Zaretskii <eliz@gnu.org>
6799
6800 * emacs-lisp/timer.el (timer-until): Subtract results of
6801 float-time, instead of taking float-time of the result of
6802 time-subtract, since float-time signals an error for negative time
6803 arguments.
6804
6805 2012-06-30 Chong Yidong <cyd@gnu.org>
6806
6807 * xml.el (xml-*-re): Convert defvars into defconsts, and
6808 eval-and-compile them so eval-and-compile works on derivatives.
6809 (xml--entity-replacement-text): Use eval-and-comple.
6810
6811 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
6812
6813 * vc/vc-git.el (vc-git-registered): Use cache property
6814 `git-registered'.
6815 (vc-git-mode-line-string): Call `vc-working-revision' instead of
6816 `vc-git-working-revision' in order to benefit from the cache.
6817 (vc-git-root): Use cache property `git-root'. (Bug#11757)
6818
6819 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
6820
6821 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6822 removed (likely outside Emacs). (Bug#11757)
6823
6824 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6825
6826 * emacs-lisp/cl-lib.el: Require macroexp.
6827
6828 2012-06-30 Chong Yidong <cyd@gnu.org>
6829
6830 * xml.el: Implement XML parameter entities.
6831 (xml-parameter-entity-alist): New variable.
6832 (xml-parse-region, xml-parse-fragment): Preserve previous values
6833 of xml-entity-alist and xml-parameter-entity-alist, so that
6834 repeated calls on different documents do not change them.
6835 (xml-parse-tag): Fix doctype regexp.
6836 (xml--entity-replacement-text): New function.
6837 (xml-parse-dtd): Use it. Don't handle system entities; doing that
6838 properly requires url retrieval which is unimplemented.
6839 (xml-escape-string): Doc fix.
6840
6841 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
6842
6843 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6844
6845 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
6846
6847 * fringe.el (fringe-mode): Doc fix.
6848
6849 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
6850
6851 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6852 is non-nil.
6853 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6854 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
6855
6856 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
6857
6858 * calendar/cal-dst.el (calendar-current-time-zone):
6859 Return calendar-current-time-zone-cache if non-nil.
6860
6861 2012-06-29 Masatake YAMATO <yamato@redhat.com>
6862
6863 * progmodes/which-func.el (which-func-format):
6864 Add mouse-face. (Bug#11698)
6865
6866 2012-06-29 Leo Liu <sdl.web@gmail.com>
6867
6868 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6869
6870 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6871
6872 * minibuffer.el (minibuffer-confirm-exit-commands):
6873 Add completion-at-point (bug#11725).
6874
6875 2012-06-29 Glenn Morris <rgm@gnu.org>
6876
6877 * progmodes/f90.el (f90-font-lock-keywords-2):
6878 Add some preprocessor elements. (Bug#10499)
6879
6880 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * progmodes/cperl-mode.el (cperl-update-syntaxification):
6883 Use syntax-propertize (bug#11739).
6884
6885 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
6886
6887 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6888
6889 2012-06-28 Julien Danjou <julien@danjou.info>
6890
6891 * term.el (term-handle-colors-array): Use a set of new faces to
6892 color the terminal. Also uses :inverse-video property.
6893 (term-default-fg-color): Set to nil by default, deprecate in favor
6894 of `term-face'.
6895 (term-default-bg-color): Set to nil by default, deprecate in favor
6896 of `term-face'.
6897 (term-current-face): Use `term-face' by default.
6898 (term-bold-attribute): Variable deleted.
6899
6900 2012-06-28 Glenn Morris <rgm@gnu.org>
6901
6902 * simple.el (completion-list-mode-finish):
6903 Don't use toggle-read-only. (Since completion-list-mode has
6904 a special mode-class, it wasn't doing anything extra anyway.)
6905
6906 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
6907
6908 Make inlining of other-mode interpreted functions work (bug#11799).
6909 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6910 (byte-compile): Use it to fix compilation of lexical-binding closures.
6911 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6912 function, if needed.
6913
6914 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
6915
6916 * help-mode.el (help-make-xrefs): Don't just withstand
6917 cyclic-variable-indirection but any error in documentation-property.
6918
6919 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6920 memory use.
6921 * bindings.el (bindings--define-key): New function.
6922 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6923 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6924 * bindings.el: Use it to purecopy define-key bindings.
6925
6926 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6927
6928 * emacs-lisp/cl.el (flet): Mark obsolete.
6929 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6930 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6931 * progmodes/js.el (js-c-fill-paragraph):
6932 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6933 (ebrowse-switch-member-buffer-to-derived-class):
6934 * play/5x5.el (5x5-solver): Use cl-flet.
6935
6936 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
6937 (cl--symbol-function): New macro.
6938 (cl--letf, cl--letf*): Use it.
6939
6940 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6941 Strip "toggle-" if any.
6942
6943 2012-06-27 Glenn Morris <rgm@gnu.org>
6944
6945 * info.el (Info-default-directory-list): Move here from paths.el.
6946 * paths.el: Remove file, which is now empty.
6947 * loadup.el: No longer load "paths".
6948
6949 * custom.el (custom-initialize-delay): Doc fix.
6950
6951 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6952 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6953 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6954 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6955 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6956 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6957 * eshell/eshell.el (eshell-defgroup): Remove alias.
6958
6959 2012-06-27 Chong Yidong <cyd@gnu.org>
6960
6961 * help.el (help-enable-auto-load): New variable.
6962
6963 * help-fns.el (help-fns--autoloaded-p): New function.
6964 (describe-function-1): Refer to a function as "autoloaded" if it
6965 was autoloaded at any time in the past. Perform autoloading if
6966 help-enable-auto-load is non-nil.
6967
6968 2012-06-26 Eli Zaretskii <eliz@gnu.org>
6969
6970 * makefile.w32-in (compile, compile-always): Depend on
6971 update-subdirs, not on subdirs.el. Otherwise, several different
6972 sub-targets of 'bootstrap' running in parallel could
6973 simultaneously write to subdirs.el, producing a garbled file.
6974
6975 2012-06-26 Sam Steingold <sds@gnu.org>
6976
6977 * files.el (file-name-base): New convenience function.
6978 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6979 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6980 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6981 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6982 * textmodes/ispell.el, textmodes/reftex-ref.el:
6983 * textmodes/tex-mode.el: Use it.
6984 Did not touch cedet and org because they are maintained elsewhere.
6985
6986 2012-06-26 Martin Rudalics <rudalics@gmx.at>
6987
6988 * calendar/calendar.el (calendar-exit): Don't try to delete or
6989 iconify last frame. See:
6990 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6991
6992 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
6993
6994 * server.el (server-process-filter): Remember dir in the
6995 process's `server-client-directory' properties.
6996
6997 2012-06-24 Chong Yidong <cyd@gnu.org>
6998
6999 * xml.el (xml-parse-tag): Correctly handle comment embedded in
7000 non-tag text.
7001
7002 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
7003
7004 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
7005
7006 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7007
7008 * help-fns.el (describe-variable): Don't croak when doc is not found.
7009 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
7010 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
7011 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
7012 * emacs-lisp/smie.el (smie-next-sexp): CSE.
7013 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
7014 ((lambda ..) ..).
7015 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
7016
7017 2012-06-23 Chong Yidong <cyd@gnu.org>
7018
7019 * info.el (Info-mouse-follow-link): Accept symbol values of
7020 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
7021 (Info-fontify-node): Use Info-link-keymap for all navigation
7022 buttons, with link-args property to perform the desired action.
7023 (Info-link-keymap): Doc fix.
7024 (Info-next-link-keymap, Info-prev-link-keymap)
7025 (Info-up-link-keymap): Delete now-unused keymaps.
7026
7027 2012-06-23 Chong Yidong <cyd@gnu.org>
7028
7029 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
7030
7031 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
7032 system abbrevs.
7033
7034 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
7035
7036 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
7037
7038 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
7039 (bug#11719).
7040
7041 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
7042 the requote function doesn't work properly (bug#11714).
7043
7044 2012-06-23 Glenn Morris <rgm@gnu.org>
7045
7046 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
7047
7048 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7049
7050 Further GV/CL cleanups.
7051 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
7052 gv-expander.
7053 (gv--defun-declaration): New function.
7054 (defun-declarations-alist): Use it.
7055 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
7056 (gv-place): Autoload.
7057 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
7058 original definition of dotimes and dolist.
7059 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
7060 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
7061 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
7062 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7063 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
7064 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
7065 to the function's definition.
7066 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
7067 * window.el:
7068 * files.el:
7069 * faces.el:
7070 * env.el: Don't use CL.
7071
7072 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
7073
7074 Support higher-resolution time stamps (Bug#9000).
7075
7076 * calendar/time-date.el (with-decoded-time-value): New arg
7077 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
7078 (encode-time-value): New optional arg PICO. New type 3.
7079 (time-to-seconds) [!float-time]: Support the new picoseconds
7080 component if it's used.
7081 (seconds-to-time, time-subtract, time-add):
7082 Support ps-resolution time stamps as well.
7083
7084 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
7085 (timerp): Timer vectors now have length 9, not 8.
7086 (timer--time): Support new-style (4-part) time stamps.
7087 (timer-next-integral-multiple-of-time): Time stamps now have
7088 picosecond resolution, so take a bit more care about rounding.
7089 (timer-relative-time, timer-inc-time): New optional arg psecs.
7090 (timer-set-time-with-usecs): Set psecs to 0.
7091 (timer--activate): Check psecs component, too.
7092
7093 * proced.el (proced-time-lessp): Support ps-resolution stamps.
7094
7095 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7096
7097 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
7098 Move the non-essential binding to the post/pre-command-hook where it is
7099 more obviously correct.
7100
7101 * subr.el (read-passwd): Don't use a history at all.
7102 * savehist.el (savehist-save): Remove password saved accidentally
7103 because of the above bug.
7104
7105 2012-06-22 Bastien Guerry <bzg@gnu.org>
7106
7107 * files.el (toggle-read-only): Display a message telling whether
7108 the buffer is read-only or not (bug#11726).
7109
7110 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
7111
7112 * emacs-lisp/gv.el: New file.
7113 * subr.el (push, pop): Extend to generalized variables.
7114 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
7115 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
7116 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
7117 gv-define-simple-setter, and gv-define-expander.
7118 Remove setf-methods defined in gv. Rename cl-setf -> setf.
7119 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
7120 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
7121 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
7122 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
7123 gv-letplace.
7124 (cl-defstruct): Don't define setf-method any more.
7125 * emacs-lisp/cl.el (flet): Don't autoload.
7126 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
7127 (define-setf-expander, defsetf, define-modify-macro)
7128 (cl-struct-setf-expander): Move from cl-lib.el.
7129 * emacs-lisp/syntax.el:
7130 * emacs-lisp/ewoc.el:
7131 * emacs-lisp/smie.el:
7132 * emacs-lisp/cconv.el:
7133 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
7134 (timer--time): Use gv-define-simple-setter.
7135 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
7136 to avoid coding-system problems in subr.el. Adjust all users.
7137 (macroexp--maxsize, macroexp-small-p): New functions.
7138 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
7139 * scroll-bar.el (scroll-bar-mode):
7140 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7141 (normal-erase-is-backspace-mode): Don't use the `eq' place.
7142 * winner.el (winner-configuration, winner-make-point-alist)
7143 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
7144 * files.el (locate-file-completion-table): Avoid list*.
7145
7146 2012-06-22 Chong Yidong <cyd@gnu.org>
7147
7148 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
7149 (dired-create-files): Doc fix (Bug#11329).
7150 (dired-do-copy): Doc fix (Bug#11334).
7151 (dired-mark-read-string): Doc fix (Bug#11553).
7152
7153 * dired.el (dired-recursive-copies, dired-recursive-deletes):
7154 Doc fix (Bug#11326).
7155 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
7156 (dired-dwim-target): Doc fix.
7157
7158 * wdired.el (wdired-mode): Doc fix.
7159
7160 2012-06-22 Glenn Morris <rgm@gnu.org>
7161
7162 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
7163 (pcmpl-rpm-cache-stamp-file): New constant.
7164 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
7165 (pcmpl-rpm-packages): Optionally cache list of packages.
7166
7167 * pcmpl-rpm.el (pcmpl-rpm): New group.
7168 (pcmpl-rpm-query-options): New option.
7169 (pcmpl-rpm-packages): No need to inline it.
7170 Use pcmpl-rpm-query-options.
7171
7172 * calendar/calendar.el (calendar-in-read-only-buffer):
7173 Avoid some needless mode changes.
7174
7175 2012-06-21 Chong Yidong <cyd@gnu.org>
7176
7177 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
7178 (desktop-path): Remove . from the default value (Bug#10977).
7179 (desktop-read): Use user-emacs-directory if desktop-path is nil.
7180
7181 2012-06-20 Chong Yidong <cyd@gnu.org>
7182
7183 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
7184
7185 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
7186
7187 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
7188 (bug#11201).
7189
7190 2012-06-20 Chong Yidong <cyd@gnu.org>
7191
7192 * term.el (term-window-width): Handle the case of a missing right
7193 fringe (Bug#8837).
7194 (term-check-size): Use window-text-height (Bug#5445).
7195 (term-mode): Use define-derived-mode. Minor cleanups.
7196 Set font-lock-defaults (Bug#7692).
7197 (term-move-columns, term-insert-char, term-emulate-terminal)
7198 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
7199
7200 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
7201
7202 * net/ange-ftp.el (ange-ftp-get-passwd):
7203 Bind `enable-recursive-minibuffers'.
7204 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
7205
7206 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
7207
7208 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
7209
7210 2012-06-19 Glenn Morris <rgm@gnu.org>
7211
7212 * progmodes/python.el (python-mode): Derive from prog-mode.
7213
7214 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
7215
7216 * emulation/edt.el (edt-default-menu-bar-update-buffers)
7217 (edt-user-menu-bar-update-buffers): New functions.
7218 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
7219
7220 2012-06-19 Chong Yidong <cyd@gnu.org>
7221
7222 * subr.el (with-selected-window): Preserve the selected window's
7223 terminal's top-frame (Bug#4702).
7224
7225 * window.el (save-selected-window): Likewise.
7226
7227 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7228
7229 * progmodes/python.el (python-rx-constituents): Move backquote.
7230 (python-skeleton-define, python-define-auxiliary-skeleton):
7231 Use `declare'.
7232
7233 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
7234
7235 * minibuffer.el (read-file-name-default): Revert the patch from
7236 2012-06-17.
7237
7238 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
7239
7240 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
7241 (pcase--u1, pcase--q1): Don't use apply-partially.
7242
7243 2012-06-18 Glenn Morris <rgm@gnu.org>
7244
7245 * progmodes/python.el (python-proc, python-buffer)
7246 (python-send-receive, python-send-string): Fix obsolete versions.
7247
7248 2012-06-18 Martin Rudalics <rudalics@gmx.at>
7249
7250 * window.el (special-display-p): Completely remove stringp
7251 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
7252
7253 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
7254
7255 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
7256
7257 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
7258
7259 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
7260 * net/tramp-sh.el (tramp-maybe-open-connection):
7261 Throw if `non-essential' is non-nil.
7262
7263 2012-06-17 Martin Rudalics <rudalics@gmx.at>
7264
7265 * window.el (special-display-p): Signal an error if BUFFER-NAME
7266 is not a string (Bug#11713).
7267
7268 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
7269
7270 * progmodes/python.el (python-info-beginning-of-backslash):
7271 Rename from python-info-beginning-of-backlash, as a spelling fix.
7272
7273 2012-06-17 Chong Yidong <cyd@gnu.org>
7274
7275 * term.el (term-emulate-terminal): If term-check-size is called,
7276 move point to the process mark without resetting point (Bug#4635).
7277
7278 2012-06-17 Glenn Morris <rgm@gnu.org>
7279
7280 * international/mule-cmds.el (mule-menu-keymap)
7281 (set-language-environment, set-locale-environment): Doc tweaks.
7282
7283 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
7284
7285 * cus-face.el (custom-face-attributes): Add wave-style underline
7286 attribute.
7287 * faces.el (set-face-attribute): Update docstring to describe
7288 wave-style underline attribute.
7289
7290 2012-06-16 Chong Yidong <cyd@gnu.org>
7291
7292 * term/xterm.el (terminal-init-xterm): Discard input before
7293 querying background mode (Bug#10959).
7294
7295 2012-06-16 Stefan Merten <smerten@oekonux.de>
7296
7297 * textmodes/rst.el: Added and corrected some comments.
7298 (rst-re-alist-def): Improve symbol syntax.
7299 (rst-mode-syntax-table): Correct syntax entries.
7300 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7301 (rst-official-version, rst-official-cvs-rev): Update version
7302 information.
7303
7304 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
7305
7306 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
7307 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
7308
7309 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
7310
7311 * progmodes/python.el: New python.el merge.
7312 (python-guess-indent): Obsolete var.
7313 (python-indent-guess-indent-offset): New defcustom.
7314 (python-indent): Obsolete var.
7315 (python-indent-offset): New defcustom.
7316 (python-python-command, python-jython-command): Delete var.
7317 (python-shell-interpreter): New defcustom.
7318 (python-pdbtrack-do-tracking-p): Delete var.
7319 (python-pdbtrack-activate): New defcustom.
7320 (python-use-skeletons): Obsolete var.
7321 (python-skeleton-autoinsert): New defcustom.
7322 (inferior-python-filter-regexp, python-continuation-offset)
7323 (python-honour-comment-indentation, python-indent-string-contents)
7324 (python-jython-packages, python-mode-hook)
7325 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
7326 (python-shell-prompt-alist)
7327 (python-source-modes): Delete defcustoms.
7328 (python-check-buffer-name, python-eldoc-setup-code)
7329 (python-eldoc-string-code, python-ffap-setup-code)
7330 (python-ffap-string-code, python-fill-comment-function)
7331 (python-fill-decorator-function, python-fill-paren-function)
7332 (python-fill-string-function, python-imenu-include-defun-type)
7333 (python-imenu-make-tree, python-imenu-subtree-root-label)
7334 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
7335 (python-shell-compilation-regexp-alist)
7336 (python-shell-completion-module-string-code)
7337 (python-shell-completion-pdb-string-code)
7338 (python-shell-completion-setup-code)
7339 (python-shell-completion-string-code)
7340 (python-shell-enable-font-lock, python-shell-exec-path)
7341 (python-shell-extra-pythonpaths)
7342 (python-shell-internal-buffer-name, python-shell-interpreter-args)
7343 (python-shell-process-environment)
7344 (python-shell-prompt-block-regexp)
7345 (python-shell-prompt-output-regexp)
7346 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
7347 (python-shell-send-setup-max-wait, python-shell-setup-codes)
7348 (python-shell-virtualenv-path): New defcustoms.
7349 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
7350 (inferior-python-mode-syntax-table, python--prompt-regexp)
7351 (python-buffer, python-command python-python-command)
7352 (python-default-template, python-imports, python-indent-index)
7353 (python-indent-list, python-indent-list-length)
7354 (python-mode-running, python-pdbtrack-is-tracking-p)
7355 (python-preoutput-continuation, python-preoutput-leftover)
7356 (python-preoutput-result, python-preoutput-skip-next-prompt)
7357 (python-prev-dir/file, python-recursing)
7358 (python-saved-check-command, python-version-checked)
7359 (python-which-func-length-limit)
7360 (view-return-to-alist): Delete vars.
7361 (python-check-custom-command, python-dotty-syntax-table)
7362 (python-imenu-index-alist, python-indent-current-level)
7363 (python-indent-dedenters, python-indent-levels)
7364 (python-nav-beginning-of-defun-regexp)
7365 (python-nav-list-defun-positions-cache)
7366 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
7367 (python-shell-internal-buffer)
7368 (python-skeleton-available): New vars.
7369 (def-python-skeleton): Delete macro.
7370 (python-skeleton-define): New macro.
7371 (python-define-auxiliary-skeleton, python-rx): New macros.
7372 (python-insert-class): Delete command.
7373 (python-skeleton-class): New command.
7374 (python-insert-def): Delete command.
7375 (python-skeleton-def): New command.
7376 (python-insert-for): Delete command.
7377 (python-skeleton-for): New command.
7378 (python-insert-if): Delete command.
7379 (python-skeleton-if): New command.
7380 (python-insert-try/except, python-insert-try/finally): Delete commands.
7381 (python-skeleton-try): New command.
7382 (python-insert-while): Delete command.
7383 (python-skeleton-while): New command.
7384 (python-backspace): Delete command.
7385 (python-indent-dedent-line-backspace): New command.
7386 (python-electric-colon): Delete command.
7387 (python-indent-electric-colon): New command.
7388 (python-guess-indent): Delete command.
7389 (python-indent-guess-indent-offset): New command.
7390 (python-shift-left): Delete command.
7391 (python-indent-shift-left): New command.
7392 (python-shift-right): Delete command.
7393 (python-indent-shift-right): New command.
7394 (python-find-function): Delete command.
7395 (python-nav-jump-to-defun): New command.
7396 (python-next-statement): Delete command.
7397 (python-nav-forward-sentence): New command.
7398 (python-previous-statement): Delete command.
7399 (python-nav-backward-sentence): New command.
7400 (python-fill-paragraph): Delete command.
7401 (python-fill-paragraph-function): New command.
7402 (python-send-buffer): Delete command.
7403 (python-shell-send-buffer): New command.
7404 (python-send-defun): Delete command.
7405 (python-shell-send-defun): New command.
7406 (python-send-region, python-send-region-and-go): Delete commands.
7407 (python-shell-send-region)
7408 (python-shell-switch-to-shell): New commands.
7409 (python-send-string): Delete command.
7410 (python-shell-send-string): New command.
7411 (python-switch-to-python): Delete command.
7412 (python-shell-switch-to-shell): New command.
7413 (python-describe-symbol): Delete command.
7414 (python-eldoc-at-point): New command.
7415 (python--set-prompt-regexp, python-args-to-list)
7416 (python-after-info-look, python-check-version)
7417 (python-check-comint-prompt, python-find-imports)
7418 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
7419 (python-unload-function, python-expand-template)
7420 (python-maybe-jython, python-preoutput-filter)
7421 (python-pdbtrack-get-source-buffer)
7422 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
7423 (python-pdbtrack-toggle-stack-tracking)
7424 (python-pdbtrack-track-stack-file, python-initial-text)
7425 (python-first-word, python-comment-line-p, python-send-command)
7426 (python-setup-brm, python-sentinel, python-set-proc)
7427 (python-skip-out, python-input-filter, python-outdent-p)
7428 (python-outline-level, python-backslash-continuation-line-p)
7429 (python-end-of-block, python-end-of-statement, python-mark-block)
7430 (python-beginning-of-block, python-beginning-of-statement)
7431 (python-blank-line-p, python-beginning-of-string)
7432 (python-open-block-statement-p): Delete functions.
7433 (python-indent-line, python-indent-line-1): Delete functions.
7434 (python-indent-line): New function.
7435 (python-indentation-levels): Delete function.
7436 (python-indent-calculate-levels): New function.
7437 (python-proc): Delete function.
7438 (python-shell-get-process): New function.
7439 (python-send-receive): Delete function.
7440 (python-shell-send-string-no-output): New function.
7441 (python-module-path): Delete function.
7442 (python-ffap-module-path): New function.
7443 (python-completion-at-point)
7444 (python-symbol-completions): Delete functions.
7445 (python-completion-complete-at-point): New function.
7446 (python-load-file): Delete function.
7447 (python-shell-send-file): New function.
7448 (python-calculate-indentation): Delete function.
7449 (python-indent-calculate-indentation): New function.
7450 (python-skip-comments/blanks): Delete function.
7451 (python-util-forward-comment): New function.
7452 (python-continuation-line-p): Delete function.
7453 (python-info-continuation-line-p): New function.
7454 (python-which-func, python-current-defun): Delete function.
7455 (python-info-current-defun): New function.
7456 (python-beginning-of-defun): Delete function.
7457 (python-nav-beginning-of-defun): New function.
7458 (python-close-block-statement-p)
7459 (python-block-end-p): Delete function.
7460 (python-info-closing-block): New function.
7461 (python-comint-output-filter-function)
7462 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
7463 (python-fill-comment, python-fill-decorator, python-fill-paren)
7464 (python-fill-string, python-imenu-make-element-tree)
7465 (python-imenu-make-tree, python-imenu-tree-assoc)
7466 (python-indent-context, python-indent-dedent-line)
7467 (python-indent-line-function)
7468 (python-indent-post-self-insert-function)
7469 (python-indent-toggle-levels)
7470 (python-info-assignment-continuation-line-p)
7471 (python-info-beginning-of-backlash)
7472 (python-info-block-continuation-line-p)
7473 (python-info-closing-block-message)
7474 (python-info-line-ends-backslash-p)
7475 (python-info-looking-at-beginning-of-defun)
7476 (python-info-ppss-context, python-info-ppss-context-type)
7477 (python-nav-list-defun-positions, python-nav-read-defun)
7478 (python-nav-sentence-end, python-nav-sentence-start)
7479 (python-pdbtrack-comint-output-filter-function)
7480 (python-pdbtrack-set-tracked-buffer)
7481 (python-shell-calculate-exec-path)
7482 (python-shell-calculate-process-environment)
7483 (python-shell-completion--do-completion-at-point)
7484 (python-shell-completion--get-completions)
7485 (python-shell-completion-complete-at-point)
7486 (python-shell-completion-complete-or-indent)
7487 (python-shell-get-or-create-process)
7488 (python-shell-get-process-name)
7489 (python-shell-internal-get-or-create-process)
7490 (python-shell-internal-get-process-name)
7491 (python-shell-internal-send-string, python-shell-make-comint)
7492 (python-shell-parse-command, python-shell-send-setup-code)
7493 (python-skeleton-add-menu-items)
7494 (python-util-clone-local-variables, python-util-position)
7495 (run-python-internal, python-indentation-levels)
7496 (python-nav-beginning-of-defun)
7497 (python-completion-complete-at-point): New functions.
7498 (run-python): Change arguments. New API requirements.
7499
7500 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
7501
7502 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
7503 (bug#11649).
7504
7505 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
7506 (macroexp--expand-all): Use it.
7507
7508 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
7509 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
7510 Use `cl-function' instead.
7511
7512 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
7513
7514 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
7515 Suggested by Stefan Monnier while discussing bug#11657.
7516
7517 2012-06-14 Sam Steingold <sds@gnu.org>
7518
7519 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
7520
7521 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
7522
7523 * play/doctor.el (doctor-doc): Remove parameter and use
7524 doctor-sent instead of sent.
7525 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
7526
7527 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7528
7529 * files.el: Require cl-lib.
7530 (file-name-non-special): Replace case -> cl-case.
7531
7532 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
7533
7534 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
7535 mapping from #' to function*.
7536
7537 2012-06-13 Chong Yidong <cyd@gnu.org>
7538
7539 * mouse.el (mouse-drag-track): Do not set the mark if the user
7540 releases the mouse without selecting anything (Bug#11588).
7541
7542 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
7543
7544 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
7545 as well (bug#11646).
7546
7547 * loadup.el: Count byte-code functions as well.
7548
7549 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
7550 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
7551
7552 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
7553 (bug#11649). Add cl-defun and cl-defmacro.
7554
7555 2012-06-13 Drew Adams <drew.adams@oracle.com>
7556
7557 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7558 Fix last change.
7559
7560 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
7561
7562 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
7563 Otherwise, it blocks in batch mode.
7564
7565 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
7566
7567 * help-mode.el (bookmark-make-record-default): Declare.
7568
7569 2012-06-13 Chong Yidong <cyd@gnu.org>
7570
7571 * emacs-lisp/package.el (list-packages): Compute a list of
7572 packages that are newly-available since the last list-packages
7573 invocation.
7574 (package-menu--new-package-list): New var.
7575 (package-menu--generate, package-menu--print-info)
7576 (package-menu--status-predicate, package-menu-mark-install):
7577 Handle new status label "new".
7578
7579 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
7582 conversion to backquotes.
7583
7584 2012-06-12 Chong Yidong <cyd@gnu.org>
7585
7586 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
7587 Rename from gud-inhibit-global-bindings.
7588
7589 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
7590
7591 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
7592 hook from nxml-glyph-set-hook.
7593
7594 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
7595 declaration.
7596
7597 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
7598
7599 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
7600 Convert to defcustom.
7601
7602 2012-06-12 Drew Adams <drew.adams@oracle.com>
7603
7604 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
7605 New functions.
7606 (help-mode): Use them.
7607
7608 2012-06-11 Glenn Morris <rgm@gnu.org>
7609
7610 * progmodes/fortran.el (fortran-font-lock-keywords-3):
7611 Use preprocessor face for directives.
7612 (fortran-directive-re): Doc fix.
7613
7614 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7615
7616 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
7617 conversion to backquotes (bug#11652).
7618
7619 Fix compiler-expansion of CL's cXXr functions (bug#11673).
7620 * emacs-lisp/cl-lib.el (cl--defalias): New function.
7621 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
7622 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
7623 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
7624 (cl-ninth, cl-tenth): Mark them as inlinable.
7625 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
7626 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
7627 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
7628 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7629 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7630 (cl-list*, cl-adjoin): Don't put an autoload manually.
7631 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7632 (cl--compiler-macro-list*): Add autoload cookie.
7633 (cl--compiler-macro-cXXr): New function.
7634
7635 * help-fns.el (help-fns--compiler-macro): New function extracted from
7636 describe-function-1; follow aliases and use `compiler-macro' property.
7637 (describe-function-1): Use it.
7638
7639 2012-06-11 Chong Yidong <cyd@gnu.org>
7640
7641 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7642 is uninstalled, if imagemagick is installed.
7643
7644 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7645
7646 * emacs-lisp/cl-lib.el: Use lexical-binding.
7647 (cl-map-extents, cl-maclisp-member): Remove.
7648 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7649 (cl--set-substring, cl--block-wrapper, cl--block-throw)
7650 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7651 * emacs-lisp/cl-extra.el: Use lexical-binding.
7652 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7653 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7654 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7655 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7656 * emacs-lisp/cl-seq.el: Use lexical-binding.
7657 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7658 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7659 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7660 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7661 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7662 CL's internals.
7663
7664 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
7665
7666 Sync with Tramp 2.2.6-pre.
7667
7668 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7669 `print-length' and `print-level' to nil, in order to avoid
7670 truncation. Reported by Christopher Schmidt
7671 <christopher@ristopher.com>.
7672
7673 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7674
7675 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7676 New defmacro.
7677 (tramp-compat-copy-directory): Add optional argument
7678 COPY-CONTENTS. It is not handled yet.
7679
7680 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7681 (tramp-ftp-file-name-p): Simplify.
7682
7683 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7684 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7685 connection vector.
7686
7687 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7688 (tramp-methods): Do not use `tramp-password-end-of-line'.
7689 (tramp-completion-function-alist-putty): Handle UNIX case.
7690 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7691 (tramp-do-file-attributes-with-stat)
7692 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7693 gid as real numbers. They could run out of integer range on cygwin.
7694 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7695 (tramp-sh-handle-expand-file-name): Handle hops.
7696 (tramp-open-connection-setup-interactive-shell):
7697 Use `tramp-cleanup'. Move check for busyboxes ...
7698 (tramp-find-shell): ... here. Simplify implementation.
7699 Set "remote-shell" property also for alternative shells.
7700 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7701 If failing, a regular file would be written otherwise.
7702 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7703 (tramp-find-inline-encoding): Cache the coding commands in the
7704 process cache. Apply test command on the remote side, if defined.
7705 (tramp-find-inline-compress): Cache the compress commands in the
7706 process cache.
7707 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7708 when requested. Handle hops.
7709 (tramp-current-connection): New defvar.
7710 (tramp-maybe-open-connection): Use `tramp-cleanup'.
7711 Throw `suppress', if there was a failed connection shortly before.
7712 Handle user interrupt. (Bug#10187)
7713 (tramp-get-inline-compress, tramp-get-inline-coding):
7714 Read connection properties from the process cache.
7715
7716 * net/tramp-smb.el (tramp-smb-server-version)
7717 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7718 New defconsts.
7719 (tramp-smb-prompt): Extend for powershell prompt.
7720 (tramp-smb-file-name-handler-alist): Add handlers for
7721 `process-file', `shell-command' and `start-file-process'.
7722 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7723 (tramp-smb-winexe-shell-command-switch): New defcustoms.
7724 (tramp-smb-file-name-p): Simplify.
7725 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7726 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7727 (tramp-smb-shell-quote-argument): New defuns.
7728 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7729 Implement using "tar". By this, time-stamps are preserved.
7730 (tramp-smb-handle-copy-file): Handle also the case of directories.
7731 (tramp-smb-do-file-attributes-with-stat)
7732 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7733 Use `tramp-get-connection-buffer').
7734 (tramp-smb-handle-rename-file): Use "rename", when source and
7735 target are on the same share.
7736 (tramp-smb-maybe-open-connection): Handle wrong passwords.
7737 Use `tramp-smb-server-version'.
7738 (tramp-smb-wait-for-output): Remove prompt.
7739
7740 * net/tramp.el (top): Require 'cl.
7741 (tramp-methods, tramp-rsh-end-of-line):
7742 Remove `tramp-password-end-of-line' from docstring.
7743 (tramp-save-ad-hoc-proxies): New defcustom.
7744 (tramp-completion-function-alist): Adapt docstring.
7745 (tramp-default-password-end-of-line): Remove defcustom.
7746 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
7747 (tramp-user-regexp, tramp-file-name-regexp-unified)
7748 (tramp-file-name-regexp-url): Extend regexp by hop separator.
7749 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7750 (tramp-remote-file-name-spec-regexp): New defconst.
7751 (tramp-file-name-structure): Extend structure for hops.
7752 (tramp-get-method-parameter): Move up.
7753 (tramp-file-name-p, tramp-dissect-file-name)
7754 (with-parsed-tramp-file-name): Handle hops.
7755 (tramp-file-name-hop): New defun.
7756 (tramp-make-tramp-file-name): New optional arg HOP.
7757 (tramp-message-show-progress-reporter-message): New defvar.
7758 (tramp-with-progress-reporter): Use it. We cannot use
7759 `tramp-message-show-message' here, because this suppresses also
7760 error buffers.
7761 (tramp-error-with-buffer): Suppress buffer view, if
7762 `tramp-message-show-message' is nil.
7763 Use `tramp-get-connection-buffer'.
7764 (tramp-cleanup): New defun.
7765 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7766 (tramp-file-name-handler): If `debug-on-error' is set, propagate
7767 an error unchanged.
7768 (tramp-completion-handle-file-name-all-completions): Handle hops.
7769 Fix an error when called from ido.
7770 (tramp-completion-dissect-file-name): Use better local variable
7771 name. Add hop to the vector.
7772 (tramp-handle-insert-file-contents): Use progress-reporter for the
7773 whole scenario.
7774 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7775 to `t'.
7776 (tramp-check-for-regexp): Simplify search.
7777 (tramp-enter-password): Remove it. Move implementation ...
7778 (tramp-action-password): ... here.
7779 (tramp-mode-string-to-int, tramp-local-host-p)
7780 (tramp-make-tramp-temp-file, tramp-read-passwd)
7781 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7782 Set tramp-autoload cookie.
7783
7784 * net/trampver.el: Update release number.
7785
7786 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7787 Michael Albinus <michael.albinus@gmx.de>
7788
7789 * net/tramp.el (tramp-set-completion-function): Fix docstring.
7790 (tramp-parse-group, tramp-parse-file)
7791 (tramp-parse-shostkeys-sknownhosts): New defuns.
7792 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7793 (tramp-parse-shosts-group, tramp-parse-sconfig)
7794 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7795 (tramp-parse-sknownhosts, tramp-parse-hosts)
7796 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7797 Use them.
7798 (tramp-parse-passwd-group, tramp-parse-netrc-group)
7799 (tramp-parse-putty-group): Don't narrow.
7800 (tramp-parse-putty): Make a loop.
7801 (tramp-file-name-handler): Catch the `suppress' signal.
7802
7803 2012-06-11 Chong Yidong <cyd@gnu.org>
7804
7805 * image.el (imagemagick-register-types): Put the ImageMagick entry
7806 at the end of image-type-file-name-regexps.
7807
7808 2012-06-11 Johan Bockgård <bojohan@gnu.org>
7809
7810 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7811 (pcase, pcase-let*, pcase-dolist): Use them.
7812
7813 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
7814
7815 * emacs-lisp/pcase.el (pcase--let*): New function.
7816 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
7817 (pcase--expand): Use macroexp-let².
7818
7819 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
7820
7821 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7822 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7823 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7824 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7825 * emacs-lisp/derived.el: Use pcase instead of `cl'.
7826 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7827
7828 2012-06-10 Glenn Morris <rgm@gnu.org>
7829
7830 * mail/rmail.el (rmail-yank-current-message): Leave point at
7831 correct position. (Bug#11660)
7832
7833 2012-06-10 Chong Yidong <cyd@gnu.org>
7834
7835 * allout-widgets.el: Fix code header.
7836
7837 2012-06-10 Chong Yidong <cyd@gnu.org>
7838
7839 * cus-edit.el (customize-changed-options-previous-release):
7840 Bump to 24.1.
7841
7842 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
7843
7844 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7845
7846 2012-06-09 Chong Yidong <cyd@gnu.org>
7847
7848 * ebuff-menu.el (electric-buffer-list): Preserve header line.
7849
7850 2012-06-09 Martin Rudalics <rudalics@gmx.at>
7851
7852 * window.el (special-display-popup-frame): Don't use
7853 window--display-buffer (Bug#11651).
7854
7855 2012-06-09 Eli Zaretskii <eliz@gnu.org>
7856
7857 Fix parallel builds: make sure loaddefs.el is not being written
7858 while Lisp files are compiled.
7859 (compile): Don't depend on 'mh-autoloads'.
7860 (compile-CMD, compile-SH): Depend on 'autoloads'.
7861 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7862
7863 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
7864
7865 2012-06-09 Chong Yidong <cyd@gnu.org>
7866
7867 * face-remap.el (face-remap-add-relative, face-remap-set-base)
7868 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7869 Doc fixes (Bug#11225).
7870
7871 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
7872
7873 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7874 a function if there's a clear indication that it has a compiler-macro.
7875 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7876 (macro-declarations-alist): Add arglist to declaration functions.
7877 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7878 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7879 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7880 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7881 Also add autoload to find the compiler macro.
7882 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7883 (cl--compiler-macro-member, cl--compiler-macro-assoc)
7884 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7885 (cl--compiler-macro-get): New functions, replacing calls to
7886 cl-define-compiler-macro.
7887 (cl-typep) [compiler-macro]: Use macroexp-let².
7888
7889 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
7890
7891 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7892 string properly, fixes Bug#11473.
7893
7894 2012-06-08 Chong Yidong <cyd@gnu.org>
7895
7896 * faces.el (set-face-attribute): Doc fix.
7897 (modify-face): Don't use :bold and :italic.
7898 (error, warning, success): Tweak definitions.
7899
7900 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7901 (custom-modified, custom-set, custom-changed, custom-themed)
7902 (custom-saved, custom-button, custom-button-mouse)
7903 (custom-button-pressed, custom-state, custom-comment-tag)
7904 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7905 (custom-group-subtitle): Use new-style face specs.
7906 (custom-invalid-face, custom-rogue-face, custom-modified-face)
7907 (custom-set-face, custom-changed-face, custom-saved-face)
7908 (custom-button-face, custom-button-pressed-face)
7909 (custom-documentation-face, custom-state-face)
7910 (custom-comment-face, custom-comment-tag-face)
7911 (custom-variable-tag-face, custom-variable-button-face)
7912 (custom-face-tag-face, custom-group-tag-face-1)
7913 (custom-group-tag-face): Remove obsolete face alias.
7914
7915 * epa.el (epa-validity-high, epa-validity-medium)
7916 (epa-validity-low, epa-mark, epa-field-name, epa-string)
7917 (epa-field-name, epa-field-body):
7918 * font-lock.el (font-lock-comment-face, font-lock-string-face)
7919 (font-lock-keyword-face, font-lock-builtin-face)
7920 (font-lock-function-name-face, font-lock-variable-name-face)
7921 (font-lock-type-face, font-lock-constant-face):
7922 * ido.el (ido-first-match, ido-only-match, ido-subdir)
7923 (ido-virtual, ido-indicator, ido-incomplete-regexp):
7924 * speedbar.el (speedbar-button-face, speedbar-file-face)
7925 (speedbar-directory-face, speedbar-tag-face)
7926 (speedbar-selected-face, speedbar-highlight-face)
7927 (speedbar-separator-face):
7928 * whitespace.el (whitespace-newline, whitespace-space)
7929 (whitespace-hspace, whitespace-tab, whitespace-trailing)
7930 (whitespace-line, whitespace-space-before-tab)
7931 (whitespace-space-after-tab, whitespace-indentation)
7932 (whitespace-empty):
7933 * emulation/cua-base.el (cua-global-mark):
7934 * eshell/em-prompt.el (eshell-prompt):
7935 * net/newst-plainview.el (newsticker-new-item-face)
7936 (newsticker-old-item-face, newsticker-immortal-item-face)
7937 (newsticker-obsolete-item-face, newsticker-date-face)
7938 (newsticker-statistics-face, newsticker-default-face):
7939 * net/newst-reader.el (newsticker-feed-face)
7940 (newsticker-extra-face, newsticker-enclosure-face):
7941 * net/newst-treeview.el (newsticker-treeview-face)
7942 (newsticker-treeview-new-face, newsticker-treeview-old-face)
7943 (newsticker-treeview-immortal-face)
7944 (newsticker-treeview-obsolete-face)
7945 (newsticker-treeview-selection-face):
7946 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7947 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7948 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7949 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7950 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7951 (nxml-outline-active-indicator, nxml-outline-ellipsis):
7952 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7953 (mpuz-text):
7954 * progmodes/vera-mode.el (vera-font-lock-number)
7955 (vera-font-lock-function, vera-font-lock-interface):
7956 * textmodes/table.el (table-cell): Use new-style face specs, and
7957 don't use the old :bold and :italic attributes.
7958
7959 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7960 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7961 (ebrowse-member-class, ebrowse-progress): Likewise.
7962 (ebrowse-tree-mark-face, ebrowse-root-class-face)
7963 (ebrowse-file-name-face, ebrowse-default-face)
7964 (ebrowse-member-attribute-face, ebrowse-member-class-face)
7965 (ebrowse-progress-face): Remove obsolete faces.
7966
7967 * progmodes/flymake.el (flymake-errline, flymake-warnline):
7968 Inherit from error and warning faces respectively.
7969
7970 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7971 Likewise.
7972 (flyspell-incorrect-face, flyspell-duplicate-face):
7973 Remove obsolete aliases.
7974
7975 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
7976
7977 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7978 Avoid infloop.
7979
7980 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * startup.el (argv, argi): Make lexically scoped.
7983 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7984 * emacs-lisp/cl-macs.el: Use lexical-binding.
7985 Rename cl-bind-* to cl--bind-*.
7986 * files.el: Don't require `cl' since it doesn't use it.
7987 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7988
7989 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
7990
7991 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7992 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7993 instead of calling external sort utility.
7994 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7995
7996 2012-06-08 Eli Zaretskii <eliz@gnu.org>
7997
7998 * descr-text.el (describe-char): Mention how to insert the
7999 character, if the current input method doesn't support it.
8000 See the discussion in this thread for the details:
8001 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
8002
8003 2012-06-08 Sam Steingold <sds@gnu.org>
8004
8005 * bindings.el (global-map): Bind XF86Forward to next-buffer and
8006 XF86Back to previous-buffer.
8007 (minibuffer-local-map): Bind them to next-history-element and
8008 previous-history-element respectively.
8009 * help-mode.el (help-mode-map): Bind them to help-go-forward and
8010 help-go-back respectively.
8011 * info.el (Info-mode-map): Bind them to Info-history-forward and
8012 Info-history-back respectively.
8013 These are the keys next to Up on the ThinkPad keyboard.
8014
8015 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
8016
8017 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
8018 * emacs-lisp/cl-macs.el: Provide itself.
8019 (cl--labels-convert-cache): New var.
8020 (cl--labels-convert): New function.
8021 (cl-flet, cl-labels): New implementation with new semantics, relying on
8022 lexical-binding.
8023 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
8024 (cl-closure-vars, cl--function-convert-cache)
8025 (cl--function-convert): Move from cl-macs.el.
8026 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
8027 rename by removing the "cl-" prefix.
8028 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
8029
8030 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8031
8032 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
8033 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
8034 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
8035 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
8036 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
8037 (cl-hash-table-count): Add old compatibility aliases.
8038
8039 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
8040 Use macroexpand-all-environment instead.
8041 (cl--old-macroexpand): New var.
8042 (cl--sm-macroexpand): New function.
8043 (cl-symbol-macrolet): Use it during macro expansion.
8044 (cl--function-convert-cache): New var.
8045 (cl--function-convert): New function, extracted from
8046 cl-macroexpand-all.
8047 (cl-lexical-let): Use it.
8048
8049 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
8050 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
8051 (cl-member): Remove old alias.
8052
8053 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
8054 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
8055 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
8056 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
8057 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
8058 (cl-macroexpand-cmacs): Remove var.
8059 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
8060 Use macroexpand-all instead.
8061
8062 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
8065 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
8066 (macroexp-copyable-p): New functions and macros.
8067 * emacs-lisp/edebug.el (edebug-unwrap):
8068 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
8069 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
8070 (pcase--let*): Remove.
8071 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
8072 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
8073 macroexp-const-p instead.
8074 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
8075
8076 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
8077 instead of "cl-" for internal definitions. Use macroexp-const-p.
8078 (cl-old-bc-file-form): Remove var.
8079 (cl-const-exprs-p): Remove fun.
8080 (cl-labels, cl-macrolet): Use backquote.
8081 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
8082 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
8083 (cl-define-setf-expander): Rename from cl-define-setf-method.
8084 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
8085
8086 * international/mule-cmds.el: Don't require CL.
8087 (view-hello-file): Don't use `letf'.
8088
8089 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * tmm.el (tmm-prompt): Use string-prefix-p.
8092 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
8093 (tmm-add-prompt): Use minibuffer-completion-help.
8094 (tmm-delete-map): Remove.
8095
8096 * subr.el (kbd): Make it its own function.
8097
8098 2012-06-07 Stefan Merten <smerten@oekonux.de>
8099
8100 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
8101 Silence compiler warnings. Fix versions.
8102 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
8103 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
8104 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
8105 (rst-package-emacs-version-alist): Correct Emacs version to
8106 represent major merge with upstream.
8107 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
8108
8109 2012-06-06 Glenn Morris <rgm@gnu.org>
8110
8111 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
8112 Only print environment variables if set.
8113
8114 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8115
8116 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
8117 (macroexp--cons): Rename from maybe-cons.
8118 (macroexp--accumulate): Rename from macroexp-accumulate.
8119 (macroexp--all-forms): Rename from macroexpand-all-forms.
8120 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
8121 (macroexp--expand-all): Rename from macroexpand-all-1.
8122
8123 2012-06-06 Sam Steingold <sds@gnu.org>
8124
8125 * calendar/calendar.el (calendar-in-read-only-buffer):
8126 Call `special-mode' to enable the standard read-only keybindings.
8127
8128 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
8129
8130 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
8131 with "loading" messages (bug#11635).
8132
8133 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
8134
8135 * files.el (enable-remote-dir-locals): New option.
8136 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
8137
8138 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
8139 Ensure, that the temp directory is local.
8140
8141 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
8142 `temporary-file-directory'.
8143
8144 * progmodes/python.el (python-send-region): Ensure, that the
8145 temporary file is created also in the remote case.
8146
8147 2012-06-06 Glenn Morris <rgm@gnu.org>
8148
8149 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
8150 (vc-rcs-update-changelog): Use it.
8151
8152 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
8153
8154 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
8155 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
8156 (vc-sccs-diff): Replace use of the external vcdiff script.
8157
8158 2012-06-05 Glenn Morris <rgm@gnu.org>
8159
8160 * ledit.el: Move to obsolete/.
8161
8162 2012-06-05 Sam Steingold <sds@gnu.org>
8163
8164 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
8165 patch (Bug#11140).
8166
8167 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
8168
8169 * emacs-lisp/cust-print.el: Move to obsolete.
8170
8171 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
8172 compiler-macro expansion.
8173
8174 Add native compiler-macro support.
8175 * emacs-lisp/macroexp.el (macroexpand-all-1):
8176 Support compiler-macros directly. Properly follow aliases and apply
8177 the compiler macros more thoroughly.
8178 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
8179 macroexpand now properly follows aliases.
8180 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
8181 (cl-compiler-macroexpand): Use new prop.
8182 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
8183
8184 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
8185
8186 2012-06-05 Martin Rudalics <rudalics@gmx.at>
8187
8188 * window.el (get-lru-window, get-mru-window, get-largest-window):
8189 New argument NOT-SELECTED to avoid picking the selected window.
8190 (window--display-buffer-1, window--display-buffer-2): Replace by
8191 new function window--display-buffer
8192 (display-buffer-same-window, display-buffer-reuse-window)
8193 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8194 Use window--display-buffer.
8195 (display-buffer-use-some-window): Remove temporary dedication
8196 hack by calling get-lru-window and get-largest-window with
8197 NOT-SELECTED argument non-nil. Call window--display-buffer.
8198
8199 2012-06-05 Glenn Morris <rgm@gnu.org>
8200
8201 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
8202 Replace external vcdiff script.
8203
8204 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8205
8206 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
8207
8208 2012-06-04 Chong Yidong <cyd@gnu.org>
8209
8210 * image.el (imagemagick-types-inhibit): Revert last change.
8211 Add INFO and M.
8212 (imagemagick-enabled-types): Remove CIN and EPS*.
8213
8214 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
8215
8216 * emacs-lisp/cl-lib.el: Rename from cl.el.
8217 * emacs-lisp/cl.el: New compatibility file.
8218 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
8219 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
8220 to obey the "cl-" prefix.
8221 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
8222
8223 2012-06-03 Glenn Morris <rgm@gnu.org>
8224
8225 * emacs-lisp/authors.el (authors-aliases): Addition.
8226
8227 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
8228 Fix :version.
8229
8230 2012-06-03 Stefan Merten <smerten@oekonux.de>
8231
8232 * textmodes/rst.el: Add comments.
8233 (rst-transition, rst-adornment): New faces.
8234 (rst-adornment-faces-alist): Make default safe to reevaluate.
8235 Fixes
8236 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
8237 Improve customization tags.
8238 (rst-define-level-faces): Clarify meaning.
8239
8240 2012-06-03 Chong Yidong <cyd@gnu.org>
8241
8242 * progmodes/compile.el (compilation-mode-line-fail)
8243 (compilation-mode-line-run, compilation-mode-line-exit):
8244 New faces.
8245 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
8246
8247 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
8248
8249 * progmodes/which-func.el (which-func-update-ediff-windows):
8250 New function. Use it in ediff-select-hook (Bug#11478).
8251
8252 2012-06-03 Chong Yidong <cyd@gnu.org>
8253
8254 * bindings.el: Remove explicit help text from format-mode-line.
8255 It is now supplied by mode-line-default-help-echo.
8256 (mode-line-front-space, mode-line-end-spaces)
8257 (mode-line-misc-info): New variables.
8258 (mode-line-modes, mode-line-position): Move the default value to
8259 the variable definition.
8260 (mode-line-default-help-echo): New defcustom.
8261 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
8262 (mode-line-modified-help-echo): New functions.
8263 (mode-line-mule-info, mode-line-modified): Use them.
8264 (mode-line-eol-desc, propertized-buffer-identification):
8265 Consistency fixes for help text.
8266 (mode-line-coding-system-map): Allow using mouse-3 to invoke
8267 set-buffer-file-coding-system (Bug#289).
8268 (mode-line-mule-info-help-echo): Update help text.
8269
8270 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
8271
8272 * simple.el (execute-extended-command): Set real-this-command
8273 (bug#11506).
8274
8275 2012-06-02 Chong Yidong <cyd@gnu.org>
8276
8277 Remove incorrect uses of "modeline" in comments, docstrings, and
8278 function/variable names (Bug#10329).
8279
8280 * cus-edit.el (mode-line):
8281 * dframe.el (dframe-mouse-hscroll):
8282 * emacs-lisp/re-builder.el:
8283 * emacs-lisp/easy-mmode.el (define-minor-mode):
8284 * frame.el (set-frame-name):
8285 * help.el (lookup-minor-mode-from-indicator):
8286 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
8287 * progmodes/cc-cmds.el (c-toggle-auto-newline)
8288 (c-toggle-hungry-state):
8289 * progmodes/antlr-mode.el (antlr-language-alist):
8290 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
8291 * progmodes/vhdl-mode.el (vhdl-mode):
8292 * progmodes/which-func.el (which-func, which-func-cleanup-function):
8293 * term/ns-win.el (ns-face-at-pos):
8294 * term/sup-mouse.el (sup-mouse-report):
8295 * textmodes/flyspell.el (flyspell-mode-line-string):
8296 * textmodes/ispell.el (ispell-highlight-face):
8297 * textmodes/reftex-global.el:
8298 * vc/vc-arch.el (vc-arch-mode-line-string):
8299 * vc/vc-cvs.el (vc-cvs-mode-line-string):
8300 * vc/vc-git.el (vc-git-mode-line-string):
8301 * vc/vc-hooks.el (vc-display-status)
8302 (vc-default-mode-line-string):
8303 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
8304
8305 * ansi-color.el (ansi-color-faces-vector): Change default faces.
8306
8307 * dired.el (dired-sort-set-mode-line): Rename from
8308 dired-sort-set-modeline. All callers changed.
8309
8310 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
8311 eshell-status-in-modeline.
8312
8313 * foldout.el (foldout-mode-line-string): Rename from
8314 foldout-modeline-string. All callers changed.
8315 (foldout-update-mode-line): Rename from foldout-update-modeline.
8316
8317 * subr.el (redraw-modeline): Make into obsolete alias.
8318
8319 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
8320 timeclock-modeline-display. Make old name an alias.
8321 (timeclock-update-mode-line): Likewise. All callers changed.
8322 (timeclock-mode-line-display): No need to check before using
8323 add-hook.
8324 (timeclock-relative, timeclock-day-over-hook)
8325 (timeclock-use-elapsed, timeclock-mode-string)
8326 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
8327
8328 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
8329 crisp-mode-modeline-string.
8330
8331 * play/solitaire.el (solitaire-build-mode-line): Rename from
8332 solitaire-build-modeline. All callers changed.
8333
8334 * play/zone.el (zone-hiding-mode-line): Rename from
8335 zone-hiding-modeline. All callers changed.
8336 (zone): Remove unusued `modeline-hidden-level' property.
8337
8338 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
8339 xscheme-modeline-initialize. All callers changed.
8340
8341 * strokes.el (strokes-lighter): Rename from
8342 strokes-modeline-string.
8343
8344 * textmodes/sgml-mode.el (html-face-tag-alist)
8345 (html-tag-face-alist): Use mode-line face instead of obsolete
8346 alias modeline.
8347
8348 2012-06-02 Stefan Merten <smerten@oekonux.de>
8349
8350 * textmodes/rst.el: Always require `cl'.
8351 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
8352
8353 2012-06-02 Chong Yidong <cyd@gnu.org>
8354
8355 * image.el (imagemagick-enabled-types): Rename from
8356 imagemagick-types-enable. Add many more types.
8357 (imagemagick-types-inhibit): Change default to nil.
8358 (imagemagick-filter-types): Caller changed.
8359
8360 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
8361
8362 * emacs-lisp/cl-macs.el: Use backquotes.
8363 (cl-transform-function-property): Use eval-and-compile rather than
8364 abusing `require'.
8365 (defstruct): Use declare-function instead of with-no-warnings.
8366
8367 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
8368 (byte-compile-output-docform): Re-add the print-circle bindings.
8369 (byte-compile-fix-header): Use #$ just because it's shorter.
8370 (byte-compile-output-file-form): Remove defun/defmacro.
8371
8372 2012-06-01 Martin Rudalics <rudalics@gmx.at>
8373
8374 * simple.el (choose-completion): Remove now obsolete binding for
8375 owindow.
8376
8377 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
8378
8379 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
8380 in order to avoid "Stack overflow in regexp matcher".
8381
8382 2012-05-31 Glenn Morris <rgm@gnu.org>
8383
8384 * image.el: For clarity, call imagemagick-register-types at
8385 top-level, rather than relying on a custom :initialize.
8386 (imagemagick-types-enable): New option. (Bug#11557)
8387 (imagemagick-filter-types): New function. (Bug#7406)
8388 (imagemagick-register-types): Use imagemagick-filter-types.
8389 If disabling support, remove elements altogether rather
8390 than using an impossible regexp.
8391 (imagemagick-types-inhibit): Give it the default init function.
8392
8393 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
8396 Handle arbitrary file name lengths (Bug#11585).
8397
8398 2012-05-31 Martin Rudalics <rudalics@gmx.at>
8399
8400 * desktop.el (desktop-read): Clear previous and next buffers for
8401 all windows and bury *Messages* buffer (bug#11556).
8402
8403 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
8404
8405 Add `declare' for `defun'. Align `defmacro's with it.
8406 * emacs-lisp/easy-mmode.el (define-minor-mode)
8407 (define-globalized-minor-mode): Don't autoload the var definitions.
8408 * emacs-lisp/byte-run.el: Use lexical-binding.
8409 (defun-declarations-alist, macro-declarations-alist): New vars.
8410 (defmacro, defun): Use them.
8411 (make-obsolete, define-obsolete-function-alias)
8412 (make-obsolete-variable, define-obsolete-variable-alias):
8413 Use `declare'.
8414 (macro-declaration-function): Mark obsolete.
8415 * emacs-lisp/autoload.el: Use lexical-binding.
8416 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
8417
8418 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8419
8420 * textmodes/ispell.el (ispell-with-no-warnings):
8421 Define as a macro.
8422 (ispell-kill-ispell, ispell-change-dictionary):
8423 Use `called-interactively-p' for Emacs instead of obsolete
8424 `interactive-p'.
8425
8426 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
8427
8428 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
8429 (macro-declaration-function): Move var from C code.
8430 (macro-declaration-function): Define function with defalias.
8431 * emacs-lisp/macroexp.el (macroexpand-all-1):
8432 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
8433 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
8434 defun/defmacro any more.
8435 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
8436 Provide fallback for unknown arglist.
8437 (byte-compile-arglist-warn): Change calling convention.
8438 (byte-compile-output-file-form): Move print-vars binding.
8439 (byte-compile-output-docform): Simplify accordingly.
8440 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
8441 (byte-compile-defmacro-declaration): Remove.
8442 (byte-compile-file-form-defmumble): Generalize to defalias.
8443 (byte-compile-output-as-comment): Return byte-positions.
8444 Simplify callers accordingly.
8445 (byte-compile-lambda): Use `assert'.
8446 (byte-compile-defun, byte-compile-defmacro): Remove.
8447 (byte-compile-file-form-defalias):
8448 Use byte-compile-file-form-defmumble.
8449 (byte-compile-defalias-warn): Remove.
8450
8451 2012-05-29 Stefan Merten <smerten@oekonux.de>
8452
8453 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
8454 possible. Fix authors. Improve comments. Improve loading of `cl'.
8455
8456 (rst-mode-abbrev-table): Merge definition.
8457 (rst-mode): Make sure `font-lock-defaults' is buffer local.
8458 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
8459
8460 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
8461
8462 * calendar/icalendar.el
8463 (icalendar-export-region): Export UID properly.
8464
8465 2012-05-29 Leo Liu <sdl.web@gmail.com>
8466 * calendar/icalendar.el (icalendar-import-format):
8467 Add `icalendar-import-format-uid' (Bug#11525).
8468 (icalendar-import-format-uid): New.
8469 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
8470 Export UID.
8471
8472 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
8473
8474 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
8475 different alternative patterns.
8476 (pcase-codegen): Be more careful to preserve identity.
8477 (pcase--u1): Don't forget to mark vars as used.
8478
8479 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
8480 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
8481 (byte-compile-from-buffer): ...rather than here.
8482
8483 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
8484 functions from byte-compile-function-environment.
8485
8486 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
8487
8488 * window.el (window-deletable-p): Avoid deleting the root window
8489 of a frame with an active minibuffer.
8490
8491 2012-05-29 Martin Rudalics <rudalics@gmx.at>
8492
8493 * simple.el (choose-completion): Use quit-window (Bug#11567).
8494
8495 2012-05-29 Chong Yidong <cyd@gnu.org>
8496
8497 * whitespace.el (whitespace-cleanup): Fix usage of
8498 whitespace-empty-at-bob-regexp (Bug#11492).
8499
8500 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8501
8502 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
8503 revert (Bug#11488).
8504
8505 2012-05-29 Juri Linkov <juri@jurta.org>
8506
8507 * isearch.el (isearch-mode-map): Bind `M-s _' to
8508 `isearch-toggle-symbol'. Bind `M-s c' to
8509 `isearch-toggle-case-fold'.
8510 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
8511 (isearch-forward): Add `M-s _' to the docstring.
8512 (isearch-forward-symbol, isearch-toggle-case-fold)
8513 (isearch-symbol-regexp): New functions. (Bug#11381)
8514
8515 2012-05-29 Juri Linkov <juri@jurta.org>
8516
8517 * isearch.el (isearch-word): Add docstring. (Bug#11381)
8518 (isearch-occur, isearch-search-and-update): If `isearch-word' is
8519 a function, call it to get the regexp.
8520 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
8521 property `isearch-message-prefix' instead of the string "word ".
8522 (isearch-search-fun-default): For the case of `isearch-word',
8523 return a lambda that calls re-search-forward/re-search-backward
8524 with a regexp returned by `word-search-regexp' or by the function
8525 in `isearch-word'.
8526
8527 2012-05-29 Juri Linkov <juri@jurta.org>
8528
8529 * isearch.el (isearch-search-fun-default): New function.
8530 (isearch-search-fun): Move default part to the new function
8531 `isearch-search-fun-default'.
8532 (isearch-search-fun-function): Set the default value to
8533 `isearch-search-fun-default'. (Bug#11381)
8534
8535 * comint.el (comint-history-isearch-end):
8536 Use `isearch-search-fun-default'.
8537 (comint-history-isearch-search): Use `isearch-search-fun-default'
8538 and remove spacial case for `isearch-word'.
8539 (comint-history-isearch-wrap): Remove spacial case for
8540 `isearch-word'.
8541
8542 * hexl.el (hexl-isearch-search-function):
8543 Use `isearch-search-fun-default'.
8544
8545 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
8546 Use `word-search-regexp' for `isearch-word'.
8547
8548 * misearch.el (multi-isearch-search-fun):
8549 Use `isearch-search-fun-default'.
8550
8551 * simple.el (minibuffer-history-isearch-search):
8552 Use `isearch-search-fun-default' and remove spacial case for
8553 `isearch-word'.
8554 (minibuffer-history-isearch-wrap): Remove spacial case for
8555 `isearch-word'.
8556
8557 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
8558 Remove spacial case for `isearch-word'.
8559 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
8560
8561 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8562
8563 Decrease XEmacs incompatibilities.
8564 * textmodes/flyspell.el (flyspell-check-pre-word-p):
8565 Use `string-match'.
8566 (flyspell-delete-region-overlays): Use alternative definition for
8567 XEmacs.
8568 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
8569 (flyspell-word): Use `process-kill-without-query' if XEmacs.
8570 (flyspell-mode-on): Use `interactive-p' if XEmacs.
8571 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
8572 `define-obsolete-face-alias' under XEmacs, but old method.
8573
8574 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
8575 `with-no-warnings' definition or Emacs alias.
8576 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
8577 (ispell-word): Do not use `region-p' if XEmacs.
8578
8579 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8580
8581 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8582 Check for `ispell-dictionary-base-alist' instead of full
8583 `ispell-dictionary-alist'.
8584 (ispell-init-process): Show spellchecker when starting new Ispell
8585 process.
8586
8587 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
8588
8589 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
8590 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
8591
8592 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
8593
8594 * version.el (motif-version-string, gtk-version-string)
8595 (ns-version-string): Declare.
8596
8597 2012-05-27 Juri Linkov <juri@jurta.org>
8598
8599 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
8600 after the `eval-defun-1' specialcaseing
8601 like in `edebug-eval-defun' (bug#10181).
8602
8603 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8604 like in `eval-defun-1'.
8605
8606 2012-05-27 Eli Zaretskii <eliz@gnu.org>
8607
8608 * mail/sendmail.el (mail-yank-region):
8609 Recognize rmail-yank-current-message in addition to insert-buffer.
8610 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
8611 a *mail* buffer created through rmail-start-mail with sendmail as
8612 mail-user-agent.
8613
8614 2012-05-27 Chong Yidong <cyd@gnu.org>
8615
8616 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
8617 Default to 256 (Bug#11267).
8618
8619 * help.el (describe-mode): Doc fix.
8620
8621 2012-05-26 Glenn Morris <rgm@gnu.org>
8622
8623 * w32-fns.el (w32-init-info): Remove.
8624 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
8625
8626 * info.el (info-initialize): For self-contained NS builds, put the
8627 included info/ directory at the front. (Bug#2791)
8628
8629 * paths.el (Info-default-directory-list): Make it a defcustom,
8630 mainly so that we can use custom-initialize-delay.
8631
8632 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
8633
8634 * subr.el (buffer-has-markers-at): Mark obsolete.
8635
8636 * subr.el (lambda): Use declare.
8637
8638 * emacs-lisp/lisp-mode.el (lambda):
8639 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8640
8641 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
8642
8643 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
8644
8645 2012-05-26 Glenn Morris <rgm@gnu.org>
8646
8647 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8648
8649 2012-05-25 Glenn Morris <rgm@gnu.org>
8650
8651 * paths.el: Remove no-byte-compile.
8652 * loadup.el: No need to load paths.el uncompiled.
8653
8654 * image.el (imagemagick-types-inhibit): Doc fix.
8655
8656 * version.el: Remove no-byte-compile and associated formatting.
8657 * loadup.el: No need to load version.el uncompiled. AFAICS, this
8658 is ancient code from when there was an "inc-vers.el".
8659
8660 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * progmodes/gdb-mi.el: Minor style changes.
8663 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8664 Turn into minor modes.
8665 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8666 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8667 (gdb-shell): Remove unneeded let-binding.
8668 (gdb-get-many-fields): Eliminate O(n²) behavior.
8669
8670 2012-05-25 Eli Zaretskii <eliz@gnu.org>
8671
8672 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8673 platforms that don't link in fontset.c.
8674
8675 2012-05-25 Juri Linkov <juri@jurta.org>
8676
8677 Use the same diff color scheme as in modern VCSes (bug#10181).
8678
8679 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8680 to avoid confusion with `diff-added' that now uses green colors.
8681 (diff-removed): Use shades of red.
8682 (diff-added): Use shades of green.
8683 (diff-changed): Leave just the yellow color.
8684 (diff-use-changed-face): New variable.
8685 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8686 how to highlight context diff changes.
8687 (diff-refine-change): Use shades of yellow.
8688 (diff-refine-removed): New face that uses shades of red.
8689 (diff-refine-added): New face that uses shades of green.
8690 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8691 `diff-refine-removed' in the call to `smerge-refine-subst'
8692 depending on the value of `diff-use-changed-face'.
8693
8694 * vc/smerge-mode.el (smerge-mine): Use shades of red.
8695 (smerge-other): Use shades of green.
8696 (smerge-base): Use shades of yellow.
8697 (smerge-refined-change): Empty face.
8698 (smerge-refined-removed): New face that uses shades of red.
8699 (smerge-refined-added): New face that uses shades of green.
8700 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
8701 args `props-r' and `props-a', and use them. Doc fix.
8702 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8703 on its value use different faces `smerge-refined-change',
8704 `smerge-refined-removed', `smerge-refined-added' in the call to
8705 `smerge-refine-subst'.
8706
8707 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8708 Add face condition `min-colors 88' with shades of red.
8709 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8710 `min-colors 88' with shades of green.
8711 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8712 `min-colors 88' with shades of yellow.
8713
8714 2012-05-24 Glenn Morris <rgm@gnu.org>
8715
8716 * paths.el (prune-directory-list, remote-shell-program): Move to...
8717 * files.el (prune-directory-list, remote-shell-program): ...here.
8718 For the latter, delay initialization, prefer ssh, just search PATH.
8719
8720 * paths.el (term-file-prefix): Move to faces.el (the only user).
8721 * faces.el (term-file-prefix): Move here, make it a defcustom.
8722
8723 * paths.el (news-directory, news-path, news-inews-program):
8724 Move to gnus/nnspool.el.
8725
8726 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8727
8728 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8729 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8730 Make the latter a defcustom, with a delayed initialization.
8731
8732 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8733 These were deleted from Gnus itself late 2010.
8734
8735 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
8736
8737 * progmodes/which-func.el (which-func-ff-hook):
8738 Check against user-error, not error.
8739
8740 * emacs-lisp/edebug.el (top): Do not load or set up loading of
8741 cl-specs.el, which no longer exists.
8742
8743 2012-05-22 Glenn Morris <rgm@gnu.org>
8744
8745 * info.el (info-emacs-bug): New command.
8746 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8747 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8748
8749 2012-05-21 Glenn Morris <rgm@gnu.org>
8750
8751 * makefile.w32-in (update-subdirs-SH):
8752 * Makefile.in (update-subdirs): Update for moved update-subdirs.
8753
8754 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
8755
8756 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8757
8758 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8759 Simplify Maven regexp, and make sure the file can't start with a space
8760 (bug#11517).
8761
8762 2012-05-21 Glenn Morris <rgm@gnu.org>
8763
8764 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8765 Scrap superfluous subshells.
8766
8767 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
8768
8769 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8770 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8771
8772 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
8773
8774 * calc/calc.el (calc-ensure-consistent-units): New variable.
8775
8776 * calc/calc-units.el (math-consistent-units-p)
8777 (math-check-unit-consistency): New functions.
8778 (calc-quick-units, calc-convert-units):
8779 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8780 is non-nil.
8781 (calc-extract-units): Fix typo.
8782
8783 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8786
8787 * textmodes/flyspell.el: Commenting style, plus code simplifications.
8788 (flyspell-default-deplacement-commands): Don't spell check after
8789 repeated window/frame switches (e.g. triggered by mouse-movement).
8790 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8791 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8792 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8793 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8794 Remove unused vars.
8795 (flyspell-get-casechars, flyspell-get-not-casechars):
8796 Simplify; Don't bother removing a ] just to add it back.
8797 * textmodes/ispell.el (ispell-program-name): Use executable-find.
8798
8799 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8800
8801 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8802 New functions.
8803 (math-function-table): Add support for more C functions.
8804
8805 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8806
8807 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8808 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8809 Protect delay handling for otherchars against empty otherchars.
8810
8811 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
8812
8813 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8814 their respective macro declarations.
8815 * skeleton.el (define-skeleton):
8816 * progmodes/compile.el (define-compilation-mode):
8817 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8818 (define-ibuffer-filter):
8819 * emacs-lisp/generic.el (define-generic-mode):
8820 * emacs-lisp/easy-mmode.el (define-minor-mode)
8821 (define-globalized-minor-mode):
8822 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8823 * emacs-lisp/byte-run.el (defsubst):
8824 * custom.el (deftheme): Add doc-string metadata.
8825
8826 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8827
8828 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8829
8830 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8833
8834 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8835 * emacs-lisp/cl-macs.el: Idem.
8836 * emacs-lisp/cl-specs.el: Remove.
8837
8838 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8839
8840 Minor renaming of internal CL functions and variables.
8841 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8842 (cl--position): Rename from cl-position.
8843 (cl--delete-duplicates): Rename from cl-delete-duplicates.
8844 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8845 (cl--random-state): Rename from *random-state*.
8846
8847 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8850 parens around the arg list (bug#11499).
8851
8852 2012-05-17 Juri Linkov <juri@jurta.org>
8853
8854 * isearch.el (word-search-regexp, word-search-backward)
8855 (word-search-forward, word-search-backward-lax)
8856 (word-search-forward-lax): Move functions from search.c
8857 (bug#10145, bug#11381).
8858
8859 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8860
8861 * textmodes/flyspell.el (flyspell-check-pre-word-p)
8862 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8863 Delay for otherchars as for normal word components.
8864
8865 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
8866
8867 * minibuffer.el (completion--sifn-requote): Fix last change.
8868 (minibuffer-local-must-match-filename-map):
8869 Move define-obsolete-variable-alias before its var.
8870
8871 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8872
8873 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8874
8875 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8876 behavior.
8877 (completion--string-equal-p): New function.
8878 (completion--twq-all): Use it to get better assertion failure data.
8879
8880 Only handle ".." and '..' quoting in shell-mode (bug#11466).
8881 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8882 (shell--requote-argument): New functions.
8883 (shell-completion-vars): Use them.
8884 (shell--parse-pcomplete-arguments): Rename from
8885 shell-parse-pcomplete-arguments.
8886 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
8887 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8888 Obey comint-file-name-quote-list.
8889
8890 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8891 (smie-indent-keyword): Use it.
8892
8893 2012-05-14 Stefan Merten <smerten@oekonux.de>
8894
8895 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8896
8897 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8898
8899 * net/rlogin.el (rlogin-mode-map): Fix last change.
8900
8901 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8902
8903 * mail/smtpmail.el (smtpmail-send-command): Send the command and
8904 the following \r\n using a single `process-send-string', since the
8905 Lotus SMTP server refuses to accept any commands if they are sent
8906 with two `process-send-string's (Bug#11444).
8907
8908 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * shell.el (shell-parse-pcomplete-arguments):
8911 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8912
8913 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8914
8915 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8916 (image-transform-scale, image-transform-right-angle-fudge): New vars.
8917 (image-transform-width, image-transform-fit-width): New functions.
8918 (image-transform-properties): Use them.
8919 (image-transform-check-size): New function.
8920 (image-toggle-display-image): Use it (for testing).
8921 (image-transform-set-rotation): Reduce angle mod 360.
8922 Delete obsolete comment.
8923
8924 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
8925
8926 * image-mode.el: Fix scaling (bug#11399).
8927 (image-transform-resize): Doc fix.
8928 (image-transform-properties): Default scale is 1 and height should
8929 be an integer.
8930
8931 2012-05-13 Johan Bockgård <bojohan@gnu.org>
8932
8933 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8934 than hard-coding `car', to fix misbehavior when moving forward.
8935
8936 2012-05-13 Chong Yidong <cyd@gnu.org>
8937
8938 * emacs-lisp/tabulated-list.el (tabulated-list-format)
8939 (tabulated-list-entries, tabulated-list-padding)
8940 (tabulated-list-sort-key): Make permanent-local.
8941
8942 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8943 (electric-buffer-list): Put electric buffer menu
8944 command descriptions in this docstring, instead of the docstring
8945 of electric-buffer-menu-mode. Code cleanups.
8946 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
8947 Electric-buffer-menu-mode.
8948 (electric-buffer-update-highlight): Minor code cleanup.
8949
8950 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
8951
8952 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8953 (Bug#11447)
8954
8955 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 Move define-obsolete-variable-alias before the var's definition.
8958 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8959 * tooltip.el (tooltip-hook):
8960 * textmodes/reftex-toc.el (reftex-toc-map):
8961 * textmodes/reftex-sel.el (reftex-select-label-map)
8962 (reftex-select-bib-map):
8963 * textmodes/reftex-index.el (reftex-index-map)
8964 (reftex-index-phrases-map):
8965 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8966 * progmodes/meta-mode.el (meta-mode-map):
8967 * novice.el (disabled-command-hook):
8968 * loadhist.el (unload-hook-features-list):
8969 * frame.el (blink-cursor):
8970 * files.el (find-file-not-found-hooks, write-file-hooks)
8971 (write-contents-hooks):
8972 * emulation/tpu-edt.el (GOLD-map):
8973 * emacs-lock.el (emacs-lock-from-exiting):
8974 * emacs-lisp/generic.el (generic-font-lock-defaults):
8975 * emacs-lisp/chart.el (chart-map):
8976 * dos-fns.el (register-name-alist):
8977 * dired-x.el (dired-omit-files-p):
8978 * desktop.el (desktop-enable):
8979 * cus-edit.el (custom-mode-hook):
8980 * buff-menu.el (buffer-menu-mode-hook):
8981 * bookmark.el (bookmark-read-annotation-text-func)
8982 (bookmark-exit-hooks):
8983 * allout.el (allout-mode-deactivate-hook)
8984 (allout-exposure-change-hook, allout-structure-added-hook)
8985 (allout-structure-deleted-hook, allout-structure-shifted-hook):
8986 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8987 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8988 comes before the corresponding variable's definition.
8989
8990 2012-05-12 Chong Yidong <cyd@gnu.org>
8991
8992 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8993 (Buffer-menu-mouse-select): Restore function (Bug#11459).
8994 (Buffer-menu-mode-map): Bind it.
8995 (Buffer-menu--pretty-name): Add a mouse-face property.
8996
8997 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
9000 (prolog-upper-case-string, prolog-lower-case-string)
9001 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
9002 (prolog-use-smie, prolog-smie-grammar): New vars.
9003 (prolog-smie-forward-token, prolog-smie-backward-token)
9004 (prolog-smie-rules): New funs.
9005 (prolog-comment-indent): Remove.
9006 (prolog-mode-variables): Use default comment indentation instead.
9007 Setup SMIE.
9008 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
9009 (prolog-mode): Don't call them any more.
9010 (prolog-electric-colon, prolog-electric-dash)
9011 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
9012
9013 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
9014
9015 * minibuffer.el (completion--twq-all): Again, allow case differences.
9016
9017 * term.el: Move keymap initialization code to be more idiomatic.
9018 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
9019 (term-terminal-menu): Move initialization into declaration.
9020 (term-escape-char): Let the user set it in her .emacs.
9021
9022 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
9023 Provide SMIE-based indentation (not enabled by default yet).
9024 (sh-mode-map): Don't bind electric keys.
9025 Use electric-pair-mode instead of skeleton-pair.
9026 (sh-assignment-regexp): Fit within 80 columns.
9027 (sh-indent-supported): Specify actual shell name instead of boolean.
9028 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
9029 (sh-maybe-here-document): Use it. Make obsolete.
9030 (sh-electric-here-document-mode) New minor mode.
9031 (sh-mode): Use it. Don't set sh-indent-supported-here here.
9032 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
9033 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
9034 (sh-smie-rc-grammar, sh-use-smie): New vars.
9035 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
9036 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
9037 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
9038 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
9039 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
9040 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
9041 (sh-set-shell): Use smie-setup if requested.
9042
9043 * term.el (term-set-escape-char): Properly set term-escape-char.
9044 See http://stackoverflow.com/questions/10524656.
9045
9046 2012-05-10 Chong Yidong <cyd@gnu.org>
9047
9048 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
9049 Use url-generic-parse-url, and handle host names and Windows
9050 filenames properly.
9051 (ffap-url-unwrap-remote): Use url-generic-parse-url.
9052 (ffap-url-unwrap-remote): Accept list values, specifying a list of
9053 URL schemes to work on.
9054 (ffap--toggle-read-only): New function.
9055 (ffap-read-only, ffap-read-only-other-window)
9056 (ffap-read-only-other-frame): Use it.
9057 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
9058 necessary for ffap-url-unwrap-remote.
9059
9060 2012-05-10 Dave Abrahams <dave@boostpro.com>
9061
9062 * cus-start.el (create-lockfiles): Add it.
9063
9064 2012-05-09 Chong Yidong <cyd@gnu.org>
9065
9066 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
9067 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
9068
9069 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9070
9071 * shell.el (shell-completion-vars): Fix last change (bug#11348).
9072
9073 2012-05-09 Chong Yidong <cyd@gnu.org>
9074
9075 * ansi-color.el (ansi-color-process-output): Check for validity of
9076 comint-last-output-start before using it. This avoids a bad
9077 interaction with gdb-mi's input/output buffer.
9078
9079 2012-05-09 Glenn Morris <rgm@gnu.org>
9080
9081 * files.el (dir-locals-read-from-file):
9082 Mention dir-locals in any error message.
9083
9084 2012-05-09 Chong Yidong <cyd@gnu.org>
9085
9086 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
9087 package (Bug#11410).
9088
9089 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
9090 variables into description.
9091
9092 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
9093
9094 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
9095 shell-delimiter-argument-list (bug#11348).
9096 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
9097
9098 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
9099
9100 * textmodes/rst.el: Silence byte-compiler warnings.
9101 (rst-re-alist, rst-reset-section-caches): Move around.
9102 (rst-re): Use `characterp', not `char-valid-p'.
9103 (font-lock-beg, font-lock-end): Declare.
9104
9105 * progmodes/idlw-shell.el (specs): Remove reference to deleted
9106 variable `idlwave-shell-activate-alt-keybindings' and simplify.
9107
9108 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
9109
9110 2012-05-08 Glenn Morris <rgm@gnu.org>
9111
9112 * files.el (auto-mode-alist): Treat ".make" like ".mk".
9113
9114 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
9115
9116 * vc/log-edit.el: Add GNU coding standards highlighting.
9117 (log-edit-font-lock-gnu-style)
9118 (log-edit-font-lock-gnu-keywords): New vars.
9119 (log-edit-font-lock-keywords): New fun.
9120 (log-edit-mode): Don't fold case in font-lock.
9121 (log-edit-font-lock-keywords): Do not assume case-folding.
9122
9123 * imenu.el: Misc cleanup. Make docstrings out of comments.
9124 Use lexical-binding.
9125 (imenu--index-alist, imenu--last-menubar-index-alist)
9126 (imenu-menubar-modified-tick): Use defvar-local.
9127 (imenu--split-menu): Remove unused var.
9128 (imenu--cleanup-seen): Declare as global.
9129 (imenu--cleanup): Use dolist.
9130
9131 * subr.el (defvar-local): Add debug spec and doc-string position.
9132
9133 2012-05-08 Glenn Morris <rgm@gnu.org>
9134
9135 * language/burmese.el, language/cham.el, language/czech.el:
9136 * language/english.el, language/georgian.el, language/greek.el:
9137 * language/japanese.el, language/khmer.el, language/korean.el:
9138 * language/lao.el, language/misc-lang.el, language/romanian.el:
9139 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
9140 * language/thai.el, language/utf-8-lang.el:
9141 Remove no-byte-compile setting.
9142
9143 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
9144
9145 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9146
9147 * progmodes/make-mode.el (makefile-browse):
9148 Remove unnecessary interactive. (Bug#11324)
9149
9150 2012-05-07 Glenn Morris <rgm@gnu.org>
9151
9152 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
9153
9154 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
9155
9156 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * loadup.el: Preload newcomment.el.
9159 * newcomment.el: Move autoload-only code to toplevel.
9160
9161 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
9162 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9163 Handle new :right-align column property.
9164 (tabulated-list-print-col): Idem, plus use `display' text-property to
9165 try and preserve alignment for variable pitch fonts.
9166
9167 2012-05-07 Chong Yidong <cyd@gnu.org>
9168
9169 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
9170 (tabulated-list-use-header-line): New var.
9171 (tabulated-list-init-header): Use it.
9172 (tabulated-list-print-fake-header): New function.
9173 (tabulated-list-print): Use it.
9174 (tabulated-list-sort-button-map): Add non-header-line commands.
9175 (tabulated-list-init-header): Add column name property to basic
9176 labels as well.
9177 (tabulated-list-col-sort): Handle non-header-line button case.
9178 (tabulated-list--sort-by-column-name): Fix a corner case.
9179
9180 * buff-menu.el (list-buffers--refresh):
9181 Handle Buffer-menu-use-header-line.
9182
9183 2012-05-06 Chong Yidong <cyd@gnu.org>
9184
9185 * buff-menu.el: Convert to Tabulated List mode.
9186 (Buffer-menu-buffer+size-width): Make obsolete.
9187 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
9188 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
9189 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
9190 documentation into docstring of buffer-menu.
9191 (Buffer-menu-toggle-files-only): Add an informative message.
9192 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
9193 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
9194 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
9195 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
9196 (Buffer-menu-execute, Buffer-menu-select)
9197 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
9198 (Buffer-menu-bury): Use Tabulated List machinery.
9199 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
9200 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
9201 Delete.
9202 (list-buffers--refresh): New function.
9203 (list-buffers-noselect): Use it.
9204 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
9205 (Buffer-menu--pretty-file-name): New helper functions.
9206
9207 * loadup.el: Preload tabulated-list.
9208
9209 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
9210 tabulated-list-sort-column.
9211 (tabulated-list-init-header): Add the initial aligning space even
9212 if tabulated-list-padding is zero.
9213
9214 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
9215
9216 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
9217 whose cdr is not a cons cell correctly (bug#11038).
9218
9219 2012-05-06 Chong Yidong <cyd@gnu.org>
9220
9221 * emacs-lisp/tabulated-list.el (tabulated-list-format):
9222 Accept additional plist in column descriptors.
9223 (tabulated-list-init-header): Obey it.
9224 (tabulated-list-get-entry): New function.
9225 (tabulated-list-put-tag): Use it. Use string-width instead of
9226 length.
9227 (tabulated-list--column-number): New function.
9228 (tabulated-list-print): Use it.
9229 (tabulated-list-print-col): New function.
9230 Set `tabulated-list-column-name' property on each column's text.
9231 (tabulated-list-print-entry): Use it.
9232 (tabulated-list-delete-entry, tabulated-list-set-col):
9233 New functions.
9234 (tabulated-list-sort-column): New command (Bug#11337).
9235
9236 * buff-menu.el (list-buffers): Move C-x C-b binding from
9237 buff-menu.el to bindings.el.
9238
9239 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
9240 :advertised-binding feature.
9241
9242 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
9243
9244 * progmodes/compile.el (compilation-internal-error-properties):
9245 Calculate start position correctly when end-col is set but
9246 end-line is not (Bug#11382).
9247
9248 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
9249
9250 * man.el (Man-unindent): Use text-property-default-nonsticky to
9251 prevent untabify from inheriting face properties (Bug#11408).
9252
9253 2012-05-05 Stefan Merten <smerten@oekonux.de>
9254
9255 * textmodes/rst.el: Major merge with upstream development up to
9256 Docutils SVN r7399 / rst.el V1.2.1.
9257
9258 Clarify maintainership and authors.
9259
9260 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
9261 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
9262 (rst-official-version, rst-official-cvs-rev, rst-version)
9263 (rst-package-emacs-version-alist): New functions and variables
9264 for version information.
9265
9266 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
9267 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
9268 (rst-mode-syntax-table, rst-mode): New and corrected functions
9269 and variables representing reStructuredText features.
9270
9271 (rst-re): New function for reStructuredText regexes. Use in
9272 many places.
9273
9274 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
9275 (rst-mode-map): Rebind keys.
9276
9277 (rst-mode-lazy, rst-font-lock-keywords)
9278 (rst-font-lock-extend-region)
9279 (rst-font-lock-extend-region-internal)
9280 (rst-font-lock-extend-region-extend)
9281 (rst-font-lock-find-unindented-line-limit)
9282 (rst-font-lock-find-unindented-line-match)
9283 (rst-adornment-level, rst-font-lock-adornment-level)
9284 (rst-font-lock-adornment-match)
9285 (rst-font-lock-handle-adornment-pre-match-form)
9286 (rst-font-lock-handle-adornment-matcher): Major revision of
9287 font-locking. Integrate with other code. Use `jit-lock-mode'.
9288
9289 (rst-preferred-adornments, rst-adjust-hook)
9290 (rst-new-adornment-down, rst-preferred-bullets)
9291 (rst-preferred-bullets, rst-indent, rst-indent-width)
9292 (rst-indent-field, rst-indent-literal-normal)
9293 (rst-indent-literal-minimized, rst-indent-comment): Change,
9294 extend and improve customization.
9295
9296 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
9297 (rst-normalize-cursor-position, rst-get-decoration)
9298 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
9299 (rst-rstrip, rst-toc-insert-find-delete-contents)
9300 (rst-shift-fill-region, rst-compute-bullet-tabs)
9301 (rst-debug-print-tabs, rst-debug-mark-found)
9302 (rst-shift-region-guts, rst-shift-region-right)
9303 (rst-shift-region-left, rst-use-char-classes)
9304 (rst-font-lock-keywords-function)
9305 (rst-font-lock-indentation-point)
9306 (rst-font-lock-find-unindented-line-begin)
9307 (rst-font-lock-find-unindented-line-end)
9308 (rst-font-lock-find-unindented-line)
9309 (rst-font-lock-adornment-point, rst-font-lock-level)
9310 (rst-adornment-level-alist): Remove functions and variables.
9311
9312 (rst-compare-adornments, rst-get-adornment-match)
9313 (rst-suggest-new-adornment, rst-get-adornments-around)
9314 (rst-adornment-complete-p, rst-get-next-adornment)
9315 (rst-adjust-adornment, rst-display-adornments-hierarchy)
9316 (rst-straighten-adornments): Standardize function names to
9317 use "adornment" instead of "decoration". Correct callers.
9318 Similar standardizing in many places.
9319
9320 (rst-update-section, rst-adjust, rst-promote-region)
9321 (rst-enumerate-region, rst-bullet-list-region)
9322 (rst-repeat-last-character): Correct use of `interactive'.
9323
9324 (rst-classify-adornment, rst-find-all-adornments)
9325 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
9326 (rst-find-leftmost-column, rst-repeat-last-character):
9327 Refactor functions.
9328
9329 (rst-find-title-line, rst-reset-section-caches)
9330 (rst-get-adornments-around, rst-adjust-adornment-work)
9331 (rst-arabic-to-roman, rst-roman-to-arabic)
9332 (rst-insert-list-pos, rst-insert-list-new-item)
9333 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
9334 New functions.
9335
9336 (rst-all-sections, rst-section-hierarchy)
9337 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
9338 New variables.
9339
9340 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
9341 configuration instead of only buffer. Change where necessary.
9342
9343 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
9344 (rst-shift-region, rst-adaptive-fill): New functions for
9345 indentation and filling.
9346
9347 (rst-comment-line-break, rst-comment-indent)
9348 (rst-comment-insert-comment, rst-comment-region)
9349 (rst-uncomment-region): New functions for handling comments.
9350
9351 (rst-compile): Quote shell arguments.
9352
9353 (rst-compile-pdf-preview, rst-compile-slides-preview):
9354 Delete temporary files after use.
9355
9356 2012-05-05 Glenn Morris <rgm@gnu.org>
9357
9358 * calendar/cal-html.el: Optionally include holidays in the output.
9359 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
9360 (cal-html-holidays): New option.
9361 (cal-html-css-default): Add holiday entry.
9362 (holiday-in-range): Autoload it.
9363 (cal-html-htmlify-entry): Add optional class argument.
9364 (cal-html-htmlify-list): Add optional holidays argument.
9365 (cal-html-insert-agenda-days): Include holidays in the output.
9366 (cal-html-one-month): Maybe include holidays.
9367
9368 * calendar/holidays.el (holiday-in-range):
9369 Move here from cal-tex-list-holidays.
9370 * calendar/cal-tex.el (cal-tex-list-holidays):
9371 Make it an obsolete alias for holiday-in-range. Update all callers.
9372
9373 2012-05-05 Chong Yidong <cyd@gnu.org>
9374
9375 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
9376 Nextstep.
9377
9378 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
9379
9380 * files.el (file-auto-mode-skip): New var.
9381 (set-auto-mode-1): Use it.
9382
9383 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
9384
9385 * repeat.el: Use lexical-binding.
9386 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
9387 (repeat-undo-count): Remove.
9388 (repeat):
9389 * progmodes/octave-mod.el (octave-abbrev-start):
9390 * progmodes/f90.el (f90-abbrev-start):
9391 * face-remap.el (text-scale-adjust):
9392 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
9393
9394 * emacs-lisp/pcase.el (pcase--let*): New function.
9395 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
9396 a bit more.
9397 (pcase--split-pred): Be more clever about ruling out overlap between
9398 a predicate and some constant pattern.
9399 (pcase--q1): Use `null' instead of (eq foo nil).
9400
9401 * subr.el (setq-local, defvar-local): New macros.
9402 (kbd): Redefine as an alias.
9403 (with-selected-window): Leave unrelated frames alone.
9404 (set-temporary-overlay-map): New function.
9405
9406 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * subr.el (user-error): New function.
9409 * window.el (switch-to-buffer):
9410 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
9411 (smerge-match-conflict):
9412 * simple.el (previous-matching-history-element)
9413 (next-matching-history-element, goto-history-element, undo-more)
9414 (undo-start):
9415 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
9416 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
9417 (next-file, tags-loop-scan, list-tags, complete-tag):
9418 * progmodes/compile.el (compilation-loop):
9419 * mouse.el (mouse-minibuffer-check):
9420 * man.el (Man-bgproc-sentinel, Man-goto-page):
9421 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
9422 (Info-history-forward, Info-follow-reference, Info-menu)
9423 (Info-extract-menu-item, Info-extract-menu-counting)
9424 (Info-forward-node, Info-backward-node, Info-next-menu-item)
9425 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
9426 (Info-next-reference, Info-prev-reference, Info-index)
9427 (Info-index-next, Info-follow-nearest-node)
9428 (Info-copy-current-node-name):
9429 * imenu.el (imenu--make-index-alist)
9430 (imenu-default-create-index-function, imenu-add-to-menubar):
9431 * files.el (basic-save-buffer, recover-file):
9432 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9433 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
9434 (checkdoc-message-text, checkdoc-defun):
9435 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
9436 * cus-edit.el (customize-changed-options, customize-rogue)
9437 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
9438 (custom-variable-mark-to-reset-standard)
9439 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
9440 (custom-file):
9441 * completion.el (check-completion-length):
9442 * comint.el (comint-search-arg)
9443 (comint-previous-matching-input-string-position)
9444 (comint-previous-matching-input)
9445 (comint-replace-by-expanded-history-before-point, comint-send-input)
9446 (comint-copy-old-input, comint-backward-matching-input)
9447 (comint-goto-process-mark, comint-set-process-mark):
9448 * calendar/calendar.el (calendar-cursor-to-date): Use it.
9449 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
9450
9451 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * dabbrev.el (dabbrev--ignore-case-p): New function.
9454 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
9455 Use it.
9456
9457 * files.el (automount-dir-prefix): Mark as obsolete.
9458
9459 2012-05-04 Glenn Morris <rgm@gnu.org>
9460
9461 * patcomp.el, play/bruce.el: Move to obsolete/.
9462
9463 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
9464
9465 Fix minor Y10k bugs.
9466 * arc-mode.el (archive-unixdate):
9467 * autoinsert.el (auto-insert-alist):
9468 * calc/calc-forms.el (math-this-year):
9469 * emacs-lisp/copyright.el (copyright-current-year)
9470 (copyright-update-year, copyright):
9471 * tar-mode.el (tar-clip-time-string):
9472 * time.el (display-time-update):
9473 Don't assume years have 4 digits.
9474
9475 2012-05-04 Chong Yidong <cyd@gnu.org>
9476
9477 * dos-w32.el (file-name-buffer-file-type-alist)
9478 (direct-print-region-use-command-dot-com):
9479 * ffap.el (ffap-menu-regexp):
9480 * find-file.el (ff-special-constructs):
9481 * follow.el (follow-debug):
9482 * forms.el (forms--debug):
9483 * iswitchb.el (iswitchb-all-frames):
9484 * ido.el (ido-all-frames):
9485 * emacs-lisp/timer.el (timer-max-repeats):
9486 * mail/feedmail.el (feedmail-mail-send-hook)
9487 (feedmail-mail-send-hook-queued):
9488 * mail/footnote.el (footnote-signature-separator):
9489 * mail/mailabbrev.el (mail-alias-separator-string)
9490 (mail-abbrev-mode-regexp):
9491 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
9492 * progmodes/idlwave.el (idlwave-libinfo-file)
9493 (idlwave-default-completion-case-is-down)
9494 (idlwave-library-routines): Convert defvars to defcustoms.
9495
9496 * mail/rmail.el (rmail-decode-mime-charset):
9497 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
9498 (idlwave-shell-fix-inserted-breaks)
9499 (idlwave-shell-activate-alt-keybindings)
9500 (idlwave-shell-use-breakpoint-glyph):
9501 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
9502
9503 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9504
9505 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
9506
9507 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
9508
9509 * progmodes/verilog-mode.el (font-lock-keywords):
9510 Fix mis-highligting auto. Reported by Craig Barner.
9511 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
9512 defines from global name space. Reported by Dan Dever.
9513 (verilog-auto-reset, verilog-auto-reset-widths)
9514 (verilog-auto-tieoff): Support using unbased numbers for
9515 AUTORESET and AUTOTIEOFF.
9516 (verilog-submit-bug-report): Update variable list.
9517 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
9518 parenthesis from not matching. Reported by Michael Rytting.
9519 (verilog-auto-template-lint): Fix hash error when linting modules
9520 with no used templates.
9521 (verilog-warn, verilog-warn-error)
9522 (verilog-warn-fatal): When non-interactive report multiple
9523 warnings before exiting. Suggested by Brad Dobbie.
9524 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
9525 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
9526 to report unused template errors. Reported by Brad Dobbie.
9527 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
9528 nets, bug438. Reported by Vns Blore.
9529 (verilog-auto-inout-module, verilog-auto-reg)
9530 (verilog-read-decls, verilog-read-sub-decls-sig)
9531 (verilog-signals-edit-wire-reg, verilog-signals-with):
9532 Fix passing of Verilog data types in ANSI input/output ports
9533 such as "output logic" into the AUTOs. Special case "wire" and
9534 "reg" for backwards compatibility presuming Verilog 2001.
9535 (verilog-auto-ascii-enum): Add "auto enum" as alias.
9536 (verilog-preprocess): Fix replication of preprocess output.
9537 Reported by Brad Dobbie.
9538 (verilog-auto-inst-interfaced-ports):
9539 Create verilog-auto-inst-interfaced-ports, bug429.
9540 Reported by Julian Gorfajn.
9541 (verilog-after-save-font-hook)
9542 (verilog-before-save-font-hook): New variable.
9543 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
9544 (verilog-save-font-mods): Wrap disabling fontification, reported
9545 by David Rogoff.
9546 (verilog-do-indent, verilog-pretty-declarations-auto)
9547 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
9548 Reported by Pierre-David Pfister.
9549 (verilog-set-auto-endcomments): Fix endtask auto comments outside
9550 of class declarations, bug292. Reported by Kevin Heilman.
9551 (verilog-read-decls): Fix 'parameter type' not appearing in
9552 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
9553 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
9554 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
9555 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
9556 Reported by David Kravitz.
9557
9558 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
9559
9560 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
9561 assignment with tests in ifs and for loops.
9562 (verilog-extended-complete-re, verilog-complete-reg): Change so
9563 that DPI inport functions don't look like fuction declarations.
9564 (verilog-pretty-expr): Don't line up assignment
9565 operations to the test and increment in if and for loops
9566 (verilog-extended-complete-re, verilog-complete-reg): Change so
9567 that DPI inport functions don't look like fuction declarations.
9568
9569 2012-05-03 Kenichi Handa <handa@m17n.org>
9570
9571 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
9572 decoding, and show a warning message without signaling an error
9573 (Bug#11282).
9574
9575 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
9576
9577 * emacs-lisp/bytecomp.el
9578 (byte-compile-file-form-custom-declare-variable): Compile all elements,
9579 since cconv.el might have introduced :fun-body, internal-make-closure,
9580 and friends for bytecomp to handle (bug#11391).
9581 * custom.el (defcustom): Avoid ((λ ..) ..).
9582
9583 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
9584
9585 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
9586
9587 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
9588
9589 * notifications.el (dbus-debug):
9590 * term/linux.el (gpm-mouse-enable):
9591 * term/screen.el (xterm-register-default-colors): Declare.
9592
9593 2012-05-02 Chong Yidong <cyd@gnu.org>
9594
9595 * cus-start.el (gc-cons-percentage, exec-suffixes)
9596 (dos-display-scancodes, dos-hyper-key, dos-super-key)
9597 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
9598 (make-cursor-line-fully-visible, void-text-area-pointer)
9599 (font-list-limit): Add customization data.
9600
9601 * allout.el (allout-exposure-change-functions)
9602 (allout-structure-added-functions)
9603 (allout-structure-deleted-functions)
9604 (allout-structure-shifted-functions): Rename abnormal hooks from
9605 *-hook, and convert to defcustoms.
9606 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
9607 Convert to defcustoms.
9608 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
9609
9610 * allout-widgets.el: Hook callers changed.
9611
9612 2012-05-02 Eli Zaretskii <eliz@gnu.org>
9613
9614 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
9615 the yanked message in preference to the default value of
9616 buffer-file-coding-system.
9617
9618 2012-05-02 Martin Rudalics <rudalics@gmx.at>
9619
9620 * window.el (display-buffer--action-function-custom-type):
9621 Fix entry.
9622
9623 2012-05-02 Alan Mackenzie <acm@muc.de>
9624
9625 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
9626
9627 2012-05-01 Glenn Morris <rgm@gnu.org>
9628
9629 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9630
9631 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
9632
9633 * cus-edit.el (custom-variable-documentation): Simplify with format.
9634
9635 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
9636 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * simple.el (suggest-key-bindings, execute-extended-command):
9639 Move from keyboard.c.
9640
9641 2012-05-01 Chong Yidong <cyd@gnu.org>
9642
9643 * follow.el: Eliminate advice.
9644 (set-process-filter, process-filter, sit-for): Advice deleted.
9645 (follow-mode-off-hook): Obsolete hook removed.
9646 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9647 Vars deleted.
9648 (follow-auto): Use a :set function.
9649 (follow-mode): Rewritten. Don't advise process filters.
9650 (follow-switch-to-current-buffer-all, follow-scroll-up)
9651 (follow-scroll-down): Assume follow-mode is bound.
9652 (follow-comint-scroll-to-bottom)
9653 (follow-align-compilation-windows): New functions.
9654 (follow--window-sorter): New function.
9655 (follow-all-followers): Use it to explicitly sort windows by their
9656 positions; don't make assumptions about next-window order.
9657 (follow-windows-start-end, follow-delete-other-windows-and-split)
9658 (follow-calc-win-start): Doc fix.
9659 (follow-windows-aligned-p, follow-select-if-visible): Don't call
9660 vertical-motion unnecessarily.
9661 (follow-adjust-window): New function.
9662 (follow-post-command-hook): Use it.
9663 (follow-call-set-process-filter, follow-call-process-filter)
9664 (follow-intercept-process-output, follow-tidy-process-filter-alist)
9665 (follow-stop-intercept-process-output, follow-generic-filter):
9666 Functions deleted.
9667 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9668 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9669 New functions, replacing advice on scroll-bar-* commands.
9670 (follow-mwheel-scroll): New function (Bug#4112).
9671
9672 * comint.el (comint-adjust-point): New function.
9673 (comint-postoutput-scroll-to-bottom): Use it.
9674 Call follow-comint-scroll-to-bottom for Follow mode buffers.
9675
9676 2012-05-01 Glenn Morris <rgm@gnu.org>
9677
9678 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9679 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9680 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9681 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9682 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9683 Remove no-byte-compile setting.
9684
9685 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
9686
9687 * minibuffer.el (completion-table-with-quoting): Fix compatibility
9688 all-completions code to not return a number in the last cdr.
9689
9690 2012-04-30 Leo Liu <sdl.web@gmail.com>
9691
9692 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9693 read-only error.
9694
9695 2012-04-29 Chong Yidong <cyd@gnu.org>
9696
9697 * follow.el (follow-calc-win-end): Rewrite to handle partial
9698 screen lines correctly (Bug#8390).
9699 (follow-avoid-tail-recenter): Minor cleanup.
9700
9701 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 Avoid the obsolete `assoc' package.
9704 * speedbar.el (speedbar-refresh): Avoid adelete.
9705 (speedbar-file-lists): Simplify and avoid aput.
9706 * man.el (Man--sections, Man--refpages): New vars, replacing
9707 Man-sections-alist and Man-refpages-alist.
9708 (Man-build-section-alist, Man-build-references-alist):
9709 Use them; avoid aput.
9710 (Man--last-section, Man--last-refpage): New vars.
9711 (Man-follow-manual-reference): Use them.
9712 Use the `default' arg of completing-read.
9713 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
9714
9715 2012-04-27 Chong Yidong <cyd@gnu.org>
9716
9717 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9718
9719 * startup.el (x-apply-session-resources): New function.
9720
9721 * term/ns-win.el (ns-initialize-window-system):
9722 * term/w32-win.el (w32-initialize-window-system):
9723 * term/x-win.el (x-initialize-window-system): Use it to properly
9724 set menu-bar-mode and other vars from X resources, even if the
9725 initial frame is not a window-system frame (Bug#2299).
9726
9727 * subr.el (read-key): Avoid running filter function when setting
9728 up temporary tool bar entries (Bug#9922).
9729
9730 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9731
9732 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9733 (Bug#11344)
9734
9735 2012-04-27 Chong Yidong <cyd@gnu.org>
9736
9737 * select.el (xselect--encode-string): New function, split from
9738 xselect-convert-to-string.
9739 (xselect-convert-to-string): Use it.
9740 (xselect-convert-to-filename, xselect-convert-to-os)
9741 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9742 returned strings are properly encoded (Bug#11315).
9743
9744 2012-04-27 Chong Yidong <cyd@gnu.org>
9745
9746 * simple.el (delete-active-region): Move to killing custom group.
9747
9748 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
9749
9750 * progmodes/which-func.el (which-func-current): Quote %
9751 characters for mode-line processing.
9752
9753 2012-04-27 Chong Yidong <cyd@gnu.org>
9754
9755 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9756 reaching eob (Bug#11286).
9757
9758 2012-04-27 Eli Zaretskii <eliz@gnu.org>
9759
9760 * progmodes/gdb-mi.el (gdb-control-level): New variable.
9761 (gdb): Make it buffer-local and init to zero.
9762 (gdb-control-commands-regexp): New variable.
9763 (gdb-send): Don't wrap in "-interpreter-exec console" if
9764 gdb-control-level is positive. Increment gdb-control-level
9765 whenever the command matches gdb-control-commands-regexp, and
9766 decrement it each time the command is "end". (Bug#11279)
9767
9768 2012-04-27 Martin Rudalics <rudalics@gmx.at>
9769
9770 * window.el (adjust-window-trailing-edge, enlarge-window)
9771 (shrink-window, window-resize):
9772 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9773 windows (Bug#11276).
9774
9775 2012-04-27 Chong Yidong <cyd@gnu.org>
9776
9777 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9778 fix "missing prefix" warning. All callers changed.
9779
9780 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * emacs-lisp/assoc.el: Move to obsolete/.
9783
9784 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9785
9786 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9787
9788 * term/ns-win.el (ns-define-service):
9789 * progmodes/pascal.el (pascal-goto-defun):
9790 * progmodes/js.el (js--read-tab):
9791 * progmodes/etags.el (tags-lazy-completion-table):
9792 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9793 * emacs-lisp/ewoc.el (ewoc--wrap):
9794 * emacs-lisp/assoc.el (aput, adelete, amake):
9795 * doc-view.el (doc-view-convert-current-doc):
9796 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9797
9798 2012-04-26 Chong Yidong <cyd@gnu.org>
9799
9800 * image.el (image-type-from-buffer): Only return supported image
9801 type (Bug#9045).
9802
9803 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9804 value, for symmetry with diff-end-of-hunk.
9805 (diff-split-hunk, diff-find-source-location)
9806 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9807 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9808 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9809 compute the relevant hunk or file properly (Bug#6005).
9810 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9811
9812 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
9813
9814 * vc/vc-mtn.el:
9815 * vc/vc-hg.el:
9816 * vc/vc-git.el:
9817 * vc/vc-dir.el:
9818 * vc/vc-cvs.el:
9819 * vc/vc-bzr.el:
9820 * vc/vc-arch.el:
9821 * vc/vc.el: Replace lexical-let by lexical-binding.
9822 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9823 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9824 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9825
9826 2012-04-26 Chong Yidong <cyd@gnu.org>
9827
9828 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9829 (diff-mode-shared-map): Bind it to / and [remap undo].
9830
9831 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9832 (ediff-window-setup-function): Use it as the default, to set up
9833 windows based on whether the current frame is graphical (Bug#2138).
9834 (ediff-choose-window-setup-function-automatically): Make obsolete.
9835
9836 * vc/ediff-init.el: Always define ediff-pixel-width/height.
9837
9838 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * ffap.el: Remove old code for obsolete package.
9841 (ffap-complete-as-file-p): Remove.
9842
9843 Use completion-table-with-quoting for comint and pcomplete.
9844 * comint.el (comint--unquote&requote-argument)
9845 (comint--unquote-argument, comint--requote-argument): New functions.
9846 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9847 (comint-quote-filename): Use regexp-opt-charset.
9848 (comint--common-suffix, comint--common-quoted-suffix)
9849 (comint--table-subvert): Remove.
9850 (comint-unquote-function, comint-requote-function): New vars.
9851 (comint--complete-file-name-data): Use them with
9852 completion-table-with-quoting.
9853 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9854 * pcomplete.el (pcomplete-arg-quote-list)
9855 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9856 (pcomplete-unquote-argument-function): Default to non-nil.
9857 (pcomplete-unquote-argument): Simplify.
9858 (pcomplete--common-quoted-suffix): Remove.
9859 (pcomplete-requote-argument-function): New var.
9860 (pcomplete--common-suffix): New function.
9861 (pcomplete-completions-at-point): Use completion-table-with-quoting
9862 and completion-table-subvert.
9863
9864 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9865 (minibuffer--double-dollars): Preserve properties.
9866 (completion--sifn-requote): New function.
9867 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9868
9869 * minibuffer.el: Add support for completion of quoted/escaped data.
9870 (completion-table-with-quoting, completion-table-subvert): New funs.
9871 (completion--twq-try, completion--twq-all): New functions.
9872 (completion--nth-completion): New function.
9873 (completion-try-completion, completion-all-completions): Use it.
9874
9875 2012-04-25 Leo Liu <sdl.web@gmail.com>
9876
9877 * progmodes/python.el (python-pdbtrack-get-source-buffer):
9878 Use compilation-message if available to find real filename.
9879
9880 2012-04-25 Chong Yidong <cyd@gnu.org>
9881
9882 * vc/diff-mode.el (diff-setup-whitespace): New function.
9883 (diff-mode): Use it.
9884
9885 * vc/diff.el (diff-sentinel):
9886 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9887 Whitespace mode variables based on diff style (Bug#8612).
9888
9889 2012-04-25 Leo Liu <sdl.web@gmail.com>
9890
9891 * progmodes/python.el (python-send-region): Add suffix .py to the
9892 temp file.
9893
9894 * files.el (auto-mode-alist): Use javascript-mode instead.
9895
9896 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
9897
9898 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
9899
9900 * net/soap-client.el (soap-resolve-references-for-sequence-type)
9901 (soap-resolve-references-for-array-type): Hack to prevent self
9902 references, see Bug#9.
9903 (soap-parse-envelope): Report the contents of the 'detail' node
9904 when receiving a fault reply.
9905 (soap-parse-envelope): Report the contents of the entire 'detail' node.
9906
9907 * net/soap-inspect.el (soap-sample-value-for-simple-type)
9908 (soap-inspect-simple-type): New function.
9909
9910 * net/soap-client.el (soap-simple-type): New struct.
9911 (soap-default-xsd-types, soap-default-soapenc-types)
9912 (soap-decode-basic-type, soap-encode-basic-type):
9913 support unsignedInt and double basic types.
9914 (soap-resolve-references-for-simple-type)
9915 (soap-parse-simple-type, soap-encode-simple-type): New function.
9916 (soap-parse-schema): Parse xsd:simpleType declarations.
9917
9918 * net/soap-client.el (soap-default-xsd-types)
9919 (soap-default-soapenc-types): Add integer, byte and anyURI types.
9920 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9921 the local name of "soapenc:Array".
9922 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9923 decoding integer, byte and anyURI xsd types.
9924
9925 2012-04-25 Chong Yidong <cyd@gnu.org>
9926
9927 * cus-edit.el (custom-buffer-create-internal): Update header text.
9928
9929 2012-04-25 Eli Zaretskii <eliz@gnu.org>
9930
9931 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9932 settings on 'system-type', not on 'window-system'. On MS-Windows,
9933 set interactive-mode on in GDB.
9934
9935 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9938 (ruby-syntax-propertize-regexp): Remove.
9939 (ruby-syntax-propertize-function): Split regexp into chunks.
9940 Match following code directly.
9941
9942 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
9943
9944 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9945 (ruby-syntax-propertize-regexp): New function.
9946 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9947 by a special keyword.
9948
9949 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9950 (ruby-syntax-general-delimiters-goto-beg)
9951 (ruby-syntax-propertize-general-delimiters): New functions.
9952 (ruby-syntax-propertize-function): Use them to handle GDL.
9953 (ruby-font-lock-keywords): Move old handling of GDL...
9954 (ruby-font-lock-syntactic-keywords): .. to here.
9955 (ruby-calculate-indent): Adjust indentation for GDL.
9956
9957 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
9958
9959 * notifications.el (top): Remove unneeded declarations.
9960 (notifications-specification-version): Change to "1.2".
9961 (notifications-interface, notifications-notify-method)
9962 (notifications-close-notification-method): Fix docstring.
9963 (notifications-get-capabilities-method): New defconst.
9964 (notifications-notify): Add :action-items, :resident and
9965 :transient hints. Change "image_data" to "image-data" and
9966 "image_path" to "image-path".
9967 (notifications-get-capabilities): New defun.
9968
9969 2012-04-24 Leo Liu <sdl.web@gmail.com>
9970
9971 * progmodes/python.el: Move hideshow setup to the end.
9972
9973 2012-04-24 Martin Rudalics <rudalics@gmx.at>
9974
9975 * window.el (handle-select-window): Clear echo area since this is
9976 no more done by read_char (Bug#11304).
9977
9978 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9981 and `/ M' to filter-derived-mode.
9982 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9983 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9984 (ibuffer-mark-by-mode): Use default rather than initial-input.
9985 (ibuffer-filter-by-derived-mode): Autoload and require-match.
9986
9987 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
9988
9989 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9990 (ibuffer-filter-by-derived-mode): New filter.
9991 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9992
9993 2012-04-23 Andreas Politz <politza@fh-trier.de>
9994
9995 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9996
9997 2012-04-23 Chong Yidong <cyd@gnu.org>
9998
9999 * cus-edit.el (customize-apropos, customize-apropos-options):
10000 Disable matching of non-option variables (Bug#11176).
10001 (customize-option, customize-option-other-window)
10002 (customize-changed-options): Doc fix.
10003 (customize-apropos-options, customize-apropos-faces)
10004 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
10005
10006 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
10007 Fix word list splitting (Bug#11132).
10008 (apropos-symbol, apropos-keybinding, apropos-label)
10009 (apropos-property, apropos-function-button)
10010 (apropos-variable-button, apropos-misc-button): New faces.
10011 (apropos-symbol-face, apropos-keybinding-face)
10012 (apropos-label-face, apropos-property-face, apropos-match-face):
10013 Variables removed (Bug#8396).
10014 (apropos-library-button, apropos-format-plist, apropos-print)
10015 (apropos-print-doc, apropos-describe-plist): Callers changed.
10016
10017 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
10018
10019 * net/xesam.el (xesam-mode-map): Use let-bound map in
10020 initialization. (Bug#11292)
10021
10022 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10023
10024 Preserve ispell session localwords when switching back to
10025 original buffer.
10026
10027 * textmodes/ispell.el (ispell-buffer-session-localwords):
10028 New buffer-local variable to hold buffer session localwords.
10029 (ispell-kill-ispell): Add option 'clear to delete session
10030 localwords.
10031 (ispell-command-loop, ispell-change-dictionary)
10032 (ispell-buffer-local-words): Preserve session localwords when
10033 needed.
10034
10035 * textmodes/flyspell.el (flyspell-process-localwords)
10036 (flyspell-do-correct): Preserve session localwords when needed.
10037
10038 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10039
10040 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
10041 using obsolete `translation-table-for-input'.
10042 (ispell-word, ispell-process-line, ispell-complete-word):
10043 Use plain `insert' instead of removed `ispell-insert-word'.
10044
10045 2012-04-22 Chong Yidong <cyd@gnu.org>
10046
10047 * cus-edit.el (custom-variable-menu)
10048 (custom-variable-reset-saved, custom-face-menu)
10049 (custom-face-reset-saved): If there is no saved value, make the
10050 "reset-saved" operation bring back the default (Bug#9509).
10051 (custom-face-state): Properly detect themed faces.
10052
10053 * faces.el (face-spec-set): Stop supporting deprecated form of
10054 third arg.
10055
10056 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
10057
10058 Move functions from C to Lisp. Make non-blocking method calls
10059 the default. Implement further D-Bus standard interfaces.
10060
10061 * net/dbus.el (dbus-message-internal): Declare function.
10062 Remove unneeded function declarations.
10063 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
10064 (dbus-message-type-method-return, dbus-message-type-error)
10065 (dbus-message-type-signal): Declare variables. Remove local
10066 definitions.
10067 (dbus-interface-dbus, dbus-interface-peer)
10068 (dbus-interface-introspectable, dbus-interface-properties)
10069 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
10070 Adapt docstring.
10071 (dbus-interface-objectmanager): New defconst.
10072 (dbus-call-method, dbus-call-method-asynchronously)
10073 (dbus-send-signal, dbus-method-return-internal)
10074 (dbus-method-error-internal, dbus-register-service)
10075 (dbus-register-signal, dbus-register-method): New defuns, moved
10076 from dbusbind.c
10077 (dbus-call-method-handler, dbus-setenv)
10078 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
10079 New defuns.
10080 (dbus-call-method-non-blocking): Make it an obsolete function.
10081 (dbus-unregister-object, dbus-unregister-service)
10082 (dbus-handle-event, dbus-register-property)
10083 (dbus-property-handler): Obey the new structure of
10084 `bus-registered-objects'.
10085 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
10086 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
10087 Use `dbus-call-method'.
10088
10089 2012-04-22 Chong Yidong <cyd@gnu.org>
10090
10091 * cus-edit.el (custom-commands, custom-reset-menu)
10092 (Custom-reset-standard): Tweak labels.
10093 (custom-reset-button-menu): Change default to t.
10094 (custom-buffer-create-internal): For the custom-reset-button-menu
10095 case, put the revert button first.
10096 (custom-group-subtitle): New face.
10097 (custom-group-value-create): Align docstring to a specific column.
10098
10099 * wid-edit.el (widget-documentation-link-add): Don't handle
10100 indentation in this function.
10101 (widget-documentation-string-indent-to): New function.
10102 (widget-documentation-string-value-create): Use it.
10103
10104 * autorevert.el (auto-revert):
10105 * epg-config.el (epg):
10106 * ibuffer.el (ibuffer):
10107 * mpc.el (mpc):
10108 * ses.el (ses):
10109 * eshell/eshell.el (eshell):
10110 * net/ange-ftp.el (ange-ftp):
10111 * progmodes/ebnf2ps.el (postscript):
10112 * progmodes/flymake.el (flymake):
10113 * progmodes/prolog.el (prolog):
10114 * progmodes/verilog-mode.el (verilog-mode):
10115 * progmodes/which-func.el (which-func):
10116 * term/xterm.el (xterm):
10117 * textmodes/picture.el (picture):
10118 * textmodes/tildify.el (tildify):
10119 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
10120 customization buffers.
10121
10122 2012-04-22 Alan Mackenzie <acm@muc.de>
10123
10124 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10125 Adding a ) can hide the resulting (..) from searches. Fix it.
10126 Bound the backward search to the position of the existing (.
10127
10128 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
10129
10130 * progmodes/verilog-mode.el (verilog-mode): Check whether
10131 which-func-modes is t before adding verilog-mode.
10132 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
10133
10134 2012-04-21 Leo Liu <sdl.web@gmail.com>
10135
10136 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
10137
10138 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
10139
10140 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
10141 filling of the last column of a table (Bug#5635).
10142 (woman-find-next-control-line): New arg, specifying an additional
10143 regexp component for the control line.
10144 (woman2-roff-buffer): Use it.
10145 (woman-break-table): New function.
10146 (woman2-TS): Use it.
10147
10148 2012-04-21 Chong Yidong <cyd@gnu.org>
10149
10150 * woman.el (woman-set-buffer-display-table, woman-decode-region)
10151 (woman-horizontal-escapes, woman-negative-vertical-space)
10152 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
10153 (WoMan-warn-ignored): Use ?\s instead of ?\ .
10154
10155 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
10156
10157 * minibuffer.el (completion-file-name-table): Complete user names.
10158
10159 2012-04-20 Leo Liu <sdl.web@gmail.com>
10160
10161 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
10162 and pcase-let*.
10163
10164 2012-04-20 Chong Yidong <cyd@gnu.org>
10165
10166 * server.el (server-execute): Respect initial-buffer-choice if it
10167 is a string and there are no files to open (Bug#2825).
10168 (server-create-window-system-frame, server-create-tty-frame):
10169 Don't switch buffers here.
10170 (server-process-filter): Only try to open a window system frame if
10171 compiled with graphical support (Bug#8314).
10172
10173 2012-04-20 Dan Nicolaescu <dann@gnu.org>
10174
10175 * battery.el (battery-echo-area-format): Display remaining time
10176 for sysfs backend too (Bug#11269).
10177 (battery-linux-sysfs): Fix conditional for the charge.
10178
10179 2012-04-20 Chong Yidong <cyd@gnu.org>
10180
10181 * progmodes/gdb-mi.el (gdb): Revert previous change.
10182 (gdb-inferior-io--init-proc): New function.
10183 (gdb-init-1): Use it.
10184 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
10185 responsible for allocating a new pty and hooking it to gdb when
10186 the old pty gets an EIO due to process exit.
10187 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
10188 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
10189 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
10190
10191 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10192
10193 * window.el (window-min-size, window-sizable, window-min-delta)
10194 (window-max-delta, window--resizable, window-resizable)
10195 (window-total-size, window-full-height-p, window-full-width-p)
10196 (window-in-direction, window--resize-mini-window, window-resize)
10197 (window--resize-child-windows-normal)
10198 (window--resize-child-windows, window--resize-siblings)
10199 (window--resize-this-window, adjust-window-trailing-edge)
10200 (enlarge-window, shrink-window): Doc fixes.
10201
10202 2012-04-20 Chong Yidong <cyd@gnu.org>
10203
10204 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
10205 New function to call delete-process on the gdb-inferior buffer's pty.
10206 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
10207 pty process (Bug#11273).
10208 (gdb-update): New arg to suppress talking to the gdb process.
10209 (gdb-done-or-error): Use it.
10210 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
10211 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
10212 sentinel not being called.
10213
10214 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
10215
10216 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
10217
10218 2012-04-20 Glenn Morris <rgm@gnu.org>
10219
10220 * net/network-stream.el (open-network-stream): Doc fix.
10221
10222 2012-04-20 Chong Yidong <cyd@gnu.org>
10223
10224 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
10225
10226 2012-04-20 Alan Mackenzie <acm@muc.de>
10227
10228 Ensure searching for keywords is case sensitive.
10229
10230 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
10231 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
10232 (c-defun-name, c-mark-function, c-cpp-define-name)
10233 (c-comment-indent, c-scan-conditionals, c-indent-defun)
10234 (c-context-line-break): Bind case-fold-search to nil.
10235
10236 * progmodes/cc-mode.el (c-font-lock-fontify-region):
10237 Bind case-fold-search to nil.
10238
10239 2012-04-20 Chong Yidong <cyd@gnu.org>
10240
10241 * mail/sendmail.el (mail-bury): Call return action with the right
10242 Rmail buffer (Bug#11242).
10243
10244 * server.el (server-process-filter): Handle corner case where both
10245 tty and nowait options are present (Bug#11102).
10246
10247 2012-04-20 Eli Zaretskii <eliz@gnu.org>
10248
10249 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
10250 (top level): Put into the executable the ident-style '$Id:' tag on
10251 windows-nt as well.
10252
10253 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
10254
10255 * electric.el (electric-indent-post-self-insert-function): Check that
10256 electric-indent-mode is enabled in current buffer.
10257
10258 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10259
10260 * imenu.el (imenu-progress-message): Restore; it is "used" in
10261 erc/erc-imenu.el and net/snmp-mode.el.
10262
10263 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
10264
10265 * avoid.el (mouse-avoidance-mode): Mark unused arg.
10266 (mouse-avoidance-nudge-mouse): Remove unused binding.
10267
10268 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
10269
10270 * descr-text.el (describe-char):
10271 * progmodes/python.el (python-describe-symbol):
10272 Don't call `toggle-read-only', set `buffer-read-only'.
10273
10274 * imenu.el (imenu-default-goto-function): Mark unused args.
10275 (imenu-progress-message): Remove obsolete macro; all callers changed.
10276
10277 * subr.el (keymap-canonicalize): Remove unused binding.
10278 (read-passwd): Mark unused arg.
10279
10280 * tutorial.el (tutorial--display-changes): Remove unused binding.
10281 (tutorial--save-tutorial-to): Remove unused variable.
10282
10283 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
10284 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
10285 (package-generate-autoloads, package-menu--generate)
10286 (package-menu--find-upgrades): Remove unused bindings.
10287
10288 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
10289 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
10290 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
10291 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
10292 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
10293 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
10294 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
10295 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
10296 (cua-delete-char-rectangle): Mark unused args.
10297 (cua-align-rectangle): Remove unused binding.
10298
10299 * mail/rmail.el (compilation--message->loc)
10300 (epa--find-coding-system-for-mime-charset): Declare.
10301
10302 * net/dbus.el (dbus-register-service): Declare.
10303 (dbus-name-owner-changed-handler): Remove unused binding.
10304
10305 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
10306 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
10307 (nxml-scan-backward-within): Mark unused arg.
10308 (nxml-dynamic-markup-word): Remove unused binding.
10309
10310 * mouse.el (mouse-menu-major-mode-map):
10311 * emacs-lisp/authors.el (authors-scan-change-log)
10312 (authors-add-to-author-list):
10313 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
10314 * emacs-lisp/smie.el (smie-auto-fill):
10315 * mail/sendmail.el (mail-bury):
10316 * mail/unrmail.el (unrmail):
10317 * net/tls.el (open-tls-stream):
10318 * textmodes/picture.el (picture-mouse-set-point):
10319 Remove unused bindings.
10320
10321 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
10322
10323 * net/tramp.el (tramp-action-password): Let-bind
10324 `enable-recursive-minibuffers' to t.
10325
10326 2012-04-18 Sam Steingold <sds@gnu.org>
10327
10328 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
10329 instead of 'string to accommodate values like [f11].
10330 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
10331 * progmodes/gdb-mi.el: Likewise.
10332
10333 2012-04-18 Leo Liu <sdl.web@gmail.com>
10334
10335 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
10336 current buffer.
10337 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
10338 LOCAL is nil.
10339
10340 2012-04-18 Chong Yidong <cyd@gnu.org>
10341
10342 * simple.el (line-move): Use forward-line if in batch mode
10343 (Bug#11053).
10344
10345 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
10346
10347 * files.el (after-find-file): Do not try to add a final newline if
10348 the buffer is read-only (Bug#11156).
10349
10350 2012-04-17 Richard Stallman <rms@gnu.org>
10351
10352 * mail/rmail.el (rmail-start-mail):
10353 Pass (rmail-mail-return...) for the return-action.
10354 Pass (rmail-yank-current-message...) for the yank-action.
10355 (rmail-yank-current-message): New function.
10356 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
10357 (rmail-reply): Likewise.
10358 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
10359
10360 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
10361 buffer, not the last. Reject temp buffers. Use the rmail-mode
10362 buffer, not newbuf.
10363
10364 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
10365
10366 * server.el (server-ensure-safe-dir): Simplify.
10367
10368 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
10369
10370 * emacs-lisp/smie.el: Provide smarter auto-filling.
10371 (smie-auto-fill): New function.
10372 (smie-setup): Use it.
10373
10374 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
10375
10376 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
10377
10378 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
10379 (comment-indent): Use it.
10380
10381 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
10382
10383 * ses.el: The overall change is to add cell renaming, that is
10384 setting fancy names for cell symbols other than name matching
10385 "\\`[A-Z]+[0-9]+\\'" regexp .
10386 (ses-localvars): Add ses--renamed-cell-symb-list.
10387 (ses-create-cell-variable): New defun.
10388 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
10389 (ses-relocate-formula): Relocate formulas only for cells the
10390 symbols of which are not renamed, i.e. symbols whose names do not
10391 match regexp "\\`[A-Z]+[0-9]+\\'".
10392 (ses-relocate-all): Relocate values only for cells the symbols of
10393 which are not renamed.
10394 (ses-load): Create cells variables as the (ses-cell ...) are read,
10395 in order to check row col consistency with cell symbol name only
10396 for cells that are not renamed.
10397 (ses-replace-name-in-formula): New defun.
10398 (ses-rename-cell): New defun.
10399
10400 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
10401
10402 * progmodes/perl-mode.el (perl-indent-parens-as-block):
10403 New option (bug#11118).
10404 (perl-calculate-indent): Respect it.
10405
10406 2012-04-17 Glenn Morris <rgm@gnu.org>
10407
10408 * dired-aux.el (dired-mark-read-string): Doc fix.
10409
10410 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
10411
10412 * dired-aux.el (dired-mark-read-string): Offer optional completion.
10413 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
10414
10415 2012-04-17 Glenn Morris <rgm@gnu.org>
10416
10417 * mouse.el (mouse-drag-track):
10418 * speedbar.el (speedbar-frame-mode):
10419 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
10420
10421 2012-04-16 Leo Liu <sdl.web@gmail.com>
10422
10423 * progmodes/python.el: Trivial cleanup.
10424
10425 2012-04-16 Glenn Morris <rgm@gnu.org>
10426
10427 * vc/vc.el (vc-string-prefix-p):
10428 * vc/pcvs-util.el (cvs-string-prefix-p):
10429 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
10430 * mpc.el (mpc-string-prefix-p):
10431 Make all of these into obsolete aliases for string-prefix-p.
10432 Update callers.
10433 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
10434
10435 * textmodes/two-column.el: Move custom options to the start.
10436 (frame-width): Remove compat definition.
10437 (2C-associate-buffer, 2C-dissociate):
10438 Use with-current-buffer rather than save-excursion.
10439 (2C-dissociate): Force a mode-line update.
10440 (2C-autoscroll): Use ignore-errors.
10441
10442 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
10443 Autoload trivia.
10444
10445 * emacs-lisp/cl-extra.el (*random-state*):
10446 Remove unnecessary declaration.
10447
10448 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
10449
10450 * play/cookie1.el (cookie-snarf):
10451 Give an explicit error if input file cannot be read.
10452
10453 * play/yow.el (yow-file): Use expand-file-name rather than concat.
10454
10455 * progmodes/perl-mode.el (c-macro-expand):
10456 Remove unnecessary autoload (it is in loaddefs.el).
10457
10458 * textmodes/picture.el (picture-desired-column)
10459 (picture-update-desired-column): Convert comments to doc-strings.
10460 (picture-substitute): Remove function.
10461 (picture-mode-map): Initialize in the defvar.
10462
10463 * woman.el: Remove eval-after-load for tar-mode.
10464 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
10465 (woman-tar-extract-file): Autoload it.
10466
10467 * frame.el (automatic-hscrolling): Make this alias obsolete.
10468
10469 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10470
10471 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
10472 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
10473 (ispell-dictionary-base-alist): Revert to original XEmacs
10474 friendly version for default. [:alpha:] will be added in
10475 `ispell-set-spellchecker-params' if needed.
10476
10477 2012-04-16 Chong Yidong <cyd@gnu.org>
10478
10479 * image.el (imagemagick--file-regexp): New variable.
10480 (imagemagick-register-types): Use it.
10481 (imagemagick-types-inhibit): Add :set function. Allow new value
10482 of t to inhibit all types.
10483
10484 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
10485 so we can preload it.
10486
10487 * loadup.el (fboundp): Preload regexp-opt, needed by
10488 imagemagick-register-types.
10489
10490 2012-04-15 Chong Yidong <cyd@gnu.org>
10491
10492 * frame.el (scrolling): Remove nearly unused customization group.
10493
10494 * scroll-all.el (scroll-all-mode): Move to windows group.
10495
10496 2012-04-15 Chong Yidong <cyd@gnu.org>
10497
10498 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
10499
10500 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
10501
10502 Avoid the use of ((lambda ...) ...) in lexical-binding code.
10503 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
10504
10505 2012-04-15 Glenn Morris <rgm@gnu.org>
10506
10507 * simple.el (process-file-side-effects): Doc fix.
10508
10509 2012-04-15 Glenn Morris <rgm@gnu.org>
10510
10511 * international/mule-cmds.el (set-language-environment): Doc fix.
10512
10513 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10514
10515 * server.el (server-auth-key, server-generate-key): Doc fixes.
10516 (server-get-auth-key): Doc fix. Use `string-match-p'.
10517 (server-start): Reflow docstring.
10518
10519 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
10520
10521 * server.el (server-generate-key): `called-interactively-p'
10522 requires a parameter.
10523
10524 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
10525
10526 * server.el (server-auth-key): New variable.
10527 (server-generate-key, server-get-auth-key): New function.
10528 (server-start): Use the new variable and functions to allow
10529 setting a permanent server key (bug#9423).
10530
10531 2012-04-14 Leo Liu <sdl.web@gmail.com>
10532
10533 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
10534
10535 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
10536
10537 Spelling fixes.
10538 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
10539 Emacs uses American spelling.
10540
10541 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
10542
10543 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
10544 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
10545 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
10546 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
10547
10548 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * progmodes/which-func.el (which-func-modes): Change default.
10551
10552 2012-04-14 Kim F. Storm <storm@cua.dk>
10553
10554 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
10555 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
10556
10557 2012-04-14 Chong Yidong <cyd@gnu.org>
10558
10559 * custom.el (custom-theme-set-variables): Doc fix.
10560
10561 2012-04-14 Glenn Morris <rgm@gnu.org>
10562
10563 * international/mule.el (set-auto-coding-for-load): Doc fix.
10564
10565 2012-04-14 Alan Mackenzie <acm@muc.de>
10566
10567 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
10568 imenu work again for Objective C Mode. Correct the *-index values,
10569 these having been disturbed by a previous change in 2011-08.
10570
10571 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
10572 Correct two search limits.
10573
10574 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
10575
10576 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
10577
10578 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
10579
10580 * international/characters.el: Fix sorting.
10581
10582 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10583
10584 * international/characters.el: Add more missing Latin case pairs.
10585
10586 2012-04-14 Glenn Morris <rgm@gnu.org>
10587
10588 * files.el (dir-locals-set-class-variables): Doc fix.
10589
10590 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10591
10592 * international/characters.el: Add set-case-syntax-pair call for
10593 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
10594 counterpart. (Bug#11209)
10595
10596 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
10597
10598 2012-04-14 Glenn Morris <rgm@gnu.org>
10599
10600 * calendar/holidays.el (calendar-check-holidays): Doc fix.
10601
10602 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10603
10604 * textmodes/ispell.el (ispell-dictionary-base-alist):
10605 Add data for Hebrew.
10606
10607 2012-04-14 Chong Yidong <cyd@gnu.org>
10608
10609 * net/rcirc.el (rcirc-cmd-quit):
10610 Revert 2012-03-18 change (Bug#11192).
10611
10612 2012-04-14 Glenn Morris <rgm@gnu.org>
10613
10614 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
10615
10616 2012-04-14 Eli Zaretskii <eliz@gnu.org>
10617
10618 * minibuffer.el (completion-in-region-mode-map):
10619 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
10620
10621 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
10622
10623 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
10624
10625 2012-04-13 Masatake YAMATO <yamato@redhat.com>
10626
10627 * minibuffer.el (minibuffer-local-filename-syntax): New variable
10628 to allow `C-M-f' and `C-M-b' to move to the nearest path
10629 separator (bug#9511).
10630
10631 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
10632
10633 * avoid.el: Require cl when compiling. And also move the
10634 `provide' to the end.
10635
10636 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10637
10638 * avoid.el (mouse-avoidance-banish-position): New variable.
10639 (mouse-avoidance-banish-destination): Use it (bug#10165).
10640
10641 2012-04-13 Leo Liu <sdl.web@gmail.com>
10642
10643 * progmodes/which-func.el (which-func-modes): Add objc-mode.
10644
10645 2012-04-13 Ken Brown <kbrown@cornell.edu>
10646
10647 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10648 this is no longer needed now that cygstart understands file:// URLs.
10649 (browse-url-filename-alist): For the same reason, don't modify
10650 file:// URLs on Cygwin.
10651
10652 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
10653
10654 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10655 the region on shift if the binding is already shifted (bug#11221).
10656
10657 2012-04-12 Glenn Morris <rgm@gnu.org>
10658
10659 * mail/mailpost.el: Move to obsolete/.
10660
10661 2012-04-12 Drew Adams <drew.adams@oracle.com>
10662
10663 * imenu.el (imenu--generic-function): Ignore invisible definitions
10664 (bug#10123).
10665
10666 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
10667
10668 * hexl.el (hexl-bits): New variable.
10669 (hexl-options): Mention the variable in the doc string.
10670 (hexl-rulerise, hexl-line-displen): New functions.
10671 (hexl-mode): Mention the new variable.
10672 (hexl-mode, hexl-current-address, hexl-current-address):
10673 Use the displen.
10674 (hexl-ascii-start-column): New function.
10675 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10676 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10677
10678 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10679
10680 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10681 '("-i" ENCODING), in 2 separate command-line arguments, to specify
10682 the encoding, as expected by hunspell.
10683
10684 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
10685
10686 * battery.el (battery--linux-sysfs-regexp): New const.
10687 (battery-status-function): Use it. Remove yeeloong special case.
10688 (battery-yeeloong-sysfs): Remove.
10689 (battery-echo-area-format): Remove yeeloong special case.
10690
10691 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10692
10693 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10694 Reported by Noah Friedman.
10695
10696 * subr.el (read-passwd): Use read-string.
10697
10698 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10699
10700 * vcursor.el (vcursor-move): Increase the priority of the overlay
10701 (bug#9663).
10702
10703 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
10704
10705 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10706 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10707
10708 2012-04-11 William Stevenson <yhvh2000@gmail.com>
10709
10710 * textmodes/artist.el (artist-mode): Convert artist-mode to use
10711 define-minor-mode (bug#10760).
10712
10713 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10714
10715 * progmodes/grep.el (rgrep): Tweak the find command line so
10716 that directories matching `grep-find-ignored-files' won't be
10717 pruned (bug#10351).
10718
10719 2012-04-11 Chong Yidong <cyd@gnu.org>
10720
10721 * startup.el (command-line): Remove support for long-obsolete
10722 variable font-lock-face-attributes.
10723
10724 2012-04-11 Glenn Morris <rgm@gnu.org>
10725
10726 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10727
10728 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10729
10730 * window.el (window--state-get-1): Obey window-point-insertion-type.
10731
10732 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
10733
10734 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10735 to previous function when point is on the first character of a
10736 function. Take care of that in `narrow-to-defun' (bug#6157).
10737
10738 2012-04-11 Glenn Morris <rgm@gnu.org>
10739
10740 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10741 not just file-errors.
10742
10743 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10744 (vc-bzr-sha1): Use internal sha1.
10745
10746 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10749
10750 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
10751
10752 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10753 that start in the middle of the line (bug#10496).
10754
10755 2012-04-10 Dan Nicolaescu <dann@gnu.org>
10756
10757 * battery.el (battery-linux-proc-acpi): Only one battery is
10758 discharged at a time, but that seems to confuse battery.el when
10759 computing `rate-type' for the battery not being discharged
10760 (bug#10332).
10761
10762 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
10763
10764 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10765
10766 * international/quail.el: Use dolist and simplify.
10767 (quail-define-package, quail-update-keyboard-layout)
10768 (quail-define-rules): Use dolist.
10769 (quail-insert-kbd-layout, quail-get-translation): CSE.
10770
10771 * tmm.el: Use dolist, remove left over hook.
10772 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10773 Use dolist.
10774 (calendar-load-hook): Don't mess with it.
10775
10776 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10777 Use derived-mode-p. Run the diff asynchronously.
10778
10779 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10780
10781 * obsolete/mouse-sel.el: Add an Obsolete-since header.
10782
10783 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
10784
10785 * misc.el: Display absolute path of loaded DLLs (bug#10424).
10786 (list-dynamic-libraries--loaded): New function.
10787 (list-dynamic-libraries--refresh): Use it.
10788
10789 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
10790
10791 * progmodes/python.el (python-fill-paragraph):
10792 Make python-fill-region in a multiline string work when font-lock is
10793 disabled (bug#7018).
10794
10795 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
10796
10797 * language/european.el (cp775): Add oem/legacy (en)coding on
10798 DOS/MS Windows for the Baltic languages. There are still plenty
10799 of texts written in this encoding/codepage (bug#6519).
10800
10801 2012-04-10 Glenn Morris <rgm@gnu.org>
10802
10803 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10804 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10805
10806 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
10807
10808 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10809 next-line "n" and previous-line "p" in order to make recentf more
10810 consistent with ibuffer, dired or org-mode (bug#9387).
10811
10812 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10813
10814 * image.el (put-image): Return the overlay created instead of the
10815 optional input string (bug#7834). Note that this may break code
10816 that is (for some reason or other) depending on `put-image'
10817 returning the string.
10818
10819 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10820
10821 * simple.el (zap-to-char): Allow zapping using input methods
10822 (bug#1580).
10823
10824 * textmodes/fill.el (fill-region): Leave point and mark where they
10825 were before filling (bug#5399).
10826
10827 2012-04-09 Glenn Morris <rgm@gnu.org>
10828
10829 * version.el (emacs-bzr-get-version):
10830 Handle lightweight checkouts of local branches.
10831
10832 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
10833
10834 * international/characters.el: Recover lost case pairs. (Bug#11209)
10835
10836 2012-04-09 Chong Yidong <cyd@gnu.org>
10837
10838 * custom.el (custom-variable-p): Return nil for non-symbol
10839 arguments instead of signaling an error.
10840 (user-variable-p): Obsolete alias for custom-variable-p.
10841
10842 * apropos.el (apropos-variable):
10843 * files-x.el (read-file-local-variable):
10844 * simple.el (set-variable):
10845 * woman.el (woman-mini-help):
10846 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10847
10848 2012-04-09 Glenn Morris <rgm@gnu.org>
10849
10850 * startup.el (normal-top-level): Don't look for leim-list.el
10851 in places where it will not be found. (Bug#910)
10852
10853 * international/mule-cmds.el (set-default-coding-systems):
10854 * files.el (normal-mode):
10855 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
10856 This function was removed with ucs-tables.el in 2008.
10857
10858 2012-04-08 Eli Zaretskii <eliz@gnu.org>
10859
10860 * textmodes/ispell.el (ispell-check-version): For hunspell, set
10861 ispell-encoding8-command to "-i", without a trailing space.
10862 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10863 separate command-line arguments, to specify the encoding, since
10864 that's how hunspell expects it.
10865
10866 2012-04-08 Glenn Morris <rgm@gnu.org>
10867
10868 * loadup.el: Load bindings before cus-start.
10869 This reduces somewhat the number of "rogue" settings in emacs -Q.
10870
10871 2012-04-07 Glenn Morris <rgm@gnu.org>
10872
10873 * version.el (emacs-bzr-get-version): New function.
10874 (emacs-bzr-version): New variable.
10875 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
10876 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10877
10878 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10879
10880 * international/uni-bidi.el, international/uni-category.el:
10881 * international/uni-combining.el, international/uni-decimal.el:
10882 * international/uni-decomposition.el, international/uni-digit.el:
10883 * international/uni-lowercase.el, international/uni-mirrored.el:
10884 * international/uni-name.el, international/uni-numeric.el:
10885 * international/uni-titlecase.el, international/uni-uppercase.el:
10886 Update for Unicode 6.1.
10887
10888 2012-04-07 Eli Zaretskii <eliz@gnu.org>
10889
10890 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10891
10892 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
10893
10894 * window.el (shrink-window): Mention the `window-min-height'
10895 variable in the doc string.
10896
10897 2012-04-05 Bastien Guerry <bzg@altern.org>
10898
10899 * color.el (color-lighten-name): Fix typo.
10900
10901 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10902
10903 * server.el (server--on-display-p): New function.
10904 (server--on-display-p): Use it.
10905
10906 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
10907
10908 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10909 (bug#11145).
10910
10911 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * comint.el (comint--common-quoted-suffix): Check string boundary
10914 before comparing (bug#11158).
10915 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10916
10917 2012-04-04 Chong Yidong <cyd@gnu.org>
10918
10919 * minibuffer.el (completion-extra-properties): Doc fix.
10920
10921 * subr.el (delayed-warnings-hook): Doc fix.
10922
10923 2012-04-04 Daiki Ueno <ueno@unixuser.org>
10924
10925 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10926 selection (Bug#11159).
10927 (epa-insert-keys): Inform that the default public key will be
10928 exported if no key is selected.
10929
10930 2012-04-04 Richard Stallman <rms@gnu.org>
10931
10932 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10933
10934 2012-04-03 Chong Yidong <cyd@gnu.org>
10935
10936 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10937 mail-insert-file, not its obsolete alias mail-attach-file.
10938
10939 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
10940
10941 * notifications.el (notifications-notify): Fix docstring.
10942
10943 2012-04-02 Glenn Morris <rgm@gnu.org>
10944
10945 * emacs-lisp/authors.el (authors-aliases): Another addition.
10946
10947 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
10948
10949 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10950 `tramp-compat-call-process' instead of `tramp-local-call-process'.
10951 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10952
10953 2012-04-01 Chong Yidong <cyd@gnu.org>
10954
10955 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10956 Handle root directory properly.
10957 (copy-directory): Caller changed.
10958
10959 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10960 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10961
10962 2012-03-31 Glenn Morris <rgm@gnu.org>
10963
10964 * term/xterm.el (xterm-extra-capabilities): Doc fix.
10965
10966 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
10967
10968 * calendar/calendar.el (calendar-window-list)
10969 (calendar-hide-window): Restore. (Bug#11140)
10970 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10971
10972 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10973
10974 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10975
10976 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10977 Check if file is a symlink (Bug#10489).
10978
10979 * files.el (copy-directory): Likewise.
10980
10981 2012-03-30 Chong Yidong <cyd@gnu.org>
10982
10983 * image.el (imagemagick-types-inhibit)
10984 (imagemagick-register-types): Doc fix.
10985
10986 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10987
10988 * textmodes/ispell.el (ispell-get-extended-character-mode):
10989 Disable extended-char-mode for hunspell. hunspell does not support it
10990 and treats ~word as ordinary words in pipe mode.
10991
10992 2012-03-30 Glenn Morris <rgm@gnu.org>
10993
10994 * tutorial.el (help-with-tutorial): Ensure local variables don't
10995 happen to make the buffer read-only. (Bug#11127)
10996
10997 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
10998
10999 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
11000 (perl-calculate-indent): Return `noindent' in strings.
11001
11002 2012-03-28 Sam Steingold <sds@gnu.org>
11003
11004 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
11005 instead of the broken adhockery which does not prevent calendar
11006 buffers from being displayed at random after exit.
11007 (calendar-window-list, calendar-hide-window): Remove the broken
11008 adhockery.
11009
11010 2012-03-28 Glenn Morris <rgm@gnu.org>
11011
11012 * replace.el (query-replace-map): Doc fix.
11013
11014 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
11015
11016 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
11017 contents. (Bug#11109)
11018
11019 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
11020
11021 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
11022 (bug#11077).
11023 (avl-tree--check, avl-tree--check-node): New funs.
11024
11025 2012-03-27 Martin Rudalics <rudalics@gmx.at>
11026
11027 * window.el (switch-to-visible-buffer): New option.
11028 (switch-to-prev-buffer, switch-to-next-buffer):
11029 Observe switch-to-visible-buffer. Make sure that checking for a window
11030 showing a buffer already is done on the same frame.
11031
11032 2012-03-27 Glenn Morris <rgm@gnu.org>
11033
11034 * startup.el (mail-host-address): Doc fix.
11035
11036 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
11039 than 197 variables.
11040
11041 2012-03-26 Ami Fischman <ami@fischman.org>
11042
11043 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
11044
11045 2012-03-26 Glenn Morris <rgm@gnu.org>
11046
11047 * files.el (save-buffers-kill-emacs): Doc fix.
11048
11049 * startup.el (normal-top-level, command-line, command-line-1):
11050 Give them doc strings.
11051
11052 2012-03-25 Eli Zaretskii <eliz@gnu.org>
11053
11054 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
11055 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
11056
11057 2012-03-25 Chong Yidong <cyd@gnu.org>
11058
11059 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
11060 theme if it was previously enabled before (Bug#11031).
11061
11062 * cus-theme.el (custom-theme-write-faces): Retrieve current face
11063 spec with custom-face-get-current-spec if its :shown-value is not
11064 determined yet (Bug#9337).
11065 (customize-create-theme, custom-theme-revert): Doc fixes.
11066
11067 * button.el (button-at): Minor addition to docstring.
11068
11069 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
11070
11071 * vc/vc.el (vc-merge): Fix a prompt.
11072
11073 2012-03-24 Chong Yidong <cyd@gnu.org>
11074
11075 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
11076 point (Bug#9623).
11077
11078 * button.el (button-at): Minor addition to docstring.
11079
11080 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
11081
11082 * newcomment.el (comment-choose-indent): No space after BOL.
11083
11084 2012-03-22 Sam Steingold <sds@gnu.org>
11085
11086 * window.el (switch-to-prev-buffer): Revert last patch because the
11087 bug turned out to be an advertised feature (Elisp manual 28.14).
11088
11089 2012-03-22 Glenn Morris <rgm@gnu.org>
11090
11091 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
11092 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
11093
11094 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11095
11096 * net/network-stream.el (network-stream-open-starttls): Make error
11097 message under Windows be less misleading.
11098
11099 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
11100
11101 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
11102 understands (bug#9942).
11103
11104 2012-03-22 Chong Yidong <cyd@gnu.org>
11105
11106 * simple.el (end-of-visible-line): Handle return value of
11107 next-single-property-change properly (Bug#9371).
11108
11109 2012-03-22 Kenichi Handa <handa@m17n.org>
11110
11111 * international/quail.el (quail-insert-kbd-layout): Fix previous
11112 change. To avoid unwanted bidi reordering, use
11113 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
11114
11115 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
11116
11117 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
11118 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
11119 (ruby-beginning-of-indent): Be more careful with the difference
11120 between word-boundary and symbol boundary.
11121 (ruby-mode-syntax-table): Make : a symbol constituent.
11122
11123 2012-03-21 Andreas Politz <politza@fh-trier.de>
11124
11125 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
11126
11127 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11128
11129 * progmodes/etags.el (tags-completion-at-point-function):
11130 Improve last fix.
11131
11132 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
11133
11134 2012-03-21 Sam Steingold <sds@gnu.org>
11135
11136 * progmodes/etags.el (tags-completion-at-point-function):
11137 Avoid the error when point is inside the pattern.
11138
11139 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
11140
11141 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
11142 line (Bug#10855).
11143
11144 2012-03-21 Drew Adams <drew.adams@oracle.com>
11145
11146 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
11147
11148 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
11149
11150 * ido.el (ido-set-current-directory, ido-read-internal)
11151 (ido-choose-completion-string, ido-completion-help): Handle nil
11152 value of ido-completion-buffer (Bug#11008).
11153
11154 2012-03-21 Sam Steingold <sds@gnu.org>
11155
11156 * window.el (switch-to-prev-buffer): Do not switch to a visible
11157 window previous buffer, just like with the frame previous buffers.
11158
11159 2012-03-21 Chong Yidong <cyd@gnu.org>
11160
11161 * faces.el (make-face, make-empty-face, copy-face):
11162 * face-remap.el (face-remap-add-relative, face-remap-set-base):
11163 Doc fixes.
11164
11165 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
11166
11167 * wid-edit.el (widget-complete-field): Remove (bug#11051).
11168 (widget-complete): Remove broken use of it.
11169
11170 2012-03-20 Chong Yidong <cyd@gnu.org>
11171
11172 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11173 Use string-width and truncate-string-width to handle arbitrary
11174 characters.
11175
11176 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
11177
11178 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
11179 to draw rectangles, not squares. (Regression introduced by revno
11180 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
11181
11182 2012-03-18 Chong Yidong <cyd@gnu.org>
11183
11184 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
11185 it is not yet defined (for temacs).
11186
11187 2012-03-18 Leo Liu <sdl.web@gmail.com>
11188
11189 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
11190 prefix.
11191
11192 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11193
11194 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
11195 (ispell-choices-win-default-height, ispell-silently-savep)
11196 (ispell-dictionary-alist, ispell-encoding8-command)
11197 (ispell-check-version, ispell-aspell-find-dictionary)
11198 (ispell-valid-dictionary-list, ispell-words-keyword)
11199 (ispell-get-word, ispell-internal-change-dictionary)
11200 (ispell-region, ispell-skip-region-list)
11201 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
11202 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
11203 (ispell-message-text-end, ispell-message)
11204 (ispell-buffer-local-parsing): Doc fix.
11205
11206 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
11207
11208 * htmlfontify.el: Add support for code block fontification for ODT
11209 export (Bug #9914).
11210 (hfy-optimisations): Define new option
11211 `body-text-only'
11212 (hfy-fontify-buffer): Honor above setting.
11213 (hfy-begin-span, hfy-end-span): New routines factored out form
11214 `hfy-fontify-buffer'.
11215 (hfy-begin-span-handler, hfy-end-span-handler): New variables
11216 that permit insertion of custom tags.
11217 (hfy-fontify-buffer): Use above handlers.
11218 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
11219 (hfy-face-to-css): Re-defined to be a variable.
11220 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
11221 over multiple runs. This is made possible by having the caller let
11222 bind a special variable `hfy-user-sheet-assoc'.
11223 (htmlfontify-string): New defun.
11224 (hfy-compile-face-map): Make sure that the last char in the
11225 buffer is correctly fontified.
11226 (hfy-face-resolve-face): Whitespace only change.
11227
11228 2012-03-17 Eli Zaretskii <eliz@gnu.org>
11229
11230 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
11231 message more clear.
11232
11233 2012-03-16 Leo Liu <sdl.web@gmail.com>
11234
11235 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
11236
11237 2012-03-16 Alan Mackenzie <acm@muc.de>
11238
11239 Further optimise the handling of large macros.
11240
11241 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
11242 limit to a call of `c-literal-limits'.
11243 (c-determine-+ve-limit): New function.
11244 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
11245 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
11246 In CASE 5B, restrict a search limit to 500.
11247 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
11248
11249 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
11250 Restrict macro bounds to +-500 from after-change's BEG END.
11251
11252 2012-03-16 Leo Liu <sdl.web@gmail.com>
11253
11254 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
11255
11256 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
11257
11258 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
11259 `special-mode' setting of `buffer-read-only'. (Bug#11010)
11260
11261 2012-03-16 Glenn Morris <rgm@gnu.org>
11262
11263 * view.el (view-buffer, view-buffer-other-window)
11264 (view-buffer-other-frame): Doc fixes re special mode-class.
11265
11266 * subr.el (eval-after-load): If named feature is provided not from
11267 a file, run after-load forms. (Bug#10946)
11268
11269 * calendar/calendar.el (calendar-insert-at-column):
11270 Handle non-unit-width characters a bit better. (Bug#10978)
11271
11272 2012-03-15 Chong Yidong <cyd@gnu.org>
11273
11274 * emacs-lisp/ring.el (ring-extend): New function.
11275 (ring-insert+extend): Extend the ring correctly (Bug#11019).
11276
11277 * comint.el (comint-read-input-ring)
11278 (comint-add-to-input-history): Grow comint-input-ring lazily.
11279
11280 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
11281
11282 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
11283 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
11284
11285 * imenu.el: Fix multiple inheritance breakage (bug#9199).
11286 (imenu-add-to-menubar): Don't add a redundant index.
11287 (imenu-update-menubar): Handle a dynamically composed keymap.
11288
11289 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
11290
11291 * mail/sendmail.el (mail-encode-header):
11292 Bind rfc2047-encode-encoded-words to nil.
11293
11294 2012-03-13 Glenn Morris <rgm@gnu.org>
11295
11296 * calendar/calendar.el (calendar-string-spread):
11297 Handle non-unit-width characters a bit better. (Bug#10978)
11298
11299 2012-03-13 Leo Liu <sdl.web@gmail.com>
11300
11301 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
11302 directory and file as argument (Bug#10822).
11303
11304 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11305
11306 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
11307 For dynamically generated code, follow $PC.
11308 (gdb-disassembly-handler-custom): Handle no function name case.
11309
11310 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
11311
11312 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
11313 * emulation/ws-mode.el (ws-query-replace):
11314 * sort.el (sort-regexp-fields):
11315 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
11316
11317 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11318
11319 * dabbrev.el: Fix cycle completion order (bug#10963).
11320 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
11321 (dabbrev-completion): Don't use an obarray; provide
11322 a cycle-sort-function.
11323
11324 2012-03-12 Leo Liu <sdl.web@gmail.com>
11325
11326 * simple.el (kill-new): Use equal-including-properties for comparison.
11327 (kill-do-not-save-duplicates): Doc fix.
11328
11329 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * dabbrev.el: Fix cycle completion (bug#10963).
11332 Use lexical binding and wrap to 80 columns.
11333 (dabbrev-completion): Delay computing the list of completions.
11334
11335 2012-03-12 Kenichi Handa <handa@m17n.org>
11336
11337 * international/quail.el (quail-insert-kbd-layout): Surround each
11338 row by LRO and PDF instead of inserting many LRMs. Pad the left
11339 and right of each non-spacing marks. Insert invisible space
11340 between lower and upper characters to prevent composition.
11341
11342 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
11343
11344 * minibuffer.el (minibuffer-complete): Don't get confused when the
11345 function is run twice via different commands (bug#10958).
11346 (complete-with-action): Fix docstring.
11347
11348 2012-03-12 Chong Yidong <cyd@gnu.org>
11349
11350 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
11351 (nxml-completion-at-point-function): New function.
11352 (nxml-mode): Use it.
11353 (nxml-bind-meta-tab-to-complete-flag): Default to t.
11354
11355 * emacs-lisp/package.el (package-unpack, package-unpack-single):
11356 Load generated autoloads file before byte compiling (Bug#10970).
11357 (package--make-autoloads-and-compile): New helper fun.
11358
11359 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
11360
11361 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
11362
11363 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
11364
11365 * autorevert.el (auto-revert-handler): Ensure, that
11366 file-readable-p is applied only for local files or in
11367 auto-revert-tail-mode.
11368
11369 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
11370
11371 * server.el (server-eval-at): Handle non-tcp connections.
11372 Decode result string.
11373
11374 * server.el (server-msg-size): New constant.
11375 (server-reply-print): New function.
11376 (server-eval-and-print): Use it.
11377 (server-eval-at): Use server-quote-arg and server-unquote-arg.
11378 Handle -print-nonl.
11379
11380 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
11381
11382 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
11383 (Bug#10987).
11384
11385 2012-03-11 Chong Yidong <cyd@gnu.org>
11386
11387 * simple.el (goto-line): Doc fix (Bug#9938).
11388
11389 * subr.el (save-window-excursion): Doc fix (Bug#9979).
11390
11391 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
11392 when finished (Bug#10963).
11393
11394 2012-03-11 Martin Rudalics <rudalics@gmx.at>
11395
11396 * window.el (split-window-below): Fix bug in case where
11397 split-window-keep-point is nil (Bug#10971).
11398
11399 2012-03-11 Juri Linkov <juri@jurta.org>
11400
11401 * replace.el (replace-highlight): Set isearch-word to nil
11402 unconditionally. (Bug#10887)
11403
11404 2012-03-10 Eli Zaretskii <eliz@gnu.org>
11405
11406 * net/mairix.el (mairix-replace-invalid-chars): Rename from
11407 mairix-replace-illegal-chars; all callers changed. Don't remove
11408 ^, ~, and = characters: they are meaningful in mairix search specs.
11409 (mairix-widget-create-query): Add usage information about mairix
11410 search forms: negating words, searching for substrings, etc.
11411
11412 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
11413
11414 * international/fontset.el (font-encoding-alist): Add an entry for
11415 ksx1001 (Bug#5667).
11416
11417 2012-03-10 Richard Stallman <rms@gnu.org>
11418
11419 * mail/sendmail.el (mail-encode-header):
11420 Set rfc2047-encode-encoded-words.
11421
11422 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
11423
11424 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
11425 view buffer means not swapped.
11426 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
11427 (rmail-write-region-annotate): Error if real text has disappeared.
11428
11429 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
11430
11431 2012-03-10 Chong Yidong <cyd@gnu.org>
11432
11433 * emulation/cua-rect.el (cua--init-rectangles):
11434 * emulation/cua-base.el (cua--init-keymaps):
11435 Add delete-forward-char to remappings (Bug#9666).
11436
11437 2012-03-10 Martin Rudalics <rudalics@gmx.at>
11438
11439 * speedbar.el (speedbar-unhighlight-one-tag-line):
11440 Avoid unhighlighting due to frame switching (Bug#10275).
11441
11442 2012-03-10 Chong Yidong <cyd@gnu.org>
11443
11444 * minibuffer.el (completion-in-region, completion-help-at-point):
11445 Give the completion field overlay a high priority (Bug#6830).
11446
11447 * dired.el (dired-goto-file): Recognize absolute file name
11448 listings (Bug#7126).
11449 (dired-goto-file-1): New helper function.
11450 (dired-toggle-read-only): Inhibit warnings.
11451
11452 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
11453
11454 * net/dbus.el (dbus-property-handler): Return empty array if
11455 there are no properties.
11456
11457 2012-03-09 Leo Liu <sdl.web@gmail.com>
11458
11459 * savehist.el (savehist-printable): Stricter check for string
11460 value (Bug#10937).
11461
11462 2012-03-09 Eli Zaretskii <eliz@gnu.org>
11463
11464 * mail/smtpmail.el (smtpmail-send-it):
11465 Bind coding-system-for-write to *-unix, so that FCC files are kept in
11466 valid mbox format.
11467
11468 2012-03-09 Glenn Morris <rgm@gnu.org>
11469
11470 * files.el (dir-locals-find-file):
11471 Don't check result is regular, readable.
11472 (dir-locals-read-from-file): Demote errors.
11473
11474 2012-03-08 Eli Zaretskii <eliz@gnu.org>
11475
11476 * international/quail.el (quail-insert-kbd-layout):
11477 Insert invisible LRM characters before each character in a keyboard
11478 layout cell, to prevent their reordering by bidi display engine.
11479 For details, see the discussion in
11480 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
11481
11482 2012-03-08 Alan Mackenzie <acm@muc.de>
11483
11484 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
11485 the starting position; make it extend the marked region when
11486 invoked repeatedly - all under appropriate circumstances.
11487 Fixes bugs #5525, #10906.
11488
11489 2012-03-08 Glenn Morris <rgm@gnu.org>
11490
11491 * files.el (locate-dominating-file, dir-locals-find-file):
11492 Undo 2012-03-06 change.
11493
11494 2012-03-07 Eli Zaretskii <eliz@gnu.org>
11495
11496 * international/quail.el (quail-help):
11497 Force bidi-paragraph-direction be left-to-right. See discussion in
11498 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
11499 for the reason.
11500
11501 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
11502
11503 Avoid superfluous registering of signals. (Bug#10807)
11504
11505 * notifications.el (notifications-on-action-object)
11506 (notifications-on-close-object): New defvars.
11507 (notifications-on-action-signal, notifications-on-closed-signal):
11508 Unregister the signal if not needed any longer.
11509 (notifications-notify): Register `notifications-action-signal' or
11510 `notifications-closed-signal', if :on-action or :on-close has been
11511 passed as argument.
11512
11513 2012-03-07 Chong Yidong <cyd@gnu.org>
11514
11515 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
11516 non-X platforms.
11517
11518 2012-03-06 Glenn Morris <rgm@gnu.org>
11519
11520 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11521 (x-disown-selection-internal, x-get-selection-internal):
11522 Doc fix (add arglist signatures). (Bug#10783)
11523
11524 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
11525
11526 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
11527 Handle breakpoints with no "type".
11528
11529 2012-03-06 Glenn Morris <rgm@gnu.org>
11530
11531 * files.el (locate-dominating-file): Add optional predicate argument.
11532 (dir-locals-find-file): Make use of above change.
11533
11534 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
11535
11536 * info.el (Info-insert-dir): Also try "dir.gz".
11537
11538 2012-03-06 Glenn Morris <rgm@gnu.org>
11539
11540 * files.el (dir-locals-find-file):
11541 Ignore non-readable or non-regular files. (Bug#10928)
11542
11543 * files.el (locate-dominating-file): Doc fix.
11544
11545 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
11546
11547 * calendar/calendar.el (calendar-set-mode-line):
11548 `getenv' returns a string. (Bug#10951)
11549
11550 2012-03-05 Leo Liu <sdl.web@gmail.com>
11551
11552 * simple.el (backward-delete-char-untabify): Constrain point to
11553 field (Bug#10939).
11554
11555 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
11556
11557 2012-03-05 Chong Yidong <cyd@gnu.org>
11558
11559 * simple.el (count-words): If called from Lisp, return the word
11560 count, for symmetry with `count-lines'. Arglist changed.
11561 (count-words--message): Args changed. Consolidate counting code
11562 from count-words and count-words-region.
11563 (count-words-region): Caller changed.
11564 (count-lines-region): Make it an obsolete alias.
11565
11566 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
11567
11568 * saveplace.el (save-place-to-alist)
11569 (save-place-ignore-files-regexp): Allow value nil to disable this
11570 feature.
11571
11572 2012-03-04 Chong Yidong <cyd@gnu.org>
11573
11574 * faces.el (face-spec-reset-face): For the default face, reset the
11575 attributes to default values (Bug#10748).
11576
11577 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
11578
11579 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
11580 previous patch: Check `message-send-mail-function', and not the
11581 default function (bug#10897).
11582
11583 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
11584
11585 * notifications.el (notifications-on-action-signal)
11586 (notifications-on-closed-signal): Check for unique service name of
11587 incoming event. Fix error in removing entry.
11588 (top): Register for signals with wildcard service name.
11589 (notifications-notify): Use daemon unique service name for map entries.
11590
11591 2012-03-04 Chong Yidong <cyd@gnu.org>
11592
11593 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
11594
11595 2012-03-04 Glenn Morris <rgm@gnu.org>
11596
11597 * abbrev.el (copy-abbrev-table, abbrev-table-p)
11598 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
11599 (expand-abbrev, define-abbrev-table): Doc fixes.
11600
11601 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
11602
11603 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
11604 `message-default-send-mail-function' and not `send-mail-function'
11605 when doing the prompting for `sendmail-query-once' before sending
11606 in Message buffers (bug#10897).
11607
11608 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
11609 This is inconsistent with all the other stream functions, which leave
11610 the setting up to the higher levels (if so wanted) (bug#10931).
11611
11612 2012-03-02 Alan Mackenzie <acm@muc.de>
11613
11614 Depessimize the handling of very large macros.
11615
11616 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
11617 (c-macro-cache-syntactic): New variables to implement a one
11618 element macro cache.
11619 (c-invalidate-macro-cache): New function.
11620 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
11621 Adapt to use the new cache.
11622 (c-state-safe-place): Use better the cache of safe positions.
11623 (c-state-semi-nonlit-pos-cache)
11624 (c-state-semi-nonlit-pos-cache-limit):
11625 New variables for...
11626 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
11627 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
11628 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11629 Use c-state-semi-safe-place.
11630
11631 * progmodes/cc-langs.el (c-get-state-before-change-functions):
11632 Add c-invalidate-macro-cache to the C, C++, Obj entries.
11633
11634 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
11635
11636 * jka-compr.el (jka-compr-call-process):
11637 Apply `file-accessible-directory-p' only when the default directory is
11638 not remote.
11639
11640 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
11641
11642 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
11643 access of FILE2, if FILE1 does not exist.
11644
11645 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11646 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11647
11648 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11649 Add "PAGER=" to `process-environment'.
11650
11651 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
11652
11653 * progmodes/sql.el: Bug fix
11654 (sql-get-login-ext): Save login values in globals.
11655 (sql-get-login): Use new version of `sql-get-login-ext'.
11656 (sql-interactive-mode): Set global `sql-connection' to nil.
11657 (sql-connect): Set global values for connection.
11658 (sql-product-interactive): Save global values as buffer local.
11659
11660 2012-02-29 Leo Liu <sdl.web@gmail.com>
11661
11662 * abbrev.el (define-abbrevs): Reset sys to nil.
11663
11664 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11665
11666 * files.el (file-equal-p): Rename from `files-equal-p'.
11667 Return nil when one or both files don't exist.
11668 (file-subdir-of-p): Now only top directory must exists,
11669 return nil if it doesn't.
11670 (copy-directory): No need to test with `file-subdir-of-p' after
11671 creating dir.
11672 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11673 to `file-equal-p'.
11674
11675 2012-02-28 Glenn Morris <rgm@gnu.org>
11676
11677 * shell.el (shell-mode):
11678 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11679 * play/landmark.el (landmark-font-lock-face-O):
11680 * play/handwrite.el (handwrite):
11681 * play/gomoku.el (gomoku-O):
11682 * net/browse-url.el (browse-url-browser-display):
11683 * international/mule.el (define-charset):
11684 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11685 * filesets.el (filesets-find-file-delay):
11686 * eshell/em-xtra.el (eshell-xtra):
11687 * eshell/em-unix.el (eshell-grep):
11688 * emulation/viper.el (viper-mode):
11689 * emacs-lisp/regexp-opt.el (regexp-opt-group):
11690 * emacs-lisp/easymenu.el (easy-menu-define):
11691 * calendar/timeclock.el (timeclock-use-display-time):
11692 * bs.el (bs-mode):
11693 * bookmark.el (bookmark-save-flag):
11694 Doc fix (standardize possessive apostrophe usage).
11695
11696 2012-02-27 Chong Yidong <cyd@gnu.org>
11697
11698 * emulation/viper-cmd.el (viper-intercept-ESC-key):
11699 Fix key-binding lookup for ESC key (Bug#9146).
11700
11701 * font-lock.el (font-lock-specified-p): Rename from
11702 font-lock-spec-present. Callers changed.
11703
11704 2012-02-27 Daniel Hackney <dan@haxney.org>
11705
11706 * emacs-lisp/package.el (package-compute-transaction):
11707 Handle holding a package version to t in package-load-list.
11708
11709 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11712 (tramp-get-inode, tramp-get-device): Use cached values.
11713
11714 2012-02-26 Alan Mackenzie <acm@muc.de>
11715
11716 Check there is a font-lock specification before doing initial
11717 fontification.
11718
11719 * font-core.el (font-lock-mode): Move the conditional from
11720 :after-hook to font-lock-initial-fontify.
11721 (font-lock-default-function): Move the check for a specification
11722 to font-lock-spec-present.
11723
11724 * font-lock.el (font-lock-initial-fontify): Call ...
11725 (font-lock-spec-present): New function.
11726
11727 2012-02-26 Jim Blandy <jimb@red-bean.com>
11728
11729 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11730 (gdb-send): Apply it to the operand of the '-interpreter-exec
11731 console' command, so that we can pass arguments with (say) quotes
11732 in them. Store exact string sent in gdb-debug-log (Bug#10765).
11733
11734 2012-02-26 Chong Yidong <cyd@gnu.org>
11735
11736 * help-fns.el (describe-function-1): Clarify description of
11737 remapping (Bug#10844).
11738
11739 * files.el (files-equal-p): Doc fix.
11740 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
11741 and quit the loop once a mismatch is found.
11742
11743 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
11744
11745 * bs.el (bs--show-with-configuration): Don't throw an error
11746 if the window cannot be split; otherwise, subsequent calls to
11747 bs-show fail, restoring a stale window config. (Bug#10882)
11748
11749 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
11750
11751 * term/ns-win.el (global-map): Bind ns-drag-file to
11752 ns-find-file (Bug#5855, Bug#10050).
11753
11754 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
11755
11756 * calendar/parse-time.el (parse-time-string): Allow extractor to
11757 return nil.
11758
11759 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
11760
11761 * net/tramp.el (tramp-file-name-for-operation):
11762 Add `files-equal-p' and `file-subdir-of-p'.
11763
11764 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11765 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11766 Add COPY-CONTENTS argument.
11767
11768 2012-02-25 Chong Yidong <cyd@gnu.org>
11769
11770 Add custom groups for VC backends, for consistency with vc-bzr.
11771
11772 * vc/vc-arch.el (vc-arch):
11773 * vc/vc-cvs.el (vc-cvs):
11774 * vc/vc-git.el (vc-git):
11775 * vc/vc-hg.el (vc-hg):
11776 * vc/vc-mtn.el (vc-mtn):
11777 * vc/vc-rcs.el (vc-rcs):
11778 * vc/vc-sccs.el (vc-sccs):
11779 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11780 All relevant defcustoms reassigned.
11781
11782 2012-02-25 Chong Yidong <cyd@gnu.org>
11783
11784 * newcomment.el (comment-styles): Add autoload (Bug#10868).
11785
11786 * term/x-win.el (x-initialize-window-system): Reduce default for
11787 x-selection-timeout to 5 seconds (Bug#8869).
11788
11789 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11790
11791 * files.el (files-equal-p, file-subdir-of-p): New functions.
11792 (copy-directory): Error when trying to copy a directory on itself.
11793 Add missing copy-contents arg to tramp handler.
11794 * dired-aux.el (dired-copy-file-recursive): Same.
11795 (dired-create-files): Modify destination when source is equal to
11796 dest when copying files.
11797 Return also when dest is a subdir of source. (Bug#10489)
11798
11799 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
11800
11801 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11802 (Bug#10874)
11803
11804 2012-02-23 Alan Mackenzie <acm@muc.de>
11805
11806 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11807 parameter "after-hook:" to allow the expansion to run code after
11808 the execution of the mode hooks.
11809
11810 * font-lock.el (font-lock-initial-fontify): New function extracted
11811 from font-lock-mode-internal.
11812
11813 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11814 :after-hook.
11815
11816 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11817
11818 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11819 (completion--cache-all-sorted-completions): New function.
11820 (completion-all-sorted-completions): Use it.
11821 (completion--do-completion, minibuffer-force-complete):
11822 Use it to re-instate the flush hook.
11823
11824 * icomplete.el (icomplete-completions): Replace last fix with a better
11825 one (bug#10850).
11826
11827 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
11828
11829 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11830 when it might call us back infinitely (bug#10797).
11831
11832 2012-02-23 Glenn Morris <rgm@gnu.org>
11833
11834 * minibuffer.el (completion-category-overrides): Doc fix.
11835
11836 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
11837
11838 * minibuffer.el (completion-table-with-context): Fix inf-loop.
11839 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11840
11841 2012-02-23 Glenn Morris <rgm@gnu.org>
11842
11843 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11844 (authors-obsolete-files-regexps, authors-ignored-files)
11845 (authors-ambiguous-files, authors-renamed-files-alist):
11846 Add more entries.
11847
11848 2012-02-23 Juri Linkov <juri@jurta.org>
11849
11850 * isearch.el (isearch-occur): Sync interactive spec with occur's
11851 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
11852
11853 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11854
11855 2012-02-22 Juri Linkov <juri@jurta.org>
11856
11857 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11858 (ucs-insert): Doc fix. Check for hex digits in the string.
11859 Don't display `nil' in the error message. (Bug#10857)
11860
11861 2012-02-22 Alan Mackenzie <acm@muc.de>
11862
11863 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11864
11865 2012-02-22 Glenn Morris <rgm@gnu.org>
11866
11867 * ffap.el (ffap-c-path):
11868 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
11869
11870 2012-02-22 Chong Yidong <cyd@gnu.org>
11871
11872 * custom.el (load-theme): Doc fix.
11873
11874 2012-02-22 Glenn Morris <rgm@gnu.org>
11875
11876 * dired-x.el (dired-guess-shell-alist-default):
11877 Remove escape sequences from nroff output. (Bug#172)
11878
11879 2012-02-21 Glenn Morris <rgm@gnu.org>
11880
11881 * vc/emerge.el (emerge-defvar-local):
11882 Set `permanent-local' property rather than unused `preserved'.
11883
11884 * textmodes/picture.el (picture-delete-char): New alias.
11885 (picture-mode-map): Use it. (Bug#10860)
11886 (picture-mode): Doc fix.
11887
11888 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
11889
11890 * newcomment.el (uncomment-region-default): Remove unused binding.
11891
11892 2012-02-21 Glenn Morris <rgm@gnu.org>
11893
11894 * textmodes/picture.el (picture-motion, picture-motion-reverse)
11895 (picture-self-insert, picture-tab-chars): Doc fix.
11896 (picture-mode-map): Fix C-a, C-e.
11897
11898 2012-02-20 Glenn Morris <rgm@gnu.org>
11899
11900 * emacs-lisp/authors.el (authors-aliases): Add another entry.
11901
11902 2012-02-20 Leo Liu <sdl.web@gmail.com>
11903
11904 * icomplete.el (icomplete-completions): Check FROM arg before
11905 passing to substring (Bug#10850).
11906
11907 2012-02-19 Chong Yidong <cyd@gnu.org>
11908
11909 * comint.el: Require ansi-color.
11910 (comint-output-filter-functions): Add ansi-color-process-output.
11911
11912 * ansi-color.el: Don't set comint-output-filter-functions; it is
11913 now in the initial value defined in comint.el.
11914 (ansi-color-apply-face-function): New variable.
11915 (ansi-color-apply-on-region): Use it.
11916 (ansi-color-apply-overlay-face): New function.
11917
11918 * shell.el (shell): No need to require ansi-color.
11919 (shell-mode): Use ansi-color-apply-face-function to highlight
11920 color escapes using font-lock-face property (Bug#10835).
11921
11922 2012-02-19 Chong Yidong <cyd@gnu.org>
11923
11924 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11925 mode-line formats (Bug#10839).
11926
11927 2012-02-18 Glenn Morris <rgm@gnu.org>
11928
11929 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11930
11931 * mail/undigest.el (unforward-rmail-message): Doc fix.
11932
11933 * saveplace.el (save-place-ignore-files-regexp): Add :version.
11934
11935 2012-02-18 Eli Zaretskii <eliz@gnu.org>
11936
11937 * international/characters.el (script-list): Sync with the latest
11938 Unicode Character Database.
11939
11940 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
11941
11942 * international/titdic-cnv.el: Remove duplicate coding tag.
11943 * language/cham.el: Likewise.
11944 * language/tai-viet.el: Likewise.
11945
11946 2012-02-18 Glenn Morris <rgm@gnu.org>
11947
11948 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11949 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11950 (calendar-bahai-all-holidays-flag, calendar-other-dates):
11951 * calendar/diary-lib.el (diary-abbreviated-year-flag):
11952 * calendar/holidays.el (holiday-bahai-holidays)
11953 (calendar-holidays, list-holidays):
11954 Use utf-8 Bahá'í in doc-strings, menus, etc.
11955
11956 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
11957
11958 * saveplace.el (save-place-ignore-files-regexp): New variable
11959 allowing for excluding files from saving their location of point.
11960 The default value matches the temporary commit message editing
11961 files from Git, SVN, Bazaar, and Mercurial.
11962 (save-place-to-alist): Use it.
11963
11964 2012-02-17 Lawrence Mitchell <wence@gmx.li>
11965 Stefan Monnier <monnier@iro.umontreal.ca>
11966
11967 * newcomment.el (uncomment-region-default): Don't leave extra space
11968 when an arg is provided (bug#8150).
11969
11970 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
11971
11972 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11973
11974 2012-02-17 Glenn Morris <rgm@gnu.org>
11975
11976 * net/socks.el: Require network-stream. (Bug#10599)
11977
11978 2012-02-17 Kenichi Handa <handa@m17n.org>
11979
11980 * international/charprop.el:
11981 * international/uni-name.el:
11982 * international/uni-old-name.el:
11983 * international/uni-comment.el: Regenerate.
11984
11985 2012-02-16 Glenn Morris <rgm@gnu.org>
11986
11987 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11988 Interactively in calendar buffer, give an error if not on a date.
11989
11990 2012-02-15 Glenn Morris <rgm@gnu.org>
11991
11992 * shell.el (shell-delimiter-argument-list):
11993 Revert 2011-02-17 change. (Bug#8027)
11994
11995 2012-02-15 Chong Yidong <cyd@gnu.org>
11996
11997 * minibuffer.el (completion-at-point-functions): Doc fix.
11998
11999 * custom.el (defcustom): Doc fix; note use of defvar.
12000
12001 2012-02-15 Glenn Morris <rgm@gnu.org>
12002
12003 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
12004 Doc fixes.
12005
12006 2012-02-14 Glenn Morris <rgm@gnu.org>
12007
12008 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
12009
12010 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
12011
12012 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
12013 way the ports list is computed.
12014 (smtpmail-query-smtp-server): Prompt the user for a port number if
12015 we can't connect to any of the standard ports (bug#10810).
12016
12017 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
12018
12019 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
12020
12021 2012-02-13 Glenn Morris <rgm@gnu.org>
12022
12023 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
12024
12025 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
12026
12027 * net/gnutls.el (gnutls-trustfiles): New variable.
12028 (gnutls-negotiate): Use it.
12029
12030 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
12031
12032 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
12033 does its stuff if Gnus is running.
12034
12035 2012-02-13 Alan Mackenzie <acm@muc.de>
12036
12037 Fix a loop in c-set-fl-decl-start.
12038
12039 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
12040 c-backward-syntactic-ws actually moves backwards.
12041
12042 2012-02-13 Leo Liu <sdl.web@gmail.com>
12043
12044 * net/rcirc.el (rcirc-markup-attributes): Move point to the
12045 beginning so that all \C-o chars are removed.
12046
12047 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
12048
12049 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
12050
12051 2012-02-12 Alan Mackenzie <acm@muc.de>
12052
12053 Fix infinite loop with long macros.
12054 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
12055
12056 2012-02-12 Chong Yidong <cyd@gnu.org>
12057
12058 * window.el (display-buffer): Doc fix (Bug#10785).
12059
12060 2012-02-12 Glenn Morris <rgm@gnu.org>
12061
12062 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12063 (x-disown-selection-internal, x-get-selection-internal):
12064 Sync docs with the xselect.c versions.
12065
12066 * allout-widgets.el: Add missing license notice.
12067
12068 2012-02-11 Glenn Morris <rgm@gnu.org>
12069
12070 * select.el (x-get-selection-internal, x-own-selection-internal)
12071 (x-disown-selection-internal):
12072 * x-dnd.el (x-get-selection-internal): Update declarations.
12073
12074 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
12075
12076 * window.el (window-sides-slots):
12077 * tool-bar.el (tool-bar-position):
12078 * term/xterm.el (xterm-extra-capabilities):
12079 * ses.el (ses-self-reference-early-detection):
12080 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
12081 (verilog-auto-wire-type)
12082 (verilog-auto-delete-trailing-whitespace)
12083 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
12084 (verilog-auto-tieoff-declaration):
12085 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
12086 (sql-oracle-statement-starters, sql-oracle-scan-on):
12087 * progmodes/prolog.el (prolog-align-comments-flag)
12088 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
12089 (prolog-left-indent-regexp, prolog-paren-indent-p)
12090 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
12091 (prolog-types, prolog-mode-specificators)
12092 (prolog-determinism-specificators, prolog-directives)
12093 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
12094 (prolog-electric-dot-flag)
12095 (prolog-electric-dot-full-predicate-template)
12096 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
12097 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
12098 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
12099 (prolog-program-switches, prolog-prompt-regexp)
12100 (prolog-debug-on-string, prolog-debug-off-string)
12101 (prolog-trace-on-string, prolog-trace-off-string)
12102 (prolog-zip-on-string, prolog-zip-off-string)
12103 (prolog-use-standard-consult-compile-method-flag)
12104 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
12105 (prolog-imenu-max-lines, prolog-info-predicate-index)
12106 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
12107 (prolog-char-quote-workaround):
12108 * progmodes/cc-vars.el (c-defun-tactic):
12109 * net/tramp.el (tramp-encoding-command-interactive)
12110 (tramp-local-end-of-line):
12111 * net/soap-client.el (soap-client):
12112 * net/netrc.el (netrc-file):
12113 * net/gnutls.el (gnutls):
12114 * minibuffer.el (completion-category-overrides)
12115 (completion-cycle-threshold)
12116 (completion-pcm-complete-word-inserts-delimiters):
12117 * man.el (Man-name-local-regexp):
12118 * mail/feedmail.el (feedmail-display-full-frame):
12119 * international/characters.el (glyphless-char-display-control):
12120 * eshell/em-ls.el (eshell-ls-date-format):
12121 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
12122 (lisp-lambda-list-keyword-parameter-indentation)
12123 (lisp-lambda-list-keyword-parameter-alignment):
12124 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
12125 * dired-x.el (dired-omit-verbose):
12126 * cus-theme.el (custom-theme-allow-multiple-selections):
12127 * calc/calc.el (calc-highlight-selections-with-faces)
12128 (calc-lu-field-reference, calc-lu-power-reference)
12129 (calc-note-threshold):
12130 * battery.el (battery-mode-line-limit):
12131 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
12132 (archive-7z-update):
12133 * allout.el (allout-prefixed-keybindings)
12134 (allout-unprefixed-keybindings)
12135 (allout-inhibit-auto-fill-on-headline)
12136 (allout-flattened-numbering-abbreviation):
12137 * allout-widgets.el (allout-widgets-auto-activation)
12138 (allout-widgets-icons-dark-subdir)
12139 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
12140 (allout-widgets-theme-dark-background)
12141 (allout-widgets-theme-light-background)
12142 (allout-widgets-item-image-properties-emacs)
12143 (allout-widgets-item-image-properties-xemacs)
12144 (allout-widgets-run-unit-tests-on-load)
12145 (allout-widgets-time-decoration-activity)
12146 (allout-widgets-hook-error-post-time)
12147 (allout-widgets-track-decoration):
12148 Add missing :version tags to new defcustoms and defgroups.
12149
12150 * progmodes/sql.el (sql-ansi-statement-starters)
12151 (sql-oracle-statement-starters): Add custom type.
12152
12153 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
12154 (prolog-system-version): Give it a type.
12155
12156 2012-02-11 Eli Zaretskii <eliz@gnu.org>
12157
12158 * term/pc-win.el (x-select-text, x-selection-owner-p)
12159 (x-own-selection-internal, x-disown-selection-internal)
12160 (x-get-selection-internal): Sync doc strings and argument lists
12161 with xselect.c, common-win.el and x-win.el. (Bug#10783)
12162
12163 2012-02-11 Leo Liu <sdl.web@gmail.com>
12164
12165 * progmodes/python.el (python-end-of-statement): Fix infinite
12166 loop. (Bug#10788)
12167
12168 2012-02-10 Glenn Morris <rgm@gnu.org>
12169
12170 * international/mule-cmds.el (unify-8859-on-encoding-mode)
12171 (unify-8859-on-decoding-mode): Properly mark as obsolete.
12172
12173 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
12174
12175 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
12176 about SMTP before checking the From header.
12177
12178 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
12179 into own function for reuse by emacsbug.el.
12180
12181 2012-02-10 Leo Liu <sdl.web@gmail.com>
12182
12183 * subr.el (condition-case-unless-debug): Rename from
12184 condition-case-no-debug. All callers changed.
12185 (with-demoted-errors): Fix caller.
12186
12187 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
12188 * nxml/rng-valid.el (rng-do-some-validation):
12189 * emacs-lisp/package.el (package-refresh-contents)
12190 (package-menu-execute):
12191 * desktop.el (desktop-create-buffer):
12192 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
12193
12194 2012-02-10 Glenn Morris <rgm@gnu.org>
12195
12196 * textmodes/bibtex.el:
12197 Add missing :version tags for new/changed defcustoms.
12198
12199 * files.el (remote-file-name-inhibit-cache): Doc fixes.
12200
12201 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
12202
12203 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
12204 (smtpmail-via-smtp): Use it, or fall back on the From address.
12205 (smtpmail-send-it): Ditto.
12206
12207 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
12210 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
12211 (byte-compile-tmp-var): New const.
12212 (byte-compile-defvar): Use it to minimize .elc size.
12213 Just use `defvar' rather than simulate it (bug#10761).
12214
12215 2012-02-09 Glenn Morris <rgm@gnu.org>
12216
12217 * files.el (rename-uniquely): Doc fix. (Bug#3806)
12218
12219 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
12220 Add :version tags.
12221
12222 * progmodes/compile.el (compilation-error-screen-columns)
12223 (compilation-first-column, compilation-filter-start): Doc fixes.
12224
12225 * vc/log-view.el (log-view-toggle-entry-display):
12226 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
12227
12228 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
12229 (report-emacs-bug-can-use-xdg-email):
12230 (report-emacs-bug-insert-to-mailer): Doc fixes.
12231 (report-emacs-bug): Message fix.
12232
12233 * net/browse-url.el (browse-url-can-use-xdg-open)
12234 (browse-url-xdg-open): Doc fixes.
12235
12236 * electric.el (electric-indent-mode, electric-pair-mode)
12237 (electric-layout-rules, electric-layout-mode): Doc fixes.
12238 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
12239
12240 2012-02-08 Martin Rudalics <rudalics@gmx.at>
12241
12242 * server.el (server-unselect-display): Don't inadvertently kill
12243 the current buffer. (Bug#10729)
12244
12245 2012-02-08 Glenn Morris <rgm@gnu.org>
12246
12247 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
12248 (sql-list-table): Doc fixes.
12249
12250 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
12251 Comment out (does nothing).
12252
12253 * completion.el (dynamic-completion-mode):
12254 * dirtrack.el (dirtrack-debug-mode):
12255 * electric.el (electric-layout-mode):
12256 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
12257 * face-remap.el (text-scale-mode, buffer-face-mode):
12258 * iimage.el (iimage-mode):
12259 * image-mode.el (image-transform-mode):
12260 * minibuffer.el (completion-in-region-mode):
12261 * scroll-lock.el (scroll-lock-mode):
12262 * simple.el (next-error-follow-minor-mode):
12263 * tar-mode.el (tar-subfile-mode):
12264 * tooltip.el (tooltip-mode):
12265 * vcursor.el (vcursor-use-vcursor-map):
12266 * wid-browse.el (widget-minor-mode):
12267 * emulation/tpu-edt.el (tpu-edt-mode):
12268 * emulation/tpu-extras.el (tpu-cursor-free-mode):
12269 * international/iso-ascii.el (iso-ascii-mode):
12270 * language/thai-util.el (thai-word-mode):
12271 * mail/supercite.el (sc-minor-mode):
12272 * net/goto-addr.el (goto-address-mode):
12273 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
12274 * progmodes/cwarn.el (cwarn-mode):
12275 * progmodes/flymake.el (flymake-mode):
12276 * progmodes/glasses.el (glasses-mode):
12277 * progmodes/hideshow.el (hs-minor-mode):
12278 * progmodes/pascal.el (pascal-outline-mode):
12279 * textmodes/enriched.el (enriched-mode):
12280 * vc/smerge-mode.el (smerge-mode):
12281 Doc fixes (minor mode argument).
12282
12283 2012-02-07 Eli Zaretskii <eliz@gnu.org>
12284
12285 * ls-lisp.el (ls-lisp-sanitize): New function.
12286 (ls-lisp-insert-directory): Use it to fix or remove any elements
12287 in file-alist with missing attributes. (Bug#4673)
12288
12289 2012-02-07 Alan Mackenzie <acm@muc.de>
12290
12291 Fix spurious recognition of c-in-knr-argdecl.
12292
12293 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
12294 putative K&R region.
12295
12296 2012-02-07 Alan Mackenzie <acm@muc.de>
12297
12298 * progmodes/cc-engine.el (c-forward-objc-directive):
12299 Prevent looping in "#pragma mark @implementation".
12300
12301 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
12302
12303 * notifications.el (notifications-on-closed-signal): Make `reason'
12304 optional. (Bug#10744)
12305
12306 2012-02-07 Glenn Morris <rgm@gnu.org>
12307
12308 * emacs-lisp/easy-mmode.el (define-minor-mode):
12309 Doc fixes for the macro and the mode it defines.
12310
12311 * image.el (imagemagick-types-inhibit): Doc fix.
12312
12313 * cus-start.el (imagemagick-render-type): Add it.
12314
12315 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
12316
12317 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
12318 Set the default at load time, too, so that `font-lock-fontify-buffer'
12319 can be called without setting up the entire mode first. This fixes
12320 a bug in `mm-inline-text' with C MIME parts.
12321
12322 2012-02-06 Chong Yidong <cyd@gnu.org>
12323
12324 * simple.el (list-processes--refresh): Delete exited processes
12325 (Bug#8094).
12326
12327 * comint.el (comint-next-prompt): next-single-char-property-change
12328 and prev-single-char-property-change never return nil (Bug#8657).
12329
12330 * custom.el (defcustom): Doc fix (Bug#9711).
12331
12332 2012-02-05 Chong Yidong <cyd@gnu.org>
12333
12334 * cus-edit.el (custom-variable-reset-backup): Quote the value
12335 before storing it in the customized-value property (Bug#6712).
12336 (custom-display): Add a customization type tag.
12337 (custom-buffer-create-internal): Improve tooltip message.
12338
12339 * wid-edit.el (widget-field-value-get): New optional arg to
12340 suppress trailing whitespace truncation.
12341 (character): Use it (Bug#2689).
12342
12343 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
12344
12345 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
12346 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
12347
12348 2012-02-05 Chong Yidong <cyd@gnu.org>
12349
12350 * cus-edit.el (custom-variable-value-create): For mismatched
12351 types, show the current value (Bug#7600).
12352
12353 * custom.el (defcustom): Doc fix.
12354
12355 2012-02-05 Glenn Morris <rgm@gnu.org>
12356
12357 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
12358
12359 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
12360
12361 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
12362 (pp-buffer): Use `ignore-errors', `looking-at-p'.
12363 (pp-last-sexp): Use `looking-at-p'.
12364
12365 2012-02-04 Glenn Morris <rgm@gnu.org>
12366
12367 * files.el (revert-buffer):
12368 Doc fix (mention revert-buffer-in-progress-p).
12369
12370 * emacs-lisp/ert-x.el (ert-simulate-command):
12371 Check deferred-action-list (which is obsolete) is bound.
12372
12373 * subr.el (with-wrapper-hook): Doc fixes.
12374
12375 * simple.el (filter-buffer-substring-functions)
12376 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
12377
12378 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
12379
12380 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
12381 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
12382
12383 2012-02-04 Leo Liu <sdl.web@gmail.com>
12384
12385 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
12386
12387 2012-02-04 Glenn Morris <rgm@gnu.org>
12388
12389 * image.el (image-extension-data): Add obsolete alias.
12390
12391 * isearch.el (isearch-update): Doc fix.
12392
12393 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
12394
12395 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
12396
12397 2012-02-03 Glenn Morris <rgm@gnu.org>
12398
12399 * image.el (image-animated-p): Doc fix. Use image-animated-types.
12400 (image-animate-timeout): Doc fix.
12401
12402 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
12403
12404 2012-02-02 Glenn Morris <rgm@gnu.org>
12405
12406 * server.el (server-auth-dir): Doc fix.
12407 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
12408
12409 * subr.el (run-mode-hooks): Doc fix.
12410
12411 2012-02-02 Juri Linkov <juri@jurta.org>
12412
12413 * image-mode.el (image-toggle-display-image): Remove tautological
12414 `major-mode' from the `derived-mode-p' test.
12415
12416 2012-02-02 Kenichi Handa <handa@m17n.org>
12417
12418 * composite.el (compose-region): Cancel previous change.
12419
12420 2012-02-02 Kenichi Handa <handa@m17n.org>
12421
12422 * composite.el (compose-region, compose-string): Signal error for
12423 a null string component (Bug#6988).
12424
12425 2012-02-01 Chong Yidong <cyd@gnu.org>
12426
12427 * view.el (view-buffer-other-window, view-buffer-other-frame):
12428 Handle special modes like view-buffer (Bug#10650).
12429 (view-buffer): Simplify.
12430
12431 * frame.el (set-frame-font): Tweak meaning of third argument.
12432
12433 * dynamic-setting.el (font-setting-change-default-font):
12434 Use set-frame-font (Bug#9982).
12435
12436 2012-02-01 Glenn Morris <rgm@gnu.org>
12437
12438 * progmodes/compile.el (compilation-internal-error-properties):
12439 Respect compilation-first-column in the "*compilation*" buffer.
12440
12441 * emacs-lisp/easy-mmode.el (define-minor-mode):
12442 Relax :variable's test for a named function.
12443
12444 2012-01-31 Alan Mackenzie <acm@muc.de>
12445
12446 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
12447 off by one error.
12448
12449 2012-01-31 Chong Yidong <cyd@gnu.org>
12450
12451 * frame.el (set-frame-font): New arg ALL-FRAMES.
12452
12453 * menu-bar.el (menu-set-font): Use set-frame-font.
12454
12455 * faces.el (face-spec-reset-face): Don't apply unspecified
12456 attribute values to the default face.
12457
12458 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
12459
12460 * progmodes/cwarn.el (cwarn): Remove dead link.
12461 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
12462 Remove * from defcustom docstrings.
12463 (turn-on-cwarn-mode): Make obsolete.
12464 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
12465 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
12466
12467 2012-01-31 Glenn Morris <rgm@gnu.org>
12468
12469 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
12470 Fix :variable handling of mode a symbol not equal to modefun.
12471 Allow named functions to be used as the cdr of :variable.
12472
12473 2012-01-30 Glenn Morris <rgm@gnu.org>
12474
12475 * emacs-lisp/authors.el (authors-fixed-entries):
12476 Remove reference to deleted file rnewspost.el.
12477
12478 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
12479
12480 * window.el (window-with-parameter): Remove unused variable `windows'.
12481 (window--side-check): Remove unused variable `code'.
12482 (window--resize-siblings): Remove unused variable `first'.
12483 (adjust-window-trailing-edge): Remove unused variable `failed'.
12484 (window-deletable-p, window--delete): Remove unused variable `buffer'.
12485 Use `let', not `let*'.
12486 (balance-windows-2): Remove unused variable `found'.
12487 (window--state-put-2): Remove unused variable `splits'.
12488 (window-state-put): Remove unused variable `selected'.
12489 (same-window-p): Use `string-match-p'.
12490 (display-buffer-assq-regexp): Remove unused variable `value'.
12491 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12492 Mark argument ALIST as ignored.
12493 (pop-to-buffer): Remove unused variable `old-window'.
12494
12495 2012-01-29 Eli Zaretskii <eliz@gnu.org>
12496
12497 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
12498 and .lzma compressed files.
12499
12500 2012-01-29 Chong Yidong <cyd@gnu.org>
12501
12502 * frame.el (window-system-default-frame-alist): Doc fix.
12503
12504 * dynamic-setting.el (font-setting-change-default-font): Don't
12505 change the default face if SET-FONT argument is non-nil (Bug#9982).
12506
12507 2012-01-29 Samuel Bronson <naesten@gmail.com>
12508
12509 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
12510
12511 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
12512
12513 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
12514 breakpoints in files outside current directory (Bug#6098).
12515
12516 2012-01-29 Chong Yidong <cyd@gnu.org>
12517
12518 * progmodes/python.el: Require ansi-color at top-level.
12519
12520 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
12521 Define and use in Emacs Lisp mode (Bug#9360).
12522 (lisp-mode-abbrev-table): Add doc.
12523 (lisp-mode-variables): Don't set local-abbrev-table.
12524 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
12525
12526 2012-01-28 Roland Winkler <winkler@gnu.org>
12527
12528 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
12529
12530 2012-01-28 Roland Winkler <winkler@gnu.org>
12531
12532 * textmodes/bibtex.el (bibtex-entry-alist): New function.
12533 (bibtex-set-dialect): Use it. Either set global values of
12534 dialect-dependent variables or bind these variables buffer-locally
12535 (Bug#10254).
12536 (bibtex-mode): Call bibtex-set-dialect via
12537 hack-local-variables-hook.
12538 (bibtex-dialect): Update docstring.
12539 Add safe-local-variable predicate.
12540 (bibtex-entry-alist, bibtex-field-alist): Initialize via
12541 bibtex-set-dialect.
12542 (bibtex-mode-map): Define menu for each dialect.
12543 (bibtex-entry): Fix docstring.
12544
12545 2012-01-28 Chong Yidong <cyd@gnu.org>
12546
12547 * eshell/esh-arg.el (eshell-quote-argument): New function.
12548
12549 * eshell/esh-ext.el (eshell-invoke-batch-file):
12550 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
12551 first arg to eshell-parse-command (Bug#10523).
12552
12553 2012-01-28 Drew Adams <drew.adams@oracle.com>
12554
12555 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
12556 `default-directory' is non-nil.
12557
12558 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12559
12560 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
12561 line that displays system-configuration-options. (Bug#9924)
12562
12563 2012-01-28 Drew Adams <drew.adams@oracle.com>
12564
12565 * descr-text.el (describe-char): Show information about POS, in
12566 addition to information about the character at POS. Improve and
12567 update the doc string. Change "code point" to "code point in
12568 charset", to avoid confusion with the character's Unicode code
12569 point shown above that. (Bug#10129)
12570
12571 2012-01-28 Eli Zaretskii <eliz@gnu.org>
12572
12573 * descr-text.el (describe-char): Show the raw character, not only
12574 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
12575 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
12576 for the reasons.
12577
12578 2012-01-28 Phil Hagelberg <phil@hagelb.org>
12579
12580 * emacs-lisp/package.el (package-install):
12581 Run package-refresh-contents if there is no archive yet (Bug#9798).
12582
12583 2012-01-28 Chong Yidong <cyd@gnu.org>
12584
12585 * emacs-lisp/package.el (package-maybe-load-descriptor):
12586 New function, split from package-maybe-load-descriptor.
12587 (package-maybe-load-descriptor): Use it.
12588 (package-download-transaction): Fully load required packages
12589 inside the loop, so that `require' calls work (Bug#10593).
12590 (package-install): No need to call package-initialize now.
12591
12592 2012-01-28 Chong Yidong <cyd@gnu.org>
12593
12594 * simple.el (deactivate-mark): Doc fix (Bug#8614).
12595
12596 * tooltip.el (tooltip-mode): Doc fix.
12597 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
12598
12599 * frame.el (set-cursor-color): Doc fix (Bug#352).
12600
12601 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
12602 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
12603
12604 * cus-edit.el (custom-buffer-create-internal): Fix search button
12605 action (Bug#10542).
12606 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
12607
12608 2012-01-27 Eduard Wiebe <usenet@pusto.de>
12609
12610 * dired.el (dired-mark-files-regexp):
12611 Include any subdirectory components. (Bug#10445)
12612
12613 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
12614
12615 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
12616 Handle [host]:port syntax. (Bug#10533)
12617
12618 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
12619
12620 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
12621
12622 2012-01-26 Glenn Morris <rgm@gnu.org>
12623
12624 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
12625 * term.el (term-raw-escape-map): Use Control-X-prefix.
12626 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
12627
12628 2012-01-25 Martin Rudalics <rudalics@gmx.at>
12629
12630 * window.el (window-state-get, window--state-get-1): Don't deal
12631 with fixed-sizeness of windows. Simplify code.
12632
12633 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
12634
12635 * window.el (window--state-get-1, window--state-put-2):
12636 Don't save and restore the mark.
12637
12638 2012-01-25 Chong Yidong <cyd@gnu.org>
12639
12640 * custom.el (custom-variable-p): Doc fix.
12641
12642 2012-01-25 Glenn Morris <rgm@gnu.org>
12643
12644 * dired.el (dired-goto-file): Handle some of the more common
12645 characters that `ls -b' escapes. (Bug#10596)
12646
12647 * progmodes/compile.el (compilation-next-error-function):
12648 Respect compilation-first-column in the "*compilation*" buffer.
12649 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
12650
12651 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
12652
12653 2012-01-24 Glenn Morris <rgm@gnu.org>
12654
12655 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
12656
12657 2012-01-24 Julien Danjou <julien@danjou.info>
12658
12659 * color.el (color-rgb-to-hsl): Fix value computing.
12660 (color-hue-to-rgb): New function.
12661 (color-hsl-to-rgb): New function.
12662 (color-clamp, color-saturate-hsl, color-saturate-name)
12663 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12664 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12665
12666 2012-01-24 Glenn Morris <rgm@gnu.org>
12667
12668 * vc/vc-rcs.el (vc-rcs-create-tag):
12669 * vc/vc-sccs.el (vc-sccs-create-tag):
12670 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
12671
12672 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
12673
12674 * eshell/esh-util.el (eshell-read-hosts-file):
12675 Skip comment lines. (Bug#10549)
12676
12677 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
12678
12679 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
12680
12681 * subr.el (display-delayed-warnings): Doc fix.
12682 (collapse-delayed-warnings): New function to collapse identical
12683 adjacent warnings.
12684 (delayed-warnings-hook): Add it.
12685
12686 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
12687
12688 * net/tramp.el (tramp-action-login): Set connection property "login-as".
12689
12690 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12691 (tramp-default-user-alist): Don't add "pscp".
12692 (tramp-do-copy-or-rename-file-out-of-band): Use connection
12693 property "login-as", if set. (Bug#10530)
12694
12695 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
12696
12697 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12698 "plink1" and "psftp". (Bug#10530)
12699
12700 2012-01-21 Kenichi Handa <handa@m17n.org>
12701
12702 * international/mule-cmds.el (prefer-coding-system): Show a
12703 warning message if the default value of file-name-coding-system
12704 was not changed.
12705
12706 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
12707
12708 * windmove.el (windmove-reference-loc):
12709 Fix windmove-reference-loc miscalculation.
12710
12711 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
12712
12713 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12714 default unit.
12715
12716 2012-01-21 Glenn Morris <rgm@gnu.org>
12717
12718 * international/mule.el (auto-coding-alist): Add .tbz.
12719
12720 * files.el (local-enable-local-variables): Doc fix.
12721 (inhibit-local-variables-regexps): Rename from
12722 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
12723 Doc fix. Add some extensions from auto-coding-alist.
12724 (inhibit-local-variables-suffixes):
12725 Rename from inhibit-first-line-modes-suffixes. Doc fix.
12726 (inhibit-local-variables-p):
12727 New function, extracted from set-auto-mode-1.
12728 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
12729 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
12730 (hack-local-variables): Doc fix. Make the mode-only case
12731 respect enable-local-variables and friends.
12732 Respect inhibit-local-variables-regexps for file-locals, but
12733 not for directory-locals.
12734 (set-visited-file-name):
12735 Take account of inhibit-local-variables-regexps.
12736 Whether it applies may change as the file name is changed.
12737 * jka-cmpr-hook.el (jka-compr-install):
12738 * jka-compr.el (jka-compr-uninstall):
12739 Update for inhibit-first-line-modes-suffixes name change.
12740
12741 2012-01-20 Martin Rudalics <rudalics@gmx.at>
12742
12743 * help-macro.el (make-help-screen): Temporarily restore original
12744 binding for minor-mode-map-alist (Bug#10454).
12745
12746 2012-01-19 Julien Danjou <julien@danjou.info>
12747
12748 * color.el (color-name-to-rgb): Use the white color to find the max
12749 color component value and return correctly computed values.
12750 (color-name-to-rgb): Add missing float conversion for max value.
12751
12752 2012-01-19 Martin Rudalics <rudalics@gmx.at>
12753
12754 * window.el (window--state-get-1, window-state-get): Do not use
12755 special state value for window-persistent-parameters.
12756 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
12757 (window--state-put-2): Reset all window parameters to nil before
12758 assigning values of persistent parameters.
12759
12760 2012-01-18 Alan Mackenzie <acm@muc.de>
12761
12762 Eliminate sluggishness and hangs in fontification of "semicolon
12763 deserts".
12764
12765 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12766 Change value 10000 -> 3000.
12767 (c-state-safe-place): Reformulate so it doesn't stack up an
12768 infinite number of wrong entries in c-state-nonlit-pos-cache.
12769 (c-determine-limit-get-base, c-determine-limit): New functions to
12770 determine backward search limits disregarding literals.
12771 (c-find-decl-spots): Amend commenting.
12772 (c-cheap-inside-bracelist-p): New function which detects "={".
12773
12774 * progmodes/cc-fonts.el
12775 (c-make-font-lock-BO-decl-search-function): Give a limit to a
12776 backward search.
12777 (c-font-lock-declarations): Fix an occurrence of point being
12778 undefined. Check additionally for point being in a bracelist or
12779 near a macro invocation without a semicolon so as to avoid a
12780 fruitless time consuming search for a declarator. Give a more
12781 precise search limit for declarators using the new
12782 c-determine-limit.
12783
12784 2012-01-18 Glenn Morris <rgm@gnu.org>
12785
12786 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12787 (set-auto-mode): Doc fixes.
12788
12789 2012-01-17 Glenn Morris <rgm@gnu.org>
12790
12791 * isearch.el (search-nonincremental-instead): Fix doc typo.
12792
12793 * dired.el (dired-insert-directory): Handle newlines in directory name.
12794 (dired-build-subdir-alist): Unescape newlines in directory name.
12795
12796 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
12797
12798 * net/tramp.el (tramp-local-end-of-line): New defcustom.
12799 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12800 (tramp-action-terminal): Use it. (Bug#10530)
12801
12802 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
12803
12804 * minibuffer.el (completion--replace): Strip properties (bug#10062).
12805
12806 2012-01-16 Martin Rudalics <rudalics@gmx.at>
12807
12808 * window.el (window-state-ignored-parameters): Remove variable.
12809 (window--state-get-1): Rename argument MARKERS to IGNORE.
12810 Handle persistent window parameters. Make copy of clone-of
12811 parameter only if requested. (Bug#10348)
12812 (window--state-put-2): Install a window parameter only if it has
12813 a non-nil value or an existing parameter shall be overwritten.
12814
12815 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
12816
12817 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12818
12819 2012-01-14 Eli Zaretskii <eliz@gnu.org>
12820
12821 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12822 don't pass the (nil) value of `upnode' to string-match.
12823
12824 2012-01-14 Chong Yidong <cyd@gnu.org>
12825
12826 * startup.el (command-line): Fix X resource class for cursorColor.
12827 Fix values recognized by the cursorBlink resource.
12828
12829 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
12830
12831 * epg.el (epg--make-temp-file): Avoid permission race condition
12832 when running on old Emacs versions (bug#10403).
12833
12834 2012-01-14 Glenn Morris <rgm@gnu.org>
12835
12836 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12837
12838 2012-01-13 Alan Mackenzie <acm@muc.de>
12839
12840 Fix filling for when filladapt mode is enabled.
12841
12842 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12843 c-mask-paragraph, pass in `fill-paragraph' rather than
12844 `fill-region-as-paragraph'. (This is a reversion of a previous
12845 change.)
12846 * progmodes/cc-mode.el (c-basic-common-init):
12847 Make fill-paragraph-handle-comment buffer local and set it to nil.
12848
12849 2012-01-13 Glenn Morris <rgm@gnu.org>
12850
12851 * dired.el (dired-switches-escape-p): New function.
12852 (dired-insert-directory): Use dired-switches-escape-p.
12853 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
12854
12855 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
12856
12857 2012-01-12 Glenn Morris <rgm@gnu.org>
12858
12859 * mail/sendmail.el (mail-mode): Update paragraph-separate for
12860 changes in adaptive-fill-regexp. (Bug#10276)
12861
12862 2012-01-11 Alan Mackenzie <acm@muc.de>
12863
12864 Fix Emacs bug #10463 - put `widen's around the critical spots.
12865
12866 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12867 widen around each invocation of c-state-pp-to-literal. Remove an
12868 unused let variable.
12869
12870 2012-01-11 Glenn Morris <rgm@gnu.org>
12871
12872 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
12873 Doc fix.
12874
12875 2012-01-10 Chong Yidong <cyd@gnu.org>
12876
12877 * net/network-stream.el (network-stream-open-starttls):
12878 Avoid emitting a confusing error message when the server gives a bad
12879 response to the capability command.
12880
12881 2012-01-10 Glenn Morris <rgm@gnu.org>
12882
12883 * mail/unrmail.el (unrmail): Tweak previous change.
12884
12885 2012-01-09 Chong Yidong <cyd@gnu.org>
12886
12887 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12888
12889 2012-01-08 Alan Mackenzie <acm@muc.de>
12890
12891 Optimise font locking in long enum definitions.
12892
12893 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12894 arm to a cond form to handle enums.
12895 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12896 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12897
12898 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
12899
12900 * files.el (move-file-to-trash): Preserve default file modes on error.
12901 (Bug#10401)
12902
12903 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12904
12905 * faces.el (set-face-attribute): Clarify the meaning of the nil
12906 frame (bug#10294).
12907
12908 * subr.el (with-selected-frame): Mention that the selected frame
12909 is restored (bug#9980).
12910
12911 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12912 (bug#9759).
12913
12914 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12915 (password-read): Don't autoload unused function.
12916
12917 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
12918
12919 * progmodes/which-func.el (which-func-mode): Turn into a
12920 non-interactive function and mark as obsolete (bug#10428).
12921
12922 2012-01-06 Chong Yidong <cyd@gnu.org>
12923
12924 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12925 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12926 functions, along with 1 and -1.
12927
12928 2012-01-06 Eli Zaretskii <eliz@gnu.org>
12929
12930 * time.el (display-time-load-average)
12931 (display-time-default-load-average): Doc fixes. See the thread
12932 starting at
12933 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12934 for the details.
12935
12936 2012-01-06 Glenn Morris <rgm@gnu.org>
12937
12938 * mail/unrmail.el (unrmail): Give an explicit error if the input file
12939 has no messages. (Bug#10377)
12940
12941 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12942 than Info-edit. (Bug#10385)
12943
12944 * time.el (display-time-load-average, display-time-next-load-average):
12945 Doc fixes.
12946
12947 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12948 local setting of buffer-read-only to the input buffer. (Bug#10419)
12949
12950 * calendar/calendar.el (calendar-mode):
12951 Locally set scroll-margin to 0. (Bug#10379)
12952
12953 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
12954
12955 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
12956
12957 2012-01-05 Glenn Morris <rgm@gnu.org>
12958
12959 * eshell/em-unix.el (diff-no-select): Autoload it.
12960 (eshell/diff): Use diff-no-select. (Bug#10420)
12961
12962 2012-01-05 Chong Yidong <cyd@gnu.org>
12963
12964 * shell.el (shell-dynamic-complete-functions): Revert last change.
12965 (shell-command-completion-function): New function.
12966 (shell-completion-vars): Use it to implement
12967 shell-completion-execonly (Bug#10417).
12968
12969 * custom.el (enable-theme): Don't set custom-safe-themes.
12970
12971 * cus-theme.el (custom-theme-merge-theme):
12972 Ignore custom-enabled-themes and custom-safe-themes.
12973
12974 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
12975
12976 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12977 first prompt in `sql-interacive-mode'.
12978 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12979 keywords.
12980 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12981 (sql-product-interactive): Bug fix: Set `sql-buffer' in
12982 context of original buffer. Invoke `sql-login-hook'.
12983
12984 2012-01-04 Eli Zaretskii <eliz@gnu.org>
12985
12986 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12987 letters in cite-prefix.
12988
12989 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12990
12991 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12992
12993 2012-01-03 Chong Yidong <cyd@gnu.org>
12994
12995 * shell.el (shell-dynamic-complete-functions):
12996 Put pcomplete-completions-at-point, so as to try
12997 comint-filename-completion first (Bug#10417).
12998
12999 2012-01-02 Richard Stallman <rms@gnu.org>
13000
13001 * battery.el (battery-status-function):
13002 Detect when to use battery-yeeloong-sysfs.
13003 (battery-echo-area-format): Add string for Yeeloong.
13004 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
13005 (battery-yeeloong-sysfs): New function.
13006
13007 2012-01-02 Chong Yidong <cyd@gnu.org>
13008
13009 * dirtrack.el (dirtrack-list): Eliminate unused third element.
13010 (dirtrack): Merge code for handling relative filenames in prompt
13011 from shell-dir-cookie-watcher.
13012 (dirtrack-debug-message): New arg to avoid excess format calls.
13013
13014 * shell.el (shell-dir-cookie-re): Variable deleted.
13015 (shell-dir-cookie-watcher): Function deleted.
13016 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
13017 with dirtrack-mode.
13018
13019 2012-01-01 Eli Zaretskii <eliz@gnu.org>
13020
13021 * term/w32-win.el (dynamic-library-alist) <gnutls>:
13022 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
13023 libgnutls-26.dll.
13024
13025 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
13026
13027 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
13028
13029 2011-12-31 Eli Zaretskii <eliz@gnu.org>
13030
13031 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
13032 headers of non-MIME messages, when rmail-enable-mime is non-nil.
13033
13034 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
13035
13036 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
13037 also for alternative shells.
13038 (tramp-open-connection-setup-interactive-shell): Check, whether
13039 the shell is a busybox.
13040 (tramp-send-command): Don't suppress multiple prompts for
13041 busyboxes, it hurts.
13042
13043 2011-12-28 Chong Yidong <cyd@gnu.org>
13044
13045 * progmodes/gdb-mi.el (gdb-get-source-file-list)
13046 (gdb-get-source-file): Move mode line update to
13047 gdb-get-source-file (Bug#10087).
13048
13049 2011-12-25 Chong Yidong <cyd@gnu.org>
13050
13051 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
13052 gud-gdb-marker-filter without taking it as an argument.
13053 (gud-gdb-run-command-fetch-lines): Caller changed.
13054 (gud-gdb-completion-function): New variable.
13055 (gud-gdb-completion-at-point): Use it.
13056 (gud-gdb-completions-1): Split from gud-gdb-completions.
13057
13058 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
13059 function as separate arguments.
13060 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
13061 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
13062 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
13063 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
13064 (gdb-stopped, def-gdb-auto-update-trigger)
13065 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
13066 (gdb-get-changed-registers, gdb-get-main-selected-frame):
13067 Callers changed.
13068 (gud-gdbmi-completions): New function.
13069 (gdb): Use it for generating the completion table.
13070
13071 2011-12-24 Alan Mackenzie <acm@muc.de>
13072
13073 Introduce a mechanism to widen the region used in context font
13074 locking. Use this to protect declarations from losing their contexts.
13075
13076 * progmodes/cc-langs.el (c-before-font-lock-functions):
13077 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
13078 (c-before-context-fontification-functions): New defvar, a list of
13079 functions to be run just before context (etc.) font locking.
13080
13081 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
13082 New, functionality extracted from
13083 c-neutralize-syntax-in-and-mark-CPP.
13084 (c-in-after-change-fontification): New variable.
13085 (c-after-change): Set c-in-after-change-fontification.
13086 (c-set-fl-decl-start): Rejig its interface, so it can be called
13087 from both after-change and context fontifying.
13088 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
13089 New functions.
13090 (c-standard-font-lock-fontify-region-function): New variable.
13091 (c-font-lock-fontify-region): New function.
13092
13093 2011-12-24 Juri Linkov <juri@jurta.org>
13094
13095 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
13096 (Bug#10348)
13097
13098 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
13099
13100 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
13101 existence of source file. (Bug#10325)
13102
13103 2011-12-23 Alan Mackenzie <acm@muc.de>
13104
13105 Fix unstable fontification inside templates.
13106
13107 * progmodes/cc-langs.el (c-before-font-lock-functions):
13108 Newly created from the singular version. The (c c++ objc) entry now
13109 additionally has c-set-fl-decl-start. The other languages (apart
13110 from AWK) have that as a single entry.
13111
13112 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13113 The functionality for "local" declarations has been extracted to
13114 c-set-fl-decl-start.
13115
13116 * progmodes/cc-mode.el (c-common-init, c-after-change):
13117 Changes due to pluralisation of c-before-font-lock-functions.
13118 (c-set-fl-decl-start): New function, extracted from
13119 c-font-lock-enclosing-decls and enhanced.
13120
13121 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
13122
13123 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
13124
13125 2011-12-22 Juri Linkov <juri@jurta.org>
13126
13127 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
13128
13129 2011-12-22 Chong Yidong <cyd@gnu.org>
13130
13131 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
13132
13133 2011-12-21 Drew Adams <drew.adams@oracle.com>
13134
13135 * files.el (file-remote-p): Fix docstring. (Bug#10319)
13136
13137 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
13138
13139 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
13140
13141 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
13142
13143 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
13144 highlighting and support. Fix up comments for capitalization.
13145 (cfengine-mode-debug): New var.
13146 (cfengine3-mode): Change the modeline indicator to "CFE3".
13147 (cfengine3-font-lock-keywords): Improve defun highlighting.
13148 (cfengine2-actions): Rename from `cfengine-actions'.
13149 (cfengine2-font-lock-keywords): Rename from
13150 `cfengine-font-lock-keywords'.
13151 (cfengine2-imenu-expression): Rename from
13152 `cfengine-imenu-expression'.
13153 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
13154 (cfengine2-beginning-of-defun): Rename from
13155 `cfengine-beginning-of-defun'.
13156 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
13157 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
13158 (cfengine2-mode): Rename from `cfengine-mode'. Change the
13159 modeline indicator to "CFE2".
13160 (cfengine-mode): Defalias to `cfengine-auto-mode'.
13161 (cfengine-mode-abbrevs): Mark obsolete.
13162
13163 2011-12-21 Chong Yidong <cyd@gnu.org>
13164
13165 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
13166 filename argument.
13167
13168 2011-12-20 Martin Rudalics <rudalics@gmx.at>
13169
13170 * window.el (window-normalize-buffer-to-display): Remove.
13171 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
13172
13173 2011-12-19 Chong Yidong <cyd@gnu.org>
13174
13175 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
13176 Don't signal an error in a predicate function; return non-nil.
13177 (vc-dir-mark-file): Move the error here.
13178 (vc-dir-mark-unmark): If acting on the region, keep going if one
13179 of the entries cannot be marked/unmarked.
13180 (vc-dir-mark-all-files): If current entry is a directory, mark
13181 only child files, as documented.
13182
13183 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
13184
13185 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
13186 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
13187 addition.
13188
13189 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
13190
13191 * term/ns-win.el (ns-get-selection-internal)
13192 (ns-store-selection-internal): Declare.
13193 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
13194 Declare as obsolete.
13195 (ns-get-pasteboard, ns-paste-secondary):
13196 Use ns-get-selection-internal.
13197 (ns-set-pasteboard, ns-copy-including-secondary):
13198 Use ns-store-selection-internal.
13199
13200 2011-12-17 Chong Yidong <cyd@gnu.org>
13201
13202 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
13203 (vc-deduce-fileset): Doc fix.
13204
13205 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
13206
13207 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
13208
13209 2011-12-13 Sam Steingold <sds@gnu.org>
13210
13211 * man.el (Man-getpage-in-background): When running under a
13212 window-system, ignore $MANWIDTH and $COLUMNS.
13213
13214 2011-12-15 Kenichi Handa <handa@m17n.org>
13215
13216 * language/ethio-util.el: Change coding tag to utf-8-emacs.
13217 (setup-ethiopic-environment-internal): Comment out key-binding for
13218 ethio-toggle-punctuation.
13219
13220 2011-12-13 Alan Mackenzie <acm@muc.de>
13221
13222 Add the switch statement to AWK Mode.
13223
13224 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
13225 "default" to the keywords regexp.
13226
13227 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
13228 expression as the rest.
13229 (c-nonlabel-token-key): Allow string literals for AWK.
13230 Refactor for the other modes.
13231
13232 Large brace-block initialisation makes CC Mode slow: Fix.
13233 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13234 routines. Limit backward searching in c-font-lock-enclosing.decl.
13235
13236 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
13237 pp-state and literal type in addition to the limits.
13238 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13239 (c-state-literal-at): Use the above new defun.
13240 (c-slow-in-literal, c-fast-in-literal): Remove.
13241 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13242
13243 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
13244 being in a literal. Add a limit for backward searching.
13245
13246 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
13247 c-slow-in-literal.
13248
13249 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
13250
13251 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
13252
13253 2011-12-13 Martin Rudalics <rudalics@gmx.at>
13254
13255 * window.el (delete-other-windows): Use correct frame in call to
13256 window-with-parameter.
13257
13258 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
13259
13260 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
13261 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
13262 (makefile-gmake-statements, makefile-makepp-statements):
13263 Use it and add new makepp keywords.
13264 (makefile-makepp-font-lock-keywords): Add new patterns.
13265 (makefile-match-function-end): Match new [...] and [[...]].
13266
13267 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
13268
13269 * ses.el (ses-call-printer-return, ses-cell-property-get)
13270 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
13271 (ses-create-cell-variable, ses-reset-header-string)
13272 (ses-cell-set-formula, ses-repair-cell-reference-all)
13273 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
13274 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
13275 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
13276 (ses-aset-with-undo, ses-load, ses-truncate-cell)
13277 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
13278 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
13279 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
13280 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
13281 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
13282 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
13283 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
13284 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
13285
13286 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
13287
13288 * ses.el: The overall change is to add cell renaming, that is
13289 setting fancy names for cell symbols other than name matching
13290 "\\`[A-Z]+[0-9]+\\'" regexp .
13291 (ses-create-cell-variable): New defun.
13292 (ses-relocate-formula): Relocate formulas only for cells the
13293 symbols of which are not renamed, i.e. symbols whose names do not
13294 match regexp "\\`[A-Z]+[0-9]+\\'".
13295 (ses-relocate-all): Relocate values only for cells the symbols of
13296 which are not renamed.
13297 (ses-load): Create cells variables as the (ses-cell ...) are read,
13298 in order to check row col consistency with cell symbol name only
13299 for cells that are not renamed.
13300 (ses-replace-name-in-formula): New defun.
13301 (ses-rename-cell): New defun.
13302
13303 2011-12-11 Chong Yidong <cyd@gnu.org>
13304
13305 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
13306 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
13307
13308 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
13309
13310 * window.el (other-window): Fix docstring.
13311
13312 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13313
13314 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
13315 `from' or `to' address before taking its substring.
13316 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
13317 encoded name is chopped in the middle of the encoded string, and
13318 thus displayed encoded.
13319
13320 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
13321
13322 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
13323
13324 2011-12-10 Eli Zaretskii <eliz@gnu.org>
13325
13326 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
13327 to use texinfo-update-node and commands that call it if the
13328 Texinfo file uses @node lines without next/prev/up pointers.
13329 Correct outdated description about texinfo-master-menu.
13330 (texinfo-all-menus-update, texinfo-master-menu)
13331 (texinfo-update-node, texinfo-every-node-update)
13332 (texinfo-multiple-files-update): Doc fix. Warn against updating
13333 all the @node lines.
13334 (texinfo-master-menu): Only call texinfo-update-node if the prefix
13335 argument is numeric. Explain better in the doc string what the
13336 function really does.
13337 (texinfo-insert-master-menu-list): Improve the error message
13338 displayed if there's no menu in the Top node.
13339 (Bug#2975) See also this thread:
13340 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
13341
13342 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
13343
13344 * speedbar.el (speedbar-supported-extension-expressions):
13345 Add .adb and .ads, commonly used for Ada source code (bug#10256).
13346
13347 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
13348
13349 * printing.el (pr-mode-alist):
13350 * simple.el (filter-buffer-substring-functions)
13351 (completion-list-insert-choice-function):
13352 * window.el (window-with-parameter, window-atom-root)
13353 (window-sides-slots, window-size-fixed, window-min-delta)
13354 (window-max-delta, window--resize-mini-window)
13355 (window--resize-child-windows-normal, window-tree)
13356 (delete-other-windows, quit-window, split-window)
13357 (display-buffer-record-window, special-display-buffer-names)
13358 (special-display-regexps, special-display-popup-frame)
13359 (same-window-p, split-window-sensibly)
13360 (display-buffer-overriding-action, display-buffer-alist)
13361 (display-buffer-base-action, display-buffer, switch-to-buffer)
13362 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
13363 (fit-window-to-buffer, recenter-positions)
13364 (mouse-autoselect-window-state, mouse-autoselect-window-select):
13365 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
13366 and remove unneeded backslashes in docstrings.
13367
13368 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
13369
13370 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
13371
13372 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
13373 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
13374 end in ".mk".
13375 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
13376 when reading the makefile (bug#10116).
13377
13378 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
13379
13380 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
13381 (bug#10116).
13382
13383 2011-12-06 Glenn Morris <rgm@gnu.org>
13384
13385 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
13386
13387 2011-12-06 Chong Yidong <cyd@gnu.org>
13388
13389 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
13390
13391 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
13392
13393 * textmodes/table.el (table-shorten-cell): Fix typo.
13394
13395 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
13396
13397 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
13398
13399 2011-12-05 Eli Zaretskii <eliz@gnu.org>
13400
13401 * descr-text.el (describe-char): Fix display of strong
13402 right-to-left characters and directional embeddings and overrides.
13403
13404 * simple.el (what-cursor-position): Fix display of codepoints of
13405 strong right-to-left characters.
13406
13407 2011-12-05 Chong Yidong <cyd@gnu.org>
13408
13409 * faces.el (read-color): Doc fix.
13410
13411 2011-12-05 Glenn Morris <rgm@gnu.org>
13412
13413 * align.el (align--set-marker): Add doc-string.
13414 Don't try to move something that is not a marker. (Bug#10216)
13415
13416 2011-12-04 Glenn Morris <rgm@gnu.org>
13417
13418 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
13419 overly zealous deletion of trailing whitespace.
13420
13421 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
13422
13423 * server.el (server-delete-client): On Windows, do not try to delete
13424 the only terminal.
13425 (server-process-filter): On Windows, treat requests for a tty frame as
13426 if they were for a GUI frame if the running server is in GUI mode.
13427
13428 2011-12-03 Glenn Morris <rgm@gnu.org>
13429
13430 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
13431
13432 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
13433
13434 * electric.el: Streamline electric-indent's hook.
13435 (electric-indent-chars): Revert to simple list.
13436 (electric-indent-functions): New var.
13437 (electric-indent-post-self-insert-function): Use it.
13438
13439 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
13440 there's no inferior buffer (bug#10196).
13441 (prolog-consult-compile): Don't use toggle-read-only.
13442
13443 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
13446 interrupt. (Bug#10187)
13447
13448 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
13449
13450 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
13451 (bug#9160).
13452
13453 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
13454 (bug#10191).
13455
13456 2011-12-02 Juri Linkov <juri@jurta.org>
13457
13458 * info.el (Info-search): Display "end of manual" when Isearch
13459 reaches the end of single-file Info manual. (Bug#9918)
13460
13461 2011-12-02 Eli Zaretskii <eliz@gnu.org>
13462
13463 * isearch.el (isearch-message-prefix): Run the input method part
13464 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
13465
13466 2011-12-02 Juri Linkov <juri@jurta.org>
13467
13468 * isearch.el (isearch-occur): Use `word-search-regexp' for
13469 `isearch-word'.
13470 (isearch-search-and-update): Add condition for `isearch-word' and
13471 call `word-search-regexp'. (Bug#10145)
13472
13473 2011-12-01 Glenn Morris <rgm@gnu.org>
13474
13475 * eshell/em-hist.el (eshell-hist-initialize):
13476 Handle eshell-history-size nil and HISTSIZE set or unset.
13477 (eshell-history-file-name, eshell-history-size): Fix custom type.
13478
13479 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
13480
13481 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
13482
13483 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
13484
13485 * progmodes/verilog-mode.el (verilog-pretty-expr):
13486 Rework verilog-pretty-expr to handle new assignment operators in system
13487 verilog, such as += *= and the like.
13488 (verilog-assignment-operator-re): Regular expression to find the
13489 assigment operator in a verilog assignment.
13490 (verilog-assignment-operation-re): Regular expression to find an
13491 assignment statement for pretty-expr.
13492 (verilog-in-attribute-p): Query returns true if point is in an
13493 attribute context; used to skip these for expression line up from
13494 pretty-expr.
13495 (verilog-in-parameter-p): Query returns true if point is in an
13496 parameter definition context; used to skip these for expression
13497 line up from pretty-expr.
13498 (verilog-in-parenthesis-p): Query returns true if point is in a
13499 parenthetical expression, specifically ( ) but not [ ] or { };
13500 used by pretty-expr.
13501 (verilog-just-one-space): If there is no space, don't add one.
13502 (verilog-get-lineup-indent-2): Specifically skip just attribute
13503 contexts for expression lineup, rather than skipping all
13504 parenthetical expressions.
13505 (verilog-calculate-indent): Fix comment, and fix indent.
13506 (verilog-do-indent): Indent declarations in lists (suggested by
13507 Joachim Lechner).
13508 (verilog-mode-abbrev-table): Populate abbrev mode with the various
13509 skeleton items.
13510 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
13511 by Alain Mellan).
13512
13513 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
13514
13515 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
13516 parameters with embedded comments. Reported by Ray Stevens.
13517 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
13518 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
13519 Reported by Tim Holt.
13520 (verilog-auto): Fix AUTOing a upper module then AUTOing module
13521 instantiated by upper module causing wrong expansion until AUTOed a
13522 second time. Reported by K C Buckenmaier.
13523 (verilog-diff-auto): Fix showing .* as a difference when
13524 `verilog-auto-star-save' off. Reported by Dan Dever.
13525 (verilog-auto-reset, verilog-read-always-signals)
13526 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
13527 temporary signals in reset list if
13528 verilog-auto-reset-blocking-in-non is nil, and match assignment
13529 style to each signal's assignment type, bug381.
13530 Reported by Thomas Esposito.
13531 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
13532 (verilog-uvm-statement-re): Support UVM indentation and
13533 highlighting, with old OVM keywords only.
13534 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
13535 Support AUTOTIEOFF creating non-wire data types.
13536 Suggested by Jonathan Greenlaw.
13537 (verilog-auto-insert-lisp, verilog-delete-to-paren)
13538 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
13539 (verilog-inject-sense, verilog-read-inst-pins)
13540 (verilog-read-sub-decls, verilog-read-sub-decls-line):
13541 Fix mismatching parenthesis inside commented out code when deleting
13542 AUTOINST, bug383. Reported by Jonathan Greenlaw.
13543 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
13544 non-numeric vector width. Reported by Alex Reed.
13545 (verilog-auto-ascii-enum): Add "onehot" option to work around not
13546 detecting signals with parameter widths. Reported by Alex Reed.
13547 (verilog-auto-delete-trailing-whitespace):
13548 With `verilog-auto-delete-trailing-whitespace' remove trailing
13549 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
13550 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
13551 Fix verilog-scan-cache corruption when running user AUTO expansion
13552 hooks that call indentation routines.
13553 (verilog-simplify-range-expression): Fix typo ignoring lower case
13554 identifiers.
13555 (verilog-delete-auto): Fix delete-autos to also remove user created
13556 automatics, as long as they start with AUTO.
13557 (verilog-batch-diff-auto, verilog-diff-auto)
13558 (verilog-diff-function): Add `verilog-diff-auto' and bind to
13559 "C-c?" to report differences in AUTO expansion, ignoring spaces.
13560 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
13561 (verilog-in-paren-quick, verilog-re-search-backward-quick)
13562 (verilog-re-search-forward-quick, verilog-syntax-ppss):
13563 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
13564 is disabled and its cache will get corrupt, causing AUTOS not to
13565 expand. Instead use only -quick functions.
13566 (verilog-scan-region): Fix scanning over escaped quotes.
13567 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
13568 (verilog-re-search-backward-quick)
13569 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
13570 related functions now ignore strings, to fix misparsing of strings
13571 with magic comments embedded in them.
13572 (verilog-read-auto-template):
13573 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
13574 Reported by Brad Dobbie.
13575 (verilog-read-auto-template):
13576 Fix 'verilog-auto-inst-template-numbers' with comments.
13577 Reported by Brad Dobbie.
13578 (verilog-auto-inst, verilog-auto-inst-param)
13579 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
13580 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
13581 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
13582 debugging templates without merge conflicts, bug357.
13583 Reported by Brad Dobbie.
13584 (verilog-read-auto-template):
13585 Fix verilog-auto-inst-template-numbers with multiple templates.
13586 Reported by Brad Dobbie.
13587 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
13588 abbrevs so user won't be asked to save.
13589 (verilog-read-auto-lisp-present): Fix to start at beginning of
13590 buffer in case called outside of verilog-auto.
13591 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
13592 to "X-2". Reported by Matthew Myers.
13593 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
13594 all inputs from module templates. Reported by Leith Johnson.
13595 (verilog-module-inside-filename-p): Fix locating programs as with
13596 modules.
13597 (verilog-auto-inst-port): Fix vl-width expressions when using
13598 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
13599 (verilog-decls-get-regs, verilog-decls-get-signals,
13600 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
13601 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
13602 verilog-read-decls): Combine reg and wire structures into one var
13603 structure to represent SystemVerilog concepts.
13604 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
13605 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
13606 (verilog-auto-wire-type, verilog-insert-definition):
13607 Add verilog-auto-wire-type and AUTOLOGIC to support using
13608 SystemVerilog "logic" keyword instead of "wire"/"reg".
13609 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
13610 to declares outputs that also have assignments (presumably in an
13611 ifdef or generate if so there's not a driver conflict).
13612 Reported by Matthew Myers.
13613 (verilog-auto-declare-nettype, verilog-insert-definition):
13614 Add verilog-auto-declare-nettype to fix declarations using
13615 `default_nettype none. Reported by Julian Gorfajn.
13616 (verilog-read-always-signals-recurse, verilog-read-decls)
13617 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
13618 malformed end statement, bug325. Reported by Joshua Wise and
13619 Andrew Drake.
13620 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
13621 (verilog-inst-comment-re): Fix not deleting Interfaced comment
13622 when expanding .* in interfaces, bug320.
13623 Reported by Pierre-David Pfister.
13624 (verilog-read-module-name): Fix import statements between module
13625 name and open parenthesis, bug317.
13626 Reported by Pierre-David Pfister.
13627 (verilog-simplify-range-expression): Fix simplification of
13628 multiplications inside AUTOWIRE connections, bug303.
13629 (verilog-auto-inst-port): Support parameter expansion in
13630 multidimensional arrays.
13631 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13632 after "assert property". Reported by Julian Gorfajn.
13633 (verilog-simplify-range-expression): Fix "couldn't merge" errors
13634 with multiplication, bug303.
13635 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13636 Reported by Jan Frode Lonnum.
13637
13638 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
13639
13640 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13641 (hfy-shell-file-name, hfy-shell):
13642 * international/fontset.el (x-decompose-font-name): Fix typos.
13643
13644 2011-11-29 Ken Brown <kbrown@cornell.edu>
13645
13646 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13647 (gdb-version): Remove defvar.
13648 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13649 (gdb-gud-context-command, gdb-non-stop-handler)
13650 (gdb-current-context-command, gdb-stopped): Use it.
13651 (gdb-init-1): Enable pretty printing here.
13652 (gdb-non-stop-handler): Don't enable pretty-printing here.
13653 Check to see if the target supports non-stop mode; if not, turn off
13654 non-stop mode. Use the following.
13655 (gdb-check-target-async): New defun.
13656 (gud-watch, gdb-stopped): Fix whitespace.
13657 (gdb-get-source-file): Don't try to display the source file if
13658 `gdb-main-file' is nil.
13659
13660 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * align.el: Try to generate fewer markers (bug#10047).
13663 (align--set-marker): New macro.
13664 (align-region): Use it.
13665
13666 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
13667
13668 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13669
13670 2011-11-29 Chong Yidong <cyd@gnu.org>
13671
13672 * indent.el (indent-for-tab-command, indent-according-to-mode):
13673 Doc fix.
13674 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
13675
13676 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
13677
13678 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13679 aware of remote file names. (Bug#10124)
13680
13681 2011-11-29 Chong Yidong <cyd@gnu.org>
13682
13683 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13684
13685 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
13686
13687 * files.el (find-file): Don't use force-same-window (bug#10144).
13688 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13689 use pop-to-buffer if the selected window can't be used.
13690 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13691
13692 2011-11-28 Eli Zaretskii <eliz@gnu.org>
13693
13694 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13695 special-mode-map.
13696
13697 2011-11-28 Chong Yidong <cyd@gnu.org>
13698
13699 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13700
13701 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
13702
13703 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13704 gdb-get-source-file-list on gdb-create-source-file-list.
13705
13706 2011-11-26 Eli Zaretskii <eliz@gnu.org>
13707
13708 * whitespace.el (whitespace-newline): Use a different foreground
13709 color for 16-color light-background displays.
13710
13711 2011-11-24 Chong Yidong <cyd@gnu.org>
13712
13713 * window.el (display-buffer--special-action): Doc fix.
13714
13715 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
13716
13717 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13718 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13719 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13720 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13721 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13722 (avl-tree-stack-first):
13723 * emacs-lisp/cconv.el (cconv--analyse-use):
13724 * net/gnutls.el (gnutls-negotiate): Fix typos.
13725
13726 2011-11-24 Glenn Morris <rgm@gnu.org>
13727
13728 * lpr.el (lpr-windows-system, lpr-lp-system):
13729 * mail/binhex.el (binhex-begin-line):
13730 * progmodes/grep.el (grep-history, grep-find-history):
13731 * textmodes/flyspell.el:
13732 * vc/pcvs-defs.el (cvs-global-menu):
13733 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13734 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13735 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13736
13737 * net/tls.el: Fix case of "GnuTLS".
13738
13739 * paths.el (rmail-file-name): Format doc-string for make-docfile.
13740
13741 * version.el (emacs-build-system): Give it a doc-string.
13742
13743 2011-11-24 Juri Linkov <juri@jurta.org>
13744
13745 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13746
13747 2011-11-24 Glenn Morris <rgm@gnu.org>
13748
13749 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13750 if called on a non-mime message just toggle the headers. (Bug#8006)
13751
13752 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
13753
13754 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13755 (allout-lead-with-comment-string, allout-structure-deleted-hook)
13756 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13757 (allout-rebullet-heading, allout-open-sibtopic)
13758 (allout-toggle-current-subtree-encryption)
13759 (allout-toggle-subtree-encryption, allout-encrypt-string)
13760 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13761 (allout-distinctive-bullets-string, allout-auto-activation):
13762 * window.el (window-normalize-buffer-to-display):
13763 * progmodes/verilog-mode.el (verilog-batch-indent):
13764 * textmodes/bibtex.el (bibtex-field-braces-opt)
13765 (bibtex-field-strings-opt):
13766 * vc/cvs-status.el (cvs-tree-merge):
13767 Fix typos.
13768
13769 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
13770
13771 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13772 `non-essential' to t, in order to avoid remote connections.
13773
13774 2011-11-23 Eli Zaretskii <eliz@gnu.org>
13775
13776 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13777 On MS-DOS and MS-Windows, compare with loaddefs.el
13778 case-insensitively.
13779
13780 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
13781
13782 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
13783
13784 2011-11-23 Glenn Morris <rgm@gnu.org>
13785
13786 * paths.el (rmail-file-name): Reformat the doc-string so that it
13787 is picked up.
13788
13789 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13790 (rmail-auto-file): Ignore case in the "special" field names,
13791 as mail-fetch-field does for all others.
13792
13793 * mail/rmail.el (rmail-forward):
13794 * mail/rmailkwd.el (rmail-set-label):
13795 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13796 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
13797
13798 * mail/rmail.el (rmail-current-message): Doc fix.
13799
13800 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
13801
13802 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * server.el (server-eval-and-print): Allow C-g (bug#6585).
13805
13806 2011-11-22 Glenn Morris <rgm@gnu.org>
13807
13808 * mail/rmailmm.el (test-rmail-mime-handler)
13809 (test-rmail-mime-bulk-handler)
13810 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13811
13812 2011-11-21 Juri Linkov <juri@jurta.org>
13813
13814 * calc/calc.el (calc-read-key-sequence):
13815 Let-bind `input-method-function' to nil. (Bug#10018)
13816
13817 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13818
13819 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13820 Tell the caller that the next line needs recomputation, even
13821 though it doesn't start a sexp (bug#10094).
13822
13823 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13826
13827 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13828
13829 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13830 Use force-same-window.
13831
13832 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13833
13834 * descr-text.el (describe-char-unicode-data):
13835 * json.el (json-string-escape):
13836 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13837 (Footnote-unicode, Footnote-style-p):
13838 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13839
13840 2011-11-20 Chong Yidong <cyd@gnu.org>
13841
13842 * window.el (replace-buffer-in-windows): Restore interactive spec.
13843
13844 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * electric.el (electric-indent-mode): Fix last change (too optimistic).
13847
13848 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13849 (byte-compile-global-not-obsolete-vars): New var.
13850 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13851 Use it.
13852 (byte-compile-warn-obsolete): Align text with the one in *Help*.
13853
13854 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
13855
13856 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13857 * progmodes/pascal.el (electric-pascal-equal):
13858 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13859 * xml.el (xml-substitute-special): Fix typos.
13860
13861 2011-11-20 Glenn Morris <rgm@gnu.org>
13862
13863 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13864 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13865 Doc fixes.
13866 (rmail-decode-mime-charset): Mark as obsolete.
13867
13868 * mail/rmailsum.el (rmail-message-regexp-p-1):
13869 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13870 Before using mime functions, check they are set. (Bug#10077)
13871
13872 2011-11-19 Juri Linkov <juri@jurta.org>
13873
13874 * info.el (Info-finder-find-node): Use `package--builtins' instead
13875 of `package-alist'. Use node names formed by the pattern "Keyword "
13876 and the keyword name.
13877
13878 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13879
13880 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13881
13882 2011-11-19 Juri Linkov <juri@jurta.org>
13883
13884 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13885 that calls `revert-buffer' on all Info buffers. (Bug#9915)
13886 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13887 `old-history', `old-history-forward'. Add let-binding
13888 `window-selected'. Remove calls to `kill-buffer',
13889 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
13890 before calling `Info-find-node', so `Info-find-node-2' will reread
13891 the Info file. Restore window positions only when `window-selected'
13892 is non-nil.
13893
13894 2011-11-19 Juri Linkov <juri@jurta.org>
13895
13896 * isearch.el (isearch-lazy-highlight-new-loop):
13897 Remove condition `(not isearch-error)'. (Bug#9918)
13898
13899 * misearch.el (multi-isearch-search-fun): Add condition
13900 `(not bound)' to ignore lazy-highlighting search.
13901 Add the search-failed message "end of multi" when the end of
13902 multi-sequence is reached. Uncapitalize the search-failed
13903 message "Repeat for next buffer".
13904
13905 * info.el (Info-search): Add the search-failed message
13906 "end of the manual" when the end of the manual is reached
13907 in Isearch mode.
13908
13909 2011-11-19 Juri Linkov <juri@jurta.org>
13910
13911 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13912 Use non-destructive `remove' instead of `delete' because
13913 `Info-history-list' stored to `Info-isearch-initial-history-list' in
13914 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13915
13916 2011-11-19 Juri Linkov <juri@jurta.org>
13917
13918 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13919 to nil instead of binding `search-ring' and `regexp-search-ring'.
13920 (Bug#9185)
13921
13922 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13923
13924 * simple.el (line-move): Force movement by logical lines for any
13925 hscrolled window, not only when auto-hscroll-mode is on.
13926 (line-move-visual): Update doc string to that effect. (Bug#10076)
13927
13928 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
13929
13930 * language/european.el (macintosh): Define as alias for mac-roman.
13931
13932 2011-11-19 Eli Zaretskii <eliz@gnu.org>
13933
13934 * mail/rmailmm.el (rmail-mime-display-header)
13935 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13936 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13937 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13938 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13939 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13940 of a raw aref.
13941 (rmail-mime-entity-segment): To get past the tagline, move forward
13942 2 more lines, to account for the 2 empty lines that precede and
13943 follow the line with the buttons.
13944 (rmail-mime-update-tagline): Move one more line, to get past the
13945 empty line that follows the buttons in the tagline. (Bug#9520)
13946
13947 2011-11-19 Martin Rudalics <rudalics@gmx.at>
13948
13949 * window.el (window-max-delta-1, window-min-delta-1)
13950 (window-min-size-1, window-state-get-1, window-state-put-1)
13951 (window-state-put-2): Use "window--" prefix.
13952
13953 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
13954
13955 * emacs-lisp/smie.el: Improve warnings and conflict detection.
13956 (smie-warning-count): New var.
13957 (smie-set-prec2tab): Use it.
13958 (smie-bnf->prec2): Improve warnings. Add docstring.
13959 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13960 (smie-bnf--set-class): New function.
13961 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
13962 corner case.
13963
13964 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13965 (compilation-error-properties, compilation-move-to-column):
13966 Handle compilation-first-column while in the target buffer.
13967
13968 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13969 Don't hardcode point-min==1.
13970
13971 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13972 (eshell-rewrite-for-command): Remove workaround.
13973 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13974 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13975 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13976
13977 * files-x.el (modify-file-local-variable): Obey commenting conventions.
13978
13979 2011-11-17 Glenn Morris <rgm@gnu.org>
13980
13981 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13982 Ignore buffer-local generated-autoload-file if it is the same
13983 as the global value. (Bug#10049)
13984
13985 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
13986
13987 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13988 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13989 (reftex-toc-previous-heading, reftex-toc-max-level)
13990 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13991 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13992 (reftex-toc-do-promote, reftex-toc-promote-prepare)
13993 (reftex-toc-promote-action, reftex-toc-extract-section-number)
13994 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13995 (reftex-toc-rename-label, reftex-toc-visit-location)
13996 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13997 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13998 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13999 leaving "*toc*" only for references to the buffer.
14000
14001 2011-11-17 Martin Rudalics <rudalics@gmx.at>
14002
14003 * window.el (window-resize, delete-window, split-window):
14004 Replace window-splits by window-combination-resize.
14005 * cus-start.el (window-splits): Replace by window-combination-resize.
14006
14007 2011-11-17 Glenn Morris <rgm@gnu.org>
14008
14009 * progmodes/sh-script.el (sh-font-lock-keywords-var):
14010 Make bash entry derive from sh entry, not shell entry.
14011
14012 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
14013
14014 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
14015 local file name.
14016
14017 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14018
14019 * menu-bar.el (menu-bar-file-menu):
14020 * printing.el (pr-ps-utility):
14021 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
14022 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
14023 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
14024 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
14025 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
14026 (icalendar--convert-cyclic-to-ical)
14027 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
14028 (icalendar--convert-ical-to-diary)
14029 (icalendar--convert-recurring-to-diary)
14030 (icalendar--convert-non-recurring-all-day-to-diary)
14031 (icalendar-import-format-sample):
14032 * progmodes/idlw-shell.el (idlwave-shell-mode):
14033 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
14034 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
14035 (vhdl-ps-print-init): Fix typos.
14036
14037 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
14038
14039 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
14040 FSF and collapse date sequence, obscure author/maintainer email address
14041 better, remove extra version line, track relocation of author's webpage.
14042
14043 * progmodes/python.el (python-pdbtrack-input-prompt)
14044 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
14045 regular python pdb prompts. Adjustments shamelessly taken exactly as
14046 suggested in EmacsWiki page (tiny change):
14047 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
14048
14049 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
14050
14051 * expand.el (expand-pos, expand-index, expand-point):
14052 Remove redundant info from docstring.
14053 (expand-add-abbrevs): Doc fix.
14054 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
14055 (expand-sample-perl-mode-expand-list): Fix typos.
14056
14057 * net/dbus.el (dbus-event-member-name):
14058 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
14059 * term/pc-win.el (msdos-create-frame-with-faces):
14060 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
14061
14062 2011-11-16 Martin Rudalics <rudalics@gmx.at>
14063
14064 * window.el (split-window, window-state-get-1)
14065 (window-state-put-1, window-state-put-2): Rename occurrences of
14066 window-nest to window-combination-limit.
14067 * cus-start.el (window-nest): Rename to window-combination-limit.
14068
14069 2011-11-16 Chong Yidong <cyd@gnu.org>
14070
14071 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
14072 regexp (Bug#10033).
14073
14074 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
14075
14076 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
14077 `completing-read' will remove *Completions* and will preserve
14078 current-buffer for us.
14079 (tmm-add-prompt): Users of *Completions* will always (re)set its
14080 major mode.
14081 (tmm-old-comp-map): Remove.
14082
14083 2011-11-16 Glenn Morris <rgm@gnu.org>
14084
14085 * mail/rmailedit.el: Require rmailmm when compiling.
14086 (rmail-old-mime-state): New declaration.
14087 (rmail-edit-current-message): If editing a mime message,
14088 edit the "raw" message from the mbox buffer.
14089 (rmail-cease-edit): Handle mime messages. (Bug#9840)
14090
14091 2011-11-15 Glenn Morris <rgm@gnu.org>
14092
14093 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
14094 which wasn't being used. Add optional arg to force given state.
14095 (rmail-mime): Add optional arg to force given state.
14096
14097 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14098
14099 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14100 * frame.el (display-mm-dimensions-alist):
14101 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
14102 (outline-move-subtree-down):
14103 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
14104 (newsticker--treeview-do-get-node):
14105 * net/quickurl.el (quickurl-list-buffer-name):
14106 * progmodes/dcl-mode.el (dcl-mode):
14107 * progmodes/gdb-mi.el (gdb-mapcar*):
14108 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
14109
14110 2011-11-15 Glenn Morris <rgm@gnu.org>
14111
14112 * mail/rmail.el (rmail-file-coding-system): It's only ever used
14113 in a boolean sense, so just make it a boolean, and fix the doc.
14114 (rmail-show-mime-function, rmail-mime-feature)
14115 (rmail-require-mime-maybe): Doc fixes.
14116 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
14117
14118 * mail/rmailmm.el (rmail-show-mime): Doc fix.
14119
14120 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
14121
14122 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
14123 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
14124 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
14125 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
14126
14127 2011-11-15 Glenn Morris <rgm@gnu.org>
14128
14129 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
14130 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
14131 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
14132 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
14133 (rmail-mime, rmail-show-mime): Doc fixes.
14134
14135 * term/ns-win.el (mode-line-frame-identification):
14136 Leave it alone. (Bug#10051)
14137
14138 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
14139
14140 * mail/rmailout.el (rmail-output-to-rmail-buffer):
14141 Handle empty buffers. (Bug#9978)
14142
14143 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * international/mule.el (define-charset):
14146 * mail/rmailmm.el (rmail-mime-find-header-encoding):
14147 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
14148 * progmodes/verilog-mode.el (verilog-backward-token):
14149 * textmodes/ispell.el (lookup-words):
14150 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
14151
14152 2011-11-14 Glenn Morris <rgm@gnu.org>
14153
14154 * progmodes/executable.el
14155 (executable-make-buffer-file-executable-if-script-p):
14156 Handle file-modes returning nil.
14157
14158 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
14159 message - not necessary, and causes problems. (Bug#9831)
14160
14161 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
14162
14163 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
14164
14165 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
14166 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
14167 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
14168
14169 2011-11-12 Martin Rudalics <rudalics@gmx.at>
14170
14171 * window.el (window-resize, delete-window): Use window-splits
14172 variable instead of function.
14173 (window-state-get-1, window-state-put-2, window-state-put):
14174 Don't deal with windows' splits status.
14175
14176 2011-11-12 Glenn Morris <rgm@gnu.org>
14177
14178 * apropos.el (apropos-do-all, apropos-library, apropos-value)
14179 (apropos-documentation): Doc fixes.
14180
14181 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
14182
14183 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
14184 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
14185
14186 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
14187
14188 * electric.el (electric-indent-post-self-insert-function): Make it
14189 possible for a char to only indent in some circumstances.
14190 (electric-indent-mode): Simplify.
14191
14192 2011-11-11 Martin Rudalics <rudalics@gmx.at>
14193
14194 * window.el (windows-with-parameter): Remove unused function.
14195 (windows-at-side): Rename to window-at-side-list.
14196 (window-check, window-atom-check, window-atom-check-1)
14197 (window-side-check, window-size-ignore, window-size-fixed-1)
14198 (window-in-direction-2): Prefix with "window--".
14199 (window-tree-1): Rename to window--subtree, fix doc-string.
14200
14201 2011-11-11 Glenn Morris <rgm@gnu.org>
14202
14203 * subr.el (eval-after-load): If FILE is already loaded,
14204 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
14205
14206 2011-11-10 Glenn Morris <rgm@gnu.org>
14207
14208 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
14209 Call svn via vc-svn-command rather than vc-do-command.
14210 (vc-svn-command): Add --non-interactive. (Bug#9993)
14211 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
14212
14213 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14214 Add toggle-read-only. (Bug#7292)
14215 * files.el (toggle-read-only): Mention that it should only
14216 be used interactively. (Bug#10006)
14217
14218 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
14219
14220 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14221 Adjust regexp for OCaml warnings.
14222
14223 * electric.el (electric-pair-post-self-insert-function): Let user
14224 turn it off buffer-locally (bug#9932).
14225
14226 * progmodes/python.el (python-beginning-of-statement):
14227 Rewrite (bug#2703).
14228
14229 * progmodes/compile.el: Better handle TABs (bug#9749).
14230 (compilation-internal-error-properties)
14231 (compilation-next-error-function): Obey the target buffer's
14232 compilation-error-screen-columns.
14233
14234 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
14235
14236 * progmodes/meta-mode.el: Remove obsolete comments.
14237 (meta-right-comment-regexp, meta-ignore-comment-regexp):
14238 Fix typos in docstrings.
14239
14240 2011-11-09 Martin Rudalics <rudalics@gmx.at>
14241
14242 * window.el (window-size-fixed-p): Rewrite doc-string.
14243 (window-resizable-p): Rename to window--resizable-p. Update callers.
14244 (window--resizable): New function. Make all callers of
14245 window-resizable call window--resizable instead.
14246 (window-resizable): Rewrite in terms of window--resizable.
14247
14248 2011-11-08 Glenn Morris <rgm@gnu.org>
14249
14250 * progmodes/delphi.el (delphi-mode-syntax-table):
14251 Let define-derived-mode define a proper syntax table. (Bug#9994)
14252
14253 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14254
14255 * window.el: Stay away from defsubst.
14256 (window-list-no-nils): Remove.
14257 (window-state-get-1, window-state-get): Use backquote instead.
14258
14259 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14260
14261 * emacs-lisp/find-func.el (find-function-read):
14262 Fix incorrect use of default argument in `completing-read'.
14263
14264 2011-11-08 Martin Rudalics <rudalics@gmx.at>
14265
14266 * window.el (display-buffer-function, special-display-function):
14267 Mention display-buffer-record-window but do not mention
14268 help-setup parameter in doc-strings.
14269 (window-min-delta): Fix doc-string typo.
14270
14271 2011-11-08 Chong Yidong <cyd@gnu.org>
14272
14273 * window.el (window-total-height, window-total-width): Doc fix.
14274 (window-body-size): Move from C.
14275 (window-body-height, window-body-width): Move to C.
14276
14277 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
14278
14279 * window.el: Make special-display like display-buffer-alist (bug#9532).
14280 (display-buffer--special-action): New function, morphed
14281 from display-buffer--special.
14282 (display-buffer): Use it to handle special-display-buffers at higher
14283 priority (just after display-buffer-alist).
14284 (display-buffer-fallback-action, display-buffer--other-frame-action)
14285 (pop-to-buffer-same-window): Remove display-buffer--special.
14286
14287 2011-11-07 Glenn Morris <rgm@gnu.org>
14288
14289 * calendar/cal-menu.el (cal-menu-set-date-title):
14290 Do nothing if not in a calendar. (Bug#9976)
14291
14292 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
14293
14294 * files.el (find-file): Always use selected-window.
14295
14296 2011-11-07 Martin Rudalics <rudalics@gmx.at>
14297
14298 * window.el (window-combinations): Make WINDOW argument
14299 mandatory. Rewrite doc-string.
14300 (walk-window-subtree, window-atom-check, window-min-delta)
14301 (window-max-delta, window--resize-this-window)
14302 (window--resize-root-window-vertically, window-tree)
14303 (balance-windows, window-state-put): Rewrite doc-strings as to
14304 not mention the term "subwindow".
14305 (window--resize-subwindows-skip-p): Rename to
14306 window--resize-child-windows-skip-p.
14307 (window--resize-subwindows-normal): Rename to
14308 window--resize-child-windows-normal.
14309 (window--resize-subwindows): Rename to
14310 window--resize-child-windows.
14311 (window-or-subwindow-p): Rename to window--in-subtree-p.
14312
14313 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14314
14315 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
14316 Ensure that mbox format messages end in two newlines (Bug#9974).
14317
14318 2011-11-06 Chong Yidong <cyd@gnu.org>
14319
14320 * window.el (window-combination-p): Function deleted; its
14321 side-effect is not used in any existing code.
14322 (window-combinations, window-combined-p): Call window-*-child
14323 directly.
14324
14325 2011-11-05 Chong Yidong <cyd@gnu.org>
14326
14327 * window.el (window-valid-p): Rename from window-any-p.
14328 (window-size-ignore, window-state-get): Callers changed.
14329 (window-normalize-window): Rename from window-normalize-any-window.
14330 New arg LIVE-ONLY, replacing window-normalize-live-window.
14331 (window-normalize-live-window): Delete.
14332 (window-combination-p, window-combined-p, window-combinations)
14333 (walk-window-subtree, window-atom-root, window-min-size)
14334 (window-sizable, window-sizable-p, window-size-fixed-p)
14335 (window-min-delta, window-max-delta, window-resizable)
14336 (window-resizable-p, window-full-height-p, window-full-width-p)
14337 (window-current-scroll-bars, window-point-1, set-window-point-1)
14338 (window-at-side-p, window-in-direction, window-resize)
14339 (adjust-window-trailing-edge, maximize-window, minimize-window)
14340 (window-deletable-p, delete-window, delete-other-windows)
14341 (record-window-buffer, unrecord-window-buffer)
14342 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
14343 (quit-window, split-window, window-state-put)
14344 (set-window-text-height, fit-window-to-buffer)
14345 (shrink-window-if-larger-than-buffer): Callers changed.
14346
14347 2011-11-04 Eli Zaretskii <eliz@gnu.org>
14348
14349 * mail/rmail.el (rmail-simplified-subject): Decode subject with
14350 rfc2047-decode-string.
14351 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
14352 warnings.
14353
14354 * window.el (window-body-height, window-body-width): Mention in
14355 the doc string that the return values are in frame's canonical
14356 units. (Bug#9949)
14357
14358 2011-11-03 Alan Mackenzie <acm@muc.de>
14359
14360 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
14361 change in cc-engine.el.
14362
14363 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * window.el (switch-to-buffer): Use `force-same-window' interactively.
14366
14367 2011-11-02 Martin Rudalics <rudalics@gmx.at>
14368
14369 * window.el (quit-window): Call unrecord-window-buffer after
14370 showing another buffer in the window. (Bug#9937)
14371 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
14372
14373 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
14374
14375 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
14376 Accept status with more than 9 shelves. (Bug#9935)
14377 Reported by Colin D Bennett <colin@gibibit.com>.
14378
14379 2011-11-01 Martin Rudalics <rudalics@gmx.at>
14380
14381 * help.el (with-help-window): Don't reference
14382 temp-buffer-show-specifiers in doc-string.
14383
14384 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
14385
14386 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
14387 menu-item.
14388
14389 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
14390
14391 * whitespace.el: New version 13.2.2.
14392 (whitespace-newline-mode): Disable properly. Reported by Sarah
14393 <EmacsWiki>.
14394
14395 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
14396
14397 * net/newst-treeview.el: Remove "Time-stamp".
14398 (newsticker--group-manage-orphan-feeds): Do not call
14399 newsticker--treeview-tree-update.
14400 (newsticker-treeview-update, newsticker-treeview):
14401 Call newsticker--treeview-tree-update if necessary.
14402
14403 2011-10-30 Martin Rudalics <rudalics@gmx.at>
14404
14405 * window.el (window-iso-combination-p, window-iso-combined-p)
14406 (window-iso-combinations): Remove "iso-" infix.
14407 Suggested by Chong Yidong.
14408 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
14409 (window-max-delta-1, window-resize, window--resize-siblings)
14410 (window--resize-this-window, adjust-window-trailing-edge)
14411 (split-window, balance-windows-1)
14412 (shrink-window-if-larger-than-buffer):
14413 * calendar/calendar.el (calendar-generate-window):
14414 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
14415
14416 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
14417
14418 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
14419 in place (bug#9907).
14420 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
14421 (eshell-rewrite-if-command, eshell-rewrite-for-command)
14422 (eshell-structure-basic-command, eshell-rewrite-while-command)
14423 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
14424 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
14425 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
14426 (eshell-do-pipelines-synchronously, eshell-eval-command):
14427 Use backquotes and prefer setq to set.
14428 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
14429 (eshell-macrop): Use functionp.
14430 (eshell-do-eval): Handle multiple expressions in `while' body.
14431
14432 2011-10-30 Chong Yidong <cyd@gnu.org>
14433
14434 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
14435 instead of set-mark (Bug#9810).
14436
14437 2011-10-30 Chong Yidong <cyd@gnu.org>
14438
14439 * window.el (split-window-below, split-window-right): Rename from
14440 split-window-above-each-other and split-window-side-by-side
14441 respectively. All callers changed.
14442 (split-window-sensibly, split-window-sensibly): Use them.
14443 (split-window-keep-point): Doc fix.
14444
14445 * isearch.el: Add isearch-scroll property to split-window-below
14446 and split-window-right.
14447
14448 * follow.el (follow-mode):
14449 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
14450 * progmodes/ada-xref.el (ada-gdb-application):
14451 * emulation/vip.el (vip-buffer-in-two-windows):
14452 * image-dired.el (image-dired-dired-with-window-configuration):
14453 * dired-x.el (dired-do-find-marked-files):
14454 * dired.el (dired-pop-to-buffer):
14455 * bs.el (bs--show-with-configuration):
14456 * vc/emerge.el (emerge-setup-windows):
14457 * textmodes/two-column.el (2C-two-columns):
14458 * textmodes/reftex-toc.el (reftex-toc):
14459 * progmodes/gdb-mi.el (gdb-setup-windows):
14460 * progmodes/fortran.el (fortran-window-create):
14461 * net/newst-treeview.el (newsticker--treeview-window-init):
14462 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
14463 * emulation/tpu-edt.el (tpu-gold-map):
14464 * emulation/crisp.el (crisp-mode-map):
14465 * calendar/calendar.el (calendar-basic-setup): Callers changed.
14466
14467 2011-10-29 Chong Yidong <cyd@gnu.org>
14468
14469 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
14470
14471 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
14472
14473 * textmodes/flyspell.el (flyspell-word): Fix char offset for
14474 forged Ispell output (Bug#7904).
14475
14476 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
14477
14478 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * doc-view.el: Avoid ugly errors about not finding nil.
14481 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
14482 (doc-view-dvipdf-program, doc-view-unoconv-program)
14483 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
14484 Avoid nil or absolute file name as default value.
14485 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
14486
14487 2011-10-28 Alan Mackenzie <acm@muc.de>
14488
14489 * progmodes/cc-defs.el (c-version): -> 5.32.2.
14490
14491 2011-10-28 Alan Mackenzie <acm@muc.de>
14492
14493 Amend the handling of c-beginning/end-of-defun in nested declaration
14494 scopes.
14495
14496 * progmodes/cc-vars.el (c-defun-tactic): Move here from
14497 cc-langs.el. Change it to a defcustom.
14498
14499 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
14500 cc-vars.el.
14501
14502 * progmodes/cc-engine.el (c-beginning-of-statement-1):
14503 Prevent "class foo : bar" being spuriously recognized as a label.
14504
14505 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
14506 Add parameter `inclusive' (to include enclosing braces in the region).
14507 (c-widen-to-enclosing-decl-scope): New function.
14508 (c-while-widening-to-decl-block): New macro.
14509 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
14510 outward for defun boundaries, and correspondingly change symbol
14511 `respect-enclosure' to `go-outward'.
14512 (c-declaration-limits): Change algorithm to report only the "innermost"
14513 defun's boundaries.
14514
14515 2011-10-28 Deniz Dogan <deniz@dogan.se>
14516
14517 * net/rcirc.el (rcirc-mode): Use hard newlines.
14518
14519 2011-10-28 Alan Mackenzie <acm@muc.de>
14520
14521 Amend to indent and fontify macros "which include their own semicolon"
14522 correctly, using the "virtual semicolon" mechanism.
14523
14524 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
14525
14526 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
14527 Recode to scan one line at a time rather than having \n and \r
14528 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
14529 (c-forward-label): Amend for virtual semicolons.
14530 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
14531
14532 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
14533 of the new C macros.
14534
14535 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
14536 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
14537 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
14538 (c-opt-cpp-macro-define): Make into a full language variable.
14539 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
14540 AWK Mode (including \n, \r) removed, no longer needed.
14541
14542 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
14543 Invoke c-make-macro-with-semi-re.
14544
14545 * progmodes/cc-vars.el (c-macro-with-semi-re):
14546 (c-macro-names-with-semicolon): New variables.
14547 (c-make-macro-with-semi-re): New function.
14548
14549 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14550
14551 * vc/log-edit.el: Fill empty field rather than adding new one.
14552 (log-edit-add-field): New function.
14553 (log-edit-insert-changelog): Use it.
14554
14555 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
14556
14557 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
14558
14559 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
14560
14561 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
14562 (gdb--check-interpreter): New function.
14563 (gdb): Use it.
14564
14565 2011-10-27 Glenn Morris <rgm@gnu.org>
14566
14567 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
14568 (least-positive-float, least-negative-float)
14569 (least-positive-normalized-float, least-negative-normalized-float)
14570 (float-epsilon, float-negative-epsilon):
14571 Remove unnecessary declarations.
14572
14573 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
14574 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
14575 (least-positive-float, least-negative-float)
14576 (least-positive-normalized-float, least-negative-normalized-float)
14577 (float-epsilon, float-negative-epsilon): Add doc-strings,
14578 based on those in cl.texi.
14579
14580 * files.el (set-visited-file-name): If the major-mode changed,
14581 reload the local variables. (Bug#9796)
14582
14583 2011-10-27 Chong Yidong <cyd@gnu.org>
14584
14585 * subr.el (change-major-mode-after-body-hook): New hook.
14586 (run-mode-hooks): Run it.
14587
14588 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14589 Use change-major-mode-before-body-hook.
14590
14591 * simple.el (fundamental-mode):
14592 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
14593 change introducing fundamental-mode-hook.
14594
14595 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
14596
14597 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
14598
14599 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
14600
14601 * ido.el (ido-file-name-all-completions-1): Do not require
14602 tramp.el explicitly. (Bug#7583)
14603
14604 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
14605
14606 * progmodes/octave-mod.el:
14607 * progmodes/octave-inf.el: Update maintainer.
14608
14609 2011-10-26 Chong Yidong <cyd@gnu.org>
14610
14611 * subr.el (with-wrapper-hook): Rewrite doc.
14612
14613 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
14614
14615 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
14616 filenames "/method:foo:". (Bug#9793)
14617
14618 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
14619
14620 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
14621 (bug#9865).
14622
14623 2011-10-24 Glenn Morris <rgm@gnu.org>
14624
14625 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
14626
14627 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
14628
14629 * notifications.el: Add the requirement of a running D-Bus session
14630 bus to the Commentary.
14631
14632 2011-10-24 Juri Linkov <juri@jurta.org>
14633
14634 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14635 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14636 (Bug#9364)
14637
14638 2011-10-24 Juri Linkov <juri@jurta.org>
14639
14640 * info.el (Info-following-node-name-re): Add newline to the list
14641 of allowed characters for leading space. (Bug#9824)
14642
14643 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
14644
14645 * progmodes/octave-inf.el (inferior-octave-mode-map):
14646 Fix C-c C-h binding.
14647 * progmodes/octave-mod.el (octave-help): Remove.
14648
14649 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
14650
14651 Sync with Tramp 2.2.3.
14652
14653 * net/tramp-cache.el (top): Pacify byte-compiler using
14654 `init-file-user' and `site-run-file'.
14655
14656 * net/trampver.el: Update release number.
14657
14658 2011-10-23 Chong Yidong <cyd@gnu.org>
14659
14660 * files.el (toggle-read-only): Remove obsolete comment about
14661 version control.
14662
14663 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14664 for toggle-read-only. Note that this hasn't called vc-next-action
14665 since 2008-05-02, though it wasn't documented at the time.
14666
14667 * vc/ediff-init.el (ediff-toggle-read-only-function):
14668 Use toggle-read-only.
14669
14670 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
14671
14672 Fix bug #9560, sporadic wrong indentation; improve instrumentation
14673 of c-parse-state.
14674
14675 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14676 correct faulty logical expression.
14677 (c-parse-state-state, c-record-parse-state-state):
14678 (c-replay-parse-state-state): New defvar/defuns.
14679 (c-debug-parse-state): Use new functions.
14680
14681 2011-10-22 Martin Rudalics <rudalics@gmx.at>
14682
14683 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14684 last fix. Use window-in-direction correctly.
14685
14686 2011-10-21 Chong Yidong <cyd@gnu.org>
14687
14688 * progmodes/idlwave.el (idlwave-mode):
14689 * progmodes/vera-mode.el (vera-mode): No need to set
14690 require-final-newline; that's done in prog-mode.
14691 Suggested by Stefan Monnier.
14692
14693 2011-10-21 Martin Rudalics <rudalics@gmx.at>
14694
14695 * mouse.el (mouse-drag-window-above)
14696 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14697 (mouse-drag-mode-line-1, mouse-drag-header-line)
14698 (mouse-drag-vertical-line-rightward-window): Remove.
14699 (mouse-drag-line): New function.
14700 (mouse-drag-mode-line, mouse-drag-header-line)
14701 (mouse-drag-vertical-line): Call mouse-drag-line.
14702 * window.el (window-at-side-p, windows-at-side): New functions.
14703
14704 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
14705
14706 * tar-mode.el (tar-grind-file-mode):
14707 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
14708
14709 2011-10-21 Chong Yidong <cyd@gnu.org>
14710
14711 * progmodes/idlwave.el (idlwave-mode):
14712 * progmodes/vera-mode.el (vera-mode):
14713 Use mode-require-final-newline.
14714
14715 2011-10-20 Glenn Morris <rgm@gnu.org>
14716
14717 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
14718
14719 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
14720
14721 * emulation/cua-base.el (cua-set-mark): Fix case of string.
14722
14723 2011-10-20 Chong Yidong <cyd@gnu.org>
14724
14725 * emulation/cua-base.el (cua-mode):
14726 * mail/footnote.el (footnote-mode):
14727 * mail/mailabbrev.el (mail-abbrevs-mode):
14728 * net/xesam.el (xesam-minor-mode):
14729 * progmodes/bug-reference.el (bug-reference-mode):
14730 * progmodes/cap-words.el (capitalized-words-mode):
14731 * progmodes/compile.el (compilation-minor-mode)
14732 (compilation-shell-minor-mode):
14733 * progmodes/gud.el (gud-tooltip-mode):
14734 * progmodes/hideif.el (hide-ifdef-mode):
14735 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14736 * progmodes/subword.el (subword-mode):
14737 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14738 * progmodes/which-func.el (which-function-mode):
14739 * term/tvi970.el (tvi970-set-keypad-mode):
14740 * term/vt100.el (vt100-wide-mode):
14741 * textmodes/flyspell.el (flyspell-mode):
14742 * textmodes/ispell.el (ispell-minor-mode):
14743 * textmodes/nroff-mode.el (nroff-electric-mode):
14744 * textmodes/paragraphs.el (use-hard-newlines):
14745 * textmodes/refill.el (refill-mode):
14746 * textmodes/reftex.el (reftex-mode):
14747 * textmodes/rst.el (rst-minor-mode):
14748 * textmodes/sgml-mode.el (html-autoview-mode)
14749 (sgml-electric-tag-pair-mode):
14750 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14751 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14752 * emulation/crisp.el (crisp-mode):
14753 * emacs-lisp/eldoc.el (eldoc-mode):
14754 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14755 minor mode behavior.
14756
14757 2011-10-19 Juri Linkov <juri@jurta.org>
14758
14759 * descr-text.el (describe-char): Add #x2010 and #x2011 to
14760 the list of hard-coded chars with escape-glyph face.
14761
14762 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
14763
14764 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14765
14766 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
14767
14768 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14769 running process.
14770
14771 2011-10-19 Glenn Morris <rgm@gnu.org>
14772
14773 * vc/vc-bzr.el (vc-bzr-after-dir-status):
14774 Ignore ignored files. (Bug#9726)
14775
14776 2011-10-19 Chong Yidong <cyd@gnu.org>
14777
14778 Doc fix for minor modes, stating that an omitted argument enables
14779 the mode unconditionally when called from Lisp.
14780
14781 * abbrev.el (abbrev-mode):
14782 * allout.el (allout-mode):
14783 * autoinsert.el (auto-insert-mode):
14784 * autoarg.el (autoarg-mode, autoarg-kp-mode):
14785 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14786 (global-auto-revert-mode):
14787 * battery.el (display-battery-mode):
14788 * composite.el (global-auto-composition-mode)
14789 (auto-composition-mode):
14790 * delsel.el (delete-selection-mode):
14791 * desktop.el (desktop-save-mode):
14792 * dired-x.el (dired-omit-mode):
14793 * dirtrack.el (dirtrack-mode):
14794 * doc-view.el (doc-view-minor-mode):
14795 * double.el (double-mode):
14796 * electric.el (electric-indent-mode, electric-pair-mode):
14797 * emacs-lock.el (emacs-lock-mode):
14798 * epa-hook.el (auto-encryption-mode):
14799 * follow.el (follow-mode):
14800 * font-core.el (font-lock-mode):
14801 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14802 * help.el (temp-buffer-resize-mode):
14803 * hilit-chg.el (highlight-changes-mode)
14804 (highlight-changes-visible-mode):
14805 * hi-lock.el (hi-lock-mode):
14806 * hl-line.el (hl-line-mode, global-hl-line-mode):
14807 * icomplete.el (icomplete-mode):
14808 * ido.el (ido-everywhere):
14809 * image-file.el (auto-image-file-mode):
14810 * image-mode.el (image-minor-mode):
14811 * iswitchb.el (iswitchb-mode):
14812 * jka-cmpr-hook.el (auto-compression-mode):
14813 * linum.el (linum-mode):
14814 * longlines.el (longlines-mode):
14815 * master.el (master-mode):
14816 * mb-depth.el (minibuffer-depth-indicate-mode):
14817 * menu-bar.el (menu-bar-mode):
14818 * minibuf-eldef.el (minibuffer-electric-default-mode):
14819 * mouse-sel.el (mouse-sel-mode):
14820 * msb.el (msb-mode):
14821 * mwheel.el (mouse-wheel-mode):
14822 * outline.el (outline-minor-mode):
14823 * paren.el (show-paren-mode):
14824 * recentf.el (recentf-mode):
14825 * reveal.el (reveal-mode, global-reveal-mode):
14826 * rfn-eshadow.el (file-name-shadow-mode):
14827 * ruler-mode.el (ruler-mode):
14828 * savehist.el (savehist-mode):
14829 * scroll-all.el (scroll-all-mode):
14830 * scroll-bar.el (scroll-bar-mode):
14831 * server.el (server-mode):
14832 * shell.el (shell-dirtrack-mode):
14833 * simple.el (auto-fill-mode, transient-mark-mode)
14834 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14835 (line-number-mode, column-number-mode, size-indication-mode)
14836 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14837 * strokes.el (strokes-mode):
14838 * time.el (display-time-mode):
14839 * t-mouse.el (gpm-mouse-mode):
14840 * tool-bar.el (tool-bar-mode):
14841 * tooltip.el (tooltip-mode):
14842 * type-break.el (type-break-mode-line-message-mode)
14843 (type-break-query-mode):
14844 * view.el (view-mode):
14845 * whitespace.el (whitespace-mode, whitespace-newline-mode)
14846 (global-whitespace-mode, global-whitespace-newline-mode):
14847 * xt-mouse.el (xterm-mouse-mode): Doc fix.
14848
14849 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14850 Fix autogenerated docstring.
14851
14852 2011-10-19 Juri Linkov <juri@jurta.org>
14853
14854 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14855 by checking environment variables "DESKTOP_SESSION" and
14856 "XDG_CURRENT_DESKTOP". (Bug#9779)
14857
14858 2011-10-19 Juri Linkov <juri@jurta.org>
14859
14860 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14861 (browse-url-chromium-program, browse-url-chromium-arguments):
14862 New defcustoms.
14863 (browse-url-default-browser): Check for `browse-url-chromium' and
14864 call `browse-url-chromium-program'.
14865 (browse-url-chromium): New command. (Bug#9779)
14866
14867 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
14868
14869 * facemenu.el (list-colors-duplicates): On Windows, detect more
14870 duplicates by assuming that only colors matching "^System" are
14871 special "system colors". (Bug#9722)
14872
14873 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
14874
14875 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14876 to distinguish the author from the committer.
14877
14878 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14881
14882 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
14883
14884 * international/mule.el (sgml-html-meta-auto-coding-function):
14885 Add support for detecting encoding in HTML5 specified only as
14886 <meta charset="UTF-8">. Implementation just makes http-equiv and
14887 content-type parts from HTML4 encoding string optional. (Bug#9716)
14888
14889 2011-10-18 Glenn Morris <rgm@gnu.org>
14890
14891 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
14892
14893 2011-10-18 Chong Yidong <cyd@gnu.org>
14894
14895 * faces.el (cursor): Doc fix.
14896
14897 2011-10-17 Chong Yidong <cyd@gnu.org>
14898
14899 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14900
14901 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
14902
14903 * dirtrack.el (dirtrack): Support shell buffers with path
14904 prefixes, e.g. tramp-based remote shells. (Bug#9647)
14905
14906 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
14907
14908 * json.el: Bump version to 1.3 and note change in History.
14909 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14910
14911 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * comint.el (comint-insert-input, comint-send-input)
14914 (comint-get-old-input-default, comint-backward-matching-input)
14915 (comint-next-prompt): Use nil instead of `input' for field property of
14916 past user input (bug#114).
14917
14918 * minibuffer.el (completion--replace): Inherit surrounding properties
14919 (bug#114).
14920 (minibuffer-complete-and-exit): Use it.
14921
14922 * comint.el (comint--table-subvert): Quote the all-completions output
14923 (bug#9160).
14924
14925 2011-10-17 Martin Rudalics <rudalics@gmx.at>
14926
14927 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14928
14929 * menu-bar.el (menu-bar-file-menu): Add entry for making new
14930 window on right of selected. (Bug#9350) Reword other window
14931 entries and separate them from frame entries.
14932
14933 2011-10-15 Glenn Morris <rgm@gnu.org>
14934
14935 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14936 Doc fixes.
14937
14938 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
14939
14940 * net/network-stream.el (network-stream-open-starttls):
14941 Improve detection of failure due to lack of TLS support.
14942
14943 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14944 putting the input text in front and in bold.
14945
14946 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
14947
14948 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14949
14950 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14951 empty buffer.
14952
14953 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14954 unread-command-events rather than pushing yet-another event.
14955
14956 2011-10-14 Eli Zaretskii <eliz@gnu.org>
14957
14958 * mail/sendmail.el (sendmail-query-once): Improve the wording of
14959 the explanation of the possible choices. Make the options passed
14960 to completing-read shorter.
14961
14962 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14963
14964 * textmodes/flyspell.el (flyspell-large-region): Make sure
14965 extended character mode is used if defined (Bug#1339).
14966
14967 2011-10-13 Eli Zaretskii <eliz@gnu.org>
14968
14969 * simple.el (what-cursor-position): Fix the display of the
14970 character info for LRE, LRO, RLE, and RLO characters by appending
14971 an invisible PDF.
14972
14973 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14976 even in case of error; add debug spec; simplify data flow.
14977 (with-timeout-handler): Remove.
14978
14979 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
14980
14981 Fix Bug#6019, Bug#9315.
14982
14983 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14984 complete `buffer-file-name', the local file name part could look
14985 remotely (for example on VMS).
14986
14987 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14988 `tramp-run-real-handler'.
14989 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14990 already quoted by '"'.
14991
14992 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14993 Let `file-name-handler-alist' be nil, the local file name part
14994 could look remotely (for example on VMS).
14995
14996 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
14997
14998 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14999 from here...
15000 (flyspell-post-command-hook): ...to here.
15001
15002 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15003
15004 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
15005 if not needed.
15006 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
15007 using completion. Protect against "slow" callers.
15008 Remove the "message hack".
15009
15010 2011-10-11 Juri Linkov <juri@jurta.org>
15011
15012 * isearch.el (isearch-lazy-highlight-word): New variable.
15013 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
15014 Use it. (Bug#9727)
15015
15016 2011-10-11 Glenn Morris <rgm@gnu.org>
15017
15018 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
15019 like f90-previous-statement does.
15020
15021 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15022
15023 * eshell/eshell.el (eshell-command): History should be saved
15024 only in interactive use, to avoid error.
15025
15026 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * minibuffer.el (completion-file-name-table): Fix last change,
15029 i.e. ignore normal errors but not the other ones.
15030
15031 2011-10-10 Martin Rudalics <rudalics@gmx.at>
15032
15033 * window.el (special-display-buffer-names)
15034 (special-display-regexps): Remove some remnants of earlier
15035 changes from doc-strings.
15036 (quit-windows-on): New function.
15037
15038 * vc/vc.el (vc-revert, vc-rollback):
15039 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
15040 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
15041 (Bug#6183) (Bug#7074) (Bug#7447)
15042
15043 2011-10-09 Martin Rudalics <rudalics@gmx.at>
15044
15045 * window.el (frame-auto-hide-function): Add version tag.
15046 (Bug#9699)
15047
15048 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
15049
15050 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
15051 condition.
15052
15053 2011-10-09 Leo Liu <sdl.web@gmail.com>
15054
15055 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
15056 (Bug#9701)
15057
15058 2011-10-08 Glenn Morris <rgm@gnu.org>
15059
15060 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
15061 before the first code statement zero indent. (Bug#9690)
15062
15063 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
15064
15065 * simple.el (count-words-region): Always count in the region.
15066 Report the number of lines and characters too.
15067 (count-words): New command, which counts in the buffer if the
15068 region is inactive, as count-words-region used to.
15069 (count-words--message): New function. Handle plurals.
15070 (count-lines-region): Make it an alias for count-words-region.
15071
15072 * bindings.el (esc-map): Replace count-lines-region with
15073 count-words-region.
15074
15075 2011-10-08 Martin Rudalics <rudalics@gmx.at>
15076
15077 * window.el (window--delete): Delete dedicated frame
15078 unconditionally when argument KILL is non-nil. (Bug#9699)
15079 (switch-to-buffer): Fix doc-string typo.
15080
15081 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15082
15083 * eshell/eshell.el (eshell-command): Avoid using hooks.
15084
15085 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
15086
15087 * bindings.el ([M-left],[M-right]): Bind to left-word and
15088 right-word respectively.
15089
15090 2011-10-07 Glenn Morris <rgm@gnu.org>
15091
15092 * cus-start.el (debug-on-quit): Fix custom type.
15093
15094 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
15095
15096 * subr.el (define-key-after): Clarify that the function is not
15097 useful for non-menu keymaps.
15098
15099 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
15100
15101 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15102
15103 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
15104 in current minibuffer (Fix bug with recursive minibuffers).
15105
15106 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
15107
15108 * progmodes/gdb-mi.el (gdb): Doc fix.
15109
15110 2011-10-05 Martin Rudalics <rudalics@gmx.at>
15111
15112 * window.el (frame-auto-hide-function): New option replacing
15113 frame-auto-delete. Suggested by Stefan Monnier.
15114 (window--delete): Call frame-auto-hide-function instead of
15115 investigating frame-auto-delete.
15116 (window-point-1, set-window-point-1): New functions.
15117 (window-in-direction, record-window-buffer, window-state-get-1)
15118 (display-buffer-record-window): Use window-point-1 instead of
15119 window-point.
15120 (set-window-buffer-start-and-point): Use set-window-point-1.
15121
15122 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15123
15124 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
15125
15126 2011-10-05 Glenn Morris <rgm@gnu.org>
15127
15128 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
15129 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
15130
15131 2011-10-05 Leo Liu <sdl.web@gmail.com>
15132
15133 * subr.el (read-char-choice): Fix argument to buffer-live-p which
15134 works with buffer object.
15135
15136 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
15137
15138 * mpc.el (mpc-tool-bar-map): Add labels.
15139
15140 2011-10-04 Glenn Morris <rgm@gnu.org>
15141
15142 * calendar/holidays.el (calendar-check-holidays): Doc fix.
15143
15144 2011-10-04 Martin Rudalics <rudalics@gmx.at>
15145
15146 * window.el (window--delete): New function.
15147 (frame-auto-delete): Resuscitate option.
15148 (bury-buffer, replace-buffer-in-windows)
15149 (quit-window): Rewrite using window--delete.
15150 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15151 Pass display-buffer-mark-dedicated to window--display-buffer-2
15152 (Bug#9639).
15153
15154 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15155
15156 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
15157 returns a list (bug#9554). Add remote file name completion.
15158 * comint.el (comint--table-subvert): Curry and get quote&unquote
15159 functions as arguments.
15160 (comint--complete-file-name-data): Adjust call accordingly.
15161 * pcomplete.el (pcomplete--table-subvert): Remove.
15162 (pcomplete-completions-at-point): Use comint--table-subvert instead.
15163
15164 * minibuffer.el (completion-table-case-fold): Use currying.
15165 (completion--styles-type, completion--cycling-threshold-type):
15166 New constants.
15167 (completion-styles, completion-category-overrides)
15168 (completion-cycle-threshold): Use them.
15169 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
15170 completion-table-case-fold.
15171
15172 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
15173
15174 * minibuffer.el (completion-category-overrides): Fix type of styles
15175 and add more user friendly tags (bug#9660).
15176
15177 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
15180 (mule-input-method-string): New widget.
15181 (default-input-method, language-info-custom-alist): Use it.
15182
15183 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * pcomplete.el: Require comint.
15186 (pcomplete--common-suffix): Remove.
15187 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
15188 (pcomplete--table-subvert): Sync with comint--table-subvert.
15189 (pcomplete--entries): Use comint-completion-file-name-table.
15190 * comint.el (comint-unquote-filename): Simplify.
15191 (comint-completion-file-name-table): New function (bug#9616).
15192 (comint--complete-file-name-data): Use it.
15193
15194 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
15195 (pcmpl-gnu-tar-buffer): Remove.
15196 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
15197 around. Make sure pcomplete-suffix-list is only changed temporarily.
15198 Don't look inside the tar's file if it's too large.
15199
15200 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
15201
15202 * cus-edit.el (custom-mode-map):
15203 * epa.el (epa-key-list-mode-map):
15204 * man.el (Man-mode-map):
15205 * startup.el (splash-screen-keymap):
15206 * simple.el (special-mode-map): Use scroll-up-command and
15207 scroll-down-command.
15208
15209 * progmodes/idlw-help.el (idlwave-help-mode-map):
15210 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
15211 * net/newst-plainview.el (newsticker-mode-map):
15212 * emulation/ws-mode.el (wordstar-mode-map):
15213 * emulation/vi.el (vi-com-map):
15214 * calc/calc-graph.el (calc-graph-show-dumb):
15215 * term/sun.el (terminal-init-sun):
15216 * term/ns-win.el (global-map):
15217 * progmodes/grep.el (grep-mode-map):
15218 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
15219 * mail/rmail.el (rmail-mode-map):
15220 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
15221
15222 * custom.el (custom-safe-themes, load-theme): Treat value of t for
15223 custom-safe-themes as special.
15224
15225 2011-10-01 Julien Danjou <julien@danjou.info>
15226
15227 * notifications.el (notifications-notify): Fix docstring.
15228
15229 2011-10-01 Per Starbäck <per@starback.se>
15230
15231 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
15232
15233 2011-09-30 Martin Rudalics <rudalics@gmx.at>
15234
15235 * startup.el (command-line-1): Fix last fix by inserting
15236 initial-scratch-message into *scratch* before displaying it.
15237 (Bug#9605) and (Bug#9636)
15238
15239 2011-09-29 Eli Zaretskii <eliz@gnu.org>
15240
15241 * simple.el (line-move): If auto-hscroll-mode is disabled and the
15242 window is hscrolled, move by logical lines. (Bug#9607)
15243 (line-move-visual): Update the doc string to the above effect.
15244
15245 2011-09-29 Martin Rudalics <rudalics@gmx.at>
15246
15247 * window.el (display-buffer-record-window): When WINDOW is the
15248 selected window use `point' instead of `window-point'. (Bug#9626)
15249
15250 * startup.el (command-line-1): Use insert-before-markers when
15251 inserting initial-scratch-message. (Bug#9605)
15252
15253 * help.el (help-window): Remove variable.
15254
15255 2011-09-29 Glenn Morris <rgm@gnu.org>
15256
15257 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
15258
15259 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
15260
15261 * descr-text.el (describe-char-categories): Accept category
15262 descriptions more than one line long.
15263
15264 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
15265
15266 * simple.el (delete-trailing-whitespace): Fix last change.
15267
15268 * progmodes/perl-mode.el (perl-syntax-propertize-function):
15269 Don't confuse "y => 3" as the beginning of a `y' operation.
15270
15271 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
15272 object has more than 4 slots (bug#9613).
15273
15274 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
15275
15276 * subr.el (with-output-to-temp-buffer):
15277 * net/quickurl.el (quickurl, quickurl-browse-url):
15278 Fix typos in docstrings.
15279
15280 2011-09-27 Eli Zaretskii <eliz@gnu.org>
15281
15282 * minibuffer.el (completion-styles)
15283 (completion-category-overrides): Cross reference each other in doc
15284 strings.
15285
15286 2011-09-27 Glenn Morris <rgm@gnu.org>
15287
15288 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
15289 to split-string. (Bug#9606)
15290
15291 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
15292
15293 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
15294 (bug#9615).
15295
15296 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
15297
15298 * emacs-lisp/package.el (list-packages): Fix echo area message.
15299
15300 2011-09-27 Leo Liu <sdl.web@gmail.com>
15301
15302 * ido.el (ido-read-internal): Accept cons cell HIST arg.
15303
15304 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
15305
15306 * net/dbus.el (dbus-unregister-object): Don't release services for
15307 registered signals. (Bug#9581)
15308
15309 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
15310
15311 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
15312 function that picks between cfengine 2 and 3 support
15313 automatically. Update docs accordingly.
15314
15315 2011-09-22 Kenichi Handa <handa@m17n.org>
15316
15317 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
15318 ZERO.
15319 (indian-itrans-v5-table-for-tamil): New variable.
15320 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
15321
15322 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
15323
15324 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
15325 that's true if the current command involved collapsing of text.
15326 It's reset to false at the beginning of the next command.
15327 (allout-post-command-business): Move the cursor to the beginning
15328 of entry if the cursor is hidden and collapsing activity just
15329 happened.
15330
15331 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
15332
15333 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
15334 tracking (Bug#9541).
15335
15336 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
15337
15338 * net/newst-reader.el (newsticker-html-renderer)
15339 (newsticker-show-news): Automatically load html rendering package
15340 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
15341 because w3m-fill-column is let-bound" and the error "Symbol's value
15342 as variable is void: w3m-fill-column".
15343
15344 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
15345
15346 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
15347 Release services only if they are defined. (Bug#9581)
15348
15349 2011-09-23 Richard Stallman <rms@gnu.org>
15350
15351 * textmodes/paragraphs.el (forward-sentence): For backwards case,
15352 distinguish start of paragraph from start of its text.
15353
15354 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
15355
15356 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
15357 (rmail-generate-viewer-buffer): Put that hook on view buffer.
15358 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
15359
15360 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
15361
15362 * international/mule-diag.el (mule-diag): Insert a newline after
15363 each fontset description.
15364
15365 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * simple.el (delete-trailing-whitespace):
15368 Document last change; simplify.
15369
15370 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
15371
15372 * simple.el (delete-trailing-whitespace): Also delete
15373 extra newlines at the end of the buffer.
15374
15375 * textmodes/picture.el: Make motion commands obey shift-select-mode.
15376 (picture-newline): Use forward-line so as to ignore fields.
15377
15378 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
15379
15380 * subr.el (with-wrapper-hook): Fix edebug spec.
15381
15382 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
15383
15384 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
15385 (bug#4538).
15386
15387 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
15388
15389 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
15390 Fix nasty bug using wrong cached values.
15391
15392 2011-09-23 Alan Mackenzie <acm@muc.de>
15393
15394 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
15395
15396 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
15397
15398 * window.el (pop-to-buffer): Ensure right window is selected if we
15399 chose another frame.
15400
15401 2011-09-22 Eli Zaretskii <eliz@gnu.org>
15402
15403 * simple.el (what-cursor-position): Use get-char-property-change
15404 and next-single-char-property-change, to be able to show display
15405 properties that come from overlays as well as text properties.
15406
15407 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
15408
15409 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
15410
15411 * cmuscheme.el (run-scheme, switch-to-scheme):
15412 * cus-edit.el (customize-group, custom-buffer-create)
15413 (customize-browse):
15414 * info.el (info):
15415 * shell.el (shell):
15416 * mail/sendmail.el (mail):
15417 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
15418
15419 2011-09-22 Richard Stallman <rms@gnu.org>
15420
15421 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
15422 move back only to line beg, don't move back over blank lines.
15423
15424 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
15425
15426 * files.el (copy-directory): Set directory attributes only in case
15427 they could be retrieved from the source directory. (Bug#9565)
15428
15429 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
15430
15431 * progmodes/hideshow.el (hs-looking-at-block-start-p)
15432 (hs-find-block-beginning, hs-hide-level-recursive):
15433 Ignore strings as well as comments. (Bug#9502)
15434
15435 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
15436
15437 * progmodes/sql.el (sql-comint-postgres):
15438 Convert port number to a string. (Bug#9566)
15439
15440 2011-09-22 Martin Rudalics <rudalics@gmx.at>
15441
15442 * window.el (quit-window): Undedicate window when switching to
15443 previous buffer. Reported by Thierry Volpiatto
15444 <thierry.volpiatto@gmail.com>.
15445 (special-display-popup-frame): When popping up a new frame reset
15446 its previous buffers to nil. Simplify code.
15447
15448 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
15449
15450 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
15451 and process filter, as done also in `shell-command'.
15452
15453 2011-09-21 Martin Rudalics <rudalics@gmx.at>
15454
15455 * window.el (set-window-buffer-start-and-point):
15456 Call set-window-start with NOFORCE argument t.
15457 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
15458 (quit-window): Reword doc-string. Handle new format of
15459 quit-restore parameter. Don't delete window if it has a
15460 previous buffer we can show instead of the present one.
15461 (display-buffer-record-window): Rewrite using a new format for
15462 the quit-restore window parameter
15463 (special-display-popup-frame, display-buffer-same-window)
15464 (display-buffer-reuse-window, display-buffer-pop-up-frame)
15465 (display-buffer-pop-up-window, display-buffer-use-some-window):
15466 Adapt symbol passed to display-buffer-record-window.
15467 * help.el (help-window-setup): Handle new format of quit-restore
15468 parameter.
15469
15470 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
15471
15472 * faces.el (face-list): Fix docstring (bug#9564).
15473
15474 * window.el (display-buffer--action-function-custom-type):
15475 Don't include internal functions in the Custom interface.
15476
15477 2011-09-20 Juri Linkov <juri@jurta.org>
15478
15479 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
15480 (Info-forward-node, Info-backward-node, Info-next-preorder)
15481 (Info-last-preorder): Use it. (Bug#9528)
15482
15483 2011-09-20 Juri Linkov <juri@jurta.org>
15484
15485 * info.el (Info-last-preorder): Visit last menu item only when
15486 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
15487
15488 2011-09-20 Julien Danjou <julien@danjou.info>
15489
15490 * password-cache.el (password-cache-remove): Remove entries even if the
15491 value is nil, so that password with a nil value (negative caching) is
15492 possible to invalidate.
15493
15494 2011-09-20 Lawrence Mitchell <wence@gmx.li>
15495
15496 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
15497 all whitespace around breakpoint. (Bug#9553)
15498 (f90-find-breakpoint): Only break at whitespace inside a comment.
15499
15500 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * minibuffer.el (completion-file-name-table): Keep track of errors.
15503 (completion-table-with-predicate): Handle the case where pred1 is nil.
15504 * pcomplete.el (pcomplete-completions-at-point): Simplify.
15505
15506 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15507
15508 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
15509 (debugger-return-value): Signal an error if the debugging context does
15510 not await any return value.
15511
15512 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
15513 * image-mode.el (image-toggle-display-text)
15514 (image-toggle-display-image): Stay away from evil `intangible'.
15515
15516 2011-09-19 Leo Liu <sdl.web@gmail.com>
15517
15518 * replace.el (occur-revert-arguments): Make it permanent-local.
15519 (occur-mode): Don't call font-lock-defontify.
15520
15521 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
15522
15523 * net/ldap.el (ldap-search-internal): Don't push empty search
15524 result (Bug#9508).
15525
15526 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
15527
15528 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
15529
15530 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
15531
15532 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
15533 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
15534
15535 2011-09-18 Juri Linkov <juri@jurta.org>
15536
15537 * buff-menu.el (Buffer-menu-mode-map):
15538 * dired.el (dired-mode-map):
15539 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
15540 (lisp-interaction-mode-map):
15541 * emacs-lisp/package.el (package-menu-mode-map):
15542 * epa.el (epa-key-list-mode-map):
15543 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
15544 (menu-bar-options-menu):
15545 * outline.el (outline-mode-menu-bar-map):
15546 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
15547 * vc/vc-dir.el (vc-dir-menu-map):
15548 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
15549 Capitalize non-function content words in menu item strings.
15550
15551 * dired.el (dired-mode-map): Add menu item for
15552 `image-dired-dired-toggle-marked-thumbs'.
15553
15554 2011-09-18 Juri Linkov <juri@jurta.org>
15555
15556 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
15557 to `isearch-case-fold-search' and restore its original value
15558 after the `isearch-mode' call.
15559
15560 2011-09-18 Juri Linkov <juri@jurta.org>
15561
15562 * progmodes/grep.el (grep-process-setup): Don't check code for 1
15563 because `zgrep' returns 1 for successful matches (bug#9226).
15564
15565 2011-09-18 Juri Linkov <juri@jurta.org>
15566
15567 * info.el (Info-extract-menu-node-name): Check the second match
15568 for empty string (second test-case of bug#9528).
15569 (Info-last-preorder): Let-bind `Info-history' to nil to not add
15570 intermediate nodes to the history (first test-case of bug#9528).
15571
15572 2011-09-18 Juri Linkov <juri@jurta.org>
15573
15574 * info.el (Info-mode-syntax-table): New variable.
15575 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
15576
15577 2011-09-18 Juri Linkov <juri@jurta.org>
15578
15579 * info.el (Info-file-supports-index-cookies):
15580 Increment line-beginning-position's arg from 3 to 4 because makeinfo
15581 outputs one more line for long file names (bug#4142).
15582
15583 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15584
15585 * newcomment.el (comment-normalize-vars): If prompting for
15586 comment-start, set comment-start-skip too (Bug#8424).
15587
15588 2011-09-18 Johan Bockgård <bojohan@gnu.org>
15589
15590 * icomplete.el: Fix previous fix of Bug#5849.
15591 (icomplete-mode): Don't set completion-show-inline-help.
15592 (icomplete-minibuffer-setup): Set completion-show-inline-help
15593 locally during icompletion.
15594
15595 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
15596
15597 * woman.el (woman2-process-escapes): Don't delete unrecognized
15598 escapes (Bug#7843).
15599
15600 * files.el (inhibit-first-line-modes-regexps): Add image files.
15601 (hack-local-variables-prop-line): Return nil for malformed
15602 prop-lines (Bug#9044).
15603
15604 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
15605
15606 * net/tramp.el (top): Don't require 'shell.
15607 (tramp-methods): Fix docstring.
15608 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
15609 Return complete remote file name. Handle "smb" case.
15610 Use `tramp-tmpdir', if defined for the respective method.
15611 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
15612
15613 * net/tramp-compat.el (top): Require 'shell.
15614
15615 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
15616 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
15617 `tramp-current-host'.
15618 (tramp-get-remote-tmpdir): Remove.
15619
15620 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
15621 `tramp-tmpdir' entries.
15622 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
15623 (tramp-smb-handle-file-attributes): Ignore errors.
15624 (tramp-smb-wait-for-output): Check also for process end.
15625
15626 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
15627
15628 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15629 when sending QUIT (bug#9312).
15630
15631 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
15632
15633 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15634 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15635 occur-mode-display-occurrence.
15636 (occur-edit-mode): Add usage message.
15637 (occur-cease-edit): New command.
15638 (occur-after-change-function): Use text properties to find the
15639 position of the prefix text.
15640 (occur-engine): Set stickiness of prefix text properties.
15641
15642 2011-09-17 Glenn Morris <rgm@gnu.org>
15643
15644 * progmodes/etags.el (complete-tag):
15645 Fix call to completion-in-region. (Bug#9526)
15646
15647 2011-09-17 Juri Linkov <juri@jurta.org>
15648
15649 * textmodes/ispell.el (ispell-word): Add to the error message
15650 the word, ispell program name and current dictionary (bug#9121).
15651 (ispell-tex-arg-end): Capitalize "error" in the error message.
15652
15653 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
15654
15655 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15656 check. (Bug#4251)
15657
15658 2011-09-17 Juri Linkov <juri@jurta.org>
15659
15660 * window.el (window-safe-min-height, window-safe-min-width):
15661 Fix typos (followup to bug#9522).
15662
15663 2011-09-17 Sven Joachim <svenjoac@gmx.de>
15664
15665 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15666
15667 2011-09-16 Eli Zaretskii <eliz@gnu.org>
15668
15669 * simple.el (line-move): If goal-column is set, move by logical
15670 lines, not by display lines. (Bug#971)
15671 (next-line, previous-line, goal-column, line-move-visual): Doc fix
15672 to reflect the above change.
15673
15674 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
15675
15676 * image.el (imagemagick-register-types): Use regexp-opt.
15677
15678 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15679
15680 * window.el (display-buffer-base-action): Rename from
15681 display-buffer-default-action. Make default value empty.
15682 (display-buffer-overriding-action): Convert to defvar.
15683 (display-buffer-fallback-action): New var.
15684
15685 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
15686
15687 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15688 declaration.
15689 (package--add-to-archive-contents): If there is a duplicate entry
15690 with an older version, remove it.
15691 (package-menu-mark-delete, package-menu-mark-install)
15692 (package-menu-mark-unmark): Make unused args optional.
15693 (package-menu-mark-obsolete-for-deletion):
15694 Use package-menu-get-status instead of a regexp search.
15695 (package-menu-get-status): Use tabulated-list-entry.
15696 (package-menu-mark-upgrades): New command.
15697 (package-menu-mode-map): Bind it to U. Add it to menu bar.
15698 (package-menu-execute): Do installation before deletion.
15699 (package-menu-refresh, package-menu-execute): Use derived-mode-p
15700 instead of checking major-mode.
15701 (package-menu--find-upgrades): New function.
15702
15703 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
15704
15705 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15706 passwords in the log buffer.
15707 (smtpmail-process-filter): Update the process marker so that the
15708 "broken by peer" status message is inserted in the right place.
15709
15710 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15713 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15714 bibtex-completion-at-point-function.
15715 (bibtex-completion-at-point-function): Use them.
15716
15717 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15718
15719 * mpc.el (mpc-constraints-tag-lookup): New function.
15720 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15721 also to browser "album|playlist".
15722
15723 2011-09-14 Juri Linkov <juri@jurta.org>
15724
15725 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
15726 (isearch-edit-string): Use length of `isearch-string' when
15727 `isearch-fail-pos' returns nil.
15728 (isearch-message): Remove duplicate code and call
15729 `isearch-fail-pos' with arg `t'.
15730
15731 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
15732
15733 * replace.el (occur-mode-goto-occurrence): Don't force using other
15734 window (Bug#9499).
15735
15736 * dired-aux.el (dired-do-chmod): Don't provide initial input.
15737
15738 2011-09-14 Martin Rudalics <rudalics@gmx.at>
15739
15740 * window.el (display-buffer-window): Remove.
15741 (display-buffer-record-window): Use help-setup window parameter
15742 instead of variable display-buffer-window.
15743 (display-buffer-function, special-display-buffer-names)
15744 (special-display-function): Mention help-setup parameter instead
15745 of display-buffer-window in doc-string.
15746 * help.el (help-window-setup): New argument help-window.
15747 Use help-window-setup parameter instead of display-buffer-window.
15748 Reword some messages.
15749 (with-help-window): Pass window used for displaying the buffer
15750 to help-window-setup. Don't set display-buffer-window.
15751
15752 2011-09-13 Glenn Morris <rgm@gnu.org>
15753
15754 * emacs-lisp/debug.el (debugger-make-xrefs):
15755 Preserve point. (Bug#9462)
15756
15757 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15758
15759 * window.el (window-deletable-p): Use next-frame.
15760
15761 2011-09-13 Martin Rudalics <rudalics@gmx.at>
15762
15763 * window.el (window-auto-delete): Remove.
15764 (window-deletable-p): Remove argument FORCE. Don't deal with
15765 dedication and previous buffers.
15766 (switch-to-prev-buffer): Don't delete window.
15767 (delete-windows-on): Delete a window's frame if and only if the
15768 window is dedicated.
15769 (replace-buffer-in-windows): Delete buffer's window or frame if
15770 and only if window is dedicated.
15771 (quit-window): Handle quit-restore as before last change.
15772 (bury-buffer): Delete window only if window-deletable-p returns t.
15773
15774 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
15775
15776 * window.el (window-deletable-p): Never delete the last frame on a
15777 given terminal.
15778
15779 2011-09-13 Glenn Morris <rgm@gnu.org>
15780
15781 * help.el (describe-key-briefly): Copy previous standard-output change.
15782
15783 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
15784
15785 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
15786
15787 2011-09-13 Glenn Morris <rgm@gnu.org>
15788
15789 * emacs-lisp/lisp-mode.el (lisp-indent-function):
15790 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15791
15792 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
15793
15794 * dired-aux.el (dired-mark-read-string): Don't return default
15795 value on empty input (Bug#9361).
15796 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15797 Omit initial minibuffer contents.
15798 (dired-do-chmod): Signal an error on empty input.
15799 (dired-mark-read-string): Don't return default on empty input.
15800
15801 * files.el (file-modes-symbolic-to-number): Doc fix.
15802
15803 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
15804
15805 * international/mule-cmds.el (ucs-completions): Remove.
15806 (read-char-by-name): Use complete-with-action instead; add metadata.
15807
15808 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15809
15810 * window.el (display-buffer--action-function-custom-type)
15811 (display-buffer--action-custom-type): New vars.
15812 (display-buffer-alist, display-buffer-default-action)
15813 (display-buffer-overriding-action): Add defcustom types.
15814
15815 * frame.el (delete-other-frames): Doc fix (Bug#276).
15816
15817 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15818
15819 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15820
15821 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
15822
15823 Change modes that used same-window-* vars to use switch-to-buffer.
15824
15825 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15826 Use switch-to-buffer.
15827
15828 * cus-edit.el (customize-group, custom-buffer-create)
15829 (customize-browse, custom-buffer-create-other-window):
15830 Use switch-to-buffer or switch-to-buffer-other-window.
15831
15832 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15833 (Info-prev, Info-up, Info-speedbar-goto-node)
15834 (info-display-manual): Use switch-to-buffer.
15835 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15836
15837 * mail/sendmail.el (mail): Use switch-to-buffer.
15838 (mail-recover): Use switch-to-buffer-other-window.
15839
15840 * cmuscheme.el (run-scheme, switch-to-scheme):
15841 * ielm.el (ielm):
15842 * shell.el (shell):
15843 * net/rlogin.el (rlogin):
15844 * net/telnet.el (telnet, rsh):
15845 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15846
15847 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
15848
15849 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15850
15851 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
15852
15853 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15854 so don't mention it (bug#9301).
15855 (dired-sort-toggle-or-edit): Clarify string further.
15856
15857 * faces.el (face-spec-set-match-display): Make `(type graphic)'
15858 match `x', `w32' and `ns', like the manual says (bug#9029).
15859
15860 * subr.el (eval-after-load): Doc string clarification (bug#9125).
15861 (process-kill-buffer-query-function): Mention the buffer name in
15862 the query.
15863
15864 * image-mode.el (image-next-line): The line parameter is mandatory
15865 (bug#9258).
15866
15867 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15868 which can be useful (bug#9301).
15869
15870 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15871
15872 * subr.el (match-string): Mention that the current buffer should
15873 be the same as the search was done in (bug#9282).
15874
15875 * facemenu.el: Disable the remove-* commands if the mark isn't
15876 active (bug#9162).
15877
15878 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15879
15880 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15881 of display-buffer.
15882 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15883
15884 * replace.el (occur-mode-goto-occurrence)
15885 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15886 and display-buffer.
15887
15888 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15889 display-buffer.
15890
15891 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15892 special-display and same-window variables.
15893 (mail-other-window): Use switch-to-buffer-other-window.
15894 (mail-other-frame): USe switch-to-buffer-other-frame.
15895
15896 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15897 Use display-buffer-other-frame.
15898 (gdb-display-gdb-buffer): Use pop-to-buffer.
15899
15900 * progmodes/gud.el (gud-goto-info): Use info-other-window.
15901
15902 * progmodes/python.el: Don't set same-window-buffer-names.
15903
15904 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15905
15906 * window.el (display-buffer-alist): Add *Python*.
15907
15908 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
15909
15910 * window.el (display-buffer-alist): Add entry for buffers
15911 previously handled same-window-*.
15912 (display-buffer-alist, display-buffer-default-action)
15913 (display-buffer-overriding-action): Mark as risky.
15914 (display-buffer-alist): Document action function changes.
15915 (display-buffer--same-window-action)
15916 (display-buffer--other-frame-action): New variables.
15917 (switch-to-buffer, display-buffer-other-frame): Use them.
15918 (display-buffer): Rename reuse-frame entry to reusable-frames.
15919 (display-buffer-reuse-selected-window): Function deleted.
15920 (display-buffer-reuse-window): Handle reusable-frames alist entry.
15921 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15922 (display-buffer-special): New function.
15923 (display-buffer--maybe-pop-up-frame-or-window): Rename from
15924 display-buffer-reuse-or-pop-window. Split off special-display
15925 part into display-buffer-special.
15926 (display-buffer-use-some-window): Don't perform any special
15927 pop-up-frames handling.
15928 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15929 (display-buffer--maybe-same-window): Rename from
15930 display-buffer-maybe-same-window.
15931
15932 * info.el: Don't set same-window-regexps.
15933 (info-setup): New function.
15934 (info-other-window, info): Call it.
15935
15936 * cus-edit.el: Don't set same-window-regexps.
15937 (customize-group): New argument.
15938 (customize-group-other-window): Use it.
15939 (customize-face, customize-face-other-window): Likewise.
15940 (custom-buffer-create-other-window): Use pop-to-buffer directly.
15941
15942 * net/rlogin.el:
15943 * net/telnet.el:
15944 * progmodes/gud.el: Don't set same-window-regexps.
15945
15946 * cmuscheme.el:
15947 * ielm.el:
15948 * shell.el:
15949 * mail/sendmail.el:
15950 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15951
15952 2011-09-10 Juri Linkov <juri@jurta.org>
15953
15954 * isearch.el (isearch-edit-string): Remove obsolete mention of
15955 `C-w' (`isearch-yank-word-or-char') from docstring.
15956 (isearch-query-replace): Fix typo in docstring (bug#9466).
15957
15958 2011-09-10 Juri Linkov <juri@jurta.org>
15959
15960 * paren.el (show-paren-function): Don't show escaped parens.
15961 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
15962
15963 2011-09-10 Eli Zaretskii <eliz@gnu.org>
15964
15965 * mail/sendmail.el (mml-to-mime, mml-attach-file)
15966 (mm-default-file-encoding): Remove autoload forms, they are
15967 replaced with autoload cookies in mml.el and mm-encode.el.
15968 (mail-add-attachment): New command.
15969 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15970 (mail-mode): Mention mail-insert-file and mail-add-attachment in
15971 the doc string.
15972 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15973
15974 2011-09-10 Reuben Thomas <rrt@sc3d.org>
15975
15976 * simple.el (count-words-region): Use buffer if there's no region
15977 (bug#9429).
15978
15979 2011-09-09 Juri Linkov <juri@jurta.org>
15980
15981 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15982 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15983 (wdired-isearch-filter-read-only): New function. (Bug#6362)
15984
15985 2011-09-09 Alan Mackenzie <acm@muc.de>
15986
15987 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15988 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
15989
15990 2011-09-09 Eli Zaretskii <eliz@gnu.org>
15991
15992 Fix for Savannah bug#9392.
15993 * simple.el (mail-encode-mml): New defvar.
15994
15995 * mail/rmail.el (mail-encode-mml): Add a defvar.
15996 (rmail-enable-mime-composing): Default to t.
15997 (rmail-forward): Use MIME method of forwarding only if both
15998 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15999 Set mail-encode-mml non-nil if the MIME method was used.
16000
16001 * mail/sendmail.el (mml-to-mime): Add autoload form.
16002 (mail-encode-mml): Add a defvar.
16003 (mail-mode): Make mail-encode-mml buffer-local and initialize it
16004 to nil.
16005 (mail-send): If mail-encode-mml is non-nil, run the outgoing
16006 message through mml-to-mime, and reset mail-encode-mml to nil.
16007
16008 2011-09-09 Glenn Morris <rgm@gnu.org>
16009
16010 * woman.el (woman-if-body): When processing an .el block,
16011 do not delete the next .el block as well. (Bug#9447)
16012 (woman-special-characters): Add oq, cq, and hy characters.
16013
16014 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16015
16016 * window.el (window-deletable-p): Make sure window is live before
16017 invoking window-prev-buffers.
16018
16019 2011-09-08 Leo Liu <sdl.web@gmail.com>
16020
16021 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
16022
16023 2011-09-08 Juri Linkov <juri@jurta.org>
16024
16025 * progmodes/compile.el (compilation-environment): Make it
16026 a defcustom (bug#8340).
16027
16028 2011-09-08 Martin Rudalics <rudalics@gmx.at>
16029
16030 * window.el (frame-auto-delete): Rename to window-auto-delete.
16031 Make it control auto-deletion of windows and/or frames.
16032 (window-deletable-p): New argument FORCE. Rewrite conditions
16033 for deleting window/frame. (Bug#9419)
16034 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
16035 Rewrite handling of case when window/frame can be deleted.
16036 (delete-windows-on): Call window-deletable-p with new FORCE
16037 argument t. (Bug#9456)
16038
16039 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
16040
16041 * help-mode.el (help-mode): Restore autoload.
16042
16043 2011-09-07 Juri Linkov <juri@jurta.org>
16044
16045 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
16046 `compilation-environment'. Set buffer-local
16047 `compilation-environment' to `thisenv' later after (funcall mode).
16048 (Bug#8340)
16049
16050 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
16051 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
16052 instead of replacing its value. (Bug#8340)
16053
16054 2011-09-07 Juri Linkov <juri@jurta.org>
16055
16056 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
16057 based on text properties put by `grep-filter' instead of matching
16058 escape sequences.
16059 (grep-mode): Set buffer-local `compilation-error-screen-columns'
16060 to the value of `grep-error-screen-columns' (bug#9438).
16061
16062 2011-09-07 Juri Linkov <juri@jurta.org>
16063
16064 * simple.el (next-error-highlight, next-error-highlight-no-select):
16065 Doc fix (bug#9432).
16066
16067 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
16068
16069 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16070 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
16071
16072 2011-09-07 Leo Liu <sdl.web@gmail.com>
16073
16074 * net/rcirc.el (rcirc-mode): Conditionally initialize
16075 rcirc-input-ring.
16076
16077 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * emacs-lisp/find-func.el (find-function-C-source): Only set
16080 find-function-C-source-directory after checking that we found a source
16081 file there (bug#9440).
16082
16083 2011-09-06 Alan Mackenzie <acm@muc.de>
16084
16085 * isearch.el (isearch-other-meta-char): Wherever a key list is
16086 unread, "unread" the prefix arg, too. This fixes bug #8901.
16087
16088 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
16089
16090 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
16091
16092 2011-09-05 Juri Linkov <juri@jurta.org>
16093
16094 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
16095
16096 2011-09-05 Juri Linkov <juri@jurta.org>
16097
16098 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
16099 keeping point where processing of grep matches begins, and
16100 continue to delete remaining escape sequences from the same point.
16101 (grep-filter): Make leading zero optional in "0?1;31m" because
16102 git-grep emits "\033[1;31m" escape sequences unlike expected
16103 "\033[01;31m" as GNU Grep does (bug#9408).
16104 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
16105
16106 2011-09-05 Juri Linkov <juri@jurta.org>
16107
16108 * subr.el (y-or-n-p): Capitalize "yes".
16109
16110 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
16111
16112 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
16113 `tramp-cache-unload-hook' where appropriate.
16114 (tramp-methods): Rename `tramp-remote-sh' to
16115 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
16116 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
16117
16118 * net/tramp-sh.el (top): Don't require 'shell.
16119 (tramp-methods): Add `tramp-remote-shell' and
16120 `tramp-remote-shell-args' entries.
16121 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
16122 (tramp-sh-handle-shell-command): Remove.
16123 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
16124 Use `tramp-remote-shell'.
16125
16126 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
16127
16128 * mail/sendmail.el (sendmail-query-once-function): Delete.
16129 (sendmail-query-once): Save directly to send-mail-function.
16130 Update message-send-mail-function too.
16131
16132 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
16133
16134 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16135
16136 * progmodes/python.el (python-mode-map): Use correct function to
16137 start python interpreter from menu-bar (as reported by Geert
16138 Kloosterman).
16139 (inferior-python-mode-map): Fix typo.
16140 (python-shell-map): Remove.
16141
16142 2011-09-03 Deniz Dogan <deniz@dogan.se>
16143
16144 * net/rcirc.el (rcirc-print): Simplify code for
16145 rcirc-scroll-show-maximum-output. There is no need to walk
16146 through all windows to find the right one.
16147
16148 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
16149
16150 * help.el (help-return-method): Doc fix.
16151
16152 2011-09-03 Martin Rudalics <rudalics@gmx.at>
16153
16154 * window.el (window-deletable-p): Don't return a non-nil value
16155 when there's a buffer that was shown in the window before.
16156 (Bug#9419)
16157 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16158 Set window's previous buffers to nil.
16159
16160 2011-09-03 Eli Zaretskii <eliz@gnu.org>
16161
16162 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
16163 newline before and after the tag line, so it doesn't interfere
16164 with determining the paragraph direction of bidirectional text.
16165
16166 2011-09-03 Leo Liu <sdl.web@gmail.com>
16167
16168 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
16169
16170 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16171
16172 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
16173 (pop-to-buffer): Change interactive spec. Pass second argument
16174 directly to display-buffer.
16175 (display-buffer): Fix interactive spec. Use functionp to
16176 distinguish between a function and a list of functions.
16177
16178 * abbrev.el (edit-abbrevs):
16179 * arc-mode.el (archive-extract):
16180 * autoinsert.el (auto-insert):
16181 * bookmark.el (bookmark-bmenu-list):
16182 * files.el (find-file):
16183 * view.el (view-buffer):
16184 * progmodes/compile.el (compilation-goto-locus):
16185 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
16186
16187 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
16188
16189 * window.el (display-buffer-alist): Doc fix.
16190 (display-buffer): Add docstring. Don't treat
16191 display-buffer-default specially.
16192 (display-buffer-reuse-selected-window)
16193 (display-buffer-same-window, display-buffer-maybe-same-window)
16194 (display-buffer-reuse-window, display-buffer-pop-up-frame)
16195 (display-buffer-pop-up-window)
16196 (display-buffer-reuse-or-pop-window)
16197 (display-buffer-use-some-window): New functions.
16198 (display-buffer-default-action): Use them.
16199 (display-buffer-default): Delete.
16200 (pop-to-buffer-1): Fix choice of actions.
16201
16202 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
16203
16204 * minibuffer.el (completion--insert-strings): Don't get confused by
16205 completion entries that end with an LF char.
16206
16207 2011-09-01 Eli Zaretskii <eliz@gnu.org>
16208
16209 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
16210
16211 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
16212
16213 * window.el (display-buffer): Restore interactive spec.
16214 (display-buffer-same-window, display-buffer-other-window):
16215 New functions.
16216 (pop-to-buffer-1): New function. Use the above.
16217 (pop-to-buffer, pop-to-buffer-same-window): Use it.
16218 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
16219
16220 * view.el (view-buffer-other-window, view-buffer-other-frame):
16221 Just use pop-to-buffer.
16222
16223 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16224
16225 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
16226
16227 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
16228
16229 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
16230
16231 2011-08-31 Richard Stallman <rms@gnu.org>
16232
16233 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
16234 of the separation of rmail-view-buffer from rmail-buffer.
16235 If you say no to "replace original", the decrypt is in the
16236 view buffer. If you say yes, the decrypt goes into the
16237 rmail buffer also.
16238
16239 2011-08-31 Martin Rudalics <rudalics@gmx.at>
16240
16241 * window.el (display-buffer-window): Rewrite doc-string.
16242 (display-buffer-record-window): New function.
16243 (display-buffer-macro-specifiers)
16244 (display-buffer-even-window-sizes, display-buffer-set-height)
16245 (display-buffer-set-width, display-buffer-in-window)
16246 (display-buffer-reuse-window, display-buffer-split-specifiers)
16247 (display-buffer-side-specifiers, display-buffer-split-window-1)
16248 (display-buffer-split-window, display-buffer-split-atom-window)
16249 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16250 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
16251 (display-buffer-other-window-means-other-frame)
16252 (display-buffer-normalize-special)
16253 (display-buffer-normalize-default)
16254 (display-buffer-normalize-argument)
16255 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
16256 (display-buffer-normalize-specifiers, display-buffer-frame)
16257 (display-buffer-same-window, display-buffer-same-frame)
16258 (display-buffer-other-window)
16259 (display-buffer-same-frame-other-window)
16260 (display-buffer-other-frame, pop-to-buffer-same-window)
16261 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
16262 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
16263 (switch-to-buffer-same-frame)
16264 (switch-to-buffer-other-window-same-frame)
16265 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
16266 (display-buffer-alist-set-1, display-buffer-alist-set-2)
16267 (display-buffer-alist-set): Remove.
16268 (display-buffer-function, special-display-buffer-names)
16269 (special-display-regexps, special-display-function):
16270 In doc-string refer to display-buffer-window and quit-restore
16271 parameter.
16272 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
16273 (special-display-frame-alist, special-display-popup-frame)
16274 (same-window-buffer-names, same-window-regexps, same-window-p)
16275 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16276 (split-window-preferred-function, split-height-threshold)
16277 (split-width-threshold, window-splittable-p)
16278 (split-window-sensibly, window--try-to-split-window)
16279 (window--frame-usable-p, even-window-heights)
16280 (window--even-window-heights, window--display-buffer-1)
16281 (window--display-buffer-2, display-buffer-other-frame):
16282 Restore old Emacs 23 code, order and doc-strings where applicable.
16283 (display-buffer-default, display-buffer-assq-regexp): New functions.
16284 (display-buffer-alist): Rewrite doc-string.
16285 (display-buffer-default-action)
16286 (display-buffer-overriding-action): New variables.
16287 (display-buffer, switch-to-buffer): Rewrite.
16288 (pop-to-buffer): Restore Emacs 23 behavior but use
16289 window-normalize-buffer-to-display.
16290 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
16291 Restore Emacs 23 behavior but use
16292 window-normalize-buffer-to-switch-to.
16293 (pop-to-buffer-same-window): Rewrite.
16294 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
16295 Rewrite using Emacs 23 options.
16296
16297 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
16298
16299 * net/tramp.el (tramp-root-regexp): Remove.
16300 (tramp-completion-file-name-regexp-unified)
16301 (tramp-completion-file-name-regexp-separate)
16302 (tramp-completion-file-name-regexp-url): Don't use leading volume
16303 letter on w32 systems. (Bug#5303, Bug#9311)
16304 (tramp-drop-volume-letter): Simplify definition.
16305 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
16306
16307 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
16308
16309 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
16310 (bug#9356).
16311
16312 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
16313
16314 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
16315
16316 2011-08-29 Juri Linkov <juri@jurta.org>
16317
16318 * isearch.el (isearch-done): Don't display message "Mark saved"
16319 when arg `edit' is non-nil to prevent its flicker in the echo area.
16320
16321 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16322
16323 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
16324 obsolete packages for deletion.
16325
16326 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
16327
16328 * help-mode.el (help-mode-map): Add special-mode-map to parent.
16329 (help-mode): Derive help-mode from special-mode. Don't invoke
16330 view-mode from help-mode.
16331 (help-xref-override-view-map): Remove.
16332 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
16333 view-mode is not used anymore.
16334
16335 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
16336
16337 * server.el (server-port): Doc fix.
16338
16339 * cus-theme.el (custom-theme-choose-mode): Inherit from
16340 special-mode (Bug#9124).
16341 (custom-theme-choose-mode-map): Add special-mode to parent.
16342
16343 2011-08-28 Alan Mackenzie <acm@muc.de>
16344
16345 * progmodes/cc-fonts.el
16346 (c-make-font-lock-BO-decl-search-function): New function.
16347 (c-basic-matchers-after - "Fontify the clauses after various
16348 keywords"): Extract the three keyword lists for the 3 erroneous
16349 constructs from the list of four, and use the new function above
16350 in place of an old one.
16351
16352 2011-08-28 Deniz Dogan <deniz@dogan.se>
16353
16354 * net/rcirc.el (rcirc-insert-prev-input)
16355 (rcirc-insert-next-input): Remove unused argument.
16356
16357 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
16358
16359 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
16360
16361 2011-08-27 Alan Mackenzie <acm@muc.de>
16362
16363 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
16364 handle function pointer parameters properly.
16365
16366 2011-08-27 Martin Rudalics <rudalics@gmx.at>
16367
16368 * window.el (display-buffer-reuse-window): Fix case where
16369 selected window was reused with non-nil OTHER-WINDOW argument.
16370 (Bug#9381)
16371
16372 2011-08-27 Deniz Dogan <deniz@dogan.se>
16373
16374 * net/rcirc.el (rcirc-check-auth-status): Adding support for
16375 oftc's NickServ messages.
16376
16377 2011-08-27 Glenn Morris <rgm@gnu.org>
16378
16379 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
16380
16381 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
16382
16383 * emacs-lisp/package.el (package-install): Call package-initialize
16384 if called interactively.
16385
16386 2011-08-26 Leo Liu <sdl.web@gmail.com>
16387
16388 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
16389
16390 2011-08-25 Juri Linkov <juri@jurta.org>
16391
16392 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16393 `search-whitespace-regexp' (bug#9364).
16394
16395 2011-08-25 Juri Linkov <juri@jurta.org>
16396
16397 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
16398 `regexp-search-ring' to their global values to protect from
16399 updating by `read-from-minibuffer' (bug#9185).
16400
16401 2011-08-25 Juri Linkov <juri@jurta.org>
16402
16403 * textmodes/ispell.el (ispell-command-loop): Add newline
16404 at the end of the "Use option `i'..." line.
16405
16406 2011-08-25 Juri Linkov <juri@jurta.org>
16407
16408 * battery.el (display-battery-mode): If `battery-status-function'
16409 or `battery-mode-line-format' is nil, display the message and set
16410 `display-battery-mode' to nil (bug#9363).
16411
16412 2011-08-25 Eli Zaretskii <eliz@gnu.org>
16413
16414 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
16415 bidi-string-mark-left-to-right; they are unnecessary now.
16416
16417 2011-08-25 Deniz Dogan <deniz@dogan.se>
16418
16419 * net/quickurl.el: Documentation typo fixes.
16420
16421 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
16422
16423 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
16424
16425 2011-08-25 Glenn Morris <rgm@gnu.org>
16426
16427 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
16428
16429 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
16430 (smtpmail-via-smtp): Handle nil response from smtp.
16431
16432 2011-08-24 Juri Linkov <juri@jurta.org>
16433
16434 * proced.el (proced-marked): Inherit from `error' instead of
16435 `font-lock-warning-face'.
16436
16437 * ibuffer.el (ibuffer-marked-face): Change default face from
16438 `font-lock-warning-face' to `warning'.
16439 (ibuffer-deletion-face): Change default face from
16440 `font-lock-type-face' to `error'.
16441
16442 * battery.el (battery-update): Use the face `error' instead of
16443 `font-lock-warning-face' (bug#6117).
16444
16445 2011-08-24 Juri Linkov <juri@jurta.org>
16446
16447 * faces.el (success): Change face color from "Green3" to
16448 "ForestGreen" on light background (bug#9353).
16449
16450 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
16451
16452 * window.el (quit-window): Rename from quit-restore-window.
16453 Use same arglist as old quit-window.
16454 (frame-auto-delete): Doc fix.
16455
16456 * view.el (view-mode-exit): Use quit-window.
16457
16458 2011-08-24 Juri Linkov <juri@jurta.org>
16459
16460 * isearch.el (isearch-ring-adjust1): Start visiting previous
16461 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
16462 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
16463 for empty search string (when the last search string is reused
16464 automatically) to adjust the isearch ring to the last element and
16465 prepare the correct index for further M-p commands (bug#9185).
16466
16467 2011-08-24 Kenichi Handa <handa@m17n.org>
16468
16469 * international/ucs-normalize.el: If decomposition property of
16470 CHAR is the default one (i.e. a list of CHAR itself), treat it as
16471 nil.
16472 (nfd, nfkd): Likewise.
16473
16474 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
16475
16476 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
16477 from process filters aren't reliably transmitted to the surrounding
16478 accept-process-output.
16479 (mpc-proc-check): New function.
16480 (mpc-proc-sync): Use it (bug#8293)
16481
16482 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16483
16484 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
16485 Add compatibility functions (bug#9313).
16486
16487 2011-08-23 Eli Zaretskii <eliz@gnu.org>
16488
16489 * cus-start.el (all): Add entry for bidi-paragraph-direction.
16490
16491 * international/uni-bidi.el: Regenerate.
16492
16493 2011-08-23 Kenichi Handa <handa@m17n.org>
16494
16495 * international/charprop.el:
16496 * international/uni-bidi.el:
16497 * international/uni-category.el:
16498 * international/uni-combining.el:
16499 * international/uni-comment.el:
16500 * international/uni-decimal.el:
16501 * international/uni-decomposition.el:
16502 * international/uni-digit.el:
16503 * international/uni-lowercase.el:
16504 * international/uni-mirrored.el:
16505 * international/uni-name.el:
16506 * international/uni-numeric.el:
16507 * international/uni-old-name.el:
16508 * international/uni-titlecase.el:
16509 * international/uni-uppercase.el: Regenerate.
16510
16511 2011-08-23 Martin Rudalics <rudalics@gmx.at>
16512
16513 * help.el (help-window-setup): Fix message displayed when other
16514 window is reused. (Bug#9341)
16515
16516 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
16519 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
16520
16521 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
16522 Mark obsolete.
16523 * shell.el (shell-parse-pcomplete-arguments): New function.
16524 (shell-completion-vars): Use it instead (bug#9160).
16525
16526 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
16529 strings and comments (bug#9333).
16530
16531 * emacs-lisp/debug.el (debug-arglist): New function.
16532 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
16533 (debug-on-entry-1): Handle interpreted closures (bug#9120).
16534
16535 2011-08-22 Juri Linkov <juri@jurta.org>
16536
16537 * progmodes/compile.el (compilation-mode-font-lock-keywords):
16538 Revert regexp that highlights output switches to its old
16539 pre-2010-10-28 value and remove one `?' from it (bug#9319).
16540
16541 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
16542 to check for empty output (bug#9226).
16543
16544 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
16545
16546 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
16547 symbol-constituent as the default, as that stops font-lock from
16548 working properly (Bug#8843).
16549
16550 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16551
16552 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
16553 `coding-system-for-*' around the process open call to avoid
16554 auth-source side effects.
16555 (smtpmail-try-auth-methods): Expand the secret password.
16556 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
16557 probe hangs.
16558
16559 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16560
16561 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
16562
16563 * emacs-lisp/find-func.el (find-function-noselect): New arg
16564 lisp-only.
16565
16566 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
16567 signal an error for built-in functions (Bug#6664).
16568
16569 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
16570
16571 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
16572 (smtpmail-try-auth-methods): Use it.
16573
16574 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
16575
16576 * font-lock.el (font-lock-fontify-region)
16577 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
16578 (font-lock-default-unfontify-buffer)
16579 (font-lock-default-fontify-region)
16580 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
16581
16582 * progmodes/compile.el (compilation-error-properties):
16583 Fix confusion between file struct and message struct (Bug#9319).
16584 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
16585 `ant' regexp.
16586
16587 * net/browse-url.el (browse-url-firefox): Don't call
16588 browse-url-firefox-sentinel unless using -remote (Bug#9328).
16589
16590 2011-08-20 Glenn Morris <rgm@gnu.org>
16591
16592 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
16593
16594 * tutorial.el (tutorial--default-keys): Update some default bindings.
16595
16596 * files.el (hack-local-variables): Fully ignore case for "mode:".
16597
16598 2011-08-20 Alan Mackenzie <acm@muc.de>
16599
16600 Resolve invalid use of a regexp in regexp-opt.
16601
16602 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
16603 detection for a java annotation.
16604
16605 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
16606 detection for a java annotation.
16607
16608 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
16609 handling for java.
16610 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
16611
16612 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
16613
16614 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
16615 (Bug#9274).
16616
16617 2011-08-20 Alan Mackenzie <acm@muc.de>
16618
16619 Fontify CPP expressions correctly when starting in the middle of
16620 such a construct. Mainly for when jit-lock etc. starts a chunk
16621 here.
16622
16623 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
16624 variable.
16625 (c-make-font-lock-search-form): New function, extracted from
16626 c-make-font-lock-search-function.
16627 (c-make-font-lock-search-function): Use the above function.
16628 (c-make-font-lock-context-search-function): New function.
16629 (c-cpp-matchers): Enhance the preprocessor expression case with
16630 the above function
16631 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16632 which takes an expression.
16633
16634 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16635
16636 2011-08-20 Martin Rudalics <rudalics@gmx.at>
16637
16638 * window.el (display-buffer-reuse-window)
16639 (display-buffer-pop-up-window): Don't reuse or split a side
16640 window.
16641
16642 2011-08-19 Glenn Morris <rgm@gnu.org>
16643
16644 * files.el (hack-local-variables-prop-line, hack-local-variables):
16645 Downcase "Mode:". (Bug#9331)
16646
16647 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
16648
16649 * international/characters.el: Add L and R categories.
16650
16651 * subr.el (bidi-string-mark-left-to-right): Rename from
16652 string-mark-left-to-right. Use category search.
16653
16654 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16655
16656 2011-08-18 Juri Linkov <juri@jurta.org>
16657
16658 * faces.el (error, warning, success): New faces with definitions
16659 copied from old default values of `font-lock-warning-face',
16660 `compilation-warning', `compilation-info' (bug#6117).
16661
16662 * font-lock.el (font-lock-warning-face): Inherit from `error'.
16663
16664 * progmodes/compile.el (compilation-error): Inherit from `error'.
16665 (compilation-warning): Inherit from `warning'.
16666 (compilation-info): Inherit from `success'.
16667
16668 * dired.el (dired-marked): Inherit from `warning'.
16669 (dired-flagged): Inherit from `error'.
16670
16671 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
16672
16673 * mail/smtpmail.el (auth-source): Require to avoid problems with
16674 binding variables (bug#9298). Also clean up some unused
16675 autoloads.
16676
16677 * net/network-stream.el (network-stream-open-starttls):
16678 Support using starttls.el without using gnutls-cli.
16679
16680 2011-08-17 Juri Linkov <juri@jurta.org>
16681
16682 * progmodes/grep.el (rgrep): Handle the case when
16683 `grep-find-command' is a cons cell (bug#9278).
16684
16685 2011-08-17 Martin Rudalics <rudalics@gmx.at>
16686
16687 * window.el (display-buffer-pop-up-frame): Run frame creation
16688 function with BUFFER current (as special-display-popup-frame
16689 does). Reported by Drew Adams.
16690
16691 2011-08-17 Daiki Ueno <ueno@unixuser.org>
16692
16693 * epa-mail.el: Simplify GnuPG group expansion using
16694 epg-expand-group.
16695 (epa-mail-group-alist, epa-mail-group-modtime)
16696 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16697 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16698 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16699 Remove.
16700
16701 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
16702
16703 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16704
16705 2011-08-16 Alan Mackenzie <acm@muc.de>
16706
16707 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16708 Correct, to avoid the inside of macros.
16709
16710 2011-08-16 Richard Stallman <rms@gnu.org>
16711
16712 * epa-mail.el: Handle GnuPG group definitions.
16713 (epa-mail-group-alist, epa-mail-group-modtime)
16714 (epa-mail-gnupg-conf-file): New variables.
16715 (epa-mail-parse-groups, epa-mail-sync-groups)
16716 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16717 (epa-mail-expand-recipients): New functions.
16718 (epa-mail-encrypt): Call epa-mail-expand-recipients.
16719
16720 * mail/rmail.el (rmail-epa-decrypt): New command.
16721
16722 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16723 Don't bind buffer-read-only, just inhibit-read-only.
16724 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16725 (epa-decrypt-armor-in-region): Make error message clearer.
16726
16727 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
16728
16729 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16730 and "a2b" to "ab" for `prefix'.
16731
16732 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16735 filter groups.
16736 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
16737 Fourquet (Bug#8804).
16738
16739 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
16740
16741 * startup.el (argi): Declare as global variable (bug#9275).
16742
16743 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
16744
16745 * subr.el (string-mark-left-to-right): Search the entire string
16746 for RTL script, not just the terminating character. Doc fix.
16747
16748 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16751 New function.
16752 (js--regexp-literal, js-syntax-propertize-function): Remove.
16753 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16754 (js-mode-map): Don't rebind electric keys.
16755 (js-insert-and-indent): Remove.
16756 (js-mode): Setup electric-layout and electric-indent instead.
16757
16758 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16759
16760 2011-08-12 Daiki Ueno <ueno@unixuser.org>
16761
16762 * epa.el (epa-progress-callback-function): Fix the logic of
16763 displaying progress.
16764 * epa-file.el (epa-file-insert-file-contents): Make progress
16765 display more user-friendly.
16766 (epa-file-write-region): Ditto.
16767
16768 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
16769
16770 * subr.el (string-mark-left-to-right): New function.
16771
16772 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16773 Use string-mark-left-to-right.
16774 (list-buffers-noselect): Caller changed.
16775
16776 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16777 Use string-mark-left-to-right.
16778 (tabulated-list-print): Recenter after moving point.
16779
16780 2011-08-10 Juri Linkov <juri@jurta.org>
16781
16782 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16783 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16784 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16785
16786 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
16787
16788 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16789 (Bug#7554).
16790
16791 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
16792
16793 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16794 character. (Bug#6594)
16795
16796 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
16797
16798 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16799 (image-dired--with-db-file): New macro.
16800 (image-dired-write-tags, image-dired-remove-tag)
16801 (image-dired-create-gallery-lists, image-dired-write-comments)
16802 (image-dired-get-comment, image-dired-mark-tagged-files)
16803 (image-dired-list-tags, image-dired-gallery-generate): Use it.
16804 (image-dired-gallery-generate): Use insert-file-contents.
16805
16806 * time.el (display-time-world-list, display-time-world-display):
16807 * time-stamp.el (time-stamp-string):
16808 * vc/add-log.el (add-change-log-entry): Use setenv instead of
16809 set-time-zone-rule (Bug#7337).
16810
16811 2011-08-08 Daiki Ueno <ueno@unixuser.org>
16812
16813 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16814 (epg-error-to-string, epg-errors-to-string): New function.
16815 (epg-wait-for-completion): Reverse errors list.
16816 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16817 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16818 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16819 (epg-sign-keys, epg-generate-key-from-file)
16820 (epg-generate-key-from-string): Format errors by using
16821 epg-errors-to-string (bug#9255).
16822 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16823
16824 2011-08-07 Juri Linkov <juri@jurta.org>
16825
16826 * faces.el (list-faces-display): Remove extra angle bracket
16827 from `help-mode-map'.
16828
16829 * info.el (Info-history-toc-nodes): Doc fix.
16830
16831 * longlines.el (longlines-mode): Doc fix.
16832
16833 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
16834
16835 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16836 of statements and in a few more cases (bug#9183).
16837
16838 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16839 New functions.
16840 (cl-transform-lambda): Use them (bug#9239).
16841
16842 2011-08-05 Martin Rudalics <rudalics@gmx.at>
16843
16844 * window.el (display-buffer-same-window)
16845 (display-buffer-same-frame, display-buffer-other-window)
16846 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16847 (pop-to-buffer-other-window)
16848 (pop-to-buffer-same-frame-other-window)
16849 (pop-to-buffer-other-frame): Make them defuns.
16850 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16851
16852 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * subr.el (make-composed-keymap): Move from C. Change calling
16855 convention, and improve docstring to bring attention to a subtle point.
16856 * minibuffer.el (completing-read-default): Adjust accordingly.
16857
16858 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
16859
16860 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16861 (tramp-open-shell): Use `tramp-shell-quote-argument'.
16862
16863 * net/trampver.el: Update release number.
16864
16865 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
16866
16867 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16868 "in" (bug#9190).
16869
16870 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16871
16872 * mail/sendmail.el (sendmail-query-once): Restore the current
16873 buffer after querying (bug#9074).
16874
16875 * dired.el (dired-flagged): Use different faces for marked and
16876 flagged files (bug#6117).
16877
16878 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16879 (bug#4433).
16880
16881 * ido.el (ido-mode): Switch off the message if called
16882 non-interactively.
16883
16884 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16885 before 587, since it appears that that's more likely to work for
16886 more people.
16887
16888 * cus-edit.el (custom-file): When running under emacs -q, always
16889 refuse to save the customizations, even if the .emacs file doesn't
16890 exist.
16891
16892 * info.el: Remove the `Info-beginning-of-buffer' function
16893 (bug#8325).
16894
16895 * net/network-stream.el (network-stream-open-starttls):
16896 Use `starttls-available-p' to see whether starttls.el can be used.
16897
16898 2011-08-01 Martin Rudalics <rudalics@gmx.at>
16899
16900 * window.el (display-buffer-in-window): Don't set dedicated status
16901 of window here (Bug#9215).
16902 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16903 (display-buffer-pop-up-side-window)
16904 (display-buffer-in-side-window): Set dedicated status of window here.
16905
16906 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
16907
16908 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16909 before binding generated-autoload-file.
16910
16911 2011-08-01 Deniz Dogan <deniz@dogan.se>
16912
16913 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16914
16915 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
16916
16917 Sync with Tramp 2.2.2.
16918
16919 * net/trampver.el: Update release number.
16920
16921 2011-07-30 Juri Linkov <juri@jurta.org>
16922
16923 * dired-aux.el (dired-touch-initial): Remove function.
16924 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16925 current time, and `default' to the last modification time of the
16926 current marked file (bug#6887).
16927
16928 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
16929
16930 * simple.el (goto-line): Use string-to-number to provide a
16931 numeric argument to read-number (bug#9163).
16932
16933 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
16934
16935 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16936 connection process, it could be nil.
16937
16938 2011-07-27 Leo Liu <sdl.web@gmail.com>
16939
16940 Simplify url handling in rcirc-mode.
16941
16942 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16943 (rcirc-browse-url-at-mouse): Remove.
16944 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16945
16946 2011-07-26 Alan Mackenzie <acm@muc.de>
16947
16948 Fontify bitfield declarations properly.
16949
16950 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16951 (c-symbol-chars): Now exported as a lang variable.
16952 (c-not-primitive-type-keywords): New lang variable.
16953
16954 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16955 QT keyword "more" to prevent "more slots: ...." being spuriously
16956 parsed as a bitfield declaration.
16957
16958 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16959 Refactor and enhance to handle bitfield declarations.
16960 (c-punctuation-in): New function.
16961 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16962 declarations properly.
16963
16964 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
16965
16966 * calendar/icalendar.el (icalendar--all-events): Take care of
16967 multiple vcalendars in a single file.
16968 (icalendar--convert-float-to-ical): Checkdoc fixes.
16969
16970 2011-07-25 Deniz Dogan <deniz@dogan.se>
16971
16972 * image.el (insert-image): Clarifying docstring.
16973
16974 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
16975
16976 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16977 `tramp-send-command-and-check' if there is no error.
16978 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16979
16980 2011-07-22 Alan Mackenzie <acm@muc.de>
16981
16982 Prevent cc-langs.elc being loaded at run time.
16983
16984 * progmodes/cc-mode.el: Remove two autoload forms which loaded
16985 cc-langs.
16986
16987 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16988 "(require 'cc-langs)". Quote a form so it will evaluate at
16989 (cc-mode's) compilation time.
16990
16991 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
16992
16993 * net/tramp.el (tramp-file-name-handler): Avoid recursive
16994 loading. (Bug#9114)
16995
16996 2011-07-21 Martin Rudalics <rudalics@gmx.at>
16997
16998 * window.el (display-buffer-pop-up-window)
16999 (display-buffer-pop-up-side-window)
17000 (display-buffer-in-side-window): Call display-buffer-set-height
17001 and display-buffer-set-width after setting the new window's
17002 buffer so `fit-window-to-buffer' and friends work on the right buffer.
17003
17004 2011-07-20 Sam Steingold <sds@gnu.org>
17005
17006 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
17007 (etags-tags-included-tables): Call `convert-standard-filename' on
17008 the file names contained in TAGS so that windows Emacs can handle
17009 TAGS files created by cygwin ctags.
17010
17011 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
17012
17013 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
17014 which apparently didn't work.
17015
17016 2011-07-19 Roland Winkler <winkler@gnu.org>
17017
17018 * proced.el (proced-send-signal): For *Marked Processes* buffer
17019 put point at beginning of buffer.
17020
17021 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
17022
17023 * proced.el (proced-format): Make header lines align with the text
17024 (bug#1779).
17025
17026 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
17027
17028 * view.el (view-buffer): Allow running in `special' modes if we're
17029 visiting a file (bug#8615).
17030
17031 2011-07-19 Martin Rudalics <rudalics@gmx.at>
17032
17033 * window.el (display-buffer-alist-of-strings-p)
17034 (display-buffer-alist-set-1, display-buffer-alist-set-2):
17035 New functions.
17036 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
17037 more accurately.
17038
17039 2011-07-18 Alan Mackenzie <acm@muc.de>
17040
17041 Fontify declarators properly when, e.g., a jit-lock chunk begins
17042 inside a declaration.
17043
17044 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
17045
17046 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17047 New function.
17048 (c-complex-decl-matchers): Insert reference to
17049 c-font-lock-enclosing-decls.
17050
17051 * progmodes/cc-engine.el (c-backward-single-comment):
17052 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
17053 to nil around calls to (forward-comment -1).
17054
17055 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17056
17057 * image.el (put-image): Doc typo fix.
17058
17059 * progmodes/etags.el (tags-search): Doc typo fix.
17060
17061 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
17062 password if we get errors 550 to 554.
17063
17064 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
17065
17066 * net/gnutls.el (gnutls-log-level): Remove.
17067
17068 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
17069 indentation character (bug#6380).
17070
17071 * files.el (buffer-offer-save): Made permanently local (bug#6241).
17072
17073 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
17074 to clarify what the problem is (bug#4291).
17075
17076 * simple.el (current-kill): Clarify what
17077 `interprogram-paste-function' does (bug#7500).
17078 (auto-fill-mode): Document `auto-fill-function' in relation to
17079 `auto-fill-mode' (bug#2470).
17080
17081 2011-07-16 Lawrence Mitchell <wence@gmx.li>
17082
17083 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
17084 method if slot is read-only (bug#9035).
17085
17086 2011-07-16 Martin Rudalics <rudalics@gmx.at>
17087
17088 * frame.el (select-frame-set-input-focus): New argument NORECORD.
17089 * window.el (pop-to-buffer): Select window used even if it was
17090 selected before, see discussion of (Bug#8615), (Bug#6954).
17091 Pass argument NORECORD on to select-frame-set-input-focus.
17092
17093 2011-07-15 Glenn Morris <rgm@gnu.org>
17094
17095 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
17096 Respect help-form.
17097
17098 2011-07-09 Lawrence Mitchell <wence@gmx.li>
17099
17100 * net/gnutls.el (gnutls-min-prime-bits): New variable.
17101 (gnutls-negotiate): Use it.
17102
17103 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17104
17105 * net/gnutls.el (gnutls-negotiate):
17106 Upcase `gnutls-algorithm-priority'.
17107
17108 2011-07-15 Glenn Morris <rgm@gnu.org>
17109
17110 * jka-compr.el (jka-compr-verbose): Move from here...
17111 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
17112 Add missing :version tag.
17113 * info.el: No need to require jka-compr when compiling.
17114
17115 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
17116
17117 * net/gnutls.el (gnutls-algorithm-priority): New variable.
17118 (gnutls-negotiate): Use it.
17119
17120 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
17121
17122 * info.el (Info-beginning-of-buffer): New command.
17123 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
17124 announcing `b' as the key (bug#8325).
17125 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
17126
17127 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
17128
17129 * international/mule-cmds.el
17130 (describe-specified-language-support): Make the error message
17131 clearer (bug#8905).
17132
17133 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
17134
17135 * isearch.el (isearch-barrier): Add a doc string, since it's
17136 mentioned in a function doc string (bug#8678).
17137
17138 2011-07-15 Martin Rudalics <rudalics@gmx.at>
17139
17140 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
17141 buffer argument (Bug#9083) and self-identifying label argument.
17142
17143 2011-07-15 Glenn Morris <rgm@gnu.org>
17144
17145 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
17146
17147 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17148
17149 * man.el (Man-fontify-manpage): Fix message when formatting the
17150 man page (bug#7929).
17151
17152 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17153
17154 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
17155 argument LRM; if non-nil, append an invisible LRM character to the
17156 buffer name.
17157 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
17158 last argument non-nil, when formatting buffer names.
17159 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
17160 paragraph direction.
17161
17162 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17163
17164 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
17165 the man page name (bug#7929).
17166
17167 * image.el (put-image): Mention the `put-image' overlay property
17168 (bug#7834).
17169
17170 * scroll-bar.el (set-scroll-bar-mode): Mention that
17171 `scroll-bar-mode' lists the values (bug#7772).
17172
17173 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
17174 command (bug#7729).
17175
17176 * rect.el (apply-on-rectangle): Return the point after the last
17177 operation.
17178 (string-rectangle): Go to the point after the last operation
17179 (bug#7522).
17180
17181 * printing.el (pr-toggle-region): Clarify the documentation
17182 slightly (bug#7493).
17183
17184 * time.el (display-time-update):
17185 Allow `display-time-mail-function' to return nil (bug#7158).
17186 Fix suggested by Detlev Zundel.
17187
17188 * vc/diff.el (diff): Clarify the order the file names are read
17189 (bug#7111).
17190
17191 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
17192 the doc string (bug#7015).
17193
17194 * font-lock.el (font-lock-maximum-decoration): Mention what
17195 numeric levels mean (bug#6935).
17196
17197 * startup.el (initial-buffer-choice): Don't mention the `none'
17198 selection, which is against policy.
17199
17200 2011-07-14 Martin Rudalics <rudalics@gmx.at>
17201
17202 * window.el (display-buffer-normalize-special):
17203 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
17204
17205 2011-07-14 Eli Zaretskii <eliz@gnu.org>
17206
17207 * subr.el (version<, version<=, version=): Mention "-CVS" and
17208 "-12345" alpha version numbers.
17209
17210 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17211
17212 * bindings.el: Add advertised binding for set-mark-command
17213 (Bug#5772).
17214
17215 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
17216
17217 * bindings.el (mode-line-other-buffer):
17218 * bookmark.el (bookmark-bmenu-2-window):
17219 * bs.el (bs-cycle-next, bs-cycle-previous):
17220 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
17221 switch-to-buffer.
17222
17223 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17224 Delete.
17225
17226 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * follow.el (follow-debug-message, follow-redisplay):
17229 * jka-cmpr-hook.el (with-auto-compression-mode):
17230 Fix typos in docstrings.
17231
17232 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17233
17234 * subr.el (with-silent-modifications): Clarify somewhat what the
17235 macro inhibits (bug#6525).
17236
17237 * simple.el (eval-expression): Note what it does if called
17238 interactively (bug#6495).
17239
17240 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17241
17242 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
17243 Use pop-to-buffer buffer-or-name if it is nil.
17244
17245 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17246 Remove switch-to-buffer.
17247
17248 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17249
17250 * files.el (make-directory): Clarify that an error will be raised
17251 if there's an error (bug#6397).
17252
17253 * startup.el (initial-buffer-choice): Add `none' as a choice
17254 (bug#6234).
17255
17256 * subr.el (add-hook): Clarify section about buffer-local hooks
17257 (bug#6218).
17258
17259 * dired.el (dired-flagged): Clarify doc string (bug#6117).
17260
17261 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17262
17263 * tabify.el (untabify): Preserve the current column so that point
17264 doesn't move (bug#6032).
17265
17266 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17267
17268 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
17269 Rewrite to avoid awkward possessive "s" (bug#5986).
17270
17271 2011-07-13 Glenn Morris <rgm@gnu.org>
17272
17273 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
17274 (dired-insert-directory): Give a message the first time
17275 if ls is found not to support --dired.
17276
17277 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17278
17279 * simple.el (toggle-truncate-lines): Clarify what is toggled
17280 (bug#5580). Text by Drew Adams.
17281
17282 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
17283
17284 * simple.el (blink-matching-open): Make the error message from the
17285 last change less verbose.
17286
17287 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
17288
17289 * font-lock.el (font-lock-comment-face): Use the high contrast
17290 "yellow" color for font-lock-comment-face on low color terminals
17291 using a dark background color (bug#4221).
17292
17293 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17294
17295 * dired.el (dired-insert-set-properties): Make the doc string
17296 reflect what it does now (bug#5325).
17297
17298 * simple.el (blink-matching-open): Say that we were unable to find
17299 the match within the limit, if we're limited (bug#5122).
17300
17301 * international/mule-cmds.el (prefer-coding-system): Add an
17302 example (bug#4869).
17303
17304 * progmodes/etags.el (tags-search): Document `file-list-form'
17305 (bug#4731).
17306
17307 2011-07-13 Lawrence Mitchell <wence@gmx.li>
17308
17309 * net/browse-url.el (browse-url-default-browser)
17310 (browse-url-browser-function): Make the default browser choice a
17311 bit more logical (bug#4300). Also clean up the doc string.
17312
17313 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
17314
17315 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
17316 binary endings (bug#4440).
17317
17318 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
17319
17320 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
17321 which can be pretty annoying (bug#8971).
17322
17323 * jka-compr.el (jka-compr-verbose): New variable, and use
17324 throughout (bug#8971).
17325
17326 * info.el (Info-find-file): Fall back on the installation
17327 directory if we can't find the info node anywhere else.
17328
17329 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
17330
17331 * vc/vc.el (vc-revert-file):
17332 Don't set file time-stamp in the past. (Bug#5181)
17333
17334 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17335
17336 * files.el (after-find-file): Give a better error message when
17337 trying to find a symlink that points to a file that doesn't exist
17338 (bug#4398).
17339
17340 * progmodes/cc-vars.el: Remove (probably) misleading comment
17341 (bug#4396).
17342
17343 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17344
17345 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
17346
17347 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17348
17349 * mouse-sel.el: Hack restoring functionality, while keeping
17350 compatibility with 2010-07-03 changes to mouse selection.
17351 (mouse-sel-primary-overlay): New var.
17352 (mouse-sel-selection-alist): Use it.
17353 (mouse-sel-mode): Doc fix; remove points that are default features
17354 of mouse.el.
17355
17356 2011-07-12 Johan Bockgård <bojohan@gnu.org>
17357
17358 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17359 Fix previous fix (bug#2490).
17360
17361 2011-07-12 Roland Winkler <winkler@gnu.org>
17362
17363 * textmodes/bibtex.el (bibtex-initialize):
17364 Use pop-to-buffer-same-window.
17365 (bibtex-search-entries): Fix interactive call.
17366
17367 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17368
17369 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17370 Fontise bytecomp Error lines more correctly (bug#2490).
17371 Fix suggested by Johan Bockgård.
17372
17373 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
17374
17375 * dired-x.el (dired-guess-default): Use `delete-dups'.
17376
17377 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
17378
17379 * dired.el (dired-mark-prompt):
17380 * dired-aux.el (dired-read-shell-command): Doc fix.
17381
17382 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17383
17384 * mail/sendmail.el (sendmail-query-once):
17385 Use `customize-save-variable' unconditionally, now that it works under
17386 emacs -Q.
17387
17388 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17389
17390 * cus-edit.el (custom-file): Take an optional no-error variable.
17391 (customize-save-variable): Set the variable, and give a warning if
17392 running under "emacs -q".
17393
17394 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
17395
17396 * loadhist.el (unload-feature-special-hooks):
17397 Add `auto-coding-functions', `fill-nobreak-predicate' and
17398 `find-directory-functions' (bug#5327).
17399
17400 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17401
17402 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
17403
17404 * cus-edit.el (custom-guess-name-alist): -alist variables should
17405 use the `alist' type (bug#3120). Suggested by Drew Adams.
17406
17407 * printing.el: Add documentation to all the `pr-toggle-' commands.
17408
17409 2011-07-11 Leo Liu <sdl.web@gmail.com>
17410
17411 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
17412 backends where it makes sense (bug#2623).
17413
17414 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17415
17416 * dired-x.el (dired-guess-default): Remove duplicate shell command
17417 entries (bug#2028).
17418 (dired-guess-default): Fix grammar in doc string (bug#2028).
17419 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
17420
17421 * subr.el (remove-duplicates): New conveniency function.
17422
17423 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
17424
17425 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
17426 (bug#1526).
17427
17428 2011-07-10 Martin Rudalics <rudalics@gmx.at>
17429
17430 * window.el (display-buffer-normalize-default): Don't invert
17431 meaning of even-window-heights. Reported by Eli Zaretskii
17432 <eliz@gnu.org>.
17433
17434 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
17435
17436 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
17437
17438 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
17439
17440 * window.el (display-buffer): Fix arguments to
17441 display-buffer-reuse-window in last change.
17442
17443 * faces.el (link): Use a less saturated blue on light backgrounds.
17444
17445 * startup.el (fancy-startup-text, fancy-about-text)
17446 (fancy-startup-tail): Use font-lock faces, for background safety.
17447
17448 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
17449
17450 * emulation/viper-cmd.el (viper-change-state-to-vi):
17451 Limit triggering of abbrev expansion (Bug#9038).
17452
17453 2011-07-09 Martin Rudalics <rudalics@gmx.at>
17454
17455 * window.el (display-buffer-default-specifiers): Remove.
17456 (display-buffer-macro-specifiers): Remove default specifiers.
17457 (display-buffer-alist): Default to nil.
17458 (display-buffer-reuse-window): New optional argument other-window.
17459 (display-buffer-pop-up-window): Allow splitting internal
17460 windows. Check whether a live window was created.
17461 (display-buffer-other-window-means-other-frame)
17462 (display-buffer-normalize-arguments): Rename to
17463 display-buffer-normalize-argument and rewrite. Set the
17464 other-window specifier.
17465 (display-buffer-normalize-special): New function.
17466 (display-buffer-normalize-options): Rename to
17467 display-buffer-normalize-default and rewrite.
17468 (display-buffer-normalize-options-inhibit): Remove.
17469 (display-buffer-normalize-specifiers): Rewrite.
17470 (display-buffer): Process other-window specifier and call
17471 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
17472 more faithfully.
17473 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
17474 (display-buffer-alist-set): Don't handle 'unset default values.
17475 (display-buffer-in-window, display-buffer-alist-set):
17476 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
17477 <tassilo@member.fsf.org>.
17478
17479 2011-07-09 Leo Liu <sdl.web@gmail.com>
17480
17481 * register.el (insert-register): Restore accidental change on
17482 2011-06-26. (Bug#9028)
17483
17484 2011-07-09 Glenn Morris <rgm@gnu.org>
17485
17486 * subr.el (remq): Handle the empty list. (Bug#9024)
17487
17488 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
17489
17490 * mail/sendmail.el (send-mail-function): No longer delay custom
17491 initialization.
17492 * custom.el (custom-initialize-delay): Doc fix.
17493
17494 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17495
17496 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
17497
17498 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
17499
17500 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
17501 human-friendly prompt.
17502
17503 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
17504
17505 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
17506 provided by a particular plugin.
17507
17508 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
17509
17510 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
17511 save customizations (with "emacs -Q"), just set the variable
17512 instead of erroring out.
17513
17514 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
17515
17516 2011-07-08 Juri Linkov <juri@jurta.org>
17517
17518 * arc-mode.el (archive-zip-expunge, archive-zip-update)
17519 (archive-zip-update-case): Use 7z if found by `executable-find'.
17520 The order of searching the available programs is the same as in
17521 `archive-zip-extract' (bug#8968).
17522
17523 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17524
17525 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
17526 (menu-bar-options-menu): Tweak descriptions.
17527
17528 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17529
17530 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
17531 menu items into verb phrases (bug#1421). Also refill to fit under
17532 80 columns.
17533
17534 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17535
17536 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
17537 (Info-read-node-name): Doc fix (Bug#1084).
17538
17539 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
17540 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
17541 (end-of-sexp, beginning-of-sexp)
17542 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
17543 (forward-symbol, forward-same-syntax, word-at-point)
17544 (sentence-at-point): Doc fix (Bug#1144).
17545
17546 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
17547
17548 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
17549 should cover it (bug#1281).
17550
17551 * cus-edit.el (custom-show): Mark as obsolete.
17552
17553 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
17554 negotiation fails, then possibly try again with a non-encrypted
17555 connection (bug#9017).
17556
17557 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
17558 be used.
17559
17560 2011-07-07 Richard Stallman <rms@gnu.org>
17561
17562 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
17563 property, and handle its changed format.
17564 Look for the correct line number.
17565 Use file's line contents (but not past first =) to find
17566 correct line in message.
17567
17568 2011-07-07 Kenichi Handa <handa@m17n.org>
17569
17570 * international/characters.el (build-unicode-category-table):
17571 Delete it.
17572 (unicode-category-table): Set it by unicode-property-table-internal.
17573
17574 * international/mule-cmds.el (char-code-property-alist): Move to
17575 to src/chartab.c.
17576 (get-char-code-property): Call unicode-property-table-internal to
17577 load a file. Call get-unicode-property-internal where necessary.
17578 (put-char-code-property): Call unicode-property-table-internal to
17579 load a file. Call put-unicode-property-internal where necessary.
17580 put-unicode-property-internal where necessary.
17581 (char-code-property-description):
17582 Call unicode-property-table-internal to load a file.
17583
17584 * international/charprop.el:
17585 * international/uni-bidi.el:
17586 * international/uni-category.el:
17587 * international/uni-combining.el:
17588 * international/uni-comment.el:
17589 * international/uni-decimal.el:
17590 * international/uni-decomposition.el:
17591 * international/uni-digit.el:
17592 * international/uni-lowercase.el:
17593 * international/uni-mirrored.el:
17594 * international/uni-name.el:
17595 * international/uni-numeric.el:
17596 * international/uni-old-name.el:
17597 * international/uni-titlecase.el:
17598 * international/uni-uppercase.el: Regenerate.
17599
17600 * loadup.el: Load international/charprop.el before
17601 international/characters.
17602
17603 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
17604
17605 * window.el (next-buffer, previous-buffer): Signal an error if
17606 called from a minibuffer window.
17607
17608 * bindings.el: Revert 2011-07-04 change.
17609
17610 2011-07-06 Richard Stallman <rms@gnu.org>
17611
17612 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
17613 (rmail-mime-insert-bulk, rmail-mime-insert-text):
17614 Treat markers like ints.
17615 (rmail-mime-entity): Doc fix.
17616
17617 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17618
17619 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
17620 defcustom again for backwards compatibility.
17621
17622 * simple.el (shell-command-on-region): Fill.
17623
17624 * dired-aux.el (dired-kill-line): Add a doc string.
17625
17626 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
17627 to "\\sw\\|\\s_" (bug#358).
17628
17629 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17630 (dired-unmark-backward): Ditto.
17631 (dired-flag-backup-files): Ditto.
17632
17633 * dired-x.el (dired-mark-sexp): Ditto.
17634
17635 2011-07-06 Richard Stallman <rms@gnu.org>
17636
17637 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17638 (rmail-mime-entity): New arg TRUNCATED.
17639 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17640 New functions.
17641 (rmail-mime-save): Warn if entity is truncated.
17642 (rmail-mime-toggle-hidden): Likewise, for showing.
17643 (rmail-mime-process-multipart): Record when an entity is truncated.
17644
17645 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17646 if ENTITY is a string.
17647
17648 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17649
17650 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17651 of faces when `M-C-x'-ing their definitions (bug#8378).
17652 Also clean up the code slightly.
17653
17654 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17655 because that makes the colors go away.
17656
17657 * mail/sendmail.el (send-mail-function): Change the default to
17658 `sendmail-query-once'.
17659 (sendmail-query-once): Add an autoload cookie.
17660
17661 * net/network-stream.el (network-stream-open-starttls): Try using
17662 a plain connection even if the server offered STARTTLS, and we
17663 kinda wanted to use it, if Emacs doesn't have any STARTTLS
17664 capability. This should make smtpmail.el work in slightly more
17665 configurations.
17666
17667 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
17668
17669 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17670 New defun.
17671 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17672
17673 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
17674
17675 * progmodes/sql.el: Version 3.0
17676 (sql-product-alist): Add product :completion-object,
17677 :completion-column, and :statement attributes.
17678 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17679 (sql-mode-syntax-table): Mark all punctuation.
17680 (sql-font-lock-keywords-builder): Temporarily remove fallback on
17681 ansi keywords.
17682 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17683 (sql-mode-oracle-font-lock-keywords): Improve.
17684 (sql-oracle-show-reserved-words): New function for development.
17685 (sql-product-font-lock): Simplify for source code buffers.
17686 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17687 New functions.
17688 (sql-highlight-product): Set product specific syntax table.
17689 (sql-mode-map): Add statement movement functions.
17690 (sql-ansi-statement-starters, sql-oracle-statement-starters):
17691 New variable.
17692 (sql-statement-regexp, sql-beginning-of-statement)
17693 (sql-end-of-statement, sql-signum): New functions.
17694 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17695 (sql-show-sqli-buffer): Bug fix.
17696 (sql-interactive-mode): Store connection data as buffer local.
17697 (sql-connect): Add NEW-NAME parameter. Redesign interaction
17698 with sql-interactive-mode.
17699 (sql-save-connection): Save buffer local settings.
17700 (sql-connection-menu-filter): Change menu entry name.
17701 (sql-product-interactive): Bug fix.
17702 (sql-preoutput-hold): New variable.
17703 (sql-interactive-remove-continuation-prompt): Bug fixes.
17704 (sql-debug-redirect): New variable.
17705 (sql-str-literal): New function.
17706 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17707 Redesign.
17708 (sql-oracle-save-settings, sql-oracle-restore-settings)
17709 (sql-oracle-list-all, sql-oracle-list-table): New functions.
17710 (sql-completion-object, sql-completion-column)
17711 (sql-completion-sqlbuf): New variables.
17712 (sql-build-completions-1, sql-build-completions)
17713 (sql-try-completion): New functions.
17714 (sql-read-table-name): Use them.
17715 (sql-contains-names): New buffer local variable.
17716 (sql-list-all, sql-list-table): Use it.
17717 (sql-oracle-completion-types): New variable.
17718 (sql-oracle-completion-object, sql-sqlite-completion-object)
17719 (sql-postgres-completion-object): New functions.
17720
17721 2011-07-06 Glenn Morris <rgm@gnu.org>
17722
17723 * window.el (pop-to-buffer): Doc fix.
17724
17725 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
17726
17727 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17728
17729 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
17730
17731 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17732
17733 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17734
17735 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
17736
17737 * button.el (button): Inherit from link face. Suggested by Dan
17738 Nicolaescu.
17739
17740 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17741
17742 * progmodes/gdb-mi.el: Fit in 80 columns.
17743 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17744 switch-to-buffer.
17745
17746 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17747 if imenu is simply not configured (bug#8941).
17748
17749 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
17750
17751 * allout.el (allout-post-undo-hook): New allout outline-change
17752 event hook to signal undo activity.
17753 (allout-post-command-business): Run allout-post-undo-hook if an
17754 undo just occurred.
17755 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17756 * allout-widgets.el (allout-widgets-after-undo-function):
17757 Ensure the integrity of the current item's decoration after it has been
17758 in the vicinity of an undo.
17759 (allout-widgets-mode): Include allout-widgets-after-undo-function
17760 on the new allout-post-undo-hook.
17761
17762 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17763
17764 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17765 Let define-derived-mode define it.
17766 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17767 cycles of abbrev-table inheritance (bug#8998).
17768
17769 2011-07-05 Roland Winkler <winkler@gnu.org>
17770
17771 * textmodes/bibtex.el: Add support for biblatex.
17772 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17773 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17774 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17775 (bibtex-entry-alist, bibtex-field-alist): New variables.
17776 (bibtex-entry-field-alist): Obsolete alias for
17777 bibtex-BibTeX-entry-alist.
17778 (bibtex-entry-alist, bibtex-field-alist): New widgets.
17779 (bibtex-set-dialect): New command.
17780 (bibtex-entry-type, bibtex-entry-head)
17781 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17782 Bind via bibtex-set-dialect.
17783 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17784 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17785 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17786 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17787 Define via bibtex-set-dialect.
17788 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17789 Obey bibtex-no-opt-remove-re.
17790 (bibtex-vec-push, bibtex-vec-incr): New functions.
17791 (bibtex-format-entry, bibtex-field-list)
17792 (bibtex-print-help-message, bibtex-validate)
17793 (bibtex-search-entries): Use new format of bibtex-entry-alist.
17794
17795 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
17796
17797 * progmodes/compile.el (compilation-goto-locus):
17798 * net/tramp-cmds.el (tramp-append-tramp-buffers):
17799 * bs.el (bs-cycle-next, bs-cycle-previous):
17800 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17801 * bindings.el (mode-line-other-buffer):
17802 * autoinsert.el (auto-insert):
17803 * arc-mode.el (archive-extract):
17804 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17805
17806 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17807
17808 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17809 Fix check of `emacs-lock-unlockable-modes'.
17810 Coerce true values of `emacs-lock--try-unlocking' to t.
17811
17812 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17813
17814 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17815 * emacs-lock.el: New file.
17816
17817 2011-07-05 Julien Danjou <julien@danjou.info>
17818
17819 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17820 than `boundp' to check if face is set.
17821
17822 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
17823
17824 * register.el (registerv-make):
17825 * window.el (window-min-height): Fix typos in docstrings.
17826
17827 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
17828
17829 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17830 Update doc string.
17831
17832 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17833
17834 * server.el (server-execute): Catch quit and call
17835 `server-return-error' to pass the error back to emacsclient and
17836 close the connection (bug#8942).
17837
17838 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
17839
17840 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17841 insecure exception for current topic. Also note that auto-saves
17842 are handled differently.
17843
17844 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17845 State variables for tracking auto-save inhibition situation.
17846
17847 (allout-write-contents-hook-handler): Rename from
17848 'allout-write-file-hook-handler', and describe how it depends on
17849 write-contents-functions sensitivity to non-nil value to prevent
17850 file write.
17851
17852 (allout-auto-save-hook-handler): Remove. auto-save does not check
17853 this in individual buffers, only in the starting buffer, so this
17854 is not the right way for us to inhibit auto-save in a buffer
17855 according to its condition.
17856
17857 (allout-mode): Use new allout-write-contents-hook-handler, and
17858 only with write-contents-functions. Remove auto-save provisions -
17859 they're implemented elsewhere.
17860
17861 (allout-before-change-handler): If undo is in progress, note that
17862 for attention of allout-post-command-business.
17863
17864 (allout-post-command-business): If the command we're following was
17865 an undo, check for change in the status of encrypted items and
17866 adjust auto-save inhibitions accordingly.
17867
17868 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17869 according to whether there are or aren't any plain-text topics
17870 pending encryption.
17871
17872 (allout-inhibit-auto-save-info-for-decryption):
17873 Adjust buffer-saved-size and some allout state to inhibit auto-saves
17874 if there are plain-text topics pending encryption.
17875
17876 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17877 buffer-saved-size and some allout state to not inhibit auto-saves
17878 if there are no longer any plain-text topics pending encryption.
17879
17880 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17881 No longer provide for exemption of the current topic.
17882
17883 2011-07-04 Juri Linkov <juri@jurta.org>
17884
17885 Add 7z operations to delete and save changed members (bug#8968).
17886 * arc-mode.el (archive-7z-expunge, archive-7z-update):
17887 New defcustoms.
17888 (archive-7z-write-file-member): New function.
17889 (archive-7z-summarize): Fix the number of dashes in the
17890 listing output.
17891
17892 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17893
17894 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17895 (bug#8958).
17896
17897 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
17898
17899 * bindings.el: Ignore next-buffer and previous-buffer in
17900 minibuffer-local-map.
17901
17902 * font-lock.el (font-lock-builtin-face): Change light background
17903 color to dark slate blue (Bug#6693).
17904
17905 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
17906
17907 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17908
17909 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
17910
17911 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17912 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17913 Add switch-to-buffer.
17914
17915 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17916
17917 * isearch.el (isearch-search-fun-function): Clarify further the
17918 meaning of the function returned.
17919
17920 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
17921
17922 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17923
17924 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17925 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17926 Use it.
17927 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
17928 `tramp-default-remote-path' does not exist.
17929 (tramp-send-command-and-read): New optional argument NOERROR.
17930 (tramp-open-connection-setup-interactive-shell)
17931 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17932 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17933 (tramp-process-sentinel): Flush also process' connection property.
17934 (tramp-sh-handle-start-file-process): Do not set process
17935 sentinel. It is done now ...
17936 (tramp-maybe-open-connection): ... here. (Bug#8929)
17937
17938 2011-07-04 MON KEY <monkey@sandpframing.com>
17939
17940 * play/animate.el (animate-string): Doc fixes and allow changing
17941 the buffer name (bug#5417).
17942
17943 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
17944
17945 * play/animate.el (animation-buffer-name): Rename from *animate*.
17946
17947 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
17948
17949 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17950 This is simpler and helps future-proof the code.
17951 (timer-until): Use time-subtract and float-time.
17952 (timer--time-less-p): Use time-less-p.
17953
17954 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
17955
17956 * type-break.el (timep): Use the value of `float-time' to avoid a
17957 byte-compiler warning.
17958
17959 * server.el (server-eval-and-print): Return any result, even nil.
17960
17961 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
17962
17963 * type-break.el: Accept time formats that the builtins accept.
17964 (timep, type-break-time-difference): Accept any format that
17965 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17966 This is simpler and helps future-proof the code.
17967 (type-break-time-difference): Round rather than ignoring
17968 subseconds components.
17969
17970 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17971
17972 * info.el (Info-apropos-matches): Make non-interactive, since it
17973 doesn't seem to do anything useful as a command (bug#8829).
17974
17975 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
17976
17977 * frame.el (frame-background-mode, frame-set-background-mode):
17978 Move from faces.el.
17979 (frame-default-terminal-background): New function.
17980
17981 * custom.el (custom-push-theme): Don't record faces in `changed'
17982 theme; this doesn't work correctly for per-frame face settings.
17983 (disable-theme): Use face-set-after-frame-default to reset faces.
17984 (custom--frame-color-default): New function.
17985
17986 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17987
17988 * dired.el (dired-flagging-regexp): Remove unused variable
17989 (bug#8769).
17990
17991 2011-03-29 Kevin Ryde <user42@zip.com.au>
17992
17993 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17994 `perl-Test2' extend to match possible "fail #N" rep count
17995 (bug#8377).
17996
17997 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
17998
17999 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
18000 `smtpmail-via-smtp' now returns the error instead of nil.
18001
18002 * isearch.el (isearch-search-fun-function): Clarify the doc string
18003 (bug#8101).
18004
18005 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
18006
18007 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
18008 unnecessary spaces (bug#8987).
18009
18010 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18011
18012 * net/network-stream.el (open-network-stream): Use the
18013 :end-of-capability command thoughout.
18014
18015 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
18016
18017 * net/network-stream.el (open-network-stream): Add the
18018 :end-of-capability command parameter, used by pop3.el.
18019
18020 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
18021
18022 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
18023
18024 * fringe.el (fringe-query-style): Remove redundant text " (type ?
18025 for list)" (bug#6475).
18026
18027 * files.el (file-expand-wildcards): Ignore non-readable
18028 sub-directories while trying to find matches instead of signaling
18029 an error (bug#6297).
18030
18031 * man.el (Man-reference-regexp): Allow matching possible
18032 word-wrapped references (bug#6289).
18033
18034 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
18035 for consistency with the other vc buffers (bug#6197).
18036 (vc-checkin): Ditto.
18037
18038 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
18039
18040 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
18041
18042 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18043
18044 * custom.el (defcustom): Clarify that :set is only used in the
18045 Customize user interface (bug#6089).
18046
18047 * progmodes/flymake.el (flymake-mode): If the buffer isn't
18048 associated with a file, refuse to run instead of erroring out
18049 (bug#6084).
18050
18051 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
18052 the doc string, since it appears that using `fill-column' always
18053 controls the width (bug#7845).
18054
18055 * simple.el (shell-command-on-region): Say where the error output
18056 went if `shell-command-default-error-buffer' is set (bug#6857).
18057
18058 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
18059
18060 * allout.el (allout-yank-processing): Adjust cursor position for
18061 backwards-deleted space.
18062
18063 (allout-rebullet-heading): Register changes with
18064 allout-exposure-changed-hook, so the modified topic is properly
18065 decorated.
18066
18067 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18068
18069 * minibuffer.el (completion-in-region): Document PREDICATE
18070 (bug#7136).
18071
18072 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
18073 of keyword/argument pairs (bug#6904).
18074
18075 * replace.el (multi-occur):
18076 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
18077
18078 2011-07-02 Drew Adams <drew.adams@oracle.com>
18079
18080 * dired.el (dired-mark-if): Make the message about whether it's
18081 marking or unmarking clearer (bug#8523).
18082
18083 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18084
18085 * disp-table.el (display-table-print-array): New function.
18086 (describe-display-table): Use it to print the vectors more pretty
18087 (Bug#8859).
18088
18089 2011-07-02 Martin Rudalics <rudalics@gmx.at>
18090
18091 * window.el (window-state-get-1): Don't assign clone numbers.
18092 Add clone-of item to list of window parameters.
18093 (window-state-put-2): Don't process clone numbers.
18094 (display-buffer-alist): Fix doc-string.
18095
18096 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
18097
18098 * subr.el (remq): Don't allocate if it's not needed.
18099 (keymap--menu-item-binding, keymap--menu-item-with-binding)
18100 (keymap--merge-bindings): New functions.
18101 (keymap-canonicalize): Use them to refine the canonicalization.
18102 * minibuffer.el (minibuffer-local-completion-map)
18103 (minibuffer-local-must-match-map): Move initialization from C.
18104 (minibuffer-local-filename-completion-map): Move initialization from C;
18105 don't inherit from anything here.
18106 (minibuffer-local-filename-must-match-map): Make obsolete.
18107 (completing-read-default): Use make-composed-keymap to combine
18108 minibuffer-local-filename-completion-map with either
18109 minibuffer-local-must-match-map or
18110 minibuffer-local-filename-completion-map.
18111
18112 2011-07-01 Glenn Morris <rgm@gnu.org>
18113
18114 * type-break.el (type-break-time-sum): Use dolist.
18115
18116 * textmodes/flyspell.el (flyspell-word-search-backward):
18117 Replace CL function.
18118
18119 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18120
18121 * mouse.el (mouse--strip-first-event): New function.
18122 (function-key-map): Use it to map fringe clicks to normal clicks
18123 by default.
18124
18125 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
18126 (vc-bzr-revision-completion-table): Add support for annotate and date.
18127
18128 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
18129 inherit from parent.
18130
18131 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
18132
18133 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
18134 (dired-show-file-type): Doc fixup (bug#8818).
18135
18136 * dired.el (dired-mode): Fix up the doc string as suggested by
18137 Drew Adams (bug#8817).
18138
18139 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
18140 cookie, since the manual says that it should be possible to add
18141 this function to `find-file-hook' (bug#8709).
18142
18143 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18144
18145 * progmodes/cfengine.el: Moved all cfengine3.el functionality
18146 here. Noted Ted Zlatanov as the maintainer.
18147 (cfengine-common-settings, cfengine-common-syntax): New functions
18148 to set up common things between `cfengine-mode' and
18149 `cfengine3-mode'.
18150 (cfengine3-mode): New mode.
18151 (cfengine3-defuns cfengine3-defuns-regex
18152 (cfengine3-class-selector-regex cfengine3-category-regex)
18153 (cfengine3-vartypes cfengine3-font-lock-keywords)
18154 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
18155 (cfengine3-indent-line): Add from cfengine3.el.
18156
18157 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
18158
18159 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
18160
18161 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
18162
18163 2011-07-01 Martin Rudalics <rudalics@gmx.at>
18164
18165 * window.el (same-window-buffer-names, same-window-regexps)
18166 (same-window-p, special-display-frame-alist)
18167 (special-display-popup-frame, special-display-function)
18168 (special-display-buffer-names, special-display-regexps)
18169 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
18170 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18171 (split-window-preferred-function, split-height-threshold)
18172 (split-width-threshold, even-window-heights)
18173 (display-buffer-mark-dedicated, window-splittable-p)
18174 (split-window-sensibly, window-safely-shrinkable-p):
18175 Un-obsolete.
18176 (display-buffer): Don't spread args with function specifier
18177 because special-display-popup-frame won't like it.
18178
18179 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
18180
18181 Time-stamp simplifications and fixes.
18182 These improve accuracy slightly, and future-proof the code
18183 against some potential changes to current-time format.
18184
18185 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
18186 by using time-since and float-time.
18187
18188 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
18189 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
18190 + NNN microseconds".
18191
18192 * type-break.el (type-break-time-sum): Rewrite using time-add.
18193
18194 * play/hanoi.el (hanoi-current-time-float): Remove.
18195 All uses replaced by float-time.
18196
18197 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
18198 This yields a more-accurate answer.
18199 (rng-time-to-float): Remove; no longer needed.
18200
18201 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
18202
18203 * calendar/timeclock.el (timeclock-seconds-to-time):
18204 Defalias to seconds-to-time, since they're the same thing.
18205
18206 * emacs-lisp/elp.el (elp-elapsed-time):
18207 * emacs-lisp/benchmark.el (benchmark-elapse):
18208 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
18209
18210 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18211
18212 * window.el (bury-buffer): Don't iconify the only frame.
18213 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
18214 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
18215
18216 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
18217
18218 * eshell/em-smart.el (eshell-smart-display-navigate-list):
18219 Add mouse-yank-primary.
18220
18221 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
18222
18223 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
18224
18225 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
18226
18227 * emacs-lisp/find-func.el (find-library--load-name): New fun.
18228 (find-library-name): Use it to find relative load names when provided
18229 absolute file name (bug#8803).
18230
18231 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18232
18233 * textmodes/flyspell.el (flyspell-word): Consider words that
18234 differ only in case as potential doublons (bug#5687).
18235
18236 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
18237 Remove two rather uninteresting debugging-like messages to make
18238 debbugs.el more silent.
18239
18240 * comint.el (comint-password-prompt-regexp): Accept "Response" as
18241 a password-like phrase.
18242
18243 2011-06-30 Masatake YAMATO <yamato@redhat.com>
18244
18245 * progmodes/cc-guess.el: New file.
18246
18247 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
18248
18249 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
18250 derived from `c-basic-common-init'.
18251
18252 * progmodes/cc-mode.el (top-level): Require cc-guess.
18253 (c-basic-common-init): Use `cc-choose-style-for-mode'.
18254
18255 2011-06-30 Lawrence Mitchell <wence@gmx.li>
18256
18257 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
18258
18259 2011-06-30 Alan Mackenzie <acm@muc.de>
18260
18261 * progmodes/cc-engine.el (c-guess-continued-construct):
18262 Correct the handling of template-args-cont, particularly for when font
18263 lock is disabled. Name this case as "CASE G".
18264
18265 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
18266
18267 * allout.el (allout-yank-processing): Fix injection of extra space
18268 between bullet and non-whitespace character in first topic when
18269 pasting, ensuring that the actual spacing in the pasted topic
18270 following the bullet char is preserved. This extra space was
18271 causing pasted encrypted topics to get a decrypted status even
18272 when the content was actually still encrypted. Now the decryption
18273 status from before the paste is preserved.
18274
18275 (allout-flag-region): Set all allout overlays so they evaporate
18276 when reduced to zero length (evanescent), to prevent overlay
18277 leakage.
18278
18279 2011-06-30 Glenn Morris <rgm@gnu.org>
18280
18281 * w32-fns.el (w32-charset-info-alist): Declare.
18282
18283 * find-dired.el (find-grep-options): Simplify.
18284
18285 * term/ns-win.el (ns-set-resource): Declare.
18286
18287 * ses.el (row, col): Declare dynamic variables honestly.
18288
18289 * textmodes/reftex-parse.el (index-tags): Declare.
18290
18291 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
18292
18293 * cus-edit.el (customize-push-and-save): New function.
18294
18295 * files.el (hack-local-variables-confirm): Use it.
18296
18297 * custom.el (load-theme): New arg NO-CONFIRM.
18298 Use customize-push-and-save (Bug#8720).
18299 (custom-enabled-themes): Doc fix.
18300
18301 * cus-theme.el (customize-create-theme)
18302 (custom-theme-merge-theme): Callers to load-theme changed.
18303
18304 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
18305
18306 * thingatpt.el (thing-at-point-short-url-regexp): Require that
18307 short URLs have at least one dot in them (bug #7614).
18308
18309 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
18310 nil, because using a pty is apparently too slow (bug #895).
18311
18312 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
18313
18314 * mail/sendmail.el (sendmail-query-once): New function.
18315 (sendmail-query-once-function): New variable.
18316
18317 2011-06-29 Glenn Morris <rgm@gnu.org>
18318
18319 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
18320
18321 * ses.el (top-level): Require cl when compiling.
18322 (ses-set-localvars): Fix error statement.
18323 Call it at compile time to silence a storm of warnings.
18324
18325 2011-06-29 Martin Rudalics <rudalics@gmx.at>
18326
18327 * window.el (normalize-live-buffer): Rename to
18328 window-normalize-buffer.
18329 (normalize-live-frame): Rename to window-normalize-frame.
18330 (normalize-any-window): Rename to window-normalize-any-window.
18331 (normalize-live-window): Rename to window-normalize-live-window.
18332 (make-window-atom): Rename to window-make-atom.
18333 (window-resize-reset): Rename to window--resize-reset.
18334 (window-resize-reset-1): Rename to window--resize-reset-1.
18335 (resize-mini-window): Rename to window--resize-mini-window.
18336 (resize-subwindows-skip-p): Rename to
18337 window--resize-subwindows-skip-p.
18338 (resize-subwindows-normal): Rename to
18339 window--resize-subwindows-normal.
18340 (resize-subwindows): Rename to window--resize-subwindows.
18341 (resize-other-windows): Rename to window--resize-siblings.
18342 (resize-this-window): Rename to window--resize-this-window.
18343 (resize-root-window): Rename to window--resize-root-window.
18344 (resize-root-window-vertically): Rename to
18345 window--resize-root-window-vertically.
18346 (normalize-buffer-to-display): Rename to
18347 window-normalize-buffer-to-display.
18348 (normalize-buffer-to-switch-to): Rename to
18349 window-normalize-buffer-to-switch-to.
18350 Correspondingly update all callers of the functions listed
18351 above.
18352 (display-buffer-alist, display-buffer-normalize-arguments)
18353 (display-buffer-normalize-options, display-buffer)
18354 (display-buffer-alist-set): Use "function" instead of
18355 "fun-with-args".
18356
18357 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
18358
18359 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
18360 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
18361 debbugs.gnu.org. Mention acknowledgment email.
18362
18363 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
18364
18365 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
18366 buffer multibyteness, since it shouldn't matter.
18367
18368 2011-06-28 Martin Rudalics <rudalics@gmx.at>
18369
18370 * window.el (display-buffer-in-side-window): Handle dedicated
18371 windows as in display-buffer-reuse-window.
18372 (display-buffer-normalize-alist): Use value of override
18373 specifier.
18374 (display-buffer-normalize-specifiers): Use value of
18375 other-window-means-other-frame specifier.
18376 (display-buffer-alist): Rewrite some texts in widgets.
18377 (display-buffer): Spread arguments when calling function
18378 specified by fun-with-args.
18379
18380 2011-06-28 Deniz Dogan <deniz@dogan.se>
18381
18382 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
18383 Unnest `let'.
18384
18385 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
18386 selectors (Bug#5732).
18387 (css-proprietary-nmstart-re): Use `regexp-opt'.
18388
18389 2011-06-27 Jari Aalto <jari.aalto@cante.net>
18390
18391 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
18392 (eshell-ls-date-format): New defcustom.
18393 (eshell-ls-file): Use it.
18394
18395 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18396
18397 * help-fns.el (describe-variable): Fix message for terminal-local vars.
18398
18399 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
18400
18401 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
18402 (ange-ftp-make-tmp-name): New arg.
18403 (ange-ftp-file-local-copy): Use it.
18404
18405 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
18406
18407 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
18408 no-conversion (Bug#8870).
18409
18410 2011-06-27 Martin Rudalics <rudalics@gmx.at>
18411
18412 * window.el (window-right, window-left, window-child)
18413 (window-child-count, window-last-child)
18414 (window-iso-combination-p, walk-window-tree-1)
18415 (window-atom-check-1, window-tree-1, delete-window)
18416 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
18417 new naming conventions - window-vchild, window-hchild,
18418 window-next and window-prev are now called window-top-child,
18419 window-left-child, window-next-sibling and window-prev-sibling
18420 respectively.
18421 (resize-window-reset): Rename to window-resize-reset.
18422 (resize-window-reset-1): Rename to window-resize-reset-1.
18423 (resize-window): Rename to window-resize.
18424 (window-min-height, window-min-width)
18425 (resize-mini-window, resize-this-window, resize-root-window)
18426 (resize-root-window-vertically, adjust-window-trailing-edge)
18427 (enlarge-window, shrink-window, maximize-window)
18428 (minimize-window, delete-window, quit-restore-window)
18429 (split-window, balance-windows, balance-windows-area-adjust)
18430 (balance-windows-area, window-state-put-2)
18431 (display-buffer-even-window-sizes, display-buffer-set-height)
18432 (display-buffer-set-width, set-window-text-height)
18433 (fit-window-to-buffer): Rename all "resize-window" prefixed
18434 calls to use the "window-resize" prefix convention.
18435 (display-buffer-alist): Fix symbol for label specifier.
18436 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
18437 corresponding specifier.
18438 Reported by Juanma Barranquero <lekktu@gmail.com>.
18439
18440 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18441
18442 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
18443 convention.
18444 (ses-call-printer): Does not pass an empty string to formatter when the
18445 cell is empty to keep from barking printer Calc math-format-value.
18446
18447 2011-06-27 Richard Stallman <rms@gnu.org>
18448
18449 * battery.el (battery-mode-line-limit): New variable.
18450 (battery-update): Handle it.
18451
18452 * mail/rmailmm.el (rmail-mime-process-multipart):
18453 Handle truncated messages.
18454
18455 2011-06-27 Glenn Morris <rgm@gnu.org>
18456
18457 * progmodes/flymake.el (flymake-err-line-patterns):
18458 Allow for column numbers in the ant/javac pattern. (Bug#8866)
18459
18460 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
18461
18462 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
18463 (ses--clean-!, ses--clean-_): New functions.
18464 (ses-range): Add configurability of readout order, and conversion
18465 to Calc vector.
18466
18467 * ses.el (ses-repair-cell-reference-all): New function.
18468 (ses-cell-symbol): Set macro as safe, so that it can be used in
18469 formulas.
18470
18471 * ses.el: Update cycle detection algorithm.
18472 (ses-localvars): Add ses--Dijkstra-attempt-nb and
18473 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
18474 (ses-set-localvars): New function.
18475 (ses-make-cell): Add property-list as a cell element.
18476 (ses-cell-property-get-fun, ses-cell-property-get)
18477 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
18478 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
18479 New functions.
18480 (ses-cell-property-set, ses-cell-property-pop)
18481 (ses-cell-property-get-handle): New macro.
18482 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
18483 New aliases, used for code readability.
18484 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
18485 cycle detection.
18486 (ses-self-reference-early-detection): New defcustom.
18487 (ses-formula-references): Robustify against self-referring cells.
18488 (ses-mode): Use ses-set-localvars.
18489 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
18490 before lauching the update processing.
18491 (ses-initialize-Dijkstra-attempt): New function.
18492 (ses-recalculate-cell): Update for cycle detection based on
18493 Dijkstra algorithm.
18494
18495 * ses.el: Fix commenting and indenting convention.
18496
18497 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
18498
18499 * bs.el (bs-cycle-next): Complete last change.
18500
18501 2011-06-27 Drew Adams <drew.adams@oracle.com>
18502
18503 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
18504
18505 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18506
18507 * net/network-stream.el (network-stream-open-starttls):
18508 Don't re-get capabilities unless we've reestablished connection.
18509 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
18510
18511 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
18512 to binary to possibly avoid line encoding issues on Windows (among
18513 other things).
18514
18515 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18516
18517 * net/network-stream.el (open-network-stream): Return an :error
18518 saying what the problem was, if possible.
18519
18520 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
18521 server.
18522
18523 * net/network-stream.el (network-stream-open-starttls): If we
18524 wanted to use STARTTLS, and the server offered it, but we weren't
18525 able to because we had no STARTTLS support, then close the connection.
18526 (open-network-stream): Return an :error element, if present.
18527
18528 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18529
18530 * hl-line.el (hl-line-sticky-flag): Doc fix.
18531 (global-hl-line-sticky-flag): New option (Bug#8323).
18532 (global-hl-line-highlight): Obey it.
18533
18534 * vc/vc.el (vc-revert-show-diff): Default to t.
18535
18536 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
18537
18538 * allout-widgets.el (allout-widgets-post-command-business):
18539 Stop decorating intermediate isearch matches. They're not being
18540 undecorated when an isearch is continued past, and isearch
18541 automatically collapses them. This leads to "widget leaks", where
18542 decorated items accumulate in collapsed areas. Lines with lots of
18543 hidden widgets can slow down cursor travel, substantially.
18544 Too much complicated machinery would be needed to ensure undecoration,
18545 so we're doing without this nicety.
18546
18547 (allout-widgets-tally-string): Don't try to do a hash-table-count
18548 of allout-widgets-tally when it's nil. This eliminates spurious "Error
18549 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
18550 *Messages* when allout-widgets-maintain-tally is t.
18551
18552 2011-06-26 Martin Rudalics <rudalics@gmx.at>
18553
18554 * window.el (display-buffer-normalize-argument): Rename to
18555 display-buffer-normalize-arguments. Handle special meaning of
18556 LABEL argument. Respect special-display-function when popping up
18557 a new frame. Fix code searching for a window showing the buffer
18558 on another frame.
18559 (display-buffer-normalize-specifiers):
18560 Call display-buffer-normalize-arguments.
18561 (display-buffer-in-window): Don't undedicate the window if its
18562 buffer remains the same.
18563 Reported by Drew Adams <drew.adams@oracle.com>.
18564 (display-buffer-alist): Add choice for same-window macro
18565 specfier.
18566 (display-buffer): Mention special meaning of LABEL argument in
18567 doc-string. Fix quoting. Don't pop up a new frame even as
18568 fallback.
18569
18570 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
18571
18572 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
18573 avoid deleting the current window in some cases (bug#8911).
18574
18575 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
18576
18577 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
18578 (Bug#8934)
18579
18580 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
18581
18582 * net/network-stream.el (network-stream-open-starttls):
18583 Use built-in TLS support if `gnutls-available-p' is true.
18584 (network-stream-open-tls): Ditto.
18585
18586 2011-06-26 Leo Liu <sdl.web@gmail.com>
18587
18588 * register.el (registerv): New struct.
18589 (registerv-make): New function.
18590 (jump-to-register, describe-register-1, insert-register):
18591 Support the jump-func, print-func and insert-func slot of a registerv
18592 struct. (Bug#8415)
18593
18594 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
18595
18596 * vc/vc.el (vc-revert-show-diff): New defcustom.
18597 (vc-diff-internal): New arg specifying diff buffer.
18598 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
18599 reuse an existing *vc-diff* buffer (Bug#8927).
18600
18601 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
18602
18603 2011-06-26 Glenn Morris <rgm@gnu.org>
18604
18605 * progmodes/f90.el (f90-critical-indent): New option.
18606 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
18607 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
18608 (f90-mode): Doc fix.
18609 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
18610 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
18611 (f90-beginning-of-block, f90-next-block, f90-indent-region)
18612 (f90-match-end): Handle block, critical.
18613
18614 2011-06-25 Glenn Morris <rgm@gnu.org>
18615
18616 * calendar/diary-lib.el (diary-included-files): Doc fix.
18617 (diary-include-files): New function, extracted from
18618 diary-include-other-diary-files and diary-mark-included-diary-files.
18619 (diary-include-other-diary-files, diary-mark-included-diary-files):
18620 Just call diary-include-files.
18621 (diary-mark-entries): Reset diary-included-files on first call.
18622
18623 * calendar/diary-lib.el (diary-mark-entries)
18624 (diary-mark-included-diary-files):
18625 Visit included diary-files in temp buffers.
18626
18627 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
18628 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18629 (f90-start-block-re, f90-imenu-generic-expression)
18630 (f90-looking-at-program-block-start, f90-no-block-limit):
18631 Add support for submodules.
18632
18633 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18634 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18635
18636 2011-06-25 Eli Zaretskii <eliz@gnu.org>
18637
18638 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18639 buffer-file-type before setting its value, to avoid disastrous
18640 global effects on decoding files for DOS/Windows systems. (Bug#8780)
18641
18642 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18643
18644 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18645
18646 * ses.el (ses-unload-function):
18647 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18648
18649 * proced.el (proced-unload-function):
18650 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18651
18652 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
18653
18654 * server.el (server-create-window-system-frame): Add parameters arg.
18655 (server-process-filter): Doc fix. Handle frame-parameters.
18656
18657 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
18658
18659 Fix bug#8730, bug#8781.
18660
18661 * loadhist.el (unload--set-major-mode): New function.
18662 (unload-feature): Use it.
18663
18664 * progmodes/python.el (python-after-info-look): Add autoload cookie.
18665 (python-unload-function): New function.
18666
18667 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18670
18671 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
18672
18673 * net/browse-url.el (browse-url-firefox-program): Add icecat to
18674 the candidates list.
18675
18676 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
18677
18678 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18679
18680 2011-06-23 Richard Stallman <rms@gnu.org>
18681
18682 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18683 (rmail-variables): Set next-error-move-function.
18684 (rmail-what-message): Take argument POS.
18685 (rmail-next-error-move): New function.
18686
18687 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
18688
18689 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18690 messages for adjacent non-terminals.
18691
18692 2011-06-23 Richard Stallman <rms@gnu.org>
18693
18694 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18695 (rmail-show-message-1): Preserve buffer modified flag.
18696 (rmail-start-mail): Don't specify use of rmail-mail-return;
18697 that's done by mail-bury now.
18698 (rmail-mail-return): Handle arg NEWBUF.
18699
18700 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
18701
18702 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18703 SIZE is a number.
18704
18705 2011-06-23 Martin Rudalics <rudalics@gmx.at>
18706
18707 * window.el (get-lru-window, get-mru-window)
18708 (get-largest-window): Never return a minibuffer window.
18709 (display-buffer-pop-up-window): Fix a bug that could lead to
18710 reusing the minibuffer window.
18711 (display-buffer): Pass original specifier argument to
18712 display-buffer-function instead of the normalized one.
18713 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18714
18715 2011-06-22 Leo Liu <sdl.web@gmail.com>
18716
18717 * minibuffer.el (completing-read-function)
18718 (completing-read-default): Move from minibuf.c.
18719
18720 2011-06-22 Richard Stallman <rms@gnu.org>
18721
18722 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18723 to Rmail even if not started by a special Rmail command.
18724
18725 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18726 Copy the buffer currently showing just one message.
18727
18728 2011-06-22 Roland Winkler <winkler@gnu.org>
18729
18730 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18731 (bibtex-clean-entry): First delete the old key so that a
18732 customized algorithm for generating the new key does not get
18733 confused by the old key.
18734 (bibtex-url): Obey regexp of first step.
18735 (bibtex-search-entries): Do not use add-to-list with local
18736 list-var.
18737
18738 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18739
18740 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18741 stored a user name, then query for the password first, instead of
18742 waiting for SMTP to give an error message and the trying again.
18743
18744 2011-06-22 Lawrence Mitchell <wence@gmx.li>
18745
18746 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18747 BUFFER in call-process.
18748
18749 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
18750
18751 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18752 QUIT twice.
18753 (smtpmail-try-auth-methods): Require user name and password from
18754 auth-source.
18755
18756 2011-06-22 Martin Rudalics <rudalics@gmx.at>
18757
18758 * window.el (display-buffer-default-specifiers)
18759 (display-buffer-alist): Remove entries for pop-up-frame-alist.
18760 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18761 (split-window): Normalize SIDE argument (Bug#8916).
18762
18763 * frame.el (pop-up-frame-alist, pop-up-frame-function)
18764 (special-display-frame-alist, special-display-popup-frame):
18765 Remove duplicate declarations. These are now in window.el.
18766
18767 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18768
18769 * mail/smtpmail.el (smtpmail-via-smtp):
18770 Set :use-starttls-if-possible so that we always use STARTTLS if the
18771 server supports it. SMTP servers that support STARTTLS commonly
18772 require it.
18773
18774 * net/network-stream.el (network-stream-open-starttls): Support
18775 upgrading to STARTTLS always, even if we don't have built-in support.
18776 (open-network-stream): Add the :always-query-capabilities keyword.
18777
18778 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18779 upgrades with `open-network-stream', and rely solely on
18780 auth-source for all credentials. Big changes throughout the file,
18781 but in particular:
18782 (smtpmail-auth-credentials): Remove.
18783 (smtpmail-starttls-credentials): Remove.
18784 (smtpmail-via-smtp): Check for servers saying they want AUTH after
18785 MAIL FROM, too.
18786
18787 * net/network-stream.el (network-stream-open-starttls):
18788 Provide support for client certificates both for external and built-in
18789 STARTTLS.
18790 (auth-source): Require.
18791 (open-network-stream): Document the :client-certificate keyword.
18792 (network-stream-certificate): Change cert-cert to cert and
18793 cert-key to key.
18794
18795 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
18796
18797 * net/tramp-cache.el (top): Don't load the persistency file when
18798 "emacs -Q" has been called.
18799
18800 2011-06-21 Tim Harper <timcharper@gmail.com>
18801
18802 * term/ns-win.el (ns-initialize-window-system):
18803 Set application-specific `ApplePressAndHoldEnabled' system
18804 resource to NO as it is not yet supported by the NS port.
18805
18806 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
18807
18808 * misc.el (list-dynamic-libraries--refresh): Compute header here...
18809 (list-dynamic-libraries): ...not here.
18810
18811 2011-06-21 Leo Liu <sdl.web@gmail.com>
18812
18813 * subr.el (sha1): Implement sha1 using secure-hash.
18814
18815 2011-06-21 Martin Rudalics <rudalics@gmx.at>
18816
18817 * window.el (display-buffer-alist): In default value do not
18818 enforce searching a window on any but the selected frame.
18819 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18820 (display-buffer-select-window): Remove function.
18821 (display-buffer-in-window): When a window on another frame gets
18822 reused, do not select it any more but just raise its frame if
18823 necessary (Bug#8851) and (Bug#8856).
18824 (display-buffer-normalize-options): Handle pop-up-frames related
18825 options more faithfully.
18826 (pop-to-buffer): Don't rely on `display-buffer' selecting the
18827 window if it is on another frame.
18828 (display-buffer-alist, display-buffer-default-specifiers):
18829 Don't make new frame unsplittable by default.
18830 (display-buffer-normalize-argument): Fix doc-string typo and use
18831 'same-frame-other-window instead of 'other-window when associating
18832 with display-buffer-macro-specifiers.
18833
18834 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
18835
18836 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18837 New functions.
18838 (5x5-mode-map, 5x5-mode-menu): Bind them.
18839 (5x5-draw-grid): Tweak the solver's rendering.
18840
18841 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18842
18843 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18844 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18845
18846 2011-06-21 Drew Adams <drew.adams@oracle.com>
18847
18848 * menu-bar.el: Use function variable instead of switch-to-buffer.
18849 (menu-bar-select-buffer-function): New variable.
18850 (menu-bar-update-buffers): Use it (bug#8876).
18851
18852 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
18853
18854 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18855 variable's status.
18856
18857 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
18858
18859 * x-dnd.el (x-dnd-version-from-flags)
18860 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18861 and long as number (Bug#8899).
18862 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18863
18864 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18867 (completion-try-completion, completion-all-completions): Compute the
18868 metadata argument if it's missing; make it optional (bug#8795).
18869
18870 * wid-edit.el: Use lex-bind and move towards completion-at-point.
18871 (widget-complete): Use new :completion-function property.
18872 (widget-completions-at-point): New function.
18873 (default): Use :completion-function instead of :complete.
18874 (widget-default-completions): Rename from widget-default-complete;
18875 Rewrite.
18876 (widget-string-complete, widget-file-complete, widget-color-complete):
18877 Remove functions.
18878 (file, symbol, function, variable, coding-system, color):
18879 * international/mule-cmds.el (default-input-method, charset)
18880 (language-info-custom-alist):
18881 * cus-edit.el (face): Use new property :completions.
18882
18883 * progmodes/pascal.el (pascal-completions-at-point): New function.
18884 (pascal-mode): Use it.
18885 (pascal-mode-map): Use completion-at-point.
18886 (pascal-toggle-completions): Make obsolete.
18887 (pascal-complete-word, pascal-show-completions):
18888 * progmodes/octave-mod.el (octave-complete-symbol):
18889 Redefine as obsolete alias.
18890 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18891 Signal absence of completion info for old Octave,
18892 (inferior-octave-complete): Redefine as obsolete alias.
18893 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18894 (meta-completions-at-point): Rename from meta-complete-symbol and
18895 adapt it for use on completion-at-point-functions.
18896 (meta-common-mode): Use it.
18897 (meta-looking-at-backward, meta-match-buffer): Remove.
18898 (meta-complete-symbol): Redefine as obsolete alias.
18899 (meta-common-mode-map): Use completion-at-point.
18900 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18901 (makefile-mode-map): Use completion-at-point.
18902 (makefile-completions-at-point): Rename from makefile-complete and
18903 adapt it for use on completion-at-point-functions.
18904 (makefile-mode): Use it.
18905 (makefile-complete): Redefine as obsolete alias.
18906
18907 2011-06-20 Deniz Dogan <deniz@dogan.se>
18908
18909 * net/rcirc.el: Delete trailing whitespaces once and for all.
18910
18911 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
18912
18913 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18914
18915 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
18916
18917 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18918
18919 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18920
18921 2011-06-19 Martin Rudalics <rudalics@gmx.at>
18922
18923 * window.el (display-buffer-other-window-means-other-frame):
18924 Call display-buffer-normalize-alist.
18925 (display-buffer-normalize-specifiers-1): Rename to
18926 display-buffer-normalize-argument. New argument other-frame.
18927 Rewrite.
18928 (display-buffer-normalize-specifiers-2): Rename to
18929 display-buffer-normalize-options.
18930 (display-buffer-normalize-alist-1): New function.
18931 (display-buffer-normalize-specifiers-3): Rename to
18932 display-buffer-normalize-alist.
18933 Call display-buffer-normalize-alist-1.
18934 (display-buffer-normalize-options-inhibit): New variable.
18935 (display-buffer-normalize-specifiers): Rewrite calling
18936 display-buffer-normalize-alist,
18937 display-buffer-normalize-argument, and
18938 display-buffer-normalize-options. Don't call the latter if
18939 display-buffer-normalize-options-inhibit is non-nil.
18940 (frame-auto-delete): New option.
18941 (window-deletable-p): Use frame-auto-delete.
18942 (window-list-no-nils, window-state-ignored-parameters)
18943 (window-state-get-1, window-state-get, window-state-put-list)
18944 (window-state-put-1, window-state-put-2, window-state-put):
18945 New functions.
18946 (display-buffer-normalize-options): Move special-display-p group
18947 after pop-up-frame group (Bug#8851) and (Bug#8856).
18948
18949 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
18950
18951 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18952 groups (Bug#8776).
18953 (rx-submatch-n): New function.
18954 (rx): Document it.
18955
18956 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18957 (Bug#8768).
18958
18959 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18960
18961 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18962
18963 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18964 anytime existing face settings are present (Bug#8889).
18965
18966 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18967 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18968 Remove unused argument.
18969
18970 2011-06-18 Martin Rudalics <rudalics@gmx.at>
18971
18972 * window.el (display-buffer-default-specifiers):
18973 Remove pop-up-frame. Add pop-up-window-min-height,
18974 pop-up-window-min-width, and another reuse-window specifier
18975 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
18976 (display-buffer-normalize-specifiers-2):
18977 Handle split-height-threshold and split-width-threshold also when
18978 pop-up-windows is unset. Add a reuse-window specifier for the
18979 case popping up a new window fails.
18980 (special-display-popup-frame): Remove double quoting.
18981 (display-buffer-normalize-specifiers-1): Fix thinko.
18982
18983 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
18984
18985 * shell.el (shell-completion-vars): Set pcomplete-termination-string
18986 according to comint-completion-addsuffix.
18987
18988 * pcomplete.el: Convert to lexical binding and fix bug#8819.
18989 (pcomplete-suffix-list): Mark as obsolete.
18990 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18991 pcomplete-seen in the closure.
18992 (pcomplete-comint-setup): Setup completion-at-point as well.
18993 (pcomplete--entries): New function.
18994 (pcomplete--env-regexp): New var.
18995 (pcomplete-entries): Rewrite to work with partial-completion and
18996 without relying on pcomplete-suffix-list.
18997 (pcomplete-pare-list): Remove, unused.
18998
18999 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19000
19001 * window.el (display-buffer-alist): Set pop-up-window-min-height
19002 and pop-up-window-min-width in default value. Reported by
19003 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
19004 other-window-means-other-frame.
19005 (display-buffer-macro-specifiers): Comment out entry for
19006 other-window specifier.
19007 (display-buffer-other-window-means-other-frame): New function.
19008 (display-buffer-normalize-specifiers-1): New arguments
19009 buffer-name and label. Treat other-window case specially.
19010 (display-buffer-normalize-specifiers-2): Treat other-window case
19011 specially.
19012 (display-buffer-normalize-specifiers-3): New function.
19013 (display-buffer-normalize-specifiers):
19014 Call display-buffer-normalize-specifiers-3.
19015
19016 2011-06-17 Martin Rudalics <rudalics@gmx.at>
19017
19018 * window.el (same-window-p): Fix two typos introduced when
19019 adding with-no-warnings.
19020 (display-buffer-normalize-specifiers-1): Don't check
19021 pop-up-frames for 'unset initialization.
19022 (display-buffer-normalize-specifiers-2): Major rewrite using
19023 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
19024 (pop-up-frames, display-buffer-reuse-frames)
19025 (display-buffer-mark-dedicated): Don't initialize to 'unset.
19026 Suggested by David Engster <deng@randomsample.de>.
19027 (even-window-heights): Initialize to 'unset.
19028 (display-buffer-alist-set): Handle new 'unset initializations.
19029 (display-buffer-macro-specifiers): Don't pop up a new frame in the
19030 other window case.
19031
19032 2011-06-16 Martin Rudalics <rudalics@gmx.at>
19033
19034 * window.el (display-buffer-normalize-specifiers-1):
19035 Respect current value of pop-up-frames for most reasonable values of
19036 second argument of display-buffer (Bug#8865).
19037 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
19038 (switch-to-buffer-other-window-same-frame)
19039 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
19040 Adams (Bug#8875).
19041 (display-buffer): Don't check noninteractive when calling
19042 display-buffer-pop-up-frame.
19043 (display-buffer-pop-up-frame): Never pop up a frame in
19044 noninteractive mode (Bug#8857).
19045 (enlarge-window, shrink-window): Don't report an error when the
19046 window can't be resized as requested (Bug#8862).
19047
19048 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19049
19050 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
19051
19052 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
19053
19054 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
19055
19056 2011-06-15 Alan Mackenzie <acm@muc.de>
19057
19058 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
19059 for declarators, disable knr checking to speed up for normal files.
19060 2: Refactor, replacing a sequence of nested if forms by a cond form.
19061
19062 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19063
19064 * net/network-stream.el (open-network-stream): Add the keyword
19065 :always-query-capabilities for the case where you want to force a
19066 `plain' network connection, but the protocol still requires the
19067 capabilitiy command (i.e., SMTP and EHLO).
19068
19069 * subr.el (process-live-p): Rename from `process-alive-p' for
19070 consistency with other `-live-p' functions.
19071
19072 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
19073
19074 * window.el (same-window-buffer-names, same-window-regexps)
19075 (special-display-frame-alist, special-display-popup-frame)
19076 (special-display-function, special-display-buffer-names)
19077 (special-display-regexps, pop-up-frame-alist)
19078 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
19079 (pop-up-windows, split-window-preferred-function)
19080 (split-height-threshold, split-width-threshold, even-window-heights)
19081 (display-buffer-mark-dedicated): Don't encourage the use of
19082 display-buffer-alist from Elisp code.
19083
19084 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
19085
19086 * progmodes/python.el (python-mode): Derive from prog-mode.
19087 * progmodes/ps-mode.el (ps-mode):
19088 * progmodes/mixal-mode.el (mixal-mode):
19089 * progmodes/cfengine.el (cfengine-mode):
19090 * progmodes/ld-script.el (ld-script-mode): Likewise.
19091
19092 2011-06-15 Martin Rudalics <rudalics@gmx.at>
19093
19094 * window.el (display-buffer-alist): Trim default value to avoid
19095 popping up a new frame (Bug#8857) or reusing an arbitrary window
19096 on another frame.
19097 (display-buffer): Do not fall back on popping up a new frame in
19098 batch mode (Bug#8857).
19099
19100 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * cus-theme.el (describe-theme-1): Use custom-theme-p.
19103 (custom-theme-summary): New function.
19104 (customize-themes): Use it.
19105
19106 2011-06-13 Glenn Morris <rgm@gnu.org>
19107
19108 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
19109
19110 2011-06-13 Martin Rudalics <rudalics@gmx.at>
19111
19112 * help.el (help-window): Remove variable.
19113 (help-window-point-marker, temp-buffer-max-height)
19114 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
19115 (help-print-return-message): Don't set help-window.
19116 (resize-temp-buffer-window): Rewrite cod eand doc-string.
19117 (help-window-setup-finish): Remove.
19118 (help-window-display-message, help-window-setup)
19119 (with-help-window): Major rewrite based on new
19120 display-buffer-window variable.
19121
19122 * help-mode.el (help-mode-finish): Remove help-window related
19123 code.
19124
19125 * view.el (view-exits-all-viewing-windows): Remove reference to
19126 view-return-to-alist in doc-string.
19127 (view-return-to-alist): Make obsolete.
19128 (view-buffer): Call pop-to-buffer-same-window and remove
19129 undo-window code.
19130 (view-buffer-other-window): Call pop-to-buffer-other-window and
19131 simplify code. Ignore second argument.
19132 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
19133 simplify code. Ignore second argument.
19134 (view-return-to-alist-update): Make obsolete.
19135 (view-mode-enter): Rename second argument to QUIT-RESTORE.
19136 Rewrite using quit-restore window parameters.
19137 (view-mode-exit): Rename second argument to EXIT-ONLY.
19138 Rewrite using quit-restore-window.
19139 (View-exit, View-exit-and-edit, View-leave, View-quit)
19140 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
19141 appropriate arguments.
19142 (view-end-message): Use quit-restore window parameter.
19143
19144 * window.el (display-buffer-function): Rewrite doc-string.
19145 (display-buffer-window, display-buffer-alist): New variables.
19146 (display-buffer-split-specifiers)
19147 (display-buffer-side-specifiers)
19148 (display-buffer-macro-specifiers): New constants.
19149 (display-buffer-even-window-sizes, display-buffer-set-height)
19150 (display-buffer-set-width, display-buffer-select-window)
19151 (display-buffer-in-window, display-buffer-reuse-window)
19152 (display-buffer-split-window-1, display-buffer-split-window)
19153 (display-buffer-split-atom-window, display-buffer-pop-up-window)
19154 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
19155 (display-buffer-in-side-window, normalize-buffer-to-display)
19156 (display-buffer-normalize-specifiers-1)
19157 (display-buffer-normalize-specifiers-2)
19158 (display-buffer-normalize-specifiers, display-buffer-frame):
19159 New functions.
19160 (display-buffer): Major rewrite.
19161 (display-buffer-other-window, display-buffer-other-frame)
19162 (pop-to-buffer, switch-to-buffer-other-window)
19163 (switch-to-buffer-other-frame): Rewrite.
19164 (display-buffer-same-window, display-buffer-same-frame)
19165 (display-buffer-same-frame-other-window)
19166 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
19167 (pop-to-buffer-other-window)
19168 (pop-to-buffer-same-frame-other-window)
19169 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
19170 (switch-to-buffer-other-window-same-frame): New functions.
19171 (same-window-p, special-display-p): Rewrite disabling warnings.
19172 Make obsolete.
19173 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19174 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
19175 Make obsolete
19176 (same-window-buffer-names, same-window-regexps)
19177 (special-display-frame-alist, special-display-popup-frame)
19178 (special-display-function, special-display-buffer-names)
19179 (special-display-regexps, pop-up-frame-alist)
19180 (pop-up-frame-function, split-window-preferred-function)
19181 (split-height-threshold, split-width-threshold)
19182 (even-window-heights): Make obsolete.
19183
19184 2011-06-12 Glenn Morris <rgm@gnu.org>
19185
19186 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
19187 Misc simplifications.
19188
19189 2011-06-12 Martin Rudalics <rudalics@gmx.at>
19190
19191 * window.el (window-safely-shrinkable-p): Restore function which
19192 was inadvertently removed in change from 2011-06-11. Declare as
19193 obsolete.
19194
19195 * calendar/calendar.el (calendar-generate-window):
19196 Use window-iso-combined-p instead of combination of one-window-p and
19197 window-safely-shrinkable-p.
19198
19199 2011-06-12 Glenn Morris <rgm@gnu.org>
19200
19201 * progmodes/fortran.el (fortran-mode-syntax-table):
19202 * progmodes/f90.el (f90-mode-syntax-table):
19203 Set % to punctuation. (Bug#8820)
19204 (f90-find-tag-default): Remove, no longer needed.
19205
19206 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
19207
19208 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
19209
19210 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
19211
19212 * image.el (image-animated-p): Return animation delay in seconds.
19213 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
19214 (image-animate-timeout): Remove DELAY argument. Don't assume
19215 every subimage has the same delay; get it from image-animated-p.
19216 (image-animate): Caller changed.
19217
19218 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
19219
19220 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
19221 to ignored backtrace functions.
19222
19223 2011-06-11 Glenn Morris <rgm@gnu.org>
19224
19225 * calendar/appt.el (appt-disp-window-function): Doc fix.
19226 (appt-check): Handle overlapping appointments. (Bug#8337)
19227
19228 2011-06-11 Martin Rudalics <rudalics@gmx.at>
19229
19230 * window.el (window-tree-1, window-tree): New functions, moving
19231 the latter to window.el.
19232 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
19233 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
19234 (bw-refresh-edges): Remove.
19235 (balance-windows-1, balance-windows-2): New functions.
19236 (balance-windows): Rewrite in terms of window tree functions,
19237 balance-windows-1 and balance-windows-2.
19238 (bw-adjust-window): Remove.
19239 (balance-windows-area-adjust): New function with functionality of
19240 bw-adjust-window but using resize-window.
19241 (set-window-text-height): Rewrite doc-string.
19242 Use normalize-live-window and resize-window.
19243 (enlarge-window-horizontally, shrink-window-horizontally):
19244 Rename argument to DELTA.
19245 (window-buffer-height): New function.
19246 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
19247 Rewrite using new window resize routines.
19248 (kill-buffer-and-window, mouse-autoselect-window-select):
19249 Use ignore-errors instead of condition-case.
19250 (quit-window): Call delete-frame instead of delete-windows-on
19251 for the only buffer on frame.
19252
19253 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19254
19255 * loadup.el (top-level): Load window before files for the sake
19256 of replace-buffer-in-windows.
19257
19258 * files.el (read-buffer-to-switch)
19259 (switch-to-buffer-other-window)
19260 (switch-to-buffer-other-frame, display-buffer-other-frame):
19261 Move to window.el.
19262
19263 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
19264 (previous-buffer): Move to window.el.
19265
19266 * bindings.el (unbury-buffer): Move to window.el.
19267
19268 * window.el (delete-other-windows-vertically): Move after
19269 definition of delete-other-windows.
19270 (other-window, delete-windows-on, replace-buffer-in-windows):
19271 Move here from window.c.
19272 (record-window-buffer, unrecord-window-buffer)
19273 (set-window-buffer-start-and-point, switch-to-prev-buffer)
19274 (switch-to-next-buffer): New functions.
19275 (get-next-valid-buffer, last-buffer, next-buffer): Move here
19276 from simple.el. Call switch-to-next-buffer.
19277 (previous-buffer): Move here from simple.el.
19278 Call switch-to-prev-buffer.
19279 (bury-buffer): Move here from buffer.c. Switch to previous
19280 buffer when window cannot be deleted.
19281 (unbury-buffer): Move here from bindings.el.
19282 (ctl-x-map): Move binding for other-window from window.c to
19283 here.
19284 (read-buffer-to-switch, switch-to-buffer-other-window)
19285 (switch-to-buffer-other-frame): Move here from files.el.
19286 (normalize-buffer-to-switch-to): New functions.
19287 (switch-to-buffer): Move here from buffer.c.
19288 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
19289
19290 2011-06-10 Martin Rudalics <rudalics@gmx.at>
19291
19292 * window.el (window-min-height, window-min-width): Move here
19293 from window.c. Add defcustoms and rewrite doc-strings.
19294 (resize-mini-window, resize-window): New functions.
19295 (adjust-window-trailing-edge, enlarge-window, shrink-window):
19296 Move here from window.c.
19297 (maximize-window, minimize-window): New functions.
19298 (delete-window, delete-other-windows, split-window): Move here
19299 from window.c.
19300 (window-split-min-size): New function.
19301 (split-window-keep-point): Mention split-window-above-each-other
19302 instead of split-window-vertically.
19303 (split-window-above-each-other, split-window-vertically):
19304 Rename split-window-vertically to split-window-above-each-other
19305 and provide defalias for old definition.
19306 (split-window-side-by-side, split-window-horizontally):
19307 Rename split-window-horizontally to split-window-side-by-side
19308 and provide defalias for the old definition.
19309 (ctl-x-map): Move bindings for delete-window,
19310 delete-other-windows and enlarge-window here from window.c.
19311 Replace bindings for split-window-vertically and
19312 split-window-horizontally by bindings for
19313 split-window-above-each-other and split-window-side-by-side.
19314
19315 * cus-start.el (all): Remove entries for window-min-height and
19316 window-min-width. Add entries for window-splits and
19317 window-nest.
19318
19319 2011-06-09 Glenn Morris <rgm@gnu.org>
19320
19321 * calendar/appt.el (appt-mode-line): New function.
19322 (appt-check, appt-disp-window): Use it.
19323
19324 * files.el (hack-one-local-variable-eval-safep):
19325 Allow minor-modes with explicit +/-1 arguments.
19326
19327 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
19328
19329 * term/xterm.el (xterm): Add defgroup.
19330 (xterm-extra-capabilities): Add defcustom to supply known xterm
19331 capabilities, skip querying them, or query them (default).
19332 (terminal-init-xterm): Use it.
19333 (terminal-init-xterm-modify-other-keys): New function to set up
19334 modifyOtherKeys support to simplify `terminal-init-xterm'.
19335
19336 2011-06-09 Martin Rudalics <rudalics@gmx.at>
19337
19338 * window.el (resize-window-reset, resize-window-reset-1)
19339 (resize-subwindows-skip-p, resize-subwindows-normal)
19340 (resize-subwindows, resize-other-windows, resize-this-window)
19341 (resize-root-window, resize-root-window-vertically)
19342 (window-deletable-p, window-or-subwindow-p)
19343 (frame-root-window-p): New functions.
19344
19345 2011-06-09 Glenn Morris <rgm@gnu.org>
19346
19347 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
19348 (ange-ftp-get-files): Use it.
19349
19350 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
19351
19352 * mail/sendmail.el (mail-recover-1, mail-recover):
19353 * files.el (recover-file, recover-session):
19354 Handle dired-listing-switches not being just a single short option.
19355
19356 2011-06-09 Glenn Morris <rgm@gnu.org>
19357
19358 * calendar/appt.el (appt-display-message, appt-disp-window):
19359 Handle lists of appointments.
19360
19361 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19362
19363 * window.el (one-window-p): Move down in code.
19364 Rewrite doc-string.
19365 (window-current-scroll-bars): Rewrite doc-string.
19366 Normalize live window argument.
19367 (walk-windows, get-window-with-predicate, count-windows):
19368 Rewrite doc-string. Use window-list-1.
19369 (window-in-direction-2, window-in-direction, get-mru-window):
19370 New functions.
19371
19372 2011-06-08 Reuben Thomas <rrt@sc3d.org>
19373
19374 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
19375 Doc fix (Bug#8713).
19376
19377 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
19378
19379 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
19380
19381 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
19382
19383 * loadhist.el (unload-feature-special-hooks):
19384 Add `comint-output-filter-functions'.
19385
19386 2011-06-08 Ivan Kanis <gnu@kanis.fr>
19387
19388 * calendar/appt.el (appt-check): Move some initializations into the let.
19389
19390 2011-06-08 Martin Rudalics <rudalics@gmx.at>
19391
19392 * window.el (window-height): Defalias to window-total-height.
19393 (window-width): Defalias to window-body-width.
19394
19395 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
19396
19397 * image-mode.el (image-toggle-animation): New command.
19398 (image-mode-map): Bind it to RET.
19399 (image-mode): Update message.
19400 (image-toggle-display-image): Avoid a spurious cache flush.
19401 (image-transform-rotation): Doc fix.
19402 (image-transform-properties): Return quickly in the normal case.
19403 (image-animate-loop): Rename from image-animate-max-time.
19404
19405 * image.el (image-animate-max-time): Move to image-mode.el.
19406 (create-animated-image): Remove unnecessary function.
19407 (image-animate): Rename from image-animate-start. New arg.
19408 (image-animate-stop): Remove; just use image-animate-timer.
19409 (image-animate-timer): Use car-safe.
19410 (image-animate-timeout): Rename argument.
19411
19412 2011-06-07 Martin Rudalics <rudalics@gmx.at>
19413
19414 * window.el (get-lru-window, get-largest-window): Move here from
19415 window.c. Rename first argument to ALL-FRAMES.
19416 Rephrase doc-strings.
19417 (get-buffer-window-list): Rewrite using window-list-1.
19418 Rephrase doc-string.
19419 (window-safe-min-height, window-safe-min-width): New constants.
19420 (window-size-ignore, window-min-size, window-min-size-1)
19421 (window-sizable, window-sizable-p, window-size-fixed-1)
19422 (window-size-fixed-p, window-min-delta-1, window-min-delta)
19423 (window-max-delta-1, window-max-delta, window-resizable)
19424 (window-resizable-p, window-total-height, window-total-width)
19425 (window-body-width): New functions.
19426 (window-full-height-p, window-full-width-p): Rewrite using
19427 window-total-size.
19428 (window-body-height): Rewrite using window-body-size.
19429
19430 2011-06-06 Martin Rudalics <rudalics@gmx.at>
19431
19432 * window.el (window-right, window-left, window-child)
19433 (window-child-count, window-last-child, window-any-p)
19434 (normalize-live-buffer, normalize-live-frame)
19435 (normalize-any-window, normalize-live-window)
19436 (window-iso-combination-p, window-iso-combined-p)
19437 (window-iso-combinations)
19438 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
19439 (windows-with-parameter, window-with-parameter)
19440 (window-atom-root, make-window-atom, window-atom-check-1)
19441 (window-atom-check, window-side-check, window-check):
19442 New functions.
19443 (ignore-window-parameters, window-sides, window-sides-vertical)
19444 (window-sides-slots): New variables.
19445 (window-size-fixed): Move down in code. Minor doc-string fix.
19446
19447 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
19448
19449 * comint.el (comint-dynamic-complete-as-filename)
19450 (comint-dynamic-complete-filename): Correctly call
19451 completion-in-region.
19452
19453 2011-06-05 Deniz Dogan <deniz@dogan.se>
19454
19455 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
19456 in last change.
19457
19458 2011-06-05 Deniz Dogan <deniz@dogan.se>
19459
19460 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
19461 (rcirc): Use it to prompt for encryption.
19462
19463 2011-06-05 Roland Winkler <winkler@gnu.org>
19464
19465 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
19466 (bibtex-search-entries): New command bound to C-c C-a.
19467 (bibtex-display-entries): New function.
19468
19469 2011-06-05 Roland Winkler <winkler@gnu.org>
19470
19471 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
19472 (bibtex-insert-kill): After yanking insert newline if necessary.
19473 (bibtex-initialize): Call bibtex-string-files-init only once.
19474 (bibtex-mode): Do not call easy-menu-add.
19475 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
19476 (bibtex-yank): Set arg properly if nil.
19477
19478 2011-06-05 Roland Winkler <winkler@gnu.org>
19479
19480 * textmodes/bibtex.el (bibtex-search-entry-globally):
19481 New variable.
19482 (bibtex-search-entry): Use it.
19483
19484 2011-06-05 Roland Winkler <winkler@gnu.org>
19485
19486 * textmodes/bibtex.el (bibtex-entry-format): New option
19487 sort-fields.
19488 (bibtex-format-entry, bibtex-reformat): Honor this option.
19489 (bibtex-parse-entry): Return fields in proper order.
19490
19491 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
19492
19493 * doc-view.el (doc-view-remove-if): Move computation of result out
19494 of `dolist' to silence misleading lexical-binding warning.
19495
19496 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
19497
19498 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
19499 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
19500
19501 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19502
19503 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
19504 "SunOS 5.10".
19505
19506 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
19507
19508 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
19509 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
19510 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
19511 (tramp-parse-putty):
19512 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
19513 (tramp-completion-function-alist-ssh)
19514 (tramp-completion-function-alist-telnet)
19515 (tramp-completion-function-alist-su)
19516 (tramp-completion-function-alist-putty): Set `tramp-autoload'
19517 cookie.
19518
19519 * net/tramp-ftp.el:
19520 * net/tramp-sh.el:
19521 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
19522 load "tramp.el" `tramp-set-completion-function'.
19523
19524 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
19525
19526 * shell.el: Require and use pcomplete.
19527 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
19528 (shell-completion-vars): Set pcomplete-default-completion-function.
19529
19530 2011-06-04 Deniz Dogan <deniz@dogan.se>
19531
19532 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
19533 `memq' (Bug#8799).
19534
19535 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19536
19537 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
19538
19539 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
19540
19541 * bs.el (bs--mark-unmark, bs--nth-wrapper):
19542 * mpc.el (mpc-select-extend, mpc-songpointer-context):
19543 * vc/log-view.el (log-view-beginning-of-defun):
19544 * vc/smerge-mode.el (smerge-apply-resolution-patch)
19545 (smerge-refine-forward, smerge-refine-chopup-region):
19546 Silence warning for unused `dotimes' counter variables.
19547
19548 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
19549
19550 * net/tramp.el (tramp-with-progress-reporter): Rename from
19551 with-progress-reporter. Use `declare'.
19552 * net/tramp-smb.el:
19553 * net/tramp-sh.el:
19554 * net/tramp-gvfs.el: Update all uses.
19555
19556 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
19557
19558 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
19559 buffer isn't killed before making it current.
19560
19561 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19562
19563 Silence various byte-compiler warnings.
19564 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
19565 `access-type' and new obsolescence format.
19566 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
19567 new format.
19568 (byte-compile-check-variable): New `access-type' argument.
19569 Only warn if the access-type is obsolete.
19570 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19571 (byte-compile-variable-set): Adjust callers.
19572 * help-fns.el (describe-variable): Adjust to new obsolescence format.
19573 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
19574 setting it as obsolete.
19575 * simple.el (minibuffer-completing-symbol):
19576 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
19577 access as obsolete.
19578 * minibuffer.el (minibuffer-completing-file-name): Don't make it
19579 obsolete yet.
19580 * international/quail.el (quail-mouse-choose-completion): Remove unused
19581 code referring to obsolete var.
19582 (quail-choose-completion-string): Remove.
19583 * server.el (server-clients-with, server-kill-buffer-query-function)
19584 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
19585 * proced.el (proced-send-signal):
19586 * emacs-lisp/lisp.el (lisp-complete-symbol):
19587 Replace completion-annotate-function with completion-extra-properties.
19588
19589 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
19590
19591 * simple.el (goto-line): Use read-number.
19592 (overriding-map-is-bound): Remove.
19593 (saved-overriding-map): Change default.
19594 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
19595 Take the map as argument.
19596 (universal-argument, negative-argument, digit-argument): Use it.
19597 (restore-overriding-map): Adjust.
19598 (do-auto-fill): Use fill-forward-paragraph.
19599 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
19600
19601 * minibuffer.el (minibuffer-inactive-mode-map): New var.
19602 (minibuffer-inactive-mode): New major mode.
19603 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
19604 the *Messages* buffer" hack.
19605 (mouse-popup-menubar): Don't burp if the event is a normal key.
19606
19607 Miscellaneous tweaks.
19608 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
19609 lexical scoping as in subr.el's dolist and dotimes.
19610 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
19611 Silence compiler warning.
19612 * thingatpt.el (forward-whitespace): Trivial coding style fix.
19613 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
19614 * international/ccl.el (ccl-compile): Trivial simplification.
19615 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
19616 * emacs-lisp/testcover.el (testcover-end): Remove spurious
19617 `printflag' argument.
19618 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
19619 Purecopy the whole obsolescence data.
19620
19621 2011-06-01 Leo Liu <sdl.web@gmail.com>
19622
19623 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
19624 improve doc-string as suggested by Marco Pessotto
19625 <melmothx@gmail.com>.
19626 (rcirc-print): Fix last change.
19627
19628 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19629
19630 * minibuffer.el (complete-with-action): Return nil for the metadata and
19631 boundaries of non-functional tables.
19632 (completion-table-dynamic): Return nil for the metadata.
19633 (completion-table-with-terminator): Add default case, using
19634 complete-with-action.
19635 (completion--metadata): New function.
19636 (completion-all-sorted-completions, minibuffer-completion-help): Use it
19637 to try and avoid pathological performance problems.
19638 (completion--embedded-envvar-table): Return `category' metadata.
19639
19640 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
19641
19642 * subr.el (process-alive-p): New tiny convenience function.
19643
19644 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19645
19646 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19647 content but also its previous major mode.
19648
19649 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
19650
19651 * emacs-lisp/debug.el (debug): Restore the previous content of the
19652 *Backtrace* buffer when we exit with C-M-c.
19653
19654 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
19655
19656 * minibuffer.el: Add metadata method to completion tables.
19657 (completion-category-overrides): New defcustom.
19658 (completion-metadata, completion--field-metadata)
19659 (completion-metadata-get, completion--styles)
19660 (completion--cycle-threshold): New functions.
19661 (completion-try-completion, completion-all-completions):
19662 Add `metadata' argument to choose completion-styles.
19663 (completion--do-completion): Use metadata to choose cycling.
19664 (completion-all-sorted-completions): Use metadata for sorting.
19665 Remove :completion-cycle-penalty which is not needed any more.
19666 (completion--try-word-completion): Add `metadata' argument.
19667 (minibuffer-completion-help): Check metadata for annotation function
19668 and sorting.
19669 (completion-file-name-table): Return `category' metadata.
19670 (minibuffer-completing-file-name): Make obsolete.
19671 * simple.el (minibuffer-completing-symbol): Make obsolete.
19672 * icomplete.el (icomplete-completions): Pass new `metadata' param to
19673 completion-try-completion.
19674
19675 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
19676
19677 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19678
19679 2011-05-30 Leo Liu <sdl.web@gmail.com>
19680
19681 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19682 (rcirc-print): Decode all incoming messages (bug#8744).
19683 (rcirc-decode-coding-system): Allow value nil for automatic coding
19684 system detection.
19685
19686 2011-06-01 Glenn Morris <rgm@gnu.org>
19687
19688 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19689
19690 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19691
19692 * image.el (image-animate-max-time): Allow nil and t values.
19693 Default to nil.
19694 (create-animated-image): Doc fix.
19695 (image-animate-start): Remove second arg; just use
19696 image-animate-max-time.
19697 (image-animate-timeout): Doc fix. Args changed.
19698
19699 * image-mode.el (image-toggle-display-image): Ensure that the
19700 image spec passed to the animate timer is the same object as in
19701 the buffer's display property (Bug#6981).
19702 (image-transform-properties): Doc fix.
19703
19704 * image.el (image-animate-max-time): Default to nil.
19705
19706 2011-05-29 Martin Rudalics <rudalics@gmx.at>
19707
19708 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19709 entire buffer list (Bug#8184).
19710
19711 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19712
19713 * image.el (imagemagick-types-inhibit)
19714 (imagemagick-register-types): Doc fix.
19715
19716 2011-05-29 Deniz Dogan <deniz@dogan.se>
19717
19718 * net/rcirc.el (rcirc): Use the user's stored encryption method by
19719 default.
19720
19721 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
19722
19723 * select.el: Don't perform clipboard-manager saving in hooks;
19724 leave the hooks empty.
19725
19726 2011-05-28 Leo Liu <sdl.web@gmail.com>
19727
19728 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19729 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
19730 (occur-edit-mode): New major mode (Bug#8463).
19731 (occur-after-change-function): New function.
19732 (occur-engine): Give Occur tags a read-only property.
19733
19734 2011-05-28 Kevin Ryde <user42@zip.com.au>
19735
19736 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19737
19738 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19739
19740 * bindings.el (help-echo): Make the initial non-indicator dash
19741 empty on graphical terminals (Bug#7295).
19742
19743 * files.el (auto-mode-alist): Move config rule after the
19744 in-stripping one (Bug#8547).
19745
19746 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19747
19748 * startup.el (normal-splash-screen): Remove gratuitous mode-line
19749 setting (Bug#8740).
19750
19751 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
19752
19753 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19754 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19755 (Bug#8539).
19756
19757 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19758
19759 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19760
19761 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
19762
19763 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19764 (hs-hide-block-at-point, hs-find-block-beginning)
19765 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19766 (Bug#8279).
19767
19768 2011-05-28 Glenn Morris <rgm@gnu.org>
19769
19770 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
19771
19772 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
19773
19774 * help-fns.el (describe-function-1): If the function is a derived
19775 major mode, print the parent mode.
19776
19777 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19778 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19779
19780 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
19781
19782 * minibuffer.el (completion--capf-wrapper): Check applicability before
19783 returning non-nil for non-exclusive completion data.
19784 * progmodes/etags.el (tags-completion-at-point-function):
19785 * info-look.el (info-lookup-completions-at-point): Mark as
19786 non-exclusive.
19787 (info-complete): Adjust accordingly.
19788
19789 * info-look.el: Convert to lexical-binding and completion-at-point.
19790 (info-lookup-completions-at-point): New function.
19791 (info-complete): Use it and completion-in-region.
19792
19793 2011-05-28 Drew Adams <drew.adams@oracle.com>
19794
19795 * isearch.el: Let M-e start with point at the first mismatched char.
19796 (isearch-fail-pos): New function.
19797 (isearch-edit-string): Use it.
19798
19799 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19800
19801 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19802
19803 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
19804
19805 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
19806 traversal functions for avl-trees.
19807 (avl-tree--stack): New struct.
19808 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19809 (avl-tree-enter): Add optional `updatefun' arg.
19810 (avl-tree--do-enter): Add optional `updatefun' arg.
19811 Change return value.
19812 (avl-tree-delete): Add optional `test' and `nilflag' args.
19813 (avl-tree--do-delete): Add `test' and `nilflag' args.
19814 Change return value.
19815 (avl-tree-member): Add optional `nilflag'
19816 (avl-tree-member-p): New function.
19817 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19818 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19819 (avl-tree-stack-empty-p): New functions.
19820
19821 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19822 avl-tree--del-balance1 and make it work both ways.
19823 (avl-tree--del-balance2): Remove.
19824 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19825 make it work both ways.
19826 (avl-tree--enter-balance2): Remove.
19827 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19828 New macros.
19829 (avl-tree--mapc, avl-tree-map): Add direction argument.
19830
19831 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
19832
19833 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19834
19835 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
19836
19837 * select.el: Support clipboard managers with built-in function
19838 x-clipboard-manager-save, via delete-frame-functions and
19839 kill-emacs-hook.
19840 (xselect-convert-to-targets): Add MULTIPLE target to list.
19841 (xselect-convert-to-save-targets): New function.
19842
19843 2011-05-27 Kenichi Handa <handa@m17n.org>
19844
19845 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19846 let-binding rfc2047-encode-encoded-words to nil.
19847
19848 2011-05-27 Glenn Morris <rgm@gnu.org>
19849
19850 * mail/emacsbug.el: Don't require url-util.
19851
19852 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
19853
19854 * files.el (set-auto-mode):
19855 Also respect mode: entries at the end of the file. (Bug#8586)
19856
19857 2011-05-26 Glenn Morris <rgm@gnu.org>
19858
19859 * files.el (hack-local-variables-prop-line, hack-local-variables):
19860 Downcase mode names, as seems to be traditional.
19861 (hack-local-variables, hack-local-variables-apply): Doc fixes.
19862
19863 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19864 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
19865
19866 2011-05-25 Julien Danjou <julien@danjou.info>
19867
19868 * textmodes/rst.el (rst-define-level-faces): Do not define face
19869 symbol if it is already defined.
19870
19871 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
19872
19873 * play/5x5.el (5x5-new-game, 5x5-randomize):
19874 Reset 5x5-solver-output to nil when a new grid is cast.
19875 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19876 these debugging traces, as defmacro breaks the compiled code.
19877
19878 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
19879
19880 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19881
19882 2011-05-24 Leo Liu <sdl.web@gmail.com>
19883
19884 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19885 (vc-bzr-sha1): Adapt.
19886
19887 * sha1.el: Remove. Function `sha1' is now builtin.
19888
19889 * bindings.el: Provide sha1 feature.
19890
19891 2011-05-24 Kenichi Handa <handa@m17n.org>
19892
19893 * mail/sendmail.el: Require `rfc2047'.
19894 (mail-insert-from-field): Do not perform RFC2047 encoding.
19895 (mail-encode-header): New function.
19896 (sendmail-send-it): Set buffer-file-coding-system of the work
19897 buffer to the return value of select-message-coding-system.
19898 Call mail-encode-header.
19899
19900 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19901
19902 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
19903
19904 * mail/supercite.el (sc-default-cite-frame):
19905 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19906
19907 2011-05-24 Glenn Morris <rgm@gnu.org>
19908
19909 * progmodes/python.el (brm-menu): Declare.
19910
19911 * emulation/viper.el (viper-set-hooks): Declare.
19912
19913 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19914 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19915 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19916 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19917 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19918 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19919
19920 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 Add an :exit-function for completion-at-point.
19923
19924 * minibuffer.el (completion--done): New fun.
19925 (completion--do-completion): Use it. New arg `expect-exact'.
19926 (minibuffer-complete, minibuffer-complete-word): Don't output message,
19927 since completion--do-completion does it for us now.
19928 (minibuffer-force-complete): Use completion--done and
19929 completion--replace. Handle sole-completion case with more care.
19930 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19931 (completion-extra-properties): New var.
19932 (completion-annotate-function): Make obsolete.
19933 (minibuffer-completion-help): Adjust accordingly.
19934 Use completion-list-insert-choice-function.
19935 (completion-at-point, completion-help-at-point):
19936 Bind completion-extra-properties.
19937 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19938 * simple.el (completion-list-insert-choice-function): New var.
19939 (completion-setup-function): Preserve it.
19940 (choose-completion): Pay attention to it, shuffle the code a bit.
19941 (choose-completion-string): New arg `insert-function'.
19942
19943 * textmodes/bibtex.el: Convert to lexical binding.
19944 (bibtex-mode-map): Use completion-at-point.
19945 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19946 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19947 (bibtex-complete): Define as obsolete alias.
19948 (bibtex-complete-internal): Remove.
19949 (bibtex-format-entry): Remove unused sub-group in regexp.
19950 * shell.el (shell--command-completion-data)
19951 (shell-environment-variable-completion):
19952 * pcomplete.el (pcomplete-completions-at-point):
19953 * comint.el (comint--complete-file-name-data): Use :exit-function
19954 instead of completion-table-with-terminator so it also works for
19955 choose-completion.
19956
19957 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19958
19959 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19960
19961 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19962 (bug#8710).
19963
19964 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19965
19966 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
19967
19968 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19969 customization variable and implement: If non-nil, auto-fill will
19970 be inhibited while on topic's header line.
19971
19972 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
19973
19974 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19975 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
19976 always have a solution in grid size = 5 cases.
19977 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19978 (5x5-solver-output, 5x5-log-buffer): New vars.
19979 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19980 Make these variables buffer local to achieve 5x5 multi-session-ness.
19981 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19982 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19983 (5x5-solve-suggest): New funs.
19984 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19985 randomize a grid so that we ensure that there is always a solution.
19986 (5x5-make-random-grid): Allow other movement than flipping.
19987
19988 2011-05-23 Kevin Ryde <user42@zip.com.au>
19989
19990 * emacs-lisp/advice.el (ad-read-advised-function):
19991 Use `function-called-at-point' as the default, if it has
19992 advice and passes PREDICATE.
19993
19994 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
19995
19996 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19997 byte-compile-lambda if it's actually a lambda.
19998
19999 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
20000 Fix function quoting. Use backquote better.
20001
20002 2011-05-22 Yuanle Song <sylecn@gmail.com>
20003
20004 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
20005 matching (Bug#8516).
20006
20007 2011-01-22 Jari Aalto <jari.aalto@cante.net>
20008
20009 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
20010 different face (Bug#8178).
20011
20012 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
20013
20014 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
20015 defface (Bug#8144).
20016
20017 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
20018
20019 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
20020 funcall as well (bug#8712). Warn when performing those conversions.
20021 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
20022
20023 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
20024
20025 2011-05-22 Glenn Morris <rgm@gnu.org>
20026
20027 * files.el (hack-local-variables-prop-line): Small simplifications.
20028 (hack-local-variables, hack-local-variables-prop-line):
20029 If MODE-ONLY, return the mode, rather than just `t'.
20030
20031 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
20032
20033 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
20034
20035 2011-05-21 Glenn Morris <rgm@gnu.org>
20036
20037 * files.el (hack-local-variables-prop-line, hack-local-variables):
20038 If only interested in the mode, don't bother doing the other stuff.
20039
20040 * image-mode.el (image-after-revert-hook):
20041 Redraw all frames on which the image is visible. (Bug#8567)
20042
20043 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
20044
20045 * wid-edit.el (widget-checklist-match-inline):
20046 Fix 2011-04-19 change. (Bug#8649)
20047
20048 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
20049
20050 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
20051 Also allow singlespace after single-letter capitals followed by a dot.
20052
20053 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
20054 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
20055
20056 2011-05-20 Nix <nix@esperi.org.uk>
20057
20058 * files.el (basic-save-buffer-2):
20059 Fix handling of break-hardlink-on-save with non-existent files.
20060
20061 2011-05-19 Deniz Dogan <deniz@dogan.se>
20062
20063 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
20064 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
20065
20066 2011-05-19 Glenn Morris <rgm@gnu.org>
20067
20068 * progmodes/f90.el (f90-type-def-re):
20069 Handle "type, bind(c)". (Bug#8691)
20070
20071 * emacs-lisp/autoload.el (batch-update-autoloads):
20072 Set autoload-excludes by parsing loadup.el rather than Makefiles.
20073
20074 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
20075
20076 * net/tramp.el (tramp-process-actions): Set "first-password-request"
20077 property for the correct connection in case of multihops.
20078
20079 2011-05-18 Glenn Morris <rgm@gnu.org>
20080
20081 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
20082 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
20083
20084 Rationalize calendar handling of day and month abbrev-arrays.
20085 * calendar/calendar.el (calendar-customized-p): New function.
20086 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
20087 (calendar-day-name-array, calendar-month-name-array): Doc fix.
20088 Add :set function.
20089 (calendar-abbrev-length, calendar-day-abbrev-array)
20090 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
20091 (calendar-day-abbrev-array, calendar-month-abbrev-array):
20092 Elements may no longer be nil.
20093 (calendar-day-name, calendar-month-name):
20094 Update for changed nature of abbrev arrays.
20095 * calendar/diary-lib.el (diary-name-pattern):
20096 Update for changed nature of abbrev arrays.
20097 (diary-mark-entries-1): Update calendar-make-alist calls.
20098 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
20099 * calendar/cal-html.el (cal-html-day-abbrev-array):
20100 Simply inherit from calendar-day-abbrev-array.
20101
20102 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
20103
20104 * progmodes/grep.el (grep-mode): Disable default
20105 compilation-directory-matcher setting (bug#8684).
20106
20107 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
20108
20109 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
20110 instead of "head" and "tail". There were problems with SunOS 5.9,
20111 and it performs better.
20112
20113 2011-05-17 Glenn Morris <rgm@gnu.org>
20114
20115 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
20116
20117 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
20118 Replace obsolete function.
20119
20120 * shell.el (pcomplete-parse-arguments-function): Declare.
20121
20122 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
20123 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
20124 (appt-check): Doc fixes.
20125 (appt-disp-window-function, appt-delete-window-function):
20126 Remove needless special case in custom :type.
20127 (appt-display-count): Default to 0, not nil.
20128 (appt-check): Reset appt-display-count to 0, not nil.
20129
20130 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
20131
20132 * progmodes/python.el (python-font-lock-keywords):
20133 Add the Python 3.X keyword "nonlocal" (bug#8639).
20134
20135 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
20136
20137 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
20138
20139 2011-05-16 Kevin Ryde <user42@zip.com.au>
20140
20141 * info-look.el (makefile-automake-mode): New setups, looking in
20142 automake manual, then makefile-mode.
20143 (makefile-mode): Remove automake manual, have it just in
20144 makefile-automake-mode since there's various things different or
20145 not relevant to plain make.
20146 (makefile-mode): Remove "other-modes" non-existent automake-mode,
20147 believe a hypothetical automake-mode would go to makefile-mode,
20148 not the other way around.
20149
20150 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
20151
20152 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
20153 hunk-end tags (Bug#8672).
20154
20155 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
20156 vc-annotate-show-diff-revision-at-line (Bug#8671).
20157
20158 2011-05-14 Glenn Morris <rgm@gnu.org>
20159
20160 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
20161 in the middle of an existing one with multiple authors. (Bug#8645)
20162 (change-log-font-lock-keywords): Also handle multiple author lines
20163 with leading tabs. (Bug#8644)
20164
20165 * calendar/appt.el (appt-check): Rename some local variables.
20166 Some simplification/reordering.
20167
20168 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
20169 (feedmail-sendmail-f-doesnt-sell-me-out)
20170 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20171 (feedmail-debug-sit-for, feedmail-queue-express-hook)
20172 (feedmail-queue-runner-message-sender): Set :version.
20173 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
20174 (bbdb-dwim-net-address, vm-mail): Declare.
20175 (feedmail-binmail-gnulinuxish-template):
20176 Rename from feedmail-binmail-linuxish-template.
20177 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
20178 Use insert-buffer-substring.
20179
20180 2011-05-14 Bill Carpenter <bill@carpenter.org>
20181
20182 * mail/feedmail.el (feedmail-patch-level): Increase.
20183 (feedmail-debug): New custom group.
20184 (feedmail-confirm-outgoing-timeout)
20185 (feedmail-sendmail-f-doesnt-sell-me-out)
20186 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
20187 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
20188 (feedmail-sender-line, feedmail-from-line)
20189 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
20190 (feedmail-spray-this-address)
20191 (feedmail-spray-address-fiddle-plex-list)
20192 (feedmail-queue-use-send-time-for-date)
20193 (feedmail-queue-use-send-time-for-message-id)
20194 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
20195 (feedmail-buffer-eating-function):
20196 Doc fixes.
20197 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
20198 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
20199 (feedmail-message-action-scroll-down): New functions.
20200 (feedmail-queue-directory, feedmail-queue-draft-directory):
20201 Use expand-file-name.
20202 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
20203 Remove C-v help entry.
20204 (feedmail-queue-buffer-file-name): New variable.
20205 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
20206 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
20207 (feedmail-message-action-send-strong, feedmail-message-action-edit)
20208 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
20209 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
20210 (feedmail-message-action-toggle-spray)
20211 (feedmail-run-the-queue-no-prompts)
20212 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
20213 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
20214 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
20215 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
20216 (feedmail-envelope-deducer, feedmail-fiddle-from)
20217 (feedmail-fiddle-sender, feedmail-default-date-generator)
20218 (feedmail-fiddle-date, feedmail-fiddle-message-id)
20219 (feedmail-fiddle-spray-address)
20220 (feedmail-fiddle-list-of-spray-fiddle-plexes)
20221 (feedmail-fiddle-list-of-fiddle-plexes)
20222 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
20223 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
20224 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
20225 Change default. Doc fix.
20226 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
20227 (feedmail-binmail-linuxish-template): New constant.
20228 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
20229 Respect feedmail-sendmail-f-doesnt-sell-me-out.
20230 (feedmail-send-it): Add debug call.
20231 Use feedmail-queue-buffer-file-name, and
20232 feedmail-send-it-immediately-wrapper.
20233 (feedmail-message-action-send): Add debug call.
20234 Use feedmail-send-it-immediately-wrapper.
20235 (feedmail-queue-express-to-queue): Add debug call.
20236 Run feedmail-queue-express-hook.
20237 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
20238 (feedmail-message-action-help-blat):
20239 Rename from feedmail-queue-send-edit-prompt-help-first.
20240 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
20241 Check line-endings. Handle errors better.
20242 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
20243 Doc fix. Add debug call.
20244 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
20245 Use feedmail-queue-send-edit-prompt-inner.
20246 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
20247 (feedmail-queue-send-edit-prompt-inner): New function, extracted
20248 from feedmail-queue-send-edit-prompt.
20249 (feedmail-queue-send-edit-prompt-help)
20250 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
20251 (feedmail-tidy-up-slug): Add debug call.
20252 Respect feedmail-queue-slug-suspect-regexp.
20253 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
20254 (feedmail-dump-message-to-queue): Add debug call.
20255 Expand queue-directory.
20256 (feedmail-dump-message-to-queue): Change message slightly.
20257 Use feedmail-say-chatter.
20258 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
20259 (feedmail-send-it-immediately-wrapper): New function.
20260 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
20261 Insert empty string rather than newline. Handle full-frame case.
20262 Use catch/throw. Use feedmail-say-chatter.
20263 (feedmail-fiddle-from): Try mail-host-address.
20264 (feedmail-default-message-id-generator): Doc fix.
20265 Bind system-time-locale. Handle missing end.
20266 (feedmail-fiddle-x-mailer): Add debug call.
20267 Handle feedmail-x-mailer-line being nil.
20268 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
20269 Add debug call. Use buffer-substring-no-properties.
20270 (feedmail-say-debug, feedmail-say-chatter): New functions.
20271 (feedmail-find-eoh): Give an explicit error.
20272
20273 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
20274
20275 * net/newst-treeview.el (newsticker-treeview-face): Change default
20276 family from helvetica to sans.
20277 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
20278 etc/images/newsticker.
20279
20280 * net/newst-reader.el (newsticker-feed-face): Change default
20281 family from helvetica to sans.
20282
20283 * net/newst-plainview.el (newsticker-new-item-face)
20284 (newsticker-old-item-face, newsticker-immortal-item-face)
20285 (newsticker-obsolete-item-face, newsticker-date-face)
20286 (newsticker-statistics-face): Change default family from
20287 helvetica to sans.
20288 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
20289 etc/images/newsticker.
20290
20291 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
20292 (newsticker--process-auto-mark-filter-match): Tell user about
20293 auto-marking.
20294
20295 2011-05-13 Didier Verna <didier@xemacs.org>
20296
20297 Common Lisp indentation improvements on defmethod and lambda-lists.
20298 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
20299 TODO entries.
20300 (lisp-lambda-list-keyword-parameter-indentation)
20301 (lisp-lambda-list-keyword-parameter-alignment)
20302 (lisp-lambda-list-keyword-alignment): New customizable user options.
20303 (lisp-indent-defun-method): Improve docstring.
20304 (extended-loop-p): Fix comment.
20305 (lisp-indent-lambda-list-keywords-regexp): New variable.
20306 (lisp-indent-lambda-list): New function.
20307 (lisp-indent-259): Use it.
20308 (lisp-indent-defmethod): Support for more than one
20309 method qualifier and properly indent methods lambda-lists.
20310 (defgeneric): Provide a missing common-lisp-indent-function property.
20311
20312 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
20313
20314 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
20315 bounds for the empty string (bug#8667).
20316
20317 2011-05-13 Glenn Morris <rgm@gnu.org>
20318
20319 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
20320
20321 * mail/sendmail.el (sendmail-program): Try executable-find first.
20322 (sendmail-send-it): `sendmail-program' cannot be unbound.
20323
20324 * calendar/appt.el (appt-make-list): Simplify.
20325 (appt-time-msg-list): Doc fix.
20326 (appt-check): Change mode-line message at the time of the appointment.
20327
20328 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
20329
20330 * progmodes/ld-script.el (ld-script-keywords)
20331 (ld-script-builtins): Update keywords list.
20332
20333 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20334
20335 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
20336
20337 * shell.el (shell-completion-vars): New function.
20338 (shell-mode):
20339 * simple.el (read-shell-command): Use it.
20340 (blink-matching-open): No need for " [...]" in minibuffer-message.
20341
20342 2011-05-12 Glenn Morris <rgm@gnu.org>
20343
20344 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
20345 (appt-check): Simplify.
20346
20347 2011-05-12 Eli Zaretskii <eliz@gnu.org>
20348
20349 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
20350 literal "/dev/null".
20351
20352 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20353
20354 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
20355 Fix typo.
20356
20357 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
20358
20359 * progmodes/which-func.el (which-function):
20360 Use add-log-current-defun instead of add-log-current-defun-function,
20361 which might not be defined (Bug#8260).
20362
20363 2011-05-12 Glenn Morris <rgm@gnu.org>
20364
20365 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
20366 Let byte-compile-initial-macro-environment always take precedence.
20367
20368 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
20369
20370 * net/rcirc.el: Add support for SSL/TLS connections.
20371 (rcirc-server-alist): New field `encryption'.
20372 (rcirc): Check `encryption' settings.
20373 (rcirc-connect): New arg `encryption'. Use open-network-stream.
20374 Merge make-local-variable into `set'.
20375 (rcirc--connection-open-p): New function.
20376 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
20377 the process is not a network process (e.g. running gnutls-cli).
20378 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
20379 Make rcirc-(en|de)code-coding-system local here.
20380 (rcirc-mode): Merge make-local-variable into `set'.
20381 (rcirc-parent-buffer): Make permanent buffer-local.
20382 (rcirc-multiline-minor-mode): Don't do it here.
20383 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
20384 there's no server buffer.
20385
20386 2011-05-11 Glenn Morris <rgm@gnu.org>
20387
20388 * newcomment.el (comment-kill): Prefix "unused" local.
20389
20390 * term/w32console.el (get-screen-color): Declare.
20391
20392 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
20393 Handle symbol elements of byte-compile-initial-macro-environment.
20394
20395 2011-05-10 Leo Liu <sdl.web@gmail.com>
20396
20397 * bookmark.el (bookmark-bmenu-mode-map):
20398 Bind bookmark-bmenu-search to `/'.
20399
20400 * mail/footnote.el: Convert to utf-8 encoding.
20401 (footnote-unicode-string, footnote-unicode-regexp): New variable.
20402 (Footnote-unicode): New function.
20403 (footnote-style-alist): Add unicode style to the list.
20404 (footnote-style): Doc fix.
20405
20406 2011-05-10 Jim Meyering <meyering@redhat.com>
20407
20408 Fix doubled-word typos.
20409 * international/quail.el (quail-insert-kbd-layout): and and -> and
20410 * kermit.el: and and -> and
20411 * net/ldap.el (ldap-search-internal): to to -> to
20412 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
20413 * progmodes/js.el (js-mode): and and -> and
20414 * textmodes/artist.el (artist-move-to-xy): at at -> at
20415 (artist-draw-region-trim-line-endings): if if -> if
20416 And Safetyc -> Safety.
20417 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
20418
20419 2011-05-10 Glenn Morris <rgm@gnu.org>
20420 Stefan Monnier <monnier@iro.umontreal.ca>
20421
20422 * files.el (hack-one-local-variable-eval-safep):
20423 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
20424
20425 2011-05-10 Glenn Morris <rgm@gnu.org>
20426
20427 * calendar/diary-lib.el (diary-list-entries-hook)
20428 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
20429 (diary-nongregorian-marking-hook, diary-list-entries)
20430 (diary-include-other-diary-files, diary-mark-entries)
20431 (diary-mark-included-diary-files): Doc fixes.
20432
20433 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20434
20435 * misc.el: Require tabulated-list.el during compilation.
20436
20437 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20438
20439 * progmodes/compile.el (compilation-start):
20440 Run compilation-filter-hook for the async case too.
20441 (compilation-filter-hook): Doc fix.
20442
20443 2011-05-09 Deniz Dogan <deniz@dogan.se>
20444
20445 * wdired.el: Remove outdated installation comment. Fix usage
20446 comment.
20447
20448 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
20449
20450 * misc.el: Implement new command `list-dynamic-libraries'.
20451 (list-dynamic-libraries--loaded-only-p): New variable.
20452 (list-dynamic-libraries--refresh): New function.
20453 (list-dynamic-libraries): New command.
20454
20455 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
20456
20457 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20458 Fix the ant regexp to handle end-line and end-column info from jikes.
20459 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
20460 higher priority to avoid clobbering by gnu.
20461
20462 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20463
20464 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
20465 if the face has existing theme settings (Bug#8454).
20466
20467 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
20468
20469 * progmodes/perl-mode.el (perl-imenu-generic-expression):
20470 Only match variables declared via `my' or `our' (Bug#8261).
20471
20472 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
20473 special file names `.' and `..' (Bug#8259).
20474
20475 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
20476
20477 * progmodes/grep.el (grep-mode-font-lock-keywords):
20478 Remove buffer-changing entries.
20479 (grep-filter): New function.
20480 (grep-mode): Add it to compilation-filter-hook.
20481
20482 * progmodes/compile.el (compilation-filter-hook)
20483 (compilation-filter-start): New defvars.
20484 (compilation-filter): Call compilation-filter-hook prior to
20485 updating the process mark.
20486
20487 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
20488
20489 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
20490
20491 2011-05-07 Eli Zaretskii <eliz@gnu.org>
20492
20493 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
20494 mailclient-send-it even if window-system is nil. (Bug#8595)
20495
20496 * term/w32console.el (terminal-init-w32console):
20497 Call get-screen-color and use its output to set the frame
20498 background-mode. (Bug#8597)
20499
20500 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
20501
20502 Make bytecomp.el understand that defmethod defines funs (bug#8631).
20503 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
20504 New functions.
20505 (defgeneric, eieio--defmethod): Use them.
20506 (eieio-defgeneric): Remove.
20507 (defmethod): Call defgeneric in a way visible to the byte-compiler.
20508
20509 2011-05-07 Glenn Morris <rgm@gnu.org>
20510
20511 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
20512 Use let rather than let*.
20513 (timeclock-find-discrep): Remove unused local.
20514
20515 * calendar/diary-lib.el (diary-comment-start): Doc fix.
20516
20517 * calendar/appt.el (appt-time-msg-list): Doc fix.
20518
20519 2011-05-06 Noah Friedman <friedman@splode.com>
20520
20521 * apropos.el (apropos-print-doc): Only use
20522 emacs-lisp-docstring-fill-column when it is bound to an integer,
20523 per that variable's documentation.
20524
20525 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
20526
20527 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
20528 and warnings are not silently discarded (e.g. use -d instead of -P).
20529
20530 2011-05-06 Glenn Morris <rgm@gnu.org>
20531
20532 * calendar/appt.el (appt-message-warning-time): Doc fix.
20533 (appt-warning-time-regexp): New option.
20534 (appt-make-list): Respect appt-message-warning-time.
20535
20536 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
20537 New options.
20538 (diary-add-to-list): Strip comments from the displayed string.
20539 (diary-mode): Set comment-start and comment-end.
20540
20541 * vc/diff-mode.el (smerge-refine-subst): Declare.
20542 (diff-refine-hunk): Don't require smerge-mode when compiling.
20543
20544 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
20545
20546 * simple.el (list-processes): Return nil as the docstring says.
20547
20548 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20549
20550 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
20551 to "".
20552 (ange-ftp-write-region, ange-ftp-insert-file-contents)
20553 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
20554 determining of binary transfer. (Bug#7383)
20555
20556 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
20557
20558 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20559 Fix port computation bug. (Bug#8618)
20560
20561 2011-05-05 Glenn Morris <rgm@gnu.org>
20562
20563 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
20564
20565 * simple.el (shell-dynamic-complete-functions)
20566 (comint-dynamic-complete-functions): Declare.
20567
20568 * net/network-stream.el (gnutls-negotiate):
20569 * simple.el (tabulated-list-print): Fix declarations.
20570
20571 * progmodes/gud.el (syntax-symbol, syntax-point):
20572 Remove unnecessary and incorrect declarations.
20573
20574 * emacs-lisp/check-declare.el (check-declare-scan):
20575 Handle byte-compile-initial-macro-environment in bytecomp.el.
20576
20577 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
20578
20579 Fix earlier half-done eieio-defmethod change (bug#8338).
20580 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
20581 Streamline and change calling convention.
20582 (defmethod): Adjust accordingly and simplify.
20583 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
20584 new eieio--defmethod.
20585 (slot-boundp): Minor CSE simplification.
20586
20587 2011-05-05 Milan Zamazal <pdm@zamazal.org>
20588
20589 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
20590 (glasses-make-readable): Use glasses-separate-capital-groups.
20591
20592 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
20593
20594 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
20595 (warning-series): Doc fix.
20596 (display-warning): Don't try to create the buffer if we just found it.
20597
20598 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
20599
20600 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
20601 (autoload-find-generated-file): New function.
20602 (generate-file-autoloads): Bind generated-autoload-file to
20603 buffer-file-name.
20604 (update-file-autoloads, update-directory-autoloads):
20605 Use autoload-find-generated-file. If called interactively, prompt for
20606 output file (Bug#7989).
20607 (batch-update-autoloads): Doc fix.
20608
20609 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
20610
20611 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
20612
20613 2011-05-04 Glenn Morris <rgm@gnu.org>
20614
20615 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
20616 function, so it follows changes in calendar-date-style.
20617 (diary-fancy-date-matcher): New function.
20618 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
20619 (diary-fancy-font-lock-fontify-region-function):
20620 Use diary-fancy-date-pattern as a function.
20621
20622 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
20623 non-numbers for `year' etc pseudo-variables. (Bug#8583)
20624
20625 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
20626
20627 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
20628 instead of positional arguments. Allow :keylist and :crlfiles
20629 arguments.
20630 (open-gnutls-stream): Call it.
20631
20632 * net/network-stream.el (network-stream-open-starttls): Adjust to
20633 call `gnutls-negotiate' with :process and :hostname arguments.
20634
20635 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
20636
20637 * minibuffer.el (completion--message): New function.
20638 (completion--do-completion, minibuffer-complete)
20639 (minibuffer-force-complete, minibuffer-complete-word): Use it.
20640 (completion--do-completion): Don't ignore completion-auto-help when in
20641 icomplete-mode.
20642
20643 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20644 internal encoding (e.g. tibetan zero is not whitespace).
20645 (global-whitespace-mode): Prefer save-current-buffer.
20646 (whitespace-trailing-regexp): Remove useless save-match-data.
20647 (whitespace-empty-at-bob-regexp): Minor simplification.
20648
20649 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
20650
20651 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20652
20653 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
20654
20655 * textmodes/ispell.el (ispell-add-per-file-word-list):
20656 Use `concat' to create string for insertion.
20657
20658 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20659
20660 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20661 Avoid open-line which runs post-self-insert-hook.
20662 (bibtex-fill-entry): Remove unused `end' var.
20663
20664 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
20665
20666 * textmodes/ispell.el (ispell-add-per-file-word-list):
20667 Protect against `nil' value of `comment-start' (Bug#8579).
20668
20669 2011-05-03 Leo Liu <sdl.web@gmail.com>
20670
20671 * isearch.el (isearch-yank-pop): New command.
20672 (isearch-mode-map): Bind it to `M-y'.
20673 (isearch-forward): Mention it.
20674
20675 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
20676
20677 * simple.el (minibuffer-complete-shell-command): Remove.
20678 (minibuffer-local-shell-command-map): Use completion-at-point.
20679 (read-shell-command): Setup completion vars here instead.
20680 (read-expression-map): Bind TAB to symbol completion.
20681
20682 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20683 error directly rather via storing it into `results'.
20684
20685 2011-05-02 Leo Liu <sdl.web@gmail.com>
20686
20687 * vc/diff.el: Fix description.
20688
20689 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20690
20691 * server.el (server-eval-at): New function.
20692
20693 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20694
20695 * net/network-stream.el (open-network-stream): Take a :nowait
20696 parameter and pass it on to `make-network-process'.
20697 (network-stream-open-plain): Ditto.
20698
20699 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
20700
20701 * faces.el (face-spec-set-match-display): Don't match toolkit
20702 options on terminal frames.
20703
20704 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
20705
20706 * progmodes/pascal.el: Use lexical binding.
20707 (pascal-mode-map): Remove author preferences.
20708
20709 * pcomplete.el (pcomplete-std-complete): Don't abuse
20710 completion-at-point.
20711
20712 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20713
20714 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20715 removing code that has been dead since 1991 or so.
20716
20717 * startup.el (command-line): When warning about "_emacs", use a
20718 delayed warning to allow the user to filter it out.
20719
20720 2011-04-28 Deniz Dogan <deniz@dogan.se>
20721
20722 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20723 user has not joined.
20724
20725 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20726
20727 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20728 aren't any completions at point.
20729
20730 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
20731
20732 * subr.el (display-delayed-warnings): New function.
20733 (delayed-warnings-hook): New variable.
20734
20735 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
20736
20737 * minibuffer.el (completion-at-point, completion-help-at-point):
20738 Don't presume that a given completion-at-point-function will always
20739 use the same calling convention.
20740
20741 * pcomplete.el (pcomplete-completions-at-point):
20742 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
20743 pcomplete-seen is non-nil.
20744 (pcomplete-comint-setup): Also recognize the new comint/shell
20745 completion functions.
20746 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20747 pcomplete-seen is non-nil.
20748
20749 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
20750
20751 * calendar/icalendar.el (diary-lib): Add require statement.
20752 (icalendar--create-uid): Read out a uid from a text-property on
20753 the first character in the entry. This allows for code to add its
20754 own uid to the entry.
20755 (icalendar--convert-float-to-ical): Add export of
20756 `diary-float'-entries save for those with the optional DAY
20757 argument.
20758
20759 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
20760
20761 * subr.el (shell-quote-argument): Use alternate escaping strategy
20762 when we spot a variable reference in a string.
20763
20764 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20765
20766 * cus-start.el (all): Define customization for debug-on-event.
20767
20768 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
20769
20770 * subr.el (shell-quote-argument): Escape correctly under Windows.
20771
20772 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20773
20774 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20775
20776 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
20777
20778 * net/tramp.el (tramp-process-actions): Add POS argument.
20779 Delete region between POS and (pos).
20780
20781 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20782 Use `nil' position in `tramp-process-actions' call.
20783 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20784
20785 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20786 position in `tramp-process-actions' call.
20787
20788 * net/trampver.el: Update release number.
20789
20790 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
20791
20792 * custom.el (defcustom): Obey lexical-binding.
20793
20794 Fix octave-inf completion problems reported by Alexander Klimov.
20795 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20796 Inherit from octave-mode-syntax-table.
20797 (inferior-octave-mode): Set info-lookup-mode.
20798 (inferior-octave-completion-at-point): New function.
20799 (inferior-octave-complete): Use it and completion-in-region.
20800 (inferior-octave-dynamic-complete-functions): Use it as well, and use
20801 comint-filename-completion.
20802 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20803 symbol elements which shouldn't be word elements.
20804 (octave-font-lock-keywords, octave-beginning-of-defun)
20805 (octave-function-header-regexp): Adjust regexps accordingly.
20806 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20807
20808 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
20809
20810 * net/gnutls.el (gnutls-errorp): Declare before first use.
20811
20812 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
20813
20814 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20815 verify-error, and verify-hostname-error parameters. Check whether
20816 default trustfile exists before going to use it. Add missing
20817 argument to gnutls-message-maybe call. Return value.
20818 Reported by Claudio Bley <claudio.bley@gmail.com>.
20819 (open-gnutls-stream): Add usage example.
20820
20821 * net/network-stream.el (network-stream-open-starttls): Give host
20822 parameter to `gnutls-negotiate'.
20823 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20824 * subr.el (shell-quote-argument): Escape correctly under Windows.
20825
20826 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
20827
20828 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20829 Use correct match group (bug#8438).
20830
20831 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * emacs-lisp/package.el (package-built-in-p): Fix typo.
20834 (package-menu--generate): New arg specifying packages to show.
20835 (package-menu-refresh, package-menu-execute, list-packages):
20836 Callers changed.
20837 (package-show-package-list): New function, replacing deleted
20838 package--list-packages (renamed because it is non-internal).
20839
20840 * finder.el (finder-list-matches): Use package-show-package-list
20841 instead of deleted package--list-packages.
20842
20843 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20844 Based on a previous implementation by Juanma Barranquero (Bug#8366).
20845 (vc-annotate-mode-map): Bind it to RET.
20846
20847 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
20848
20849 * progmodes/etags.el (next-file): Don't use set-buffer to change
20850 buffers (Bug#8478).
20851
20852 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
20853
20854 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20855
20856 * apropos.el (apropos-label-face): Avoid variable-pitch face.
20857 (apropos-accumulator): Doc fix.
20858 (apropos-function, apropos-macro, apropos-command)
20859 (apropos-variable, apropos-face, apropos-group, apropos-widget)
20860 (apropos-plist): Add face property.
20861 (apropos-symbols-internal): Fix indentation.
20862 (apropos-print): Simplify help, and recognize apropos-multi-type.
20863 (apropos-print-doc): Use button-type-get to extract the button's
20864 face property. Fill docstring (Bug#8352).
20865
20866 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
20867
20868 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20869
20870 * play/mpuz.el (mpuz-silent): Doc fix.
20871 (mpuz-mode-map): Use mapc.
20872 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20873 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20874 Fix typos in docstrings.
20875
20876 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20877 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20878
20879 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20880
20881 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
20882
20883 * minibuffer.el (completion--do-completion): Avoid the "Next char
20884 not unique" prompt if icomplete-mode is enabled (Bug#5849).
20885
20886 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20887 mouse-2 into unread-command-events, it is interpreted correctly.
20888
20889 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20890 (image-toggle-display): Doc fix.
20891
20892 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
20893
20894 * textmodes/page.el (what-page): Use line-number-at-pos to
20895 calculate line number (Bug#6825).
20896
20897 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20898
20899 * eshell/esh-mode.el (find-tag-interactive): Declare function.
20900 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20901 Pass argument NO-DEFAULT to `find-tag-interactive'.
20902
20903 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
20904
20905 Lexical-binding cleanup.
20906
20907 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20908 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20909 * progmodes/ada-prj.el (ada-prj-initialize-values)
20910 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20911 (ada-prj-show-value):
20912 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20913 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20914 (antlr-invalidate-context-cache, antlr-options-menu-filter)
20915 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20916 * progmodes/bug-reference.el (bug-reference-push-button):
20917 * progmodes/fortran.el (fortran-line-length):
20918 * progmodes/glasses.el (glasses-change):
20919 * progmodes/octave-mod.el (octave-fill-paragraph):
20920 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20921 (python-pdbtrack-grub-for-buffer, python-sentinel):
20922 * progmodes/sql.el (sql-save-connection):
20923 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20924 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20925 Mark unused parameters.
20926
20927 * progmodes/compile.el (compilation--flush-directory-cache)
20928 (compilation--flush-parse, compile-internal): Mark unused parameters.
20929 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20930 (compilation-next-error-function): Remove unused variable `timestamp'.
20931
20932 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20933 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20934
20935 * progmodes/dcl-mode.el (dcl-end-of-command):
20936 Remove unused variable `start'.
20937 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20938 (dcl-option-value-basic, dcl-option-value-offset)
20939 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20940 Mark unused parameters.
20941 (dcl-save-local-variable): Remove unused variable `val'.
20942 (mode): Declare.
20943
20944 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20945 Mark unused parameters.
20946 (delphi-ignore-changes): Move before first use.
20947 (delphi-charset-token-at): Remove unused variable `start'.
20948 (delphi-else-start): Remove unused variable `if-count'.
20949 (delphi-comment-block-start, delphi-comment-block-end):
20950 Remove unused variable `kind'.
20951 (delphi-indent-line): Remove unused variable `new-point'.
20952
20953 * progmodes/ebrowse.el (ebrowse-files-list)
20954 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20955 Mark unused parameters. Don't quote `lambda'.
20956 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20957 Don't quote `lambda'.
20958 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20959 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20960 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20961 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20962 Use `ignore-errors'.
20963 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20964 (ebrowse-view/find-file-and-search-pattern)
20965 (ebrowse-view/find-member-declaration/definition):
20966 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20967 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20968 Rename parameter PREFIX-ARG to PREFIX.
20969 (ebrowse-tags-read-name): Remove unused variables `start' and
20970 `member-info'.
20971 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20972 to `tags-file'.
20973
20974 * progmodes/etags.el (local-find-tag-hook): Declare.
20975 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20976 Mark unused parameters.
20977
20978 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20979 (executable-interpret): Mark unused parameter.
20980
20981 * progmodes/flymake.el (flymake-process-sentinel)
20982 (flymake-after-change-function)
20983 (flymake-create-temp-with-folder-structure)
20984 (flymake-get-include-dirs-dot): Mark unused parameters.
20985 (flymake-safe-delete-directory): Remove unused variable `err'.
20986
20987 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20988 (speedbar-timer-fn, speedbar-line-text)
20989 (speedbar-change-expand-button-char, speedbar-delete-subblock)
20990 (speedbar-center-buffer-smartly): Declare functions.
20991 (gdb-find-watch-expression): Remove unused variable `array'.
20992 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20993 (gdb-starting): Mark unused parameters.
20994 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20995 (gdb-table-string): Remove unused variable `res'.
20996 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20997 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20998 (gdb-display-buffer): Remove unused variable `cur-size'.
20999
21000 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
21001 allow lexical-binding compilation.
21002 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
21003 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
21004 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
21005 Mark unused parameters.
21006 (gud-gdb-marker-filter): Remove unused variable `match'.
21007 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
21008 lambda expressions and funcall them, instead of using `fset'.
21009
21010 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
21011 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
21012
21013 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
21014 variable `header-beg'; use `let'.
21015
21016 * progmodes/icon.el (indent-icon-exp): Remove unused variables
21017 `restart', `last-sexp' and `at-do'.
21018
21019 * progmodes/js.el (js--debug): Mark unused parameter.
21020 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
21021 (js--splice-into-items): Remove unused variable `item'.
21022 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
21023
21024 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
21025 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
21026 (makefile-complete): Remove unused variable `try'.
21027 (makefile-fill-paragraph, makefile-match-function-end):
21028 Mark unused parameters.
21029
21030 * progmodes/octave-inf.el (inferior-octave-complete):
21031 Remove unused variable `proc'.
21032 (inferior-octave-output-digest): Mark unused parameter.
21033
21034 * progmodes/perl-mode.el (perl-calculate-indent):
21035 Remove unused variable `err'.
21036
21037 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
21038 (prolog-indent-line): Mark unused parameters.
21039 (prolog-indent-line): Remove unused variable `beg'.
21040
21041 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
21042 (reporter-dont-compact-list): Declare.
21043
21044 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
21045 Remove unused variable `char'.
21046 (sh-debug): Mark unused parameter.
21047 (sh-get-indent-info): Remove unused variable `start'.
21048 (sh-calculate-indent): Remove unused variable `var'.
21049
21050 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
21051 (simula-electric-keyword): Remove unused variable `null'.
21052 (simula-search-backward, simula-search-forward): Remove unused
21053 variables `begin' and `end'.
21054
21055 * progmodes/vera-mode.el (vera-guess-basic-syntax):
21056 Remove unused variable `pos'.
21057 (vera-electric-tab, vera-comment-uncomment-region):
21058 Mark unused parameters.
21059 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
21060
21061 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
21062
21063 * emacs-lisp/package.el (package--builtins, package-alist)
21064 (package-load-descriptor, package-built-in-p, package-activate)
21065 (define-package, package-installed-p)
21066 (package-compute-transaction, package-buffer-info)
21067 (package--push): Doc fix. Distinguish more clearly between
21068 version strings and version lists.
21069
21070 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
21071
21072 Lexical-binding cleanup.
21073
21074 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
21075 (5x5-make-mutate-best):
21076 * play/fortune.el (fortune-in-buffer):
21077 * play/gomoku.el (gomoku-init-display):
21078 * play/solitaire.el (solitaire, solitaire-do-check):
21079 * play/tetris.el (tetris-default-update-speed-function):
21080 Mark unused parameters.
21081
21082 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
21083 (bubbles--shift): Remove unused variable `char-org'.
21084 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
21085 (bubbles--show-images): Remove unused variable `char'.
21086
21087 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
21088 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
21089 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
21090 (decipher-analyze-buffer): Use ?\s.
21091 (decipher-make-checkpoint): Remove unused variable `mapping'.
21092
21093 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
21094
21095 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
21096 Remove unused variable `result'; use `let'.
21097
21098 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
21099 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
21100 (gametree-children-shown-p, gametree-compute-reduced-score):
21101 Use `ignore-errors'.
21102
21103 * play/handwrite.el (ps-lpr-switches): Declare.
21104 (handwrite): Remove unused variables `pmin' and `lastp'.
21105
21106 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
21107
21108 * play/landmark.el (landmark-init-display)
21109 (landmark-update-naught-weights): Mark unused parameters.
21110 (landmark-y): Remove unused variable `noise'. Simplify.
21111 (landmark-human-plays): Remove unused variable `score'.
21112
21113 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
21114 (mpuz-try-proposal): Remove unused variable `game'.
21115
21116 * play/zone.el (life-patterns): Declare.
21117
21118 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
21119
21120 * vc/vc.el (ediff-vc-internal): Declare function.
21121
21122 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21123
21124 * shell.el: Use lexical-binding and std completion UI.
21125 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
21126 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
21127 comint-preoutput-filter-functions rather than on
21128 comint-output-filter-functions.
21129 (shell-command-completion, shell--command-completion-data)
21130 (shell-filename-completion, shell-environment-variable-completion)
21131 (shell-c-a-p-replace-by-expanded-directory): New functions.
21132 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
21133 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
21134 (shell-dynamic-complete-environment-variable): Use them.
21135 (shell-dynamic-complete-as-environment-variable)
21136 (shell-dynamic-complete-as-command): Remove.
21137 (shell-match-partial-variable): Match past point.
21138 * comint.el: Clean up use of completion-at-point-functions.
21139 (comint-completion-at-point): New function.
21140 (comint-mode): Use it completion-at-point-functions.
21141 (comint-dynamic-complete): Make it obsolete.
21142 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
21143 (comint-c-a-p-replace-by-expanded-history): New function.
21144 (comint-dynamic-complete-functions)
21145 (comint-replace-by-expanded-history): Use it.
21146 * minibuffer.el (completion-table-with-terminator): Allow dynamic
21147 termination strings. Try harder to avoid second try-completion.
21148 (completion-in-region-mode-map): Disable bindings that don't work yet.
21149
21150 * comint.el: Use lexical-binding. Require CL.
21151 (comint-dynamic-complete-functions): Use comint-filename-completion.
21152 (comint-completion-addsuffix): Tweak custom type.
21153 (comint-filename-completion, comint--common-suffix)
21154 (comint--common-quoted-suffix, comint--table-subvert)
21155 (comint--complete-file-name-data): New functions.
21156 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
21157 (comint-dynamic-list-filename-completions): Use them.
21158 (comint-dynamic-simple-complete): Make obsolete.
21159
21160 * minibuffer.el (completion-in-region-mode):
21161 Keep completion-in-region-mode--predicate global.
21162 (completion-in-region--postch):
21163 Assume completion-in-region-mode--predicate is not null.
21164
21165 * progmodes/flymake.el (flymake-start-syntax-check-process):
21166 Obey `dir'. Simplify.
21167
21168 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
21169 we're in VC after all.
21170
21171 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
21172
21173 * vc/vc.el (vc-diff-build-argument-list-internal)
21174 (vc-version-ediff, vc-ediff): New commands.
21175 (vc-version-diff): Use vc-diff-build-argument-list-internal.
21176
21177 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
21178
21179 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
21180 add sanity check.
21181
21182 * obsolete/erc-hecomplete.el: Make obsolete.
21183 * obsolete/: Standardize obsolescence info in the header.
21184
21185 2011-04-20 Glenn Morris <rgm@gnu.org>
21186
21187 * calendar/solar.el (solar-horizontal-coordinates):
21188 Use the longitude argument rather than `calendar-longitude'.
21189 (solar-date-next-longitude): Remove unused locals.
21190
21191 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
21192
21193 * whitespace.el: New version 13.2.1.
21194
21195 2011-04-20 felix <EmacsWiki> (tiny change)
21196
21197 * whitespace.el (global-whitespace-mode): Keep highlight when
21198 switching between major modes on a file.
21199
21200 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
21201
21202 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
21203 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
21204 multi-line comments as well.
21205
21206 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
21207
21208 Lexical-binding cleanup.
21209
21210 * arc-mode.el (archive-mode-revert):
21211 * cmuscheme.el (scheme-interactively-start-process):
21212 * custom.el (custom-initialize-delay):
21213 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
21214 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
21215 * emacs-lock.el (emacs-lock-clear-sentinel):
21216 * ezimage.el (defezimage):
21217 * follow.el (follow-avoid-tail-recenter):
21218 * fringe.el (set-fringe-mode-1):
21219 * generic-x.el (bat-generic-mode-compile):
21220 * help-mode.el (help-info-variable, help-do-xref)
21221 (help-mode-revert-buffer):
21222 * help.el (view-emacs-todo):
21223 * iswitchb.el (iswitchb-completion-help):
21224 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
21225 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
21226 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
21227 * locate.el (locate-update):
21228 * longlines.el (longlines-encode-region)
21229 (longlines-after-change-function):
21230 * outline.el (outline-isearch-open-invisible):
21231 * ps-def.el (declare-function, charset-dimension, char-width)
21232 (encode-char):
21233 * ps-mule.el (ps-mule-plot-string):
21234 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
21235 (recentf-edit-list-select, recentf-edit-list-validate)
21236 (recentf-open-files-action):
21237 * rect.el (delete-whitespace-rectangle-line)
21238 (rectangle-number-line-callback):
21239 * register.el (window-configuration-to-register)
21240 (frame-configuration-to-register):
21241 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
21242 * select.el (xselect-convert-to-string, xselect-convert-to-length)
21243 (xselect-convert-to-targets, xselect-convert-to-delete)
21244 (xselect-convert-to-filename, xselect-convert-to-charpos)
21245 (xselect-convert-to-lineno, xselect-convert-to-colno)
21246 (xselect-convert-to-os, xselect-convert-to-host)
21247 (xselect-convert-to-user, xselect-convert-to-class)
21248 (xselect-convert-to-name, xselect-convert-to-integer)
21249 (xselect-convert-to-atom, xselect-convert-to-identity):
21250 * subr.el (declare, ignore, process-kill-without-query)
21251 (text-clone-maintain):
21252 * terminal.el (te-get-char, te-tic-sentinel):
21253 * tool-bar.el (tool-bar-make-keymap):
21254 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
21255 * type-break.el (type-break-mode, type-break-noninteractive-query):
21256 * view.el (View-back-to-mark):
21257 * wid-browse.el (widget-browse-action, widget-browse-widget)
21258 (widget-browse-widgets, widget-browse-sexp):
21259 * widget.el (define-widget-keywords):
21260 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
21261 Mark unused parameters.
21262
21263 * align.el (align-adjust-col-for-rule): Mark unused parameter.
21264 (align-areas): Remove unused variable `look'.
21265 (align-region): Remove unused variables `real-end' and `pos-list'.
21266
21267 * apropos.el (apropos-score-doc): Remove unused variable `i'.
21268
21269 * bindings.el (mode-line-modified, mode-line-remote):
21270 Mark unused parameters.
21271 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
21272
21273 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
21274 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
21275
21276 * comint.el (comint-history-isearch-pop-state)
21277 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
21278 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
21279 (comint-substitute-in-file-name): Doc fix.
21280
21281 * completion.el (cmpl-statistics-block): Mark unused parameter.
21282 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
21283 (save-completions-to-file, load-completions-from-file):
21284 Remove unused local variable `e'.
21285
21286 * composite.el (compose-chars): Remove unused variable `len'.
21287 (lgstring-insert-glyph): Remove unused variable `g'.
21288 (compose-glyph-string): Remove unused variables `ascent',
21289 `descent', `lbearing' and `rbearing'.
21290 (compose-glyph-string-relative): Remove unused variables
21291 `lbearing', `rbearing' and `wadjust'.
21292 (compose-gstring-for-graphic): Remove unused variables `header',
21293 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
21294 (compose-gstring-for-terminal): Remove unused variables `header'
21295 and `nchars'. Use `let', not `let*'.
21296
21297 * cus-edit.el (Custom-set, Custom-save, custom-reset)
21298 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
21299 (Custom-buffer-done, custom-buffer-create-internal)
21300 (custom-browse-visibility-action, custom-browse-group-tag-action)
21301 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
21302 (widget-magic-mouse-down-action, custom-toggle-parent)
21303 (custom-add-parent-links, custom-toggle-hide-variable)
21304 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
21305 (custom-toggle-hide-face, face, hook, custom-group-link-action)
21306 (custom-face-menu-create, custom-variable-menu-create, get)
21307 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
21308 (custom-reset-standard-save-and-update): Remove unused variable `value'.
21309 (customize-apropos): Remove unused variable `tests'.
21310 (custom-group-value-create): Remove unused variable `hidden-p'.
21311 (sort-fold-case): Declare.
21312
21313 * cus-theme.el (custom-reset-standard-faces-list)
21314 (custom-reset-standard-variables-list): Declare.
21315 (customize-create-theme, custom-theme-revert, custom-theme-write)
21316 (custom-theme-choose-mode, customize-themes, custom-theme-save):
21317 Mark unused parameters.
21318
21319 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
21320
21321 * delim-col.el (delimit-columns-max): Move defvar before first use.
21322
21323 * descr-text.el (describe-char-categories): Don't quote `lambda'.
21324 (describe-char): Don't quote `lambda'. Mark unused parameter.
21325
21326 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
21327 (auto-insert): Declare.
21328 (desktop-restore-file-buffer): Rename desktop-* parameters;
21329 mark unused ones.
21330 (desktop-create-buffer): Rename desktop-* parameters and bind them.
21331 (desktop-buffer): Rename desktop-* parameters.
21332
21333 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
21334 (dframe-reposition-frame-xemacs, dframe-help-echo)
21335 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
21336 Mark unused parameters.
21337
21338 * dired-aux.el (backup-extract-version-start, overwrite-query)
21339 (overwrite-backup-query, rename-regexp-query)
21340 (rename-non-directory-query): Declare.
21341 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
21342 (dired-add-entry): Remove unused variable `orig-file-name'.
21343 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
21344 Use parameter PRESERVE-TIME instead of accessing dynamic variable
21345 `dired-copy-preserve-time' directly.
21346 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
21347 (dired-insert-subdir-newpos): Rename unused variable `pos'.
21348
21349 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
21350 (dired-virtual-revert, dired-make-relative-symlink):
21351 Mark unused parameters.
21352 (manual-program): Declare.
21353 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
21354 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
21355 wrapped in `with-no-warnings' to avoid replacing one warning by another.
21356
21357 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
21358
21359 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
21360
21361 * echistory.el (electric-history-in-progress, Helper-return-blurb):
21362 Declare.
21363
21364 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
21365
21366 * electric.el (Electric-command-loop): Rename parameter
21367 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
21368
21369 * expand.el (expand-in-literal): Remove unused variable `here'.
21370
21371 * facemenu.el (facemenu-add-new-color):
21372 Remove unused variable `docstring'.
21373
21374 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
21375 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
21376 (face-attr-construct): Mark unused parameter. Doc fix.
21377 (read-color): Remove unused variable `hex-string'.
21378
21379 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
21380 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
21381 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
21382 (display-buffer-other-frame): Remove unused variable `old-window'.
21383 (kill-buffer-hook): Declare.
21384 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
21385 Mark unused parameters.
21386 (after-find-file): Pass 1 to `auto-save-mode', not t.
21387
21388 * files-x.el (auto-insert): Declare.
21389 (modify-file-local-variable-prop-line): Remove unused variable `val'.
21390
21391 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
21392 variable `buf'. Mark unused parameter.
21393 (find-lisp-insert-directory): Mark unused parameter.
21394
21395 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
21396 (format-encode-region): Remove unused variables `cur-buf' and `result'.
21397 (format-common-tail): Remove, unused.
21398 (format-deannotate-region): Remove unused variable `loc'.
21399 (format-annotate-region): Remove unused variable `p'.
21400 (format-annotate-single-property-change): Remove unused variables
21401 `default' and `tail'.
21402
21403 * forms.el (read-file-filter): Declare.
21404 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
21405
21406 * frame.el (frame-creation-function-alist): Mark unused parameter.
21407 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
21408
21409 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
21410 Remove unused parameters.
21411 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
21412 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
21413
21414 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
21415 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
21416 (hfy-prepare-tag-map): Mark unused parameters.
21417 (htmlfontify-buffer): Use `called-interactively-p'.
21418
21419 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
21420 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
21421 (ibuffer-do-occur): Mark unused parameters.
21422 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
21423 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
21424
21425 * ibuffer.el: Don't quote `lambda'.
21426 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
21427 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
21428 Mark unused parameters.
21429
21430 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
21431 (ido-completing-read): Mark unused parameters.
21432 (ido-copy-current-word): Mark unused parameters;
21433 remove unused variable `name'.
21434 (ido-sort-merged-list): Remove unused parameter `dirs'.
21435
21436 * ielm.el (ielm-input-sender): Mark unused parameter.
21437 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
21438 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
21439 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
21440 `ielm-string' as a dynamic variable accessible from the IELM prompt.
21441 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
21442
21443 * image-dired.el (image-dired-display-thumbs): Remove unused
21444 variables `curr-file' and `count'.
21445 (image-dired-remove-tag): Remove unused variable `start'.
21446 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
21447 variable `curr-file'
21448 (image-dired-rotate-original): Remove unused variable `temp-file'.
21449 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
21450 Remove unused variable `file'.
21451 (image-dired-gallery-generate): Remove unused variable `curr'.
21452 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
21453
21454 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
21455
21456 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
21457
21458 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
21459
21460 * isearch.el (minibuffer-history-symbol): Declare.
21461 (isearch-edit-string): Remove unused variable `err'.
21462 (isearch-message-prefix, isearch-message-suffix):
21463 Mark unused parameters.
21464
21465 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
21466
21467 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
21468
21469 * makesum.el (double-column): Remove unused variable `cnt'.
21470
21471 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
21472 (ido-ignore-item-temp-list): Declare.
21473
21474 * mouse-drag.el (mouse-drag-throw): Remove unused variables
21475 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
21476 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
21477 (mouse-drag-drag): Remove unused variables `mouse-delta' and
21478 `mouse-col-delta'.
21479
21480 * mouse-sel.el (mouse-extend-internal):
21481 Remove unused variable `orig-window-frame'.
21482
21483 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
21484 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
21485 Move declarations before first use.
21486 (pcomplete-opt): Mark unused parameters; doc fix.
21487
21488 * proced.el (proced-revert): Mark unused parameter.
21489 (proced-send-signal): Remove unused variable `err'.
21490
21491 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
21492 Rename parameter PREFIX-ARG to ARG.
21493 (ps-basic-plot-string, ps-basic-plot-whitespace):
21494 Mark unused parameters.
21495
21496 * replace.el (replace-count): Define.
21497 (occur-revert-function): Mark unused parameters.
21498 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
21499 (isearch-case-fold-search, isearch-string): Declare.
21500 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
21501 bind `case-fold-search'. Remove unused variables `beg' and `end',
21502 and simplify.
21503 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
21504 COUNT and bind `replace-count'.
21505 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
21506 to COUNT.
21507
21508 * savehist.el (print-readably, print-string-length): Declare.
21509
21510 * shadowfile.el (shadow-expand-cluster-in-file-name):
21511 Remove unused variable `cluster'.
21512 (shadow-copy-file): Remove unused variable `i'.
21513 (shadow-noquery, shadow-clusters, shadow-site-cluster)
21514 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
21515 (shadow-define-literal-group, shadow-define-regexp-group)
21516 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
21517
21518 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
21519 (shell): Use `called-interactively-p'.
21520 (shell-directory-tracker): Remove unused variable `chdir-failure'.
21521
21522 * simple.el (compilation-context-lines, comint-file-name-quote-list)
21523 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
21524 (delete-backward-char): Remove unused variable `ocol'.
21525 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
21526 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
21527 (event-apply-hyper-modifier, event-apply-shift-modifier)
21528 (event-apply-control-modifier, event-apply-meta-modifier):
21529 Mark unused parameters.
21530 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
21531 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
21532
21533 * speedbar.el (speedbar-ignored-directory-expressions)
21534 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
21535 (speedbar-find-file, speedbar-dir-follow)
21536 (speedbar-directory-buttons-follow, speedbar-tag-find)
21537 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
21538 (speedbar-buffers-line-directory, speedbar-buffer-click):
21539 Mark unused parameters.
21540 (speedbar-tag-file): Remove unused variable `mode'.
21541 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
21542
21543 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
21544
21545 * talk.el (talk): Remove unused variable `display'.
21546
21547 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
21548 (tar-write-region-annotate): Mark unused parameter.
21549
21550 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
21551 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
21552 Declare them, wrapped in `with-no-warnings' to avoid replacing one
21553 warning by another.
21554
21555 * time-stamp.el (time-stamp-string-preprocess):
21556 Remove unused variable `require-padding'.
21557
21558 * tree-widget.el (widget-glyph-enable): Declare.
21559 (tree-widget-action): Mark unused parameter.
21560
21561 * w32-fns.el (x-get-selection): Mark unused parameter.
21562 (autoload-make-program, generated-autoload-file): Declare.
21563
21564 * wdired.el (wdired-revert): Mark unused parameters.
21565 (wdired-xcase-word): Remove unused variable `err'.
21566
21567 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
21568 (whitespace-help-scroll): Remove unused variable `data-help'.
21569
21570 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
21571 (widget-image-insert, widget-after-change, default)
21572 (widget-default-format-handler, widget-default-notify)
21573 (widget-default-prompt-value, widget-info-link-action)
21574 (widget-url-link-action, widget-function-link-action)
21575 (widget-variable-link-action, widget-file-link-action)
21576 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
21577 (widget-field-prompt-internal, widget-field-action, widget-field-match)
21578 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
21579 (widget-insert-button-action, widget-delete-button-action, visibility)
21580 (widget-documentation-link-action, widget-documentation-string-action)
21581 (widget-const-prompt-value, widget-regexp-match, symbol)
21582 (widget-coding-system-prompt-value)
21583 (widget-key-sequence-value-to-external, sexp)
21584 (widget-sexp-value-to-internal, character, vector, cons)
21585 (widget-choice-prompt-value, widget-boolean-prompt-value)
21586 (widget-color--choose-action): Mark unused parameters.
21587 (widget-item-match-inline, widget-choice-match-inline)
21588 (widget-checklist-match, widget-checklist-match-inline)
21589 (widget-group-match): Rename parameter VALUES to VALS.
21590 (widget-field-value-set): Remove unused variable `size'.
21591 (widget-color-action): Remove unused variables `value' and `start'.
21592
21593 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
21594 variable `dir'. Doc fix.
21595 (windmove-find-other-window): Don't pass it.
21596
21597 * window.el (count-windows): Mark unused parameter.
21598 (bw-adjust-window): Remove unused variable `err'.
21599
21600 * woman.el (woman-file-name): Remove unused variable `default'.
21601 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
21602 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
21603 (global-font-lock-mode): Declare.
21604 (woman-decode-region): Mark unused parameter.
21605 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
21606
21607 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
21608 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
21609 (x-dnd-handle-moz-url): Remove unused variable `title'.
21610 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
21611
21612 * xml.el (xml-parse-tag, xml-parse-attlist):
21613 Remove unused variable `pos'.
21614
21615 2011-04-19 Glenn Morris <rgm@gnu.org>
21616
21617 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
21618 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
21619 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
21620 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
21621 * calendar/cal-html.el (cal-html-insert-minical):
21622 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
21623 (calendar-mark-date-pattern):
21624 Prefix "unused" locals.
21625
21626 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
21627 optional argument `style'.
21628
21629 * calendar/appt.el (appt-make-list):
21630 * calendar/cal-china.el (calendar-chinese-date-string):
21631 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21632 (diary-hebrew-yahrzeit):
21633 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21634 * calendar/calendar.el (calendar-generate-window):
21635 * calendar/time-date.el (time-to-days):
21636 Remove unused local variables.
21637
21638 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
21639
21640 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21641 glyphless-char-display table.
21642 (tabulated-list-glyphless-char-display): New var.
21643
21644 2011-04-18 Sam Steingold <sds@gnu.org>
21645
21646 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21647 to acknowledgments.
21648
21649 2011-04-17 Glenn Morris <rgm@gnu.org>
21650
21651 * calendar/diary-lib.el (diary-sexp-entry):
21652 * calendar/holidays.el (holiday-sexp):
21653 Set debug-on-error rather than the removed stack-trace-on-error.
21654
21655 2011-04-16 Glenn Morris <rgm@gnu.org>
21656
21657 * progmodes/f90.el: Use lexical-binding.
21658 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21659
21660 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21661
21662 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21663 (mail-mode): Setup mailalias completion here instead.
21664 * mail/mailalias.el: Use lexical-binding.
21665 (pattern, mailalias-done): Declare dynamic.
21666 (mail-completion-at-point-function): New function, from mail-complete.
21667 (mail-complete): Use it.
21668 (mail-completion-expand): New function.
21669 (mail-get-names): Use it.
21670 (mail-directory, mail-directory-process, mail-directory-stream):
21671 Don't use `pattern' for lexically bound arg.
21672
21673 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21674
21675 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21676 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21677 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21678
21679 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21680 (byte-save-window-excursion, byte-temp-output-buffer-setup)
21681 (byte-interactive-p): Define them again, for use when inlining
21682 old code.
21683
21684 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
21685
21686 * loadup.el: Use `string-to-number', not `string-to-int'.
21687
21688 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
21689
21690 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21691 gud-gdb-complete-command.
21692 (gud-gdb-completions): New function, from gud-gdb-complete-command.
21693 (gud-gdb-completion-at-point): New function.
21694 (gud-gdb-completions): Remove.
21695
21696 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
21697
21698 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21699 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
21700 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21701 whether `executable-find' is bound.
21702
21703 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21704
21705 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
21706
21707 * minibuffer.el (completion-in-region-mode-predicate)
21708 (completion-in-region-mode--predicate): New vars.
21709 (completion-in-region, completion-in-region--postch)
21710 (completion-in-region-mode): Use them.
21711 (completion--capf-wrapper): Also return the hook function.
21712 (completion-at-point, completion-help-at-point):
21713 Adjust and provide a predicate.
21714
21715 Preserve arg names for advice of subr and lexical functions (bug#8457).
21716 * help-fns.el (help-function-arglist): Consolidate the subr and
21717 new-byte-code cases. Add argument `preserve-names' to extract names
21718 from the docstring when needed.
21719 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21720 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21721 (ad-arglist): Use help-function-arglist's new arg.
21722 (ad-definition-type): Use cond.
21723
21724 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
21725
21726 * autorevert.el (auto-revert-handler):
21727 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21728 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21729 Don't quote lambda.
21730
21731 * image-mode.el (image-transform-set-scale):
21732 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21733
21734 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
21735
21736 * net/network-stream.el (network-stream-open-starttls): Only do
21737 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21738 Upgrades via gnutls-cli are too slow to be done opportunistically.
21739
21740 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
21741
21742 * dframe.el (dframe-current-frame): Remove spurious quote.
21743
21744 2011-04-12 Glenn Morris <rgm@gnu.org>
21745
21746 * calendar/cal-tex.el (cal-tex-end-document):
21747 Try to automatically use latin1 input if needed.
21748
21749 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21750 Don't try to cons a mark onto an empty element.
21751
21752 2011-04-11 Leo Liu <sdl.web@gmail.com>
21753
21754 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21755 buffers.
21756 (ido-kill-buffer-at-head): Support killing virtual buffers.
21757
21758 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
21759
21760 * minibuffer.el (completion-show-inline-help): New var.
21761 (completion--do-completion, minibuffer-complete)
21762 (minibuffer-force-complete, minibuffer-complete-word):
21763 Inhibit minibuffer messages if completion-show-inline-help is nil.
21764
21765 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21766 to avoid interference from inline help (Bug#5849).
21767
21768 2011-04-10 Leo Liu <sdl.web@gmail.com>
21769
21770 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21771 Fix typo.
21772
21773 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
21774
21775 * image-mode.el (image-toggle-display-image): Signal an error if
21776 not in Image mode.
21777 (image-transform-mode, image-transform-resize)
21778 (image-transform-set-rotation): Doc fix.
21779 (image-transform-set-resize): Delete.
21780 (image-transform-set-scale, image-transform-fit-to-height)
21781 (image-transform-fit-to-width): Handle image-toggle-display-image
21782 and image-transform-resize directly.
21783
21784 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
21785
21786 * doc-view.el (doc-view-fit-width-to-window)
21787 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21788 New functions for fitting the shown image to the Emacs window size.
21789 (doc-view-mode-map): Add bindings for the new functions.
21790
21791 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
21792
21793 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21794 Fix typo in docstring.
21795
21796 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21797
21798 * files.el (file-size-human-readable): Produce one digit after
21799 decimal, like "ls -lh" does.
21800
21801 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21802 the file size representation.
21803
21804 * simple.el (list-processes): If async subprocesses are not
21805 available, error out with a clear error message.
21806
21807 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
21808
21809 * help.el (help-form-show): New function, to be called from C.
21810 Put help-form output in a buffer named differently than *Help*.
21811
21812 2011-04-08 Eli Zaretskii <eliz@gnu.org>
21813
21814 * files.el (file-size-human-readable): New function.
21815
21816 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21817 computing the representation inline. Don't require `cl'.
21818
21819 2011-04-08 Glenn Morris <rgm@gnu.org>
21820
21821 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21822
21823 * net/browse-url.el (browse-url-firefox):
21824 Test system-type, not system-configuration.
21825
21826 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21827 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21828 Use log-edit-empty-buffer-p. (Bug#7598)
21829
21830 * net/rlogin.el (rlogin-process-connection-type): Simplify.
21831 (rlogin-mode-map): Initialize in the defvar.
21832 (rlogin): Use ignore-errors.
21833
21834 * replace.el (occur-mode-map): Some fixes for menu items.
21835
21836 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
21837
21838 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
21839
21840 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21841
21842 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21843 issuing unused warnings.
21844
21845 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21846 macro directly.
21847
21848 * simple.el: Lisp reimplement of list-processes. Based on an
21849 earlier reimplementation by Leo Liu, but using tabulated-list.el.
21850 (process-menu-mode): New major mode.
21851 (list-processes--refresh, list-processes):
21852 (process-menu-visit-buffer): New functions.
21853
21854 * files.el (save-buffers-kill-emacs): Don't assume any return
21855 value of list-processes, which is undocumented anyway.
21856
21857 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
21858
21859 * emacs-lisp/tabulated-list.el: New file.
21860
21861 * emacs-lisp/package.el: Use Tabulated List mode.
21862 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21863 (package-menu-mode): Derive from tabulated-list-mode. Set up the
21864 table format using Tabulated List mode variables.
21865 (package--push): New macro, replacing package-list-maybe-add.
21866 (package-menu--generate): Use package--push. Renamed from
21867 package--generate-package-list.
21868 (package-menu-refresh, list-packages): Use it.
21869 (package-menu--print-info): Rename from package-print-package.
21870 Return insertion data instead of inserting it directly.
21871 (package-menu-describe-package, package-menu-execute):
21872 Use tabulated-list-get-id.
21873 (package-menu-mark-delete, package-menu-mark-install)
21874 (package-menu-mark-unmark, package-menu-backup-unmark)
21875 (package-menu-mark-obsolete-for-deletion):
21876 Use tabulated-list-put-tag.
21877 (package--list-packages, package-menu-revert)
21878 (package-menu-get-package, package-menu-get-version)
21879 (package-menu-sort-by-column): Functions deleted.
21880 (package-menu-package-list, package-menu-sort-key): Vars deleted.
21881 (package-menu--status-predicate, package-menu--version-predicate)
21882 (package-menu--name-predicate)
21883 (package-menu--description-predicate): Handle arguments in the
21884 Tabulated List format.
21885 (package-list-packages-no-fetch): Call list-packages.
21886
21887 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
21888
21889 * files.el (after-find-file-from-revert-buffer): Remove variable.
21890 (after-find-file): Don't bind it.
21891 (revert-buffer-in-progress-p): New variable.
21892 (revert-buffer): Bind it.
21893 Pass nil for `after-find-file-from-revert-buffer'.
21894
21895 * saveplace.el (save-place-find-file-hook): Use new variable
21896 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21897
21898 2011-04-06 Glenn Morris <rgm@gnu.org>
21899
21900 * Makefile.in (AUTOGEN_VCS): New variable.
21901 (autoloads): Use $AUTOGEN_VCS.
21902
21903 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21904 * calendar/calendar.el (calendar-mode-map):
21905 Check for toolkit scroll bars. (Bug#8305)
21906
21907 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21908
21909 * minibuffer.el (completion-in-region--postch)
21910 (completion-in-region-mode): Remove unnecessary messages.
21911
21912 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
21913
21914 * font-lock.el (font-lock-refresh-defaults):
21915 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21916 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21917
21918 * info.el (Info-directory-list, Info-read-node-name-2)
21919 (Info-split-parameter-string): Doc fixes.
21920 (Info-virtual-nodes): Reflow docstring.
21921 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21922 (Info-apropos-toc-nodes, info-finder, Info-get-token)
21923 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21924 Fix typos in docstrings.
21925 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21926 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21927 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21928 (Info-restore-desktop-buffer): Mark unused parameters.
21929 (Info-directory-find-file, Info-directory-find-node)
21930 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21931 (Info-virtual-index-find-node, Info-apropos-find-file)
21932 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21933 Mark unused parameters; fix typos in docstrings.
21934 (Info-virtual-index): Remove unused local variable `nodename'.
21935
21936 2011-04-05 Deniz Dogan <deniz@dogan.se>
21937
21938 * net/rcirc.el: Update my e-mail address.
21939 (rcirc-mode-map): Remove M-o binding.
21940
21941 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
21942
21943 * startup.el (command-line): Save the cursor's theme-face
21944 directly, instead of using face-override-spec.
21945
21946 * custom.el (load-theme): Minor optimization in assigning faces.
21947
21948 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21949
21950 * help-fns.el (describe-variable): Complete all variables having
21951 documentation, including keywords.
21952 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21953
21954 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
21955
21956 Convert to lexical-binding.
21957
21958 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21959 (bs--get-marked-string, bs--get-modified-string)
21960 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21961 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21962 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21963
21964 * ehelp.el (electric-help-execute-extended)
21965 (electric-help-ctrl-x-prefix):
21966 * hexl.el (hexl-revert-buffer-function):
21967 * linum.el (linum-after-change, linum-after-scroll):
21968 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21969
21970 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21971
21972 2011-04-04 Daiki Ueno <ueno@unixuser.org>
21973
21974 * epa-dired.el:
21975 * epa-mail.el:
21976 * epa-hook.el:
21977 * epa-file.el:
21978 * epa.el:
21979 * epg.el: Use lexical binding.
21980
21981 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
21982
21983 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21984
21985 * textmodes/flyspell.el (flyspell-word): Recognize default
21986 dictionary case for flyspell-mark-duplications-exceptions.
21987 Use regexp matching for languages.
21988 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21989 default dictionary (Bug#7926).
21990
21991 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
21992
21993 * emacs-lisp/package.el (package--with-work-buffer):
21994 Recognize https URLs.
21995
21996 * net/network-stream.el: Move from gnus/proto-stream.el.
21997 Change prefix to network-stream throughout.
21998 (open-protocol-stream): Merge into open-network-stream, leaving
21999 open-protocol-stream as an alias. Handle nil BUFFER args.
22000
22001 * subr.el (open-network-stream): Move to net/network-stream.el.
22002
22003 2011-04-02 Glenn Morris <rgm@gnu.org>
22004
22005 * find-dired.el (find-exec-terminator): New option.
22006 (find-ls-option): Test for -ls support.
22007 (find-ls-subdir-switches): Test for -b in find-ls-option.
22008 (find-dired, find-grep-dired): Doc fixes.
22009 (find-dired): Use find-exec-terminator.
22010
22011 * find-dired.el (find-ls-option, find-ls-subdir-switches)
22012 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
22013 (find-name-arg): Remove purecopy.
22014
22015 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
22016 (grep-compute-defaults): Check for `-exec COMMAND +' support.
22017 Set grep-find-use-xargs, grep-find-command, and grep-find-template
22018 accordingly. Don't add the null-device if not needed.
22019
22020 * files.el (save-some-buffers): Doc fix.
22021
22022 2011-04-02 Eli Zaretskii <eliz@gnu.org>
22023
22024 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
22025
22026 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
22027
22028 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
22029 Use `dolist' rather than `mapcar'.
22030
22031 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
22032
22033 Add lexical binding.
22034
22035 * subr.el (apply-partially): Use new closures rather than CL.
22036 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
22037 (dolist, dotimes): Use slightly different expansion for lexical code.
22038 (functionp): Move to C.
22039 (letrec): New macro.
22040 (with-wrapper-hook): Use it and apply-partially instead of CL.
22041 (eval-after-load): Preserve lexical-binding.
22042 (save-window-excursion, with-output-to-temp-buffer): Turn them
22043 into macros.
22044
22045 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
22046
22047 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
22048 than the arglist.
22049 (help-add-fundoc-usage): Don't add `Not documented'.
22050 (help-function-arglist): Handle closures, subroutines, and new
22051 byte-code-functions.
22052 (help-make-usage): Remove leading underscores.
22053 (describe-function-1): Handle closures.
22054 (describe-variable): Use special-variable-p for completion.
22055
22056 * files.el (lexical-binding): Declare safe.
22057
22058 * emacs-lisp/pcase.el: Don't use destructuring-bind.
22059 (pcase--memoize): Rename from pcase-memoize. Change weakness.
22060 (pcase): Add `let' pattern.
22061 Change memoization so it actually works.
22062 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
22063 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
22064 <let>: New case.
22065
22066 * emacs-lisp/macroexp.el: Use lexical binding.
22067 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
22068 Don't convert ' to #' without checking that it's indeed quoting
22069 a lambda.
22070
22071 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
22072 Use eval-sexp-add-defvars.
22073 (eval-sexp-add-defvars): New fun.
22074
22075 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
22076
22077 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
22078 Don't autoload.
22079 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
22080 than the internal `byte-compile-lambda'.
22081 (defmethod): Don't hide code under quotes.
22082 (eieio-defmethod): New `code' argument.
22083
22084 * emacs-lisp/eieio-comp.el: Remove.
22085
22086 * emacs-lisp/edebug.el (edebug-eval-defun)
22087 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
22088 (edebug-toggle): Avoid `eval'.
22089
22090 * emacs-lisp/disass.el (disassemble-internal): Handle new
22091 `closure' objects.
22092 (disassemble-1): Handle new byte codes.
22093
22094 * emacs-lisp/cl.el (pushnew): Silence warning.
22095
22096 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
22097 (cl-byte-compile-throw): Remove.
22098 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
22099
22100 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
22101 closures.
22102
22103 * emacs-lisp/cconv.el: New file.
22104
22105 * emacs-lisp/bytecomp.el: Use lexical binding instead of
22106 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
22107 (byte-compile-initial-macro-environment):
22108 Handle declare-function here.
22109 (byte-compile--lexical-environment): New var.
22110 (byte-stack-ref, byte-stack-set, byte-discardN)
22111 (byte-discardN-preserve-tos): New lap codes.
22112 (byte-interactive-p): Don't use any more.
22113 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
22114 New macros.
22115 (byte-compile-lapcode): Use them and handle new lap codes.
22116 (byte-compile-obsolete): Remove.
22117 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
22118 (byte-compile-arglist-warn): Check late def of inlinable funs.
22119 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
22120 since they should have been expanded by now.
22121 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
22122 (byte-compile-from-buffer): Remove unused second arg.
22123 (byte-compile-preprocess): New function.
22124 (byte-compile-toplevel-file-form): New function to distinguish
22125 file-form calls from outside from file-form calls from hunk-handlers.
22126 (byte-compile-file-form): Simplify.
22127 (byte-compile-file-form-defsubst): Remove.
22128 (byte-compile-file-form-defmumble): Simplify now that
22129 byte-compile-lambda always returns a byte-code-function.
22130 (byte-compile): Preprocess.
22131 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
22132 Remove, not used any more.
22133 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
22134 (byte-compile-make-args-desc): New funs.
22135 (byte-compile-lambda): Handle lexical functions. Always return
22136 a byte-code-function.
22137 (byte-compile-reserved-constants): New var, to make up room for
22138 closed-over variables.
22139 (byte-compile-constants-vector): Obey it.
22140 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
22141 (byte-compile-macroexpand-declare-function): New function.
22142 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
22143 byte-code-functions.
22144 (byte-compile-form): Check obsolescence here.
22145 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
22146 (byte-compile-variable-ref): Remove.
22147 (byte-compile-dynamic-variable-op): New fun.
22148 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22149 (byte-compile-variable-set): New funs.
22150 (byte-compile-discard): Add 2 args.
22151 (byte-compile-stack-ref, byte-compile-stack-set)
22152 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
22153 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
22154 macroexpand-all instead.
22155 (byte-compile-quote-form): Remove.
22156 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
22157 (byte-compile-bind, byte-compile-unbind): New funs.
22158 (byte-compile-let): Handle let* and lexical binding.
22159 (byte-compile-let*): Remove.
22160 (byte-compile-catch, byte-compile-unwind-protect)
22161 (byte-compile-track-mouse, byte-compile-condition-case):
22162 Handle a new :fun-body form, used for lexical scoping.
22163 (byte-compile-save-window-excursion)
22164 (byte-compile-with-output-to-temp-buffer): Remove.
22165 (byte-compile-defun): Simplify.
22166 (byte-compile-stack-adjustment): New fun.
22167 (byte-compile-out): Use it.
22168 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
22169
22170 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
22171 handler any more.
22172
22173 * emacs-lisp/byte-opt.el: Use lexical binding.
22174 (byte-inline-lapcode): Remove (to bytecomp).
22175 (byte-compile-inline-expand): Pay attention to inlining to/from
22176 lexically bound code.
22177 (byte-compile-unfold-lambda): Don't handle byte-code-functions
22178 any more.
22179 (byte-optimize-form-code-walker): Don't handle save-window-excursion
22180 any more and don't call compiler-macros.
22181 (byte-compile-splice-in-already-compiled-code): Remove.
22182 (byte-code): Don't inline any more.
22183 (disassemble-offset): Receive `bytes' as argument rather than via
22184 dynamic scoping.
22185 (byte-compile-tag-number): Declare before first use.
22186 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
22187 `return' even if make-spliceable.
22188 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
22189 obsolete interactive-p.
22190 (byte-optimize-lapcode): Optimize new lap-codes.
22191 Don't trip up on new form of `byte-constant' lap code.
22192
22193 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
22194
22195 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
22196
22197 * custom.el (custom-initialize-default, custom-declare-variable):
22198 Use `defvar'.
22199
22200 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
22201 New variables.
22202 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
22203 (COMPILE_FIRST): Add macroexp and cconv.
22204 * makefile.w32-in: Mirror changes in Makefile.in.
22205
22206 * vc/cvs-status.el:
22207 * vc/diff-mode.el:
22208 * vc/log-edit.el:
22209 * vc/log-view.el:
22210 * vc/smerge-mode.el:
22211 * textmodes/bibtex-style.el:
22212 * textmodes/css-mode.el:
22213 * startup.el:
22214 * uniquify.el:
22215 * minibuffer.el:
22216 * newcomment.el:
22217 * reveal.el:
22218 * server.el:
22219 * mpc.el:
22220 * emacs-lisp/smie.el:
22221 * doc-view.el:
22222 * dired.el:
22223 * abbrev.el: Use lexical binding.
22224
22225 2011-04-01 Eli Zaretskii <eliz@gnu.org>
22226
22227 * info.el (info-display-manual): New function.
22228
22229 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
22230
22231 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
22232
22233 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
22234
22235 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
22236 an entry for that server in rcirc-authinfo. (Bug#8385)
22237
22238 2011-03-31 Glenn Morris <rgm@gnu.org>
22239
22240 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
22241
22242 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
22243
22244 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
22245
22246 * progmodes/python.el (python-default-interpreter)
22247 (python-python-command-args, python-jython-command-args)
22248 (python-which-shell, python-which-args, python-which-bufname)
22249 (python-file-queue, python-comint-output-filter-function)
22250 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
22251 variables and functions.
22252
22253 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
22254
22255 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
22256 (completion-in-region-mode): New minor mode.
22257 (completion-in-region): Use it.
22258 (completion-in-region--data, completion-in-region-mode-map): New vars.
22259 (completion-in-region--postch): New function.
22260 (completion--capf-misbehave-funs, completion--capf-safe-funs):
22261 New vars.
22262 (completion--capf-wrapper): New function.
22263 (completion-at-point): Use it to track well-behavedness of
22264 hook functions.
22265 (completion-help-at-point): New command.
22266
22267 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
22268
22269 * vc/add-log.el (add-change-log-entry): Don't use whitespace
22270 syntax class to search for whitespace on a single line
22271 (Message-ID: <4D938140.4030905@redhat.com>).
22272
22273 2011-03-30 Leo Liu <sdl.web@gmail.com>
22274
22275 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
22276 New commands.
22277 (edit-abbrevs-map): Bind them here.
22278 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
22279
22280 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
22281
22282 * allout.el (allout-hide-by-annotation, allout-flag-region):
22283 Reduce possibility of overlay leakage by making them volatile.
22284
22285 * allout-widgets.el (allout-widgets-tally): Define as nil so the
22286 hash is not shared between buffers. Mode initialization is
22287 responsible for giving it a useful starting value.
22288 (allout-item-span): Reduce possibility of overlay leakage by
22289 making them volatile.
22290 (allout-widgets-count-buttons-in-region): Add diagnostic function
22291 for tracking down button overlay leaks.
22292
22293 2011-03-29 Leo Liu <sdl.web@gmail.com>
22294
22295 * ido.el (ido-read-internal): Use the default history var
22296 minibuffer-history if no HISTORY is specified.
22297
22298 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
22299
22300 * net/imap.el (imap-shell-open, imap-process-connection-type):
22301 Use imap-process-connection-type for 'shell' streams as well as
22302 Kerberos, SSL, other subprocesses.
22303
22304 2011-03-28 Leo Liu <sdl.web@gmail.com>
22305
22306 * abbrev.el (abbrev-table-empty-p): New function.
22307 (prepare-abbrev-list-buffer): Place empty abbrev tables after
22308 nonempty ones. (Bug#5937)
22309
22310 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
22311
22312 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
22313
22314 2011-03-27 Leo Liu <sdl.web@gmail.com>
22315
22316 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
22317 for foreground and background colors.
22318 (ansi-color-make-color-map): Adapt.
22319
22320 2011-03-25 Leo Liu <sdl.web@gmail.com>
22321
22322 * midnight.el (midnight-time-float): Remove. Note it calculates
22323 the microsecond component incorrectly and seconds-to-time does the
22324 same job.
22325 Remove redundant (require 'timer).
22326
22327 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
22328 (ido-completions): Remove unused arguments. (Bug#8329)
22329
22330 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
22331
22332 * minibuffer.el (completion--flush-all-sorted-completions):
22333 Remove itself from hook.
22334 (completion-at-point): Let the functions perform the completion
22335 immediately and return nil or t.
22336 * comint.el (comint-dynamic-complete-functions): Now identical to
22337 completion-at-point-functions.
22338 (comint-dynamic-list-input-ring): Remove unused var `index'.
22339 (comint--match-partial-filename, comint--unquote&expand-filename):
22340 New funs, split from comint-match-partial-filename.
22341 (comint-dynamic-complete): Use completion-at-point.
22342 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
22343
22344 2011-03-24 Drew Adams <drew.adams@oracle.com>
22345
22346 * thingatpt.el: Support `defun'.
22347
22348 2011-03-23 Leo Liu <sdl.web@gmail.com>
22349
22350 * abbrevlist.el: Move to obsolete/abbrevlist.el.
22351
22352 * help-mode.el (help-mode-finish): Tweak regexp.
22353
22354 2011-03-23 Glenn Morris <rgm@gnu.org>
22355
22356 * eshell/esh-opt.el (eshell-eval-using-options):
22357 Do not bind unused local variable `eshell-option-stub'.
22358
22359 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
22360
22361 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22362
22363 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
22364 keymap variable in `with-no-warnings' to avoid a warning when the
22365 keymap has been already `defconst'ed.
22366
22367 2011-03-22 Leo Liu <sdl.web@gmail.com>
22368
22369 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
22370 encode all chars in abbrevs; otherwise use emacs-mule or
22371 utf-8-emacs. (Bug#8308)
22372
22373 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
22374
22375 * simple.el (backward-delete-char-untabify):
22376 Avoid warning about using `delete-backward-char'.
22377
22378 * image.el (image-type-file-name-regexps): Make it variable.
22379 `imagemagick-register-types' modifies it, and the user may want
22380 to add new extensions for known image types.
22381 (imagemagick-register-types): Throw error if not using ImageMagick.
22382
22383 2011-03-22 Leo Liu <sdl.web@gmail.com>
22384
22385 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
22386 located before rcirc-prompt-end-marker.
22387 (rcirc-complete): Error if point is not after rcirc prompt.
22388 Handle the case when table is nil.
22389 (rcirc-user-authenticated): Define to fix compiler warning.
22390
22391 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
22392
22393 * custom.el (custom--inhibit-theme-enable): Make it affect only
22394 custom-theme-set-variables and custom-theme-set-faces.
22395 (provide-theme): Ignore custom--inhibit-theme-enable.
22396 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
22397 (custom-enabling-themes): Delete variable.
22398 (enable-theme): Accept only loaded themes as arguments.
22399 Ignore the special custom-enabled-themes variable.
22400 (custom-enabled-themes): Forbid themes from setting this.
22401 Eliminate use of custom-enabling-themes.
22402 (custom-push-theme): Quote "changed" custom var entry.
22403
22404 2011-03-21 Leo Liu <sdl.web@gmail.com>
22405
22406 * ido.el (ido-read-internal): Add ido-selected to history instead
22407 of user input.
22408
22409 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
22410
22411 * subr.el (deferred-action-list, deferred-action-function):
22412 Mark obsolete.
22413
22414 2011-03-21 Leo Liu <sdl.web@gmail.com>
22415
22416 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
22417 change on 2011-02-13 (bug#8309).
22418
22419 * minibuffer.el (read-file-name-function): Change default value.
22420 (read-file-name--defaults): Rename from read-file-name-defaults.
22421 (read-file-name-default): Rename from read-file-name.
22422 (read-file-name): Call read-file-name-function.
22423
22424 2011-03-21 Glenn Morris <rgm@gnu.org>
22425
22426 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
22427 Doc fixes.
22428
22429 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * cus-theme.el: Add missing provide statement.
22432 (customize-create-theme): Extract theme value correctly.
22433 (custom-theme-visit-theme): Autoload.
22434 (customize-create-theme): Prompt before inserting default faces.
22435
22436 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
22437
22438 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
22439 units and musical notes.
22440
22441 2011-03-20 Leo Liu <sdl.web@gmail.com>
22442
22443 * ido.el (ido-read-internal): Use completing-read-default.
22444 (ido-completing-read): Fix compatibility with completing-read.
22445
22446 2011-03-20 Christian Ohler <ohler@gnu.org>
22447
22448 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
22449 (ert-delete-all-tests): Use `called-interactively-p' rather than
22450 `interactive-p'.
22451 (ert--make-xrefs-region): Respect END.
22452
22453 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22454
22455 * dired-aux.el (dired-create-directory): Signal an error if the
22456 directory already exists (Bug#8246).
22457
22458 * facemenu.el (list-colors-display): Call list-faces-display
22459 inside with-help-window.
22460 (list-colors-print): Use display property to align the final
22461 column, instead of checking window-width.
22462
22463 2011-03-19 Eli Zaretskii <eliz@gnu.org>
22464
22465 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
22466 windows-nt systems.
22467 (emerge-protect-metachars): Quote correctly for ms-dos and
22468 windows-nt systems.
22469
22470 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
22471
22472 * info.el (info-initialize): Replace all uses of `:' with
22473 path-separator for compatibility with non-Unix systems.
22474 Cache quoting of path-separator. (Bug#8258)
22475
22476 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
22477
22478 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
22479 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
22480 (mouse-avoidance-mode): Fix typos in docstrings.
22481
22482 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
22483
22484 * startup.el (package-subdirectory-regexp): Move from package.el.
22485 Omit \\` and \\', and let callers add them.
22486
22487 * emacs-lisp/package.el (package-strip-version)
22488 (package-load-all-descriptors): Add \\` and \\' to
22489 package-subdirectory-regexp before using it.
22490 (package-untar-buffer): New arg DIR; ensure that file untars only
22491 into this expected directory. Remove superfluous delete-region.
22492 (package-unpack): Caller changed.
22493 (package-tar-file-info): Use package-subdirectory-regexp.
22494
22495 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
22496
22497 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
22498 diff-mode-shared-map (bug#8284).
22499 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
22500
22501 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
22502
22503 * calendar/time-date.el (format-seconds): Use assoc instead of
22504 assoc-string, since assoc-string doesn't exist in XEmacs.
22505
22506 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
22507
22508 * custom.el (custom-known-themes): Reflow docstring.
22509 (custom-theme-load-path): Fix typo in docstring.
22510 (load-theme): Fix typo in error message.
22511 (custom-available-themes, custom-variable-theme-value):
22512 Use `let', not `let*'.
22513
22514 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
22515
22516 * calc/README: Mention inclusion of musical notes.
22517
22518 * calc/calc-units.el (calc-lu-quant): Rename from
22519 `calc-logunits-quantity'.
22520 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
22521 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
22522 (calc-db): Rename from `calc-dblevel'.
22523 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
22524 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
22525 (calc-np): Rename from `calc-nplevel'.
22526 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
22527 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
22528 (calc-lu-plus): Rename from `calc-logunits-add'.
22529 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
22530 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
22531 (calc-lu-minus): Rename from `calc-logunits-sub'.
22532 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
22533 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
22534 (calc-lu-times): Rename from `calc-logunits-mul'.
22535 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
22536 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
22537 (calc-lu-divide): Rename from `calc-logunits-div'.
22538 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
22539 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
22540
22541 * calc/calc-ext.el (calc-init-extensions): Update the names of the
22542 functions being autoloaded.
22543
22544 * calc/calc.el (calc-lu-power-reference): Rename from
22545 `calc-logunits-power-reference'.
22546 (calc-lu-field-reference): Rename from
22547 `calc-logunits-field-reference'.
22548
22549 * calc/calc-help.el (calc-l-prefix-help):
22550 Mention musical note functions.
22551
22552 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
22553
22554 * minibuffer.el (completion-all-sorted-completions):
22555 Use :completion-cycle-penalty text property if present.
22556
22557 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
22558
22559 * allout.el (allout-yank-processing): Adjust for new rebulleting
22560 regime so bullet being yanked is used without prompting the user
22561 for a choice.
22562
22563 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22564
22565 * startup.el (command-line): Warn the user that _emacs is deprecated.
22566
22567 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
22568
22569 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
22570 (delphi-verbose, delphi-comment-face, delphi-string-face)
22571 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
22572 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
22573 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
22574 (delphi-new-comment-line, delphi-font-lock-defaults)
22575 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
22576 Fix typos in docstrings.
22577
22578 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
22579
22580 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
22581 Invert the roles of character and string values for INSTEAD, so a
22582 string is used for the more common case of a defaulting prompt.
22583
22584 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22585
22586 * progmodes/ruby-mode.el (ruby-backward-sexp):
22587 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
22588 * play/gamegrid.el (gamegrid-make-face):
22589 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
22590 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
22591 * notifications.el (notifications-notify):
22592 * net/xesam.el (xesam-search-engines):
22593 * net/quickurl.el (quickurl-list-insert):
22594 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
22595
22596 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
22597
22598 * startup.el (command-line): Update package subdirectory regexp.
22599
22600 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22601
22602 * allout.el (allout-abbreviate-flattened-numbering)
22603 (allout-mode-deactivate-hook): Fix up obsolescence "date".
22604
22605 * subr.el (read-char-choice): Only show the cursor after the prompt,
22606 not after the answer.
22607
22608 2011-03-15 Kevin Ryde <user42@zip.com.au>
22609
22610 * help-fns.el (variable-at-point): Skip leading quotes, if any
22611 (bug#8253).
22612
22613 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
22614
22615 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
22616 warning message.
22617
22618 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
22619
22620 * shell.el (shell): When called interactively, offer to change the
22621 shell file name on remote hosts.
22622
22623 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
22624
22625 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
22626 integration for LDAP parameters. The host, base, user or binddn,
22627 and secret tokens can be specified in a netrc file, for instance.
22628 This is optional because an `auth-source' parameter must be
22629 specified in the search attributes.
22630
22631 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
22632
22633 * help.el (describe-mode): Link to the mode's definition (bug#8185).
22634
22635 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22636
22637 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22638 into declaration. Remove redundant and harmful binding.
22639
22640 2011-03-12 Eli Zaretskii <eliz@gnu.org>
22641
22642 * files.el (file-ownership-preserved-p): Pass `integer' as an
22643 explicit 2nd argument to `file-attributes'. If the file's owner
22644 is the Administrators group on Windows, and the current user is
22645 Administrator, consider that a match.
22646
22647 * server.el (server-ensure-safe-dir): Consider server directory
22648 safe on MS-Windows if its owner is the Administrators group while
22649 the current Emacs user is Administrator. Use `=' to compare
22650 numerical UIDs, since they could be integers or floats.
22651
22652 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
22653
22654 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22655
22656 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
22657
22658 Sync with Tramp 2.2.1.
22659
22660 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22661
22662 * net/trampver.el: Update release number.
22663
22664 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
22665
22666 * progmodes/compile.el (compilation--previous-directory): Fix up
22667 various nil/dead-marker mismatches (bug#8014).
22668 (compilation-directory-properties, compilation-error-properties):
22669 Don't call it at a position past the one we're about to change.
22670
22671 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22672 Disable obsolescence warnings in the file that declares it.
22673
22674 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
22675
22676 * allout-widgets.el (allout-widgets-tally):
22677 Initialize allout-widgets-tally as a hash table rather than nil to
22678 prevent mode-line redisplay warnings. Also, clarify the module
22679 description and fix a comment typo.
22680
22681 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
22682
22683 * help-fns.el (describe-variable): Don't complete keywords.
22684 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22685
22686 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
22687
22688 * emacs-lisp/package.el (package-version-join): Impose a standard
22689 string representation for pre/alpha/beta version lists.
22690 (package-unpack-single): Standardize the directory name by passing
22691 it through package-version-join.
22692 (package-strip-rcs-id): Accept any version string that does not
22693 signal an error in version-to-list.
22694
22695 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
22696
22697 * simple.el (delete-trailing-whitespace): Return nil for the
22698 benefit of `write-file-functions'.
22699
22700 2011-03-10 Glenn Morris <rgm@gnu.org>
22701
22702 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22703
22704 * vc/vc-git.el (vc-git-program): New option.
22705 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22706 (vc-git--call): Use it.
22707
22708 * eshell/esh-util.el (eshell-condition-case): Doc fix.
22709
22710 * cus-edit.el (Custom-newline): If no button at point, look
22711 for a subgroup button at start-of-line. (Bug#2298)
22712
22713 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22714
22715 2011-03-10 Julien Danjou <julien@danjou.info>
22716
22717 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22718 `cursor-type' is nil.
22719
22720 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
22721
22722 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22723
22724 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
22725
22726 * allout.el: Change so yank of distinctive-bullet items
22727 preserves the existing header prefix, rebulleting it if necessary,
22728 rather than replacing it. This is necessary for proper operation
22729 of cooperative addons like allout-widgets.
22730 (allout-make-topic-prefix, allout-rebullet-heading):
22731 Change SOLICIT arg to INSTEAD, and interpret additionally a string
22732 value as alternate bullet to be used, instead of prompting the user
22733 for a bullet character.
22734
22735 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
22736
22737 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22738 Do not use `tramp-file-name-port', because this returns also
22739 `tramp-default-port'.
22740
22741 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
22742
22743 * net/rcirc.el (rcirc-handler-001): Remove useless
22744 with-rcirc-process-buffer.
22745 (rcirc-check-auth-status): Swap arguments to string-match.
22746
22747 2011-03-09 Glenn Morris <rgm@gnu.org>
22748
22749 * shell.el (shell-mode):
22750 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
22751
22752 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22753 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
22754
22755 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22756
22757 * emacs-lisp/package.el (package-refresh-contents)
22758 (package-menu-execute): Use condition-case-no-debug.
22759
22760 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
22761
22762 * simple.el (shell-command-to-string): Use `process-file'.
22763
22764 * emacs-lisp/package.el (package-tar-file-info): Handle also
22765 remote files.
22766
22767 * emacs-lisp/package-x.el (package-upload-buffer-internal):
22768 Use `equal' for upload base check.
22769
22770 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
22771
22772 * textmodes/texinfo.el (texinfo-environments):
22773 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
22774
22775 2011-03-08 Glenn Morris <rgm@gnu.org>
22776
22777 * cus-start.el (cursor-in-non-selected-windows):
22778 Fix :set quoting oddness. (Bug#8192)
22779
22780 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22781 in some setf expressions. (Bug#2159)
22782
22783 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
22784
22785 * custom.el (custom-available-themes): Return themes in
22786 alphabetical order.
22787
22788 See ChangeLog.15 for earlier changes.
22789
22790 ;; Local Variables:
22791 ;; coding: utf-8
22792 ;; End:
22793
22794 Copyright (C) 2011-2012 Free Software Foundation, Inc.
22795
22796 This file is part of GNU Emacs.
22797
22798 GNU Emacs is free software: you can redistribute it and/or modify
22799 it under the terms of the GNU General Public License as published by
22800 the Free Software Foundation, either version 3 of the License, or
22801 (at your option) any later version.
22802
22803 GNU Emacs is distributed in the hope that it will be useful,
22804 but WITHOUT ANY WARRANTY; without even the implied warranty of
22805 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22806 GNU General Public License for more details.
22807
22808 You should have received a copy of the GNU General Public License
22809 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.