* lisp/startup.el (command-line-ns-option-alist): Add -g and --geometry.
[bpt/emacs.git] / lisp / ChangeLog
1 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
2
3 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
4
5 2012-09-18 Juri Linkov <juri@jurta.org>
6
7 * dired-aux.el (dired-diff): Restore original functionality of
8 getting the default value, but keep new feature of using the
9 latest existing backup file (`diff-latest-backup-file').
10
11 2012-09-18 Juri Linkov <juri@jurta.org>
12
13 * dired.el (dired-mark): If the region is active in Transient Mark
14 mode, mark all files in the active region. Doc fix.
15 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
16 Doc fix. (Bug#10624)
17
18 2012-09-18 Juri Linkov <juri@jurta.org>
19
20 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
21 attributes for M-n are pulled from the file at point.
22 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
23 Suggested by Drew Adams. (Bug#10624)
24
25 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
26
27 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
28 whitespace after "end".
29 (ruby-do-end-to-brace): Collapse block to one line if it fits
30 within fill-column.
31
32 2012-09-18 Martin Rudalics <rudalics@gmx.at>
33
34 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
35 value.
36 (debug): Don't remove debugger window when debugger is expected
37 to be back.
38
39 2012-09-18 Chong Yidong <cyd@gnu.org>
40
41 * custom.el (defface): Doc fix.
42
43 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
44
45 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
46
47 * progmodes/compile.el (compilation-start): Use compilation-always-kill
48 to initialize query-on-exit; then test that instead (bug#12288).
49
50 2012-09-17 Stefan Merten <smerten@oekonux.de>
51
52 * rst.el: Add support for `testcover'.
53 (rst-defcustom-testcover, rst-testcover-add-compose)
54 (rst-testcover-add-1value): New functions.
55 (rst-portable-mark-active-p): Replace by `use-region-p'.
56 (rst-update-section, rst-classify-adornment)
57 (rst-find-title-line): Mark `1value' forms.
58 (rst-classify-adornment): Remove superfluous form.
59 (rst-update-section, rst-get-adornments-around)
60 (rst-adornment-complete-p, rst-get-next-adornment)
61 (rst-adjust, rst-promote-region)
62 (rst-display-adornments-hierarchy, rst-straighten-adornments)
63 (rst-find-pfx-in-region, rst-section-tree-rec)
64 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
65 (rst-toc-node, rst-toc, rst-forward-section)
66 (rst-iterate-leftmost-paragraphs)
67 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
68 (rst-bullet-list-region)
69 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
70 (rst-compile-find-conf, rst-compile)
71 (rst-repeat-last-character): Fix style.
72
73 2012-09-17 Chong Yidong <cyd@gnu.org>
74
75 * comint.el (comint--complete-file-name-data): Don't add a space
76 if the status is `sole'; that adds a gratuitous space in the
77 completion-cycling case (Bug#12092).
78
79 * pcomplete.el (pcomplete-completions-at-point): Likewise.
80
81 2012-09-17 Richard Stallman <rms@gnu.org>
82
83 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
84 only in the mime-shown mode, not in raw mode.
85 (rmail-mime): Toggle off mime by displaying the message without
86 mime processing. (Bug#12305)
87
88 * mail/rmail.el (rmail-retry-failure):
89 Turn off mime processing first. (Bug#12037)
90
91 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
92
93 2012-09-17 Chong Yidong <cyd@gnu.org>
94
95 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
96 (shell-dynamic-complete-functions): Convert to defcustom.
97 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
98
99 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
100 * comint.el (comint-prompt-read-only):
101 * custom.el (defcustom):
102 * hi-lock.el (hi-lock-mode):
103 * ibuffer.el (ibuffer-formats):
104 * ielm.el (ielm-prompt-read-only):
105 * novice.el (disable-command):
106 * saveplace.el (toggle-save-place):
107 * speedbar.el (speedbar-supported-extension-expressions):
108 * startup.el (auto-save-list-file-prefix, init-file-user)
109 (after-init-hook, inhibit-startup-echo-area-message):
110 * strokes.el (strokes-help):
111 * time-stamp.el (time-stamp):
112 * calendar/calendar.el (calendar, diary-file):
113 * calendar/diary-lib.el (diary-mail-entries, diary)
114 (diary-list-entries-hook):
115 * calendar/holidays.el (holidays, calendar-holidays):
116 * calendar/lunar.el (lunar-phases):
117 * calendar/solar.el (sunrise-sunset):
118 * emulation/edt.el (edt-load-keys):
119 * emulation/viper.el (viper-mode):
120 * eshell/em-alias.el (eshell-command-aliases-list):
121 * eshell/esh-util.el (eshell-convert-numeric-arguments):
122 * international/ogonek.el (ogonek-information):
123 * net/tramp-cmds.el (tramp-bug):
124 * net/quickurl.el (quickurl-reread-hook-postfix):
125 * play/decipher.el (decipher-font-lock-keywords):
126 * progmodes/cc-styles.el (c-set-style):
127 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
128 * progmodes/inf-lisp.el (inferior-lisp-prompt):
129 * progmodes/octave-mod.el (octave-mode):
130 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
131 * progmodes/verilog-mode.el (verilog-read-defines):
132 * textmodes/two-column.el (2C-mode): Likewise.
133
134 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
135
136 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
137 that holds many addresses.
138
139 2012-09-16 Chong Yidong <cyd@gnu.org>
140
141 * align.el (align-areas): Call the indication function with
142 positions instead of markers for arguments (Bug#12343).
143
144 * files.el (parse-colon-path): Use split-string (Bug#12351).
145
146 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
147 (display-buffer-function): Mark as obsolete.
148
149 * progmodes/compile.el (compilation-parse-errors): Accept list
150 values similar to font-lock-keywords (Bug#12136). Suggested by
151 Oleksandr Manzyuk.
152 (compilation-error-regexp-alist): Doc fix.
153
154 2012-09-15 Glenn Morris <rgm@gnu.org>
155
156 * version.el (emacs-bzr-version-bzr): New function.
157 (emacs-bzr-get-version): Add optional EXTERNAL argument.
158
159 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
160 checkouts, check the parent dirstate matches the branch.
161 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
162 empty string.
163
164 * version.el (emacs-bzr-version): Doc fix.
165 (emacs-bzr-version-dirstate): New function.
166 (emacs-bzr-get-version): For lightweight checkouts, if the parent
167 is local try and check that it matches the branch. If not, just
168 use dirstate information. (Bug#12441)
169
170 2012-09-14 Juri Linkov <juri@jurta.org>
171
172 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
173 (Bug#12399)
174
175 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
176
177 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
178
179 * emacs-lisp/edebug.el: Miscellaneous cleanup.
180 Remove obsolete byte-compiler hack that tried to silence some warnings.
181 (edebug-submit-bug-report): Remove.
182 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
183 Remove aliases, use the un-prefixed name instead.
184 (edebug-pop-to-buffer): Consider other frames.
185 (edebug-original-read):: Make it more obvious that it's always defined.
186 (edebug--make-form-data-entry, edebug--form-data-name)
187 (edebug--form-data-begin, edebug--form-data-end): Rename from the
188 single-dashed name, and implement with cl-defstruct.
189 (edebug-set-form-data-entry): Use the standard accessors.
190 (edebug-make-top-form-data-entry): Use push.
191 (edebug-no-match): Drop useless `funcall'.
192 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
193 to functions.
194 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
195 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
196 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
197 (easy-menu-define, with-custom-print): Remove redundant specs.
198 (edebug-outside-overriding-local-map)
199 (edebug-outside-overriding-terminal-local-map): Remove, unused.
200 (edebug--display): Bind unread-command-events directly to nil rather
201 than binding it to unread-command-events and later setting it to nil.
202 (edebug--display): Kill edebug-eval-buffer here...
203 (edebug--recursive-edit): ...rather than here.
204 Bind standard-output and standard-input.
205 (edebug-eval): Check cl-macroexpand-all is fboundp.
206 (edebug-temp-display-freq-count): Fix last change.
207
208 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
209 * subr.el (noreturn, 1value): Add `debug' spec.
210 * emacs-lisp/advice.el: Require cl-lib.
211 (ad-copy-tree): Remove, use copy-tree instead.
212 (ad-dolist): Remove use dolist or cl-dolist instead.
213 (ad-do-return): Remove, use cl-return instead.
214 (defadvice): Add `debug' spec.
215
216 2012-09-13 Juri Linkov <juri@jurta.org>
217
218 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
219 (Bug#12399)
220
221 2012-09-13 Glenn Morris <rgm@gnu.org>
222
223 * calc/calc.el (math-compose-expr):
224 * calc/calc-ext.el (math-compose-expr):
225 * progmodes/cc-defs.el (cl-macroexpand-all):
226 * progmodes/cc-langs.el (delete-duplicates, mapcan)
227 (cl-macroexpand-all): Update declarations.
228
229 * vc/vc.el: No need to require ediff.
230 (ediff-load-version-control): Declare.
231 (ediff-vc-internal): Fix declaration.
232 (vc-version-ediff): Require ediff.
233
234 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
235
236 Use a more backwards-compatible timer format (Bug#12430).
237 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
238 being right after USECS, as that better supports old code that
239 inadvisedly looked directly at the timer vector.
240
241 2012-09-13 Kenichi Handa <handa@gnu.org>
242
243 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
244 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
245 `coding-priority' property of these language environment.
246
247 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
248
249 Fix glitches caused by addition of psec to timers (Bug#12430).
250 * image.el (image-animate-timer):
251 * time.el (display-time-world-timer):
252 Use timer--function and timer--args rather than raw access to
253 timer vector.
254
255 2012-09-13 Glenn Morris <rgm@gnu.org>
256
257 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
258 If not compiling a file, try using load-file-name.
259
260 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
263 Fix last change.
264 (edebug-update-eval-list): Use `push'.
265
266 * emacs-lisp/edebug.el: Use lexical-binding.
267 Remove the "edebug-" prefix from non-dynamically-scoped variables.
268 Mark unused args with underscore.
269 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
270 (edebug-form-data): Use defvar-local.
271 (edebug-make-before-and-after-form, edebug-make-after-form):
272 Use backquote.
273 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
274 Not dynamically scoped any more.
275 (edebug--enter-trace): Add arguments `function' and `args'.
276 Rename from edebug-enter-trace.
277 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
278 (edebug--update-coverage): Add `after-index' and `value' args.
279 Rename from edebug-update-coverage.
280 (edebug-slow-after): Call it accordingly.
281 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
282 edebug-recursive-edit.
283 (edebug--display): Call it accordingly. Add args `value',
284 `offset-index', and `arg-mode'. Rename from edebug-display.
285 (edebug-debugger, edebug): Call it accordingly.
286 (edebug-eval-display-list): Use dolist.
287
288 2012-09-12 Juri Linkov <juri@jurta.org>
289
290 * info.el (Info-search): Don't check for isearch-mode and
291 isearch-regexp before let-binding search-spaces-regexp to
292 Info-search-whitespace-regexp.
293 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
294 search-whitespace-regexp if isearch-lax-whitespace or
295 isearch-regexp-lax-whitespace is non-nil.
296 (Info-mode): Don't set local variable search-whitespace-regexp.
297 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
298
299 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
302 (debugger-env-macro): Remove support for unread-command-char.
303
304 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
305 the temporary map re-appearing on emulation-mode-map-alists.
306
307 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
308 since 22.1.
309
310 * ehelp.el (with-electric-help): Accept functions in
311 electric-help-form-to-execute.
312 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
313 And replace unread-command-char -> unread-command-events.
314
315 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
316
317 Sync with Tramp 2.2.6.
318
319 * net/tramp.el (tramp-accept-process-output): Don't use
320 JUST-THIS-ONE in the XEmacs case.
321
322 * net/trampver.el: Update release number.
323
324 2012-09-12 Martin Rudalics <rudalics@gmx.at>
325
326 * emacs-lisp/debug.el (debugger-previous-window-height):
327 New variable.
328 (debug): When debugger-jumping-flag is non-nil try to restore
329 height of debugger window. (Bug#8789)
330
331 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
334 overriding-local-map and pre/post-command-hook here.
335 (edebug-recursive-edit): Do it here instead (bug#12345).
336 (edebug-outside-unread-command-char): Remove all uses of
337 unread-command-char.
338
339 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
340 inhibit-debugger is bound instead.
341
342 2012-09-11 Bastien Guerry <bzg@gnu.org>
343
344 * subr.el (set-temporary-overlay-map): Add a docstring.
345 (Bug#12346)
346
347 2012-09-11 Bastien Guerry <bzg@gnu.org>
348
349 * minibuffer.el (completion-table-subvert): Fix docstring.
350 (Bug#12347)
351
352 2012-09-11 Bastien Guerry <bzg@gnu.org>
353
354 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
355
356 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
357
358 * progmodes/sql.el: Version 3.1
359 (sql-db2-escape-newlines): New variable.
360 (sql-escape-newlines-filter): Use it.
361
362 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
363
364 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
365
366 2012-09-10 Dan Nicolaescu <dann@gnu.org>
367
368 * vc/diff-mode.el (diff-mode-menu):
369 Bind diff-remove-trailing-whitespace.
370
371 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
374 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
375 (emacs-lisp-byte-code-mode): New functions.
376 (eval-sexp-add-defvars): Don't skip defvars in column >0.
377 (eval-defun-2): Remove bogus interactive spec.
378 (lisp-indent-line): Remove redundant whole-exp code, now done in
379 indent-according-to-mode.
380 (save-match-data): Remove redundant indent data.
381
382 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
383 Use `declare'.
384
385 2012-09-09 Juri Linkov <juri@jurta.org>
386
387 * replace.el (replace-regexp-lax-whitespace): New defcustom.
388 (replace-lax-whitespace, query-replace-regexp)
389 (query-replace-regexp-eval, replace-regexp): Doc fix.
390 (perform-replace, replace-highlight): Let-bind
391 isearch-lax-whitespace to replace-lax-whitespace and
392 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
393
394 * isearch.el (isearch-query-replace): Let-bind
395 replace-lax-whitespace to isearch-lax-whitespace and
396 replace-regexp-lax-whitespace to
397 isearch-regexp-lax-whitespace. (Bug#10885)
398
399 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
400
401 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
402
403 2012-09-09 Alan Mackenzie <acm@muc.de>
404
405 * progmodes/cc-engine.el (c-state-cache-init):
406 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
407 (c-record-parse-state-state):
408 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
409
410 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
411
412 * register.el (register-separator): Rename from
413 separator-register. All uses changed. Doc fix.
414 (register): Fix version.
415
416 2012-09-09 Chong Yidong <cyd@gnu.org>
417
418 * replace.el (query-replace-map): Bind four new symbols for
419 requesting window scrolling.
420
421 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
422 query-replace-map (Bug#8948).
423
424 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
425
426 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
427 since they are now in query-replace-map.
428
429 * window.el (scroll-other-window-down): Make the arg optional.
430
431 2012-09-09 Chong Yidong <cyd@gnu.org>
432
433 * files.el (hack-local-variables-confirm): Use quit-window to kill
434 the *Local Variables* buffer.
435
436 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
437
438 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
439 not just expect to be at its beginning. Adjust callees.
440 Succeed when do-end block has no space before the pipe character.
441 (ruby-brace-to-do-end): When the original block is one-liner,
442 convert to multiline. Reindent the result.
443
444 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
445
446 * register.el (register): New group.
447 (register-separator): New user option.
448 (increment-register): Route it to `append-to-register', if
449 register contains text. Implication is that `C-x r +' can now be
450 used for appending to a text register (bug#12217).
451 (append-to-register, prepend-to-register): Add separator based on
452 `register-separator.
453
454 2012-09-08 Alan Mackenzie <acm@muc.de>
455
456 AWK Mode: make auto-newline work when there's "==" in the pattern.
457 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
458 correctly.
459 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
460 Test more rigorously for "=" token.
461
462 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
463
464 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
465 Only fail when reached LIMIT.
466
467 2012-09-08 Chong Yidong <cyd@gnu.org>
468
469 * dired.el (dired-mode-map): Don't bind M-=.
470
471 * dired-aux.el (dired-diff): Use backup file as default.
472
473 2012-09-08 Drew Adams <drew.adams@oracle.com>
474
475 * subr.el (add-to-history): Fix delete usage (Bug#12314).
476
477 2012-09-08 Chong Yidong <cyd@gnu.org>
478
479 * subr.el (syntax-after, syntax-class): Doc fix.
480
481 2012-09-08 Martin Rudalics <rudalics@gmx.at>
482
483 * window.el (display-buffer-in-previous-window): New buffer
484 display action function.
485
486 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
487 (debugger-previous-window): New variable.
488 (debug): Rewrite using display-buffer-in-previous-window,
489 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
490
491 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
492
493 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
494
495 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
496
497 * progmodes/python.el (python-shell-send-string):
498 When default-directory is remote, create temp file on remote
499 filesystem.
500 (python-shell-send-file): When file is remote, pass local view of
501 file paths to remote Python interpreter. (Bug#12340)
502
503 2012-09-07 Chong Yidong <cyd@gnu.org>
504
505 * window.el (switch-to-buffer): Doc fix (Bug#12181).
506
507 * files.el (after-find-file): Don't fail on a read-only buffer if
508 require-final-newline is `visit' or `visit-save' (Bug#11156).
509
510 * subr.el (read-char-choice): Allow quitting via ESC ESC.
511
512 * userlock.el (ask-user-about-supersession-threat):
513 Use read-char-choice (Bug#12093).
514
515 2012-09-07 Chong Yidong <cyd@gnu.org>
516
517 * subr.el (buffer-narrowed-p): New function.
518
519 * ses.el (ses-widen):
520 * simple.el (count-words--buffer-message):
521 * net/browse-url.el (browse-url-of-buffer): Use it
522
523 * simple.el (count-words-region): Don't signal an error if there
524 is a non-nil prefix arg and the mark is not set.
525
526 * help.el (describe-key-briefly): Allow the message to be seen
527 when invoked from the minibuffer (Bug#7014).
528
529 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
530
531 * progmodes/ruby-mode.el (ruby-end-of-defun)
532 (ruby-beginning-of-defun): Simplify, allow indentation before
533 block beginning and end keywords.
534 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
535 (ruby-end-of-defun): Expect that the point is at the beginning of
536 the defun.
537
538 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
541 (bug#12367).
542 (cl--make-usage-args): Strip _ from argument names.
543
544 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
545
546 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
547 obsolete alias speedbar-key-map.
548 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
549 (vhdl-index-menu-init): Don't use obsolete variable
550 font-lock-maximum-size.
551
552 2012-09-06 Chong Yidong <cyd@gnu.org>
553
554 * frame.el (window-system-version): Mark as obsolete.
555
556 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
557 of obsolete variable speedbar-key-map.
558
559 2012-09-06 Juri Linkov <juri@jurta.org>
560
561 * replace.el (replace-lax-whitespace): New defcustom.
562 (query-replace, query-replace-regexp, query-replace-regexp-eval)
563 (replace-string, replace-regexp): Mention it in docstrings.
564 (perform-replace, replace-highlight): Let-bind
565 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
566 to the values of replace-lax-whitespace and regexp-flag.
567 Don't let-bind search-whitespace-regexp. (Bug#10885)
568
569 * isearch.el (isearch-query-replace): Let-bind
570 replace-lax-whitespace instead of let-binding
571 replace-search-function and replace-re-search-function.
572 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
573 and isearch-regexp-lax-whitespace to lazy-highlight variables.
574 (isearch-toggle-symbol): Set isearch-regexp to nil
575 in isearch-word mode (like in isearch-toggle-word).
576
577 2012-09-06 Juri Linkov <juri@jurta.org>
578
579 * replace.el (replace-search-function)
580 (replace-re-search-function): Set default values to nil.
581 (perform-replace): Let-bind isearch-related variables based on
582 replace-related values, call `isearch-search-fun' and let-bind
583 the result to `search-function'. Remove code that sets
584 `search-function' and `search-string' separately for
585 `delimited-flag'.
586 (replace-highlight): Add new argument `delimited-flag' and
587 rename other arguments to the names used in `perform-replace'.
588 Let-bind `isearch-word' to the argument `delimited-flag'.
589 (Bug#10885, bug#10887)
590
591 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
592
593 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
594 ruby-beginning-of-indent, simplify, allow all keywords to have
595 indentation before them.
596 (ruby-beginning-of-indent): Adjust for above. Search until the
597 found point is not inside a string or comment.
598 (ruby-font-lock-keywords): Allow symbols to start with "@"
599 character, give them higher priority than variables.
600 (ruby-syntax-propertize-function)
601 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
602 matchers. Expression expansions are not comments when inside a
603 string, and there comment syntax status is irrelevant.
604 (ruby-match-expression-expansion): New function. Check that
605 expression expansion is inside a string, and it's not escaped.
606 (ruby-font-lock-keywords): Use it.
607
608 2012-09-05 Martin Rudalics <rudalics@gmx.at>
609
610 * help.el (temp-buffer-max-height): New default value.
611 (temp-buffer-resize-frames): New option.
612 (resize-temp-buffer-window): Optionally resize frame.
613
614 * window.el (fit-frame-to-buffer-bottom-margin): New option.
615 (fit-frame-to-buffer): New function.
616
617 2012-09-05 Glenn Morris <rgm@gnu.org>
618
619 * emulation/cua-rect.el (cua--init-rectangles):
620 * textmodes/picture.el (picture-mode-map):
621 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
622 like forward-char and backward-char. (Bug#12317)
623
624 2012-09-05 Leo Liu <sdl.web@gmail.com>
625
626 * progmodes/flymake.el (flymake-warning-re): New variable.
627 (flymake-parse-line): Use it.
628
629 2012-09-05 Glenn Morris <rgm@gnu.org>
630
631 * calendar/holidays.el (holiday-christian-holidays):
632 Rename an entry. (Bug#12289)
633
634 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
635
636 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
637 (bug#12222).
638
639 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
640
641 * loadup.el: Load macroexp. Remove hack.
642 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
643 (macroexp--expand-all): Use it to get better warnings.
644 (macroexp--backtrace, macroexp--trim-backtrace-frame)
645 (internal-macroexpand-for-load): New functions.
646 (macroexp--pending-eager-loads): New var.
647 (emacs-startup-hook): New hack to replace one in loadup.el.
648 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
649 (cl--compiler-macro-cXXr): Move to top, before they can be used.
650 (cl-psetf): Simplify.
651 (cl-defstruct): Add indent rule.
652
653 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
654
655 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
656 over `user-mail-address' for the SMTP MAIL FROM envelope.
657 (smtpmail-via-smtp): Ditto.
658
659 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
660
661 * progmodes/ruby-mode.el: Clean up keybindings.
662 (ruby-mode-map): Don't bind ruby-electric-brace,
663 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
664 backward-kill-word, reindent-then-newline-and-indent.
665 (ruby-mark-defun): Remove.
666 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
667 (ruby-mode): Set local beginning-of-defun-function and
668 end-of-defun-function values.
669
670 2012-09-03 Martin Rudalics <rudalics@gmx.at>
671
672 * window.el (temp-buffer-window-setup-hook)
673 (temp-buffer-window-show-hook): New hooks.
674 (temp-buffer-window-setup, temp-buffer-window-show)
675 (with-temp-buffer-window): New functions.
676 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
677 (special-display-popup-frame): Make sure the window used shows BUFFER.
678
679 * help.el (temp-buffer-resize-mode): Fix doc-string.
680 (resize-temp-buffer-window): New optional argument WINDOW.
681
682 * files.el (recover-file, save-buffers-kill-emacs):
683 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
684
685 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
686
687 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
688 remote definition of `default-directory', ensure we can connect.
689
690 2012-09-02 Juri Linkov <juri@jurta.org>
691
692 Toggle whitespace matching mode with M-s SPC.
693 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
694
695 * isearch.el (search-whitespace-regexp): Doc fix.
696 Remove cons cell customization.
697 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
698 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
699 New variables.
700 (isearch-forward, isearch-forward-regexp): Doc fix.
701 (isearch-toggle-lax-whitespace): New command.
702 (search-forward-lax-whitespace, search-backward-lax-whitespace)
703 (re-search-forward-lax-whitespace)
704 (re-search-backward-lax-whitespace): New functions.
705 (isearch-whitespace-regexp): Remove function.
706 (isearch-query-replace): Let-bind replace-search-function and
707 replace-re-search-function.
708 (isearch-occur): Let-bind search-spaces-regexp according to the
709 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
710 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
711 condition for C-q SPC.
712 (isearch-search-fun-default): Use new functions mentioned above.
713 (isearch-search-forward, isearch-search-backward): Remove functions.
714 (isearch-search): Don't let-bind search-spaces-regexp.
715 (isearch-lazy-highlight-space-regexp): Remove variable.
716 (isearch-lazy-highlight-lax-whitespace)
717 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
718 (isearch-lazy-highlight-new-loop): Use them.
719 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
720
721 2012-09-02 Chong Yidong <cyd@gnu.org>
722
723 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
724
725 2012-09-02 Glenn Morris <rgm@gnu.org>
726
727 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
728
729 2012-09-01 Glenn Morris <rgm@gnu.org>
730
731 * term.el: Tidy up menu definitions.
732 (term-mode-map): Use easymenu for In/Out, Complete menus.
733 (term-pager-break-map): Initialize in the defvar.
734 (term-terminal-menu, term-signals-menu): Define with easymenu.
735 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
736 (term-pager-menu): New, extracted from term-process-pager.
737 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
738 (term-update-mode-line): Propertize line/char and page items.
739 (term-process-pager): Move keymap initialization elsewhere.
740
741 2012-09-01 Martin Rudalics <rudalics@gmx.at>
742
743 * window.el (switch-to-prev-buffer): Handle additional values of
744 BURY-OR-KILL argument. Don't switch in minibuffer window.
745 (switch-to-next-buffer): Don't switch in minibuffer window.
746 (quit-restore-window): New function based on quit-window.
747 Handle additional values of former KILL argument.
748 (quit-window): Call quit-restore-window with appropriate
749 interpretation of KILL argument.
750 (display-buffer-below-selected): New buffer display action
751 function.
752
753 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * minibuffer.el (completion-at-point-functions): Complete docstring
756 (bug#12254).
757
758 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
759
760 Better seed support for (random).
761 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
762 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
763 * play/mpuz.el, play/tetris.el, play/zone.el:
764 * calc/calc-comb.el (math-init-random-base):
765 * play/blackbox.el (bb-init-board):
766 * play/life.el (life):
767 * server.el (server-use-tcp):
768 * type-break.el (type-break):
769 Remove unnecessary call to (random t).
770 * net/sasl.el (sasl-unique-id-function):
771 Change (random t) to (random), now that the latter is more random.
772 * play/life.el (life-initialized): Remove no-longer-needed var.
773
774 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
775
776 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
777 Consider frame's buffer predicate when choosing the buffer.
778 (Bug#12081)
779
780 2012-08-30 Richard Stallman <rms@gnu.org>
781
782 * simple.el (special-mode-map): Delete binding for `z'.
783
784 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
785
786 * progmodes/compile.el (compilation-always-kill): Doc fix.
787
788 2012-08-30 Chong Yidong <cyd@gnu.org>
789
790 * window.el (display-buffer-reuse-frames): Make the obsolescence
791 message more informative.
792
793 2012-08-30 Glenn Morris <rgm@gnu.org>
794
795 * paren.el (show-paren-delay):
796 Add a :set function. Doc fix. (Bug#12297)
797
798 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
799
800 * progmodes/compile.el (compilation-always-kill): New var.
801 (compilation-start): Use it.
802
803 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * simple.el (read-only-mode): Move from files.el for bootstrapping.
806 * files.el (read-only-mode): Move to simple.el.
807
808 * files.el (read-only-mode): New minor mode.
809 (toggle-read-only): Use it and mark obsolete.
810 (find-file--read-only):
811 * vc/vc.el (vc-next-action, vc-checkout):
812 * vc/vc-cvs.el (vc-cvs-checkout):
813 * obsolete/vc-mcvs.el (vc-mcvs-update):
814 * ffap.el (ffap--toggle-read-only): Update callers.
815
816 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
817
818 * eshell/esh-ext.el (eshell-external-command): Do not examine
819 remote shell scripts.
820 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
821
822 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
823 "/usr/local/sbin".
824
825 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
828
829 2012-08-28 Leo Liu <sdl.web@gmail.com>
830
831 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
832 completion-at-point. (Bug#12220)
833
834 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
835
836 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
837
838 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
839
840 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
841 be buffer-local; add delete-trailing-whitespace (bug#12259).
842
843 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
844
845 * progmodes/hideif.el (hif-compress-define-list):
846 Fix typo. (Bug#11951)
847
848 2012-08-28 Dan Nicolaescu <dann@gnu.org>
849
850 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
851 buffer local setting.
852
853 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
854 rcirc-encode-coding-system.
855
856 2012-08-28 Leo Liu <sdl.web@gmail.com>
857
858 * net/rcirc.el (rcirc-split-message): New function.
859 (rcirc-send-message): Use it. (Bug#12051)
860
861 2012-08-28 Juri Linkov <juri@jurta.org>
862
863 * info.el (Info-fontify-node): Hide empty lines at the end of
864 the node. (Bug#12272)
865
866 2012-08-27 Drew Adams <drew.adams@oracle.com>
867
868 * dired.el (dired-pop-to-buffer): Make window start at beginning
869 of buffer (Bug#12281).
870
871 2012-08-26 Chong Yidong <cyd@gnu.org>
872
873 * window.el (special-display-regexps, special-display-frame-alist)
874 (special-display-buffer-names, special-display-function)
875 (display-buffer-reuse-frames): Mark as obsolete.
876
877 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
878
879 * help.el (help-print-return-message): Don't treat
880 display-buffer-reuse-frames specially.
881
882 2012-08-26 Chong Yidong <cyd@gnu.org>
883
884 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
885 New variable, replacing gdb-frame-parameters.
886 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
887 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
888 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
889 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
890 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
891 the functions directly with gdb-display-buffer-other-frame-action.
892 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
893 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
894 (gdb-display-stack-buffer, gdb-display-locals-buffer)
895 (gdb-display-registers-buffer): Define directly.
896 (def-gdb-display-buffer): Macro deleted.
897 (gdb-display-buffer): Remove second and third args, callers don't
898 use them. Defer to the default display-buffer behavior, apart
899 from making windows dedicated.
900 (gdb-setup-windows): Don't call display-buffer unnecessarily.
901
902 * progmodes/gud.el (gud-display-line): Just use display-buffer.
903
904 * window.el (display-buffer-pop-up-frame): Handle a
905 pop-up-frame-parameters alist entry.
906 (display-buffer): Document it.
907
908 2012-08-26 Chong Yidong <cyd@gnu.org>
909
910 * isearch.el (search-whitespace-regexp): Make string and nil
911 values apply to both ordinary and regexp search. Allow a cons
912 cell value to distinguish between the two.
913 (isearch-whitespace-regexp, isearch-search-forward)
914 (isearch-search-backward): New functions.
915 (isearch-occur, isearch-search-fun-default, isearch-search)
916 (isearch-lazy-highlight-new-loop): Use them.
917 (isearch-forward, isearch-forward-regexp): Doc fix.
918
919 2012-08-26 Chong Yidong <cyd@gnu.org>
920
921 * faces.el (help-argument-name): Always inherit from italic
922 (Bug#12213).
923
924 2012-08-25 Martin Rudalics <rudalics@gmx.at>
925
926 * window.el (window--even-window-heights): Even heights when
927 WINDOW and the selected window form a vertical combination.
928 (display-buffer-use-some-window): Provide that window used gets
929 sized back by quit-window. (Bug#11880) and (Bug#12091)
930
931 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
932
933 Fix file time stamp problem with bzr and CVS (Bug#12001).
934 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
935 in the file's time stamp, since the version control system loses
936 that information.
937
938 2012-08-22 Juri Linkov <juri@jurta.org>
939
940 * info.el (Info-fontify-node): Hide the suffix of the
941 Info file name in the header line. (Bug#12187)
942
943 2012-08-22 Glenn Morris <rgm@gnu.org>
944
945 * calendar/cal-tex.el (cal-tex-weekly-common):
946 Restore leading blank page.
947
948 2012-08-22 Le Wang <l26wang@gmail.com> (tiny change)
949
950 * misc.el (forward-to-word, backward-to-word): Activate or extend
951 the region under `shift-select-mode'. (Bug#12231)
952
953 2012-08-22 Bastien Guerry <bzg@gnu.org>
954
955 * progmodes/executable.el (executable-prefix): Set to "#!" instead
956 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
957 gives details on why the space is never needed.
958
959 2012-08-22 Martin Rudalics <rudalics@gmx.at>
960
961 * window.el (walk-window-tree, window-with-parameter):
962 New optional argument MINIBUF to control whether these functions
963 should run on the minibuffer window.
964 (window-at-side-list): Don't operate on minibuffer window.
965 (window-in-direction): Simplify and rewrite doc-string.
966 (window--size-ignore): Rename to window--size-ignore-p.
967 Update callers.
968 (display-buffer-in-atom-window, window--major-non-side-window)
969 (window--major-side-window, display-buffer-in-major-side-window)
970 (delete-side-window, display-buffer-in-side-window):
971 New functions.
972 (window--side-check, window-deletable-p, delete-window)
973 (delete-other-windows, split-window): Handle side windows and
974 atomic windows appropriately.
975 (window--display-buffer): Call display-buffer-record-window also
976 when the window buffer did not change.
977
978 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
979
980 * help-fns.el (help-fns--key-bindings):
981 Abbreviate non-symbol remap targets. (Bug#12174)
982
983 2012-08-22 Martin Rudalics <rudalics@gmx.at>
984
985 * dired.el (dired-mark-remembered): Don't clobber point.
986 (Bug#11795)
987
988 2012-08-22 Glenn Morris <rgm@gnu.org>
989
990 * progmodes/bug-reference.el (bug-reference): New custom group.
991 (bug-reference-bug-regexp): Make it a defcustom.
992
993 2012-08-22 Daiki Ueno <ueno@unixuser.org>
994
995 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
996 (js-paren-indent-offset, js-square-indent-offset)
997 (js-curly-indent-offset): Add :safe (Bug#12257).
998
999 2012-08-22 Edward O'Connor <hober0@gmail.com>
1000
1001 * json.el (json-key-format): Add error properties.
1002 (json-encode-key): New function.
1003 (json-encode-hash-table, json-encode-alist, json-encode-plist):
1004 Use json-encode-key.
1005
1006 2012-08-22 Glenn Morris <rgm@gnu.org>
1007
1008 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
1009 (cal-tex-leftday, cal-tex-rightday): Remove functions.
1010 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
1011 Update for above change.
1012
1013 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
1014
1015 * cus-face.el (custom-face-attributes): Fix customize type for the
1016 :underline attribute. (Bug#11805)
1017
1018 2012-08-21 Martin Rudalics <rudalics@gmx.at>
1019
1020 * window.el (window-point-1, set-window-point-1): Remove.
1021 (window-in-direction, record-window-buffer)
1022 (set-window-buffer-start-and-point, split-window-below)
1023 (window--state-get-1, display-buffer-record-window):
1024 Replace calls to window-point-1 and set-window-point-1 by calls to
1025 window-point and set-window-point respectively.
1026
1027 2012-08-21 Glenn Morris <rgm@gnu.org>
1028
1029 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
1030 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
1031 Use it.
1032
1033 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
1034 (cal-tex-shortday): New function.
1035 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
1036 (cal-tex-cursor-filofax-daily): Use the above.
1037
1038 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
1039 New functions.
1040 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1041 (cal-tex-cursor-filofax-week): Use them.
1042
1043 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
1044 New constants.
1045 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
1046 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
1047
1048 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
1049 (cal-tex-end-document): Don't rely on buffer name.
1050
1051 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
1052 Use cal-tex-vspace.
1053 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
1054 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
1055 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
1056 Use cal-tex-arg.
1057
1058 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
1059 (cal-tex-cursor-week, cal-tex-cursor-week2)
1060 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
1061 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1062 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
1063 (cal-tex-insert-preamble, cal-tex-b-document)
1064 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
1065 Improve cal-tex-cmd usage.
1066
1067 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
1068 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
1069 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
1070 (cal-tex-weekly-paper): New function.
1071 (cal-tex-cursor-week, cal-tex-cursor-week2)
1072 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
1073 (cal-tex-cursor-day): Use it.
1074
1075 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
1076 (cal-tex-cursor-filofax-week): Remove leading blank page.
1077
1078 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1079 Add autoload cookie. For now at least, don't use color, since
1080 no other cal-tex function does.
1081
1082 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
1083 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
1084 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
1085
1086 2012-08-21 Juri Linkov <juri@jurta.org>
1087
1088 * info.el (Info-file-attributes): New variable.
1089 (info-insert-file-contents): Add file attributes to
1090 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
1091 `Info-toc-nodes' when previous modtime of the Info file is less
1092 than new modtime.
1093 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
1094 of info.el. (Bug#12230)
1095
1096 2012-08-20 Glenn Morris <rgm@gnu.org>
1097
1098 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
1099 * calendar/holidays.el (calendar-holiday-list):
1100 Report errors with display-warning rather than beep'n'sleep.
1101
1102 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
1103
1104 * net/tramp.el (tramp-accept-process-output): Accept only output
1105 from PROC. Otherwise, process filters and sentinels might be
1106 confused. (Bug#12145)
1107
1108 2012-08-20 Chong Yidong <cyd@gnu.org>
1109
1110 * descr-text.el (describe-text-properties-1): Use overlays-in to
1111 report on empty overlays (Bug#3322).
1112
1113 2012-08-20 Glenn Morris <rgm@gnu.org>
1114
1115 * mail/rmailout.el (rmail-output-read-file-name):
1116 Trap and report errors in rmail-output-file-alist elements.
1117
1118 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
1119 since most non-font-lock faces are not also variables).
1120
1121 2012-08-20 Edward Reingold <reingold@iit.edu>
1122
1123 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
1124 New function. (Bug12160)
1125
1126 2012-08-19 Glenn Morris <rgm@gnu.org>
1127
1128 * mail/rmailout.el (rmail-output-read-file-name):
1129 Fix previous change (when the alist is nil or does not match).
1130
1131 2012-08-19 Chong Yidong <cyd@gnu.org>
1132
1133 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
1134 (Bug#12228).
1135
1136 2012-08-18 Chong Yidong <cyd@gnu.org>
1137
1138 * simple.el (yank-handled-properties): New defcustom.
1139 (yank-excluded-properties): Add font-lock-face and category.
1140 (yank): Doc fix.
1141
1142 * subr.el (remove-yank-excluded-properties):
1143 Obey yank-handled-properties. The special handling of font-lock-face
1144 and category is now done this way, instead of being hard-coded.
1145 (insert-for-yank-1): Remove font-lock-face handling.
1146 (yank-handle-font-lock-face-property)
1147 (yank-handle-category-property): New function.
1148
1149 2012-08-17 Glenn Morris <rgm@gnu.org>
1150
1151 * mail/rmailout.el (rmail-output-read-file-name):
1152 Check rmail-output-file-alist against the full message body
1153 in the correct rmail buffer. (Bug#12214)
1154
1155 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
1156
1157 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1158 Eliminate superfluous prompt. (Bug#12203)
1159
1160 2012-08-17 Chong Yidong <cyd@gnu.org>
1161
1162 * mouse.el (mouse-appearance-menu): If x-select-font returns a
1163 font spec, set the font directly (Bug#3228).
1164
1165 2012-08-17 Martin Rudalics <rudalics@gmx.at>
1166
1167 * window.el (delete-window): Fix last fix.
1168
1169 2012-08-16 Martin Rudalics <rudalics@gmx.at>
1170
1171 * window.el (window-valid-p): Move to window.c.
1172 (window-child, window-child-count, window-last-child)
1173 (window-normalize-window, window-combined-p)
1174 (window-combinations, window-atom-root, window-min-size)
1175 (window-sizable, window-sizable-p, window-size-fixed-p)
1176 (window-min-delta, window-max-delta, window--resizable)
1177 (window--resizable-p, window-resizable, window-total-size)
1178 (window-full-height-p, window-full-width-p, window-body-size)
1179 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
1180 (minimize-window, window-deletable-p, delete-window)
1181 (delete-other-windows, set-window-buffer-start-and-point)
1182 (next-buffer, previous-buffer, split-window, balance-windows-2)
1183 (set-window-text-height, window-buffer-height)
1184 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
1185 (truncated-partial-width-window-p): Minor code adjustments.
1186 In doc-strings state whether the argument window has to denote a
1187 live, valid or any window.
1188
1189 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
1190
1191 * progmodes/subword.el (subword-forward-function)
1192 (subword-backward-function, subword-forward-regexp)
1193 (subword-backward-regexp): New variables.
1194 (subword-forward, subword-forward-internal, subword-backward-internal):
1195 Use new variables, eg so that different "word" definitions
1196 can be easily used. (Bug#11411)
1197
1198 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
1201 for composite selectors.
1202 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
1203 operation just because we can't find a previous revision.
1204
1205 2012-08-15 Chong Yidong <cyd@gnu.org>
1206
1207 * frame.el (set-frame-font): Accept font objects.
1208
1209 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
1212
1213 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
1214
1215 * man.el (Man-overstrike-face, Man-underline-face)
1216 (Man-reverse-face): Remove variables.
1217 (Man-overstrike, Man-underline, Man-reverse): New faces.
1218 (Man-fontify-manpage): Use them instead of the variables.
1219 (Man-cleanup-manpage): Comment change.
1220 (Man-ansi-color-map): New variable.
1221 (Man-fontify-manpage): Use it.
1222 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
1223
1224 Implement ANSI SGR parameters 22-27 (bug#12146).
1225 * ansi-color.el (ansi-colors): Doc fix.
1226 (ansi-color-context, ansi-color-context-region): Doc fix.
1227 (ansi-color--find-face): New function.
1228 (ansi-color-apply, ansi-color-apply-on-region): Use it.
1229 Rename the local variable `face' to `codes' since it is now a list of
1230 ansi codes. Doc fix.
1231 (ansi-color-get-face): Remove.
1232 (ansi-color-parse-sequence): New function, derived from
1233 ansi-color-get-face.
1234 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
1235 codes 22-27.
1236
1237 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
1238
1239 * subr.el (read-passwd): Allow use from a minibuffer.
1240
1241 2012-08-14 Eli Zaretskii <eliz@gnu.org>
1242
1243 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
1244 inside comments and strings as identifiers.
1245
1246 * progmodes/gud.el (gud-tooltip-print-command): Quote the
1247 expression to evaluate. This allows to evaluate expressions with
1248 embedded whitespace.
1249 (gud-tooltip-tips): Add a blank before the newline in the
1250 message-box text, for the benefit of message-box emulation on
1251 MS-Windows.
1252
1253 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
1254 messages from GDB, pop them up in a tooltip to give feedback to
1255 user.
1256 (gdb-tooltip-print-1): Quote the expression to evaluate.
1257 This allows to evaluate expressions with embedded whitespace.
1258 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
1259 if the TTY name is nil or empty (which happens when communicating
1260 with the inferior via pipes, e.g. on MS-Windows).
1261 (gdb-internals): If GDB sends a "&\n" empty debugging message,
1262 don't send that to the GUD buffer.
1263
1264 2012-08-14 Glenn Morris <rgm@gnu.org>
1265
1266 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
1267 Optimize away setq-default with no args, as for setq. (Bug#12195)
1268
1269 2012-08-14 Chong Yidong <cyd@gnu.org>
1270
1271 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
1272
1273 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
1274 (Bug#12085).
1275
1276 2012-08-14 Glenn Morris <rgm@gnu.org>
1277
1278 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
1279
1280 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
1281
1282 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
1283 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
1284 Use cached shell name.
1285
1286 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1287
1288 * progmodes/python.el (python-shell-send-string):
1289 (python-shell-send-setup-code): Do not use `format' with `message'.
1290
1291 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
1292
1293 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
1294 (ruby-percent-literal-beg-re): New constant.
1295 (ruby-syntax-general-delimiters-goto-beg): Rename to
1296 `ruby-syntax-enclosing-percent-literal', improve literal type check.
1297 (ruby-syntax-propertize-general-delimiters): Rename to
1298 `ruby-syntax-propertize-percent-literal', it's a shorter and more
1299 popular term. Adjust comments everywhere.
1300 (ruby-syntax-propertize-percent-literal): Only propertize when not
1301 inside a simple string or comment. When the literal is unclosed,
1302 leave the text after it unpropertized.
1303 (ruby-syntax-methods-before-regexp): New constant.
1304 (ruby-syntax-propertize-function): Use it to recognize regexps.
1305 Don't look at the text after regexp, just use the whitelist.
1306
1307 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
1308
1309 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
1310 non-nil always load the compiled file if it exists. (Bug#12197)
1311
1312 2012-08-14 Chong Yidong <cyd@gnu.org>
1313
1314 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
1315 (hi-lock-set-pattern): When deciding whether to use font lock or
1316 overlays, look at font-lock-mode instead of font-lock-fontified
1317 (Bug#12168).
1318 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
1319 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
1320
1321 2012-08-14 Daiki Ueno <ueno@unixuser.org>
1322
1323 * subr.el (internal--after-with-selected-window): Fix typo
1324 (Bug#12193).
1325
1326 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
1327
1328 Use `completion-table-dynamic' for completion functions.
1329 * progmodes/python.el
1330 (python-shell-completion--do-completion-at-point)
1331 (python-shell-completion--get-completions):
1332 Remove functions.
1333 (python-shell-completion-complete-at-point): New function.
1334 (python-completion-complete-at-point): Use it.
1335
1336 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
1337
1338 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
1339 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
1340
1341 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * subr.el (function-get): Refine `autoload' arg so it can also
1344 autoload functions for gv.el (bug#12191).
1345 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
1346 autoloads macros.
1347
1348 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
1349 Prefer pcase-let over destructuring-bind.
1350 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
1351 Also, remove whitespace as we go, rather than after accumulating the
1352 various places.
1353
1354 * subr.el (internal--before-with-selected-window)
1355 (internal--after-with-selected-window): Fix typo seleted->selected.
1356 (with-selected-window): Adjust callers.
1357 Reported by Dmitry Gutov <dgutov@yandex.ru>.
1358
1359 2012-08-13 Bastien Guerry <bzg@gnu.org>
1360
1361 * window.el (special-display-popup-frame): Minor docstring
1362 enhancement. (Bug#12172)
1363
1364 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
1365
1366 * tar-mode.el (tar-header-data-end): Only ignore size for files of
1367 type 1-6.
1368 (tar-header-block-summarize, tar-get-descriptor): Handle pax
1369 extended headers.
1370
1371 * files.el (hack-local-variables-filter): Remove useless eval.
1372
1373 2012-08-13 Martin Rudalics <rudalics@gmx.at>
1374
1375 * subr.el (with-selected-window): Fix last change.
1376
1377 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 * subr.el (internal--before-with-seleted-window)
1380 (internal--after-with-seleted-window): New functions.
1381 (with-selected-window): Use them, to replace dependency on
1382 tty-top-frame.
1383
1384 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
1385
1386 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
1387 binding for `newline'.
1388 (ruby-move-to-block): When moving backward, stop at block opening,
1389 not indentation.
1390 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
1391 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
1392 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1393 `ruby-toggle-block'.
1394
1395 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
1396
1397 * ibuffer.el (ibuffer-do-toggle-read-only):
1398 * dired.el (dired-toggle-read-only):
1399 * buff-menu.el (Buffer-menu-toggle-read-only):
1400 * bindings.el (mode-line-toggle-read-only):
1401 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
1402
1403 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
1404
1405 * descr-text.el (describe-char): Put the overlays over the
1406 "displayed as" character.
1407
1408 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
1409
1410 * calc/calc-units.el (math-default-units-table): Give an
1411 initial value.
1412 (math-put-default-units): Add options to put composite units and
1413 unit systems in the default units table.
1414 (calc-convert-units): Send composite units to
1415 `math-put-default-units' when appropriate.
1416
1417 2012-08-11 Glenn Morris <rgm@gnu.org>
1418
1419 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
1420
1421 * tutorial.el (help-with-tutorial):
1422 * emacs-lisp/copyright.el (copyright-update-directory):
1423 * emacs-lisp/autoload.el (autoload-find-generated-file)
1424 (autoload-find-file): Disable local eval: (for insurance).
1425
1426 * files.el (hack-local-variables-filter): If an eval: form is not
1427 known to be safe, and enable-local-variables is :safe, then ignore
1428 the form totally, as is done for non-eval forms. (Bug#12155)
1429 This is CVE-2012-3479.
1430
1431 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1432
1433 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
1434 (rx-form): Simplify.
1435
1436 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
1437
1438 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
1439 ?, _, and : are symbol constituents, ! is not (but kinda should be).
1440 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
1441 (ruby-syntax-propertize-function): Adjust for changes in
1442 `ruby-syntax-propertize-heredoc'.
1443
1444 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
1445
1446 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
1447 binding (use `M-;' instead).
1448 (ruby-singleton-class-p): New function.
1449 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
1450
1451 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1454
1455 2012-08-10 Chong Yidong <cyd@gnu.org>
1456
1457 * progmodes/python.el (python-shell-get-process-name): Don't mess
1458 with same-window-buffer-names.
1459
1460 * eshell/eshell.el (eshell-add-to-window-buffer-names)
1461 (eshell-remove-from-window-buffer-names): Make obsolete.
1462 (eshell-buffer-name, eshell-unload-hook): Don't use them.
1463 (eshell): Just use pop-to-buffer-same-window instead.
1464
1465 2012-08-10 Chong Yidong <cyd@gnu.org>
1466
1467 * bindings.el: Bind M-= back to count-words-region.
1468
1469 * simple.el (count-words-region): Accept a prefix arg for acting
1470 on the entire buffer.
1471 (count-words--buffer-message): New helper function.
1472
1473 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
1474
1475 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1476 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1477 (event-start, event-end): Use posn-at-point to return a more
1478 informative posn.
1479 (posnp): New function.
1480 * mouse.el (popup-menu-normalize-position): Use it.
1481
1482 2012-08-10 Masatake YAMATO <yamato@redhat.com>
1483
1484 * mouse.el (popup-menu-normalize-position): New function.
1485 (popup-menu): Use `popup-menu-normalize-position' to normalize
1486 the form for POSITION argument.
1487
1488 * term/x-win.el (x-menu-bar-open):
1489 Use the value returend from (posn-at-point) as position
1490 passed to `popup-menu'.
1491
1492 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1493
1494 * calc/calccomp.el (math-compose-expr): Add extra argument
1495 indicating that parentheses should be put around products in
1496 denominators. Give multiplication precedence over division during
1497 composition.
1498
1499 2012-08-09 Chong Yidong <cyd@gnu.org>
1500
1501 * man.el (Man-switches, Man-sed-command, Man-awk-command)
1502 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1503 (Man-untabify-command, manual-program): Convert to defcustom
1504 (Bug#10429).
1505
1506 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1507
1508 * descr-text.el (describe-char): Don't insert extra newlines
1509 (Bug#10127).
1510
1511 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1512 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1513
1514 * align.el (align-region): Delete temporary markers (Bug#10047).
1515 Plus some code cleanups.
1516
1517 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1518
1519 * progmodes/python.el (python-pdbtrack-tracked-buffer)
1520 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1521 (python-shell-internal-last-output): Use make-local-variable
1522 instead of make-variable-buffer-local.
1523
1524 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
1525
1526 * progmodes/python.el: Enhancements to forward-sexp.
1527 (python-nav-forward-sexp): Rename from
1528 python-nav-forward-sexp-function.
1529 (python-nav--forward-sexp, python-nav--backward-sexp):
1530 New functions.
1531
1532 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
1533
1534 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1535 modes and simplification modes.
1536
1537 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * delsel.el (delete-selection-pre-hook): Don't propagate the
1540 file-supersession signals (bug#12161).
1541
1542 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
1543
1544 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1545 (cl-map-extents): Add compatibility aliases (bug#12135).
1546
1547 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
1548
1549 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1550 tests by `ignore-error'.
1551 (tramp-find-shell): Open also a new shell, when cache is already
1552 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
1553
1554 2012-08-08 Juri Linkov <juri@jurta.org>
1555
1556 * bookmark.el: Add `defaults' property to the bookmark record.
1557 (bookmark-current-buffer): Doc fix.
1558 (bookmark-make-record): Add `defaults' property with default values
1559 to the bookmark record.
1560 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1561 with `bookmark-insert-current-bookmark'.
1562 (bookmark-set): Get `defaults' property from the bookmark record
1563 and use it in `read-from-minibuffer'.
1564 (bookmark-insert-current-bookmark): Remove function.
1565
1566 * info.el (Info-bookmark-make-record): Add `defaults' property
1567 with values of canonical Info node name, the current Info file
1568 name and the current Info node name. (Bug#12107)
1569
1570 2012-08-08 Juri Linkov <juri@jurta.org>
1571
1572 * files.el (basic-save-buffer): Use `buffer-name' as the default
1573 of `read-file-name' when buffer is not visiting a file (bug#12128).
1574
1575 2012-08-08 Juri Linkov <juri@jurta.org>
1576
1577 * info.el (Info-isearch-search): Doc fix.
1578 (Info-search): Change search-failed message from "initial node" to
1579 "end of node" (bug#12078).
1580 (Info-isearch-search): Change `isearch-string-state' to
1581 `isearch--state-string'.
1582
1583 2012-08-08 Glenn Morris <rgm@gnu.org>
1584
1585 * language/persian.el: Remove file.
1586 * language/misc-lang.el: Move unique part of persian.el here.
1587 * loadup.el: Remove language/persian.
1588
1589 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
1590
1591 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1592
1593 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
1594
1595 * progmodes/python.el Fixed defsubst warning.
1596 (python-syntax-context) Rename from python-info-ppss-context.
1597 (python-syntax-context-type): Rename from
1598 python-info-ppss-context-type.
1599 (python-syntax-comment-or-string-p): Rename from
1600 python-info-ppss-comment-or-string-p.
1601
1602 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
1603
1604 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1605
1606 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
1607
1608 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1609 a defcustom that is quoted with backquote.
1610
1611 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1612 Fix handling of interactive spec when the body uses return.
1613 (math-do-arg-check, math-define-function-body): Use backquote forms.
1614 * calc/calc-ext.el (math-defcache): Likewise.
1615 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1616 * allout.el (allout-new-exposure): Likewise.
1617 * calc/calcalg2.el (math-tracing-integral): Likewise.
1618 * info.el (Info-last-menu-item): Likewise.
1619 * emulation/vip.el (vip-loop): Likewise.
1620 * textmodes/artist.el (artist-funcall): Likewise.
1621 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1622 Construct menu-item directly.
1623
1624 * progmodes/autoconf.el (font-lock-syntactic-keywords):
1625 Don't declare.
1626
1627 2012-08-07 Chong Yidong <cyd@gnu.org>
1628
1629 * simple.el (deactivate-mark): Preserve text properties when
1630 saving the primary selection (Bug#8384).
1631
1632 2012-08-07 Kevin Ryde <user42@zip.com.au>
1633
1634 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1635 (woman-parse-numeric-value): On a bad .IP line, issue a warning
1636 and continue processing (Bug#12110).
1637
1638 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1639
1640 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1641 syntax-propertize-function (bug#10095).
1642
1643 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
1644
1645 * help-fns.el (help-fns--key-bindings, help-fns--signature)
1646 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1647 describe-function-1.
1648 (describe-function-1): Use them. Move compiler macro after sig.
1649 (help-fns--compiler-macro): Use function-get. Assume we're already in
1650 standard-output. Adjust layout to new call order.
1651
1652 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1653 re-binding a symbol that has a symbol-macro (bug#12119).
1654
1655 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
1656
1657 * language/persian.el: New file. (Bug#11812)
1658 * loadup.el: Add language/persian.el.
1659
1660 2012-08-06 Chong Yidong <cyd@gnu.org>
1661
1662 * window.el (window--maybe-raise-frame): New function.
1663 (window--display-buffer): Split off from here.
1664 (display-buffer-reuse-window, display-buffer-pop-up-frame)
1665 (display-buffer-pop-up-window, display-buffer-use-some-window):
1666 Obey an inhibit-switch-frame action alist entry.
1667 (display-buffer): Update doc.
1668
1669 * replace.el (occur-after-change-function): Avoid losing focus by
1670 using the inhibit-switch-frame display parameter (Bug#12139).
1671
1672 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
1673
1674 Make internal shell process buffer names start with space.
1675 * progmodes/python.el (python-shell-make-comint): Add optional
1676 argument INTERNAL.
1677 (run-python-internal): Use it.
1678 (python-shell-internal-get-or-create-process): Check for new
1679 internal buffer names.
1680
1681 2012-08-06 Glenn Morris <rgm@gnu.org>
1682
1683 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1684 Do less getting and setting of environment variables.
1685
1686 2012-08-05 Chong Yidong <cyd@gnu.org>
1687
1688 * proced.el (proced): Add substitution string to docstring to
1689 trigger autoloading of the proced library on C-h f (Bug#1768).
1690
1691 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1692 Don't show defvars which have no second argument (Bug#8638).
1693
1694 * imenu.el (imenu-generic-expression): Move documentation here
1695 from imenu--generic-function.
1696 (imenu--generic-function): Refer to imenu-generic-expression.
1697
1698 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
1699
1700 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1701 indentation declaration.
1702 (viper-loop): Add indentation declaration (Bug#7025).
1703
1704 2012-08-05 Chong Yidong <cyd@gnu.org>
1705
1706 * help-fns.el (describe-variable): Add hyperlink for
1707 directory-local variables files. Improve buffer-local and
1708 permanent-local reporting; suggested by MON KEY (Bug#6644).
1709
1710 * help-mode.el (help-dir-local-var-def): New button type.
1711
1712 * files.el (kill-buffer-hook): Provide a defvar.
1713
1714 2012-08-05 Glenn Morris <rgm@gnu.org>
1715
1716 * eshell/esh-ext.el (eshell/addpath):
1717 Also update eshell-path-env. (Bug#12013)
1718
1719 2012-08-05 Chong Yidong <cyd@gnu.org>
1720
1721 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1722
1723 * fringe.el (fringe-styles): Add docstring.
1724 (fringe--check-mode): New function.
1725 (set-fringe-mode, set-fringe-style): Use it.
1726 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1727
1728 * files.el (set-auto-mode): Fix invalid setq call.
1729
1730 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
1731
1732 * isearch.el: Misc simplification; use defstruct.
1733 (isearch-mode-map): Dense maps now work like sparse ones.
1734 (isearch--state): New defstruct.
1735 (isearch-string-state, isearch-message-state, isearch-point-state)
1736 (isearch-success-state, isearch-forward-state)
1737 (isearch-other-end-state, isearch-word-state, isearch-error-state)
1738 (isearch-wrapped-state, isearch-barrier-state)
1739 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1740 replaced by defstruct's accessors.
1741 (isearch--set-state): Rename from isearch-top-state and change
1742 calling convention.
1743 (isearch-push-state): Use new isearch--get-state.
1744 (isearch-toggle-word): Disable regexp when enabling word.
1745 (isearch-message-prefix): Remove unused arg _c-q-hack.
1746 (isearch-message-suffix): Remove unused arg _ellipsis.
1747
1748 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
1749
1750 * simple.el (list-processes--refresh): For a server use :host or
1751 :local as the address.
1752 (list-processes): Doc fix.
1753
1754 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
1755
1756 * lisp/mpc.el: Support password in host argument.
1757 (mpc--proc-connect): Parse and use new password element.
1758 Set mpc-proc variable instead of returning process.
1759 (mpc-proc): Adjust accordingly.
1760
1761 2012-08-03 Eli Zaretskii <eliz@gnu.org>
1762
1763 * whitespace.el (whitespace-display-mappings): Use Unicode
1764 codepoints, instead of emacs-mule codepoints. See
1765 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1766 for the details.
1767
1768 * files.el (file-truename): Don't skip symlink-chasing part on
1769 windows-nt. Incorporate the resolution of 8+3 short aliases on
1770 Windows into the loop that recursively chases symlinks.
1771 Compare directory and its parent case-insensitively on MS-Windows and
1772 MS-DOS.
1773
1774 2012-08-03 Chong Yidong <cyd@gnu.org>
1775
1776 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1777
1778 * sort.el (sort-regexp-fields): Doc fix.
1779
1780 2012-08-03 Tassilo Horn <tsdh@gnu.org>
1781
1782 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1783 labels regex position point at the expected place.
1784
1785 2012-08-03 MON KEY <monkey@sandpframing.com>
1786
1787 * net/imap.el (imap-interactive-login, imap-authenticate)
1788 (imap-mailbox-lsub, imap-mailbox-list)
1789 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1790 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1791 (imap-parse-response): Doc fix.
1792
1793 2012-08-03 João Távora <joaotavora@gmail.com>
1794
1795 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1796 if sexp scanning does not move point (Bug#5734).
1797
1798 2012-08-02 Tassilo Horn <tsdh@gnu.org>
1799
1800 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1801 Add listings, minted, and ctable packages.
1802 (reftex-label-alist-builtin): Move listings, minted, and ctable
1803 entries before LaTeX.
1804 (reftex-label-alist): Docfix.
1805
1806 2012-08-02 Bastien Guerry <bzg@gnu.org>
1807
1808 * replace.el (occur): Fix docstring (bug#12122).
1809
1810 2012-08-02 Glenn Morris <rgm@gnu.org>
1811
1812 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1813
1814 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
1815
1816 Obsolete alias inactivate-current-input-method-function (Bug#10150).
1817 * international/mule-cmds.el: Create
1818 inactivate-current-input-method-function as an obsolete alias for
1819 deactivate-current-input-method-function. See Katsumi Yamaoka in
1820 <http://bugs.gnu.org/10150#46>.
1821
1822 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
1823
1824 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1825 of nested `if's.
1826
1827 2012-08-01 Glenn Morris <rgm@gnu.org>
1828
1829 * progmodes/autoconf.el (autoconf-definition-regexp):
1830 Add AH_TEMPLATE, adjust submatch numbering.
1831 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1832 (autoconf-current-defun-function): Update for above change.
1833 (autoconf-current-defun-function): First skip to end of current word.
1834
1835 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
1836
1837 * calendar/cal-html.el (cal-html-insert-agenda-days):
1838 Fix typo. (Bug#12018)
1839
1840 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1841
1842 Shell processes: enhancements to startup and CEDET compatibility.
1843 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1844 (python-shell-make-comint): accept-process-output at startup.
1845 (run-python-internal): Set inferior-python-mode-hook to nil.
1846 (python-shell-internal-get-or-create-process): call sit-for.
1847 (python-preoutput-result): Add obsolete alias.
1848 (python-shell-internal-send-string): Use it.
1849 (python-shell-send-setup-code): Remove call to
1850 accept-process-output.
1851
1852 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
1853
1854 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1855 (Bug#12108)
1856
1857 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
1858
1859 * calc-mode.el (calc-basic-simplification-mode): Rename from
1860 `calc-limited-simplification-mode'.
1861 (calc-alg-simplification-mode): New function.
1862 (calc-set-simplify-mode): Adjust message.
1863
1864 * calc.el (calc-set-mode-line): Adjust mode line display for
1865 basic simplification mode.
1866
1867 * calc-help.el (calc-m-prefix-help): Update help message.
1868
1869 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1870 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1871
1872 2012-07-31 Bastien Guerry <bzg@gnu.org>
1873
1874 * man.el (man): Fix comment. (bug#12101)
1875
1876 2012-07-31 Martin Rudalics <rudalics@gmx.at>
1877
1878 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1879 Don't return a non-nil value when no suitable buffer was found.
1880
1881 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
1882
1883 * progmodes/python.el (run-python-internal): Disable font lock for
1884 internal shells.
1885
1886 2012-07-30 Stefan Merten <smerten@oekonux.de>
1887
1888 * rst.el: Silence `checkdoc-ispell'.
1889 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1890 (rst-official-version, rst-official-cvs-rev)
1891 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1892 (rst-mode-map): New key binding.
1893
1894 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
1895
1896 Update .PHONY listings in makefiles.
1897 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1898 autoloads, update-subdirs, updates, bzr-update, update-authors,
1899 compile-onefile, compile-calc, backup-compiled-files,
1900 compile-after-backup, compile-one-process, mh-autoloads,
1901 bootstrap-clean, distclean, maintainer-clean.
1902
1903 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
1904
1905 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1906 (calc-set-mode-line): Don't display "AlgSimp ".
1907
1908 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1909 (calc-lim-simplify-mode): New function.
1910 (calc-set-simplify-mode): Default to 'alg.
1911 (calc-default-simplify-mode): Make algebraic simplifications
1912 the default.
1913
1914 * calc/calc-ext.el (calc-init-extensions): Remove binding for
1915 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
1916
1917 * calc/calc-help.el (calc-m-prefix-help): Change messages to
1918 indicate new simplification modes.
1919
1920 * calc/README: Mention new default simplification mode.
1921
1922 * calc/calc.el (math-normalize-error): New variable.
1923 (math-normalize): Set `math-normalize-error' to t
1924 when there's an error.
1925
1926 * calc/calc-alg.el (math-simplify): Don't simplify when
1927 `math-normalize' returns an error.
1928
1929 2012-07-29 Eli Zaretskii <eliz@gnu.org>
1930
1931 * international/mule-cmds.el (set-locale-environment): Revert last
1932 change, since display-graphic-p returns nil when this function is
1933 called during startup. Instead...
1934
1935 * term/w32console.el (terminal-init-w32console): ...setup the
1936 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
1937
1938 2012-07-29 Juri Linkov <juri@jurta.org>
1939
1940 * simple.el (goto-line): Don't display default line number in the
1941 prompt because it should be displayed by `read-number' (bug#9952).
1942 Add the current line number to the defaults of `goto-line' to
1943 allow its easier modification by users with `M-n' (bug#9201).
1944
1945 * subr.el (read-number): Support multiple default values like in
1946 other minibuffer reading functions. Replace `read' with
1947 `string-to-number' for consistency with `number-to-string'.
1948
1949 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
1950
1951 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1952 * emulation/viper-init.el (viper-deactivate-input-method-action):
1953 Rename from viper-inactivate-input-method-action.
1954 (viper-deactivate-input-method):
1955 Rename from viper-inactivate-input-method.
1956 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1957 * international/mule-cmds.el (deactivate-input-method):
1958 Rename from inactivate-input-method.
1959 Also run input-method-deactivate-hook.
1960 (deactivate-current-input-method-function):
1961 Rename from inactivate-current-input-method-function.
1962 (input-method-deactivate-hook): New hook.
1963 (input-method-inactivate-hook): Mark obsolete.
1964 (inactivate-input-method): Mark obsolete.
1965
1966 * international/quail.el (quail-activate):
1967 Also run quail-deactivate-hook.
1968 (quail-deactivate): Rename from quail-inactivate.
1969 * international/robin.el (robin-activate):
1970 Also run robin-deactivate-hook.
1971 (robin-deactivate): Rename from robin-inactivate.
1972
1973 2012-07-29 Chong Yidong <cyd@gnu.org>
1974
1975 * simple.el (indicate-copied-region): New function.
1976 (kill-ring-save): Split off from here.
1977
1978 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1979 (kill-rectangle): Set deactivate-mark to t on read-only error.
1980
1981 * register.el (copy-to-register, copy-rectangle-to-register):
1982 Deactivate the mark, and use indicate-copied-region (Bug#10056).
1983 (append-to-register, prepend-to-register):
1984 Call 2012-07-29 Juri Linkov <juri@jurta.org>
1985
1986 * simple.el (async-shell-command-buffer): New defcustom.
1987 (shell-command): Use it. (Bug#4719)
1988
1989 2012-07-28 Eli Zaretskii <eliz@gnu.org>
1990
1991 * international/mule-cmds.el (set-locale-environment): In a
1992 console session on MS-Windows, set up keyboard and terminal
1993 encoding from the OEM codepage, not the ANSI codepage.
1994 (Bug#12055)
1995
1996 2012-07-28 Chong Yidong <cyd@gnu.org>
1997
1998 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1999 gdb-get-location.
2000
2001 2012-07-28 Leo Liu <sdl.web@gmail.com>
2002
2003 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
2004 the alist (bug#12029).
2005
2006 2012-07-28 Eli Zaretskii <eliz@gnu.org>
2007
2008 * makefile.w32-in (custom-deps, finder-data, updates, compile)
2009 (compile-always, compile-first)
2010 ($(lisp)/calendar/cal-loaddefs.el)
2011 ($(lisp)/calendar/diary-loaddefs.el)
2012 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2013 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
2014 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
2015 instead of on update-subdirs.
2016 (bootstrap-clean): Delete $(lisp)/subdirs.el.
2017
2018 2012-07-28 Chong Yidong <cyd@gnu.org>
2019
2020 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
2021 directory if vc-deduce-backend returns nil (Bug#7350).
2022
2023 * simple.el (delete-trailing-lines): New option.
2024 (delete-trailing-whitespace): Obey it (Bug#11879).
2025
2026 2012-07-28 David Engster <deng@randomsample.de>
2027
2028 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
2029 Explanation of new 'symbol-qnames feature in doc-strings.
2030 (xml-maybe-do-ns): Return expanded names as plain symbols if
2031 'symbol-qnames was provided in XML-NS argument (Bug#11916).
2032 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
2033
2034 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2035
2036 Consistent completion in inferior python with emacs -nw.
2037 * progmodes/python.el (inferior-python-mode): replace "<tab>"
2038 binding in inferior-python-mode-map with "\t".
2039 (python-shell-completion-complete-at-point)
2040 (python-completion-complete-at-point): Remove interactive spec.
2041
2042 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2043
2044 * calc/calccomp.el (math-compose-expr): Undo previous change.
2045
2046 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
2047
2048 * progmodes/python.el (python-mode-map): Add keybinding for
2049 run-python.
2050 (python-shell-make-comint): Fix pop-to-buffer call.
2051 (run-python): Autoload. New arg SHOW.
2052 (python-shell-get-or-create-process): Do not pop python process
2053 buffer.
2054
2055 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
2056
2057 * notifications.el (notifications-on-action-signal)
2058 (notifications-on-closed-signal): Use also the bus address for the map.
2059 (notifications-notify, notifications-close-notification)
2060 (notifications-get-capabilities): Add optional argument BUS.
2061
2062 2012-07-27 Tassilo Horn <tsdh@gnu.org>
2063
2064 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2065 Add support for the lstlisting and minted environments, and for the
2066 ctable macro.
2067 * textmodes/reftex.el (reftex-compile-variables): Also recognize
2068 labels written in keyvals syntax.
2069
2070 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
2071
2072 * calc/calccomp.el (math-compose-expr): Use parentheses when
2073 there is a product in the denominator of a fraction.
2074
2075 2012-07-26 Eli Zaretskii <eliz@gnu.org>
2076
2077 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
2078 ($(lisp)/calendar/diary-loaddefs.el)
2079 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
2080 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
2081 Fixes failures in parallel bootstrap because subdirs.el is being
2082 rewritten while the autoload files are built at the same time,
2083 which needs to load subdirs.el.
2084
2085 2012-07-26 Martin Rudalics <rudalics@gmx.at>
2086
2087 * mouse.el (popup-menu): Fix doc-string and re-indent code.
2088 (mouse-drag-line): Don't exit tracking when a switch-frame or
2089 switch-window event occurs (Bug#12006).
2090
2091 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * mouse.el (popup-menu): Fix last change.
2094
2095 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
2096
2097 Autoload from Lisp with more care. Follow aliases when looking for
2098 function properties.
2099 * subr.el (autoloadp): New function.
2100 (symbol-file): Use it.
2101 (function-get): New function.
2102 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
2103 autoload-do-load.
2104 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
2105 (lisp-indent-function):
2106 * emacs-lisp/gv.el (gv-get):
2107 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
2108 * emacs-lisp/byte-opt.el (byte-optimize-form):
2109 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
2110 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
2111 Use function-get.
2112 * emacs-lisp/cl.el: Don't propagate function properties any more.
2113
2114 * speedbar.el (speedbar-add-localized-speedbar-support):
2115 * emacs-lisp/disass.el (disassemble-internal):
2116 * desktop.el (desktop-load-file):
2117 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
2118 (describe-function-1):
2119 * emacs-lisp/find-func.el (find-function-noselect):
2120 * emacs-lisp/elp.el (elp-instrument-function):
2121 * emacs-lisp/advice.el (ad-has-proper-definition):
2122 * apropos.el (apropos-safe-documentation, apropos-macrop):
2123 * emacs-lisp/debug.el (debug-on-entry):
2124 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
2125 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
2126 * calc/calc.el (name): Use autoloadp & autoload-do-load.
2127
2128 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
2129
2130 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
2131 function, not an obsolete variable (Bug#12046).
2132
2133 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
2136
2137 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
2138
2139 * emacs-lisp/pp.el (pp-display-expression): Select old selected
2140 window only if it is still live (Bug#12034).
2141
2142 2012-07-25 Martin Rudalics <rudalics@gmx.at>
2143
2144 * subr.el (redirect-frame-focus): Add advertised calling
2145 convention (Bug#12030).
2146
2147 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
2148
2149 Prefer typical American spelling for "acknowledgment".
2150 * vc/add-log.el (change-log-acknowledgment): Rename from
2151 change-log-acknowledgement, with an alias for the old name.
2152
2153 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
2154
2155 * calc-alg.el (math-simplify-divide): Don't cross multiply
2156 in an equation when the lhs is a variable.
2157
2158 2012-07-24 Julien Danjou <julien@danjou.info>
2159
2160 * net/netrc.el (netrc-find-service-number, netrc-store-data):
2161 Remove, unused.
2162
2163 2012-07-23 Eli Zaretskii <eliz@gnu.org>
2164
2165 * startup.el (command-line): Don't display an empty user name in
2166 the error message about non-existent home directory, when
2167 init-file-user was set to an empty string. See
2168 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
2169 for the details and context.
2170
2171 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
2172
2173 * ses.el (ses-cell-formula-aset): New macro.
2174 (ses-cell-references-aset): New macro.
2175 (ses-cell-p): New function.
2176 (ses-rename-cell): Do no longer rely on complex operations like
2177 ses-cell-set-formula or ses-set-cell to change the cell and handle
2178 the undo at the same time, but rather use lower level new macros
2179 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
2180 the undo directly. Refresh the mode line.
2181
2182 2012-07-21 Leo Liu <sdl.web@gmail.com>
2183
2184 * progmodes/cc-cmds.el (c-defun-name):
2185 Use match-string-no-properties instead for consistency.
2186
2187 2012-07-20 Leo Liu <sdl.web@gmail.com>
2188
2189 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
2190 (Bug#7879)
2191
2192 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
2193
2194 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
2195
2196 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
2197 * progmodes/bug-reference.el, misearch.el: Provide themselves
2198 (bug#11915).
2199
2200 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
2201 of narrowed buffer (bug#11966).
2202
2203 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
2204
2205 * ses.el (ses-rename-cell): Set new name also in reference list of
2206 cells of which the renamed cell depends.
2207
2208 2012-07-20 Masatake YAMATO <yamato@redhat.com>
2209
2210 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
2211 to check whether menu-bar is shown or not. If not shown,
2212 show the menu-bar as a popup menu instead of using tmm.
2213 * mouse.el (popup-menu): Accept `point' as `position' argument.
2214
2215 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
2216
2217 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
2218 up inside string symbol literal (bug#11923).
2219
2220 2012-07-20 Eli Zaretskii <eliz@gnu.org>
2221
2222 * startup.el (fancy-startup-text): Read the whole tutorial, not
2223 just its first 256 bytes. Prevents gibberish in display of the
2224 tutorial title.
2225
2226 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
2227
2228 Drop idle buffer compaction due to an absence of the
2229 proved efficiency.
2230 * compact.el: Remove.
2231
2232 2012-07-19 Sam Steingold <sds@gnu.org>
2233
2234 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2235 vc-bzr-pull & vc-bzr-merge-branch.
2236 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
2237 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
2238 for consistency with compilation-error-regexp-alist.
2239 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
2240 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
2241 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
2242 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
2243
2244 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2245
2246 * emacs-lisp/chart.el: Use lexical-binding.
2247 (chart-emacs-storage): Don't hardcode the list of entries.
2248
2249 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2250
2251 Next round of tweaks caused by Fgarbage_collect changes.
2252 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
2253
2254 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
2255
2256 Compact buffers when idle.
2257 * compact.el: New file.
2258
2259 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
2260
2261 * subr.el (eventp): Presume that if it looks vaguely like an event,
2262 it's an event (bug#10190).
2263
2264 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
2265
2266 Enhancements to ppss related code (thanks Stefan).
2267 * progmodes/python.el (python-indent-context)
2268 (python-indent-calculate-indentation, python-indent-dedent-line)
2269 (python-indent-electric-colon, python-nav-forward-block)
2270 (python-mode-abbrev-table)
2271 (python-info-assignment-continuation-line-p): Simplify checks
2272 for ppss context.
2273 (python-info-continuation-line-p): Cleanup.
2274 (python-info-ppss-context): Do not catch 'quote.
2275 (python-info-ppss-context-type)
2276 (python-info-ppss-comment-or-string-p): Simplify.
2277
2278 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
2279
2280 * progmodes/python.el: Enhancements to eldoc support.
2281 (python-info-current-symbol): New function.
2282 (python-eldoc-at-point): Use python-info-current-symbol.
2283 (python-info-current-defun): Fix cornercase on first defun scan.
2284 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
2285 and signal error when no inferior python process is available.
2286
2287 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
2288
2289 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
2290 assume it's always t.
2291 (vc-git-registered): Remove caching, the function is only called
2292 once.
2293 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
2294
2295 2012-07-18 Chong Yidong <cyd@gnu.org>
2296
2297 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
2298
2299 * simple.el (count-words): Report on narrowing (Bug#9959).
2300
2301 * bindings.el: Bind M-= to count-words.
2302
2303 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
2304
2305 2012-07-18 Masatake YAMATO <yamato@redhat.com>
2306
2307 * progmodes/sh-script.el (sh-imenu-generic-expression):
2308 Capture a function with `function' keyword and without parentheses
2309 like "function FOO" (bug#11856).
2310
2311 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
2312
2313 * window.el (split-window-sensibly): Make WINDOW argument
2314 optional.
2315
2316 2012-07-18 Chong Yidong <cyd@gnu.org>
2317
2318 * subr.el (keyboard-translate): Doc fix (Bug#7261).
2319
2320 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
2321 and make C-x 8 RET exit isearch (Bug#11439).
2322
2323 * international/iso-transl.el: Move isearch-mode-map key
2324 definitions to isearch.el.
2325
2326 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
2327
2328 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
2329 (eieio-defclass): Use gv-define-setter when possible.
2330
2331 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
2332
2333 Reflect recent changes in Fgarbage_collect.
2334 * emacs-lisp/chart.el (chart-emacs-storage): Change to
2335 reflect new format of data returned by Fgarbage_collect.
2336
2337 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2338
2339 New utility functions + python-info-ppss-context fix (Bug#11910).
2340 * progmodes/python.el (python-info-beginning-of-block-statement-p)
2341 (python-info-ppss-comment-or-string-p): New functions.
2342 (python-info-ppss-context): Small fix for string check.
2343
2344 2012-07-17 Juri Linkov <juri@jurta.org>
2345
2346 * dired-aux.el (dired-do-async-shell-command): Doc fix.
2347 (dired-do-async-shell-command): Don't add `*' at the end of the
2348 command (Bug#11815).
2349 (dired-do-shell-command): Doc fix.
2350 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
2351 Join the individual commands using either "&" or ";" as the
2352 separator depending on the values of these trailing characters.
2353 At the end re-add the trailing "&". (Bug#10598)
2354
2355 * simple.el (async-shell-command): Sync the interactive spec with
2356 `shell-command'. Doc fix.
2357 (shell-command): Doc fix.
2358
2359 2012-07-17 Juri Linkov <juri@jurta.org>
2360
2361 * descr-text.el (describe-char): Fix format args. (Bug#10129)
2362
2363 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2364
2365 Final renames and doc fixes for movement commands (bug#11899).
2366 * progmodes/python.el (python-nav-beginning-of-statement):
2367 Rename from python-nav-statement-start.
2368 (python-nav-end-of-statement): Rename from
2369 python-nav-statement-end.
2370 (python-nav-beginning-of-block): Rename from
2371 python-nav-block-start.
2372 (python-nav-end-of-block): Rename from python-nav-block-end.
2373
2374 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
2375
2376 * progmodes/python.el (python-shell-send-string-no-output):
2377 Allow accept-process-output to quit, keeping shell process ready for
2378 future interactions (Bug#11868).
2379
2380 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2381
2382 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
2383
2384 * emacs-lisp/elint.el (elint-find-args-in-code):
2385 Use help-function-arglist, so as to handle lexical byte-code.
2386
2387 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
2388 change (bug#11826).
2389
2390 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
2391
2392 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
2393 Avoid spuriously marking the buffer as modified because of c-is-sws.
2394
2395 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
2396 as not-a-comment (bug#11946).
2397
2398 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
2399 for uninterned vars.
2400
2401 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
2402 Use read-event since we don't really want to read chars but bytes.
2403
2404 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
2405 $$..$$ but also $..$ using regexps (bug#11953).
2406 Use tex-verbatim for \url and \path.
2407 (tex-font-lock-keywords): Define as defconst like the others.
2408 (tex-common-initialization): Don't use font-lock-syntax-table any more.
2409
2410 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
2411
2412 * international/mule-cmds.el (ucs-insert): Make it an obsolete
2413 alias for insert-char.
2414
2415 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2416
2417 * progmodes/python.el: Simplified imenu implementation.
2418 (python-nav-jump-to-defun): Remove command.
2419 (python-mode-map): Use `imenu' instead.
2420 (python-nav-list-defun-positions-cache)
2421 (python-imenu-include-defun-type, python-imenu-make-tree)
2422 (python-imenu-subtree-root-label, python-imenu-index-alist):
2423 Remove vars.
2424 (python-nav-list-defun-positions, python-nav-read-defun)
2425 (python-imenu-tree-assoc, python-imenu-make-element-tree)
2426 (python-imenu-make-tree, python-imenu-create-index):
2427 Remove functions.
2428 (python-mode): Update to interact with imenu by setting
2429 `imenu-extract-index-name-function' only.
2430
2431 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
2432
2433 * progmodes/python.el: Enhancements to navigation commands.
2434 (python-nav-backward-sentence)
2435 (python-nav-forward-sentence): Remove.
2436 (python-nav-backward-statement, python-nav-forward-statement)
2437 (python-nav-statement-start, python-nav-statement-end)
2438 (python-nav-backward-block, python-nav-forward-block)
2439 (python-nav-block-start, python-nav-block-end)
2440 (python-nav-forward-sexp-function)
2441 (python-info-current-line-comment-p)
2442 (python-info-current-line-empty-p): New functions.
2443 (python-indent-context): Use `python-nav-statement-start'.
2444
2445 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
2446
2447 * eshell/em-ls.el (eshell/ls): Use `apply'.
2448
2449 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
2450 multi-hops, instead of Tramp internals.
2451
2452 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2453
2454 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2455 when F1 and F2 are located on different hosts.
2456
2457 2012-07-14 Chong Yidong <cyd@gnu.org>
2458
2459 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2460 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2461 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2462 (xterm-mouse--read-event-sequence-1000)
2463 (xterm-mouse--read-event-sequence-1006): New functions. For old
2464 mouse protocol, handle M-mouse-X events correctly.
2465 (xterm-mouse-event): New arg specifying mouse protocol.
2466 (turn-on-xterm-mouse-tracking-on-terminal)
2467 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2468 sequence to toggle extended coordinates on newer XTerms.
2469 This appears to be harmless on terminals which do not support this.
2470
2471 2012-07-14 Leo Liu <sdl.web@gmail.com>
2472
2473 Add fringe bitmap indicators for flymake. (Bug#11253)
2474 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2475 (flymake-make-overlay): New arg BITMAP.
2476 (flymake-error-bitmap, flymake-warning-bitmap)
2477 (flymake-fringe-indicator-position): New user variables.
2478
2479 * fringe.el: New bitmap exclamation-mark.
2480
2481 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
2482
2483 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2484 also (Bug#7879).
2485
2486 2012-07-14 Chong Yidong <cyd@gnu.org>
2487
2488 * electric.el (electric-pair-post-self-insert-function): Fix pair
2489 insertion in empty-region case (Bug#11520).
2490
2491 2012-07-14 Chong Yidong <cyd@gnu.org>
2492
2493 * bindings.el: Consolidate ctl-x-r-map bindings.
2494 Bind copy-rectangle-as-kill to C-x r w.
2495
2496 * rect.el, register.el: Move bindings to bindings.el.
2497
2498 2012-07-14 Reuben Thomas <rrt@sc3d.org>
2499
2500 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2501
2502 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
2503
2504 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
2505
2506 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
2507
2508 * bindings.el (top): Use `mapc' instead of `mapcar'.
2509
2510 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2511
2512 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * progmodes/sql.el (sql-comint): Suppress the check for program on
2515 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
2516 (Bug#11908)
2517
2518 2012-07-13 Chong Yidong <cyd@gnu.org>
2519
2520 * bindings.el: Assign a non-nil permanent-local property to
2521 per-buffer variables which lack a default value (Bug#11930).
2522
2523 * help-fns.el (describe-variable): In the "automatically becomes
2524 local" notice, take note of permanent-local variables.
2525
2526 2012-07-13 Chong Yidong <cyd@gnu.org>
2527
2528 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
2529 to allow printing the message when called from Lisp.
2530
2531 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2532 Remove toggle-read-only.
2533
2534 * bs.el (bs-toggle-readonly):
2535 * buff-menu.el (Buffer-menu-toggle-read-only):
2536 Remove with-no-warnings around toggle-read-only.
2537
2538 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2539 Remove with-no-warnings around toggle-read-only.
2540 (ffap-read-only, ffap-read-only-other-window)
2541 (ffap-read-only-other-frame): Callers changed.
2542
2543 * help-mode.el: Don't require view package.
2544 (help-mode-finish): Set buffer-read-only instead of calling
2545 toggle-read-only.
2546
2547 * bindings.el (mode-line-toggle-read-only):
2548 * dired.el (dired-toggle-read-only):
2549 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2550 with non-nil second arg.
2551
2552 * emacs-lisp/eieio-custom.el (eieio-customize-object):
2553 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2554 directly.
2555
2556 2012-07-12 Eli Zaretskii <eliz@gnu.org>
2557
2558 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2559 not incf.
2560
2561 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
2562
2563 More CL cleanups and reduction of use of cl.el.
2564 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2565 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2566 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2567 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2568 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2569 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2570 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2571 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2572 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2573 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2574 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2575 * eshell/em-cmpl.el, eshell/em-banner.el:
2576 * calendar/parse-time.el: Use cl-lib.
2577 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2578 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2579 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2580 * term/ns-win.el, term.el, shell.el, ps-samp.el:
2581 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2582 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2583 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2584 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2585 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2586 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2587 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2588 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2589 `lambda' rather than with `quote'.
2590 (eshell-do-opt): Adjust accordingly.
2591 (eshell-process-option): Simplify.
2592 * eshell/esh-var.el:
2593 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2594 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2595 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2596 to `pcase--dontcare'.
2597 * emacs-lisp/cl.el (labels): Mark obsolete.
2598 (cl--letf, letf): Move to cl-lib.
2599 (cl--letf*, letf*): Remove.
2600 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2601 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2602 (cl-progv): Rewrite.
2603 (cl--letf, cl-letf): Move from cl.el.
2604 (cl-letf*): New macro.
2605 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2606
2607 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2610
2611 2012-07-11 Chong Yidong <cyd@gnu.org>
2612
2613 * vc/log-edit.el (log-edit-vc-backend): New variable.
2614 (log-edit): Doc fix.
2615
2616 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
2617 argument of log-edit to set up all local variables.
2618 (vc-start-logentry): New optional arg specifying VC backend.
2619
2620 * vc/vc.el (vc-checkin): Use it.
2621 (vc-deduce-fileset): Handle Log Edit buffers.
2622 (vc-diff): Make first argument optional too.
2623
2624 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2625
2626 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
2627
2628 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2629 command, just in case. The function is not needed anymore.
2630 (eshell-external-command): Do not call `eshell-remote-command'.
2631
2632 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
2633
2634 Reduce use of (require 'cl).
2635 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2636 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2637 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2638 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2639 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2640 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2641 * battery.el, avoid.el, abbrev.el: Use cl-lib.
2642 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2643 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2644 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2645 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2646 * calculator.el, autorevert.el, apropos.el: Don't require CL.
2647 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2648 (byte-compile-unfold-bcf, byte-compile-check-variable):
2649 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2650 (byte-compile-nilconstp):
2651 * emacs-lisp/autoload.el (make-autoload): Use pcase.
2652 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2653
2654 * emacs-lisp/gv.el (cond): Make it a valid place.
2655 (if): Simplify slightly.
2656
2657 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2658 (pcase--self-quoting-p): New function.
2659 (pcase--u1): Use it.
2660
2661 2012-07-10 Glenn Morris <rgm@gnu.org>
2662
2663 * emacs-lisp/authors.el (authors-fixed-entries):
2664 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2665
2666 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
2667
2668 Rename configure.in to configure.ac (Bug#11603).
2669 * emacs-lisp/authors.el (authors-canonical-file-name):
2670 * progmodes/autoconf.el (autoconf-mode):
2671 Prefer configure.ac to configure.in.
2672
2673 2012-07-08 Chong Yidong <cyd@gnu.org>
2674
2675 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2676 Implement the mouse-1-click-follows-link handling properly.
2677
2678 * info.el (Info-link-keymap): Use follow-link mechanism for
2679 header-line links (Bug#374).
2680
2681 * simple.el (deactivate-mark): Do not set the primary selection
2682 if another program has acquired it (Bug#11772).
2683
2684 2012-07-07 Kevin Ryde <user42@zip.com.au>
2685
2686 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2687 (woman-decode-region): Replace escaped-escapes without destroying
2688 bold or underline (Bug#11552).
2689 (woman2-process-escapes): Handle nofill regions (Bug#11591).
2690
2691 2012-07-07 Chong Yidong <cyd@gnu.org>
2692
2693 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2694 (interprogram-cut-function, interprogram-paste-function):
2695 Mention that we typically mean the clipboard.
2696
2697 2012-07-06 Glenn Morris <rgm@gnu.org>
2698
2699 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
2700
2701 * files.el (toggle-read-only): Restrict message to interactive use.
2702
2703 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
2704
2705 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2706
2707 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2708
2709 2012-07-06 Glenn Morris <rgm@gnu.org>
2710
2711 * Makefile.in (compile-one-process): Rename from "recompile".
2712
2713 * Makefile.in (bzr-update): "compile" is the same as "recompile
2714 autoloads", but parallelizable, so use that instead.
2715
2716 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
2717
2718 * window.el (quit-window): Always restore window height when
2719 it's saved in quit-restore parameter (Bug#11810).
2720
2721 2012-07-06 Glenn Morris <rgm@gnu.org>
2722
2723 * simple.el (kill-whole-line): Doc tweak.
2724
2725 2012-07-06 Eli Zaretskii <eliz@gnu.org>
2726
2727 * files.el (file-relative-name): Compare file names
2728 case-insensitively if on MS-Windows or MS-DOS, or if
2729 read-file-name-completion-ignore-case is non-nil. Don't use
2730 case-fold-search for this purpose. (Bug#11827)
2731
2732 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
2733
2734 * calendar/cal-dst.el (calendar-current-time-zone):
2735 Return calendar-current-time-zone-cache if non-nil.
2736
2737 2012-07-17 Masatake YAMATO <yamato@redhat.com>
2738 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
2739
2740 * calendar/cal-dst.el (calendar-current-time-zone):
2741 Return calendar-current-time-zone-cache if non-nil.
2742
2743 2012-07-06 Glenn Morris <rgm@gnu.org>
2744
2745 * Makefile.in (cvs-update): Remove old alias.
2746
2747 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
2748
2749 Sync with Tramp 2.2.6-pre.
2750
2751 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2752 compatible declaration.
2753
2754 * net/tramp-cmds.el (tramp-append-tramp-buffers):
2755 Protect `list-load-path-shadows' call.
2756
2757 * net/tramp-compat.el (top): Require packages, which aren't
2758 autoloaded anymore for XEmacs. Protect call of
2759 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2760 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
2761 it hurts at least for SXEmacs.
2762 (tramp-compat-temporary-file-directory): In XEmacs, there is no
2763 standard-value for `temporary-file-directory'.
2764
2765 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2766 Redirect stderr to /dev/null.
2767 (tramp-sh-handle-write-region): uid and gid can be floats.
2768 Reported by Russell Sim <russell.sim@gmail.com>.
2769 (tramp-sh-handle-vc-registered): Hide errors.
2770 (tramp-vc-file-name-handler): Use dummy results for `process-file'
2771 and `start-file-process'.
2772 (tramp-maybe-open-connection): Check also whether `non-essential'
2773 is bound.
2774
2775 2012-07-04 Chong Yidong <cyd@gnu.org>
2776
2777 * xml.el (xml--parse-buffer): Use xml-syntax-table.
2778 (xml-parse-tag): Likewise, and avoid changing entity tables.
2779 (xml-syntax-table): Define from scratch, making sure not to give
2780 x2000 and other Unicode spaces whitespace syntax, since those are
2781 not spaces in XML.
2782 (xml-parse-fragment): Delete unused function.
2783 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2784 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2785 (xml-entity-ref, xml-pe-reference-re)
2786 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2787 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2788 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2789 (xml-entity-value-re): Use syntax references in regexps where
2790 possible; no need to define inside a let-binding.
2791 (xml-parse-dtd): Use xml-pe-reference-re.
2792 (xml-entity-or-char-ref-re): New defconst.
2793 (xml-parse-string, xml-substitute-special): Use it.
2794
2795 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
2796
2797 * files.el (locate-dominating-file): Allow `name' to be a predicate.
2798 (find-file--read-only): New function.
2799 (find-file-read-only, find-file-read-only-other-window)
2800 (find-file-read-only-other-frame): Use it.
2801 (insert-file-contents-literally): Don't `fset'.
2802 (get-free-disk-space): Use locate-dominating-file.
2803
2804 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2805 function is already compiled.
2806
2807 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
2808
2809 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
2810
2811 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2812 files on the same host.
2813
2814 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
2815
2816 * help-fns.el (describe-function-1): Only call
2817 help-fns--autoloaded-p when we have a file name. (Bug#11848)
2818
2819 2012-07-03 Chong Yidong <cyd@gnu.org>
2820
2821 * xml.el: Protect parser against XML bombs.
2822 (xml-entity-expansion-limit): New variable.
2823 (xml-parse-string, xml-substitute-special): Use it.
2824 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2825
2826 2012-07-03 Glenn Morris <rgm@gnu.org>
2827
2828 * progmodes/bug-reference.el (bug-reference-bug-regexp):
2829 Allow linking to specific messages in debbugs reports (eg 123#5).
2830
2831 2012-07-02 Chong Yidong <cyd@gnu.org>
2832
2833 * xml.el: Fix entity and character reference expansion, allowing
2834 them to expand into markup as per XML spec.
2835 (xml-default-ns): New variable.
2836 (xml-entity-alist): Use XML spec definitions for lt and amp.
2837 (xml-parse-region): Make first two arguments optional.
2838 Discard text properties.
2839 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2840 All callers changed.
2841 (xml-parse-tag): Call xml-parse-tag-1. For backward
2842 compatibility, this function should not modify buffer contents.
2843 (xml-parse-tag-1): Fix opening-tag regexp.
2844 (xml-parse-string): Rewrite, handling entity and character
2845 references properly.
2846 (xml--entity-replacement-text): Signal an error if a parameter
2847 entity is undefined.
2848
2849 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * comint.el (comint-output-filter): Filter out repeated prompts.
2852
2853 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2854 and file-name-absolute-p.
2855 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2856 internal calls.
2857
2858 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
2859
2860 Spelling fixes.
2861 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2862 Rename from byte-compile--refiy-function. All uses changed.
2863
2864 2012-07-01 Chong Yidong <cyd@gnu.org>
2865
2866 * xml.el (xml--parse-buffer): New function. Move most of
2867 xml-parse-region here.
2868 (xml-parse-region): Copy region into a temporary buffer, since
2869 parameter entity substitution requires changing buffer contents.
2870 Use xml--parse-buffer.
2871 (xml-parse-file): Use xml--parse-buffer.
2872 (xml-parse-dtd): Make parameter entity substitution work right.
2873 Use proper regexps for ELEMENT declarations (Bug#7172).
2874
2875 2012-06-30 Glenn Morris <rgm@gnu.org>
2876
2877 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2878
2879 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2880 Remove outdated and unnecessary dbus declarations.
2881
2882 2012-06-30 Eli Zaretskii <eliz@gnu.org>
2883
2884 * emacs-lisp/timer.el (timer-until): Subtract results of
2885 float-time, instead of taking float-time of the result of
2886 time-subtract, since float-time signals an error for negative time
2887 arguments.
2888
2889 2012-06-30 Chong Yidong <cyd@gnu.org>
2890
2891 * xml.el (xml-*-re): Convert defvars into defconsts, and
2892 eval-and-compile them so eval-and-compile works on derivatives.
2893 (xml--entity-replacement-text): Use eval-and-comple.
2894
2895 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
2896
2897 * vc/vc-git.el (vc-git-registered): Use cache property
2898 `git-registered'.
2899 (vc-git-mode-line-string): Call `vc-working-revision' instead of
2900 `vc-git-working-revision' in order to benefit from the cache.
2901 (vc-git-root): Use cache property `git-root'. (Bug#11757)
2902
2903 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2906 removed (likely outside Emacs). (Bug#11757)
2907
2908 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2909
2910 * emacs-lisp/cl-lib.el: Require macroexp.
2911
2912 2012-06-30 Chong Yidong <cyd@gnu.org>
2913
2914 * xml.el: Implement XML parameter entities.
2915 (xml-parameter-entity-alist): New variable.
2916 (xml-parse-region, xml-parse-fragment): Preserve previous values
2917 of xml-entity-alist and xml-parameter-entity-alist, so that
2918 repeated calls on different documents do not change them.
2919 (xml-parse-tag): Fix doctype regexp.
2920 (xml--entity-replacement-text): New function.
2921 (xml-parse-dtd): Use it. Don't handle system entities; doing that
2922 properly requires url retrieval which is unimplemented.
2923 (xml-escape-string): Doc fix.
2924
2925 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2928
2929 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
2930
2931 * fringe.el (fringe-mode): Doc fix.
2932
2933 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2936 is non-nil.
2937 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2938 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
2939
2940 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
2941
2942 * calendar/cal-dst.el (calendar-current-time-zone):
2943 Return calendar-current-time-zone-cache if non-nil.
2944
2945 2012-06-29 Masatake YAMATO <yamato@redhat.com>
2946
2947 * progmodes/which-func.el (which-func-format):
2948 Add mouse-face. (Bug#11698)
2949
2950 2012-06-29 Leo Liu <sdl.web@gmail.com>
2951
2952 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2953
2954 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2955
2956 * minibuffer.el (minibuffer-confirm-exit-commands):
2957 Add completion-at-point (bug#11725).
2958
2959 2012-06-29 Glenn Morris <rgm@gnu.org>
2960
2961 * progmodes/f90.el (f90-font-lock-keywords-2):
2962 Add some preprocessor elements. (Bug#10499)
2963
2964 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
2965
2966 * progmodes/cperl-mode.el (cperl-update-syntaxification):
2967 Use syntax-propertize (bug#11739).
2968
2969 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
2970
2971 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2972
2973 2012-06-28 Julien Danjou <julien@danjou.info>
2974
2975 * term.el (term-handle-colors-array): Use a set of new faces to
2976 color the terminal. Also uses :inverse-video property.
2977 (term-default-fg-color): Set to nil by default, deprecate in favor
2978 of `term-face'.
2979 (term-default-bg-color): Set to nil by default, deprecate in favor
2980 of `term-face'.
2981 (term-current-face): Use `term-face' by default.
2982 (term-bold-attribute): Variable deleted.
2983
2984 2012-06-28 Glenn Morris <rgm@gnu.org>
2985
2986 * simple.el (completion-list-mode-finish):
2987 Don't use toggle-read-only. (Since completion-list-mode has
2988 a special mode-class, it wasn't doing anything extra anyway.)
2989
2990 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
2991
2992 Make inlining of other-mode interpreted functions work (bug#11799).
2993 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2994 (byte-compile): Use it to fix compilation of lexical-binding closures.
2995 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2996 function, if needed.
2997
2998 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
2999
3000 * help-mode.el (help-make-xrefs): Don't just withstand
3001 cyclic-variable-indirection but any error in documentation-property.
3002
3003 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
3004 memory use.
3005 * bindings.el (bindings--define-key): New function.
3006 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
3007 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
3008 * bindings.el: Use it to purecopy define-key bindings.
3009
3010 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
3011
3012 * emacs-lisp/cl.el (flet): Mark obsolete.
3013 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
3014 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
3015 * progmodes/js.el (js-c-fill-paragraph):
3016 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
3017 (ebrowse-switch-member-buffer-to-derived-class):
3018 * play/5x5.el (5x5-solver): Use cl-flet.
3019
3020 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
3021 (cl--symbol-function): New macro.
3022 (cl--letf, cl--letf*): Use it.
3023
3024 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
3025 Strip "toggle-" if any.
3026
3027 2012-06-27 Glenn Morris <rgm@gnu.org>
3028
3029 * info.el (Info-default-directory-list): Move here from paths.el.
3030 * paths.el: Remove file, which is now empty.
3031 * loadup.el: No longer load "paths".
3032
3033 * custom.el (custom-initialize-delay): Doc fix.
3034
3035 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
3036 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
3037 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
3038 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
3039 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
3040 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
3041 * eshell/eshell.el (eshell-defgroup): Remove alias.
3042
3043 2012-06-27 Chong Yidong <cyd@gnu.org>
3044
3045 * help.el (help-enable-auto-load): New variable.
3046
3047 * help-fns.el (help-fns--autoloaded-p): New function.
3048 (describe-function-1): Refer to a function as "autoloaded" if it
3049 was autoloaded at any time in the past. Perform autoloading if
3050 help-enable-auto-load is non-nil.
3051
3052 2012-06-26 Eli Zaretskii <eliz@gnu.org>
3053
3054 * makefile.w32-in (compile, compile-always): Depend on
3055 update-subdirs, not on subdirs.el. Otherwise, several different
3056 sub-targets of 'bootstrap' running in parallel could
3057 simultaneously write to subdirs.el, producing a garbled file.
3058
3059 2012-06-26 Sam Steingold <sds@gnu.org>
3060
3061 * files.el (file-name-base): New convenience function.
3062 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
3063 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
3064 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
3065 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
3066 * textmodes/ispell.el, textmodes/reftex-ref.el:
3067 * textmodes/tex-mode.el: Use it.
3068 Did not touch cedet and org because they are maintained elsewhere.
3069
3070 2012-06-26 Martin Rudalics <rudalics@gmx.at>
3071
3072 * calendar/calendar.el (calendar-exit): Don't try to delete or
3073 iconify last frame. See:
3074 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
3075
3076 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
3077
3078 * server.el (server-process-filter): Remember dir in the
3079 process's `server-client-directory' properties.
3080
3081 2012-06-24 Chong Yidong <cyd@gnu.org>
3082
3083 * xml.el (xml-parse-tag): Correctly handle comment embedded in
3084 non-tag text.
3085
3086 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
3087
3088 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
3089
3090 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * help-fns.el (describe-variable): Don't croak when doc is not found.
3093 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
3094 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
3095 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
3096 * emacs-lisp/smie.el (smie-next-sexp): CSE.
3097 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
3098 ((lambda ..) ..).
3099 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
3100
3101 2012-06-23 Chong Yidong <cyd@gnu.org>
3102
3103 * info.el (Info-mouse-follow-link): Accept symbol values of
3104 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
3105 (Info-fontify-node): Use Info-link-keymap for all navigation
3106 buttons, with link-args property to perform the desired action.
3107 (Info-link-keymap): Doc fix.
3108 (Info-next-link-keymap, Info-prev-link-keymap)
3109 (Info-up-link-keymap): Delete now-unused keymaps.
3110
3111 2012-06-23 Chong Yidong <cyd@gnu.org>
3112
3113 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
3114
3115 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
3116 system abbrevs.
3117
3118 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
3119
3120 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
3121
3122 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
3123 (bug#11719).
3124
3125 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
3126 the requote function doesn't work properly (bug#11714).
3127
3128 2012-06-23 Glenn Morris <rgm@gnu.org>
3129
3130 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
3131
3132 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 Further GV/CL cleanups.
3135 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
3136 gv-expander.
3137 (gv--defun-declaration): New function.
3138 (defun-declarations-alist): Use it.
3139 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
3140 (gv-place): Autoload.
3141 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
3142 original definition of dotimes and dolist.
3143 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
3144 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
3145 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
3146 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3147 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
3148 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
3149 to the function's definition.
3150 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
3151 * window.el:
3152 * files.el:
3153 * faces.el:
3154 * env.el: Don't use CL.
3155
3156 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
3157
3158 Support higher-resolution time stamps (Bug#9000).
3159
3160 * calendar/time-date.el (with-decoded-time-value): New arg
3161 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
3162 (encode-time-value): New optional arg PICO. New type 3.
3163 (time-to-seconds) [!float-time]: Support the new picoseconds
3164 component if it's used.
3165 (seconds-to-time, time-subtract, time-add):
3166 Support ps-resolution time stamps as well.
3167
3168 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
3169 (timerp): Timer vectors now have length 9, not 8.
3170 (timer--time): Support new-style (4-part) time stamps.
3171 (timer-next-integral-multiple-of-time): Time stamps now have
3172 picosecond resolution, so take a bit more care about rounding.
3173 (timer-relative-time, timer-inc-time): New optional arg psecs.
3174 (timer-set-time-with-usecs): Set psecs to 0.
3175 (timer--activate): Check psecs component, too.
3176
3177 * proced.el (proced-time-lessp): Support ps-resolution stamps.
3178
3179 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3180
3181 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
3182 Move the non-essential binding to the post/pre-command-hook where it is
3183 more obviously correct.
3184
3185 * subr.el (read-passwd): Don't use a history at all.
3186 * savehist.el (savehist-save): Remove password saved accidentally
3187 because of the above bug.
3188
3189 2012-06-22 Bastien Guerry <bzg@gnu.org>
3190
3191 * files.el (toggle-read-only): Display a message telling whether
3192 the buffer is read-only or not (bug#11726).
3193
3194 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
3195
3196 * emacs-lisp/gv.el: New file.
3197 * subr.el (push, pop): Extend to generalized variables.
3198 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
3199 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
3200 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
3201 gv-define-simple-setter, and gv-define-expander.
3202 Remove setf-methods defined in gv. Rename cl-setf -> setf.
3203 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
3204 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
3205 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
3206 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
3207 gv-letplace.
3208 (cl-defstruct): Don't define setf-method any more.
3209 * emacs-lisp/cl.el (flet): Don't autoload.
3210 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
3211 (define-setf-expander, defsetf, define-modify-macro)
3212 (cl-struct-setf-expander): Move from cl-lib.el.
3213 * emacs-lisp/syntax.el:
3214 * emacs-lisp/ewoc.el:
3215 * emacs-lisp/smie.el:
3216 * emacs-lisp/cconv.el:
3217 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
3218 (timer--time): Use gv-define-simple-setter.
3219 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
3220 to avoid coding-system problems in subr.el. Adjust all users.
3221 (macroexp--maxsize, macroexp-small-p): New functions.
3222 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
3223 * scroll-bar.el (scroll-bar-mode):
3224 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
3225 (normal-erase-is-backspace-mode): Don't use the `eq' place.
3226 * winner.el (winner-configuration, winner-make-point-alist)
3227 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
3228 * files.el (locate-file-completion-table): Avoid list*.
3229
3230 2012-06-22 Chong Yidong <cyd@gnu.org>
3231
3232 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
3233 (dired-create-files): Doc fix (Bug#11329).
3234 (dired-do-copy): Doc fix (Bug#11334).
3235 (dired-mark-read-string): Doc fix (Bug#11553).
3236
3237 * dired.el (dired-recursive-copies, dired-recursive-deletes):
3238 Doc fix (Bug#11326).
3239 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
3240 (dired-dwim-target): Doc fix.
3241
3242 * wdired.el (wdired-mode): Doc fix.
3243
3244 2012-06-22 Glenn Morris <rgm@gnu.org>
3245
3246 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
3247 (pcmpl-rpm-cache-stamp-file): New constant.
3248 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
3249 (pcmpl-rpm-packages): Optionally cache list of packages.
3250
3251 * pcmpl-rpm.el (pcmpl-rpm): New group.
3252 (pcmpl-rpm-query-options): New option.
3253 (pcmpl-rpm-packages): No need to inline it.
3254 Use pcmpl-rpm-query-options.
3255
3256 * calendar/calendar.el (calendar-in-read-only-buffer):
3257 Avoid some needless mode changes.
3258
3259 2012-06-21 Chong Yidong <cyd@gnu.org>
3260
3261 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
3262 (desktop-path): Remove . from the default value (Bug#10977).
3263 (desktop-read): Use user-emacs-directory if desktop-path is nil.
3264
3265 2012-06-20 Chong Yidong <cyd@gnu.org>
3266
3267 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
3268
3269 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
3270
3271 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
3272 (bug#11201).
3273
3274 2012-06-20 Chong Yidong <cyd@gnu.org>
3275
3276 * term.el (term-window-width): Handle the case of a missing right
3277 fringe (Bug#8837).
3278 (term-check-size): Use window-text-height (Bug#5445).
3279 (term-mode): Use define-derived-mode. Minor cleanups.
3280 Set font-lock-defaults (Bug#7692).
3281 (term-move-columns, term-insert-char, term-emulate-terminal)
3282 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
3283
3284 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
3285
3286 * net/ange-ftp.el (ange-ftp-get-passwd):
3287 Bind `enable-recursive-minibuffers'.
3288 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
3289
3290 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
3291
3292 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
3293
3294 2012-06-19 Glenn Morris <rgm@gnu.org>
3295
3296 * progmodes/python.el (python-mode): Derive from prog-mode.
3297
3298 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
3299
3300 * emulation/edt.el (edt-default-menu-bar-update-buffers)
3301 (edt-user-menu-bar-update-buffers): New functions.
3302 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
3303
3304 2012-06-19 Chong Yidong <cyd@gnu.org>
3305
3306 * subr.el (with-selected-window): Preserve the selected window's
3307 terminal's top-frame (Bug#4702).
3308
3309 * window.el (save-selected-window): Likewise.
3310
3311 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3312
3313 * progmodes/python.el (python-rx-constituents): Move backquote.
3314 (python-skeleton-define, python-define-auxiliary-skeleton):
3315 Use `declare'.
3316
3317 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
3318
3319 * minibuffer.el (read-file-name-default): Revert the patch from
3320 2012-06-17.
3321
3322 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
3323
3324 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
3325 (pcase--u1, pcase--q1): Don't use apply-partially.
3326
3327 2012-06-18 Glenn Morris <rgm@gnu.org>
3328
3329 * progmodes/python.el (python-proc, python-buffer)
3330 (python-send-receive, python-send-string): Fix obsolete versions.
3331
3332 2012-06-18 Martin Rudalics <rudalics@gmx.at>
3333
3334 * window.el (special-display-p): Completely remove stringp
3335 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
3336
3337 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
3338
3339 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
3340
3341 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
3342
3343 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
3344 * net/tramp-sh.el (tramp-maybe-open-connection):
3345 Throw if `non-essential' is non-nil.
3346
3347 2012-06-17 Martin Rudalics <rudalics@gmx.at>
3348
3349 * window.el (special-display-p): Signal an error if BUFFER-NAME
3350 is not a string (Bug#11713).
3351
3352 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
3353
3354 * progmodes/python.el (python-info-beginning-of-backslash):
3355 Rename from python-info-beginning-of-backlash, as a spelling fix.
3356
3357 2012-06-17 Chong Yidong <cyd@gnu.org>
3358
3359 * term.el (term-emulate-terminal): If term-check-size is called,
3360 move point to the process mark without resetting point (Bug#4635).
3361
3362 2012-06-17 Glenn Morris <rgm@gnu.org>
3363
3364 * international/mule-cmds.el (mule-menu-keymap)
3365 (set-language-environment, set-locale-environment): Doc tweaks.
3366
3367 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
3368
3369 * cus-face.el (custom-face-attributes): Add wave-style underline
3370 attribute.
3371 * faces.el (set-face-attribute): Update docstring to describe
3372 wave-style underline attribute.
3373
3374 2012-06-16 Chong Yidong <cyd@gnu.org>
3375
3376 * term/xterm.el (terminal-init-xterm): Discard input before
3377 querying background mode (Bug#10959).
3378
3379 2012-06-16 Stefan Merten <smerten@oekonux.de>
3380
3381 * textmodes/rst.el: Added and corrected some comments.
3382 (rst-re-alist-def): Improve symbol syntax.
3383 (rst-mode-syntax-table): Correct syntax entries.
3384 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3385 (rst-official-version, rst-official-cvs-rev): Update version
3386 information.
3387
3388 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
3389
3390 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
3391 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
3392
3393 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
3394
3395 * progmodes/python.el: New python.el merge.
3396 (python-guess-indent): Obsolete var.
3397 (python-indent-guess-indent-offset): New defcustom.
3398 (python-indent): Obsolete var.
3399 (python-indent-offset): New defcustom.
3400 (python-python-command, python-jython-command): Delete var.
3401 (python-shell-interpreter): New defcustom.
3402 (python-pdbtrack-do-tracking-p): Delete var.
3403 (python-pdbtrack-activate): New defcustom.
3404 (python-use-skeletons): Obsolete var.
3405 (python-skeleton-autoinsert): New defcustom.
3406 (inferior-python-filter-regexp, python-continuation-offset)
3407 (python-honour-comment-indentation, python-indent-string-contents)
3408 (python-jython-packages, python-mode-hook)
3409 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
3410 (python-shell-prompt-alist)
3411 (python-source-modes): Delete defcustoms.
3412 (python-check-buffer-name, python-eldoc-setup-code)
3413 (python-eldoc-string-code, python-ffap-setup-code)
3414 (python-ffap-string-code, python-fill-comment-function)
3415 (python-fill-decorator-function, python-fill-paren-function)
3416 (python-fill-string-function, python-imenu-include-defun-type)
3417 (python-imenu-make-tree, python-imenu-subtree-root-label)
3418 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
3419 (python-shell-compilation-regexp-alist)
3420 (python-shell-completion-module-string-code)
3421 (python-shell-completion-pdb-string-code)
3422 (python-shell-completion-setup-code)
3423 (python-shell-completion-string-code)
3424 (python-shell-enable-font-lock, python-shell-exec-path)
3425 (python-shell-extra-pythonpaths)
3426 (python-shell-internal-buffer-name, python-shell-interpreter-args)
3427 (python-shell-process-environment)
3428 (python-shell-prompt-block-regexp)
3429 (python-shell-prompt-output-regexp)
3430 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
3431 (python-shell-send-setup-max-wait, python-shell-setup-codes)
3432 (python-shell-virtualenv-path): New defcustoms.
3433 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
3434 (inferior-python-mode-syntax-table, python--prompt-regexp)
3435 (python-buffer, python-command python-python-command)
3436 (python-default-template, python-imports, python-indent-index)
3437 (python-indent-list, python-indent-list-length)
3438 (python-mode-running, python-pdbtrack-is-tracking-p)
3439 (python-preoutput-continuation, python-preoutput-leftover)
3440 (python-preoutput-result, python-preoutput-skip-next-prompt)
3441 (python-prev-dir/file, python-recursing)
3442 (python-saved-check-command, python-version-checked)
3443 (python-which-func-length-limit)
3444 (view-return-to-alist): Delete vars.
3445 (python-check-custom-command, python-dotty-syntax-table)
3446 (python-imenu-index-alist, python-indent-current-level)
3447 (python-indent-dedenters, python-indent-levels)
3448 (python-nav-beginning-of-defun-regexp)
3449 (python-nav-list-defun-positions-cache)
3450 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
3451 (python-shell-internal-buffer)
3452 (python-skeleton-available): New vars.
3453 (def-python-skeleton): Delete macro.
3454 (python-skeleton-define): New macro.
3455 (python-define-auxiliary-skeleton, python-rx): New macros.
3456 (python-insert-class): Delete command.
3457 (python-skeleton-class): New command.
3458 (python-insert-def): Delete command.
3459 (python-skeleton-def): New command.
3460 (python-insert-for): Delete command.
3461 (python-skeleton-for): New command.
3462 (python-insert-if): Delete command.
3463 (python-skeleton-if): New command.
3464 (python-insert-try/except, python-insert-try/finally): Delete commands.
3465 (python-skeleton-try): New command.
3466 (python-insert-while): Delete command.
3467 (python-skeleton-while): New command.
3468 (python-backspace): Delete command.
3469 (python-indent-dedent-line-backspace): New command.
3470 (python-electric-colon): Delete command.
3471 (python-indent-electric-colon): New command.
3472 (python-guess-indent): Delete command.
3473 (python-indent-guess-indent-offset): New command.
3474 (python-shift-left): Delete command.
3475 (python-indent-shift-left): New command.
3476 (python-shift-right): Delete command.
3477 (python-indent-shift-right): New command.
3478 (python-find-function): Delete command.
3479 (python-nav-jump-to-defun): New command.
3480 (python-next-statement): Delete command.
3481 (python-nav-forward-sentence): New command.
3482 (python-previous-statement): Delete command.
3483 (python-nav-backward-sentence): New command.
3484 (python-fill-paragraph): Delete command.
3485 (python-fill-paragraph-function): New command.
3486 (python-send-buffer): Delete command.
3487 (python-shell-send-buffer): New command.
3488 (python-send-defun): Delete command.
3489 (python-shell-send-defun): New command.
3490 (python-send-region, python-send-region-and-go): Delete commands.
3491 (python-shell-send-region)
3492 (python-shell-switch-to-shell): New commands.
3493 (python-send-string): Delete command.
3494 (python-shell-send-string): New command.
3495 (python-switch-to-python): Delete command.
3496 (python-shell-switch-to-shell): New command.
3497 (python-describe-symbol): Delete command.
3498 (python-eldoc-at-point): New command.
3499 (python--set-prompt-regexp, python-args-to-list)
3500 (python-after-info-look, python-check-version)
3501 (python-check-comint-prompt, python-find-imports)
3502 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3503 (python-unload-function, python-expand-template)
3504 (python-maybe-jython, python-preoutput-filter)
3505 (python-pdbtrack-get-source-buffer)
3506 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3507 (python-pdbtrack-toggle-stack-tracking)
3508 (python-pdbtrack-track-stack-file, python-initial-text)
3509 (python-first-word, python-comment-line-p, python-send-command)
3510 (python-setup-brm, python-sentinel, python-set-proc)
3511 (python-skip-out, python-input-filter, python-outdent-p)
3512 (python-outline-level, python-backslash-continuation-line-p)
3513 (python-end-of-block, python-end-of-statement, python-mark-block)
3514 (python-beginning-of-block, python-beginning-of-statement)
3515 (python-blank-line-p, python-beginning-of-string)
3516 (python-open-block-statement-p): Delete functions.
3517 (python-indent-line, python-indent-line-1): Delete functions.
3518 (python-indent-line): New function.
3519 (python-indentation-levels): Delete function.
3520 (python-indent-calculate-levels): New function.
3521 (python-proc): Delete function.
3522 (python-shell-get-process): New function.
3523 (python-send-receive): Delete function.
3524 (python-shell-send-string-no-output): New function.
3525 (python-module-path): Delete function.
3526 (python-ffap-module-path): New function.
3527 (python-completion-at-point)
3528 (python-symbol-completions): Delete functions.
3529 (python-completion-complete-at-point): New function.
3530 (python-load-file): Delete function.
3531 (python-shell-send-file): New function.
3532 (python-calculate-indentation): Delete function.
3533 (python-indent-calculate-indentation): New function.
3534 (python-skip-comments/blanks): Delete function.
3535 (python-util-forward-comment): New function.
3536 (python-continuation-line-p): Delete function.
3537 (python-info-continuation-line-p): New function.
3538 (python-which-func, python-current-defun): Delete function.
3539 (python-info-current-defun): New function.
3540 (python-beginning-of-defun): Delete function.
3541 (python-nav-beginning-of-defun): New function.
3542 (python-close-block-statement-p)
3543 (python-block-end-p): Delete function.
3544 (python-info-closing-block): New function.
3545 (python-comint-output-filter-function)
3546 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3547 (python-fill-comment, python-fill-decorator, python-fill-paren)
3548 (python-fill-string, python-imenu-make-element-tree)
3549 (python-imenu-make-tree, python-imenu-tree-assoc)
3550 (python-indent-context, python-indent-dedent-line)
3551 (python-indent-line-function)
3552 (python-indent-post-self-insert-function)
3553 (python-indent-toggle-levels)
3554 (python-info-assignment-continuation-line-p)
3555 (python-info-beginning-of-backlash)
3556 (python-info-block-continuation-line-p)
3557 (python-info-closing-block-message)
3558 (python-info-line-ends-backslash-p)
3559 (python-info-looking-at-beginning-of-defun)
3560 (python-info-ppss-context, python-info-ppss-context-type)
3561 (python-nav-list-defun-positions, python-nav-read-defun)
3562 (python-nav-sentence-end, python-nav-sentence-start)
3563 (python-pdbtrack-comint-output-filter-function)
3564 (python-pdbtrack-set-tracked-buffer)
3565 (python-shell-calculate-exec-path)
3566 (python-shell-calculate-process-environment)
3567 (python-shell-completion--do-completion-at-point)
3568 (python-shell-completion--get-completions)
3569 (python-shell-completion-complete-at-point)
3570 (python-shell-completion-complete-or-indent)
3571 (python-shell-get-or-create-process)
3572 (python-shell-get-process-name)
3573 (python-shell-internal-get-or-create-process)
3574 (python-shell-internal-get-process-name)
3575 (python-shell-internal-send-string, python-shell-make-comint)
3576 (python-shell-parse-command, python-shell-send-setup-code)
3577 (python-skeleton-add-menu-items)
3578 (python-util-clone-local-variables, python-util-position)
3579 (run-python-internal, python-indentation-levels)
3580 (python-nav-beginning-of-defun)
3581 (python-completion-complete-at-point): New functions.
3582 (run-python): Change arguments. New API requirements.
3583
3584 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3587 (bug#11649).
3588
3589 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3590 (macroexp--expand-all): Use it.
3591
3592 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3593 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3594 Use `cl-function' instead.
3595
3596 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
3597
3598 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3599 Suggested by Stefan Monnier while discussing bug#11657.
3600
3601 2012-06-14 Sam Steingold <sds@gnu.org>
3602
3603 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3604
3605 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
3606
3607 * play/doctor.el (doctor-doc): Remove parameter and use
3608 doctor-sent instead of sent.
3609 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
3610
3611 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3612
3613 * files.el: Require cl-lib.
3614 (file-name-non-special): Replace case -> cl-case.
3615
3616 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3617
3618 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3619 mapping from #' to function*.
3620
3621 2012-06-13 Chong Yidong <cyd@gnu.org>
3622
3623 * mouse.el (mouse-drag-track): Do not set the mark if the user
3624 releases the mouse without selecting anything (Bug#11588).
3625
3626 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
3627
3628 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3629 as well (bug#11646).
3630
3631 * loadup.el: Count byte-code functions as well.
3632
3633 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3634 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3635
3636 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3637 (bug#11649). Add cl-defun and cl-defmacro.
3638
3639 2012-06-13 Drew Adams <drew.adams@oracle.com>
3640
3641 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3642 Fix last change.
3643
3644 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
3645
3646 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3647 Otherwise, it blocks in batch mode.
3648
3649 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
3650
3651 * help-mode.el (bookmark-make-record-default): Declare.
3652
3653 2012-06-13 Chong Yidong <cyd@gnu.org>
3654
3655 * emacs-lisp/package.el (list-packages): Compute a list of
3656 packages that are newly-available since the last list-packages
3657 invocation.
3658 (package-menu--new-package-list): New var.
3659 (package-menu--generate, package-menu--print-info)
3660 (package-menu--status-predicate, package-menu-mark-install):
3661 Handle new status label "new".
3662
3663 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
3664
3665 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3666 conversion to backquotes.
3667
3668 2012-06-12 Chong Yidong <cyd@gnu.org>
3669
3670 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3671 Rename from gud-inhibit-global-bindings.
3672
3673 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3674
3675 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3676 hook from nxml-glyph-set-hook.
3677
3678 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3679 declaration.
3680
3681 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3682
3683 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3684 Convert to defcustom.
3685
3686 2012-06-12 Drew Adams <drew.adams@oracle.com>
3687
3688 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3689 New functions.
3690 (help-mode): Use them.
3691
3692 2012-06-11 Glenn Morris <rgm@gnu.org>
3693
3694 * progmodes/fortran.el (fortran-font-lock-keywords-3):
3695 Use preprocessor face for directives.
3696 (fortran-directive-re): Doc fix.
3697
3698 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3699
3700 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3701 conversion to backquotes (bug#11652).
3702
3703 Fix compiler-expansion of CL's cXXr functions (bug#11673).
3704 * emacs-lisp/cl-lib.el (cl--defalias): New function.
3705 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3706 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3707 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3708 (cl-ninth, cl-tenth): Mark them as inlinable.
3709 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3710 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3711 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3712 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3713 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3714 (cl-list*, cl-adjoin): Don't put an autoload manually.
3715 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3716 (cl--compiler-macro-list*): Add autoload cookie.
3717 (cl--compiler-macro-cXXr): New function.
3718
3719 * help-fns.el (help-fns--compiler-macro): New function extracted from
3720 describe-function-1; follow aliases and use `compiler-macro' property.
3721 (describe-function-1): Use it.
3722
3723 2012-06-11 Chong Yidong <cyd@gnu.org>
3724
3725 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3726 is uninstalled, if imagemagick is installed.
3727
3728 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3729
3730 * emacs-lisp/cl-lib.el: Use lexical-binding.
3731 (cl-map-extents, cl-maclisp-member): Remove.
3732 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3733 (cl--set-substring, cl--block-wrapper, cl--block-throw)
3734 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3735 * emacs-lisp/cl-extra.el: Use lexical-binding.
3736 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3737 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3738 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3739 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3740 * emacs-lisp/cl-seq.el: Use lexical-binding.
3741 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3742 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3743 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3744 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3745 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3746 CL's internals.
3747
3748 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
3749
3750 Sync with Tramp 2.2.6-pre.
3751
3752 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3753 `print-length' and `print-level' to nil, in order to avoid
3754 truncation. Reported by Christopher Schmidt
3755 <christopher@ristopher.com>.
3756
3757 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3758
3759 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3760 New defmacro.
3761 (tramp-compat-copy-directory): Add optional argument
3762 COPY-CONTENTS. It is not handled yet.
3763
3764 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3765 (tramp-ftp-file-name-p): Simplify.
3766
3767 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3768 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3769 connection vector.
3770
3771 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3772 (tramp-methods): Do not use `tramp-password-end-of-line'.
3773 (tramp-completion-function-alist-putty): Handle UNIX case.
3774 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3775 (tramp-do-file-attributes-with-stat)
3776 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3777 gid as real numbers. They could run out of integer range on cygwin.
3778 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3779 (tramp-sh-handle-expand-file-name): Handle hops.
3780 (tramp-open-connection-setup-interactive-shell):
3781 Use `tramp-cleanup'. Move check for busyboxes ...
3782 (tramp-find-shell): ... here. Simplify implementation.
3783 Set "remote-shell" property also for alternative shells.
3784 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3785 If failing, a regular file would be written otherwise.
3786 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3787 (tramp-find-inline-encoding): Cache the coding commands in the
3788 process cache. Apply test command on the remote side, if defined.
3789 (tramp-find-inline-compress): Cache the compress commands in the
3790 process cache.
3791 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3792 when requested. Handle hops.
3793 (tramp-current-connection): New defvar.
3794 (tramp-maybe-open-connection): Use `tramp-cleanup'.
3795 Throw `suppress', if there was a failed connection shortly before.
3796 Handle user interrupt. (Bug#10187)
3797 (tramp-get-inline-compress, tramp-get-inline-coding):
3798 Read connection properties from the process cache.
3799
3800 * net/tramp-smb.el (tramp-smb-server-version)
3801 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3802 New defconsts.
3803 (tramp-smb-prompt): Extend for powershell prompt.
3804 (tramp-smb-file-name-handler-alist): Add handlers for
3805 `process-file', `shell-command' and `start-file-process'.
3806 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3807 (tramp-smb-winexe-shell-command-switch): New defcustoms.
3808 (tramp-smb-file-name-p): Simplify.
3809 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3810 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3811 (tramp-smb-shell-quote-argument): New defuns.
3812 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3813 Implement using "tar". By this, time-stamps are preserved.
3814 (tramp-smb-handle-copy-file): Handle also the case of directories.
3815 (tramp-smb-do-file-attributes-with-stat)
3816 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3817 Use `tramp-get-connection-buffer').
3818 (tramp-smb-handle-rename-file): Use "rename", when source and
3819 target are on the same share.
3820 (tramp-smb-maybe-open-connection): Handle wrong passwords.
3821 Use `tramp-smb-server-version'.
3822 (tramp-smb-wait-for-output): Remove prompt.
3823
3824 * net/tramp.el (top): Require 'cl.
3825 (tramp-methods, tramp-rsh-end-of-line):
3826 Remove `tramp-password-end-of-line' from docstring.
3827 (tramp-save-ad-hoc-proxies): New defcustom.
3828 (tramp-completion-function-alist): Adapt docstring.
3829 (tramp-default-password-end-of-line): Remove defcustom.
3830 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
3831 (tramp-user-regexp, tramp-file-name-regexp-unified)
3832 (tramp-file-name-regexp-url): Extend regexp by hop separator.
3833 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3834 (tramp-remote-file-name-spec-regexp): New defconst.
3835 (tramp-file-name-structure): Extend structure for hops.
3836 (tramp-get-method-parameter): Move up.
3837 (tramp-file-name-p, tramp-dissect-file-name)
3838 (with-parsed-tramp-file-name): Handle hops.
3839 (tramp-file-name-hop): New defun.
3840 (tramp-make-tramp-file-name): New optional arg HOP.
3841 (tramp-message-show-progress-reporter-message): New defvar.
3842 (tramp-with-progress-reporter): Use it. We cannot use
3843 `tramp-message-show-message' here, because this suppresses also
3844 error buffers.
3845 (tramp-error-with-buffer): Suppress buffer view, if
3846 `tramp-message-show-message' is nil.
3847 Use `tramp-get-connection-buffer'.
3848 (tramp-cleanup): New defun.
3849 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3850 (tramp-file-name-handler): If `debug-on-error' is set, propagate
3851 an error unchanged.
3852 (tramp-completion-handle-file-name-all-completions): Handle hops.
3853 Fix an error when called from ido.
3854 (tramp-completion-dissect-file-name): Use better local variable
3855 name. Add hop to the vector.
3856 (tramp-handle-insert-file-contents): Use progress-reporter for the
3857 whole scenario.
3858 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3859 to `t'.
3860 (tramp-check-for-regexp): Simplify search.
3861 (tramp-enter-password): Remove it. Move implementation ...
3862 (tramp-action-password): ... here.
3863 (tramp-mode-string-to-int, tramp-local-host-p)
3864 (tramp-make-tramp-temp-file, tramp-read-passwd)
3865 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3866 Set tramp-autoload cookie.
3867
3868 * net/trampver.el: Update release number.
3869
3870 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3871 Michael Albinus <michael.albinus@gmx.de>
3872
3873 * net/tramp.el (tramp-set-completion-function): Fix docstring.
3874 (tramp-parse-group, tramp-parse-file)
3875 (tramp-parse-shostkeys-sknownhosts): New defuns.
3876 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3877 (tramp-parse-shosts-group, tramp-parse-sconfig)
3878 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3879 (tramp-parse-sknownhosts, tramp-parse-hosts)
3880 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3881 Use them.
3882 (tramp-parse-passwd-group, tramp-parse-netrc-group)
3883 (tramp-parse-putty-group): Don't narrow.
3884 (tramp-parse-putty): Make a loop.
3885 (tramp-file-name-handler): Catch the `suppress' signal.
3886
3887 2012-06-11 Chong Yidong <cyd@gnu.org>
3888
3889 * image.el (imagemagick-register-types): Put the ImageMagick entry
3890 at the end of image-type-file-name-regexps.
3891
3892 2012-06-11 Johan Bockgård <bojohan@gnu.org>
3893
3894 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3895 (pcase, pcase-let*, pcase-dolist): Use them.
3896
3897 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
3898
3899 * emacs-lisp/pcase.el (pcase--let*): New function.
3900 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
3901 (pcase--expand): Use macroexp-let².
3902
3903 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3906 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3907 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3908 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3909 * emacs-lisp/derived.el: Use pcase instead of `cl'.
3910 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3911
3912 2012-06-10 Glenn Morris <rgm@gnu.org>
3913
3914 * mail/rmail.el (rmail-yank-current-message): Leave point at
3915 correct position. (Bug#11660)
3916
3917 2012-06-10 Chong Yidong <cyd@gnu.org>
3918
3919 * allout-widgets.el: Fix code header.
3920
3921 2012-06-10 Chong Yidong <cyd@gnu.org>
3922
3923 * cus-edit.el (customize-changed-options-previous-release):
3924 Bump to 24.1.
3925
3926 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
3927
3928 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3929
3930 2012-06-09 Chong Yidong <cyd@gnu.org>
3931
3932 * ebuff-menu.el (electric-buffer-list): Preserve header line.
3933
3934 2012-06-09 Martin Rudalics <rudalics@gmx.at>
3935
3936 * window.el (special-display-popup-frame): Don't use
3937 window--display-buffer (Bug#11651).
3938
3939 2012-06-09 Eli Zaretskii <eliz@gnu.org>
3940
3941 Fix parallel builds: make sure loaddefs.el is not being written
3942 while Lisp files are compiled.
3943 (compile): Don't depend on 'mh-autoloads'.
3944 (compile-CMD, compile-SH): Depend on 'autoloads'.
3945 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3946
3947 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
3948
3949 2012-06-09 Chong Yidong <cyd@gnu.org>
3950
3951 * face-remap.el (face-remap-add-relative, face-remap-set-base)
3952 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3953 Doc fixes (Bug#11225).
3954
3955 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3958 a function if there's a clear indication that it has a compiler-macro.
3959 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3960 (macro-declarations-alist): Add arglist to declaration functions.
3961 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3962 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3963 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3964 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3965 Also add autoload to find the compiler macro.
3966 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3967 (cl--compiler-macro-member, cl--compiler-macro-assoc)
3968 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3969 (cl--compiler-macro-get): New functions, replacing calls to
3970 cl-define-compiler-macro.
3971 (cl-typep) [compiler-macro]: Use macroexp-let².
3972
3973 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
3974
3975 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3976 string properly, fixes Bug#11473.
3977
3978 2012-06-08 Chong Yidong <cyd@gnu.org>
3979
3980 * faces.el (set-face-attribute): Doc fix.
3981 (modify-face): Don't use :bold and :italic.
3982 (error, warning, success): Tweak definitions.
3983
3984 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3985 (custom-modified, custom-set, custom-changed, custom-themed)
3986 (custom-saved, custom-button, custom-button-mouse)
3987 (custom-button-pressed, custom-state, custom-comment-tag)
3988 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3989 (custom-group-subtitle): Use new-style face specs.
3990 (custom-invalid-face, custom-rogue-face, custom-modified-face)
3991 (custom-set-face, custom-changed-face, custom-saved-face)
3992 (custom-button-face, custom-button-pressed-face)
3993 (custom-documentation-face, custom-state-face)
3994 (custom-comment-face, custom-comment-tag-face)
3995 (custom-variable-tag-face, custom-variable-button-face)
3996 (custom-face-tag-face, custom-group-tag-face-1)
3997 (custom-group-tag-face): Remove obsolete face alias.
3998
3999 * epa.el (epa-validity-high, epa-validity-medium)
4000 (epa-validity-low, epa-mark, epa-field-name, epa-string)
4001 (epa-field-name, epa-field-body):
4002 * font-lock.el (font-lock-comment-face, font-lock-string-face)
4003 (font-lock-keyword-face, font-lock-builtin-face)
4004 (font-lock-function-name-face, font-lock-variable-name-face)
4005 (font-lock-type-face, font-lock-constant-face):
4006 * ido.el (ido-first-match, ido-only-match, ido-subdir)
4007 (ido-virtual, ido-indicator, ido-incomplete-regexp):
4008 * speedbar.el (speedbar-button-face, speedbar-file-face)
4009 (speedbar-directory-face, speedbar-tag-face)
4010 (speedbar-selected-face, speedbar-highlight-face)
4011 (speedbar-separator-face):
4012 * whitespace.el (whitespace-newline, whitespace-space)
4013 (whitespace-hspace, whitespace-tab, whitespace-trailing)
4014 (whitespace-line, whitespace-space-before-tab)
4015 (whitespace-space-after-tab, whitespace-indentation)
4016 (whitespace-empty):
4017 * emulation/cua-base.el (cua-global-mark):
4018 * eshell/em-prompt.el (eshell-prompt):
4019 * net/newst-plainview.el (newsticker-new-item-face)
4020 (newsticker-old-item-face, newsticker-immortal-item-face)
4021 (newsticker-obsolete-item-face, newsticker-date-face)
4022 (newsticker-statistics-face, newsticker-default-face):
4023 * net/newst-reader.el (newsticker-feed-face)
4024 (newsticker-extra-face, newsticker-enclosure-face):
4025 * net/newst-treeview.el (newsticker-treeview-face)
4026 (newsticker-treeview-new-face, newsticker-treeview-old-face)
4027 (newsticker-treeview-immortal-face)
4028 (newsticker-treeview-obsolete-face)
4029 (newsticker-treeview-selection-face):
4030 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
4031 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
4032 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
4033 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
4034 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
4035 (nxml-outline-active-indicator, nxml-outline-ellipsis):
4036 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
4037 (mpuz-text):
4038 * progmodes/vera-mode.el (vera-font-lock-number)
4039 (vera-font-lock-function, vera-font-lock-interface):
4040 * textmodes/table.el (table-cell): Use new-style face specs, and
4041 don't use the old :bold and :italic attributes.
4042
4043 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
4044 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
4045 (ebrowse-member-class, ebrowse-progress): Likewise.
4046 (ebrowse-tree-mark-face, ebrowse-root-class-face)
4047 (ebrowse-file-name-face, ebrowse-default-face)
4048 (ebrowse-member-attribute-face, ebrowse-member-class-face)
4049 (ebrowse-progress-face): Remove obsolete faces.
4050
4051 * progmodes/flymake.el (flymake-errline, flymake-warnline):
4052 Inherit from error and warning faces respectively.
4053
4054 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
4055 Likewise.
4056 (flyspell-incorrect-face, flyspell-duplicate-face):
4057 Remove obsolete aliases.
4058
4059 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
4060
4061 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4062 Avoid infloop.
4063
4064 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4065
4066 * startup.el (argv, argi): Make lexically scoped.
4067 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
4068 * emacs-lisp/cl-macs.el: Use lexical-binding.
4069 Rename cl-bind-* to cl--bind-*.
4070 * files.el: Don't require `cl' since it doesn't use it.
4071 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
4072
4073 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
4074
4075 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
4076 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
4077 instead of calling external sort utility.
4078 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
4079
4080 2012-06-08 Eli Zaretskii <eliz@gnu.org>
4081
4082 * descr-text.el (describe-char): Mention how to insert the
4083 character, if the current input method doesn't support it.
4084 See the discussion in this thread for the details:
4085 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
4086
4087 2012-06-08 Sam Steingold <sds@gnu.org>
4088
4089 * bindings.el (global-map): Bind XF86Forward to next-buffer and
4090 XF86Back to previous-buffer.
4091 (minibuffer-local-map): Bind them to next-history-element and
4092 previous-history-element respectively.
4093 * help-mode.el (help-mode-map): Bind them to help-go-forward and
4094 help-go-back respectively.
4095 * info.el (Info-mode-map): Bind them to Info-history-forward and
4096 Info-history-back respectively.
4097 These are the keys next to Up on the ThinkPad keyboard.
4098
4099 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
4102 * emacs-lisp/cl-macs.el: Provide itself.
4103 (cl--labels-convert-cache): New var.
4104 (cl--labels-convert): New function.
4105 (cl-flet, cl-labels): New implementation with new semantics, relying on
4106 lexical-binding.
4107 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
4108 (cl-closure-vars, cl--function-convert-cache)
4109 (cl--function-convert): Move from cl-macs.el.
4110 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
4111 rename by removing the "cl-" prefix.
4112 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
4113
4114 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
4117 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
4118 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
4119 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
4120 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
4121 (cl-hash-table-count): Add old compatibility aliases.
4122
4123 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
4124 Use macroexpand-all-environment instead.
4125 (cl--old-macroexpand): New var.
4126 (cl--sm-macroexpand): New function.
4127 (cl-symbol-macrolet): Use it during macro expansion.
4128 (cl--function-convert-cache): New var.
4129 (cl--function-convert): New function, extracted from
4130 cl-macroexpand-all.
4131 (cl-lexical-let): Use it.
4132
4133 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
4134 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
4135 (cl-member): Remove old alias.
4136
4137 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
4138 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
4139 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
4140 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
4141 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
4142 (cl-macroexpand-cmacs): Remove var.
4143 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
4144 Use macroexpand-all instead.
4145
4146 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4147
4148 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
4149 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
4150 (macroexp-copyable-p): New functions and macros.
4151 * emacs-lisp/edebug.el (edebug-unwrap):
4152 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
4153 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
4154 (pcase--let*): Remove.
4155 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
4156 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
4157 macroexp-const-p instead.
4158 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
4159
4160 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
4161 instead of "cl-" for internal definitions. Use macroexp-const-p.
4162 (cl-old-bc-file-form): Remove var.
4163 (cl-const-exprs-p): Remove fun.
4164 (cl-labels, cl-macrolet): Use backquote.
4165 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
4166 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
4167 (cl-define-setf-expander): Rename from cl-define-setf-method.
4168 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
4169
4170 * international/mule-cmds.el: Don't require CL.
4171 (view-hello-file): Don't use `letf'.
4172
4173 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * tmm.el (tmm-prompt): Use string-prefix-p.
4176 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
4177 (tmm-add-prompt): Use minibuffer-completion-help.
4178 (tmm-delete-map): Remove.
4179
4180 * subr.el (kbd): Make it its own function.
4181
4182 2012-06-07 Stefan Merten <smerten@oekonux.de>
4183
4184 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
4185 Silence compiler warnings. Fix versions.
4186 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
4187 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
4188 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
4189 (rst-package-emacs-version-alist): Correct Emacs version to
4190 represent major merge with upstream.
4191 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
4192
4193 2012-06-06 Glenn Morris <rgm@gnu.org>
4194
4195 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
4196 Only print environment variables if set.
4197
4198 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4199
4200 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
4201 (macroexp--cons): Rename from maybe-cons.
4202 (macroexp--accumulate): Rename from macroexp-accumulate.
4203 (macroexp--all-forms): Rename from macroexpand-all-forms.
4204 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
4205 (macroexp--expand-all): Rename from macroexpand-all-1.
4206
4207 2012-06-06 Sam Steingold <sds@gnu.org>
4208
4209 * calendar/calendar.el (calendar-in-read-only-buffer):
4210 Call `special-mode' to enable the standard read-only keybindings.
4211
4212 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
4213
4214 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
4215 with "loading" messages (bug#11635).
4216
4217 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
4218
4219 * files.el (enable-remote-dir-locals): New option.
4220 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
4221
4222 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
4223 Ensure, that the temp directory is local.
4224
4225 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
4226 `temporary-file-directory'.
4227
4228 * progmodes/python.el (python-send-region): Ensure, that the
4229 temporary file is created also in the remote case.
4230
4231 2012-06-06 Glenn Morris <rgm@gnu.org>
4232
4233 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
4234 (vc-rcs-update-changelog): Use it.
4235
4236 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
4237
4238 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
4239 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
4240 (vc-sccs-diff): Replace use of the external vcdiff script.
4241
4242 2012-06-05 Glenn Morris <rgm@gnu.org>
4243
4244 * ledit.el: Move to obsolete/.
4245
4246 2012-06-05 Sam Steingold <sds@gnu.org>
4247
4248 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
4249 patch (Bug#11140).
4250
4251 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
4252
4253 * emacs-lisp/cust-print.el: Move to obsolete.
4254
4255 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
4256 compiler-macro expansion.
4257
4258 Add native compiler-macro support.
4259 * emacs-lisp/macroexp.el (macroexpand-all-1):
4260 Support compiler-macros directly. Properly follow aliases and apply
4261 the compiler macros more thoroughly.
4262 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
4263 macroexpand now properly follows aliases.
4264 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
4265 (cl-compiler-macroexpand): Use new prop.
4266 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
4267
4268 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
4269
4270 2012-06-05 Martin Rudalics <rudalics@gmx.at>
4271
4272 * window.el (get-lru-window, get-mru-window, get-largest-window):
4273 New argument NOT-SELECTED to avoid picking the selected window.
4274 (window--display-buffer-1, window--display-buffer-2): Replace by
4275 new function window--display-buffer
4276 (display-buffer-same-window, display-buffer-reuse-window)
4277 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4278 Use window--display-buffer.
4279 (display-buffer-use-some-window): Remove temporary dedication
4280 hack by calling get-lru-window and get-largest-window with
4281 NOT-SELECTED argument non-nil. Call window--display-buffer.
4282
4283 2012-06-05 Glenn Morris <rgm@gnu.org>
4284
4285 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
4286 Replace external vcdiff script.
4287
4288 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4289
4290 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
4291
4292 2012-06-04 Chong Yidong <cyd@gnu.org>
4293
4294 * image.el (imagemagick-types-inhibit): Revert last change.
4295 Add INFO and M.
4296 (imagemagick-enabled-types): Remove CIN and EPS*.
4297
4298 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * emacs-lisp/cl-lib.el: Rename from cl.el.
4301 * emacs-lisp/cl.el: New compatibility file.
4302 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
4303 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
4304 to obey the "cl-" prefix.
4305 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
4306
4307 2012-06-03 Glenn Morris <rgm@gnu.org>
4308
4309 * emacs-lisp/authors.el (authors-aliases): Addition.
4310
4311 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
4312 Fix :version.
4313
4314 2012-06-03 Stefan Merten <smerten@oekonux.de>
4315
4316 * textmodes/rst.el: Add comments.
4317 (rst-transition, rst-adornment): New faces.
4318 (rst-adornment-faces-alist): Make default safe to reevaluate.
4319 Fixes
4320 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
4321 Improve customization tags.
4322 (rst-define-level-faces): Clarify meaning.
4323
4324 2012-06-03 Chong Yidong <cyd@gnu.org>
4325
4326 * progmodes/compile.el (compilation-mode-line-fail)
4327 (compilation-mode-line-run, compilation-mode-line-exit):
4328 New faces.
4329 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
4330
4331 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
4332
4333 * progmodes/which-func.el (which-func-update-ediff-windows):
4334 New function. Use it in ediff-select-hook (Bug#11478).
4335
4336 2012-06-03 Chong Yidong <cyd@gnu.org>
4337
4338 * bindings.el: Remove explicit help text from format-mode-line.
4339 It is now supplied by mode-line-default-help-echo.
4340 (mode-line-front-space, mode-line-end-spaces)
4341 (mode-line-misc-info): New variables.
4342 (mode-line-modes, mode-line-position): Move the default value to
4343 the variable definition.
4344 (mode-line-default-help-echo): New defcustom.
4345 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
4346 (mode-line-modified-help-echo): New functions.
4347 (mode-line-mule-info, mode-line-modified): Use them.
4348 (mode-line-eol-desc, propertized-buffer-identification):
4349 Consistency fixes for help text.
4350 (mode-line-coding-system-map): Allow using mouse-3 to invoke
4351 set-buffer-file-coding-system (Bug#289).
4352 (mode-line-mule-info-help-echo): Update help text.
4353
4354 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
4355
4356 * simple.el (execute-extended-command): Set real-this-command
4357 (bug#11506).
4358
4359 2012-06-02 Chong Yidong <cyd@gnu.org>
4360
4361 Remove incorrect uses of "modeline" in comments, docstrings, and
4362 function/variable names (Bug#10329).
4363
4364 * cus-edit.el (mode-line):
4365 * dframe.el (dframe-mouse-hscroll):
4366 * emacs-lisp/re-builder.el:
4367 * emacs-lisp/easy-mmode.el (define-minor-mode):
4368 * frame.el (set-frame-name):
4369 * help.el (lookup-minor-mode-from-indicator):
4370 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
4371 * progmodes/cc-cmds.el (c-toggle-auto-newline)
4372 (c-toggle-hungry-state):
4373 * progmodes/antlr-mode.el (antlr-language-alist):
4374 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
4375 * progmodes/vhdl-mode.el (vhdl-mode):
4376 * progmodes/which-func.el (which-func, which-func-cleanup-function):
4377 * term/ns-win.el (ns-face-at-pos):
4378 * term/sup-mouse.el (sup-mouse-report):
4379 * textmodes/flyspell.el (flyspell-mode-line-string):
4380 * textmodes/ispell.el (ispell-highlight-face):
4381 * textmodes/reftex-global.el:
4382 * vc/vc-arch.el (vc-arch-mode-line-string):
4383 * vc/vc-cvs.el (vc-cvs-mode-line-string):
4384 * vc/vc-git.el (vc-git-mode-line-string):
4385 * vc/vc-hooks.el (vc-display-status)
4386 (vc-default-mode-line-string):
4387 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
4388
4389 * ansi-color.el (ansi-color-faces-vector): Change default faces.
4390
4391 * dired.el (dired-sort-set-mode-line): Rename from
4392 dired-sort-set-modeline. All callers changed.
4393
4394 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
4395 eshell-status-in-modeline.
4396
4397 * foldout.el (foldout-mode-line-string): Rename from
4398 foldout-modeline-string. All callers changed.
4399 (foldout-update-mode-line): Rename from foldout-update-modeline.
4400
4401 * subr.el (redraw-modeline): Make into obsolete alias.
4402
4403 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
4404 timeclock-modeline-display. Make old name an alias.
4405 (timeclock-update-mode-line): Likewise. All callers changed.
4406 (timeclock-mode-line-display): No need to check before using
4407 add-hook.
4408 (timeclock-relative, timeclock-day-over-hook)
4409 (timeclock-use-elapsed, timeclock-mode-string)
4410 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
4411
4412 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
4413 crisp-mode-modeline-string.
4414
4415 * play/solitaire.el (solitaire-build-mode-line): Rename from
4416 solitaire-build-modeline. All callers changed.
4417
4418 * play/zone.el (zone-hiding-mode-line): Rename from
4419 zone-hiding-modeline. All callers changed.
4420 (zone): Remove unusued `modeline-hidden-level' property.
4421
4422 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
4423 xscheme-modeline-initialize. All callers changed.
4424
4425 * strokes.el (strokes-lighter): Rename from
4426 strokes-modeline-string.
4427
4428 * textmodes/sgml-mode.el (html-face-tag-alist)
4429 (html-tag-face-alist): Use mode-line face instead of obsolete
4430 alias modeline.
4431
4432 2012-06-02 Stefan Merten <smerten@oekonux.de>
4433
4434 * textmodes/rst.el: Always require `cl'.
4435 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
4436
4437 2012-06-02 Chong Yidong <cyd@gnu.org>
4438
4439 * image.el (imagemagick-enabled-types): Rename from
4440 imagemagick-types-enable. Add many more types.
4441 (imagemagick-types-inhibit): Change default to nil.
4442 (imagemagick-filter-types): Caller changed.
4443
4444 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * emacs-lisp/cl-macs.el: Use backquotes.
4447 (cl-transform-function-property): Use eval-and-compile rather than
4448 abusing `require'.
4449 (defstruct): Use declare-function instead of with-no-warnings.
4450
4451 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
4452 (byte-compile-output-docform): Re-add the print-circle bindings.
4453 (byte-compile-fix-header): Use #$ just because it's shorter.
4454 (byte-compile-output-file-form): Remove defun/defmacro.
4455
4456 2012-06-01 Martin Rudalics <rudalics@gmx.at>
4457
4458 * simple.el (choose-completion): Remove now obsolete binding for
4459 owindow.
4460
4461 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
4462
4463 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4464 in order to avoid "Stack overflow in regexp matcher".
4465
4466 2012-05-31 Glenn Morris <rgm@gnu.org>
4467
4468 * image.el: For clarity, call imagemagick-register-types at
4469 top-level, rather than relying on a custom :initialize.
4470 (imagemagick-types-enable): New option. (Bug#11557)
4471 (imagemagick-filter-types): New function. (Bug#7406)
4472 (imagemagick-register-types): Use imagemagick-filter-types.
4473 If disabling support, remove elements altogether rather
4474 than using an impossible regexp.
4475 (imagemagick-types-inhibit): Give it the default init function.
4476
4477 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4478
4479 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4480 Handle arbitrary file name lengths (Bug#11585).
4481
4482 2012-05-31 Martin Rudalics <rudalics@gmx.at>
4483
4484 * desktop.el (desktop-read): Clear previous and next buffers for
4485 all windows and bury *Messages* buffer (bug#11556).
4486
4487 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 Add `declare' for `defun'. Align `defmacro's with it.
4490 * emacs-lisp/easy-mmode.el (define-minor-mode)
4491 (define-globalized-minor-mode): Don't autoload the var definitions.
4492 * emacs-lisp/byte-run.el: Use lexical-binding.
4493 (defun-declarations-alist, macro-declarations-alist): New vars.
4494 (defmacro, defun): Use them.
4495 (make-obsolete, define-obsolete-function-alias)
4496 (make-obsolete-variable, define-obsolete-variable-alias):
4497 Use `declare'.
4498 (macro-declaration-function): Mark obsolete.
4499 * emacs-lisp/autoload.el: Use lexical-binding.
4500 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
4501
4502 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4503
4504 * textmodes/ispell.el (ispell-with-no-warnings):
4505 Define as a macro.
4506 (ispell-kill-ispell, ispell-change-dictionary):
4507 Use `called-interactively-p' for Emacs instead of obsolete
4508 `interactive-p'.
4509
4510 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
4511
4512 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4513 (macro-declaration-function): Move var from C code.
4514 (macro-declaration-function): Define function with defalias.
4515 * emacs-lisp/macroexp.el (macroexpand-all-1):
4516 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4517 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4518 defun/defmacro any more.
4519 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4520 Provide fallback for unknown arglist.
4521 (byte-compile-arglist-warn): Change calling convention.
4522 (byte-compile-output-file-form): Move print-vars binding.
4523 (byte-compile-output-docform): Simplify accordingly.
4524 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4525 (byte-compile-defmacro-declaration): Remove.
4526 (byte-compile-file-form-defmumble): Generalize to defalias.
4527 (byte-compile-output-as-comment): Return byte-positions.
4528 Simplify callers accordingly.
4529 (byte-compile-lambda): Use `assert'.
4530 (byte-compile-defun, byte-compile-defmacro): Remove.
4531 (byte-compile-file-form-defalias):
4532 Use byte-compile-file-form-defmumble.
4533 (byte-compile-defalias-warn): Remove.
4534
4535 2012-05-29 Stefan Merten <smerten@oekonux.de>
4536
4537 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4538 possible. Fix authors. Improve comments. Improve loading of `cl'.
4539
4540 (rst-mode-abbrev-table): Merge definition.
4541 (rst-mode): Make sure `font-lock-defaults' is buffer local.
4542 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4543
4544 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
4545
4546 * calendar/icalendar.el
4547 (icalendar-export-region): Export UID properly.
4548
4549 2012-05-29 Leo Liu <sdl.web@gmail.com>
4550 * calendar/icalendar.el (icalendar-import-format):
4551 Add `icalendar-import-format-uid' (Bug#11525).
4552 (icalendar-import-format-uid): New.
4553 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4554 Export UID.
4555
4556 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
4557
4558 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4559 different alternative patterns.
4560 (pcase-codegen): Be more careful to preserve identity.
4561 (pcase--u1): Don't forget to mark vars as used.
4562
4563 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4564 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4565 (byte-compile-from-buffer): ...rather than here.
4566
4567 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4568 functions from byte-compile-function-environment.
4569
4570 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
4571
4572 * window.el (window-deletable-p): Avoid deleting the root window
4573 of a frame with an active minibuffer.
4574
4575 2012-05-29 Martin Rudalics <rudalics@gmx.at>
4576
4577 * simple.el (choose-completion): Use quit-window (Bug#11567).
4578
4579 2012-05-29 Chong Yidong <cyd@gnu.org>
4580
4581 * whitespace.el (whitespace-cleanup): Fix usage of
4582 whitespace-empty-at-bob-regexp (Bug#11492).
4583
4584 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4585
4586 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4587 revert (Bug#11488).
4588
4589 2012-05-29 Juri Linkov <juri@jurta.org>
4590
4591 * isearch.el (isearch-mode-map): Bind `M-s _' to
4592 `isearch-toggle-symbol'. Bind `M-s c' to
4593 `isearch-toggle-case-fold'.
4594 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4595 (isearch-forward): Add `M-s _' to the docstring.
4596 (isearch-forward-symbol, isearch-toggle-case-fold)
4597 (isearch-symbol-regexp): New functions. (Bug#11381)
4598
4599 2012-05-29 Juri Linkov <juri@jurta.org>
4600
4601 * isearch.el (isearch-word): Add docstring. (Bug#11381)
4602 (isearch-occur, isearch-search-and-update): If `isearch-word' is
4603 a function, call it to get the regexp.
4604 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4605 property `isearch-message-prefix' instead of the string "word ".
4606 (isearch-search-fun-default): For the case of `isearch-word',
4607 return a lambda that calls re-search-forward/re-search-backward
4608 with a regexp returned by `word-search-regexp' or by the function
4609 in `isearch-word'.
4610
4611 2012-05-29 Juri Linkov <juri@jurta.org>
4612
4613 * isearch.el (isearch-search-fun-default): New function.
4614 (isearch-search-fun): Move default part to the new function
4615 `isearch-search-fun-default'.
4616 (isearch-search-fun-function): Set the default value to
4617 `isearch-search-fun-default'. (Bug#11381)
4618
4619 * comint.el (comint-history-isearch-end):
4620 Use `isearch-search-fun-default'.
4621 (comint-history-isearch-search): Use `isearch-search-fun-default'
4622 and remove spacial case for `isearch-word'.
4623 (comint-history-isearch-wrap): Remove spacial case for
4624 `isearch-word'.
4625
4626 * hexl.el (hexl-isearch-search-function):
4627 Use `isearch-search-fun-default'.
4628
4629 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4630 Use `word-search-regexp' for `isearch-word'.
4631
4632 * misearch.el (multi-isearch-search-fun):
4633 Use `isearch-search-fun-default'.
4634
4635 * simple.el (minibuffer-history-isearch-search):
4636 Use `isearch-search-fun-default' and remove spacial case for
4637 `isearch-word'.
4638 (minibuffer-history-isearch-wrap): Remove spacial case for
4639 `isearch-word'.
4640
4641 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4642 Remove spacial case for `isearch-word'.
4643 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4644
4645 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4646
4647 Decrease XEmacs incompatibilities.
4648 * textmodes/flyspell.el (flyspell-check-pre-word-p):
4649 Use `string-match'.
4650 (flyspell-delete-region-overlays): Use alternative definition for
4651 XEmacs.
4652 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4653 (flyspell-word): Use `process-kill-without-query' if XEmacs.
4654 (flyspell-mode-on): Use `interactive-p' if XEmacs.
4655 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4656 `define-obsolete-face-alias' under XEmacs, but old method.
4657
4658 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4659 `with-no-warnings' definition or Emacs alias.
4660 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4661 (ispell-word): Do not use `region-p' if XEmacs.
4662
4663 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4664
4665 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4666 Check for `ispell-dictionary-base-alist' instead of full
4667 `ispell-dictionary-alist'.
4668 (ispell-init-process): Show spellchecker when starting new Ispell
4669 process.
4670
4671 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4674 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4675
4676 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
4677
4678 * version.el (motif-version-string, gtk-version-string)
4679 (ns-version-string): Declare.
4680
4681 2012-05-27 Juri Linkov <juri@jurta.org>
4682
4683 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4684 after the `eval-defun-1' specialcaseing
4685 like in `edebug-eval-defun' (bug#10181).
4686
4687 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4688 like in `eval-defun-1'.
4689
4690 2012-05-27 Eli Zaretskii <eliz@gnu.org>
4691
4692 * mail/sendmail.el (mail-yank-region):
4693 Recognize rmail-yank-current-message in addition to insert-buffer.
4694 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4695 a *mail* buffer created through rmail-start-mail with sendmail as
4696 mail-user-agent.
4697
4698 2012-05-27 Chong Yidong <cyd@gnu.org>
4699
4700 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4701 Default to 256 (Bug#11267).
4702
4703 * help.el (describe-mode): Doc fix.
4704
4705 2012-05-26 Glenn Morris <rgm@gnu.org>
4706
4707 * w32-fns.el (w32-init-info): Remove.
4708 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4709
4710 * info.el (info-initialize): For self-contained NS builds, put the
4711 included info/ directory at the front. (Bug#2791)
4712
4713 * paths.el (Info-default-directory-list): Make it a defcustom,
4714 mainly so that we can use custom-initialize-delay.
4715
4716 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
4717
4718 * subr.el (buffer-has-markers-at): Mark obsolete.
4719
4720 * subr.el (lambda): Use declare.
4721
4722 * emacs-lisp/lisp-mode.el (lambda):
4723 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4724
4725 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4726
4727 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
4728
4729 2012-05-26 Glenn Morris <rgm@gnu.org>
4730
4731 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4732
4733 2012-05-25 Glenn Morris <rgm@gnu.org>
4734
4735 * paths.el: Remove no-byte-compile.
4736 * loadup.el: No need to load paths.el uncompiled.
4737
4738 * image.el (imagemagick-types-inhibit): Doc fix.
4739
4740 * version.el: Remove no-byte-compile and associated formatting.
4741 * loadup.el: No need to load version.el uncompiled. AFAICS, this
4742 is ancient code from when there was an "inc-vers.el".
4743
4744 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * progmodes/gdb-mi.el: Minor style changes.
4747 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4748 Turn into minor modes.
4749 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4750 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4751 (gdb-shell): Remove unneeded let-binding.
4752 (gdb-get-many-fields): Eliminate O(n²) behavior.
4753
4754 2012-05-25 Eli Zaretskii <eliz@gnu.org>
4755
4756 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4757 platforms that don't link in fontset.c.
4758
4759 2012-05-25 Juri Linkov <juri@jurta.org>
4760
4761 Use the same diff color scheme as in modern VCSes (bug#10181).
4762
4763 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4764 to avoid confusion with `diff-added' that now uses green colors.
4765 (diff-removed): Use shades of red.
4766 (diff-added): Use shades of green.
4767 (diff-changed): Leave just the yellow color.
4768 (diff-use-changed-face): New variable.
4769 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4770 how to highlight context diff changes.
4771 (diff-refine-change): Use shades of yellow.
4772 (diff-refine-removed): New face that uses shades of red.
4773 (diff-refine-added): New face that uses shades of green.
4774 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4775 `diff-refine-removed' in the call to `smerge-refine-subst'
4776 depending on the value of `diff-use-changed-face'.
4777
4778 * vc/smerge-mode.el (smerge-mine): Use shades of red.
4779 (smerge-other): Use shades of green.
4780 (smerge-base): Use shades of yellow.
4781 (smerge-refined-change): Empty face.
4782 (smerge-refined-removed): New face that uses shades of red.
4783 (smerge-refined-added): New face that uses shades of green.
4784 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
4785 args `props-r' and `props-a', and use them. Doc fix.
4786 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4787 on its value use different faces `smerge-refined-change',
4788 `smerge-refined-removed', `smerge-refined-added' in the call to
4789 `smerge-refine-subst'.
4790
4791 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4792 Add face condition `min-colors 88' with shades of red.
4793 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4794 `min-colors 88' with shades of green.
4795 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4796 `min-colors 88' with shades of yellow.
4797
4798 2012-05-24 Glenn Morris <rgm@gnu.org>
4799
4800 * paths.el (prune-directory-list, remote-shell-program): Move to...
4801 * files.el (prune-directory-list, remote-shell-program): ...here.
4802 For the latter, delay initialization, prefer ssh, just search PATH.
4803
4804 * paths.el (term-file-prefix): Move to faces.el (the only user).
4805 * faces.el (term-file-prefix): Move here, make it a defcustom.
4806
4807 * paths.el (news-directory, news-path, news-inews-program):
4808 Move to gnus/nnspool.el.
4809
4810 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4811
4812 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4813 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4814 Make the latter a defcustom, with a delayed initialization.
4815
4816 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4817 These were deleted from Gnus itself late 2010.
4818
4819 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
4820
4821 * progmodes/which-func.el (which-func-ff-hook):
4822 Check against user-error, not error.
4823
4824 * emacs-lisp/edebug.el (top): Do not load or set up loading of
4825 cl-specs.el, which no longer exists.
4826
4827 2012-05-22 Glenn Morris <rgm@gnu.org>
4828
4829 * info.el (info-emacs-bug): New command.
4830 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4831 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4832
4833 2012-05-21 Glenn Morris <rgm@gnu.org>
4834
4835 * makefile.w32-in (update-subdirs-SH):
4836 * Makefile.in (update-subdirs): Update for moved update-subdirs.
4837
4838 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
4839
4840 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4841
4842 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4843 Simplify Maven regexp, and make sure the file can't start with a space
4844 (bug#11517).
4845
4846 2012-05-21 Glenn Morris <rgm@gnu.org>
4847
4848 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4849 Scrap superfluous subshells.
4850
4851 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
4852
4853 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4854 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4855
4856 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
4857
4858 * calc/calc.el (calc-ensure-consistent-units): New variable.
4859
4860 * calc/calc-units.el (math-consistent-units-p)
4861 (math-check-unit-consistency): New functions.
4862 (calc-quick-units, calc-convert-units):
4863 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4864 is non-nil.
4865 (calc-extract-units): Fix typo.
4866
4867 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4868
4869 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4870
4871 * textmodes/flyspell.el: Commenting style, plus code simplifications.
4872 (flyspell-default-deplacement-commands): Don't spell check after
4873 repeated window/frame switches (e.g. triggered by mouse-movement).
4874 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4875 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4876 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4877 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4878 Remove unused vars.
4879 (flyspell-get-casechars, flyspell-get-not-casechars):
4880 Simplify; Don't bother removing a ] just to add it back.
4881 * textmodes/ispell.el (ispell-program-name): Use executable-find.
4882
4883 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4884
4885 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4886 New functions.
4887 (math-function-table): Add support for more C functions.
4888
4889 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4890
4891 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4892 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4893 Protect delay handling for otherchars against empty otherchars.
4894
4895 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
4896
4897 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4898 their respective macro declarations.
4899 * skeleton.el (define-skeleton):
4900 * progmodes/compile.el (define-compilation-mode):
4901 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4902 (define-ibuffer-filter):
4903 * emacs-lisp/generic.el (define-generic-mode):
4904 * emacs-lisp/easy-mmode.el (define-minor-mode)
4905 (define-globalized-minor-mode):
4906 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4907 * emacs-lisp/byte-run.el (defsubst):
4908 * custom.el (deftheme): Add doc-string metadata.
4909
4910 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4913
4914 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4915
4916 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4917
4918 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4919 * emacs-lisp/cl-macs.el: Idem.
4920 * emacs-lisp/cl-specs.el: Remove.
4921
4922 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 Minor renaming of internal CL functions and variables.
4925 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4926 (cl--position): Rename from cl-position.
4927 (cl--delete-duplicates): Rename from cl-delete-duplicates.
4928 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4929 (cl--random-state): Rename from *random-state*.
4930
4931 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
4932
4933 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4934 parens around the arg list (bug#11499).
4935
4936 2012-05-17 Juri Linkov <juri@jurta.org>
4937
4938 * isearch.el (word-search-regexp, word-search-backward)
4939 (word-search-forward, word-search-backward-lax)
4940 (word-search-forward-lax): Move functions from search.c
4941 (bug#10145, bug#11381).
4942
4943 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4944
4945 * textmodes/flyspell.el (flyspell-check-pre-word-p)
4946 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4947 Delay for otherchars as for normal word components.
4948
4949 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * minibuffer.el (completion--sifn-requote): Fix last change.
4952 (minibuffer-local-must-match-filename-map):
4953 Move define-obsolete-variable-alias before its var.
4954
4955 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4958
4959 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4960 behavior.
4961 (completion--string-equal-p): New function.
4962 (completion--twq-all): Use it to get better assertion failure data.
4963
4964 Only handle ".." and '..' quoting in shell-mode (bug#11466).
4965 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4966 (shell--requote-argument): New functions.
4967 (shell-completion-vars): Use them.
4968 (shell--parse-pcomplete-arguments): Rename from
4969 shell-parse-pcomplete-arguments.
4970 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
4971 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4972 Obey comint-file-name-quote-list.
4973
4974 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4975 (smie-indent-keyword): Use it.
4976
4977 2012-05-14 Stefan Merten <smerten@oekonux.de>
4978
4979 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4980
4981 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4982
4983 * net/rlogin.el (rlogin-mode-map): Fix last change.
4984
4985 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
4986
4987 * mail/smtpmail.el (smtpmail-send-command): Send the command and
4988 the following \r\n using a single `process-send-string', since the
4989 Lotus SMTP server refuses to accept any commands if they are sent
4990 with two `process-send-string's (Bug#11444).
4991
4992 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * shell.el (shell-parse-pcomplete-arguments):
4995 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4996
4997 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
4998
4999 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
5000 (image-transform-scale, image-transform-right-angle-fudge): New vars.
5001 (image-transform-width, image-transform-fit-width): New functions.
5002 (image-transform-properties): Use them.
5003 (image-transform-check-size): New function.
5004 (image-toggle-display-image): Use it (for testing).
5005 (image-transform-set-rotation): Reduce angle mod 360.
5006 Delete obsolete comment.
5007
5008 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
5009
5010 * image-mode.el: Fix scaling (bug#11399).
5011 (image-transform-resize): Doc fix.
5012 (image-transform-properties): Default scale is 1 and height should
5013 be an integer.
5014
5015 2012-05-13 Johan Bockgård <bojohan@gnu.org>
5016
5017 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
5018 than hard-coding `car', to fix misbehavior when moving forward.
5019
5020 2012-05-13 Chong Yidong <cyd@gnu.org>
5021
5022 * emacs-lisp/tabulated-list.el (tabulated-list-format)
5023 (tabulated-list-entries, tabulated-list-padding)
5024 (tabulated-list-sort-key): Make permanent-local.
5025
5026 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
5027 (electric-buffer-list): Put electric buffer menu
5028 command descriptions in this docstring, instead of the docstring
5029 of electric-buffer-menu-mode. Code cleanups.
5030 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
5031 Electric-buffer-menu-mode.
5032 (electric-buffer-update-highlight): Minor code cleanup.
5033
5034 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
5035
5036 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
5037 (Bug#11447)
5038
5039 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
5040
5041 Move define-obsolete-variable-alias before the var's definition.
5042 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
5043 * tooltip.el (tooltip-hook):
5044 * textmodes/reftex-toc.el (reftex-toc-map):
5045 * textmodes/reftex-sel.el (reftex-select-label-map)
5046 (reftex-select-bib-map):
5047 * textmodes/reftex-index.el (reftex-index-map)
5048 (reftex-index-phrases-map):
5049 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
5050 * progmodes/meta-mode.el (meta-mode-map):
5051 * novice.el (disabled-command-hook):
5052 * loadhist.el (unload-hook-features-list):
5053 * frame.el (blink-cursor):
5054 * files.el (find-file-not-found-hooks, write-file-hooks)
5055 (write-contents-hooks):
5056 * emulation/tpu-edt.el (GOLD-map):
5057 * emacs-lock.el (emacs-lock-from-exiting):
5058 * emacs-lisp/generic.el (generic-font-lock-defaults):
5059 * emacs-lisp/chart.el (chart-map):
5060 * dos-fns.el (register-name-alist):
5061 * dired-x.el (dired-omit-files-p):
5062 * desktop.el (desktop-enable):
5063 * cus-edit.el (custom-mode-hook):
5064 * buff-menu.el (buffer-menu-mode-hook):
5065 * bookmark.el (bookmark-read-annotation-text-func)
5066 (bookmark-exit-hooks):
5067 * allout.el (allout-mode-deactivate-hook)
5068 (allout-exposure-change-hook, allout-structure-added-hook)
5069 (allout-structure-deleted-hook, allout-structure-shifted-hook):
5070 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
5071 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
5072 comes before the corresponding variable's definition.
5073
5074 2012-05-12 Chong Yidong <cyd@gnu.org>
5075
5076 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
5077 (Buffer-menu-mouse-select): Restore function (Bug#11459).
5078 (Buffer-menu-mode-map): Bind it.
5079 (Buffer-menu--pretty-name): Add a mouse-face property.
5080
5081 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
5082
5083 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
5084 (prolog-upper-case-string, prolog-lower-case-string)
5085 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
5086 (prolog-use-smie, prolog-smie-grammar): New vars.
5087 (prolog-smie-forward-token, prolog-smie-backward-token)
5088 (prolog-smie-rules): New funs.
5089 (prolog-comment-indent): Remove.
5090 (prolog-mode-variables): Use default comment indentation instead.
5091 Setup SMIE.
5092 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
5093 (prolog-mode): Don't call them any more.
5094 (prolog-electric-colon, prolog-electric-dash)
5095 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
5096
5097 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
5098
5099 * minibuffer.el (completion--twq-all): Again, allow case differences.
5100
5101 * term.el: Move keymap initialization code to be more idiomatic.
5102 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
5103 (term-terminal-menu): Move initialization into declaration.
5104 (term-escape-char): Let the user set it in her .emacs.
5105
5106 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
5107 Provide SMIE-based indentation (not enabled by default yet).
5108 (sh-mode-map): Don't bind electric keys.
5109 Use electric-pair-mode instead of skeleton-pair.
5110 (sh-assignment-regexp): Fit within 80 columns.
5111 (sh-indent-supported): Specify actual shell name instead of boolean.
5112 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
5113 (sh-maybe-here-document): Use it. Make obsolete.
5114 (sh-electric-here-document-mode) New minor mode.
5115 (sh-mode): Use it. Don't set sh-indent-supported-here here.
5116 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
5117 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
5118 (sh-smie-rc-grammar, sh-use-smie): New vars.
5119 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
5120 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
5121 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
5122 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
5123 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
5124 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
5125 (sh-set-shell): Use smie-setup if requested.
5126
5127 * term.el (term-set-escape-char): Properly set term-escape-char.
5128 See http://stackoverflow.com/questions/10524656.
5129
5130 2012-05-10 Chong Yidong <cyd@gnu.org>
5131
5132 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
5133 Use url-generic-parse-url, and handle host names and Windows
5134 filenames properly.
5135 (ffap-url-unwrap-remote): Use url-generic-parse-url.
5136 (ffap-url-unwrap-remote): Accept list values, specifying a list of
5137 URL schemes to work on.
5138 (ffap--toggle-read-only): New function.
5139 (ffap-read-only, ffap-read-only-other-window)
5140 (ffap-read-only-other-frame): Use it.
5141 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
5142 necessary for ffap-url-unwrap-remote.
5143
5144 2012-05-10 Dave Abrahams <dave@boostpro.com>
5145
5146 * cus-start.el (create-lockfiles): Add it.
5147
5148 2012-05-09 Chong Yidong <cyd@gnu.org>
5149
5150 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
5151 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
5152
5153 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5154
5155 * shell.el (shell-completion-vars): Fix last change (bug#11348).
5156
5157 2012-05-09 Chong Yidong <cyd@gnu.org>
5158
5159 * ansi-color.el (ansi-color-process-output): Check for validity of
5160 comint-last-output-start before using it. This avoids a bad
5161 interaction with gdb-mi's input/output buffer.
5162
5163 2012-05-09 Glenn Morris <rgm@gnu.org>
5164
5165 * files.el (dir-locals-read-from-file):
5166 Mention dir-locals in any error message.
5167
5168 2012-05-09 Chong Yidong <cyd@gnu.org>
5169
5170 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
5171 package (Bug#11410).
5172
5173 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
5174 variables into description.
5175
5176 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
5177
5178 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
5179 shell-delimiter-argument-list (bug#11348).
5180 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
5181
5182 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
5183
5184 * textmodes/rst.el: Silence byte-compiler warnings.
5185 (rst-re-alist, rst-reset-section-caches): Move around.
5186 (rst-re): Use `characterp', not `char-valid-p'.
5187 (font-lock-beg, font-lock-end): Declare.
5188
5189 * progmodes/idlw-shell.el (specs): Remove reference to deleted
5190 variable `idlwave-shell-activate-alt-keybindings' and simplify.
5191
5192 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
5193
5194 2012-05-08 Glenn Morris <rgm@gnu.org>
5195
5196 * files.el (auto-mode-alist): Treat ".make" like ".mk".
5197
5198 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * vc/log-edit.el: Add GNU coding standards highlighting.
5201 (log-edit-font-lock-gnu-style)
5202 (log-edit-font-lock-gnu-keywords): New vars.
5203 (log-edit-font-lock-keywords): New fun.
5204 (log-edit-mode): Don't fold case in font-lock.
5205 (log-edit-font-lock-keywords): Do not assume case-folding.
5206
5207 * imenu.el: Misc cleanup. Make docstrings out of comments.
5208 Use lexical-binding.
5209 (imenu--index-alist, imenu--last-menubar-index-alist)
5210 (imenu-menubar-modified-tick): Use defvar-local.
5211 (imenu--split-menu): Remove unused var.
5212 (imenu--cleanup-seen): Declare as global.
5213 (imenu--cleanup): Use dolist.
5214
5215 * subr.el (defvar-local): Add debug spec and doc-string position.
5216
5217 2012-05-08 Glenn Morris <rgm@gnu.org>
5218
5219 * language/burmese.el, language/cham.el, language/czech.el:
5220 * language/english.el, language/georgian.el, language/greek.el:
5221 * language/japanese.el, language/khmer.el, language/korean.el:
5222 * language/lao.el, language/misc-lang.el, language/romanian.el:
5223 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
5224 * language/thai.el, language/utf-8-lang.el:
5225 Remove no-byte-compile setting.
5226
5227 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
5228
5229 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5230
5231 * progmodes/make-mode.el (makefile-browse):
5232 Remove unnecessary interactive. (Bug#11324)
5233
5234 2012-05-07 Glenn Morris <rgm@gnu.org>
5235
5236 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
5237
5238 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
5239
5240 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * loadup.el: Preload newcomment.el.
5243 * newcomment.el: Move autoload-only code to toplevel.
5244
5245 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
5246 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5247 Handle new :right-align column property.
5248 (tabulated-list-print-col): Idem, plus use `display' text-property to
5249 try and preserve alignment for variable pitch fonts.
5250
5251 2012-05-07 Chong Yidong <cyd@gnu.org>
5252
5253 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
5254 (tabulated-list-use-header-line): New var.
5255 (tabulated-list-init-header): Use it.
5256 (tabulated-list-print-fake-header): New function.
5257 (tabulated-list-print): Use it.
5258 (tabulated-list-sort-button-map): Add non-header-line commands.
5259 (tabulated-list-init-header): Add column name property to basic
5260 labels as well.
5261 (tabulated-list-col-sort): Handle non-header-line button case.
5262 (tabulated-list--sort-by-column-name): Fix a corner case.
5263
5264 * buff-menu.el (list-buffers--refresh):
5265 Handle Buffer-menu-use-header-line.
5266
5267 2012-05-06 Chong Yidong <cyd@gnu.org>
5268
5269 * buff-menu.el: Convert to Tabulated List mode.
5270 (Buffer-menu-buffer+size-width): Make obsolete.
5271 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
5272 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
5273 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
5274 documentation into docstring of buffer-menu.
5275 (Buffer-menu-toggle-files-only): Add an informative message.
5276 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
5277 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
5278 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
5279 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
5280 (Buffer-menu-execute, Buffer-menu-select)
5281 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
5282 (Buffer-menu-bury): Use Tabulated List machinery.
5283 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
5284 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
5285 Delete.
5286 (list-buffers--refresh): New function.
5287 (list-buffers-noselect): Use it.
5288 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
5289 (Buffer-menu--pretty-file-name): New helper functions.
5290
5291 * loadup.el: Preload tabulated-list.
5292
5293 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
5294 tabulated-list-sort-column.
5295 (tabulated-list-init-header): Add the initial aligning space even
5296 if tabulated-list-padding is zero.
5297
5298 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
5299
5300 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
5301 whose cdr is not a cons cell correctly (bug#11038).
5302
5303 2012-05-06 Chong Yidong <cyd@gnu.org>
5304
5305 * emacs-lisp/tabulated-list.el (tabulated-list-format):
5306 Accept additional plist in column descriptors.
5307 (tabulated-list-init-header): Obey it.
5308 (tabulated-list-get-entry): New function.
5309 (tabulated-list-put-tag): Use it. Use string-width instead of
5310 length.
5311 (tabulated-list--column-number): New function.
5312 (tabulated-list-print): Use it.
5313 (tabulated-list-print-col): New function.
5314 Set `tabulated-list-column-name' property on each column's text.
5315 (tabulated-list-print-entry): Use it.
5316 (tabulated-list-delete-entry, tabulated-list-set-col):
5317 New functions.
5318 (tabulated-list-sort-column): New command (Bug#11337).
5319
5320 * buff-menu.el (list-buffers): Move C-x C-b binding from
5321 buff-menu.el to bindings.el.
5322
5323 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
5324 :advertised-binding feature.
5325
5326 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
5327
5328 * progmodes/compile.el (compilation-internal-error-properties):
5329 Calculate start position correctly when end-col is set but
5330 end-line is not (Bug#11382).
5331
5332 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
5333
5334 * man.el (Man-unindent): Use text-property-default-nonsticky to
5335 prevent untabify from inheriting face properties (Bug#11408).
5336
5337 2012-05-05 Stefan Merten <smerten@oekonux.de>
5338
5339 * textmodes/rst.el: Major merge with upstream development up to
5340 Docutils SVN r7399 / rst.el V1.2.1.
5341
5342 Clarify maintainership and authors.
5343
5344 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
5345 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
5346 (rst-official-version, rst-official-cvs-rev, rst-version)
5347 (rst-package-emacs-version-alist): New functions and variables
5348 for version information.
5349
5350 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
5351 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
5352 (rst-mode-syntax-table, rst-mode): New and corrected functions
5353 and variables representing reStructuredText features.
5354
5355 (rst-re): New function for reStructuredText regexes. Use in
5356 many places.
5357
5358 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
5359 (rst-mode-map): Rebind keys.
5360
5361 (rst-mode-lazy, rst-font-lock-keywords)
5362 (rst-font-lock-extend-region)
5363 (rst-font-lock-extend-region-internal)
5364 (rst-font-lock-extend-region-extend)
5365 (rst-font-lock-find-unindented-line-limit)
5366 (rst-font-lock-find-unindented-line-match)
5367 (rst-adornment-level, rst-font-lock-adornment-level)
5368 (rst-font-lock-adornment-match)
5369 (rst-font-lock-handle-adornment-pre-match-form)
5370 (rst-font-lock-handle-adornment-matcher): Major revision of
5371 font-locking. Integrate with other code. Use `jit-lock-mode'.
5372
5373 (rst-preferred-adornments, rst-adjust-hook)
5374 (rst-new-adornment-down, rst-preferred-bullets)
5375 (rst-preferred-bullets, rst-indent, rst-indent-width)
5376 (rst-indent-field, rst-indent-literal-normal)
5377 (rst-indent-literal-minimized, rst-indent-comment): Change,
5378 extend and improve customization.
5379
5380 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
5381 (rst-normalize-cursor-position, rst-get-decoration)
5382 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
5383 (rst-rstrip, rst-toc-insert-find-delete-contents)
5384 (rst-shift-fill-region, rst-compute-bullet-tabs)
5385 (rst-debug-print-tabs, rst-debug-mark-found)
5386 (rst-shift-region-guts, rst-shift-region-right)
5387 (rst-shift-region-left, rst-use-char-classes)
5388 (rst-font-lock-keywords-function)
5389 (rst-font-lock-indentation-point)
5390 (rst-font-lock-find-unindented-line-begin)
5391 (rst-font-lock-find-unindented-line-end)
5392 (rst-font-lock-find-unindented-line)
5393 (rst-font-lock-adornment-point, rst-font-lock-level)
5394 (rst-adornment-level-alist): Remove functions and variables.
5395
5396 (rst-compare-adornments, rst-get-adornment-match)
5397 (rst-suggest-new-adornment, rst-get-adornments-around)
5398 (rst-adornment-complete-p, rst-get-next-adornment)
5399 (rst-adjust-adornment, rst-display-adornments-hierarchy)
5400 (rst-straighten-adornments): Standardize function names to
5401 use "adornment" instead of "decoration". Correct callers.
5402 Similar standardizing in many places.
5403
5404 (rst-update-section, rst-adjust, rst-promote-region)
5405 (rst-enumerate-region, rst-bullet-list-region)
5406 (rst-repeat-last-character): Correct use of `interactive'.
5407
5408 (rst-classify-adornment, rst-find-all-adornments)
5409 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
5410 (rst-find-leftmost-column, rst-repeat-last-character):
5411 Refactor functions.
5412
5413 (rst-find-title-line, rst-reset-section-caches)
5414 (rst-get-adornments-around, rst-adjust-adornment-work)
5415 (rst-arabic-to-roman, rst-roman-to-arabic)
5416 (rst-insert-list-pos, rst-insert-list-new-item)
5417 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
5418 New functions.
5419
5420 (rst-all-sections, rst-section-hierarchy)
5421 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
5422 New variables.
5423
5424 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
5425 configuration instead of only buffer. Change where necessary.
5426
5427 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
5428 (rst-shift-region, rst-adaptive-fill): New functions for
5429 indentation and filling.
5430
5431 (rst-comment-line-break, rst-comment-indent)
5432 (rst-comment-insert-comment, rst-comment-region)
5433 (rst-uncomment-region): New functions for handling comments.
5434
5435 (rst-compile): Quote shell arguments.
5436
5437 (rst-compile-pdf-preview, rst-compile-slides-preview):
5438 Delete temporary files after use.
5439
5440 2012-05-05 Glenn Morris <rgm@gnu.org>
5441
5442 * calendar/cal-html.el: Optionally include holidays in the output.
5443 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
5444 (cal-html-holidays): New option.
5445 (cal-html-css-default): Add holiday entry.
5446 (holiday-in-range): Autoload it.
5447 (cal-html-htmlify-entry): Add optional class argument.
5448 (cal-html-htmlify-list): Add optional holidays argument.
5449 (cal-html-insert-agenda-days): Include holidays in the output.
5450 (cal-html-one-month): Maybe include holidays.
5451
5452 * calendar/holidays.el (holiday-in-range):
5453 Move here from cal-tex-list-holidays.
5454 * calendar/cal-tex.el (cal-tex-list-holidays):
5455 Make it an obsolete alias for holiday-in-range. Update all callers.
5456
5457 2012-05-05 Chong Yidong <cyd@gnu.org>
5458
5459 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5460 Nextstep.
5461
5462 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
5463
5464 * files.el (file-auto-mode-skip): New var.
5465 (set-auto-mode-1): Use it.
5466
5467 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
5468
5469 * repeat.el: Use lexical-binding.
5470 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5471 (repeat-undo-count): Remove.
5472 (repeat):
5473 * progmodes/octave-mod.el (octave-abbrev-start):
5474 * progmodes/f90.el (f90-abbrev-start):
5475 * face-remap.el (text-scale-adjust):
5476 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5477
5478 * emacs-lisp/pcase.el (pcase--let*): New function.
5479 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5480 a bit more.
5481 (pcase--split-pred): Be more clever about ruling out overlap between
5482 a predicate and some constant pattern.
5483 (pcase--q1): Use `null' instead of (eq foo nil).
5484
5485 * subr.el (setq-local, defvar-local): New macros.
5486 (kbd): Redefine as an alias.
5487 (with-selected-window): Leave unrelated frames alone.
5488 (set-temporary-overlay-map): New function.
5489
5490 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * subr.el (user-error): New function.
5493 * window.el (switch-to-buffer):
5494 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5495 (smerge-match-conflict):
5496 * simple.el (previous-matching-history-element)
5497 (next-matching-history-element, goto-history-element, undo-more)
5498 (undo-start):
5499 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5500 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5501 (next-file, tags-loop-scan, list-tags, complete-tag):
5502 * progmodes/compile.el (compilation-loop):
5503 * mouse.el (mouse-minibuffer-check):
5504 * man.el (Man-bgproc-sentinel, Man-goto-page):
5505 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5506 (Info-history-forward, Info-follow-reference, Info-menu)
5507 (Info-extract-menu-item, Info-extract-menu-counting)
5508 (Info-forward-node, Info-backward-node, Info-next-menu-item)
5509 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5510 (Info-next-reference, Info-prev-reference, Info-index)
5511 (Info-index-next, Info-follow-nearest-node)
5512 (Info-copy-current-node-name):
5513 * imenu.el (imenu--make-index-alist)
5514 (imenu-default-create-index-function, imenu-add-to-menubar):
5515 * files.el (basic-save-buffer, recover-file):
5516 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5517 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5518 (checkdoc-message-text, checkdoc-defun):
5519 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5520 * cus-edit.el (customize-changed-options, customize-rogue)
5521 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5522 (custom-variable-mark-to-reset-standard)
5523 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5524 (custom-file):
5525 * completion.el (check-completion-length):
5526 * comint.el (comint-search-arg)
5527 (comint-previous-matching-input-string-position)
5528 (comint-previous-matching-input)
5529 (comint-replace-by-expanded-history-before-point, comint-send-input)
5530 (comint-copy-old-input, comint-backward-matching-input)
5531 (comint-goto-process-mark, comint-set-process-mark):
5532 * calendar/calendar.el (calendar-cursor-to-date): Use it.
5533 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5534
5535 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * dabbrev.el (dabbrev--ignore-case-p): New function.
5538 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5539 Use it.
5540
5541 * files.el (automount-dir-prefix): Mark as obsolete.
5542
5543 2012-05-04 Glenn Morris <rgm@gnu.org>
5544
5545 * patcomp.el, play/bruce.el: Move to obsolete/.
5546
5547 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
5548
5549 Fix minor Y10k bugs.
5550 * arc-mode.el (archive-unixdate):
5551 * autoinsert.el (auto-insert-alist):
5552 * calc/calc-forms.el (math-this-year):
5553 * emacs-lisp/copyright.el (copyright-current-year)
5554 (copyright-update-year, copyright):
5555 * tar-mode.el (tar-clip-time-string):
5556 * time.el (display-time-update):
5557 Don't assume years have 4 digits.
5558
5559 2012-05-04 Chong Yidong <cyd@gnu.org>
5560
5561 * dos-w32.el (file-name-buffer-file-type-alist)
5562 (direct-print-region-use-command-dot-com):
5563 * ffap.el (ffap-menu-regexp):
5564 * find-file.el (ff-special-constructs):
5565 * follow.el (follow-debug):
5566 * forms.el (forms--debug):
5567 * iswitchb.el (iswitchb-all-frames):
5568 * ido.el (ido-all-frames):
5569 * emacs-lisp/timer.el (timer-max-repeats):
5570 * mail/feedmail.el (feedmail-mail-send-hook)
5571 (feedmail-mail-send-hook-queued):
5572 * mail/footnote.el (footnote-signature-separator):
5573 * mail/mailabbrev.el (mail-alias-separator-string)
5574 (mail-abbrev-mode-regexp):
5575 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5576 * progmodes/idlwave.el (idlwave-libinfo-file)
5577 (idlwave-default-completion-case-is-down)
5578 (idlwave-library-routines): Convert defvars to defcustoms.
5579
5580 * mail/rmail.el (rmail-decode-mime-charset):
5581 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5582 (idlwave-shell-fix-inserted-breaks)
5583 (idlwave-shell-activate-alt-keybindings)
5584 (idlwave-shell-use-breakpoint-glyph):
5585 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5586
5587 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5588
5589 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5590
5591 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
5592
5593 * progmodes/verilog-mode.el (font-lock-keywords):
5594 Fix mis-highligting auto. Reported by Craig Barner.
5595 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5596 defines from global name space. Reported by Dan Dever.
5597 (verilog-auto-reset, verilog-auto-reset-widths)
5598 (verilog-auto-tieoff): Support using unbased numbers for
5599 AUTORESET and AUTOTIEOFF.
5600 (verilog-submit-bug-report): Update variable list.
5601 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5602 parenthesis from not matching. Reported by Michael Rytting.
5603 (verilog-auto-template-lint): Fix hash error when linting modules
5604 with no used templates.
5605 (verilog-warn, verilog-warn-error)
5606 (verilog-warn-fatal): When non-interactive report multiple
5607 warnings before exiting. Suggested by Brad Dobbie.
5608 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5609 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5610 to report unused template errors. Reported by Brad Dobbie.
5611 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5612 nets, bug438. Reported by Vns Blore.
5613 (verilog-auto-inout-module, verilog-auto-reg)
5614 (verilog-read-decls, verilog-read-sub-decls-sig)
5615 (verilog-signals-edit-wire-reg, verilog-signals-with):
5616 Fix passing of Verilog data types in ANSI input/output ports
5617 such as "output logic" into the AUTOs. Special case "wire" and
5618 "reg" for backwards compatibility presuming Verilog 2001.
5619 (verilog-auto-ascii-enum): Add "auto enum" as alias.
5620 (verilog-preprocess): Fix replication of preprocess output.
5621 Reported by Brad Dobbie.
5622 (verilog-auto-inst-interfaced-ports):
5623 Create verilog-auto-inst-interfaced-ports, bug429.
5624 Reported by Julian Gorfajn.
5625 (verilog-after-save-font-hook)
5626 (verilog-before-save-font-hook): New variable.
5627 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5628 (verilog-save-font-mods): Wrap disabling fontification, reported
5629 by David Rogoff.
5630 (verilog-do-indent, verilog-pretty-declarations-auto)
5631 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5632 Reported by Pierre-David Pfister.
5633 (verilog-set-auto-endcomments): Fix endtask auto comments outside
5634 of class declarations, bug292. Reported by Kevin Heilman.
5635 (verilog-read-decls): Fix 'parameter type' not appearing in
5636 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
5637 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5638 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5639 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5640 Reported by David Kravitz.
5641
5642 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
5643
5644 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5645 assignment with tests in ifs and for loops.
5646 (verilog-extended-complete-re, verilog-complete-reg): Change so
5647 that DPI inport functions don't look like fuction declarations.
5648 (verilog-pretty-expr): Don't line up assignment
5649 operations to the test and increment in if and for loops
5650 (verilog-extended-complete-re, verilog-complete-reg): Change so
5651 that DPI inport functions don't look like fuction declarations.
5652
5653 2012-05-03 Kenichi Handa <handa@m17n.org>
5654
5655 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5656 decoding, and show a warning message without signaling an error
5657 (Bug#11282).
5658
5659 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
5660
5661 * emacs-lisp/bytecomp.el
5662 (byte-compile-file-form-custom-declare-variable): Compile all elements,
5663 since cconv.el might have introduced :fun-body, internal-make-closure,
5664 and friends for bytecomp to handle (bug#11391).
5665 * custom.el (defcustom): Avoid ((λ ..) ..).
5666
5667 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
5668
5669 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5670
5671 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
5672
5673 * notifications.el (dbus-debug):
5674 * term/linux.el (gpm-mouse-enable):
5675 * term/screen.el (xterm-register-default-colors): Declare.
5676
5677 2012-05-02 Chong Yidong <cyd@gnu.org>
5678
5679 * cus-start.el (gc-cons-percentage, exec-suffixes)
5680 (dos-display-scancodes, dos-hyper-key, dos-super-key)
5681 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5682 (make-cursor-line-fully-visible, void-text-area-pointer)
5683 (font-list-limit): Add customization data.
5684
5685 * allout.el (allout-exposure-change-functions)
5686 (allout-structure-added-functions)
5687 (allout-structure-deleted-functions)
5688 (allout-structure-shifted-functions): Rename abnormal hooks from
5689 *-hook, and convert to defcustoms.
5690 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5691 Convert to defcustoms.
5692 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5693
5694 * allout-widgets.el: Hook callers changed.
5695
5696 2012-05-02 Eli Zaretskii <eliz@gnu.org>
5697
5698 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5699 the yanked message in preference to the default value of
5700 buffer-file-coding-system.
5701
5702 2012-05-02 Martin Rudalics <rudalics@gmx.at>
5703
5704 * window.el (display-buffer--action-function-custom-type):
5705 Fix entry.
5706
5707 2012-05-02 Alan Mackenzie <acm@muc.de>
5708
5709 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5710
5711 2012-05-01 Glenn Morris <rgm@gnu.org>
5712
5713 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5714
5715 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
5716
5717 * cus-edit.el (custom-variable-documentation): Simplify with format.
5718
5719 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
5720 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * simple.el (suggest-key-bindings, execute-extended-command):
5723 Move from keyboard.c.
5724
5725 2012-05-01 Chong Yidong <cyd@gnu.org>
5726
5727 * follow.el: Eliminate advice.
5728 (set-process-filter, process-filter, sit-for): Advice deleted.
5729 (follow-mode-off-hook): Obsolete hook removed.
5730 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5731 Vars deleted.
5732 (follow-auto): Use a :set function.
5733 (follow-mode): Rewritten. Don't advise process filters.
5734 (follow-switch-to-current-buffer-all, follow-scroll-up)
5735 (follow-scroll-down): Assume follow-mode is bound.
5736 (follow-comint-scroll-to-bottom)
5737 (follow-align-compilation-windows): New functions.
5738 (follow--window-sorter): New function.
5739 (follow-all-followers): Use it to explicitly sort windows by their
5740 positions; don't make assumptions about next-window order.
5741 (follow-windows-start-end, follow-delete-other-windows-and-split)
5742 (follow-calc-win-start): Doc fix.
5743 (follow-windows-aligned-p, follow-select-if-visible): Don't call
5744 vertical-motion unnecessarily.
5745 (follow-adjust-window): New function.
5746 (follow-post-command-hook): Use it.
5747 (follow-call-set-process-filter, follow-call-process-filter)
5748 (follow-intercept-process-output, follow-tidy-process-filter-alist)
5749 (follow-stop-intercept-process-output, follow-generic-filter):
5750 Functions deleted.
5751 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5752 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5753 New functions, replacing advice on scroll-bar-* commands.
5754 (follow-mwheel-scroll): New function (Bug#4112).
5755
5756 * comint.el (comint-adjust-point): New function.
5757 (comint-postoutput-scroll-to-bottom): Use it.
5758 Call follow-comint-scroll-to-bottom for Follow mode buffers.
5759
5760 2012-05-01 Glenn Morris <rgm@gnu.org>
5761
5762 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5763 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5764 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5765 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5766 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5767 Remove no-byte-compile setting.
5768
5769 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
5770
5771 * minibuffer.el (completion-table-with-quoting): Fix compatibility
5772 all-completions code to not return a number in the last cdr.
5773
5774 2012-04-30 Leo Liu <sdl.web@gmail.com>
5775
5776 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5777 read-only error.
5778
5779 2012-04-29 Chong Yidong <cyd@gnu.org>
5780
5781 * follow.el (follow-calc-win-end): Rewrite to handle partial
5782 screen lines correctly (Bug#8390).
5783 (follow-avoid-tail-recenter): Minor cleanup.
5784
5785 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
5786
5787 Avoid the obsolete `assoc' package.
5788 * speedbar.el (speedbar-refresh): Avoid adelete.
5789 (speedbar-file-lists): Simplify and avoid aput.
5790 * man.el (Man--sections, Man--refpages): New vars, replacing
5791 Man-sections-alist and Man-refpages-alist.
5792 (Man-build-section-alist, Man-build-references-alist):
5793 Use them; avoid aput.
5794 (Man--last-section, Man--last-refpage): New vars.
5795 (Man-follow-manual-reference): Use them.
5796 Use the `default' arg of completing-read.
5797 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
5798
5799 2012-04-27 Chong Yidong <cyd@gnu.org>
5800
5801 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5802
5803 * startup.el (x-apply-session-resources): New function.
5804
5805 * term/ns-win.el (ns-initialize-window-system):
5806 * term/w32-win.el (w32-initialize-window-system):
5807 * term/x-win.el (x-initialize-window-system): Use it to properly
5808 set menu-bar-mode and other vars from X resources, even if the
5809 initial frame is not a window-system frame (Bug#2299).
5810
5811 * subr.el (read-key): Avoid running filter function when setting
5812 up temporary tool bar entries (Bug#9922).
5813
5814 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5815
5816 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5817 (Bug#11344)
5818
5819 2012-04-27 Chong Yidong <cyd@gnu.org>
5820
5821 * select.el (xselect--encode-string): New function, split from
5822 xselect-convert-to-string.
5823 (xselect-convert-to-string): Use it.
5824 (xselect-convert-to-filename, xselect-convert-to-os)
5825 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5826 returned strings are properly encoded (Bug#11315).
5827
5828 2012-04-27 Chong Yidong <cyd@gnu.org>
5829
5830 * simple.el (delete-active-region): Move to killing custom group.
5831
5832 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
5833
5834 * progmodes/which-func.el (which-func-current): Quote %
5835 characters for mode-line processing.
5836
5837 2012-04-27 Chong Yidong <cyd@gnu.org>
5838
5839 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5840 reaching eob (Bug#11286).
5841
5842 2012-04-27 Eli Zaretskii <eliz@gnu.org>
5843
5844 * progmodes/gdb-mi.el (gdb-control-level): New variable.
5845 (gdb): Make it buffer-local and init to zero.
5846 (gdb-control-commands-regexp): New variable.
5847 (gdb-send): Don't wrap in "-interpreter-exec console" if
5848 gdb-control-level is positive. Increment gdb-control-level
5849 whenever the command matches gdb-control-commands-regexp, and
5850 decrement it each time the command is "end". (Bug#11279)
5851
5852 2012-04-27 Martin Rudalics <rudalics@gmx.at>
5853
5854 * window.el (adjust-window-trailing-edge, enlarge-window)
5855 (shrink-window, window-resize):
5856 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5857 windows (Bug#11276).
5858
5859 2012-04-27 Chong Yidong <cyd@gnu.org>
5860
5861 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5862 fix "missing prefix" warning. All callers changed.
5863
5864 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
5865
5866 * emacs-lisp/assoc.el: Move to obsolete/.
5867
5868 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5869
5870 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5871
5872 * term/ns-win.el (ns-define-service):
5873 * progmodes/pascal.el (pascal-goto-defun):
5874 * progmodes/js.el (js--read-tab):
5875 * progmodes/etags.el (tags-lazy-completion-table):
5876 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5877 * emacs-lisp/ewoc.el (ewoc--wrap):
5878 * emacs-lisp/assoc.el (aput, adelete, amake):
5879 * doc-view.el (doc-view-convert-current-doc):
5880 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5881
5882 2012-04-26 Chong Yidong <cyd@gnu.org>
5883
5884 * image.el (image-type-from-buffer): Only return supported image
5885 type (Bug#9045).
5886
5887 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5888 value, for symmetry with diff-end-of-hunk.
5889 (diff-split-hunk, diff-find-source-location)
5890 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5891 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5892 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5893 compute the relevant hunk or file properly (Bug#6005).
5894 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5895
5896 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
5897
5898 * vc/vc-mtn.el:
5899 * vc/vc-hg.el:
5900 * vc/vc-git.el:
5901 * vc/vc-dir.el:
5902 * vc/vc-cvs.el:
5903 * vc/vc-bzr.el:
5904 * vc/vc-arch.el:
5905 * vc/vc.el: Replace lexical-let by lexical-binding.
5906 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5907 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5908 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5909
5910 2012-04-26 Chong Yidong <cyd@gnu.org>
5911
5912 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5913 (diff-mode-shared-map): Bind it to / and [remap undo].
5914
5915 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5916 (ediff-window-setup-function): Use it as the default, to set up
5917 windows based on whether the current frame is graphical (Bug#2138).
5918 (ediff-choose-window-setup-function-automatically): Make obsolete.
5919
5920 * vc/ediff-init.el: Always define ediff-pixel-width/height.
5921
5922 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * ffap.el: Remove old code for obsolete package.
5925 (ffap-complete-as-file-p): Remove.
5926
5927 Use completion-table-with-quoting for comint and pcomplete.
5928 * comint.el (comint--unquote&requote-argument)
5929 (comint--unquote-argument, comint--requote-argument): New functions.
5930 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5931 (comint-quote-filename): Use regexp-opt-charset.
5932 (comint--common-suffix, comint--common-quoted-suffix)
5933 (comint--table-subvert): Remove.
5934 (comint-unquote-function, comint-requote-function): New vars.
5935 (comint--complete-file-name-data): Use them with
5936 completion-table-with-quoting.
5937 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5938 * pcomplete.el (pcomplete-arg-quote-list)
5939 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5940 (pcomplete-unquote-argument-function): Default to non-nil.
5941 (pcomplete-unquote-argument): Simplify.
5942 (pcomplete--common-quoted-suffix): Remove.
5943 (pcomplete-requote-argument-function): New var.
5944 (pcomplete--common-suffix): New function.
5945 (pcomplete-completions-at-point): Use completion-table-with-quoting
5946 and completion-table-subvert.
5947
5948 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5949 (minibuffer--double-dollars): Preserve properties.
5950 (completion--sifn-requote): New function.
5951 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5952
5953 * minibuffer.el: Add support for completion of quoted/escaped data.
5954 (completion-table-with-quoting, completion-table-subvert): New funs.
5955 (completion--twq-try, completion--twq-all): New functions.
5956 (completion--nth-completion): New function.
5957 (completion-try-completion, completion-all-completions): Use it.
5958
5959 2012-04-25 Leo Liu <sdl.web@gmail.com>
5960
5961 * progmodes/python.el (python-pdbtrack-get-source-buffer):
5962 Use compilation-message if available to find real filename.
5963
5964 2012-04-25 Chong Yidong <cyd@gnu.org>
5965
5966 * vc/diff-mode.el (diff-setup-whitespace): New function.
5967 (diff-mode): Use it.
5968
5969 * vc/diff.el (diff-sentinel):
5970 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5971 Whitespace mode variables based on diff style (Bug#8612).
5972
5973 2012-04-25 Leo Liu <sdl.web@gmail.com>
5974
5975 * progmodes/python.el (python-send-region): Add suffix .py to the
5976 temp file.
5977
5978 * files.el (auto-mode-alist): Use javascript-mode instead.
5979
5980 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
5981
5982 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
5983
5984 * net/soap-client.el (soap-resolve-references-for-sequence-type)
5985 (soap-resolve-references-for-array-type): Hack to prevent self
5986 references, see Bug#9.
5987 (soap-parse-envelope): Report the contents of the 'detail' node
5988 when receiving a fault reply.
5989 (soap-parse-envelope): Report the contents of the entire 'detail' node.
5990
5991 * net/soap-inspect.el (soap-sample-value-for-simple-type)
5992 (soap-inspect-simple-type): New function.
5993
5994 * net/soap-client.el (soap-simple-type): New struct.
5995 (soap-default-xsd-types, soap-default-soapenc-types)
5996 (soap-decode-basic-type, soap-encode-basic-type):
5997 support unsignedInt and double basic types.
5998 (soap-resolve-references-for-simple-type)
5999 (soap-parse-simple-type, soap-encode-simple-type): New function.
6000 (soap-parse-schema): Parse xsd:simpleType declarations.
6001
6002 * net/soap-client.el (soap-default-xsd-types)
6003 (soap-default-soapenc-types): Add integer, byte and anyURI types.
6004 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
6005 the local name of "soapenc:Array".
6006 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
6007 decoding integer, byte and anyURI xsd types.
6008
6009 2012-04-25 Chong Yidong <cyd@gnu.org>
6010
6011 * cus-edit.el (custom-buffer-create-internal): Update header text.
6012
6013 2012-04-25 Eli Zaretskii <eliz@gnu.org>
6014
6015 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
6016 settings on 'system-type', not on 'window-system'. On MS-Windows,
6017 set interactive-mode on in GDB.
6018
6019 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6020
6021 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
6022 (ruby-syntax-propertize-regexp): Remove.
6023 (ruby-syntax-propertize-function): Split regexp into chunks.
6024 Match following code directly.
6025
6026 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
6027
6028 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
6029 (ruby-syntax-propertize-regexp): New function.
6030 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
6031 by a special keyword.
6032
6033 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
6034 (ruby-syntax-general-delimiters-goto-beg)
6035 (ruby-syntax-propertize-general-delimiters): New functions.
6036 (ruby-syntax-propertize-function): Use them to handle GDL.
6037 (ruby-font-lock-keywords): Move old handling of GDL...
6038 (ruby-font-lock-syntactic-keywords): .. to here.
6039 (ruby-calculate-indent): Adjust indentation for GDL.
6040
6041 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * notifications.el (top): Remove unneeded declarations.
6044 (notifications-specification-version): Change to "1.2".
6045 (notifications-interface, notifications-notify-method)
6046 (notifications-close-notification-method): Fix docstring.
6047 (notifications-get-capabilities-method): New defconst.
6048 (notifications-notify): Add :action-items, :resident and
6049 :transient hints. Change "image_data" to "image-data" and
6050 "image_path" to "image-path".
6051 (notifications-get-capabilities): New defun.
6052
6053 2012-04-24 Leo Liu <sdl.web@gmail.com>
6054
6055 * progmodes/python.el: Move hideshow setup to the end.
6056
6057 2012-04-24 Martin Rudalics <rudalics@gmx.at>
6058
6059 * window.el (handle-select-window): Clear echo area since this is
6060 no more done by read_char (Bug#11304).
6061
6062 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
6063
6064 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
6065 and `/ M' to filter-derived-mode.
6066 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
6067 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
6068 (ibuffer-mark-by-mode): Use default rather than initial-input.
6069 (ibuffer-filter-by-derived-mode): Autoload and require-match.
6070
6071 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
6072
6073 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
6074 (ibuffer-filter-by-derived-mode): New filter.
6075 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
6076
6077 2012-04-23 Andreas Politz <politza@fh-trier.de>
6078
6079 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
6080
6081 2012-04-23 Chong Yidong <cyd@gnu.org>
6082
6083 * cus-edit.el (customize-apropos, customize-apropos-options):
6084 Disable matching of non-option variables (Bug#11176).
6085 (customize-option, customize-option-other-window)
6086 (customize-changed-options): Doc fix.
6087 (customize-apropos-options, customize-apropos-faces)
6088 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
6089
6090 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
6091 Fix word list splitting (Bug#11132).
6092 (apropos-symbol, apropos-keybinding, apropos-label)
6093 (apropos-property, apropos-function-button)
6094 (apropos-variable-button, apropos-misc-button): New faces.
6095 (apropos-symbol-face, apropos-keybinding-face)
6096 (apropos-label-face, apropos-property-face, apropos-match-face):
6097 Variables removed (Bug#8396).
6098 (apropos-library-button, apropos-format-plist, apropos-print)
6099 (apropos-print-doc, apropos-describe-plist): Callers changed.
6100
6101 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
6102
6103 * net/xesam.el (xesam-mode-map): Use let-bound map in
6104 initialization. (Bug#11292)
6105
6106 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6107
6108 Preserve ispell session localwords when switching back to
6109 original buffer.
6110
6111 * textmodes/ispell.el (ispell-buffer-session-localwords):
6112 New buffer-local variable to hold buffer session localwords.
6113 (ispell-kill-ispell): Add option 'clear to delete session
6114 localwords.
6115 (ispell-command-loop, ispell-change-dictionary)
6116 (ispell-buffer-local-words): Preserve session localwords when
6117 needed.
6118
6119 * textmodes/flyspell.el (flyspell-process-localwords)
6120 (flyspell-do-correct): Preserve session localwords when needed.
6121
6122 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6123
6124 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
6125 using obsolete `translation-table-for-input'.
6126 (ispell-word, ispell-process-line, ispell-complete-word):
6127 Use plain `insert' instead of removed `ispell-insert-word'.
6128
6129 2012-04-22 Chong Yidong <cyd@gnu.org>
6130
6131 * cus-edit.el (custom-variable-menu)
6132 (custom-variable-reset-saved, custom-face-menu)
6133 (custom-face-reset-saved): If there is no saved value, make the
6134 "reset-saved" operation bring back the default (Bug#9509).
6135 (custom-face-state): Properly detect themed faces.
6136
6137 * faces.el (face-spec-set): Stop supporting deprecated form of
6138 third arg.
6139
6140 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
6141
6142 Move functions from C to Lisp. Make non-blocking method calls
6143 the default. Implement further D-Bus standard interfaces.
6144
6145 * net/dbus.el (dbus-message-internal): Declare function.
6146 Remove unneeded function declarations.
6147 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
6148 (dbus-message-type-method-return, dbus-message-type-error)
6149 (dbus-message-type-signal): Declare variables. Remove local
6150 definitions.
6151 (dbus-interface-dbus, dbus-interface-peer)
6152 (dbus-interface-introspectable, dbus-interface-properties)
6153 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
6154 Adapt docstring.
6155 (dbus-interface-objectmanager): New defconst.
6156 (dbus-call-method, dbus-call-method-asynchronously)
6157 (dbus-send-signal, dbus-method-return-internal)
6158 (dbus-method-error-internal, dbus-register-service)
6159 (dbus-register-signal, dbus-register-method): New defuns, moved
6160 from dbusbind.c
6161 (dbus-call-method-handler, dbus-setenv)
6162 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
6163 New defuns.
6164 (dbus-call-method-non-blocking): Make it an obsolete function.
6165 (dbus-unregister-object, dbus-unregister-service)
6166 (dbus-handle-event, dbus-register-property)
6167 (dbus-property-handler): Obey the new structure of
6168 `bus-registered-objects'.
6169 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
6170 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6171 Use `dbus-call-method'.
6172
6173 2012-04-22 Chong Yidong <cyd@gnu.org>
6174
6175 * cus-edit.el (custom-commands, custom-reset-menu)
6176 (Custom-reset-standard): Tweak labels.
6177 (custom-reset-button-menu): Change default to t.
6178 (custom-buffer-create-internal): For the custom-reset-button-menu
6179 case, put the revert button first.
6180 (custom-group-subtitle): New face.
6181 (custom-group-value-create): Align docstring to a specific column.
6182
6183 * wid-edit.el (widget-documentation-link-add): Don't handle
6184 indentation in this function.
6185 (widget-documentation-string-indent-to): New function.
6186 (widget-documentation-string-value-create): Use it.
6187
6188 * autorevert.el (auto-revert):
6189 * epg-config.el (epg):
6190 * ibuffer.el (ibuffer):
6191 * mpc.el (mpc):
6192 * ses.el (ses):
6193 * eshell/eshell.el (eshell):
6194 * net/ange-ftp.el (ange-ftp):
6195 * progmodes/ebnf2ps.el (postscript):
6196 * progmodes/flymake.el (flymake):
6197 * progmodes/prolog.el (prolog):
6198 * progmodes/verilog-mode.el (verilog-mode):
6199 * progmodes/which-func.el (which-func):
6200 * term/xterm.el (xterm):
6201 * textmodes/picture.el (picture):
6202 * textmodes/tildify.el (tildify):
6203 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
6204 customization buffers.
6205
6206 2012-04-22 Alan Mackenzie <acm@muc.de>
6207
6208 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
6209 Adding a ) can hide the resulting (..) from searches. Fix it.
6210 Bound the backward search to the position of the existing (.
6211
6212 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
6213
6214 * progmodes/verilog-mode.el (verilog-mode): Check whether
6215 which-func-modes is t before adding verilog-mode.
6216 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
6217
6218 2012-04-21 Leo Liu <sdl.web@gmail.com>
6219
6220 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
6221
6222 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
6223
6224 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
6225 filling of the last column of a table (Bug#5635).
6226 (woman-find-next-control-line): New arg, specifying an additional
6227 regexp component for the control line.
6228 (woman2-roff-buffer): Use it.
6229 (woman-break-table): New function.
6230 (woman2-TS): Use it.
6231
6232 2012-04-21 Chong Yidong <cyd@gnu.org>
6233
6234 * woman.el (woman-set-buffer-display-table, woman-decode-region)
6235 (woman-horizontal-escapes, woman-negative-vertical-space)
6236 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
6237 (WoMan-warn-ignored): Use ?\s instead of ?\ .
6238
6239 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * minibuffer.el (completion-file-name-table): Complete user names.
6242
6243 2012-04-20 Leo Liu <sdl.web@gmail.com>
6244
6245 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
6246 and pcase-let*.
6247
6248 2012-04-20 Chong Yidong <cyd@gnu.org>
6249
6250 * server.el (server-execute): Respect initial-buffer-choice if it
6251 is a string and there are no files to open (Bug#2825).
6252 (server-create-window-system-frame, server-create-tty-frame):
6253 Don't switch buffers here.
6254 (server-process-filter): Only try to open a window system frame if
6255 compiled with graphical support (Bug#8314).
6256
6257 2012-04-20 Dan Nicolaescu <dann@gnu.org>
6258
6259 * battery.el (battery-echo-area-format): Display remaining time
6260 for sysfs backend too (Bug#11269).
6261 (battery-linux-sysfs): Fix conditional for the charge.
6262
6263 2012-04-20 Chong Yidong <cyd@gnu.org>
6264
6265 * progmodes/gdb-mi.el (gdb): Revert previous change.
6266 (gdb-inferior-io--init-proc): New function.
6267 (gdb-init-1): Use it.
6268 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
6269 responsible for allocating a new pty and hooking it to gdb when
6270 the old pty gets an EIO due to process exit.
6271 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
6272 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
6273 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
6274
6275 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6276
6277 * window.el (window-min-size, window-sizable, window-min-delta)
6278 (window-max-delta, window--resizable, window-resizable)
6279 (window-total-size, window-full-height-p, window-full-width-p)
6280 (window-in-direction, window--resize-mini-window, window-resize)
6281 (window--resize-child-windows-normal)
6282 (window--resize-child-windows, window--resize-siblings)
6283 (window--resize-this-window, adjust-window-trailing-edge)
6284 (enlarge-window, shrink-window): Doc fixes.
6285
6286 2012-04-20 Chong Yidong <cyd@gnu.org>
6287
6288 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
6289 New function to call delete-process on the gdb-inferior buffer's pty.
6290 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
6291 pty process (Bug#11273).
6292 (gdb-update): New arg to suppress talking to the gdb process.
6293 (gdb-done-or-error): Use it.
6294 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
6295 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
6296 sentinel not being called.
6297
6298 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
6299
6300 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
6301
6302 2012-04-20 Glenn Morris <rgm@gnu.org>
6303
6304 * net/network-stream.el (open-network-stream): Doc fix.
6305
6306 2012-04-20 Chong Yidong <cyd@gnu.org>
6307
6308 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
6309
6310 2012-04-20 Alan Mackenzie <acm@muc.de>
6311
6312 Ensure searching for keywords is case sensitive.
6313
6314 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
6315 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
6316 (c-defun-name, c-mark-function, c-cpp-define-name)
6317 (c-comment-indent, c-scan-conditionals, c-indent-defun)
6318 (c-context-line-break): Bind case-fold-search to nil.
6319
6320 * progmodes/cc-mode.el (c-font-lock-fontify-region):
6321 Bind case-fold-search to nil.
6322
6323 2012-04-20 Chong Yidong <cyd@gnu.org>
6324
6325 * mail/sendmail.el (mail-bury): Call return action with the right
6326 Rmail buffer (Bug#11242).
6327
6328 * server.el (server-process-filter): Handle corner case where both
6329 tty and nowait options are present (Bug#11102).
6330
6331 2012-04-20 Eli Zaretskii <eliz@gnu.org>
6332
6333 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6334 (top level): Put into the executable the ident-style '$Id:' tag on
6335 windows-nt as well.
6336
6337 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
6338
6339 * electric.el (electric-indent-post-self-insert-function): Check that
6340 electric-indent-mode is enabled in current buffer.
6341
6342 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6343
6344 * imenu.el (imenu-progress-message): Restore; it is "used" in
6345 erc/erc-imenu.el and net/snmp-mode.el.
6346
6347 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * avoid.el (mouse-avoidance-mode): Mark unused arg.
6350 (mouse-avoidance-nudge-mouse): Remove unused binding.
6351
6352 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
6353
6354 * descr-text.el (describe-char):
6355 * progmodes/python.el (python-describe-symbol):
6356 Don't call `toggle-read-only', set `buffer-read-only'.
6357
6358 * imenu.el (imenu-default-goto-function): Mark unused args.
6359 (imenu-progress-message): Remove obsolete macro; all callers changed.
6360
6361 * subr.el (keymap-canonicalize): Remove unused binding.
6362 (read-passwd): Mark unused arg.
6363
6364 * tutorial.el (tutorial--display-changes): Remove unused binding.
6365 (tutorial--save-tutorial-to): Remove unused variable.
6366
6367 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
6368 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
6369 (package-generate-autoloads, package-menu--generate)
6370 (package-menu--find-upgrades): Remove unused bindings.
6371
6372 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
6373 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
6374 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
6375 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
6376 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
6377 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
6378 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
6379 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
6380 (cua-delete-char-rectangle): Mark unused args.
6381 (cua-align-rectangle): Remove unused binding.
6382
6383 * mail/rmail.el (compilation--message->loc)
6384 (epa--find-coding-system-for-mime-charset): Declare.
6385
6386 * net/dbus.el (dbus-register-service): Declare.
6387 (dbus-name-owner-changed-handler): Remove unused binding.
6388
6389 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
6390 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
6391 (nxml-scan-backward-within): Mark unused arg.
6392 (nxml-dynamic-markup-word): Remove unused binding.
6393
6394 * mouse.el (mouse-menu-major-mode-map):
6395 * emacs-lisp/authors.el (authors-scan-change-log)
6396 (authors-add-to-author-list):
6397 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
6398 * emacs-lisp/smie.el (smie-auto-fill):
6399 * mail/sendmail.el (mail-bury):
6400 * mail/unrmail.el (unrmail):
6401 * net/tls.el (open-tls-stream):
6402 * textmodes/picture.el (picture-mouse-set-point):
6403 Remove unused bindings.
6404
6405 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
6406
6407 * net/tramp.el (tramp-action-password): Let-bind
6408 `enable-recursive-minibuffers' to t.
6409
6410 2012-04-18 Sam Steingold <sds@gnu.org>
6411
6412 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
6413 instead of 'string to accommodate values like [f11].
6414 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
6415 * progmodes/gdb-mi.el: Likewise.
6416
6417 2012-04-18 Leo Liu <sdl.web@gmail.com>
6418
6419 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
6420 current buffer.
6421 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
6422 LOCAL is nil.
6423
6424 2012-04-18 Chong Yidong <cyd@gnu.org>
6425
6426 * simple.el (line-move): Use forward-line if in batch mode
6427 (Bug#11053).
6428
6429 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
6430
6431 * files.el (after-find-file): Do not try to add a final newline if
6432 the buffer is read-only (Bug#11156).
6433
6434 2012-04-17 Richard Stallman <rms@gnu.org>
6435
6436 * mail/rmail.el (rmail-start-mail):
6437 Pass (rmail-mail-return...) for the return-action.
6438 Pass (rmail-yank-current-message...) for the yank-action.
6439 (rmail-yank-current-message): New function.
6440 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
6441 (rmail-reply): Likewise.
6442 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
6443
6444 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
6445 buffer, not the last. Reject temp buffers. Use the rmail-mode
6446 buffer, not newbuf.
6447
6448 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * server.el (server-ensure-safe-dir): Simplify.
6451
6452 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
6453
6454 * emacs-lisp/smie.el: Provide smarter auto-filling.
6455 (smie-auto-fill): New function.
6456 (smie-setup): Use it.
6457
6458 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6459
6460 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
6461
6462 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6463 (comment-indent): Use it.
6464
6465 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
6466
6467 * ses.el: The overall change is to add cell renaming, that is
6468 setting fancy names for cell symbols other than name matching
6469 "\\`[A-Z]+[0-9]+\\'" regexp .
6470 (ses-localvars): Add ses--renamed-cell-symb-list.
6471 (ses-create-cell-variable): New defun.
6472 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6473 (ses-relocate-formula): Relocate formulas only for cells the
6474 symbols of which are not renamed, i.e. symbols whose names do not
6475 match regexp "\\`[A-Z]+[0-9]+\\'".
6476 (ses-relocate-all): Relocate values only for cells the symbols of
6477 which are not renamed.
6478 (ses-load): Create cells variables as the (ses-cell ...) are read,
6479 in order to check row col consistency with cell symbol name only
6480 for cells that are not renamed.
6481 (ses-replace-name-in-formula): New defun.
6482 (ses-rename-cell): New defun.
6483
6484 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
6485
6486 * progmodes/perl-mode.el (perl-indent-parens-as-block):
6487 New option (bug#11118).
6488 (perl-calculate-indent): Respect it.
6489
6490 2012-04-17 Glenn Morris <rgm@gnu.org>
6491
6492 * dired-aux.el (dired-mark-read-string): Doc fix.
6493
6494 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
6495
6496 * dired-aux.el (dired-mark-read-string): Offer optional completion.
6497 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
6498
6499 2012-04-17 Glenn Morris <rgm@gnu.org>
6500
6501 * mouse.el (mouse-drag-track):
6502 * speedbar.el (speedbar-frame-mode):
6503 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6504
6505 2012-04-16 Leo Liu <sdl.web@gmail.com>
6506
6507 * progmodes/python.el: Trivial cleanup.
6508
6509 2012-04-16 Glenn Morris <rgm@gnu.org>
6510
6511 * vc/vc.el (vc-string-prefix-p):
6512 * vc/pcvs-util.el (cvs-string-prefix-p):
6513 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6514 * mpc.el (mpc-string-prefix-p):
6515 Make all of these into obsolete aliases for string-prefix-p.
6516 Update callers.
6517 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6518
6519 * textmodes/two-column.el: Move custom options to the start.
6520 (frame-width): Remove compat definition.
6521 (2C-associate-buffer, 2C-dissociate):
6522 Use with-current-buffer rather than save-excursion.
6523 (2C-dissociate): Force a mode-line update.
6524 (2C-autoscroll): Use ignore-errors.
6525
6526 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6527 Autoload trivia.
6528
6529 * emacs-lisp/cl-extra.el (*random-state*):
6530 Remove unnecessary declaration.
6531
6532 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6533
6534 * play/cookie1.el (cookie-snarf):
6535 Give an explicit error if input file cannot be read.
6536
6537 * play/yow.el (yow-file): Use expand-file-name rather than concat.
6538
6539 * progmodes/perl-mode.el (c-macro-expand):
6540 Remove unnecessary autoload (it is in loaddefs.el).
6541
6542 * textmodes/picture.el (picture-desired-column)
6543 (picture-update-desired-column): Convert comments to doc-strings.
6544 (picture-substitute): Remove function.
6545 (picture-mode-map): Initialize in the defvar.
6546
6547 * woman.el: Remove eval-after-load for tar-mode.
6548 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6549 (woman-tar-extract-file): Autoload it.
6550
6551 * frame.el (automatic-hscrolling): Make this alias obsolete.
6552
6553 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6554
6555 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6556 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6557 (ispell-dictionary-base-alist): Revert to original XEmacs
6558 friendly version for default. [:alpha:] will be added in
6559 `ispell-set-spellchecker-params' if needed.
6560
6561 2012-04-16 Chong Yidong <cyd@gnu.org>
6562
6563 * image.el (imagemagick--file-regexp): New variable.
6564 (imagemagick-register-types): Use it.
6565 (imagemagick-types-inhibit): Add :set function. Allow new value
6566 of t to inhibit all types.
6567
6568 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6569 so we can preload it.
6570
6571 * loadup.el (fboundp): Preload regexp-opt, needed by
6572 imagemagick-register-types.
6573
6574 2012-04-15 Chong Yidong <cyd@gnu.org>
6575
6576 * frame.el (scrolling): Remove nearly unused customization group.
6577
6578 * scroll-all.el (scroll-all-mode): Move to windows group.
6579
6580 2012-04-15 Chong Yidong <cyd@gnu.org>
6581
6582 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6583
6584 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 Avoid the use of ((lambda ...) ...) in lexical-binding code.
6587 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6588
6589 2012-04-15 Glenn Morris <rgm@gnu.org>
6590
6591 * simple.el (process-file-side-effects): Doc fix.
6592
6593 2012-04-15 Glenn Morris <rgm@gnu.org>
6594
6595 * international/mule-cmds.el (set-language-environment): Doc fix.
6596
6597 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * server.el (server-auth-key, server-generate-key): Doc fixes.
6600 (server-get-auth-key): Doc fix. Use `string-match-p'.
6601 (server-start): Reflow docstring.
6602
6603 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
6604
6605 * server.el (server-generate-key): `called-interactively-p'
6606 requires a parameter.
6607
6608 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
6609
6610 * server.el (server-auth-key): New variable.
6611 (server-generate-key, server-get-auth-key): New function.
6612 (server-start): Use the new variable and functions to allow
6613 setting a permanent server key (bug#9423).
6614
6615 2012-04-14 Leo Liu <sdl.web@gmail.com>
6616
6617 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6618
6619 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
6620
6621 Spelling fixes.
6622 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6623 Emacs uses American spelling.
6624
6625 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
6626
6627 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6628 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
6629 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6630 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
6631
6632 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6633
6634 * progmodes/which-func.el (which-func-modes): Change default.
6635
6636 2012-04-14 Kim F. Storm <storm@cua.dk>
6637
6638 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6639 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6640
6641 2012-04-14 Chong Yidong <cyd@gnu.org>
6642
6643 * custom.el (custom-theme-set-variables): Doc fix.
6644
6645 2012-04-14 Glenn Morris <rgm@gnu.org>
6646
6647 * international/mule.el (set-auto-coding-for-load): Doc fix.
6648
6649 2012-04-14 Alan Mackenzie <acm@muc.de>
6650
6651 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6652 imenu work again for Objective C Mode. Correct the *-index values,
6653 these having been disturbed by a previous change in 2011-08.
6654
6655 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6656 Correct two search limits.
6657
6658 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
6659
6660 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6661
6662 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
6663
6664 * international/characters.el: Fix sorting.
6665
6666 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6667
6668 * international/characters.el: Add more missing Latin case pairs.
6669
6670 2012-04-14 Glenn Morris <rgm@gnu.org>
6671
6672 * files.el (dir-locals-set-class-variables): Doc fix.
6673
6674 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6675
6676 * international/characters.el: Add set-case-syntax-pair call for
6677 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6678 counterpart. (Bug#11209)
6679
6680 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
6681
6682 2012-04-14 Glenn Morris <rgm@gnu.org>
6683
6684 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6685
6686 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6687
6688 * textmodes/ispell.el (ispell-dictionary-base-alist):
6689 Add data for Hebrew.
6690
6691 2012-04-14 Chong Yidong <cyd@gnu.org>
6692
6693 * net/rcirc.el (rcirc-cmd-quit):
6694 Revert 2012-03-18 change (Bug#11192).
6695
6696 2012-04-14 Glenn Morris <rgm@gnu.org>
6697
6698 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6699
6700 2012-04-14 Eli Zaretskii <eliz@gnu.org>
6701
6702 * minibuffer.el (completion-in-region-mode-map):
6703 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
6704
6705 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
6706
6707 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6708
6709 2012-04-13 Masatake YAMATO <yamato@redhat.com>
6710
6711 * minibuffer.el (minibuffer-local-filename-syntax): New variable
6712 to allow `C-M-f' and `C-M-b' to move to the nearest path
6713 separator (bug#9511).
6714
6715 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
6716
6717 * avoid.el: Require cl when compiling. And also move the
6718 `provide' to the end.
6719
6720 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6721
6722 * avoid.el (mouse-avoidance-banish-position): New variable.
6723 (mouse-avoidance-banish-destination): Use it (bug#10165).
6724
6725 2012-04-13 Leo Liu <sdl.web@gmail.com>
6726
6727 * progmodes/which-func.el (which-func-modes): Add objc-mode.
6728
6729 2012-04-13 Ken Brown <kbrown@cornell.edu>
6730
6731 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6732 this is no longer needed now that cygstart understands file:// URLs.
6733 (browse-url-filename-alist): For the same reason, don't modify
6734 file:// URLs on Cygwin.
6735
6736 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
6737
6738 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6739 the region on shift if the binding is already shifted (bug#11221).
6740
6741 2012-04-12 Glenn Morris <rgm@gnu.org>
6742
6743 * mail/mailpost.el: Move to obsolete/.
6744
6745 2012-04-12 Drew Adams <drew.adams@oracle.com>
6746
6747 * imenu.el (imenu--generic-function): Ignore invisible definitions
6748 (bug#10123).
6749
6750 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
6751
6752 * hexl.el (hexl-bits): New variable.
6753 (hexl-options): Mention the variable in the doc string.
6754 (hexl-rulerise, hexl-line-displen): New functions.
6755 (hexl-mode): Mention the new variable.
6756 (hexl-mode, hexl-current-address, hexl-current-address):
6757 Use the displen.
6758 (hexl-ascii-start-column): New function.
6759 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6760 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6761
6762 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6763
6764 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6765 '("-i" ENCODING), in 2 separate command-line arguments, to specify
6766 the encoding, as expected by hunspell.
6767
6768 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
6769
6770 * battery.el (battery--linux-sysfs-regexp): New const.
6771 (battery-status-function): Use it. Remove yeeloong special case.
6772 (battery-yeeloong-sysfs): Remove.
6773 (battery-echo-area-format): Remove yeeloong special case.
6774
6775 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6776
6777 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6778 Reported by Noah Friedman.
6779
6780 * subr.el (read-passwd): Use read-string.
6781
6782 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6783
6784 * vcursor.el (vcursor-move): Increase the priority of the overlay
6785 (bug#9663).
6786
6787 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
6788
6789 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6790 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6791
6792 2012-04-11 William Stevenson <yhvh2000@gmail.com>
6793
6794 * textmodes/artist.el (artist-mode): Convert artist-mode to use
6795 define-minor-mode (bug#10760).
6796
6797 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
6798
6799 * progmodes/grep.el (rgrep): Tweak the find command line so
6800 that directories matching `grep-find-ignored-files' won't be
6801 pruned (bug#10351).
6802
6803 2012-04-11 Chong Yidong <cyd@gnu.org>
6804
6805 * startup.el (command-line): Remove support for long-obsolete
6806 variable font-lock-face-attributes.
6807
6808 2012-04-11 Glenn Morris <rgm@gnu.org>
6809
6810 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6811
6812 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * window.el (window--state-get-1): Obey window-point-insertion-type.
6815
6816 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
6817
6818 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6819 to previous function when point is on the first character of a
6820 function. Take care of that in `narrow-to-defun' (bug#6157).
6821
6822 2012-04-11 Glenn Morris <rgm@gnu.org>
6823
6824 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6825 not just file-errors.
6826
6827 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6828 (vc-bzr-sha1): Use internal sha1.
6829
6830 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
6831
6832 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6833
6834 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
6835
6836 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6837 that start in the middle of the line (bug#10496).
6838
6839 2012-04-10 Dan Nicolaescu <dann@gnu.org>
6840
6841 * battery.el (battery-linux-proc-acpi): Only one battery is
6842 discharged at a time, but that seems to confuse battery.el when
6843 computing `rate-type' for the battery not being discharged
6844 (bug#10332).
6845
6846 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
6847
6848 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6849
6850 * international/quail.el: Use dolist and simplify.
6851 (quail-define-package, quail-update-keyboard-layout)
6852 (quail-define-rules): Use dolist.
6853 (quail-insert-kbd-layout, quail-get-translation): CSE.
6854
6855 * tmm.el: Use dolist, remove left over hook.
6856 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6857 Use dolist.
6858 (calendar-load-hook): Don't mess with it.
6859
6860 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6861 Use derived-mode-p. Run the diff asynchronously.
6862
6863 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6864
6865 * obsolete/mouse-sel.el: Add an Obsolete-since header.
6866
6867 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * misc.el: Display absolute path of loaded DLLs (bug#10424).
6870 (list-dynamic-libraries--loaded): New function.
6871 (list-dynamic-libraries--refresh): Use it.
6872
6873 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
6874
6875 * progmodes/python.el (python-fill-paragraph):
6876 Make python-fill-region in a multiline string work when font-lock is
6877 disabled (bug#7018).
6878
6879 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
6880
6881 * language/european.el (cp775): Add oem/legacy (en)coding on
6882 DOS/MS Windows for the Baltic languages. There are still plenty
6883 of texts written in this encoding/codepage (bug#6519).
6884
6885 2012-04-10 Glenn Morris <rgm@gnu.org>
6886
6887 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6888 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6889
6890 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
6891
6892 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6893 next-line "n" and previous-line "p" in order to make recentf more
6894 consistent with ibuffer, dired or org-mode (bug#9387).
6895
6896 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
6897
6898 * image.el (put-image): Return the overlay created instead of the
6899 optional input string (bug#7834). Note that this may break code
6900 that is (for some reason or other) depending on `put-image'
6901 returning the string.
6902
6903 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6904
6905 * simple.el (zap-to-char): Allow zapping using input methods
6906 (bug#1580).
6907
6908 * textmodes/fill.el (fill-region): Leave point and mark where they
6909 were before filling (bug#5399).
6910
6911 2012-04-09 Glenn Morris <rgm@gnu.org>
6912
6913 * version.el (emacs-bzr-get-version):
6914 Handle lightweight checkouts of local branches.
6915
6916 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
6917
6918 * international/characters.el: Recover lost case pairs. (Bug#11209)
6919
6920 2012-04-09 Chong Yidong <cyd@gnu.org>
6921
6922 * custom.el (custom-variable-p): Return nil for non-symbol
6923 arguments instead of signaling an error.
6924 (user-variable-p): Obsolete alias for custom-variable-p.
6925
6926 * apropos.el (apropos-variable):
6927 * files-x.el (read-file-local-variable):
6928 * simple.el (set-variable):
6929 * woman.el (woman-mini-help):
6930 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6931
6932 2012-04-09 Glenn Morris <rgm@gnu.org>
6933
6934 * startup.el (normal-top-level): Don't look for leim-list.el
6935 in places where it will not be found. (Bug#910)
6936
6937 * international/mule-cmds.el (set-default-coding-systems):
6938 * files.el (normal-mode):
6939 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
6940 This function was removed with ucs-tables.el in 2008.
6941
6942 2012-04-08 Eli Zaretskii <eliz@gnu.org>
6943
6944 * textmodes/ispell.el (ispell-check-version): For hunspell, set
6945 ispell-encoding8-command to "-i", without a trailing space.
6946 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6947 separate command-line arguments, to specify the encoding, since
6948 that's how hunspell expects it.
6949
6950 2012-04-08 Glenn Morris <rgm@gnu.org>
6951
6952 * loadup.el: Load bindings before cus-start.
6953 This reduces somewhat the number of "rogue" settings in emacs -Q.
6954
6955 2012-04-07 Glenn Morris <rgm@gnu.org>
6956
6957 * version.el (emacs-bzr-get-version): New function.
6958 (emacs-bzr-version): New variable.
6959 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
6960 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6961
6962 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6963
6964 * international/uni-bidi.el, international/uni-category.el:
6965 * international/uni-combining.el, international/uni-decimal.el:
6966 * international/uni-decomposition.el, international/uni-digit.el:
6967 * international/uni-lowercase.el, international/uni-mirrored.el:
6968 * international/uni-name.el, international/uni-numeric.el:
6969 * international/uni-titlecase.el, international/uni-uppercase.el:
6970 Update for Unicode 6.1.
6971
6972 2012-04-07 Eli Zaretskii <eliz@gnu.org>
6973
6974 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6975
6976 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
6977
6978 * window.el (shrink-window): Mention the `window-min-height'
6979 variable in the doc string.
6980
6981 2012-04-05 Bastien Guerry <bzg@altern.org>
6982
6983 * color.el (color-lighten-name): Fix typo.
6984
6985 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6986
6987 * server.el (server--on-display-p): New function.
6988 (server--on-display-p): Use it.
6989
6990 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
6991
6992 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6993 (bug#11145).
6994
6995 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
6996
6997 * comint.el (comint--common-quoted-suffix): Check string boundary
6998 before comparing (bug#11158).
6999 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
7000
7001 2012-04-04 Chong Yidong <cyd@gnu.org>
7002
7003 * minibuffer.el (completion-extra-properties): Doc fix.
7004
7005 * subr.el (delayed-warnings-hook): Doc fix.
7006
7007 2012-04-04 Daiki Ueno <ueno@unixuser.org>
7008
7009 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
7010 selection (Bug#11159).
7011 (epa-insert-keys): Inform that the default public key will be
7012 exported if no key is selected.
7013
7014 2012-04-04 Richard Stallman <rms@gnu.org>
7015
7016 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
7017
7018 2012-04-03 Chong Yidong <cyd@gnu.org>
7019
7020 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
7021 mail-insert-file, not its obsolete alias mail-attach-file.
7022
7023 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
7024
7025 * notifications.el (notifications-notify): Fix docstring.
7026
7027 2012-04-02 Glenn Morris <rgm@gnu.org>
7028
7029 * emacs-lisp/authors.el (authors-aliases): Another addition.
7030
7031 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
7032
7033 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
7034 `tramp-compat-call-process' instead of `tramp-local-call-process'.
7035 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
7036
7037 2012-04-01 Chong Yidong <cyd@gnu.org>
7038
7039 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
7040 Handle root directory properly.
7041 (copy-directory): Caller changed.
7042
7043 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7044 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
7045
7046 2012-03-31 Glenn Morris <rgm@gnu.org>
7047
7048 * term/xterm.el (xterm-extra-capabilities): Doc fix.
7049
7050 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
7051
7052 * calendar/calendar.el (calendar-window-list)
7053 (calendar-hide-window): Restore. (Bug#11140)
7054 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
7055
7056 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
7057
7058 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7059
7060 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
7061 Check if file is a symlink (Bug#10489).
7062
7063 * files.el (copy-directory): Likewise.
7064
7065 2012-03-30 Chong Yidong <cyd@gnu.org>
7066
7067 * image.el (imagemagick-types-inhibit)
7068 (imagemagick-register-types): Doc fix.
7069
7070 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7071
7072 * textmodes/ispell.el (ispell-get-extended-character-mode):
7073 Disable extended-char-mode for hunspell. hunspell does not support it
7074 and treats ~word as ordinary words in pipe mode.
7075
7076 2012-03-30 Glenn Morris <rgm@gnu.org>
7077
7078 * tutorial.el (help-with-tutorial): Ensure local variables don't
7079 happen to make the buffer read-only. (Bug#11127)
7080
7081 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
7082
7083 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
7084 (perl-calculate-indent): Return `noindent' in strings.
7085
7086 2012-03-28 Sam Steingold <sds@gnu.org>
7087
7088 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
7089 instead of the broken adhockery which does not prevent calendar
7090 buffers from being displayed at random after exit.
7091 (calendar-window-list, calendar-hide-window): Remove the broken
7092 adhockery.
7093
7094 2012-03-28 Glenn Morris <rgm@gnu.org>
7095
7096 * replace.el (query-replace-map): Doc fix.
7097
7098 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
7099
7100 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
7101 contents. (Bug#11109)
7102
7103 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
7104
7105 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
7106 (bug#11077).
7107 (avl-tree--check, avl-tree--check-node): New funs.
7108
7109 2012-03-27 Martin Rudalics <rudalics@gmx.at>
7110
7111 * window.el (switch-to-visible-buffer): New option.
7112 (switch-to-prev-buffer, switch-to-next-buffer):
7113 Observe switch-to-visible-buffer. Make sure that checking for a window
7114 showing a buffer already is done on the same frame.
7115
7116 2012-03-27 Glenn Morris <rgm@gnu.org>
7117
7118 * startup.el (mail-host-address): Doc fix.
7119
7120 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
7121
7122 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
7123 than 197 variables.
7124
7125 2012-03-26 Ami Fischman <ami@fischman.org>
7126
7127 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
7128
7129 2012-03-26 Glenn Morris <rgm@gnu.org>
7130
7131 * files.el (save-buffers-kill-emacs): Doc fix.
7132
7133 * startup.el (normal-top-level, command-line, command-line-1):
7134 Give them doc strings.
7135
7136 2012-03-25 Eli Zaretskii <eliz@gnu.org>
7137
7138 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
7139 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
7140
7141 2012-03-25 Chong Yidong <cyd@gnu.org>
7142
7143 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
7144 theme if it was previously enabled before (Bug#11031).
7145
7146 * cus-theme.el (custom-theme-write-faces): Retrieve current face
7147 spec with custom-face-get-current-spec if its :shown-value is not
7148 determined yet (Bug#9337).
7149 (customize-create-theme, custom-theme-revert): Doc fixes.
7150
7151 * button.el (button-at): Minor addition to docstring.
7152
7153 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
7154
7155 * vc/vc.el (vc-merge): Fix a prompt.
7156
7157 2012-03-24 Chong Yidong <cyd@gnu.org>
7158
7159 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
7160 point (Bug#9623).
7161
7162 * button.el (button-at): Minor addition to docstring.
7163
7164 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
7165
7166 * newcomment.el (comment-choose-indent): No space after BOL.
7167
7168 2012-03-22 Sam Steingold <sds@gnu.org>
7169
7170 * window.el (switch-to-prev-buffer): Revert last patch because the
7171 bug turned out to be an advertised feature (Elisp manual 28.14).
7172
7173 2012-03-22 Glenn Morris <rgm@gnu.org>
7174
7175 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
7176 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
7177
7178 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
7179
7180 * net/network-stream.el (network-stream-open-starttls): Make error
7181 message under Windows be less misleading.
7182
7183 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
7184
7185 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
7186 understands (bug#9942).
7187
7188 2012-03-22 Chong Yidong <cyd@gnu.org>
7189
7190 * simple.el (end-of-visible-line): Handle return value of
7191 next-single-property-change properly (Bug#9371).
7192
7193 2012-03-22 Kenichi Handa <handa@m17n.org>
7194
7195 * international/quail.el (quail-insert-kbd-layout): Fix previous
7196 change. To avoid unwanted bidi reordering, use
7197 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
7198
7199 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
7200
7201 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
7202 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
7203 (ruby-beginning-of-indent): Be more careful with the difference
7204 between word-boundary and symbol boundary.
7205 (ruby-mode-syntax-table): Make : a symbol constituent.
7206
7207 2012-03-21 Andreas Politz <politza@fh-trier.de>
7208
7209 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
7210
7211 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7212
7213 * progmodes/etags.el (tags-completion-at-point-function):
7214 Improve last fix.
7215
7216 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
7217
7218 2012-03-21 Sam Steingold <sds@gnu.org>
7219
7220 * progmodes/etags.el (tags-completion-at-point-function):
7221 Avoid the error when point is inside the pattern.
7222
7223 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
7224
7225 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
7226 line (Bug#10855).
7227
7228 2012-03-21 Drew Adams <drew.adams@oracle.com>
7229
7230 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
7231
7232 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
7233
7234 * ido.el (ido-set-current-directory, ido-read-internal)
7235 (ido-choose-completion-string, ido-completion-help): Handle nil
7236 value of ido-completion-buffer (Bug#11008).
7237
7238 2012-03-21 Sam Steingold <sds@gnu.org>
7239
7240 * window.el (switch-to-prev-buffer): Do not switch to a visible
7241 window previous buffer, just like with the frame previous buffers.
7242
7243 2012-03-21 Chong Yidong <cyd@gnu.org>
7244
7245 * faces.el (make-face, make-empty-face, copy-face):
7246 * face-remap.el (face-remap-add-relative, face-remap-set-base):
7247 Doc fixes.
7248
7249 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
7250
7251 * wid-edit.el (widget-complete-field): Remove (bug#11051).
7252 (widget-complete): Remove broken use of it.
7253
7254 2012-03-20 Chong Yidong <cyd@gnu.org>
7255
7256 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
7257 Use string-width and truncate-string-width to handle arbitrary
7258 characters.
7259
7260 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
7261
7262 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
7263 to draw rectangles, not squares. (Regression introduced by revno
7264 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
7265
7266 2012-03-18 Chong Yidong <cyd@gnu.org>
7267
7268 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
7269 it is not yet defined (for temacs).
7270
7271 2012-03-18 Leo Liu <sdl.web@gmail.com>
7272
7273 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
7274
7275 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7276
7277 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
7278 (ispell-choices-win-default-height, ispell-silently-savep)
7279 (ispell-dictionary-alist, ispell-encoding8-command)
7280 (ispell-check-version, ispell-aspell-find-dictionary)
7281 (ispell-valid-dictionary-list, ispell-words-keyword)
7282 (ispell-get-word, ispell-internal-change-dictionary)
7283 (ispell-region, ispell-skip-region-list)
7284 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
7285 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
7286 (ispell-message-text-end, ispell-message)
7287 (ispell-buffer-local-parsing): Doc fix.
7288
7289 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
7290
7291 * htmlfontify.el: Add support for code block fontification for ODT
7292 export (Bug #9914).
7293 (hfy-optimisations): Define new option
7294 `body-text-only'
7295 (hfy-fontify-buffer): Honor above setting.
7296 (hfy-begin-span, hfy-end-span): New routines factored out form
7297 `hfy-fontify-buffer'.
7298 (hfy-begin-span-handler, hfy-end-span-handler): New variables
7299 that permit insertion of custom tags.
7300 (hfy-fontify-buffer): Use above handlers.
7301 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
7302 (hfy-face-to-css): Re-defined to be a variable.
7303 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
7304 over multiple runs. This is made possible by having the caller let
7305 bind a special variable `hfy-user-sheet-assoc'.
7306 (htmlfontify-string): New defun.
7307 (hfy-compile-face-map): Make sure that the last char in the
7308 buffer is correctly fontified.
7309 (hfy-face-resolve-face): Whitespace only change.
7310
7311 2012-03-17 Eli Zaretskii <eliz@gnu.org>
7312
7313 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
7314 message more clear.
7315
7316 2012-03-16 Leo Liu <sdl.web@gmail.com>
7317
7318 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
7319
7320 2012-03-16 Alan Mackenzie <acm@muc.de>
7321
7322 Further optimise the handling of large macros.
7323
7324 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
7325 limit to a call of `c-literal-limits'.
7326 (c-determine-+ve-limit): New function.
7327 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
7328 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
7329 In CASE 5B, restrict a search limit to 500.
7330 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
7331
7332 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
7333 Restrict macro bounds to +-500 from after-change's BEG END.
7334
7335 2012-03-16 Leo Liu <sdl.web@gmail.com>
7336
7337 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
7338
7339 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
7340
7341 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
7342 `special-mode' setting of `buffer-read-only'. (Bug#11010)
7343
7344 2012-03-16 Glenn Morris <rgm@gnu.org>
7345
7346 * view.el (view-buffer, view-buffer-other-window)
7347 (view-buffer-other-frame): Doc fixes re special mode-class.
7348
7349 * subr.el (eval-after-load): If named feature is provided not from
7350 a file, run after-load forms. (Bug#10946)
7351
7352 * calendar/calendar.el (calendar-insert-at-column):
7353 Handle non-unit-width characters a bit better. (Bug#10978)
7354
7355 2012-03-15 Chong Yidong <cyd@gnu.org>
7356
7357 * emacs-lisp/ring.el (ring-extend): New function.
7358 (ring-insert+extend): Extend the ring correctly (Bug#11019).
7359
7360 * comint.el (comint-read-input-ring)
7361 (comint-add-to-input-history): Grow comint-input-ring lazily.
7362
7363 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
7364
7365 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
7366 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
7367
7368 * imenu.el: Fix multiple inheritance breakage (bug#9199).
7369 (imenu-add-to-menubar): Don't add a redundant index.
7370 (imenu-update-menubar): Handle a dynamically composed keymap.
7371
7372 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
7373
7374 * mail/sendmail.el (mail-encode-header):
7375 Bind rfc2047-encode-encoded-words to nil.
7376
7377 2012-03-13 Glenn Morris <rgm@gnu.org>
7378
7379 * calendar/calendar.el (calendar-string-spread):
7380 Handle non-unit-width characters a bit better. (Bug#10978)
7381
7382 2012-03-13 Leo Liu <sdl.web@gmail.com>
7383
7384 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
7385 directory and file as argument (Bug#10822).
7386
7387 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7388
7389 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
7390 For dynamically generated code, follow $PC.
7391 (gdb-disassembly-handler-custom): Handle no function name case.
7392
7393 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
7394
7395 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
7396 * emulation/ws-mode.el (ws-query-replace):
7397 * sort.el (sort-regexp-fields):
7398 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
7399
7400 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7401
7402 * dabbrev.el: Fix cycle completion order (bug#10963).
7403 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
7404 (dabbrev-completion): Don't use an obarray; provide
7405 a cycle-sort-function.
7406
7407 2012-03-12 Leo Liu <sdl.web@gmail.com>
7408
7409 * simple.el (kill-new): Use equal-including-properties for comparison.
7410 (kill-do-not-save-duplicates): Doc fix.
7411
7412 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7413
7414 * dabbrev.el: Fix cycle completion (bug#10963).
7415 Use lexical binding and wrap to 80 columns.
7416 (dabbrev-completion): Delay computing the list of completions.
7417
7418 2012-03-12 Kenichi Handa <handa@m17n.org>
7419
7420 * international/quail.el (quail-insert-kbd-layout): Surround each
7421 row by LRO and PDF instead of inserting many LRMs. Pad the left
7422 and right of each non-spacing marks. Insert invisible space
7423 between lower and upper characters to prevent composition.
7424
7425 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
7426
7427 * minibuffer.el (minibuffer-complete): Don't get confused when the
7428 function is run twice via different commands (bug#10958).
7429 (complete-with-action): Fix docstring.
7430
7431 2012-03-12 Chong Yidong <cyd@gnu.org>
7432
7433 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
7434 (nxml-completion-at-point-function): New function.
7435 (nxml-mode): Use it.
7436 (nxml-bind-meta-tab-to-complete-flag): Default to t.
7437
7438 * emacs-lisp/package.el (package-unpack, package-unpack-single):
7439 Load generated autoloads file before byte compiling (Bug#10970).
7440 (package--make-autoloads-and-compile): New helper fun.
7441
7442 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
7443
7444 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
7445
7446 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
7447
7448 * autorevert.el (auto-revert-handler): Ensure, that
7449 file-readable-p is applied only for local files or in
7450 auto-revert-tail-mode.
7451
7452 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
7453
7454 * server.el (server-eval-at): Handle non-tcp connections.
7455 Decode result string.
7456
7457 * server.el (server-msg-size): New constant.
7458 (server-reply-print): New function.
7459 (server-eval-and-print): Use it.
7460 (server-eval-at): Use server-quote-arg and server-unquote-arg.
7461 Handle -print-nonl.
7462
7463 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
7464
7465 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7466 (Bug#10987).
7467
7468 2012-03-11 Chong Yidong <cyd@gnu.org>
7469
7470 * simple.el (goto-line): Doc fix (Bug#9938).
7471
7472 * subr.el (save-window-excursion): Doc fix (Bug#9979).
7473
7474 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7475 when finished (Bug#10963).
7476
7477 2012-03-11 Martin Rudalics <rudalics@gmx.at>
7478
7479 * window.el (split-window-below): Fix bug in case where
7480 split-window-keep-point is nil (Bug#10971).
7481
7482 2012-03-11 Juri Linkov <juri@jurta.org>
7483
7484 * replace.el (replace-highlight): Set isearch-word to nil
7485 unconditionally. (Bug#10887)
7486
7487 2012-03-10 Eli Zaretskii <eliz@gnu.org>
7488
7489 * net/mairix.el (mairix-replace-invalid-chars): Rename from
7490 mairix-replace-illegal-chars; all callers changed. Don't remove
7491 ^, ~, and = characters: they are meaningful in mairix search specs.
7492 (mairix-widget-create-query): Add usage information about mairix
7493 search forms: negating words, searching for substrings, etc.
7494
7495 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
7496
7497 * international/fontset.el (font-encoding-alist): Add an entry for
7498 ksx1001 (Bug#5667).
7499
7500 2012-03-10 Richard Stallman <rms@gnu.org>
7501
7502 * mail/sendmail.el (mail-encode-header):
7503 Set rfc2047-encode-encoded-words.
7504
7505 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7506
7507 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7508 view buffer means not swapped.
7509 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7510 (rmail-write-region-annotate): Error if real text has disappeared.
7511
7512 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7513
7514 2012-03-10 Chong Yidong <cyd@gnu.org>
7515
7516 * emulation/cua-rect.el (cua--init-rectangles):
7517 * emulation/cua-base.el (cua--init-keymaps):
7518 Add delete-forward-char to remappings (Bug#9666).
7519
7520 2012-03-10 Martin Rudalics <rudalics@gmx.at>
7521
7522 * speedbar.el (speedbar-unhighlight-one-tag-line):
7523 Avoid unhighlighting due to frame switching (Bug#10275).
7524
7525 2012-03-10 Chong Yidong <cyd@gnu.org>
7526
7527 * minibuffer.el (completion-in-region, completion-help-at-point):
7528 Give the completion field overlay a high priority (Bug#6830).
7529
7530 * dired.el (dired-goto-file): Recognize absolute file name
7531 listings (Bug#7126).
7532 (dired-goto-file-1): New helper function.
7533 (dired-toggle-read-only): Inhibit warnings.
7534
7535 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
7536
7537 * net/dbus.el (dbus-property-handler): Return empty array if
7538 there are no properties.
7539
7540 2012-03-09 Leo Liu <sdl.web@gmail.com>
7541
7542 * savehist.el (savehist-printable): Stricter check for string
7543 value (Bug#10937).
7544
7545 2012-03-09 Eli Zaretskii <eliz@gnu.org>
7546
7547 * mail/smtpmail.el (smtpmail-send-it):
7548 Bind coding-system-for-write to *-unix, so that FCC files are kept in
7549 valid mbox format.
7550
7551 2012-03-09 Glenn Morris <rgm@gnu.org>
7552
7553 * files.el (dir-locals-find-file):
7554 Don't check result is regular, readable.
7555 (dir-locals-read-from-file): Demote errors.
7556
7557 2012-03-08 Eli Zaretskii <eliz@gnu.org>
7558
7559 * international/quail.el (quail-insert-kbd-layout):
7560 Insert invisible LRM characters before each character in a keyboard
7561 layout cell, to prevent their reordering by bidi display engine.
7562 For details, see the discussion in
7563 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7564
7565 2012-03-08 Alan Mackenzie <acm@muc.de>
7566
7567 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7568 the starting position; make it extend the marked region when
7569 invoked repeatedly - all under appropriate circumstances.
7570 Fixes bugs #5525, #10906.
7571
7572 2012-03-08 Glenn Morris <rgm@gnu.org>
7573
7574 * files.el (locate-dominating-file, dir-locals-find-file):
7575 Undo 2012-03-06 change.
7576
7577 2012-03-07 Eli Zaretskii <eliz@gnu.org>
7578
7579 * international/quail.el (quail-help):
7580 Force bidi-paragraph-direction be left-to-right. See discussion in
7581 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7582 for the reason.
7583
7584 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
7585
7586 Avoid superfluous registering of signals. (Bug#10807)
7587
7588 * notifications.el (notifications-on-action-object)
7589 (notifications-on-close-object): New defvars.
7590 (notifications-on-action-signal, notifications-on-closed-signal):
7591 Unregister the signal if not needed any longer.
7592 (notifications-notify): Register `notifications-action-signal' or
7593 `notifications-closed-signal', if :on-action or :on-close has been
7594 passed as argument.
7595
7596 2012-03-07 Chong Yidong <cyd@gnu.org>
7597
7598 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7599 non-X platforms.
7600
7601 2012-03-06 Glenn Morris <rgm@gnu.org>
7602
7603 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7604 (x-disown-selection-internal, x-get-selection-internal):
7605 Doc fix (add arglist signatures). (Bug#10783)
7606
7607 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
7608
7609 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7610 Handle breakpoints with no "type".
7611
7612 2012-03-06 Glenn Morris <rgm@gnu.org>
7613
7614 * files.el (locate-dominating-file): Add optional predicate argument.
7615 (dir-locals-find-file): Make use of above change.
7616
7617 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
7618
7619 * info.el (Info-insert-dir): Also try "dir.gz".
7620
7621 2012-03-06 Glenn Morris <rgm@gnu.org>
7622
7623 * files.el (dir-locals-find-file):
7624 Ignore non-readable or non-regular files. (Bug#10928)
7625
7626 * files.el (locate-dominating-file): Doc fix.
7627
7628 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
7629
7630 * calendar/calendar.el (calendar-set-mode-line):
7631 `getenv' returns a string. (Bug#10951)
7632
7633 2012-03-05 Leo Liu <sdl.web@gmail.com>
7634
7635 * simple.el (backward-delete-char-untabify): Constrain point to
7636 field (Bug#10939).
7637
7638 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7639
7640 2012-03-05 Chong Yidong <cyd@gnu.org>
7641
7642 * simple.el (count-words): If called from Lisp, return the word
7643 count, for symmetry with `count-lines'. Arglist changed.
7644 (count-words--message): Args changed. Consolidate counting code
7645 from count-words and count-words-region.
7646 (count-words-region): Caller changed.
7647 (count-lines-region): Make it an obsolete alias.
7648
7649 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
7650
7651 * saveplace.el (save-place-to-alist)
7652 (save-place-ignore-files-regexp): Allow value nil to disable this
7653 feature.
7654
7655 2012-03-04 Chong Yidong <cyd@gnu.org>
7656
7657 * faces.el (face-spec-reset-face): For the default face, reset the
7658 attributes to default values (Bug#10748).
7659
7660 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
7661
7662 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7663 previous patch: Check `message-send-mail-function', and not the
7664 default function (bug#10897).
7665
7666 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
7667
7668 * notifications.el (notifications-on-action-signal)
7669 (notifications-on-closed-signal): Check for unique service name of
7670 incoming event. Fix error in removing entry.
7671 (top): Register for signals with wildcard service name.
7672 (notifications-notify): Use daemon unique service name for map entries.
7673
7674 2012-03-04 Chong Yidong <cyd@gnu.org>
7675
7676 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7677
7678 2012-03-04 Glenn Morris <rgm@gnu.org>
7679
7680 * abbrev.el (copy-abbrev-table, abbrev-table-p)
7681 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7682 (expand-abbrev, define-abbrev-table): Doc fixes.
7683
7684 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7685
7686 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7687 `message-default-send-mail-function' and not `send-mail-function'
7688 when doing the prompting for `sendmail-query-once' before sending
7689 in Message buffers (bug#10897).
7690
7691 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7692 This is inconsistent with all the other stream functions, which leave
7693 the setting up to the higher levels (if so wanted) (bug#10931).
7694
7695 2012-03-02 Alan Mackenzie <acm@muc.de>
7696
7697 Depessimize the handling of very large macros.
7698
7699 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7700 (c-macro-cache-syntactic): New variables to implement a one
7701 element macro cache.
7702 (c-invalidate-macro-cache): New function.
7703 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7704 Adapt to use the new cache.
7705 (c-state-safe-place): Use better the cache of safe positions.
7706 (c-state-semi-nonlit-pos-cache)
7707 (c-state-semi-nonlit-pos-cache-limit):
7708 New variables for...
7709 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
7710 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7711 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7712 Use c-state-semi-safe-place.
7713
7714 * progmodes/cc-langs.el (c-get-state-before-change-functions):
7715 Add c-invalidate-macro-cache to the C, C++, Obj entries.
7716
7717 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
7718
7719 * jka-compr.el (jka-compr-call-process):
7720 Apply `file-accessible-directory-p' only when the default directory is
7721 not remote.
7722
7723 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
7724
7725 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
7726 access of FILE2, if FILE1 does not exist.
7727
7728 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7729 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7730
7731 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7732 Add "PAGER=" to `process-environment'.
7733
7734 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
7735
7736 * progmodes/sql.el: Bug fix
7737 (sql-get-login-ext): Save login values in globals.
7738 (sql-get-login): Use new version of `sql-get-login-ext'.
7739 (sql-interactive-mode): Set global `sql-connection' to nil.
7740 (sql-connect): Set global values for connection.
7741 (sql-product-interactive): Save global values as buffer local.
7742
7743 2012-02-29 Leo Liu <sdl.web@gmail.com>
7744
7745 * abbrev.el (define-abbrevs): Reset sys to nil.
7746
7747 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7748
7749 * files.el (file-equal-p): Rename from `files-equal-p'.
7750 Return nil when one or both files don't exist.
7751 (file-subdir-of-p): Now only top directory must exists,
7752 return nil if it doesn't.
7753 (copy-directory): No need to test with `file-subdir-of-p' after
7754 creating dir.
7755 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7756 to `file-equal-p'.
7757
7758 2012-02-28 Glenn Morris <rgm@gnu.org>
7759
7760 * shell.el (shell-mode):
7761 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7762 * play/landmark.el (landmark-font-lock-face-O):
7763 * play/handwrite.el (handwrite):
7764 * play/gomoku.el (gomoku-O):
7765 * net/browse-url.el (browse-url-browser-display):
7766 * international/mule.el (define-charset):
7767 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7768 * filesets.el (filesets-find-file-delay):
7769 * eshell/em-xtra.el (eshell-xtra):
7770 * eshell/em-unix.el (eshell-grep):
7771 * emulation/viper.el (viper-mode):
7772 * emacs-lisp/regexp-opt.el (regexp-opt-group):
7773 * emacs-lisp/easymenu.el (easy-menu-define):
7774 * calendar/timeclock.el (timeclock-use-display-time):
7775 * bs.el (bs-mode):
7776 * bookmark.el (bookmark-save-flag):
7777 Doc fix (standardize possessive apostrophe usage).
7778
7779 2012-02-27 Chong Yidong <cyd@gnu.org>
7780
7781 * emulation/viper-cmd.el (viper-intercept-ESC-key):
7782 Fix key-binding lookup for ESC key (Bug#9146).
7783
7784 * font-lock.el (font-lock-specified-p): Rename from
7785 font-lock-spec-present. Callers changed.
7786
7787 2012-02-27 Daniel Hackney <dan@haxney.org>
7788
7789 * emacs-lisp/package.el (package-compute-transaction):
7790 Handle holding a package version to t in package-load-list.
7791
7792 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7795 (tramp-get-inode, tramp-get-device): Use cached values.
7796
7797 2012-02-26 Alan Mackenzie <acm@muc.de>
7798
7799 Check there is a font-lock specification before doing initial
7800 fontification.
7801
7802 * font-core.el (font-lock-mode): Move the conditional from
7803 :after-hook to font-lock-initial-fontify.
7804 (font-lock-default-function): Move the check for a specification
7805 to font-lock-spec-present.
7806
7807 * font-lock.el (font-lock-initial-fontify): Call ...
7808 (font-lock-spec-present): New function.
7809
7810 2012-02-26 Jim Blandy <jimb@red-bean.com>
7811
7812 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7813 (gdb-send): Apply it to the operand of the '-interpreter-exec
7814 console' command, so that we can pass arguments with (say) quotes
7815 in them. Store exact string sent in gdb-debug-log (Bug#10765).
7816
7817 2012-02-26 Chong Yidong <cyd@gnu.org>
7818
7819 * help-fns.el (describe-function-1): Clarify description of
7820 remapping (Bug#10844).
7821
7822 * files.el (files-equal-p): Doc fix.
7823 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
7824 and quit the loop once a mismatch is found.
7825
7826 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
7827
7828 * bs.el (bs--show-with-configuration): Don't throw an error
7829 if the window cannot be split; otherwise, subsequent calls to
7830 bs-show fail, restoring a stale window config. (Bug#10882)
7831
7832 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
7833
7834 * term/ns-win.el (global-map): Bind ns-drag-file to
7835 ns-find-file (Bug#5855, Bug#10050).
7836
7837 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
7838
7839 * calendar/parse-time.el (parse-time-string): Allow extractor to
7840 return nil.
7841
7842 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
7843
7844 * net/tramp.el (tramp-file-name-for-operation):
7845 Add `files-equal-p' and `file-subdir-of-p'.
7846
7847 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7848 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7849 Add COPY-CONTENTS argument.
7850
7851 2012-02-25 Chong Yidong <cyd@gnu.org>
7852
7853 Add custom groups for VC backends, for consistency with vc-bzr.
7854
7855 * vc/vc-arch.el (vc-arch):
7856 * vc/vc-cvs.el (vc-cvs):
7857 * vc/vc-git.el (vc-git):
7858 * vc/vc-hg.el (vc-hg):
7859 * vc/vc-mtn.el (vc-mtn):
7860 * vc/vc-rcs.el (vc-rcs):
7861 * vc/vc-sccs.el (vc-sccs):
7862 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7863 All relevant defcustoms reassigned.
7864
7865 2012-02-25 Chong Yidong <cyd@gnu.org>
7866
7867 * newcomment.el (comment-styles): Add autoload (Bug#10868).
7868
7869 * term/x-win.el (x-initialize-window-system): Reduce default for
7870 x-selection-timeout to 5 seconds (Bug#8869).
7871
7872 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7873
7874 * files.el (files-equal-p, file-subdir-of-p): New functions.
7875 (copy-directory): Error when trying to copy a directory on itself.
7876 Add missing copy-contents arg to tramp handler.
7877 * dired-aux.el (dired-copy-file-recursive): Same.
7878 (dired-create-files): Modify destination when source is equal to
7879 dest when copying files.
7880 Return also when dest is a subdir of source. (Bug#10489)
7881
7882 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
7883
7884 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7885 (Bug#10874)
7886
7887 2012-02-23 Alan Mackenzie <acm@muc.de>
7888
7889 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7890 parameter "after-hook:" to allow the expansion to run code after
7891 the execution of the mode hooks.
7892
7893 * font-lock.el (font-lock-initial-fontify): New function extracted
7894 from font-lock-mode-internal.
7895
7896 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7897 :after-hook.
7898
7899 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7902 (completion--cache-all-sorted-completions): New function.
7903 (completion-all-sorted-completions): Use it.
7904 (completion--do-completion, minibuffer-force-complete):
7905 Use it to re-instate the flush hook.
7906
7907 * icomplete.el (icomplete-completions): Replace last fix with a better
7908 one (bug#10850).
7909
7910 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
7911
7912 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7913 when it might call us back infinitely (bug#10797).
7914
7915 2012-02-23 Glenn Morris <rgm@gnu.org>
7916
7917 * minibuffer.el (completion-category-overrides): Doc fix.
7918
7919 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
7920
7921 * minibuffer.el (completion-table-with-context): Fix inf-loop.
7922 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7923
7924 2012-02-23 Glenn Morris <rgm@gnu.org>
7925
7926 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7927 (authors-obsolete-files-regexps, authors-ignored-files)
7928 (authors-ambiguous-files, authors-renamed-files-alist):
7929 Add more entries.
7930
7931 2012-02-23 Juri Linkov <juri@jurta.org>
7932
7933 * isearch.el (isearch-occur): Sync interactive spec with occur's
7934 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
7935
7936 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7937
7938 2012-02-22 Juri Linkov <juri@jurta.org>
7939
7940 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7941 (ucs-insert): Doc fix. Check for hex digits in the string.
7942 Don't display `nil' in the error message. (Bug#10857)
7943
7944 2012-02-22 Alan Mackenzie <acm@muc.de>
7945
7946 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7947
7948 2012-02-22 Glenn Morris <rgm@gnu.org>
7949
7950 * ffap.el (ffap-c-path):
7951 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
7952
7953 2012-02-22 Chong Yidong <cyd@gnu.org>
7954
7955 * custom.el (load-theme): Doc fix.
7956
7957 2012-02-22 Glenn Morris <rgm@gnu.org>
7958
7959 * dired-x.el (dired-guess-shell-alist-default):
7960 Remove escape sequences from nroff output. (Bug#172)
7961
7962 2012-02-21 Glenn Morris <rgm@gnu.org>
7963
7964 * vc/emerge.el (emerge-defvar-local):
7965 Set `permanent-local' property rather than unused `preserved'.
7966
7967 * textmodes/picture.el (picture-delete-char): New alias.
7968 (picture-mode-map): Use it. (Bug#10860)
7969 (picture-mode): Doc fix.
7970
7971 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
7972
7973 * newcomment.el (uncomment-region-default): Remove unused binding.
7974
7975 2012-02-21 Glenn Morris <rgm@gnu.org>
7976
7977 * textmodes/picture.el (picture-motion, picture-motion-reverse)
7978 (picture-self-insert, picture-tab-chars): Doc fix.
7979 (picture-mode-map): Fix C-a, C-e.
7980
7981 2012-02-20 Glenn Morris <rgm@gnu.org>
7982
7983 * emacs-lisp/authors.el (authors-aliases): Add another entry.
7984
7985 2012-02-20 Leo Liu <sdl.web@gmail.com>
7986
7987 * icomplete.el (icomplete-completions): Check FROM arg before
7988 passing to substring (Bug#10850).
7989
7990 2012-02-19 Chong Yidong <cyd@gnu.org>
7991
7992 * comint.el: Require ansi-color.
7993 (comint-output-filter-functions): Add ansi-color-process-output.
7994
7995 * ansi-color.el: Don't set comint-output-filter-functions; it is
7996 now in the initial value defined in comint.el.
7997 (ansi-color-apply-face-function): New variable.
7998 (ansi-color-apply-on-region): Use it.
7999 (ansi-color-apply-overlay-face): New function.
8000
8001 * shell.el (shell): No need to require ansi-color.
8002 (shell-mode): Use ansi-color-apply-face-function to highlight
8003 color escapes using font-lock-face property (Bug#10835).
8004
8005 2012-02-19 Chong Yidong <cyd@gnu.org>
8006
8007 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
8008 mode-line formats (Bug#10839).
8009
8010 2012-02-18 Glenn Morris <rgm@gnu.org>
8011
8012 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
8013
8014 * mail/undigest.el (unforward-rmail-message): Doc fix.
8015
8016 * saveplace.el (save-place-ignore-files-regexp): Add :version.
8017
8018 2012-02-18 Eli Zaretskii <eliz@gnu.org>
8019
8020 * international/characters.el (script-list): Sync with the latest
8021 Unicode Character Database.
8022
8023 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
8024
8025 * international/titdic-cnv.el: Remove duplicate coding tag.
8026 * language/cham.el: Likewise.
8027 * language/tai-viet.el: Likewise.
8028
8029 2012-02-18 Glenn Morris <rgm@gnu.org>
8030
8031 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
8032 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
8033 (calendar-bahai-all-holidays-flag, calendar-other-dates):
8034 * calendar/diary-lib.el (diary-abbreviated-year-flag):
8035 * calendar/holidays.el (holiday-bahai-holidays)
8036 (calendar-holidays, list-holidays):
8037 Use utf-8 Bahá'í in doc-strings, menus, etc.
8038
8039 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
8040
8041 * saveplace.el (save-place-ignore-files-regexp): New variable
8042 allowing for excluding files from saving their location of point.
8043 The default value matches the temporary commit message editing
8044 files from Git, SVN, Bazaar, and Mercurial.
8045 (save-place-to-alist): Use it.
8046
8047 2012-02-17 Lawrence Mitchell <wence@gmx.li>
8048 Stefan Monnier <monnier@iro.umontreal.ca>
8049
8050 * newcomment.el (uncomment-region-default): Don't leave extra space
8051 when an arg is provided (bug#8150).
8052
8053 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
8054
8055 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
8056
8057 2012-02-17 Glenn Morris <rgm@gnu.org>
8058
8059 * net/socks.el: Require network-stream. (Bug#10599)
8060
8061 2012-02-17 Kenichi Handa <handa@m17n.org>
8062
8063 * international/charprop.el:
8064 * international/uni-name.el:
8065 * international/uni-old-name.el:
8066 * international/uni-comment.el: Regenerate.
8067
8068 2012-02-16 Glenn Morris <rgm@gnu.org>
8069
8070 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
8071 Interactively in calendar buffer, give an error if not on a date.
8072
8073 2012-02-15 Glenn Morris <rgm@gnu.org>
8074
8075 * shell.el (shell-delimiter-argument-list):
8076 Revert 2011-02-17 change. (Bug#8027)
8077
8078 2012-02-15 Chong Yidong <cyd@gnu.org>
8079
8080 * minibuffer.el (completion-at-point-functions): Doc fix.
8081
8082 * custom.el (defcustom): Doc fix; note use of defvar.
8083
8084 2012-02-15 Glenn Morris <rgm@gnu.org>
8085
8086 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
8087 Doc fixes.
8088
8089 2012-02-14 Glenn Morris <rgm@gnu.org>
8090
8091 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
8092
8093 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
8094
8095 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
8096 way the ports list is computed.
8097 (smtpmail-query-smtp-server): Prompt the user for a port number if
8098 we can't connect to any of the standard ports (bug#10810).
8099
8100 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
8101
8102 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
8103
8104 2012-02-13 Glenn Morris <rgm@gnu.org>
8105
8106 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
8107
8108 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
8109
8110 * net/gnutls.el (gnutls-trustfiles): New variable.
8111 (gnutls-negotiate): Use it.
8112
8113 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
8114
8115 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
8116 does its stuff if Gnus is running.
8117
8118 2012-02-13 Alan Mackenzie <acm@muc.de>
8119
8120 Fix a loop in c-set-fl-decl-start.
8121
8122 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
8123 c-backward-syntactic-ws actually moves backwards.
8124
8125 2012-02-13 Leo Liu <sdl.web@gmail.com>
8126
8127 * net/rcirc.el (rcirc-markup-attributes): Move point to the
8128 beginning so that all \C-o chars are removed.
8129
8130 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
8131
8132 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
8133
8134 2012-02-12 Alan Mackenzie <acm@muc.de>
8135
8136 Fix infinite loop with long macros.
8137 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
8138
8139 2012-02-12 Chong Yidong <cyd@gnu.org>
8140
8141 * window.el (display-buffer): Doc fix (Bug#10785).
8142
8143 2012-02-12 Glenn Morris <rgm@gnu.org>
8144
8145 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8146 (x-disown-selection-internal, x-get-selection-internal):
8147 Sync docs with the xselect.c versions.
8148
8149 * allout-widgets.el: Add missing license notice.
8150
8151 2012-02-11 Glenn Morris <rgm@gnu.org>
8152
8153 * select.el (x-get-selection-internal, x-own-selection-internal)
8154 (x-disown-selection-internal):
8155 * x-dnd.el (x-get-selection-internal): Update declarations.
8156
8157 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
8158
8159 * window.el (window-sides-slots):
8160 * tool-bar.el (tool-bar-position):
8161 * term/xterm.el (xterm-extra-capabilities):
8162 * ses.el (ses-self-reference-early-detection):
8163 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
8164 (verilog-auto-wire-type)
8165 (verilog-auto-delete-trailing-whitespace)
8166 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
8167 (verilog-auto-tieoff-declaration):
8168 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
8169 (sql-oracle-statement-starters, sql-oracle-scan-on):
8170 * progmodes/prolog.el (prolog-align-comments-flag)
8171 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
8172 (prolog-left-indent-regexp, prolog-paren-indent-p)
8173 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
8174 (prolog-types, prolog-mode-specificators)
8175 (prolog-determinism-specificators, prolog-directives)
8176 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
8177 (prolog-electric-dot-flag)
8178 (prolog-electric-dot-full-predicate-template)
8179 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
8180 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
8181 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
8182 (prolog-program-switches, prolog-prompt-regexp)
8183 (prolog-debug-on-string, prolog-debug-off-string)
8184 (prolog-trace-on-string, prolog-trace-off-string)
8185 (prolog-zip-on-string, prolog-zip-off-string)
8186 (prolog-use-standard-consult-compile-method-flag)
8187 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
8188 (prolog-imenu-max-lines, prolog-info-predicate-index)
8189 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
8190 (prolog-char-quote-workaround):
8191 * progmodes/cc-vars.el (c-defun-tactic):
8192 * net/tramp.el (tramp-encoding-command-interactive)
8193 (tramp-local-end-of-line):
8194 * net/soap-client.el (soap-client):
8195 * net/netrc.el (netrc-file):
8196 * net/gnutls.el (gnutls):
8197 * minibuffer.el (completion-category-overrides)
8198 (completion-cycle-threshold)
8199 (completion-pcm-complete-word-inserts-delimiters):
8200 * man.el (Man-name-local-regexp):
8201 * mail/feedmail.el (feedmail-display-full-frame):
8202 * international/characters.el (glyphless-char-display-control):
8203 * eshell/em-ls.el (eshell-ls-date-format):
8204 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
8205 (lisp-lambda-list-keyword-parameter-indentation)
8206 (lisp-lambda-list-keyword-parameter-alignment):
8207 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
8208 * dired-x.el (dired-omit-verbose):
8209 * cus-theme.el (custom-theme-allow-multiple-selections):
8210 * calc/calc.el (calc-highlight-selections-with-faces)
8211 (calc-lu-field-reference, calc-lu-power-reference)
8212 (calc-note-threshold):
8213 * battery.el (battery-mode-line-limit):
8214 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
8215 (archive-7z-update):
8216 * allout.el (allout-prefixed-keybindings)
8217 (allout-unprefixed-keybindings)
8218 (allout-inhibit-auto-fill-on-headline)
8219 (allout-flattened-numbering-abbreviation):
8220 * allout-widgets.el (allout-widgets-auto-activation)
8221 (allout-widgets-icons-dark-subdir)
8222 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
8223 (allout-widgets-theme-dark-background)
8224 (allout-widgets-theme-light-background)
8225 (allout-widgets-item-image-properties-emacs)
8226 (allout-widgets-item-image-properties-xemacs)
8227 (allout-widgets-run-unit-tests-on-load)
8228 (allout-widgets-time-decoration-activity)
8229 (allout-widgets-hook-error-post-time)
8230 (allout-widgets-track-decoration):
8231 Add missing :version tags to new defcustoms and defgroups.
8232
8233 * progmodes/sql.el (sql-ansi-statement-starters)
8234 (sql-oracle-statement-starters): Add custom type.
8235
8236 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
8237 (prolog-system-version): Give it a type.
8238
8239 2012-02-11 Eli Zaretskii <eliz@gnu.org>
8240
8241 * term/pc-win.el (x-select-text, x-selection-owner-p)
8242 (x-own-selection-internal, x-disown-selection-internal)
8243 (x-get-selection-internal): Sync doc strings and argument lists
8244 with xselect.c, common-win.el and x-win.el. (Bug#10783)
8245
8246 2012-02-11 Leo Liu <sdl.web@gmail.com>
8247
8248 * progmodes/python.el (python-end-of-statement): Fix infinite
8249 loop. (Bug#10788)
8250
8251 2012-02-10 Glenn Morris <rgm@gnu.org>
8252
8253 * international/mule-cmds.el (unify-8859-on-encoding-mode)
8254 (unify-8859-on-decoding-mode): Properly mark as obsolete.
8255
8256 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
8257
8258 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
8259 about SMTP before checking the From header.
8260
8261 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
8262 into own function for reuse by emacsbug.el.
8263
8264 2012-02-10 Leo Liu <sdl.web@gmail.com>
8265
8266 * subr.el (condition-case-unless-debug): Rename from
8267 condition-case-no-debug. All callers changed.
8268 (with-demoted-errors): Fix caller.
8269
8270 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
8271 * nxml/rng-valid.el (rng-do-some-validation):
8272 * emacs-lisp/package.el (package-refresh-contents)
8273 (package-menu-execute):
8274 * desktop.el (desktop-create-buffer):
8275 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
8276
8277 2012-02-10 Glenn Morris <rgm@gnu.org>
8278
8279 * textmodes/bibtex.el:
8280 Add missing :version tags for new/changed defcustoms.
8281
8282 * files.el (remote-file-name-inhibit-cache): Doc fixes.
8283
8284 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
8285
8286 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
8287 (smtpmail-via-smtp): Use it, or fall back on the From address.
8288 (smtpmail-send-it): Ditto.
8289
8290 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
8291
8292 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
8293 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
8294 (byte-compile-tmp-var): New const.
8295 (byte-compile-defvar): Use it to minimize .elc size.
8296 Just use `defvar' rather than simulate it (bug#10761).
8297
8298 2012-02-09 Glenn Morris <rgm@gnu.org>
8299
8300 * files.el (rename-uniquely): Doc fix. (Bug#3806)
8301
8302 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
8303 Add :version tags.
8304
8305 * progmodes/compile.el (compilation-error-screen-columns)
8306 (compilation-first-column, compilation-filter-start): Doc fixes.
8307
8308 * vc/log-view.el (log-view-toggle-entry-display):
8309 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
8310
8311 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
8312 (report-emacs-bug-can-use-xdg-email):
8313 (report-emacs-bug-insert-to-mailer): Doc fixes.
8314 (report-emacs-bug): Message fix.
8315
8316 * net/browse-url.el (browse-url-can-use-xdg-open)
8317 (browse-url-xdg-open): Doc fixes.
8318
8319 * electric.el (electric-indent-mode, electric-pair-mode)
8320 (electric-layout-rules, electric-layout-mode): Doc fixes.
8321 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
8322
8323 2012-02-08 Martin Rudalics <rudalics@gmx.at>
8324
8325 * server.el (server-unselect-display): Don't inadvertently kill
8326 the current buffer. (Bug#10729)
8327
8328 2012-02-08 Glenn Morris <rgm@gnu.org>
8329
8330 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
8331 (sql-list-table): Doc fixes.
8332
8333 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
8334 Comment out (does nothing).
8335
8336 * completion.el (dynamic-completion-mode):
8337 * dirtrack.el (dirtrack-debug-mode):
8338 * electric.el (electric-layout-mode):
8339 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
8340 * face-remap.el (text-scale-mode, buffer-face-mode):
8341 * iimage.el (iimage-mode):
8342 * image-mode.el (image-transform-mode):
8343 * minibuffer.el (completion-in-region-mode):
8344 * scroll-lock.el (scroll-lock-mode):
8345 * simple.el (next-error-follow-minor-mode):
8346 * tar-mode.el (tar-subfile-mode):
8347 * tooltip.el (tooltip-mode):
8348 * vcursor.el (vcursor-use-vcursor-map):
8349 * wid-browse.el (widget-minor-mode):
8350 * emulation/tpu-edt.el (tpu-edt-mode):
8351 * emulation/tpu-extras.el (tpu-cursor-free-mode):
8352 * international/iso-ascii.el (iso-ascii-mode):
8353 * language/thai-util.el (thai-word-mode):
8354 * mail/supercite.el (sc-minor-mode):
8355 * net/goto-addr.el (goto-address-mode):
8356 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
8357 * progmodes/cwarn.el (cwarn-mode):
8358 * progmodes/flymake.el (flymake-mode):
8359 * progmodes/glasses.el (glasses-mode):
8360 * progmodes/hideshow.el (hs-minor-mode):
8361 * progmodes/pascal.el (pascal-outline-mode):
8362 * textmodes/enriched.el (enriched-mode):
8363 * vc/smerge-mode.el (smerge-mode):
8364 Doc fixes (minor mode argument).
8365
8366 2012-02-07 Eli Zaretskii <eliz@gnu.org>
8367
8368 * ls-lisp.el (ls-lisp-sanitize): New function.
8369 (ls-lisp-insert-directory): Use it to fix or remove any elements
8370 in file-alist with missing attributes. (Bug#4673)
8371
8372 2012-02-07 Alan Mackenzie <acm@muc.de>
8373
8374 Fix spurious recognition of c-in-knr-argdecl.
8375
8376 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
8377 putative K&R region.
8378
8379 2012-02-07 Alan Mackenzie <acm@muc.de>
8380
8381 * progmodes/cc-engine.el (c-forward-objc-directive):
8382 Prevent looping in "#pragma mark @implementation".
8383
8384 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
8385
8386 * notifications.el (notifications-on-closed-signal): Make `reason'
8387 optional. (Bug#10744)
8388
8389 2012-02-07 Glenn Morris <rgm@gnu.org>
8390
8391 * emacs-lisp/easy-mmode.el (define-minor-mode):
8392 Doc fixes for the macro and the mode it defines.
8393
8394 * image.el (imagemagick-types-inhibit): Doc fix.
8395
8396 * cus-start.el (imagemagick-render-type): Add it.
8397
8398 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
8399
8400 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
8401 Set the default at load time, too, so that `font-lock-fontify-buffer'
8402 can be called without setting up the entire mode first. This fixes
8403 a bug in `mm-inline-text' with C MIME parts.
8404
8405 2012-02-06 Chong Yidong <cyd@gnu.org>
8406
8407 * simple.el (list-processes--refresh): Delete exited processes
8408 (Bug#8094).
8409
8410 * comint.el (comint-next-prompt): next-single-char-property-change
8411 and prev-single-char-property-change never return nil (Bug#8657).
8412
8413 * custom.el (defcustom): Doc fix (Bug#9711).
8414
8415 2012-02-05 Chong Yidong <cyd@gnu.org>
8416
8417 * cus-edit.el (custom-variable-reset-backup): Quote the value
8418 before storing it in the customized-value property (Bug#6712).
8419 (custom-display): Add a customization type tag.
8420 (custom-buffer-create-internal): Improve tooltip message.
8421
8422 * wid-edit.el (widget-field-value-get): New optional arg to
8423 suppress trailing whitespace truncation.
8424 (character): Use it (Bug#2689).
8425
8426 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
8427
8428 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
8429 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
8430
8431 2012-02-05 Chong Yidong <cyd@gnu.org>
8432
8433 * cus-edit.el (custom-variable-value-create): For mismatched
8434 types, show the current value (Bug#7600).
8435
8436 * custom.el (defcustom): Doc fix.
8437
8438 2012-02-05 Glenn Morris <rgm@gnu.org>
8439
8440 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
8441
8442 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
8443
8444 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
8445 (pp-buffer): Use `ignore-errors', `looking-at-p'.
8446 (pp-last-sexp): Use `looking-at-p'.
8447
8448 2012-02-04 Glenn Morris <rgm@gnu.org>
8449
8450 * files.el (revert-buffer):
8451 Doc fix (mention revert-buffer-in-progress-p).
8452
8453 * emacs-lisp/ert-x.el (ert-simulate-command):
8454 Check deferred-action-list (which is obsolete) is bound.
8455
8456 * subr.el (with-wrapper-hook): Doc fixes.
8457
8458 * simple.el (filter-buffer-substring-functions)
8459 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8460
8461 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
8462
8463 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8464 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
8465
8466 2012-02-04 Leo Liu <sdl.web@gmail.com>
8467
8468 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8469
8470 2012-02-04 Glenn Morris <rgm@gnu.org>
8471
8472 * image.el (image-extension-data): Add obsolete alias.
8473
8474 * isearch.el (isearch-update): Doc fix.
8475
8476 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8477
8478 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8479
8480 2012-02-03 Glenn Morris <rgm@gnu.org>
8481
8482 * image.el (image-animated-p): Doc fix. Use image-animated-types.
8483 (image-animate-timeout): Doc fix.
8484
8485 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8486
8487 2012-02-02 Glenn Morris <rgm@gnu.org>
8488
8489 * server.el (server-auth-dir): Doc fix.
8490 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
8491
8492 * subr.el (run-mode-hooks): Doc fix.
8493
8494 2012-02-02 Juri Linkov <juri@jurta.org>
8495
8496 * image-mode.el (image-toggle-display-image): Remove tautological
8497 `major-mode' from the `derived-mode-p' test.
8498
8499 2012-02-02 Kenichi Handa <handa@m17n.org>
8500
8501 * composite.el (compose-region): Cancel previous change.
8502
8503 2012-02-02 Kenichi Handa <handa@m17n.org>
8504
8505 * composite.el (compose-region, compose-string): Signal error for
8506 a null string component (Bug#6988).
8507
8508 2012-02-01 Chong Yidong <cyd@gnu.org>
8509
8510 * view.el (view-buffer-other-window, view-buffer-other-frame):
8511 Handle special modes like view-buffer (Bug#10650).
8512 (view-buffer): Simplify.
8513
8514 * frame.el (set-frame-font): Tweak meaning of third argument.
8515
8516 * dynamic-setting.el (font-setting-change-default-font):
8517 Use set-frame-font (Bug#9982).
8518
8519 2012-02-01 Glenn Morris <rgm@gnu.org>
8520
8521 * progmodes/compile.el (compilation-internal-error-properties):
8522 Respect compilation-first-column in the "*compilation*" buffer.
8523
8524 * emacs-lisp/easy-mmode.el (define-minor-mode):
8525 Relax :variable's test for a named function.
8526
8527 2012-01-31 Alan Mackenzie <acm@muc.de>
8528
8529 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8530 off by one error.
8531
8532 2012-01-31 Chong Yidong <cyd@gnu.org>
8533
8534 * frame.el (set-frame-font): New arg ALL-FRAMES.
8535
8536 * menu-bar.el (menu-set-font): Use set-frame-font.
8537
8538 * faces.el (face-spec-reset-face): Don't apply unspecified
8539 attribute values to the default face.
8540
8541 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * progmodes/cwarn.el (cwarn): Remove dead link.
8544 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8545 Remove * from defcustom docstrings.
8546 (turn-on-cwarn-mode): Make obsolete.
8547 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8548 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8549
8550 2012-01-31 Glenn Morris <rgm@gnu.org>
8551
8552 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8553 Fix :variable handling of mode a symbol not equal to modefun.
8554 Allow named functions to be used as the cdr of :variable.
8555
8556 2012-01-30 Glenn Morris <rgm@gnu.org>
8557
8558 * emacs-lisp/authors.el (authors-fixed-entries):
8559 Remove reference to deleted file rnewspost.el.
8560
8561 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
8562
8563 * window.el (window-with-parameter): Remove unused variable `windows'.
8564 (window--side-check): Remove unused variable `code'.
8565 (window--resize-siblings): Remove unused variable `first'.
8566 (adjust-window-trailing-edge): Remove unused variable `failed'.
8567 (window-deletable-p, window--delete): Remove unused variable `buffer'.
8568 Use `let', not `let*'.
8569 (balance-windows-2): Remove unused variable `found'.
8570 (window--state-put-2): Remove unused variable `splits'.
8571 (window-state-put): Remove unused variable `selected'.
8572 (same-window-p): Use `string-match-p'.
8573 (display-buffer-assq-regexp): Remove unused variable `value'.
8574 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8575 Mark argument ALIST as ignored.
8576 (pop-to-buffer): Remove unused variable `old-window'.
8577
8578 2012-01-29 Eli Zaretskii <eliz@gnu.org>
8579
8580 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8581 and .lzma compressed files.
8582
8583 2012-01-29 Chong Yidong <cyd@gnu.org>
8584
8585 * frame.el (window-system-default-frame-alist): Doc fix.
8586
8587 * dynamic-setting.el (font-setting-change-default-font): Don't
8588 change the default face if SET-FONT argument is non-nil (Bug#9982).
8589
8590 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
8591
8592 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8593
8594 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
8595
8596 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8597 breakpoints in files outside current directory (Bug#6098).
8598
8599 2012-01-29 Chong Yidong <cyd@gnu.org>
8600
8601 * progmodes/python.el: Require ansi-color at top-level.
8602
8603 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8604 Define and use in Emacs Lisp mode (Bug#9360).
8605 (lisp-mode-abbrev-table): Add doc.
8606 (lisp-mode-variables): Don't set local-abbrev-table.
8607 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8608
8609 2012-01-28 Roland Winkler <winkler@gnu.org>
8610
8611 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8612
8613 2012-01-28 Roland Winkler <winkler@gnu.org>
8614
8615 * textmodes/bibtex.el (bibtex-entry-alist): New function.
8616 (bibtex-set-dialect): Use it. Either set global values of
8617 dialect-dependent variables or bind these variables buffer-locally
8618 (Bug#10254).
8619 (bibtex-mode): Call bibtex-set-dialect via
8620 hack-local-variables-hook.
8621 (bibtex-dialect): Update docstring.
8622 Add safe-local-variable predicate.
8623 (bibtex-entry-alist, bibtex-field-alist): Initialize via
8624 bibtex-set-dialect.
8625 (bibtex-mode-map): Define menu for each dialect.
8626 (bibtex-entry): Fix docstring.
8627
8628 2012-01-28 Chong Yidong <cyd@gnu.org>
8629
8630 * eshell/esh-arg.el (eshell-quote-argument): New function.
8631
8632 * eshell/esh-ext.el (eshell-invoke-batch-file):
8633 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8634 first arg to eshell-parse-command (Bug#10523).
8635
8636 2012-01-28 Drew Adams <drew.adams@oracle.com>
8637
8638 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8639 `default-directory' is non-nil.
8640
8641 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8642
8643 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8644 line that displays system-configuration-options. (Bug#9924)
8645
8646 2012-01-28 Drew Adams <drew.adams@oracle.com>
8647
8648 * descr-text.el (describe-char): Show information about POS, in
8649 addition to information about the character at POS. Improve and
8650 update the doc string. Change "code point" to "code point in
8651 charset", to avoid confusion with the character's Unicode code
8652 point shown above that. (Bug#10129)
8653
8654 2012-01-28 Eli Zaretskii <eliz@gnu.org>
8655
8656 * descr-text.el (describe-char): Show the raw character, not only
8657 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
8658 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8659 for the reasons.
8660
8661 2012-01-28 Phil Hagelberg <phil@hagelb.org>
8662
8663 * emacs-lisp/package.el (package-install):
8664 Run package-refresh-contents if there is no archive yet (Bug#9798).
8665
8666 2012-01-28 Chong Yidong <cyd@gnu.org>
8667
8668 * emacs-lisp/package.el (package-maybe-load-descriptor):
8669 New function, split from package-maybe-load-descriptor.
8670 (package-maybe-load-descriptor): Use it.
8671 (package-download-transaction): Fully load required packages
8672 inside the loop, so that `require' calls work (Bug#10593).
8673 (package-install): No need to call package-initialize now.
8674
8675 2012-01-28 Chong Yidong <cyd@gnu.org>
8676
8677 * simple.el (deactivate-mark): Doc fix (Bug#8614).
8678
8679 * tooltip.el (tooltip-mode): Doc fix.
8680 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8681
8682 * frame.el (set-cursor-color): Doc fix (Bug#352).
8683
8684 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8685 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8686
8687 * cus-edit.el (custom-buffer-create-internal): Fix search button
8688 action (Bug#10542).
8689 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8690
8691 2012-01-27 Eduard Wiebe <usenet@pusto.de>
8692
8693 * dired.el (dired-mark-files-regexp):
8694 Include any subdirectory components. (Bug#10445)
8695
8696 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
8697
8698 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8699 Handle [host]:port syntax. (Bug#10533)
8700
8701 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
8702
8703 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8704
8705 2012-01-26 Glenn Morris <rgm@gnu.org>
8706
8707 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8708 * term.el (term-raw-escape-map): Use Control-X-prefix.
8709 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
8710
8711 2012-01-25 Martin Rudalics <rudalics@gmx.at>
8712
8713 * window.el (window-state-get, window--state-get-1): Don't deal
8714 with fixed-sizeness of windows. Simplify code.
8715
8716 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
8717
8718 * window.el (window--state-get-1, window--state-put-2):
8719 Don't save and restore the mark.
8720
8721 2012-01-25 Chong Yidong <cyd@gnu.org>
8722
8723 * custom.el (custom-variable-p): Doc fix.
8724
8725 2012-01-25 Glenn Morris <rgm@gnu.org>
8726
8727 * dired.el (dired-goto-file): Handle some of the more common
8728 characters that `ls -b' escapes. (Bug#10596)
8729
8730 * progmodes/compile.el (compilation-next-error-function):
8731 Respect compilation-first-column in the "*compilation*" buffer.
8732 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
8733
8734 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
8735
8736 2012-01-24 Glenn Morris <rgm@gnu.org>
8737
8738 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
8739
8740 2012-01-24 Julien Danjou <julien@danjou.info>
8741
8742 * color.el (color-rgb-to-hsl): Fix value computing.
8743 (color-hue-to-rgb): New function.
8744 (color-hsl-to-rgb): New function.
8745 (color-clamp, color-saturate-hsl, color-saturate-name)
8746 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8747 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8748
8749 2012-01-24 Glenn Morris <rgm@gnu.org>
8750
8751 * vc/vc-rcs.el (vc-rcs-create-tag):
8752 * vc/vc-sccs.el (vc-sccs-create-tag):
8753 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
8754
8755 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
8756
8757 * eshell/esh-util.el (eshell-read-hosts-file):
8758 Skip comment lines. (Bug#10549)
8759
8760 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
8761
8762 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
8763
8764 * subr.el (display-delayed-warnings): Doc fix.
8765 (collapse-delayed-warnings): New function to collapse identical
8766 adjacent warnings.
8767 (delayed-warnings-hook): Add it.
8768
8769 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
8770
8771 * net/tramp.el (tramp-action-login): Set connection property "login-as".
8772
8773 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8774 (tramp-default-user-alist): Don't add "pscp".
8775 (tramp-do-copy-or-rename-file-out-of-band): Use connection
8776 property "login-as", if set. (Bug#10530)
8777
8778 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8781 "plink1" and "psftp". (Bug#10530)
8782
8783 2012-01-21 Kenichi Handa <handa@m17n.org>
8784
8785 * international/mule-cmds.el (prefer-coding-system): Show a
8786 warning message if the default value of file-name-coding-system
8787 was not changed.
8788
8789 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
8790
8791 * windmove.el (windmove-reference-loc):
8792 Fix windmove-reference-loc miscalculation.
8793
8794 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
8795
8796 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8797 default unit.
8798
8799 2012-01-21 Glenn Morris <rgm@gnu.org>
8800
8801 * international/mule.el (auto-coding-alist): Add .tbz.
8802
8803 * files.el (local-enable-local-variables): Doc fix.
8804 (inhibit-local-variables-regexps): Rename from
8805 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
8806 Doc fix. Add some extensions from auto-coding-alist.
8807 (inhibit-local-variables-suffixes):
8808 Rename from inhibit-first-line-modes-suffixes. Doc fix.
8809 (inhibit-local-variables-p):
8810 New function, extracted from set-auto-mode-1.
8811 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
8812 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
8813 (hack-local-variables): Doc fix. Make the mode-only case
8814 respect enable-local-variables and friends.
8815 Respect inhibit-local-variables-regexps for file-locals, but
8816 not for directory-locals.
8817 (set-visited-file-name):
8818 Take account of inhibit-local-variables-regexps.
8819 Whether it applies may change as the file name is changed.
8820 * jka-cmpr-hook.el (jka-compr-install):
8821 * jka-compr.el (jka-compr-uninstall):
8822 Update for inhibit-first-line-modes-suffixes name change.
8823
8824 2012-01-20 Martin Rudalics <rudalics@gmx.at>
8825
8826 * help-macro.el (make-help-screen): Temporarily restore original
8827 binding for minor-mode-map-alist (Bug#10454).
8828
8829 2012-01-19 Julien Danjou <julien@danjou.info>
8830
8831 * color.el (color-name-to-rgb): Use the white color to find the max
8832 color component value and return correctly computed values.
8833 (color-name-to-rgb): Add missing float conversion for max value.
8834
8835 2012-01-19 Martin Rudalics <rudalics@gmx.at>
8836
8837 * window.el (window--state-get-1, window-state-get): Do not use
8838 special state value for window-persistent-parameters.
8839 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
8840 (window--state-put-2): Reset all window parameters to nil before
8841 assigning values of persistent parameters.
8842
8843 2012-01-18 Alan Mackenzie <acm@muc.de>
8844
8845 Eliminate sluggishness and hangs in fontification of "semicolon
8846 deserts".
8847
8848 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8849 Change value 10000 -> 3000.
8850 (c-state-safe-place): Reformulate so it doesn't stack up an
8851 infinite number of wrong entries in c-state-nonlit-pos-cache.
8852 (c-determine-limit-get-base, c-determine-limit): New functions to
8853 determine backward search limits disregarding literals.
8854 (c-find-decl-spots): Amend commenting.
8855 (c-cheap-inside-bracelist-p): New function which detects "={".
8856
8857 * progmodes/cc-fonts.el
8858 (c-make-font-lock-BO-decl-search-function): Give a limit to a
8859 backward search.
8860 (c-font-lock-declarations): Fix an occurrence of point being
8861 undefined. Check additionally for point being in a bracelist or
8862 near a macro invocation without a semicolon so as to avoid a
8863 fruitless time consuming search for a declarator. Give a more
8864 precise search limit for declarators using the new
8865 c-determine-limit.
8866
8867 2012-01-18 Glenn Morris <rgm@gnu.org>
8868
8869 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8870 (set-auto-mode): Doc fixes.
8871
8872 2012-01-17 Glenn Morris <rgm@gnu.org>
8873
8874 * isearch.el (search-nonincremental-instead): Fix doc typo.
8875
8876 * dired.el (dired-insert-directory): Handle newlines in directory name.
8877 (dired-build-subdir-alist): Unescape newlines in directory name.
8878
8879 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
8880
8881 * net/tramp.el (tramp-local-end-of-line): New defcustom.
8882 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8883 (tramp-action-terminal): Use it. (Bug#10530)
8884
8885 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * minibuffer.el (completion--replace): Strip properties (bug#10062).
8888
8889 2012-01-16 Martin Rudalics <rudalics@gmx.at>
8890
8891 * window.el (window-state-ignored-parameters): Remove variable.
8892 (window--state-get-1): Rename argument MARKERS to IGNORE.
8893 Handle persistent window parameters. Make copy of clone-of
8894 parameter only if requested. (Bug#10348)
8895 (window--state-put-2): Install a window parameter only if it has
8896 a non-nil value or an existing parameter shall be overwritten.
8897
8898 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
8899
8900 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8901
8902 2012-01-14 Eli Zaretskii <eliz@gnu.org>
8903
8904 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8905 don't pass the (nil) value of `upnode' to string-match.
8906
8907 2012-01-14 Chong Yidong <cyd@gnu.org>
8908
8909 * startup.el (command-line): Fix X resource class for cursorColor.
8910 Fix values recognized by the cursorBlink resource.
8911
8912 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
8913
8914 * epg.el (epg--make-temp-file): Avoid permission race condition
8915 when running on old Emacs versions (bug#10403).
8916
8917 2012-01-14 Glenn Morris <rgm@gnu.org>
8918
8919 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8920
8921 2012-01-13 Alan Mackenzie <acm@muc.de>
8922
8923 Fix filling for when filladapt mode is enabled.
8924
8925 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8926 c-mask-paragraph, pass in `fill-paragraph' rather than
8927 `fill-region-as-paragraph'. (This is a reversion of a previous
8928 change.)
8929 * progmodes/cc-mode.el (c-basic-common-init):
8930 Make fill-paragraph-handle-comment buffer local and set it to nil.
8931
8932 2012-01-13 Glenn Morris <rgm@gnu.org>
8933
8934 * dired.el (dired-switches-escape-p): New function.
8935 (dired-insert-directory): Use dired-switches-escape-p.
8936 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
8937
8938 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
8939
8940 2012-01-12 Glenn Morris <rgm@gnu.org>
8941
8942 * mail/sendmail.el (mail-mode): Update paragraph-separate for
8943 changes in adaptive-fill-regexp. (Bug#10276)
8944
8945 2012-01-11 Alan Mackenzie <acm@muc.de>
8946
8947 Fix Emacs bug #10463 - put `widen's around the critical spots.
8948
8949 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8950 widen around each invocation of c-state-pp-to-literal. Remove an
8951 unused let variable.
8952
8953 2012-01-11 Glenn Morris <rgm@gnu.org>
8954
8955 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
8956 Doc fix.
8957
8958 2012-01-10 Chong Yidong <cyd@gnu.org>
8959
8960 * net/network-stream.el (network-stream-open-starttls):
8961 Avoid emitting a confusing error message when the server gives a bad
8962 response to the capability command.
8963
8964 2012-01-10 Glenn Morris <rgm@gnu.org>
8965
8966 * mail/unrmail.el (unrmail): Tweak previous change.
8967
8968 2012-01-09 Chong Yidong <cyd@gnu.org>
8969
8970 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8971
8972 2012-01-08 Alan Mackenzie <acm@muc.de>
8973
8974 Optimise font locking in long enum definitions.
8975
8976 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8977 arm to a cond form to handle enums.
8978 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8979 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8980
8981 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
8982
8983 * files.el (move-file-to-trash): Preserve default file modes on error.
8984 (Bug#10401)
8985
8986 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987
8988 * faces.el (set-face-attribute): Clarify the meaning of the nil
8989 frame (bug#10294).
8990
8991 * subr.el (with-selected-frame): Mention that the selected frame
8992 is restored (bug#9980).
8993
8994 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8995 (bug#9759).
8996
8997 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8998 (password-read): Don't autoload unused function.
8999
9000 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
9001
9002 * progmodes/which-func.el (which-func-mode): Turn into a
9003 non-interactive function and mark as obsolete (bug#10428).
9004
9005 2012-01-06 Chong Yidong <cyd@gnu.org>
9006
9007 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
9008 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
9009 functions, along with 1 and -1.
9010
9011 2012-01-06 Eli Zaretskii <eliz@gnu.org>
9012
9013 * time.el (display-time-load-average)
9014 (display-time-default-load-average): Doc fixes. See the thread
9015 starting at
9016 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
9017 for the details.
9018
9019 2012-01-06 Glenn Morris <rgm@gnu.org>
9020
9021 * mail/unrmail.el (unrmail): Give an explicit error if the input file
9022 has no messages. (Bug#10377)
9023
9024 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
9025 than Info-edit. (Bug#10385)
9026
9027 * time.el (display-time-load-average, display-time-next-load-average):
9028 Doc fixes.
9029
9030 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
9031 local setting of buffer-read-only to the input buffer. (Bug#10419)
9032
9033 * calendar/calendar.el (calendar-mode):
9034 Locally set scroll-margin to 0. (Bug#10379)
9035
9036 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
9037
9038 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
9039
9040 2012-01-05 Glenn Morris <rgm@gnu.org>
9041
9042 * eshell/em-unix.el (diff-no-select): Autoload it.
9043 (eshell/diff): Use diff-no-select. (Bug#10420)
9044
9045 2012-01-05 Chong Yidong <cyd@gnu.org>
9046
9047 * shell.el (shell-dynamic-complete-functions): Revert last change.
9048 (shell-command-completion-function): New function.
9049 (shell-completion-vars): Use it to implement
9050 shell-completion-execonly (Bug#10417).
9051
9052 * custom.el (enable-theme): Don't set custom-safe-themes.
9053
9054 * cus-theme.el (custom-theme-merge-theme):
9055 Ignore custom-enabled-themes and custom-safe-themes.
9056
9057 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
9058
9059 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
9060 first prompt in `sql-interacive-mode'.
9061 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
9062 keywords.
9063 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
9064 (sql-product-interactive): Bug fix: Set `sql-buffer' in
9065 context of original buffer. Invoke `sql-login-hook'.
9066
9067 2012-01-04 Eli Zaretskii <eliz@gnu.org>
9068
9069 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
9070 letters in cite-prefix.
9071
9072 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9073
9074 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
9075
9076 2012-01-03 Chong Yidong <cyd@gnu.org>
9077
9078 * shell.el (shell-dynamic-complete-functions):
9079 Put pcomplete-completions-at-point, so as to try
9080 comint-filename-completion first (Bug#10417).
9081
9082 2012-01-02 Richard Stallman <rms@gnu.org>
9083
9084 * battery.el (battery-status-function):
9085 Detect when to use battery-yeeloong-sysfs.
9086 (battery-echo-area-format): Add string for Yeeloong.
9087 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
9088 (battery-yeeloong-sysfs): New function.
9089
9090 2012-01-02 Chong Yidong <cyd@gnu.org>
9091
9092 * dirtrack.el (dirtrack-list): Eliminate unused third element.
9093 (dirtrack): Merge code for handling relative filenames in prompt
9094 from shell-dir-cookie-watcher.
9095 (dirtrack-debug-message): New arg to avoid excess format calls.
9096
9097 * shell.el (shell-dir-cookie-re): Variable deleted.
9098 (shell-dir-cookie-watcher): Function deleted.
9099 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
9100 with dirtrack-mode.
9101
9102 2012-01-01 Eli Zaretskii <eliz@gnu.org>
9103
9104 * term/w32-win.el (dynamic-library-alist) <gnutls>:
9105 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
9106 libgnutls-26.dll.
9107
9108 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
9109
9110 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
9111
9112 2011-12-31 Eli Zaretskii <eliz@gnu.org>
9113
9114 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
9115 headers of non-MIME messages, when rmail-enable-mime is non-nil.
9116
9117 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
9118
9119 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
9120 also for alternative shells.
9121 (tramp-open-connection-setup-interactive-shell): Check, whether
9122 the shell is a busybox.
9123 (tramp-send-command): Don't suppress multiple prompts for
9124 busyboxes, it hurts.
9125
9126 2011-12-28 Chong Yidong <cyd@gnu.org>
9127
9128 * progmodes/gdb-mi.el (gdb-get-source-file-list)
9129 (gdb-get-source-file): Move mode line update to
9130 gdb-get-source-file (Bug#10087).
9131
9132 2011-12-25 Chong Yidong <cyd@gnu.org>
9133
9134 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
9135 gud-gdb-marker-filter without taking it as an argument.
9136 (gud-gdb-run-command-fetch-lines): Caller changed.
9137 (gud-gdb-completion-function): New variable.
9138 (gud-gdb-completion-at-point): Use it.
9139 (gud-gdb-completions-1): Split from gud-gdb-completions.
9140
9141 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
9142 function as separate arguments.
9143 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
9144 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
9145 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
9146 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
9147 (gdb-stopped, def-gdb-auto-update-trigger)
9148 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
9149 (gdb-get-changed-registers, gdb-get-main-selected-frame):
9150 Callers changed.
9151 (gud-gdbmi-completions): New function.
9152 (gdb): Use it for generating the completion table.
9153
9154 2011-12-24 Alan Mackenzie <acm@muc.de>
9155
9156 Introduce a mechanism to widen the region used in context font
9157 locking. Use this to protect declarations from losing their contexts.
9158
9159 * progmodes/cc-langs.el (c-before-font-lock-functions):
9160 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
9161 (c-before-context-fontification-functions): New defvar, a list of
9162 functions to be run just before context (etc.) font locking.
9163
9164 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
9165 New, functionality extracted from
9166 c-neutralize-syntax-in-and-mark-CPP.
9167 (c-in-after-change-fontification): New variable.
9168 (c-after-change): Set c-in-after-change-fontification.
9169 (c-set-fl-decl-start): Rejig its interface, so it can be called
9170 from both after-change and context fontifying.
9171 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
9172 New functions.
9173 (c-standard-font-lock-fontify-region-function): New variable.
9174 (c-font-lock-fontify-region): New function.
9175
9176 2011-12-24 Juri Linkov <juri@jurta.org>
9177
9178 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
9179 (Bug#10348)
9180
9181 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
9184 existence of source file. (Bug#10325)
9185
9186 2011-12-23 Alan Mackenzie <acm@muc.de>
9187
9188 Fix unstable fontification inside templates.
9189
9190 * progmodes/cc-langs.el (c-before-font-lock-functions):
9191 Newly created from the singular version. The (c c++ objc) entry now
9192 additionally has c-set-fl-decl-start. The other languages (apart
9193 from AWK) have that as a single entry.
9194
9195 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9196 The functionality for "local" declarations has been extracted to
9197 c-set-fl-decl-start.
9198
9199 * progmodes/cc-mode.el (c-common-init, c-after-change):
9200 Changes due to pluralisation of c-before-font-lock-functions.
9201 (c-set-fl-decl-start): New function, extracted from
9202 c-font-lock-enclosing-decls and enhanced.
9203
9204 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
9205
9206 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
9207
9208 2011-12-22 Juri Linkov <juri@jurta.org>
9209
9210 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
9211
9212 2011-12-22 Chong Yidong <cyd@gnu.org>
9213
9214 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
9215
9216 2011-12-21 Drew Adams <drew.adams@oracle.com>
9217
9218 * files.el (file-remote-p): Fix docstring. (Bug#10319)
9219
9220 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
9221
9222 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
9223
9224 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
9225
9226 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
9227 highlighting and support. Fix up comments for capitalization.
9228 (cfengine-mode-debug): New var.
9229 (cfengine3-mode): Change the modeline indicator to "CFE3".
9230 (cfengine3-font-lock-keywords): Improve defun highlighting.
9231 (cfengine2-actions): Rename from `cfengine-actions'.
9232 (cfengine2-font-lock-keywords): Rename from
9233 `cfengine-font-lock-keywords'.
9234 (cfengine2-imenu-expression): Rename from
9235 `cfengine-imenu-expression'.
9236 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
9237 (cfengine2-beginning-of-defun): Rename from
9238 `cfengine-beginning-of-defun'.
9239 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
9240 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
9241 (cfengine2-mode): Rename from `cfengine-mode'. Change the
9242 modeline indicator to "CFE2".
9243 (cfengine-mode): Defalias to `cfengine-auto-mode'.
9244 (cfengine-mode-abbrevs): Mark obsolete.
9245
9246 2011-12-21 Chong Yidong <cyd@gnu.org>
9247
9248 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
9249 filename argument.
9250
9251 2011-12-20 Martin Rudalics <rudalics@gmx.at>
9252
9253 * window.el (window-normalize-buffer-to-display): Remove.
9254 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
9255
9256 2011-12-19 Chong Yidong <cyd@gnu.org>
9257
9258 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
9259 Don't signal an error in a predicate function; return non-nil.
9260 (vc-dir-mark-file): Move the error here.
9261 (vc-dir-mark-unmark): If acting on the region, keep going if one
9262 of the entries cannot be marked/unmarked.
9263 (vc-dir-mark-all-files): If current entry is a directory, mark
9264 only child files, as documented.
9265
9266 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
9267
9268 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
9269 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
9270 addition.
9271
9272 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
9273
9274 * term/ns-win.el (ns-get-selection-internal)
9275 (ns-store-selection-internal): Declare.
9276 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
9277 Declare as obsolete.
9278 (ns-get-pasteboard, ns-paste-secondary):
9279 Use ns-get-selection-internal.
9280 (ns-set-pasteboard, ns-copy-including-secondary):
9281 Use ns-store-selection-internal.
9282
9283 2011-12-17 Chong Yidong <cyd@gnu.org>
9284
9285 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9286 (vc-deduce-fileset): Doc fix.
9287
9288 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
9289
9290 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
9291
9292 2011-12-13 Sam Steingold <sds@gnu.org>
9293
9294 * man.el (Man-getpage-in-background): When running under a
9295 window-system, ignore $MANWIDTH and $COLUMNS.
9296
9297 2011-12-15 Kenichi Handa <handa@m17n.org>
9298
9299 * language/ethio-util.el: Change coding tag to utf-8-emacs.
9300 (setup-ethiopic-environment-internal): Comment out key-binding for
9301 ethio-toggle-punctuation.
9302
9303 2011-12-13 Alan Mackenzie <acm@muc.de>
9304
9305 Add the switch statement to AWK Mode.
9306
9307 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
9308 "default" to the keywords regexp.
9309
9310 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
9311 expression as the rest.
9312 (c-nonlabel-token-key): Allow string literals for AWK.
9313 Refactor for the other modes.
9314
9315 Large brace-block initialisation makes CC Mode slow: Fix.
9316 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
9317 routines. Limit backward searching in c-font-lock-enclosing.decl.
9318
9319 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
9320 pp-state and literal type in addition to the limits.
9321 (c-state-safe-place): New defun, extracted from c-state-literal-at.
9322 (c-state-literal-at): Use the above new defun.
9323 (c-slow-in-literal, c-fast-in-literal): Remove.
9324 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
9325
9326 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
9327 being in a literal. Add a limit for backward searching.
9328
9329 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
9330 c-slow-in-literal.
9331
9332 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
9333
9334 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
9335
9336 2011-12-13 Martin Rudalics <rudalics@gmx.at>
9337
9338 * window.el (delete-other-windows): Use correct frame in call to
9339 window-with-parameter.
9340
9341 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
9342
9343 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
9344 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
9345 (makefile-gmake-statements, makefile-makepp-statements):
9346 Use it and add new makepp keywords.
9347 (makefile-makepp-font-lock-keywords): Add new patterns.
9348 (makefile-match-function-end): Match new [...] and [[...]].
9349
9350 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
9351
9352 * ses.el (ses-call-printer-return, ses-cell-property-get)
9353 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
9354 (ses-create-cell-variable, ses-reset-header-string)
9355 (ses-cell-set-formula, ses-repair-cell-reference-all)
9356 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
9357 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
9358 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
9359 (ses-aset-with-undo, ses-load, ses-truncate-cell)
9360 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
9361 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
9362 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
9363 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
9364 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
9365 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
9366 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
9367 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
9368
9369 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
9370
9371 * ses.el: The overall change is to add cell renaming, that is
9372 setting fancy names for cell symbols other than name matching
9373 "\\`[A-Z]+[0-9]+\\'" regexp .
9374 (ses-create-cell-variable): New defun.
9375 (ses-relocate-formula): Relocate formulas only for cells the
9376 symbols of which are not renamed, i.e. symbols whose names do not
9377 match regexp "\\`[A-Z]+[0-9]+\\'".
9378 (ses-relocate-all): Relocate values only for cells the symbols of
9379 which are not renamed.
9380 (ses-load): Create cells variables as the (ses-cell ...) are read,
9381 in order to check row col consistency with cell symbol name only
9382 for cells that are not renamed.
9383 (ses-replace-name-in-formula): New defun.
9384 (ses-rename-cell): New defun.
9385
9386 2011-12-11 Chong Yidong <cyd@gnu.org>
9387
9388 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
9389 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
9390
9391 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
9392
9393 * window.el (other-window): Fix docstring.
9394
9395 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9396
9397 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
9398 `from' or `to' address before taking its substring.
9399 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
9400 encoded name is chopped in the middle of the encoded string, and
9401 thus displayed encoded.
9402
9403 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
9404
9405 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
9406
9407 2011-12-10 Eli Zaretskii <eliz@gnu.org>
9408
9409 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
9410 to use texinfo-update-node and commands that call it if the
9411 Texinfo file uses @node lines without next/prev/up pointers.
9412 Correct outdated description about texinfo-master-menu.
9413 (texinfo-all-menus-update, texinfo-master-menu)
9414 (texinfo-update-node, texinfo-every-node-update)
9415 (texinfo-multiple-files-update): Doc fix. Warn against updating
9416 all the @node lines.
9417 (texinfo-master-menu): Only call texinfo-update-node if the prefix
9418 argument is numeric. Explain better in the doc string what the
9419 function really does.
9420 (texinfo-insert-master-menu-list): Improve the error message
9421 displayed if there's no menu in the Top node.
9422 (Bug#2975) See also this thread:
9423 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
9424
9425 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
9426
9427 * speedbar.el (speedbar-supported-extension-expressions):
9428 Add .adb and .ads, commonly used for Ada source code (bug#10256).
9429
9430 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
9431
9432 * printing.el (pr-mode-alist):
9433 * simple.el (filter-buffer-substring-functions)
9434 (completion-list-insert-choice-function):
9435 * window.el (window-with-parameter, window-atom-root)
9436 (window-sides-slots, window-size-fixed, window-min-delta)
9437 (window-max-delta, window--resize-mini-window)
9438 (window--resize-child-windows-normal, window-tree)
9439 (delete-other-windows, quit-window, split-window)
9440 (display-buffer-record-window, special-display-buffer-names)
9441 (special-display-regexps, special-display-popup-frame)
9442 (same-window-p, split-window-sensibly)
9443 (display-buffer-overriding-action, display-buffer-alist)
9444 (display-buffer-base-action, display-buffer, switch-to-buffer)
9445 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
9446 (fit-window-to-buffer, recenter-positions)
9447 (mouse-autoselect-window-state, mouse-autoselect-window-select):
9448 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
9449 and remove unneeded backslashes in docstrings.
9450
9451 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
9452
9453 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9454
9455 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9456 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9457 end in ".mk".
9458 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9459 when reading the makefile (bug#10116).
9460
9461 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
9462
9463 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9464 (bug#10116).
9465
9466 2011-12-06 Glenn Morris <rgm@gnu.org>
9467
9468 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9469
9470 2011-12-06 Chong Yidong <cyd@gnu.org>
9471
9472 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9473
9474 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
9475
9476 * textmodes/table.el (table-shorten-cell): Fix typo.
9477
9478 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
9479
9480 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9481
9482 2011-12-05 Eli Zaretskii <eliz@gnu.org>
9483
9484 * descr-text.el (describe-char): Fix display of strong
9485 right-to-left characters and directional embeddings and overrides.
9486
9487 * simple.el (what-cursor-position): Fix display of codepoints of
9488 strong right-to-left characters.
9489
9490 2011-12-05 Chong Yidong <cyd@gnu.org>
9491
9492 * faces.el (read-color): Doc fix.
9493
9494 2011-12-05 Glenn Morris <rgm@gnu.org>
9495
9496 * align.el (align--set-marker): Add doc-string.
9497 Don't try to move something that is not a marker. (Bug#10216)
9498
9499 2011-12-04 Glenn Morris <rgm@gnu.org>
9500
9501 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9502 overly zealous deletion of trailing whitespace.
9503
9504 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
9505
9506 * server.el (server-delete-client): On Windows, do not try to delete
9507 the only terminal.
9508 (server-process-filter): On Windows, treat requests for a tty frame as
9509 if they were for a GUI frame if the running server is in GUI mode.
9510
9511 2011-12-03 Glenn Morris <rgm@gnu.org>
9512
9513 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
9514
9515 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
9516
9517 * electric.el: Streamline electric-indent's hook.
9518 (electric-indent-chars): Revert to simple list.
9519 (electric-indent-functions): New var.
9520 (electric-indent-post-self-insert-function): Use it.
9521
9522 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9523 there's no inferior buffer (bug#10196).
9524 (prolog-consult-compile): Don't use toggle-read-only.
9525
9526 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
9527
9528 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9529 interrupt. (Bug#10187)
9530
9531 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9534 (bug#9160).
9535
9536 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9537 (bug#10191).
9538
9539 2011-12-02 Juri Linkov <juri@jurta.org>
9540
9541 * info.el (Info-search): Display "end of manual" when Isearch
9542 reaches the end of single-file Info manual. (Bug#9918)
9543
9544 2011-12-02 Eli Zaretskii <eliz@gnu.org>
9545
9546 * isearch.el (isearch-message-prefix): Run the input method part
9547 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
9548
9549 2011-12-02 Juri Linkov <juri@jurta.org>
9550
9551 * isearch.el (isearch-occur): Use `word-search-regexp' for
9552 `isearch-word'.
9553 (isearch-search-and-update): Add condition for `isearch-word' and
9554 call `word-search-regexp'. (Bug#10145)
9555
9556 2011-12-01 Glenn Morris <rgm@gnu.org>
9557
9558 * eshell/em-hist.el (eshell-hist-initialize):
9559 Handle eshell-history-size nil and HISTSIZE set or unset.
9560 (eshell-history-file-name, eshell-history-size): Fix custom type.
9561
9562 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
9563
9564 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9565
9566 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
9567
9568 * progmodes/verilog-mode.el (verilog-pretty-expr):
9569 Rework verilog-pretty-expr to handle new assignment operators in system
9570 verilog, such as += *= and the like.
9571 (verilog-assignment-operator-re): Regular expression to find the
9572 assigment operator in a verilog assignment.
9573 (verilog-assignment-operation-re): Regular expression to find an
9574 assignment statement for pretty-expr.
9575 (verilog-in-attribute-p): Query returns true if point is in an
9576 attribute context; used to skip these for expression line up from
9577 pretty-expr.
9578 (verilog-in-parameter-p): Query returns true if point is in an
9579 parameter definition context; used to skip these for expression
9580 line up from pretty-expr.
9581 (verilog-in-parenthesis-p): Query returns true if point is in a
9582 parenthetical expression, specifically ( ) but not [ ] or { };
9583 used by pretty-expr.
9584 (verilog-just-one-space): If there is no space, don't add one.
9585 (verilog-get-lineup-indent-2): Specifically skip just attribute
9586 contexts for expression lineup, rather than skipping all
9587 parenthetical expressions.
9588 (verilog-calculate-indent): Fix comment, and fix indent.
9589 (verilog-do-indent): Indent declarations in lists (suggested by
9590 Joachim Lechner).
9591 (verilog-mode-abbrev-table): Populate abbrev mode with the various
9592 skeleton items.
9593 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9594 by Alain Mellan).
9595
9596 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
9597
9598 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9599 parameters with embedded comments. Reported by Ray Stevens.
9600 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9601 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9602 Reported by Tim Holt.
9603 (verilog-auto): Fix AUTOing a upper module then AUTOing module
9604 instantiated by upper module causing wrong expansion until AUTOed a
9605 second time. Reported by K C Buckenmaier.
9606 (verilog-diff-auto): Fix showing .* as a difference when
9607 `verilog-auto-star-save' off. Reported by Dan Dever.
9608 (verilog-auto-reset, verilog-read-always-signals)
9609 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9610 temporary signals in reset list if
9611 verilog-auto-reset-blocking-in-non is nil, and match assignment
9612 style to each signal's assignment type, bug381.
9613 Reported by Thomas Esposito.
9614 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9615 (verilog-uvm-statement-re): Support UVM indentation and
9616 highlighting, with old OVM keywords only.
9617 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9618 Support AUTOTIEOFF creating non-wire data types.
9619 Suggested by Jonathan Greenlaw.
9620 (verilog-auto-insert-lisp, verilog-delete-to-paren)
9621 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9622 (verilog-inject-sense, verilog-read-inst-pins)
9623 (verilog-read-sub-decls, verilog-read-sub-decls-line):
9624 Fix mismatching parenthesis inside commented out code when deleting
9625 AUTOINST, bug383. Reported by Jonathan Greenlaw.
9626 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9627 non-numeric vector width. Reported by Alex Reed.
9628 (verilog-auto-ascii-enum): Add "onehot" option to work around not
9629 detecting signals with parameter widths. Reported by Alex Reed.
9630 (verilog-auto-delete-trailing-whitespace):
9631 With `verilog-auto-delete-trailing-whitespace' remove trailing
9632 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
9633 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9634 Fix verilog-scan-cache corruption when running user AUTO expansion
9635 hooks that call indentation routines.
9636 (verilog-simplify-range-expression): Fix typo ignoring lower case
9637 identifiers.
9638 (verilog-delete-auto): Fix delete-autos to also remove user created
9639 automatics, as long as they start with AUTO.
9640 (verilog-batch-diff-auto, verilog-diff-auto)
9641 (verilog-diff-function): Add `verilog-diff-auto' and bind to
9642 "C-c?" to report differences in AUTO expansion, ignoring spaces.
9643 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9644 (verilog-in-paren-quick, verilog-re-search-backward-quick)
9645 (verilog-re-search-forward-quick, verilog-syntax-ppss):
9646 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9647 is disabled and its cache will get corrupt, causing AUTOS not to
9648 expand. Instead use only -quick functions.
9649 (verilog-scan-region): Fix scanning over escaped quotes.
9650 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9651 (verilog-re-search-backward-quick)
9652 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9653 related functions now ignore strings, to fix misparsing of strings
9654 with magic comments embedded in them.
9655 (verilog-read-auto-template):
9656 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9657 Reported by Brad Dobbie.
9658 (verilog-read-auto-template):
9659 Fix 'verilog-auto-inst-template-numbers' with comments.
9660 Reported by Brad Dobbie.
9661 (verilog-auto-inst, verilog-auto-inst-param)
9662 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9663 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
9664 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9665 debugging templates without merge conflicts, bug357.
9666 Reported by Brad Dobbie.
9667 (verilog-read-auto-template):
9668 Fix verilog-auto-inst-template-numbers with multiple templates.
9669 Reported by Brad Dobbie.
9670 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9671 abbrevs so user won't be asked to save.
9672 (verilog-read-auto-lisp-present): Fix to start at beginning of
9673 buffer in case called outside of verilog-auto.
9674 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9675 to "X-2". Reported by Matthew Myers.
9676 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9677 all inputs from module templates. Reported by Leith Johnson.
9678 (verilog-module-inside-filename-p): Fix locating programs as with
9679 modules.
9680 (verilog-auto-inst-port): Fix vl-width expressions when using
9681 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
9682 (verilog-decls-get-regs, verilog-decls-get-signals,
9683 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9684 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9685 verilog-read-decls): Combine reg and wire structures into one var
9686 structure to represent SystemVerilog concepts.
9687 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9688 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9689 (verilog-auto-wire-type, verilog-insert-definition):
9690 Add verilog-auto-wire-type and AUTOLOGIC to support using
9691 SystemVerilog "logic" keyword instead of "wire"/"reg".
9692 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9693 to declares outputs that also have assignments (presumably in an
9694 ifdef or generate if so there's not a driver conflict).
9695 Reported by Matthew Myers.
9696 (verilog-auto-declare-nettype, verilog-insert-definition):
9697 Add verilog-auto-declare-nettype to fix declarations using
9698 `default_nettype none. Reported by Julian Gorfajn.
9699 (verilog-read-always-signals-recurse, verilog-read-decls)
9700 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9701 malformed end statement, bug325. Reported by Joshua Wise and
9702 Andrew Drake.
9703 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9704 (verilog-inst-comment-re): Fix not deleting Interfaced comment
9705 when expanding .* in interfaces, bug320.
9706 Reported by Pierre-David Pfister.
9707 (verilog-read-module-name): Fix import statements between module
9708 name and open parenthesis, bug317.
9709 Reported by Pierre-David Pfister.
9710 (verilog-simplify-range-expression): Fix simplification of
9711 multiplications inside AUTOWIRE connections, bug303.
9712 (verilog-auto-inst-port): Support parameter expansion in
9713 multidimensional arrays.
9714 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9715 after "assert property". Reported by Julian Gorfajn.
9716 (verilog-simplify-range-expression): Fix "couldn't merge" errors
9717 with multiplication, bug303.
9718 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9719 Reported by Jan Frode Lonnum.
9720
9721 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
9722
9723 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9724 (hfy-shell-file-name, hfy-shell):
9725 * international/fontset.el (x-decompose-font-name): Fix typos.
9726
9727 2011-11-29 Ken Brown <kbrown@cornell.edu>
9728
9729 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9730 (gdb-version): Remove defvar.
9731 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9732 (gdb-gud-context-command, gdb-non-stop-handler)
9733 (gdb-current-context-command, gdb-stopped): Use it.
9734 (gdb-init-1): Enable pretty printing here.
9735 (gdb-non-stop-handler): Don't enable pretty-printing here.
9736 Check to see if the target supports non-stop mode; if not, turn off
9737 non-stop mode. Use the following.
9738 (gdb-check-target-async): New defun.
9739 (gud-watch, gdb-stopped): Fix whitespace.
9740 (gdb-get-source-file): Don't try to display the source file if
9741 `gdb-main-file' is nil.
9742
9743 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9744
9745 * align.el: Try to generate fewer markers (bug#10047).
9746 (align--set-marker): New macro.
9747 (align-region): Use it.
9748
9749 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9752
9753 2011-11-29 Chong Yidong <cyd@gnu.org>
9754
9755 * indent.el (indent-for-tab-command, indent-according-to-mode):
9756 Doc fix.
9757 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
9758
9759 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
9760
9761 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9762 aware of remote file names. (Bug#10124)
9763
9764 2011-11-29 Chong Yidong <cyd@gnu.org>
9765
9766 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9767
9768 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
9769
9770 * files.el (find-file): Don't use force-same-window (bug#10144).
9771 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9772 use pop-to-buffer if the selected window can't be used.
9773 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9774
9775 2011-11-28 Eli Zaretskii <eliz@gnu.org>
9776
9777 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9778 special-mode-map.
9779
9780 2011-11-28 Chong Yidong <cyd@gnu.org>
9781
9782 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9783
9784 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
9785
9786 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9787 gdb-get-source-file-list on gdb-create-source-file-list.
9788
9789 2011-11-26 Eli Zaretskii <eliz@gnu.org>
9790
9791 * whitespace.el (whitespace-newline): Use a different foreground
9792 color for 16-color light-background displays.
9793
9794 2011-11-24 Chong Yidong <cyd@gnu.org>
9795
9796 * window.el (display-buffer--special-action): Doc fix.
9797
9798 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
9799
9800 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9801 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9802 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9803 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9804 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9805 (avl-tree-stack-first):
9806 * emacs-lisp/cconv.el (cconv--analyse-use):
9807 * net/gnutls.el (gnutls-negotiate): Fix typos.
9808
9809 2011-11-24 Glenn Morris <rgm@gnu.org>
9810
9811 * lpr.el (lpr-windows-system, lpr-lp-system):
9812 * mail/binhex.el (binhex-begin-line):
9813 * progmodes/grep.el (grep-history, grep-find-history):
9814 * textmodes/flyspell.el:
9815 * vc/pcvs-defs.el (cvs-global-menu):
9816 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9817 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9818 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9819
9820 * net/tls.el: Fix case of "GnuTLS".
9821
9822 * paths.el (rmail-file-name): Format doc-string for make-docfile.
9823
9824 * version.el (emacs-build-system): Give it a doc-string.
9825
9826 2011-11-24 Juri Linkov <juri@jurta.org>
9827
9828 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9829
9830 2011-11-24 Glenn Morris <rgm@gnu.org>
9831
9832 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9833 if called on a non-mime message just toggle the headers. (Bug#8006)
9834
9835 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
9836
9837 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9838 (allout-lead-with-comment-string, allout-structure-deleted-hook)
9839 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9840 (allout-rebullet-heading, allout-open-sibtopic)
9841 (allout-toggle-current-subtree-encryption)
9842 (allout-toggle-subtree-encryption, allout-encrypt-string)
9843 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9844 (allout-distinctive-bullets-string, allout-auto-activation):
9845 * window.el (window-normalize-buffer-to-display):
9846 * progmodes/verilog-mode.el (verilog-batch-indent):
9847 * textmodes/bibtex.el (bibtex-field-braces-opt)
9848 (bibtex-field-strings-opt):
9849 * vc/cvs-status.el (cvs-tree-merge):
9850 Fix typos.
9851
9852 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
9853
9854 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9855 `non-essential' to t, in order to avoid remote connections.
9856
9857 2011-11-23 Eli Zaretskii <eliz@gnu.org>
9858
9859 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9860 On MS-DOS and MS-Windows, compare with loaddefs.el
9861 case-insensitively.
9862
9863 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9864
9865 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
9866
9867 2011-11-23 Glenn Morris <rgm@gnu.org>
9868
9869 * paths.el (rmail-file-name): Reformat the doc-string so that it
9870 is picked up.
9871
9872 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9873 (rmail-auto-file): Ignore case in the "special" field names,
9874 as mail-fetch-field does for all others.
9875
9876 * mail/rmail.el (rmail-forward):
9877 * mail/rmailkwd.el (rmail-set-label):
9878 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9879 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
9880
9881 * mail/rmail.el (rmail-current-message): Doc fix.
9882
9883 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
9884
9885 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
9886
9887 * server.el (server-eval-and-print): Allow C-g (bug#6585).
9888
9889 2011-11-22 Glenn Morris <rgm@gnu.org>
9890
9891 * mail/rmailmm.el (test-rmail-mime-handler)
9892 (test-rmail-mime-bulk-handler)
9893 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9894
9895 2011-11-21 Juri Linkov <juri@jurta.org>
9896
9897 * calc/calc.el (calc-read-key-sequence):
9898 Let-bind `input-method-function' to nil. (Bug#10018)
9899
9900 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9901
9902 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9903 Tell the caller that the next line needs recomputation, even
9904 though it doesn't start a sexp (bug#10094).
9905
9906 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
9907
9908 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9909
9910 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9911
9912 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9913 Use force-same-window.
9914
9915 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9916
9917 * descr-text.el (describe-char-unicode-data):
9918 * json.el (json-string-escape):
9919 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9920 (Footnote-unicode, Footnote-style-p):
9921 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9922
9923 2011-11-20 Chong Yidong <cyd@gnu.org>
9924
9925 * window.el (replace-buffer-in-windows): Restore interactive spec.
9926
9927 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
9928
9929 * electric.el (electric-indent-mode): Fix last change (too optimistic).
9930
9931 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9932 (byte-compile-global-not-obsolete-vars): New var.
9933 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9934 Use it.
9935 (byte-compile-warn-obsolete): Align text with the one in *Help*.
9936
9937 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9940 * progmodes/pascal.el (electric-pascal-equal):
9941 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9942 * xml.el (xml-substitute-special): Fix typos.
9943
9944 2011-11-20 Glenn Morris <rgm@gnu.org>
9945
9946 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9947 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9948 Doc fixes.
9949 (rmail-decode-mime-charset): Mark as obsolete.
9950
9951 * mail/rmailsum.el (rmail-message-regexp-p-1):
9952 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9953 Before using mime functions, check they are set. (Bug#10077)
9954
9955 2011-11-19 Juri Linkov <juri@jurta.org>
9956
9957 * info.el (Info-finder-find-node): Use `package--builtins' instead
9958 of `package-alist'. Use node names formed by the pattern "Keyword "
9959 and the keyword name.
9960
9961 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
9962
9963 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9964
9965 2011-11-19 Juri Linkov <juri@jurta.org>
9966
9967 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9968 that calls `revert-buffer' on all Info buffers. (Bug#9915)
9969 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9970 `old-history', `old-history-forward'. Add let-binding
9971 `window-selected'. Remove calls to `kill-buffer',
9972 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
9973 before calling `Info-find-node', so `Info-find-node-2' will reread
9974 the Info file. Restore window positions only when `window-selected'
9975 is non-nil.
9976
9977 2011-11-19 Juri Linkov <juri@jurta.org>
9978
9979 * isearch.el (isearch-lazy-highlight-new-loop):
9980 Remove condition `(not isearch-error)'. (Bug#9918)
9981
9982 * misearch.el (multi-isearch-search-fun): Add condition
9983 `(not bound)' to ignore lazy-highlighting search.
9984 Add the search-failed message "end of multi" when the end of
9985 multi-sequence is reached. Uncapitalize the search-failed
9986 message "Repeat for next buffer".
9987
9988 * info.el (Info-search): Add the search-failed message
9989 "end of the manual" when the end of the manual is reached
9990 in Isearch mode.
9991
9992 2011-11-19 Juri Linkov <juri@jurta.org>
9993
9994 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9995 Use non-destructive `remove' instead of `delete' because
9996 `Info-history-list' stored to `Info-isearch-initial-history-list' in
9997 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9998
9999 2011-11-19 Juri Linkov <juri@jurta.org>
10000
10001 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
10002 to nil instead of binding `search-ring' and `regexp-search-ring'.
10003 (Bug#9185)
10004
10005 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10006
10007 * simple.el (line-move): Force movement by logical lines for any
10008 hscrolled window, not only when auto-hscroll-mode is on.
10009 (line-move-visual): Update doc string to that effect. (Bug#10076)
10010
10011 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
10012
10013 * language/european.el (macintosh): Define as alias for mac-roman.
10014
10015 2011-11-19 Eli Zaretskii <eliz@gnu.org>
10016
10017 * mail/rmailmm.el (rmail-mime-display-header)
10018 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
10019 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
10020 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
10021 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
10022 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
10023 of a raw aref.
10024 (rmail-mime-entity-segment): To get past the tagline, move forward
10025 2 more lines, to account for the 2 empty lines that precede and
10026 follow the line with the buttons.
10027 (rmail-mime-update-tagline): Move one more line, to get past the
10028 empty line that follows the buttons in the tagline. (Bug#9520)
10029
10030 2011-11-19 Martin Rudalics <rudalics@gmx.at>
10031
10032 * window.el (window-max-delta-1, window-min-delta-1)
10033 (window-min-size-1, window-state-get-1, window-state-put-1)
10034 (window-state-put-2): Use "window--" prefix.
10035
10036 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
10037
10038 * emacs-lisp/smie.el: Improve warnings and conflict detection.
10039 (smie-warning-count): New var.
10040 (smie-set-prec2tab): Use it.
10041 (smie-bnf->prec2): Improve warnings. Add docstring.
10042 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
10043 (smie-bnf--set-class): New function.
10044 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
10045 corner case.
10046
10047 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
10048 (compilation-error-properties, compilation-move-to-column):
10049 Handle compilation-first-column while in the target buffer.
10050
10051 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
10052 Don't hardcode point-min==1.
10053
10054 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
10055 (eshell-rewrite-for-command): Remove workaround.
10056 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
10057 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
10058 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
10059
10060 * files-x.el (modify-file-local-variable): Obey commenting conventions.
10061
10062 2011-11-17 Glenn Morris <rgm@gnu.org>
10063
10064 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10065 Ignore buffer-local generated-autoload-file if it is the same
10066 as the global value. (Bug#10049)
10067
10068 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
10069
10070 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
10071 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
10072 (reftex-toc-previous-heading, reftex-toc-max-level)
10073 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
10074 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
10075 (reftex-toc-do-promote, reftex-toc-promote-prepare)
10076 (reftex-toc-promote-action, reftex-toc-extract-section-number)
10077 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
10078 (reftex-toc-rename-label, reftex-toc-visit-location)
10079 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
10080 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
10081 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
10082 leaving "*toc*" only for references to the buffer.
10083
10084 2011-11-17 Martin Rudalics <rudalics@gmx.at>
10085
10086 * window.el (window-resize, delete-window, split-window):
10087 Replace window-splits by window-combination-resize.
10088 * cus-start.el (window-splits): Replace by window-combination-resize.
10089
10090 2011-11-17 Glenn Morris <rgm@gnu.org>
10091
10092 * progmodes/sh-script.el (sh-font-lock-keywords-var):
10093 Make bash entry derive from sh entry, not shell entry.
10094
10095 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
10096
10097 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
10098 local file name.
10099
10100 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * menu-bar.el (menu-bar-file-menu):
10103 * printing.el (pr-ps-utility):
10104 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
10105 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
10106 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
10107 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
10108 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
10109 (icalendar--convert-cyclic-to-ical)
10110 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
10111 (icalendar--convert-ical-to-diary)
10112 (icalendar--convert-recurring-to-diary)
10113 (icalendar--convert-non-recurring-all-day-to-diary)
10114 (icalendar-import-format-sample):
10115 * progmodes/idlw-shell.el (idlwave-shell-mode):
10116 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
10117 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
10118 (vhdl-ps-print-init): Fix typos.
10119
10120 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
10121
10122 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
10123 FSF and collapse date sequence, obscure author/maintainer email address
10124 better, remove extra version line, track relocation of author's webpage.
10125
10126 * progmodes/python.el (python-pdbtrack-input-prompt)
10127 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
10128 regular python pdb prompts. Adjustments shamelessly taken exactly as
10129 suggested in EmacsWiki page (tiny change):
10130 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
10131
10132 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
10133
10134 * expand.el (expand-pos, expand-index, expand-point):
10135 Remove redundant info from docstring.
10136 (expand-add-abbrevs): Doc fix.
10137 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
10138 (expand-sample-perl-mode-expand-list): Fix typos.
10139
10140 * net/dbus.el (dbus-event-member-name):
10141 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
10142 * term/pc-win.el (msdos-create-frame-with-faces):
10143 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
10144
10145 2011-11-16 Martin Rudalics <rudalics@gmx.at>
10146
10147 * window.el (split-window, window-state-get-1)
10148 (window-state-put-1, window-state-put-2): Rename occurrences of
10149 window-nest to window-combination-limit.
10150 * cus-start.el (window-nest): Rename to window-combination-limit.
10151
10152 2011-11-16 Chong Yidong <cyd@gnu.org>
10153
10154 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
10155 regexp (Bug#10033).
10156
10157 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
10158
10159 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
10160 `completing-read' will remove *Completions* and will preserve
10161 current-buffer for us.
10162 (tmm-add-prompt): Users of *Completions* will always (re)set its
10163 major mode.
10164 (tmm-old-comp-map): Remove.
10165
10166 2011-11-16 Glenn Morris <rgm@gnu.org>
10167
10168 * mail/rmailedit.el: Require rmailmm when compiling.
10169 (rmail-old-mime-state): New declaration.
10170 (rmail-edit-current-message): If editing a mime message,
10171 edit the "raw" message from the mbox buffer.
10172 (rmail-cease-edit): Handle mime messages. (Bug#9840)
10173
10174 2011-11-15 Glenn Morris <rgm@gnu.org>
10175
10176 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
10177 which wasn't being used. Add optional arg to force given state.
10178 (rmail-mime): Add optional arg to force given state.
10179
10180 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10181
10182 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10183 * frame.el (display-mm-dimensions-alist):
10184 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
10185 (outline-move-subtree-down):
10186 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
10187 (newsticker--treeview-do-get-node):
10188 * net/quickurl.el (quickurl-list-buffer-name):
10189 * progmodes/dcl-mode.el (dcl-mode):
10190 * progmodes/gdb-mi.el (gdb-mapcar*):
10191 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
10192
10193 2011-11-15 Glenn Morris <rgm@gnu.org>
10194
10195 * mail/rmail.el (rmail-file-coding-system): It's only ever used
10196 in a boolean sense, so just make it a boolean, and fix the doc.
10197 (rmail-show-mime-function, rmail-mime-feature)
10198 (rmail-require-mime-maybe): Doc fixes.
10199 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
10200
10201 * mail/rmailmm.el (rmail-show-mime): Doc fix.
10202
10203 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
10204
10205 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
10206 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
10207 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
10208 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
10209
10210 2011-11-15 Glenn Morris <rgm@gnu.org>
10211
10212 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
10213 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
10214 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
10215 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
10216 (rmail-mime, rmail-show-mime): Doc fixes.
10217
10218 * term/ns-win.el (mode-line-frame-identification):
10219 Leave it alone. (Bug#10051)
10220
10221 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
10222
10223 * mail/rmailout.el (rmail-output-to-rmail-buffer):
10224 Handle empty buffers. (Bug#9978)
10225
10226 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
10227
10228 * international/mule.el (define-charset):
10229 * mail/rmailmm.el (rmail-mime-find-header-encoding):
10230 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
10231 * progmodes/verilog-mode.el (verilog-backward-token):
10232 * textmodes/ispell.el (lookup-words):
10233 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
10234
10235 2011-11-14 Glenn Morris <rgm@gnu.org>
10236
10237 * progmodes/executable.el
10238 (executable-make-buffer-file-executable-if-script-p):
10239 Handle file-modes returning nil.
10240
10241 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
10242 message - not necessary, and causes problems. (Bug#9831)
10243
10244 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
10245
10246 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
10247
10248 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
10249 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
10250 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
10251
10252 2011-11-12 Martin Rudalics <rudalics@gmx.at>
10253
10254 * window.el (window-resize, delete-window): Use window-splits
10255 variable instead of function.
10256 (window-state-get-1, window-state-put-2, window-state-put):
10257 Don't deal with windows' splits status.
10258
10259 2011-11-12 Glenn Morris <rgm@gnu.org>
10260
10261 * apropos.el (apropos-do-all, apropos-library, apropos-value)
10262 (apropos-documentation): Doc fixes.
10263
10264 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
10265
10266 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
10267 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
10268
10269 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * electric.el (electric-indent-post-self-insert-function): Make it
10272 possible for a char to only indent in some circumstances.
10273 (electric-indent-mode): Simplify.
10274
10275 2011-11-11 Martin Rudalics <rudalics@gmx.at>
10276
10277 * window.el (windows-with-parameter): Remove unused function.
10278 (windows-at-side): Rename to window-at-side-list.
10279 (window-check, window-atom-check, window-atom-check-1)
10280 (window-side-check, window-size-ignore, window-size-fixed-1)
10281 (window-in-direction-2): Prefix with "window--".
10282 (window-tree-1): Rename to window--subtree, fix doc-string.
10283
10284 2011-11-11 Glenn Morris <rgm@gnu.org>
10285
10286 * subr.el (eval-after-load): If FILE is already loaded,
10287 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
10288
10289 2011-11-10 Glenn Morris <rgm@gnu.org>
10290
10291 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
10292 Call svn via vc-svn-command rather than vc-do-command.
10293 (vc-svn-command): Add --non-interactive. (Bug#9993)
10294 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
10295
10296 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10297 Add toggle-read-only. (Bug#7292)
10298 * files.el (toggle-read-only): Mention that it should only
10299 be used interactively. (Bug#10006)
10300
10301 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10304 Adjust regexp for OCaml warnings.
10305
10306 * electric.el (electric-pair-post-self-insert-function): Let user
10307 turn it off buffer-locally (bug#9932).
10308
10309 * progmodes/python.el (python-beginning-of-statement):
10310 Rewrite (bug#2703).
10311
10312 * progmodes/compile.el: Better handle TABs (bug#9749).
10313 (compilation-internal-error-properties)
10314 (compilation-next-error-function): Obey the target buffer's
10315 compilation-error-screen-columns.
10316
10317 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
10318
10319 * progmodes/meta-mode.el: Remove obsolete comments.
10320 (meta-right-comment-regexp, meta-ignore-comment-regexp):
10321 Fix typos in docstrings.
10322
10323 2011-11-09 Martin Rudalics <rudalics@gmx.at>
10324
10325 * window.el (window-size-fixed-p): Rewrite doc-string.
10326 (window-resizable-p): Rename to window--resizable-p. Update callers.
10327 (window--resizable): New function. Make all callers of
10328 window-resizable call window--resizable instead.
10329 (window-resizable): Rewrite in terms of window--resizable.
10330
10331 2011-11-08 Glenn Morris <rgm@gnu.org>
10332
10333 * progmodes/delphi.el (delphi-mode-syntax-table):
10334 Let define-derived-mode define a proper syntax table. (Bug#9994)
10335
10336 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10337
10338 * window.el: Stay away from defsubst.
10339 (window-list-no-nils): Remove.
10340 (window-state-get-1, window-state-get): Use backquote instead.
10341
10342 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10343
10344 * emacs-lisp/find-func.el (find-function-read):
10345 Fix incorrect use of default argument in `completing-read'.
10346
10347 2011-11-08 Martin Rudalics <rudalics@gmx.at>
10348
10349 * window.el (display-buffer-function, special-display-function):
10350 Mention display-buffer-record-window but do not mention
10351 help-setup parameter in doc-strings.
10352 (window-min-delta): Fix doc-string typo.
10353
10354 2011-11-08 Chong Yidong <cyd@gnu.org>
10355
10356 * window.el (window-total-height, window-total-width): Doc fix.
10357 (window-body-size): Move from C.
10358 (window-body-height, window-body-width): Move to C.
10359
10360 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * window.el: Make special-display like display-buffer-alist (bug#9532).
10363 (display-buffer--special-action): New function, morphed
10364 from display-buffer--special.
10365 (display-buffer): Use it to handle special-display-buffers at higher
10366 priority (just after display-buffer-alist).
10367 (display-buffer-fallback-action, display-buffer--other-frame-action)
10368 (pop-to-buffer-same-window): Remove display-buffer--special.
10369
10370 2011-11-07 Glenn Morris <rgm@gnu.org>
10371
10372 * calendar/cal-menu.el (cal-menu-set-date-title):
10373 Do nothing if not in a calendar. (Bug#9976)
10374
10375 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
10376
10377 * files.el (find-file): Always use selected-window.
10378
10379 2011-11-07 Martin Rudalics <rudalics@gmx.at>
10380
10381 * window.el (window-combinations): Make WINDOW argument
10382 mandatory. Rewrite doc-string.
10383 (walk-window-subtree, window-atom-check, window-min-delta)
10384 (window-max-delta, window--resize-this-window)
10385 (window--resize-root-window-vertically, window-tree)
10386 (balance-windows, window-state-put): Rewrite doc-strings as to
10387 not mention the term "subwindow".
10388 (window--resize-subwindows-skip-p): Rename to
10389 window--resize-child-windows-skip-p.
10390 (window--resize-subwindows-normal): Rename to
10391 window--resize-child-windows-normal.
10392 (window--resize-subwindows): Rename to
10393 window--resize-child-windows.
10394 (window-or-subwindow-p): Rename to window--in-subtree-p.
10395
10396 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10397
10398 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
10399 Ensure that mbox format messages end in two newlines (Bug#9974).
10400
10401 2011-11-06 Chong Yidong <cyd@gnu.org>
10402
10403 * window.el (window-combination-p): Function deleted; its
10404 side-effect is not used in any existing code.
10405 (window-combinations, window-combined-p): Call window-*-child
10406 directly.
10407
10408 2011-11-05 Chong Yidong <cyd@gnu.org>
10409
10410 * window.el (window-valid-p): Rename from window-any-p.
10411 (window-size-ignore, window-state-get): Callers changed.
10412 (window-normalize-window): Rename from window-normalize-any-window.
10413 New arg LIVE-ONLY, replacing window-normalize-live-window.
10414 (window-normalize-live-window): Delete.
10415 (window-combination-p, window-combined-p, window-combinations)
10416 (walk-window-subtree, window-atom-root, window-min-size)
10417 (window-sizable, window-sizable-p, window-size-fixed-p)
10418 (window-min-delta, window-max-delta, window-resizable)
10419 (window-resizable-p, window-full-height-p, window-full-width-p)
10420 (window-current-scroll-bars, window-point-1, set-window-point-1)
10421 (window-at-side-p, window-in-direction, window-resize)
10422 (adjust-window-trailing-edge, maximize-window, minimize-window)
10423 (window-deletable-p, delete-window, delete-other-windows)
10424 (record-window-buffer, unrecord-window-buffer)
10425 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
10426 (quit-window, split-window, window-state-put)
10427 (set-window-text-height, fit-window-to-buffer)
10428 (shrink-window-if-larger-than-buffer): Callers changed.
10429
10430 2011-11-04 Eli Zaretskii <eliz@gnu.org>
10431
10432 * mail/rmail.el (rmail-simplified-subject): Decode subject with
10433 rfc2047-decode-string.
10434 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
10435 warnings.
10436
10437 * window.el (window-body-height, window-body-width): Mention in
10438 the doc string that the return values are in frame's canonical
10439 units. (Bug#9949)
10440
10441 2011-11-03 Alan Mackenzie <acm@muc.de>
10442
10443 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
10444 change in cc-engine.el.
10445
10446 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * window.el (switch-to-buffer): Use `force-same-window' interactively.
10449
10450 2011-11-02 Martin Rudalics <rudalics@gmx.at>
10451
10452 * window.el (quit-window): Call unrecord-window-buffer after
10453 showing another buffer in the window. (Bug#9937)
10454 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10455
10456 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10459 Accept status with more than 9 shelves. (Bug#9935)
10460 Reported by Colin D Bennett <colin@gibibit.com>.
10461
10462 2011-11-01 Martin Rudalics <rudalics@gmx.at>
10463
10464 * help.el (with-help-window): Don't reference
10465 temp-buffer-show-specifiers in doc-string.
10466
10467 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
10468
10469 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10470 menu-item.
10471
10472 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
10473
10474 * whitespace.el: New version 13.2.2.
10475 (whitespace-newline-mode): Disable properly. Reported by Sarah
10476 <EmacsWiki>.
10477
10478 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
10479
10480 * net/newst-treeview.el: Remove "Time-stamp".
10481 (newsticker--group-manage-orphan-feeds): Do not call
10482 newsticker--treeview-tree-update.
10483 (newsticker-treeview-update, newsticker-treeview):
10484 Call newsticker--treeview-tree-update if necessary.
10485
10486 2011-10-30 Martin Rudalics <rudalics@gmx.at>
10487
10488 * window.el (window-iso-combination-p, window-iso-combined-p)
10489 (window-iso-combinations): Remove "iso-" infix.
10490 Suggested by Chong Yidong.
10491 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10492 (window-max-delta-1, window-resize, window--resize-siblings)
10493 (window--resize-this-window, adjust-window-trailing-edge)
10494 (split-window, balance-windows-1)
10495 (shrink-window-if-larger-than-buffer):
10496 * calendar/calendar.el (calendar-generate-window):
10497 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10498
10499 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
10500
10501 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10502 in place (bug#9907).
10503 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10504 (eshell-rewrite-if-command, eshell-rewrite-for-command)
10505 (eshell-structure-basic-command, eshell-rewrite-while-command)
10506 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10507 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10508 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10509 (eshell-do-pipelines-synchronously, eshell-eval-command):
10510 Use backquotes and prefer setq to set.
10511 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10512 (eshell-macrop): Use functionp.
10513 (eshell-do-eval): Handle multiple expressions in `while' body.
10514
10515 2011-10-30 Chong Yidong <cyd@gnu.org>
10516
10517 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10518 instead of set-mark (Bug#9810).
10519
10520 2011-10-30 Chong Yidong <cyd@gnu.org>
10521
10522 * window.el (split-window-below, split-window-right): Rename from
10523 split-window-above-each-other and split-window-side-by-side
10524 respectively. All callers changed.
10525 (split-window-sensibly, split-window-sensibly): Use them.
10526 (split-window-keep-point): Doc fix.
10527
10528 * isearch.el: Add isearch-scroll property to split-window-below
10529 and split-window-right.
10530
10531 * follow.el (follow-mode):
10532 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10533 * progmodes/ada-xref.el (ada-gdb-application):
10534 * emulation/vip.el (vip-buffer-in-two-windows):
10535 * image-dired.el (image-dired-dired-with-window-configuration):
10536 * dired-x.el (dired-do-find-marked-files):
10537 * dired.el (dired-pop-to-buffer):
10538 * bs.el (bs--show-with-configuration):
10539 * vc/emerge.el (emerge-setup-windows):
10540 * textmodes/two-column.el (2C-two-columns):
10541 * textmodes/reftex-toc.el (reftex-toc):
10542 * progmodes/gdb-mi.el (gdb-setup-windows):
10543 * progmodes/fortran.el (fortran-window-create):
10544 * net/newst-treeview.el (newsticker--treeview-window-init):
10545 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10546 * emulation/tpu-edt.el (tpu-gold-map):
10547 * emulation/crisp.el (crisp-mode-map):
10548 * calendar/calendar.el (calendar-basic-setup): Callers changed.
10549
10550 2011-10-29 Chong Yidong <cyd@gnu.org>
10551
10552 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10553
10554 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10555
10556 * textmodes/flyspell.el (flyspell-word): Fix char offset for
10557 forged Ispell output (Bug#7904).
10558
10559 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10560
10561 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10562
10563 * doc-view.el: Avoid ugly errors about not finding nil.
10564 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10565 (doc-view-dvipdf-program, doc-view-unoconv-program)
10566 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10567 Avoid nil or absolute file name as default value.
10568 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10569
10570 2011-10-28 Alan Mackenzie <acm@muc.de>
10571
10572 * progmodes/cc-defs.el (c-version): -> 5.32.2.
10573
10574 2011-10-28 Alan Mackenzie <acm@muc.de>
10575
10576 Amend the handling of c-beginning/end-of-defun in nested declaration
10577 scopes.
10578
10579 * progmodes/cc-vars.el (c-defun-tactic): Move here from
10580 cc-langs.el. Change it to a defcustom.
10581
10582 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10583 cc-vars.el.
10584
10585 * progmodes/cc-engine.el (c-beginning-of-statement-1):
10586 Prevent "class foo : bar" being spuriously recognized as a label.
10587
10588 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10589 Add parameter `inclusive' (to include enclosing braces in the region).
10590 (c-widen-to-enclosing-decl-scope): New function.
10591 (c-while-widening-to-decl-block): New macro.
10592 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10593 outward for defun boundaries, and correspondingly change symbol
10594 `respect-enclosure' to `go-outward'.
10595 (c-declaration-limits): Change algorithm to report only the "innermost"
10596 defun's boundaries.
10597
10598 2011-10-28 Deniz Dogan <deniz@dogan.se>
10599
10600 * net/rcirc.el (rcirc-mode): Use hard newlines.
10601
10602 2011-10-28 Alan Mackenzie <acm@muc.de>
10603
10604 Amend to indent and fontify macros "which include their own semicolon"
10605 correctly, using the "virtual semicolon" mechanism.
10606
10607 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10608
10609 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10610 Recode to scan one line at a time rather than having \n and \r
10611 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10612 (c-forward-label): Amend for virtual semicolons.
10613 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10614
10615 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10616 of the new C macros.
10617
10618 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10619 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10620 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10621 (c-opt-cpp-macro-define): Make into a full language variable.
10622 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10623 AWK Mode (including \n, \r) removed, no longer needed.
10624
10625 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10626 Invoke c-make-macro-with-semi-re.
10627
10628 * progmodes/cc-vars.el (c-macro-with-semi-re):
10629 (c-macro-names-with-semicolon): New variables.
10630 (c-make-macro-with-semi-re): New function.
10631
10632 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * vc/log-edit.el: Fill empty field rather than adding new one.
10635 (log-edit-add-field): New function.
10636 (log-edit-insert-changelog): Use it.
10637
10638 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
10639
10640 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10641
10642 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
10643
10644 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10645 (gdb--check-interpreter): New function.
10646 (gdb): Use it.
10647
10648 2011-10-27 Glenn Morris <rgm@gnu.org>
10649
10650 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10651 (least-positive-float, least-negative-float)
10652 (least-positive-normalized-float, least-negative-normalized-float)
10653 (float-epsilon, float-negative-epsilon):
10654 Remove unnecessary declarations.
10655
10656 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10657 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10658 (least-positive-float, least-negative-float)
10659 (least-positive-normalized-float, least-negative-normalized-float)
10660 (float-epsilon, float-negative-epsilon): Add doc-strings,
10661 based on those in cl.texi.
10662
10663 * files.el (set-visited-file-name): If the major-mode changed,
10664 reload the local variables. (Bug#9796)
10665
10666 2011-10-27 Chong Yidong <cyd@gnu.org>
10667
10668 * subr.el (change-major-mode-after-body-hook): New hook.
10669 (run-mode-hooks): Run it.
10670
10671 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10672 Use change-major-mode-before-body-hook.
10673
10674 * simple.el (fundamental-mode):
10675 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10676 change introducing fundamental-mode-hook.
10677
10678 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
10679
10680 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10681
10682 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
10683
10684 * ido.el (ido-file-name-all-completions-1): Do not require
10685 tramp.el explicitly. (Bug#7583)
10686
10687 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
10688
10689 * progmodes/octave-mod.el:
10690 * progmodes/octave-inf.el: Update maintainer.
10691
10692 2011-10-26 Chong Yidong <cyd@gnu.org>
10693
10694 * subr.el (with-wrapper-hook): Rewrite doc.
10695
10696 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
10697
10698 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10699 filenames "/method:foo:". (Bug#9793)
10700
10701 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
10702
10703 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10704 (bug#9865).
10705
10706 2011-10-24 Glenn Morris <rgm@gnu.org>
10707
10708 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
10709
10710 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
10711
10712 * notifications.el: Add the requirement of a running D-Bus session
10713 bus to the Commentary.
10714
10715 2011-10-24 Juri Linkov <juri@jurta.org>
10716
10717 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10718 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10719 (Bug#9364)
10720
10721 2011-10-24 Juri Linkov <juri@jurta.org>
10722
10723 * info.el (Info-following-node-name-re): Add newline to the list
10724 of allowed characters for leading space. (Bug#9824)
10725
10726 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
10727
10728 * progmodes/octave-inf.el (inferior-octave-mode-map):
10729 Fix C-c C-h binding.
10730 * progmodes/octave-mod.el (octave-help): Remove.
10731
10732 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
10733
10734 Sync with Tramp 2.2.3.
10735
10736 * net/tramp-cache.el (top): Pacify byte-compiler using
10737 `init-file-user' and `site-run-file'.
10738
10739 * net/trampver.el: Update release number.
10740
10741 2011-10-23 Chong Yidong <cyd@gnu.org>
10742
10743 * files.el (toggle-read-only): Remove obsolete comment about
10744 version control.
10745
10746 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10747 for toggle-read-only. Note that this hasn't called vc-next-action
10748 since 2008-05-02, though it wasn't documented at the time.
10749
10750 * vc/ediff-init.el (ediff-toggle-read-only-function):
10751 Use toggle-read-only.
10752
10753 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
10754
10755 Fix bug #9560, sporadic wrong indentation; improve instrumentation
10756 of c-parse-state.
10757
10758 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10759 correct faulty logical expression.
10760 (c-parse-state-state, c-record-parse-state-state):
10761 (c-replay-parse-state-state): New defvar/defuns.
10762 (c-debug-parse-state): Use new functions.
10763
10764 2011-10-22 Martin Rudalics <rudalics@gmx.at>
10765
10766 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10767 last fix. Use window-in-direction correctly.
10768
10769 2011-10-21 Chong Yidong <cyd@gnu.org>
10770
10771 * progmodes/idlwave.el (idlwave-mode):
10772 * progmodes/vera-mode.el (vera-mode): No need to set
10773 require-final-newline; that's done in prog-mode.
10774 Suggested by Stefan Monnier.
10775
10776 2011-10-21 Martin Rudalics <rudalics@gmx.at>
10777
10778 * mouse.el (mouse-drag-window-above)
10779 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10780 (mouse-drag-mode-line-1, mouse-drag-header-line)
10781 (mouse-drag-vertical-line-rightward-window): Remove.
10782 (mouse-drag-line): New function.
10783 (mouse-drag-mode-line, mouse-drag-header-line)
10784 (mouse-drag-vertical-line): Call mouse-drag-line.
10785 * window.el (window-at-side-p, windows-at-side): New functions.
10786
10787 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
10788
10789 * tar-mode.el (tar-grind-file-mode):
10790 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
10791
10792 2011-10-21 Chong Yidong <cyd@gnu.org>
10793
10794 * progmodes/idlwave.el (idlwave-mode):
10795 * progmodes/vera-mode.el (vera-mode):
10796 Use mode-require-final-newline.
10797
10798 2011-10-20 Glenn Morris <rgm@gnu.org>
10799
10800 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
10801
10802 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
10803
10804 * emulation/cua-base.el (cua-set-mark): Fix case of string.
10805
10806 2011-10-20 Chong Yidong <cyd@gnu.org>
10807
10808 * emulation/cua-base.el (cua-mode):
10809 * mail/footnote.el (footnote-mode):
10810 * mail/mailabbrev.el (mail-abbrevs-mode):
10811 * net/xesam.el (xesam-minor-mode):
10812 * progmodes/bug-reference.el (bug-reference-mode):
10813 * progmodes/cap-words.el (capitalized-words-mode):
10814 * progmodes/compile.el (compilation-minor-mode)
10815 (compilation-shell-minor-mode):
10816 * progmodes/gud.el (gud-tooltip-mode):
10817 * progmodes/hideif.el (hide-ifdef-mode):
10818 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10819 * progmodes/subword.el (subword-mode):
10820 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10821 * progmodes/which-func.el (which-function-mode):
10822 * term/tvi970.el (tvi970-set-keypad-mode):
10823 * term/vt100.el (vt100-wide-mode):
10824 * textmodes/flyspell.el (flyspell-mode):
10825 * textmodes/ispell.el (ispell-minor-mode):
10826 * textmodes/nroff-mode.el (nroff-electric-mode):
10827 * textmodes/paragraphs.el (use-hard-newlines):
10828 * textmodes/refill.el (refill-mode):
10829 * textmodes/reftex.el (reftex-mode):
10830 * textmodes/rst.el (rst-minor-mode):
10831 * textmodes/sgml-mode.el (html-autoview-mode)
10832 (sgml-electric-tag-pair-mode):
10833 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10834 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10835 * emulation/crisp.el (crisp-mode):
10836 * emacs-lisp/eldoc.el (eldoc-mode):
10837 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10838 minor mode behavior.
10839
10840 2011-10-19 Juri Linkov <juri@jurta.org>
10841
10842 * descr-text.el (describe-char): Add #x2010 and #x2011 to
10843 the list of hard-coded chars with escape-glyph face.
10844
10845 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
10846
10847 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10848
10849 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
10850
10851 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10852 running process.
10853
10854 2011-10-19 Glenn Morris <rgm@gnu.org>
10855
10856 * vc/vc-bzr.el (vc-bzr-after-dir-status):
10857 Ignore ignored files. (Bug#9726)
10858
10859 2011-10-19 Chong Yidong <cyd@gnu.org>
10860
10861 Doc fix for minor modes, stating that an omitted argument enables
10862 the mode unconditionally when called from Lisp.
10863
10864 * abbrev.el (abbrev-mode):
10865 * allout.el (allout-mode):
10866 * autoinsert.el (auto-insert-mode):
10867 * autoarg.el (autoarg-mode, autoarg-kp-mode):
10868 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10869 (global-auto-revert-mode):
10870 * battery.el (display-battery-mode):
10871 * composite.el (global-auto-composition-mode)
10872 (auto-composition-mode):
10873 * delsel.el (delete-selection-mode):
10874 * desktop.el (desktop-save-mode):
10875 * dired-x.el (dired-omit-mode):
10876 * dirtrack.el (dirtrack-mode):
10877 * doc-view.el (doc-view-minor-mode):
10878 * double.el (double-mode):
10879 * electric.el (electric-indent-mode, electric-pair-mode):
10880 * emacs-lock.el (emacs-lock-mode):
10881 * epa-hook.el (auto-encryption-mode):
10882 * follow.el (follow-mode):
10883 * font-core.el (font-lock-mode):
10884 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10885 * help.el (temp-buffer-resize-mode):
10886 * hilit-chg.el (highlight-changes-mode)
10887 (highlight-changes-visible-mode):
10888 * hi-lock.el (hi-lock-mode):
10889 * hl-line.el (hl-line-mode, global-hl-line-mode):
10890 * icomplete.el (icomplete-mode):
10891 * ido.el (ido-everywhere):
10892 * image-file.el (auto-image-file-mode):
10893 * image-mode.el (image-minor-mode):
10894 * iswitchb.el (iswitchb-mode):
10895 * jka-cmpr-hook.el (auto-compression-mode):
10896 * linum.el (linum-mode):
10897 * longlines.el (longlines-mode):
10898 * master.el (master-mode):
10899 * mb-depth.el (minibuffer-depth-indicate-mode):
10900 * menu-bar.el (menu-bar-mode):
10901 * minibuf-eldef.el (minibuffer-electric-default-mode):
10902 * mouse-sel.el (mouse-sel-mode):
10903 * msb.el (msb-mode):
10904 * mwheel.el (mouse-wheel-mode):
10905 * outline.el (outline-minor-mode):
10906 * paren.el (show-paren-mode):
10907 * recentf.el (recentf-mode):
10908 * reveal.el (reveal-mode, global-reveal-mode):
10909 * rfn-eshadow.el (file-name-shadow-mode):
10910 * ruler-mode.el (ruler-mode):
10911 * savehist.el (savehist-mode):
10912 * scroll-all.el (scroll-all-mode):
10913 * scroll-bar.el (scroll-bar-mode):
10914 * server.el (server-mode):
10915 * shell.el (shell-dirtrack-mode):
10916 * simple.el (auto-fill-mode, transient-mark-mode)
10917 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10918 (line-number-mode, column-number-mode, size-indication-mode)
10919 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10920 * strokes.el (strokes-mode):
10921 * time.el (display-time-mode):
10922 * t-mouse.el (gpm-mouse-mode):
10923 * tool-bar.el (tool-bar-mode):
10924 * tooltip.el (tooltip-mode):
10925 * type-break.el (type-break-mode-line-message-mode)
10926 (type-break-query-mode):
10927 * view.el (view-mode):
10928 * whitespace.el (whitespace-mode, whitespace-newline-mode)
10929 (global-whitespace-mode, global-whitespace-newline-mode):
10930 * xt-mouse.el (xterm-mouse-mode): Doc fix.
10931
10932 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10933 Fix autogenerated docstring.
10934
10935 2011-10-19 Juri Linkov <juri@jurta.org>
10936
10937 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10938 by checking environment variables "DESKTOP_SESSION" and
10939 "XDG_CURRENT_DESKTOP". (Bug#9779)
10940
10941 2011-10-19 Juri Linkov <juri@jurta.org>
10942
10943 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10944 (browse-url-chromium-program, browse-url-chromium-arguments):
10945 New defcustoms.
10946 (browse-url-default-browser): Check for `browse-url-chromium' and
10947 call `browse-url-chromium-program'.
10948 (browse-url-chromium): New command. (Bug#9779)
10949
10950 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
10951
10952 * facemenu.el (list-colors-duplicates): On Windows, detect more
10953 duplicates by assuming that only colors matching "^System" are
10954 special "system colors". (Bug#9722)
10955
10956 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
10957
10958 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10959 to distinguish the author from the committer.
10960
10961 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10964
10965 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
10966
10967 * international/mule.el (sgml-html-meta-auto-coding-function):
10968 Add support for detecting encoding in HTML5 specified only as
10969 <meta charset="UTF-8">. Implementation just makes http-equiv and
10970 content-type parts from HTML4 encoding string optional. (Bug#9716)
10971
10972 2011-10-18 Glenn Morris <rgm@gnu.org>
10973
10974 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
10975
10976 2011-10-18 Chong Yidong <cyd@gnu.org>
10977
10978 * faces.el (cursor): Doc fix.
10979
10980 2011-10-17 Chong Yidong <cyd@gnu.org>
10981
10982 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10983
10984 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
10985
10986 * dirtrack.el (dirtrack): Support shell buffers with path
10987 prefixes, e.g. tramp-based remote shells. (Bug#9647)
10988
10989 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
10990
10991 * json.el: Bump version to 1.3 and note change in History.
10992 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10993
10994 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
10995
10996 * comint.el (comint-insert-input, comint-send-input)
10997 (comint-get-old-input-default, comint-backward-matching-input)
10998 (comint-next-prompt): Use nil instead of `input' for field property of
10999 past user input (bug#114).
11000
11001 * minibuffer.el (completion--replace): Inherit surrounding properties
11002 (bug#114).
11003 (minibuffer-complete-and-exit): Use it.
11004
11005 * comint.el (comint--table-subvert): Quote the all-completions output
11006 (bug#9160).
11007
11008 2011-10-17 Martin Rudalics <rudalics@gmx.at>
11009
11010 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
11011
11012 * menu-bar.el (menu-bar-file-menu): Add entry for making new
11013 window on right of selected. (Bug#9350) Reword other window
11014 entries and separate them from frame entries.
11015
11016 2011-10-15 Glenn Morris <rgm@gnu.org>
11017
11018 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
11019 Doc fixes.
11020
11021 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
11022
11023 * net/network-stream.el (network-stream-open-starttls):
11024 Improve detection of failure due to lack of TLS support.
11025
11026 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
11027 putting the input text in front and in bold.
11028
11029 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
11032
11033 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
11034 empty buffer.
11035
11036 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
11037 unread-command-events rather than pushing yet-another event.
11038
11039 2011-10-14 Eli Zaretskii <eliz@gnu.org>
11040
11041 * mail/sendmail.el (sendmail-query-once): Improve the wording of
11042 the explanation of the possible choices. Make the options passed
11043 to completing-read shorter.
11044
11045 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11046
11047 * textmodes/flyspell.el (flyspell-large-region): Make sure
11048 extended character mode is used if defined (Bug#1339).
11049
11050 2011-10-13 Eli Zaretskii <eliz@gnu.org>
11051
11052 * simple.el (what-cursor-position): Fix the display of the
11053 character info for LRE, LRO, RLE, and RLO characters by appending
11054 an invisible PDF.
11055
11056 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
11059 even in case of error; add debug spec; simplify data flow.
11060 (with-timeout-handler): Remove.
11061
11062 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
11063
11064 Fix Bug#6019, Bug#9315.
11065
11066 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
11067 complete `buffer-file-name', the local file name part could look
11068 remotely (for example on VMS).
11069
11070 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
11071 `tramp-run-real-handler'.
11072 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
11073 already quoted by '"'.
11074
11075 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
11076 Let `file-name-handler-alist' be nil, the local file name part
11077 could look remotely (for example on VMS).
11078
11079 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
11080
11081 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
11082 from here...
11083 (flyspell-post-command-hook): ...to here.
11084
11085 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11086
11087 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
11088 if not needed.
11089 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
11090 using completion. Protect against "slow" callers.
11091 Remove the "message hack".
11092
11093 2011-10-11 Juri Linkov <juri@jurta.org>
11094
11095 * isearch.el (isearch-lazy-highlight-word): New variable.
11096 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
11097 Use it. (Bug#9727)
11098
11099 2011-10-11 Glenn Morris <rgm@gnu.org>
11100
11101 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
11102 like f90-previous-statement does.
11103
11104 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11105
11106 * eshell/eshell.el (eshell-command): History should be saved
11107 only in interactive use, to avoid error.
11108
11109 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
11110
11111 * minibuffer.el (completion-file-name-table): Fix last change,
11112 i.e. ignore normal errors but not the other ones.
11113
11114 2011-10-10 Martin Rudalics <rudalics@gmx.at>
11115
11116 * window.el (special-display-buffer-names)
11117 (special-display-regexps): Remove some remnants of earlier
11118 changes from doc-strings.
11119 (quit-windows-on): New function.
11120
11121 * vc/vc.el (vc-revert, vc-rollback):
11122 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
11123 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
11124 (Bug#6183) (Bug#7074) (Bug#7447)
11125
11126 2011-10-09 Martin Rudalics <rudalics@gmx.at>
11127
11128 * window.el (frame-auto-hide-function): Add version tag.
11129 (Bug#9699)
11130
11131 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
11132
11133 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
11134 condition.
11135
11136 2011-10-09 Leo Liu <sdl.web@gmail.com>
11137
11138 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
11139 (Bug#9701)
11140
11141 2011-10-08 Glenn Morris <rgm@gnu.org>
11142
11143 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
11144 before the first code statement zero indent. (Bug#9690)
11145
11146 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
11147
11148 * simple.el (count-words-region): Always count in the region.
11149 Report the number of lines and characters too.
11150 (count-words): New command, which counts in the buffer if the
11151 region is inactive, as count-words-region used to.
11152 (count-words--message): New function. Handle plurals.
11153 (count-lines-region): Make it an alias for count-words-region.
11154
11155 * bindings.el (esc-map): Replace count-lines-region with
11156 count-words-region.
11157
11158 2011-10-08 Martin Rudalics <rudalics@gmx.at>
11159
11160 * window.el (window--delete): Delete dedicated frame
11161 unconditionally when argument KILL is non-nil. (Bug#9699)
11162 (switch-to-buffer): Fix doc-string typo.
11163
11164 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11165
11166 * eshell/eshell.el (eshell-command): Avoid using hooks.
11167
11168 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
11169
11170 * bindings.el ([M-left],[M-right]): Bind to left-word and
11171 right-word respectively.
11172
11173 2011-10-07 Glenn Morris <rgm@gnu.org>
11174
11175 * cus-start.el (debug-on-quit): Fix custom type.
11176
11177 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11178
11179 * subr.el (define-key-after): Clarify that the function is not
11180 useful for non-menu keymaps.
11181
11182 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
11183
11184 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11185
11186 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
11187 in current minibuffer (Fix bug with recursive minibuffers).
11188
11189 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
11190
11191 * progmodes/gdb-mi.el (gdb): Doc fix.
11192
11193 2011-10-05 Martin Rudalics <rudalics@gmx.at>
11194
11195 * window.el (frame-auto-hide-function): New option replacing
11196 frame-auto-delete. Suggested by Stefan Monnier.
11197 (window--delete): Call frame-auto-hide-function instead of
11198 investigating frame-auto-delete.
11199 (window-point-1, set-window-point-1): New functions.
11200 (window-in-direction, record-window-buffer, window-state-get-1)
11201 (display-buffer-record-window): Use window-point-1 instead of
11202 window-point.
11203 (set-window-buffer-start-and-point): Use set-window-point-1.
11204
11205 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11206
11207 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
11208
11209 2011-10-05 Glenn Morris <rgm@gnu.org>
11210
11211 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
11212 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
11213
11214 2011-10-05 Leo Liu <sdl.web@gmail.com>
11215
11216 * subr.el (read-char-choice): Fix argument to buffer-live-p which
11217 works with buffer object.
11218
11219 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
11220
11221 * mpc.el (mpc-tool-bar-map): Add labels.
11222
11223 2011-10-04 Glenn Morris <rgm@gnu.org>
11224
11225 * calendar/holidays.el (calendar-check-holidays): Doc fix.
11226
11227 2011-10-04 Martin Rudalics <rudalics@gmx.at>
11228
11229 * window.el (window--delete): New function.
11230 (frame-auto-delete): Resuscitate option.
11231 (bury-buffer, replace-buffer-in-windows)
11232 (quit-window): Rewrite using window--delete.
11233 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11234 Pass display-buffer-mark-dedicated to window--display-buffer-2
11235 (Bug#9639).
11236
11237 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11238
11239 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
11240 returns a list (bug#9554). Add remote file name completion.
11241 * comint.el (comint--table-subvert): Curry and get quote&unquote
11242 functions as arguments.
11243 (comint--complete-file-name-data): Adjust call accordingly.
11244 * pcomplete.el (pcomplete--table-subvert): Remove.
11245 (pcomplete-completions-at-point): Use comint--table-subvert instead.
11246
11247 * minibuffer.el (completion-table-case-fold): Use currying.
11248 (completion--styles-type, completion--cycling-threshold-type):
11249 New constants.
11250 (completion-styles, completion-category-overrides)
11251 (completion-cycle-threshold): Use them.
11252 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
11253 completion-table-case-fold.
11254
11255 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
11256
11257 * minibuffer.el (completion-category-overrides): Fix type of styles
11258 and add more user friendly tags (bug#9660).
11259
11260 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
11261
11262 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
11263 (mule-input-method-string): New widget.
11264 (default-input-method, language-info-custom-alist): Use it.
11265
11266 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
11267
11268 * pcomplete.el: Require comint.
11269 (pcomplete--common-suffix): Remove.
11270 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
11271 (pcomplete--table-subvert): Sync with comint--table-subvert.
11272 (pcomplete--entries): Use comint-completion-file-name-table.
11273 * comint.el (comint-unquote-filename): Simplify.
11274 (comint-completion-file-name-table): New function (bug#9616).
11275 (comint--complete-file-name-data): Use it.
11276
11277 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
11278 (pcmpl-gnu-tar-buffer): Remove.
11279 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
11280 around. Make sure pcomplete-suffix-list is only changed temporarily.
11281 Don't look inside the tar's file if it's too large.
11282
11283 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
11284
11285 * cus-edit.el (custom-mode-map):
11286 * epa.el (epa-key-list-mode-map):
11287 * man.el (Man-mode-map):
11288 * startup.el (splash-screen-keymap):
11289 * simple.el (special-mode-map): Use scroll-up-command and
11290 scroll-down-command.
11291
11292 * progmodes/idlw-help.el (idlwave-help-mode-map):
11293 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
11294 * net/newst-plainview.el (newsticker-mode-map):
11295 * emulation/ws-mode.el (wordstar-mode-map):
11296 * emulation/vi.el (vi-com-map):
11297 * calc/calc-graph.el (calc-graph-show-dumb):
11298 * term/sun.el (terminal-init-sun):
11299 * term/ns-win.el (global-map):
11300 * progmodes/grep.el (grep-mode-map):
11301 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
11302 * mail/rmail.el (rmail-mode-map):
11303 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
11304
11305 * custom.el (custom-safe-themes, load-theme): Treat value of t for
11306 custom-safe-themes as special.
11307
11308 2011-10-01 Julien Danjou <julien@danjou.info>
11309
11310 * notifications.el (notifications-notify): Fix docstring.
11311
11312 2011-10-01 Per Starbäck <per@starback.se>
11313
11314 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
11315
11316 2011-09-30 Martin Rudalics <rudalics@gmx.at>
11317
11318 * startup.el (command-line-1): Fix last fix by inserting
11319 initial-scratch-message into *scratch* before displaying it.
11320 (Bug#9605) and (Bug#9636)
11321
11322 2011-09-29 Eli Zaretskii <eliz@gnu.org>
11323
11324 * simple.el (line-move): If auto-hscroll-mode is disabled and the
11325 window is hscrolled, move by logical lines. (Bug#9607)
11326 (line-move-visual): Update the doc string to the above effect.
11327
11328 2011-09-29 Martin Rudalics <rudalics@gmx.at>
11329
11330 * window.el (display-buffer-record-window): When WINDOW is the
11331 selected window use `point' instead of `window-point'. (Bug#9626)
11332
11333 * startup.el (command-line-1): Use insert-before-markers when
11334 inserting initial-scratch-message. (Bug#9605)
11335
11336 * help.el (help-window): Remove variable.
11337
11338 2011-09-29 Glenn Morris <rgm@gnu.org>
11339
11340 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
11341
11342 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
11343
11344 * descr-text.el (describe-char-categories): Accept category
11345 descriptions more than one line long.
11346
11347 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
11348
11349 * simple.el (delete-trailing-whitespace): Fix last change.
11350
11351 * progmodes/perl-mode.el (perl-syntax-propertize-function):
11352 Don't confuse "y => 3" as the beginning of a `y' operation.
11353
11354 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
11355 object has more than 4 slots (bug#9613).
11356
11357 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
11358
11359 * subr.el (with-output-to-temp-buffer):
11360 * net/quickurl.el (quickurl, quickurl-browse-url):
11361 Fix typos in docstrings.
11362
11363 2011-09-27 Eli Zaretskii <eliz@gnu.org>
11364
11365 * minibuffer.el (completion-styles)
11366 (completion-category-overrides): Cross reference each other in doc
11367 strings.
11368
11369 2011-09-27 Glenn Morris <rgm@gnu.org>
11370
11371 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
11372 to split-string. (Bug#9606)
11373
11374 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11375
11376 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
11377 (bug#9615).
11378
11379 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
11380
11381 * emacs-lisp/package.el (list-packages): Fix echo area message.
11382
11383 2011-09-27 Leo Liu <sdl.web@gmail.com>
11384
11385 * ido.el (ido-read-internal): Accept cons cell HIST arg.
11386
11387 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
11388
11389 * net/dbus.el (dbus-unregister-object): Don't release services for
11390 registered signals. (Bug#9581)
11391
11392 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
11393
11394 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
11395 function that picks between cfengine 2 and 3 support
11396 automatically. Update docs accordingly.
11397
11398 2011-09-22 Kenichi Handa <handa@m17n.org>
11399
11400 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
11401 ZERO.
11402 (indian-itrans-v5-table-for-tamil): New variable.
11403 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
11404
11405 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
11406
11407 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
11408 that's true if the current command involved collapsing of text.
11409 It's reset to false at the beginning of the next command.
11410 (allout-post-command-business): Move the cursor to the beginning
11411 of entry if the cursor is hidden and collapsing activity just
11412 happened.
11413
11414 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
11415
11416 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
11417 tracking (Bug#9541).
11418
11419 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
11420
11421 * net/newst-reader.el (newsticker-html-renderer)
11422 (newsticker-show-news): Automatically load html rendering package
11423 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
11424 because w3m-fill-column is let-bound" and the error "Symbol's value
11425 as variable is void: w3m-fill-column".
11426
11427 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
11428
11429 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
11430 Release services only if they are defined. (Bug#9581)
11431
11432 2011-09-23 Richard Stallman <rms@gnu.org>
11433
11434 * textmodes/paragraphs.el (forward-sentence): For backwards case,
11435 distinguish start of paragraph from start of its text.
11436
11437 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
11438
11439 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
11440 (rmail-generate-viewer-buffer): Put that hook on view buffer.
11441 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
11442
11443 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
11444
11445 * international/mule-diag.el (mule-diag): Insert a newline after
11446 each fontset description.
11447
11448 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11449
11450 * simple.el (delete-trailing-whitespace):
11451 Document last change; simplify.
11452
11453 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
11454
11455 * simple.el (delete-trailing-whitespace): Also delete
11456 extra newlines at the end of the buffer.
11457
11458 * textmodes/picture.el: Make motion commands obey shift-select-mode.
11459 (picture-newline): Use forward-line so as to ignore fields.
11460
11461 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * subr.el (with-wrapper-hook): Fix edebug spec.
11464
11465 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11466
11467 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11468 (bug#4538).
11469
11470 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
11471
11472 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11473 Fix nasty bug using wrong cached values.
11474
11475 2011-09-23 Alan Mackenzie <acm@muc.de>
11476
11477 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11478
11479 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
11480
11481 * window.el (pop-to-buffer): Ensure right window is selected if we
11482 chose another frame.
11483
11484 2011-09-22 Eli Zaretskii <eliz@gnu.org>
11485
11486 * simple.el (what-cursor-position): Use get-char-property-change
11487 and next-single-char-property-change, to be able to show display
11488 properties that come from overlays as well as text properties.
11489
11490 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
11491
11492 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11493
11494 * cmuscheme.el (run-scheme, switch-to-scheme):
11495 * cus-edit.el (customize-group, custom-buffer-create)
11496 (customize-browse):
11497 * info.el (info):
11498 * shell.el (shell):
11499 * mail/sendmail.el (mail):
11500 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11501
11502 2011-09-22 Richard Stallman <rms@gnu.org>
11503
11504 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11505 move back only to line beg, don't move back over blank lines.
11506
11507 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
11508
11509 * files.el (copy-directory): Set directory attributes only in case
11510 they could be retrieved from the source directory. (Bug#9565)
11511
11512 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
11513
11514 * progmodes/hideshow.el (hs-looking-at-block-start-p)
11515 (hs-find-block-beginning, hs-hide-level-recursive):
11516 Ignore strings as well as comments. (Bug#9502)
11517
11518 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
11519
11520 * progmodes/sql.el (sql-comint-postgres):
11521 Convert port number to a string. (Bug#9566)
11522
11523 2011-09-22 Martin Rudalics <rudalics@gmx.at>
11524
11525 * window.el (quit-window): Undedicate window when switching to
11526 previous buffer. Reported by Thierry Volpiatto
11527 <thierry.volpiatto@gmail.com>.
11528 (special-display-popup-frame): When popping up a new frame reset
11529 its previous buffers to nil. Simplify code.
11530
11531 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
11532
11533 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11534 and process filter, as done also in `shell-command'.
11535
11536 2011-09-21 Martin Rudalics <rudalics@gmx.at>
11537
11538 * window.el (set-window-buffer-start-and-point):
11539 Call set-window-start with NOFORCE argument t.
11540 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11541 (quit-window): Reword doc-string. Handle new format of
11542 quit-restore parameter. Don't delete window if it has a
11543 previous buffer we can show instead of the present one.
11544 (display-buffer-record-window): Rewrite using a new format for
11545 the quit-restore window parameter
11546 (special-display-popup-frame, display-buffer-same-window)
11547 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11548 (display-buffer-pop-up-window, display-buffer-use-some-window):
11549 Adapt symbol passed to display-buffer-record-window.
11550 * help.el (help-window-setup): Handle new format of quit-restore
11551 parameter.
11552
11553 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
11554
11555 * faces.el (face-list): Fix docstring (bug#9564).
11556
11557 * window.el (display-buffer--action-function-custom-type):
11558 Don't include internal functions in the Custom interface.
11559
11560 2011-09-20 Juri Linkov <juri@jurta.org>
11561
11562 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11563 (Info-forward-node, Info-backward-node, Info-next-preorder)
11564 (Info-last-preorder): Use it. (Bug#9528)
11565
11566 2011-09-20 Juri Linkov <juri@jurta.org>
11567
11568 * info.el (Info-last-preorder): Visit last menu item only when
11569 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11570
11571 2011-09-20 Julien Danjou <julien@danjou.info>
11572
11573 * password-cache.el (password-cache-remove): Remove entries even if the
11574 value is nil, so that password with a nil value (negative caching) is
11575 possible to invalidate.
11576
11577 2011-09-20 Lawrence Mitchell <wence@gmx.li>
11578
11579 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11580 all whitespace around breakpoint. (Bug#9553)
11581 (f90-find-breakpoint): Only break at whitespace inside a comment.
11582
11583 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
11584
11585 * minibuffer.el (completion-file-name-table): Keep track of errors.
11586 (completion-table-with-predicate): Handle the case where pred1 is nil.
11587 * pcomplete.el (pcomplete-completions-at-point): Simplify.
11588
11589 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11592 (debugger-return-value): Signal an error if the debugging context does
11593 not await any return value.
11594
11595 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11596 * image-mode.el (image-toggle-display-text)
11597 (image-toggle-display-image): Stay away from evil `intangible'.
11598
11599 2011-09-19 Leo Liu <sdl.web@gmail.com>
11600
11601 * replace.el (occur-revert-arguments): Make it permanent-local.
11602 (occur-mode): Don't call font-lock-defontify.
11603
11604 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
11605
11606 * net/ldap.el (ldap-search-internal): Don't push empty search
11607 result (Bug#9508).
11608
11609 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
11610
11611 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11612
11613 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
11614
11615 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11616 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11617
11618 2011-09-18 Juri Linkov <juri@jurta.org>
11619
11620 * buff-menu.el (Buffer-menu-mode-map):
11621 * dired.el (dired-mode-map):
11622 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11623 (lisp-interaction-mode-map):
11624 * emacs-lisp/package.el (package-menu-mode-map):
11625 * epa.el (epa-key-list-mode-map):
11626 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11627 (menu-bar-options-menu):
11628 * outline.el (outline-mode-menu-bar-map):
11629 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11630 * vc/vc-dir.el (vc-dir-menu-map):
11631 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11632 Capitalize non-function content words in menu item strings.
11633
11634 * dired.el (dired-mode-map): Add menu item for
11635 `image-dired-dired-toggle-marked-thumbs'.
11636
11637 2011-09-18 Juri Linkov <juri@jurta.org>
11638
11639 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11640 to `isearch-case-fold-search' and restore its original value
11641 after the `isearch-mode' call.
11642
11643 2011-09-18 Juri Linkov <juri@jurta.org>
11644
11645 * progmodes/grep.el (grep-process-setup): Don't check code for 1
11646 because `zgrep' returns 1 for successful matches (bug#9226).
11647
11648 2011-09-18 Juri Linkov <juri@jurta.org>
11649
11650 * info.el (Info-extract-menu-node-name): Check the second match
11651 for empty string (second test-case of bug#9528).
11652 (Info-last-preorder): Let-bind `Info-history' to nil to not add
11653 intermediate nodes to the history (first test-case of bug#9528).
11654
11655 2011-09-18 Juri Linkov <juri@jurta.org>
11656
11657 * info.el (Info-mode-syntax-table): New variable.
11658 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11659
11660 2011-09-18 Juri Linkov <juri@jurta.org>
11661
11662 * info.el (Info-file-supports-index-cookies):
11663 Increment line-beginning-position's arg from 3 to 4 because makeinfo
11664 outputs one more line for long file names (bug#4142).
11665
11666 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11667
11668 * newcomment.el (comment-normalize-vars): If prompting for
11669 comment-start, set comment-start-skip too (Bug#8424).
11670
11671 2011-09-18 Johan Bockgård <bojohan@gnu.org>
11672
11673 * icomplete.el: Fix previous fix of Bug#5849.
11674 (icomplete-mode): Don't set completion-show-inline-help.
11675 (icomplete-minibuffer-setup): Set completion-show-inline-help
11676 locally during icompletion.
11677
11678 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
11679
11680 * woman.el (woman2-process-escapes): Don't delete unrecognized
11681 escapes (Bug#7843).
11682
11683 * files.el (inhibit-first-line-modes-regexps): Add image files.
11684 (hack-local-variables-prop-line): Return nil for malformed
11685 prop-lines (Bug#9044).
11686
11687 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
11688
11689 * net/tramp.el (top): Don't require 'shell.
11690 (tramp-methods): Fix docstring.
11691 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11692 Return complete remote file name. Handle "smb" case.
11693 Use `tramp-tmpdir', if defined for the respective method.
11694 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11695
11696 * net/tramp-compat.el (top): Require 'shell.
11697
11698 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11699 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11700 `tramp-current-host'.
11701 (tramp-get-remote-tmpdir): Remove.
11702
11703 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11704 `tramp-tmpdir' entries.
11705 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11706 (tramp-smb-handle-file-attributes): Ignore errors.
11707 (tramp-smb-wait-for-output): Check also for process end.
11708
11709 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11710
11711 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11712 when sending QUIT (bug#9312).
11713
11714 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
11715
11716 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11717 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11718 occur-mode-display-occurrence.
11719 (occur-edit-mode): Add usage message.
11720 (occur-cease-edit): New command.
11721 (occur-after-change-function): Use text properties to find the
11722 position of the prefix text.
11723 (occur-engine): Set stickiness of prefix text properties.
11724
11725 2011-09-17 Glenn Morris <rgm@gnu.org>
11726
11727 * progmodes/etags.el (complete-tag):
11728 Fix call to completion-in-region. (Bug#9526)
11729
11730 2011-09-17 Juri Linkov <juri@jurta.org>
11731
11732 * textmodes/ispell.el (ispell-word): Add to the error message
11733 the word, ispell program name and current dictionary (bug#9121).
11734 (ispell-tex-arg-end): Capitalize "error" in the error message.
11735
11736 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
11737
11738 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11739 check. (Bug#4251)
11740
11741 2011-09-17 Juri Linkov <juri@jurta.org>
11742
11743 * window.el (window-safe-min-height, window-safe-min-width):
11744 Fix typos (followup to bug#9522).
11745
11746 2011-09-17 Sven Joachim <svenjoac@gmx.de>
11747
11748 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11749
11750 2011-09-16 Eli Zaretskii <eliz@gnu.org>
11751
11752 * simple.el (line-move): If goal-column is set, move by logical
11753 lines, not by display lines. (Bug#971)
11754 (next-line, previous-line, goal-column, line-move-visual): Doc fix
11755 to reflect the above change.
11756
11757 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
11758
11759 * image.el (imagemagick-register-types): Use regexp-opt.
11760
11761 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11762
11763 * window.el (display-buffer-base-action): Rename from
11764 display-buffer-default-action. Make default value empty.
11765 (display-buffer-overriding-action): Convert to defvar.
11766 (display-buffer-fallback-action): New var.
11767
11768 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
11769
11770 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11771 declaration.
11772 (package--add-to-archive-contents): If there is a duplicate entry
11773 with an older version, remove it.
11774 (package-menu-mark-delete, package-menu-mark-install)
11775 (package-menu-mark-unmark): Make unused args optional.
11776 (package-menu-mark-obsolete-for-deletion):
11777 Use package-menu-get-status instead of a regexp search.
11778 (package-menu-get-status): Use tabulated-list-entry.
11779 (package-menu-mark-upgrades): New command.
11780 (package-menu-mode-map): Bind it to U. Add it to menu bar.
11781 (package-menu-execute): Do installation before deletion.
11782 (package-menu-refresh, package-menu-execute): Use derived-mode-p
11783 instead of checking major-mode.
11784 (package-menu--find-upgrades): New function.
11785
11786 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11787
11788 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11789 passwords in the log buffer.
11790 (smtpmail-process-filter): Update the process marker so that the
11791 "broken by peer" status message is inserted in the right place.
11792
11793 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11796 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11797 bibtex-completion-at-point-function.
11798 (bibtex-completion-at-point-function): Use them.
11799
11800 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11801
11802 * mpc.el (mpc-constraints-tag-lookup): New function.
11803 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11804 also to browser "album|playlist".
11805
11806 2011-09-14 Juri Linkov <juri@jurta.org>
11807
11808 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
11809 (isearch-edit-string): Use length of `isearch-string' when
11810 `isearch-fail-pos' returns nil.
11811 (isearch-message): Remove duplicate code and call
11812 `isearch-fail-pos' with arg `t'.
11813
11814 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
11815
11816 * replace.el (occur-mode-goto-occurrence): Don't force using other
11817 window (Bug#9499).
11818
11819 * dired-aux.el (dired-do-chmod): Don't provide initial input.
11820
11821 2011-09-14 Martin Rudalics <rudalics@gmx.at>
11822
11823 * window.el (display-buffer-window): Remove.
11824 (display-buffer-record-window): Use help-setup window parameter
11825 instead of variable display-buffer-window.
11826 (display-buffer-function, special-display-buffer-names)
11827 (special-display-function): Mention help-setup parameter instead
11828 of display-buffer-window in doc-string.
11829 * help.el (help-window-setup): New argument help-window.
11830 Use help-window-setup parameter instead of display-buffer-window.
11831 Reword some messages.
11832 (with-help-window): Pass window used for displaying the buffer
11833 to help-window-setup. Don't set display-buffer-window.
11834
11835 2011-09-13 Glenn Morris <rgm@gnu.org>
11836
11837 * emacs-lisp/debug.el (debugger-make-xrefs):
11838 Preserve point. (Bug#9462)
11839
11840 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11841
11842 * window.el (window-deletable-p): Use next-frame.
11843
11844 2011-09-13 Martin Rudalics <rudalics@gmx.at>
11845
11846 * window.el (window-auto-delete): Remove.
11847 (window-deletable-p): Remove argument FORCE. Don't deal with
11848 dedication and previous buffers.
11849 (switch-to-prev-buffer): Don't delete window.
11850 (delete-windows-on): Delete a window's frame if and only if the
11851 window is dedicated.
11852 (replace-buffer-in-windows): Delete buffer's window or frame if
11853 and only if window is dedicated.
11854 (quit-window): Handle quit-restore as before last change.
11855 (bury-buffer): Delete window only if window-deletable-p returns t.
11856
11857 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
11858
11859 * window.el (window-deletable-p): Never delete the last frame on a
11860 given terminal.
11861
11862 2011-09-13 Glenn Morris <rgm@gnu.org>
11863
11864 * help.el (describe-key-briefly): Copy previous standard-output change.
11865
11866 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
11867
11868 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
11869
11870 2011-09-13 Glenn Morris <rgm@gnu.org>
11871
11872 * emacs-lisp/lisp-mode.el (lisp-indent-function):
11873 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11874
11875 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
11876
11877 * dired-aux.el (dired-mark-read-string): Don't return default
11878 value on empty input (Bug#9361).
11879 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11880 Omit initial minibuffer contents.
11881 (dired-do-chmod): Signal an error on empty input.
11882 (dired-mark-read-string): Don't return default on empty input.
11883
11884 * files.el (file-modes-symbolic-to-number): Doc fix.
11885
11886 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
11887
11888 * international/mule-cmds.el (ucs-completions): Remove.
11889 (read-char-by-name): Use complete-with-action instead; add metadata.
11890
11891 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11892
11893 * window.el (display-buffer--action-function-custom-type)
11894 (display-buffer--action-custom-type): New vars.
11895 (display-buffer-alist, display-buffer-default-action)
11896 (display-buffer-overriding-action): Add defcustom types.
11897
11898 * frame.el (delete-other-frames): Doc fix (Bug#276).
11899
11900 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11901
11902 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11903
11904 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
11905
11906 Change modes that used same-window-* vars to use switch-to-buffer.
11907
11908 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11909 Use switch-to-buffer.
11910
11911 * cus-edit.el (customize-group, custom-buffer-create)
11912 (customize-browse, custom-buffer-create-other-window):
11913 Use switch-to-buffer or switch-to-buffer-other-window.
11914
11915 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11916 (Info-prev, Info-up, Info-speedbar-goto-node)
11917 (info-display-manual): Use switch-to-buffer.
11918 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11919
11920 * mail/sendmail.el (mail): Use switch-to-buffer.
11921 (mail-recover): Use switch-to-buffer-other-window.
11922
11923 * cmuscheme.el (run-scheme, switch-to-scheme):
11924 * ielm.el (ielm):
11925 * shell.el (shell):
11926 * net/rlogin.el (rlogin):
11927 * net/telnet.el (telnet, rsh):
11928 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11929
11930 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
11931
11932 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11933
11934 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935
11936 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11937 so don't mention it (bug#9301).
11938 (dired-sort-toggle-or-edit): Clarify string further.
11939
11940 * faces.el (face-spec-set-match-display): Make `(type graphic)'
11941 match `x', `w32' and `ns', like the manual says (bug#9029).
11942
11943 * subr.el (eval-after-load): Doc string clarification (bug#9125).
11944 (process-kill-buffer-query-function): Mention the buffer name in
11945 the query.
11946
11947 * image-mode.el (image-next-line): The line parameter is mandatory
11948 (bug#9258).
11949
11950 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11951 which can be useful (bug#9301).
11952
11953 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11954
11955 * subr.el (match-string): Mention that the current buffer should
11956 be the same as the search was done in (bug#9282).
11957
11958 * facemenu.el: Disable the remove-* commands if the mark isn't
11959 active (bug#9162).
11960
11961 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11962
11963 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11964 of display-buffer.
11965 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11966
11967 * replace.el (occur-mode-goto-occurrence)
11968 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11969 and display-buffer.
11970
11971 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11972 display-buffer.
11973
11974 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11975 special-display and same-window variables.
11976 (mail-other-window): Use switch-to-buffer-other-window.
11977 (mail-other-frame): USe switch-to-buffer-other-frame.
11978
11979 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11980 Use display-buffer-other-frame.
11981 (gdb-display-gdb-buffer): Use pop-to-buffer.
11982
11983 * progmodes/gud.el (gud-goto-info): Use info-other-window.
11984
11985 * progmodes/python.el: Don't set same-window-buffer-names.
11986
11987 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11988
11989 * window.el (display-buffer-alist): Add *Python*.
11990
11991 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
11992
11993 * window.el (display-buffer-alist): Add entry for buffers
11994 previously handled same-window-*.
11995 (display-buffer-alist, display-buffer-default-action)
11996 (display-buffer-overriding-action): Mark as risky.
11997 (display-buffer-alist): Document action function changes.
11998 (display-buffer--same-window-action)
11999 (display-buffer--other-frame-action): New variables.
12000 (switch-to-buffer, display-buffer-other-frame): Use them.
12001 (display-buffer): Rename reuse-frame entry to reusable-frames.
12002 (display-buffer-reuse-selected-window): Function deleted.
12003 (display-buffer-reuse-window): Handle reusable-frames alist entry.
12004 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
12005 (display-buffer-special): New function.
12006 (display-buffer--maybe-pop-up-frame-or-window): Rename from
12007 display-buffer-reuse-or-pop-window. Split off special-display
12008 part into display-buffer-special.
12009 (display-buffer-use-some-window): Don't perform any special
12010 pop-up-frames handling.
12011 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
12012 (display-buffer--maybe-same-window): Rename from
12013 display-buffer-maybe-same-window.
12014
12015 * info.el: Don't set same-window-regexps.
12016 (info-setup): New function.
12017 (info-other-window, info): Call it.
12018
12019 * cus-edit.el: Don't set same-window-regexps.
12020 (customize-group): New argument.
12021 (customize-group-other-window): Use it.
12022 (customize-face, customize-face-other-window): Likewise.
12023 (custom-buffer-create-other-window): Use pop-to-buffer directly.
12024
12025 * net/rlogin.el:
12026 * net/telnet.el:
12027 * progmodes/gud.el: Don't set same-window-regexps.
12028
12029 * cmuscheme.el:
12030 * ielm.el:
12031 * shell.el:
12032 * mail/sendmail.el:
12033 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
12034
12035 2011-09-10 Juri Linkov <juri@jurta.org>
12036
12037 * isearch.el (isearch-edit-string): Remove obsolete mention of
12038 `C-w' (`isearch-yank-word-or-char') from docstring.
12039 (isearch-query-replace): Fix typo in docstring (bug#9466).
12040
12041 2011-09-10 Juri Linkov <juri@jurta.org>
12042
12043 * paren.el (show-paren-function): Don't show escaped parens.
12044 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
12045
12046 2011-09-10 Eli Zaretskii <eliz@gnu.org>
12047
12048 * mail/sendmail.el (mml-to-mime, mml-attach-file)
12049 (mm-default-file-encoding): Remove autoload forms, they are
12050 replaced with autoload cookies in mml.el and mm-encode.el.
12051 (mail-add-attachment): New command.
12052 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
12053 (mail-mode): Mention mail-insert-file and mail-add-attachment in
12054 the doc string.
12055 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
12056
12057 2011-09-10 Reuben Thomas <rrt@sc3d.org>
12058
12059 * simple.el (count-words-region): Use buffer if there's no region
12060 (bug#9429).
12061
12062 2011-09-09 Juri Linkov <juri@jurta.org>
12063
12064 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
12065 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
12066 (wdired-isearch-filter-read-only): New function. (Bug#6362)
12067
12068 2011-09-09 Alan Mackenzie <acm@muc.de>
12069
12070 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
12071 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
12072
12073 2011-09-09 Eli Zaretskii <eliz@gnu.org>
12074
12075 Fix for Savannah bug#9392.
12076 * simple.el (mail-encode-mml): New defvar.
12077
12078 * mail/rmail.el (mail-encode-mml): Add a defvar.
12079 (rmail-enable-mime-composing): Default to t.
12080 (rmail-forward): Use MIME method of forwarding only if both
12081 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
12082 Set mail-encode-mml non-nil if the MIME method was used.
12083
12084 * mail/sendmail.el (mml-to-mime): Add autoload form.
12085 (mail-encode-mml): Add a defvar.
12086 (mail-mode): Make mail-encode-mml buffer-local and initialize it
12087 to nil.
12088 (mail-send): If mail-encode-mml is non-nil, run the outgoing
12089 message through mml-to-mime, and reset mail-encode-mml to nil.
12090
12091 2011-09-09 Glenn Morris <rgm@gnu.org>
12092
12093 * woman.el (woman-if-body): When processing an .el block,
12094 do not delete the next .el block as well. (Bug#9447)
12095 (woman-special-characters): Add oq, cq, and hy characters.
12096
12097 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12098
12099 * window.el (window-deletable-p): Make sure window is live before
12100 invoking window-prev-buffers.
12101
12102 2011-09-08 Leo Liu <sdl.web@gmail.com>
12103
12104 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
12105
12106 2011-09-08 Juri Linkov <juri@jurta.org>
12107
12108 * progmodes/compile.el (compilation-environment): Make it
12109 a defcustom (bug#8340).
12110
12111 2011-09-08 Martin Rudalics <rudalics@gmx.at>
12112
12113 * window.el (frame-auto-delete): Rename to window-auto-delete.
12114 Make it control auto-deletion of windows and/or frames.
12115 (window-deletable-p): New argument FORCE. Rewrite conditions
12116 for deleting window/frame. (Bug#9419)
12117 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
12118 Rewrite handling of case when window/frame can be deleted.
12119 (delete-windows-on): Call window-deletable-p with new FORCE
12120 argument t. (Bug#9456)
12121
12122 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
12123
12124 * help-mode.el (help-mode): Restore autoload.
12125
12126 2011-09-07 Juri Linkov <juri@jurta.org>
12127
12128 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
12129 `compilation-environment'. Set buffer-local
12130 `compilation-environment' to `thisenv' later after (funcall mode).
12131 (Bug#8340)
12132
12133 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
12134 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
12135 instead of replacing its value. (Bug#8340)
12136
12137 2011-09-07 Juri Linkov <juri@jurta.org>
12138
12139 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
12140 based on text properties put by `grep-filter' instead of matching
12141 escape sequences.
12142 (grep-mode): Set buffer-local `compilation-error-screen-columns'
12143 to the value of `grep-error-screen-columns' (bug#9438).
12144
12145 2011-09-07 Juri Linkov <juri@jurta.org>
12146
12147 * simple.el (next-error-highlight, next-error-highlight-no-select):
12148 Doc fix (bug#9432).
12149
12150 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
12151
12152 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12153 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
12154
12155 2011-09-07 Leo Liu <sdl.web@gmail.com>
12156
12157 * net/rcirc.el (rcirc-mode): Conditionally initialize
12158 rcirc-input-ring.
12159
12160 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
12161
12162 * emacs-lisp/find-func.el (find-function-C-source): Only set
12163 find-function-C-source-directory after checking that we found a source
12164 file there (bug#9440).
12165
12166 2011-09-06 Alan Mackenzie <acm@muc.de>
12167
12168 * isearch.el (isearch-other-meta-char): Wherever a key list is
12169 unread, "unread" the prefix arg, too. This fixes bug #8901.
12170
12171 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
12172
12173 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
12174
12175 2011-09-05 Juri Linkov <juri@jurta.org>
12176
12177 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
12178
12179 2011-09-05 Juri Linkov <juri@jurta.org>
12180
12181 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
12182 keeping point where processing of grep matches begins, and
12183 continue to delete remaining escape sequences from the same point.
12184 (grep-filter): Make leading zero optional in "0?1;31m" because
12185 git-grep emits "\033[1;31m" escape sequences unlike expected
12186 "\033[01;31m" as GNU Grep does (bug#9408).
12187 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
12188
12189 2011-09-05 Juri Linkov <juri@jurta.org>
12190
12191 * subr.el (y-or-n-p): Capitalize "yes".
12192
12193 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
12194
12195 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
12196 `tramp-cache-unload-hook' where appropriate.
12197 (tramp-methods): Rename `tramp-remote-sh' to
12198 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
12199 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
12200
12201 * net/tramp-sh.el (top): Don't require 'shell.
12202 (tramp-methods): Add `tramp-remote-shell' and
12203 `tramp-remote-shell-args' entries.
12204 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
12205 (tramp-sh-handle-shell-command): Remove.
12206 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12207 Use `tramp-remote-shell'.
12208
12209 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
12210
12211 * mail/sendmail.el (sendmail-query-once-function): Delete.
12212 (sendmail-query-once): Save directly to send-mail-function.
12213 Update message-send-mail-function too.
12214
12215 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
12216
12217 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12218
12219 * progmodes/python.el (python-mode-map): Use correct function to
12220 start python interpreter from menu-bar (as reported by Geert
12221 Kloosterman).
12222 (inferior-python-mode-map): Fix typo.
12223 (python-shell-map): Remove.
12224
12225 2011-09-03 Deniz Dogan <deniz@dogan.se>
12226
12227 * net/rcirc.el (rcirc-print): Simplify code for
12228 rcirc-scroll-show-maximum-output. There is no need to walk
12229 through all windows to find the right one.
12230
12231 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
12232
12233 * help.el (help-return-method): Doc fix.
12234
12235 2011-09-03 Martin Rudalics <rudalics@gmx.at>
12236
12237 * window.el (window-deletable-p): Don't return a non-nil value
12238 when there's a buffer that was shown in the window before.
12239 (Bug#9419)
12240 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12241 Set window's previous buffers to nil.
12242
12243 2011-09-03 Eli Zaretskii <eliz@gnu.org>
12244
12245 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
12246 newline before and after the tag line, so it doesn't interfere
12247 with determining the paragraph direction of bidirectional text.
12248
12249 2011-09-03 Leo Liu <sdl.web@gmail.com>
12250
12251 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
12252
12253 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12254
12255 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
12256 (pop-to-buffer): Change interactive spec. Pass second argument
12257 directly to display-buffer.
12258 (display-buffer): Fix interactive spec. Use functionp to
12259 distinguish between a function and a list of functions.
12260
12261 * abbrev.el (edit-abbrevs):
12262 * arc-mode.el (archive-extract):
12263 * autoinsert.el (auto-insert):
12264 * bookmark.el (bookmark-bmenu-list):
12265 * files.el (find-file):
12266 * view.el (view-buffer):
12267 * progmodes/compile.el (compilation-goto-locus):
12268 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
12269
12270 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
12271
12272 * window.el (display-buffer-alist): Doc fix.
12273 (display-buffer): Add docstring. Don't treat
12274 display-buffer-default specially.
12275 (display-buffer-reuse-selected-window)
12276 (display-buffer-same-window, display-buffer-maybe-same-window)
12277 (display-buffer-reuse-window, display-buffer-pop-up-frame)
12278 (display-buffer-pop-up-window)
12279 (display-buffer-reuse-or-pop-window)
12280 (display-buffer-use-some-window): New functions.
12281 (display-buffer-default-action): Use them.
12282 (display-buffer-default): Delete.
12283 (pop-to-buffer-1): Fix choice of actions.
12284
12285 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
12286
12287 * minibuffer.el (completion--insert-strings): Don't get confused by
12288 completion entries that end with an LF char.
12289
12290 2011-09-01 Eli Zaretskii <eliz@gnu.org>
12291
12292 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
12293
12294 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
12295
12296 * window.el (display-buffer): Restore interactive spec.
12297 (display-buffer-same-window, display-buffer-other-window):
12298 New functions.
12299 (pop-to-buffer-1): New function. Use the above.
12300 (pop-to-buffer, pop-to-buffer-same-window): Use it.
12301 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
12302
12303 * view.el (view-buffer-other-window, view-buffer-other-frame):
12304 Just use pop-to-buffer.
12305
12306 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12307
12308 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
12309
12310 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
12311
12312 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
12313
12314 2011-08-31 Richard Stallman <rms@gnu.org>
12315
12316 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
12317 of the separation of rmail-view-buffer from rmail-buffer.
12318 If you say no to "replace original", the decrypt is in the
12319 view buffer. If you say yes, the decrypt goes into the
12320 rmail buffer also.
12321
12322 2011-08-31 Martin Rudalics <rudalics@gmx.at>
12323
12324 * window.el (display-buffer-window): Rewrite doc-string.
12325 (display-buffer-record-window): New function.
12326 (display-buffer-macro-specifiers)
12327 (display-buffer-even-window-sizes, display-buffer-set-height)
12328 (display-buffer-set-width, display-buffer-in-window)
12329 (display-buffer-reuse-window, display-buffer-split-specifiers)
12330 (display-buffer-side-specifiers, display-buffer-split-window-1)
12331 (display-buffer-split-window, display-buffer-split-atom-window)
12332 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12333 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
12334 (display-buffer-other-window-means-other-frame)
12335 (display-buffer-normalize-special)
12336 (display-buffer-normalize-default)
12337 (display-buffer-normalize-argument)
12338 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
12339 (display-buffer-normalize-specifiers, display-buffer-frame)
12340 (display-buffer-same-window, display-buffer-same-frame)
12341 (display-buffer-other-window)
12342 (display-buffer-same-frame-other-window)
12343 (display-buffer-other-frame, pop-to-buffer-same-window)
12344 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
12345 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
12346 (switch-to-buffer-same-frame)
12347 (switch-to-buffer-other-window-same-frame)
12348 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
12349 (display-buffer-alist-set-1, display-buffer-alist-set-2)
12350 (display-buffer-alist-set): Remove.
12351 (display-buffer-function, special-display-buffer-names)
12352 (special-display-regexps, special-display-function):
12353 In doc-string refer to display-buffer-window and quit-restore
12354 parameter.
12355 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
12356 (special-display-frame-alist, special-display-popup-frame)
12357 (same-window-buffer-names, same-window-regexps, same-window-p)
12358 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12359 (split-window-preferred-function, split-height-threshold)
12360 (split-width-threshold, window-splittable-p)
12361 (split-window-sensibly, window--try-to-split-window)
12362 (window--frame-usable-p, even-window-heights)
12363 (window--even-window-heights, window--display-buffer-1)
12364 (window--display-buffer-2, display-buffer-other-frame):
12365 Restore old Emacs 23 code, order and doc-strings where applicable.
12366 (display-buffer-default, display-buffer-assq-regexp): New functions.
12367 (display-buffer-alist): Rewrite doc-string.
12368 (display-buffer-default-action)
12369 (display-buffer-overriding-action): New variables.
12370 (display-buffer, switch-to-buffer): Rewrite.
12371 (pop-to-buffer): Restore Emacs 23 behavior but use
12372 window-normalize-buffer-to-display.
12373 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
12374 Restore Emacs 23 behavior but use
12375 window-normalize-buffer-to-switch-to.
12376 (pop-to-buffer-same-window): Rewrite.
12377 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
12378 Rewrite using Emacs 23 options.
12379
12380 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
12381
12382 * net/tramp.el (tramp-root-regexp): Remove.
12383 (tramp-completion-file-name-regexp-unified)
12384 (tramp-completion-file-name-regexp-separate)
12385 (tramp-completion-file-name-regexp-url): Don't use leading volume
12386 letter on w32 systems. (Bug#5303, Bug#9311)
12387 (tramp-drop-volume-letter): Simplify definition.
12388 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
12389
12390 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
12393 (bug#9356).
12394
12395 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
12396
12397 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
12398
12399 2011-08-29 Juri Linkov <juri@jurta.org>
12400
12401 * isearch.el (isearch-done): Don't display message "Mark saved"
12402 when arg `edit' is non-nil to prevent its flicker in the echo area.
12403
12404 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12405
12406 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
12407 obsolete packages for deletion.
12408
12409 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
12410
12411 * help-mode.el (help-mode-map): Add special-mode-map to parent.
12412 (help-mode): Derive help-mode from special-mode. Don't invoke
12413 view-mode from help-mode.
12414 (help-xref-override-view-map): Remove.
12415 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
12416 view-mode is not used anymore.
12417
12418 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
12419
12420 * server.el (server-port): Doc fix.
12421
12422 * cus-theme.el (custom-theme-choose-mode): Inherit from
12423 special-mode (Bug#9124).
12424 (custom-theme-choose-mode-map): Add special-mode to parent.
12425
12426 2011-08-28 Alan Mackenzie <acm@muc.de>
12427
12428 * progmodes/cc-fonts.el
12429 (c-make-font-lock-BO-decl-search-function): New function.
12430 (c-basic-matchers-after - "Fontify the clauses after various
12431 keywords"): Extract the three keyword lists for the 3 erroneous
12432 constructs from the list of four, and use the new function above
12433 in place of an old one.
12434
12435 2011-08-28 Deniz Dogan <deniz@dogan.se>
12436
12437 * net/rcirc.el (rcirc-insert-prev-input)
12438 (rcirc-insert-next-input): Remove unused argument.
12439
12440 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
12443
12444 2011-08-27 Alan Mackenzie <acm@muc.de>
12445
12446 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
12447 handle function pointer parameters properly.
12448
12449 2011-08-27 Martin Rudalics <rudalics@gmx.at>
12450
12451 * window.el (display-buffer-reuse-window): Fix case where
12452 selected window was reused with non-nil OTHER-WINDOW argument.
12453 (Bug#9381)
12454
12455 2011-08-27 Deniz Dogan <deniz@dogan.se>
12456
12457 * net/rcirc.el (rcirc-check-auth-status): Adding support for
12458 oftc's NickServ messages.
12459
12460 2011-08-27 Glenn Morris <rgm@gnu.org>
12461
12462 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
12463
12464 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
12465
12466 * emacs-lisp/package.el (package-install): Call package-initialize
12467 if called interactively.
12468
12469 2011-08-26 Leo Liu <sdl.web@gmail.com>
12470
12471 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
12472
12473 2011-08-25 Juri Linkov <juri@jurta.org>
12474
12475 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12476 `search-whitespace-regexp' (bug#9364).
12477
12478 2011-08-25 Juri Linkov <juri@jurta.org>
12479
12480 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12481 `regexp-search-ring' to their global values to protect from
12482 updating by `read-from-minibuffer' (bug#9185).
12483
12484 2011-08-25 Juri Linkov <juri@jurta.org>
12485
12486 * textmodes/ispell.el (ispell-command-loop): Add newline
12487 at the end of the "Use option `i'..." line.
12488
12489 2011-08-25 Juri Linkov <juri@jurta.org>
12490
12491 * battery.el (display-battery-mode): If `battery-status-function'
12492 or `battery-mode-line-format' is nil, display the message and set
12493 `display-battery-mode' to nil (bug#9363).
12494
12495 2011-08-25 Eli Zaretskii <eliz@gnu.org>
12496
12497 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12498 bidi-string-mark-left-to-right; they are unnecessary now.
12499
12500 2011-08-25 Deniz Dogan <deniz@dogan.se>
12501
12502 * net/quickurl.el: Documentation typo fixes.
12503
12504 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
12505
12506 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12507
12508 2011-08-25 Glenn Morris <rgm@gnu.org>
12509
12510 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12511
12512 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12513 (smtpmail-via-smtp): Handle nil response from smtp.
12514
12515 2011-08-24 Juri Linkov <juri@jurta.org>
12516
12517 * proced.el (proced-marked): Inherit from `error' instead of
12518 `font-lock-warning-face'.
12519
12520 * ibuffer.el (ibuffer-marked-face): Change default face from
12521 `font-lock-warning-face' to `warning'.
12522 (ibuffer-deletion-face): Change default face from
12523 `font-lock-type-face' to `error'.
12524
12525 * battery.el (battery-update): Use the face `error' instead of
12526 `font-lock-warning-face' (bug#6117).
12527
12528 2011-08-24 Juri Linkov <juri@jurta.org>
12529
12530 * faces.el (success): Change face color from "Green3" to
12531 "ForestGreen" on light background (bug#9353).
12532
12533 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
12534
12535 * window.el (quit-window): Rename from quit-restore-window.
12536 Use same arglist as old quit-window.
12537 (frame-auto-delete): Doc fix.
12538
12539 * view.el (view-mode-exit): Use quit-window.
12540
12541 2011-08-24 Juri Linkov <juri@jurta.org>
12542
12543 * isearch.el (isearch-ring-adjust1): Start visiting previous
12544 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12545 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12546 for empty search string (when the last search string is reused
12547 automatically) to adjust the isearch ring to the last element and
12548 prepare the correct index for further M-p commands (bug#9185).
12549
12550 2011-08-24 Kenichi Handa <handa@m17n.org>
12551
12552 * international/ucs-normalize.el: If decomposition property of
12553 CHAR is the default one (i.e. a list of CHAR itself), treat it as
12554 nil.
12555 (nfd, nfkd): Likewise.
12556
12557 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
12558
12559 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12560 from process filters aren't reliably transmitted to the surrounding
12561 accept-process-output.
12562 (mpc-proc-check): New function.
12563 (mpc-proc-sync): Use it (bug#8293)
12564
12565 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12568 Add compatibility functions (bug#9313).
12569
12570 2011-08-23 Eli Zaretskii <eliz@gnu.org>
12571
12572 * cus-start.el (all): Add entry for bidi-paragraph-direction.
12573
12574 * international/uni-bidi.el: Regenerate.
12575
12576 2011-08-23 Kenichi Handa <handa@m17n.org>
12577
12578 * international/charprop.el:
12579 * international/uni-bidi.el:
12580 * international/uni-category.el:
12581 * international/uni-combining.el:
12582 * international/uni-comment.el:
12583 * international/uni-decimal.el:
12584 * international/uni-decomposition.el:
12585 * international/uni-digit.el:
12586 * international/uni-lowercase.el:
12587 * international/uni-mirrored.el:
12588 * international/uni-name.el:
12589 * international/uni-numeric.el:
12590 * international/uni-old-name.el:
12591 * international/uni-titlecase.el:
12592 * international/uni-uppercase.el: Regenerate.
12593
12594 2011-08-23 Martin Rudalics <rudalics@gmx.at>
12595
12596 * help.el (help-window-setup): Fix message displayed when other
12597 window is reused. (Bug#9341)
12598
12599 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
12600
12601 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12602 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12603
12604 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12605 Mark obsolete.
12606 * shell.el (shell-parse-pcomplete-arguments): New function.
12607 (shell-completion-vars): Use it instead (bug#9160).
12608
12609 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
12610
12611 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12612 strings and comments (bug#9333).
12613
12614 * emacs-lisp/debug.el (debug-arglist): New function.
12615 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
12616 (debug-on-entry-1): Handle interpreted closures (bug#9120).
12617
12618 2011-08-22 Juri Linkov <juri@jurta.org>
12619
12620 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12621 Revert regexp that highlights output switches to its old
12622 pre-2010-10-28 value and remove one `?' from it (bug#9319).
12623
12624 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12625 to check for empty output (bug#9226).
12626
12627 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
12628
12629 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12630 symbol-constituent as the default, as that stops font-lock from
12631 working properly (Bug#8843).
12632
12633 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12634
12635 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12636 `coding-system-for-*' around the process open call to avoid
12637 auth-source side effects.
12638 (smtpmail-try-auth-methods): Expand the secret password.
12639 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12640 probe hangs.
12641
12642 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12643
12644 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12645
12646 * emacs-lisp/find-func.el (find-function-noselect): New arg
12647 lisp-only.
12648
12649 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12650 signal an error for built-in functions (Bug#6664).
12651
12652 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12653
12654 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12655 (smtpmail-try-auth-methods): Use it.
12656
12657 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
12658
12659 * font-lock.el (font-lock-fontify-region)
12660 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12661 (font-lock-default-unfontify-buffer)
12662 (font-lock-default-fontify-region)
12663 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12664
12665 * progmodes/compile.el (compilation-error-properties):
12666 Fix confusion between file struct and message struct (Bug#9319).
12667 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12668 `ant' regexp.
12669
12670 * net/browse-url.el (browse-url-firefox): Don't call
12671 browse-url-firefox-sentinel unless using -remote (Bug#9328).
12672
12673 2011-08-20 Glenn Morris <rgm@gnu.org>
12674
12675 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12676
12677 * tutorial.el (tutorial--default-keys): Update some default bindings.
12678
12679 * files.el (hack-local-variables): Fully ignore case for "mode:".
12680
12681 2011-08-20 Alan Mackenzie <acm@muc.de>
12682
12683 Resolve invalid use of a regexp in regexp-opt.
12684
12685 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12686 detection for a java annotation.
12687
12688 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12689 detection for a java annotation.
12690
12691 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12692 handling for java.
12693 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12694
12695 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
12696
12697 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12698 (Bug#9274).
12699
12700 2011-08-20 Alan Mackenzie <acm@muc.de>
12701
12702 Fontify CPP expressions correctly when starting in the middle of
12703 such a construct. Mainly for when jit-lock etc. starts a chunk
12704 here.
12705
12706 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12707 variable.
12708 (c-make-font-lock-search-form): New function, extracted from
12709 c-make-font-lock-search-function.
12710 (c-make-font-lock-search-function): Use the above function.
12711 (c-make-font-lock-context-search-function): New function.
12712 (c-cpp-matchers): Enhance the preprocessor expression case with
12713 the above function
12714 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12715 which takes an expression.
12716
12717 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12718
12719 2011-08-20 Martin Rudalics <rudalics@gmx.at>
12720
12721 * window.el (display-buffer-reuse-window)
12722 (display-buffer-pop-up-window): Don't reuse or split a side
12723 window.
12724
12725 2011-08-19 Glenn Morris <rgm@gnu.org>
12726
12727 * files.el (hack-local-variables-prop-line, hack-local-variables):
12728 Downcase "Mode:". (Bug#9331)
12729
12730 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
12731
12732 * international/characters.el: Add L and R categories.
12733
12734 * subr.el (bidi-string-mark-left-to-right): Rename from
12735 string-mark-left-to-right. Use category search.
12736
12737 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12738
12739 2011-08-18 Juri Linkov <juri@jurta.org>
12740
12741 * faces.el (error, warning, success): New faces with definitions
12742 copied from old default values of `font-lock-warning-face',
12743 `compilation-warning', `compilation-info' (bug#6117).
12744
12745 * font-lock.el (font-lock-warning-face): Inherit from `error'.
12746
12747 * progmodes/compile.el (compilation-error): Inherit from `error'.
12748 (compilation-warning): Inherit from `warning'.
12749 (compilation-info): Inherit from `success'.
12750
12751 * dired.el (dired-marked): Inherit from `warning'.
12752 (dired-flagged): Inherit from `error'.
12753
12754 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12755
12756 * mail/smtpmail.el (auth-source): Require to avoid problems with
12757 binding variables (bug#9298). Also clean up some unused
12758 autoloads.
12759
12760 * net/network-stream.el (network-stream-open-starttls):
12761 Support using starttls.el without using gnutls-cli.
12762
12763 2011-08-17 Juri Linkov <juri@jurta.org>
12764
12765 * progmodes/grep.el (rgrep): Handle the case when
12766 `grep-find-command' is a cons cell (bug#9278).
12767
12768 2011-08-17 Martin Rudalics <rudalics@gmx.at>
12769
12770 * window.el (display-buffer-pop-up-frame): Run frame creation
12771 function with BUFFER current (as special-display-popup-frame
12772 does). Reported by Drew Adams.
12773
12774 2011-08-17 Daiki Ueno <ueno@unixuser.org>
12775
12776 * epa-mail.el: Simplify GnuPG group expansion using
12777 epg-expand-group.
12778 (epa-mail-group-alist, epa-mail-group-modtime)
12779 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12780 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12781 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12782 Remove.
12783
12784 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
12785
12786 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12787
12788 2011-08-16 Alan Mackenzie <acm@muc.de>
12789
12790 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12791 Correct, to avoid the inside of macros.
12792
12793 2011-08-16 Richard Stallman <rms@gnu.org>
12794
12795 * epa-mail.el: Handle GnuPG group definitions.
12796 (epa-mail-group-alist, epa-mail-group-modtime)
12797 (epa-mail-gnupg-conf-file): New variables.
12798 (epa-mail-parse-groups, epa-mail-sync-groups)
12799 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12800 (epa-mail-expand-recipients): New functions.
12801 (epa-mail-encrypt): Call epa-mail-expand-recipients.
12802
12803 * mail/rmail.el (rmail-epa-decrypt): New command.
12804
12805 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12806 Don't bind buffer-read-only, just inhibit-read-only.
12807 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12808 (epa-decrypt-armor-in-region): Make error message clearer.
12809
12810 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
12811
12812 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12813 and "a2b" to "ab" for `prefix'.
12814
12815 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
12816
12817 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12818 filter groups.
12819 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
12820 Fourquet (Bug#8804).
12821
12822 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
12823
12824 * startup.el (argi): Declare as global variable (bug#9275).
12825
12826 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
12827
12828 * subr.el (string-mark-left-to-right): Search the entire string
12829 for RTL script, not just the terminating character. Doc fix.
12830
12831 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
12832
12833 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12834 New function.
12835 (js--regexp-literal, js-syntax-propertize-function): Remove.
12836 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12837 (js-mode-map): Don't rebind electric keys.
12838 (js-insert-and-indent): Remove.
12839 (js-mode): Setup electric-layout and electric-indent instead.
12840
12841 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12842
12843 2011-08-12 Daiki Ueno <ueno@unixuser.org>
12844
12845 * epa.el (epa-progress-callback-function): Fix the logic of
12846 displaying progress.
12847 * epa-file.el (epa-file-insert-file-contents): Make progress
12848 display more user-friendly.
12849 (epa-file-write-region): Ditto.
12850
12851 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
12852
12853 * subr.el (string-mark-left-to-right): New function.
12854
12855 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12856 Use string-mark-left-to-right.
12857 (list-buffers-noselect): Caller changed.
12858
12859 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12860 Use string-mark-left-to-right.
12861 (tabulated-list-print): Recenter after moving point.
12862
12863 2011-08-10 Juri Linkov <juri@jurta.org>
12864
12865 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12866 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12867 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12868
12869 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
12870
12871 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12872 (Bug#7554).
12873
12874 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
12875
12876 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12877 character. (Bug#6594)
12878
12879 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
12880
12881 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12882 (image-dired--with-db-file): New macro.
12883 (image-dired-write-tags, image-dired-remove-tag)
12884 (image-dired-create-gallery-lists, image-dired-write-comments)
12885 (image-dired-get-comment, image-dired-mark-tagged-files)
12886 (image-dired-list-tags, image-dired-gallery-generate): Use it.
12887 (image-dired-gallery-generate): Use insert-file-contents.
12888
12889 * time.el (display-time-world-list, display-time-world-display):
12890 * time-stamp.el (time-stamp-string):
12891 * vc/add-log.el (add-change-log-entry): Use setenv instead of
12892 set-time-zone-rule (Bug#7337).
12893
12894 2011-08-08 Daiki Ueno <ueno@unixuser.org>
12895
12896 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12897 (epg-error-to-string, epg-errors-to-string): New function.
12898 (epg-wait-for-completion): Reverse errors list.
12899 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12900 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12901 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12902 (epg-sign-keys, epg-generate-key-from-file)
12903 (epg-generate-key-from-string): Format errors by using
12904 epg-errors-to-string (bug#9255).
12905 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12906
12907 2011-08-07 Juri Linkov <juri@jurta.org>
12908
12909 * faces.el (list-faces-display): Remove extra angle bracket
12910 from `help-mode-map'.
12911
12912 * info.el (Info-history-toc-nodes): Doc fix.
12913
12914 * longlines.el (longlines-mode): Doc fix.
12915
12916 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
12917
12918 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12919 of statements and in a few more cases (bug#9183).
12920
12921 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12922 New functions.
12923 (cl-transform-lambda): Use them (bug#9239).
12924
12925 2011-08-05 Martin Rudalics <rudalics@gmx.at>
12926
12927 * window.el (display-buffer-same-window)
12928 (display-buffer-same-frame, display-buffer-other-window)
12929 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12930 (pop-to-buffer-other-window)
12931 (pop-to-buffer-same-frame-other-window)
12932 (pop-to-buffer-other-frame): Make them defuns.
12933 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12934
12935 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * subr.el (make-composed-keymap): Move from C. Change calling
12938 convention, and improve docstring to bring attention to a subtle point.
12939 * minibuffer.el (completing-read-default): Adjust accordingly.
12940
12941 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
12942
12943 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12944 (tramp-open-shell): Use `tramp-shell-quote-argument'.
12945
12946 * net/trampver.el: Update release number.
12947
12948 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
12949
12950 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12951 "in" (bug#9190).
12952
12953 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12954
12955 * mail/sendmail.el (sendmail-query-once): Restore the current
12956 buffer after querying (bug#9074).
12957
12958 * dired.el (dired-flagged): Use different faces for marked and
12959 flagged files (bug#6117).
12960
12961 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12962 (bug#4433).
12963
12964 * ido.el (ido-mode): Switch off the message if called
12965 non-interactively.
12966
12967 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12968 before 587, since it appears that that's more likely to work for
12969 more people.
12970
12971 * cus-edit.el (custom-file): When running under emacs -q, always
12972 refuse to save the customizations, even if the .emacs file doesn't
12973 exist.
12974
12975 * info.el: Remove the `Info-beginning-of-buffer' function
12976 (bug#8325).
12977
12978 * net/network-stream.el (network-stream-open-starttls):
12979 Use `starttls-available-p' to see whether starttls.el can be used.
12980
12981 2011-08-01 Martin Rudalics <rudalics@gmx.at>
12982
12983 * window.el (display-buffer-in-window): Don't set dedicated status
12984 of window here (Bug#9215).
12985 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12986 (display-buffer-pop-up-side-window)
12987 (display-buffer-in-side-window): Set dedicated status of window here.
12988
12989 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
12990
12991 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12992 before binding generated-autoload-file.
12993
12994 2011-08-01 Deniz Dogan <deniz@dogan.se>
12995
12996 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12997
12998 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
12999
13000 Sync with Tramp 2.2.2.
13001
13002 * net/trampver.el: Update release number.
13003
13004 2011-07-30 Juri Linkov <juri@jurta.org>
13005
13006 * dired-aux.el (dired-touch-initial): Remove function.
13007 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
13008 current time, and `default' to the last modification time of the
13009 current marked file (bug#6887).
13010
13011 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
13012
13013 * simple.el (goto-line): Use string-to-number to provide a
13014 numeric argument to read-number (bug#9163).
13015
13016 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
13017
13018 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
13019 connection process, it could be nil.
13020
13021 2011-07-27 Leo Liu <sdl.web@gmail.com>
13022
13023 Simplify url handling in rcirc-mode.
13024
13025 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
13026 (rcirc-browse-url-at-mouse): Remove.
13027 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
13028
13029 2011-07-26 Alan Mackenzie <acm@muc.de>
13030
13031 Fontify bitfield declarations properly.
13032
13033 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
13034 (c-symbol-chars): Now exported as a lang variable.
13035 (c-not-primitive-type-keywords): New lang variable.
13036
13037 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
13038 QT keyword "more" to prevent "more slots: ...." being spuriously
13039 parsed as a bitfield declaration.
13040
13041 * progmodes/cc-engine.el (c-beginning-of-statement-1):
13042 Refactor and enhance to handle bitfield declarations.
13043 (c-punctuation-in): New function.
13044 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
13045 declarations properly.
13046
13047 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
13048
13049 * calendar/icalendar.el (icalendar--all-events): Take care of
13050 multiple vcalendars in a single file.
13051 (icalendar--convert-float-to-ical): Checkdoc fixes.
13052
13053 2011-07-25 Deniz Dogan <deniz@dogan.se>
13054
13055 * image.el (insert-image): Clarifying docstring.
13056
13057 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
13058
13059 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
13060 `tramp-send-command-and-check' if there is no error.
13061 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
13062
13063 2011-07-22 Alan Mackenzie <acm@muc.de>
13064
13065 Prevent cc-langs.elc being loaded at run time.
13066
13067 * progmodes/cc-mode.el: Remove two autoload forms which loaded
13068 cc-langs.
13069
13070 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
13071 "(require 'cc-langs)". Quote a form so it will evaluate at
13072 (cc-mode's) compilation time.
13073
13074 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
13075
13076 * net/tramp.el (tramp-file-name-handler): Avoid recursive
13077 loading. (Bug#9114)
13078
13079 2011-07-21 Martin Rudalics <rudalics@gmx.at>
13080
13081 * window.el (display-buffer-pop-up-window)
13082 (display-buffer-pop-up-side-window)
13083 (display-buffer-in-side-window): Call display-buffer-set-height
13084 and display-buffer-set-width after setting the new window's
13085 buffer so `fit-window-to-buffer' and friends work on the right buffer.
13086
13087 2011-07-20 Sam Steingold <sds@gnu.org>
13088
13089 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
13090 (etags-tags-included-tables): Call `convert-standard-filename' on
13091 the file names contained in TAGS so that windows Emacs can handle
13092 TAGS files created by cygwin ctags.
13093
13094 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
13095
13096 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
13097 which apparently didn't work.
13098
13099 2011-07-19 Roland Winkler <winkler@gnu.org>
13100
13101 * proced.el (proced-send-signal): For *Marked Processes* buffer
13102 put point at beginning of buffer.
13103
13104 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
13105
13106 * proced.el (proced-format): Make header lines align with the text
13107 (bug#1779).
13108
13109 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13110
13111 * view.el (view-buffer): Allow running in `special' modes if we're
13112 visiting a file (bug#8615).
13113
13114 2011-07-19 Martin Rudalics <rudalics@gmx.at>
13115
13116 * window.el (display-buffer-alist-of-strings-p)
13117 (display-buffer-alist-set-1, display-buffer-alist-set-2):
13118 New functions.
13119 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
13120 more accurately.
13121
13122 2011-07-18 Alan Mackenzie <acm@muc.de>
13123
13124 Fontify declarators properly when, e.g., a jit-lock chunk begins
13125 inside a declaration.
13126
13127 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
13128
13129 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13130 New function.
13131 (c-complex-decl-matchers): Insert reference to
13132 c-font-lock-enclosing-decls.
13133
13134 * progmodes/cc-engine.el (c-backward-single-comment):
13135 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
13136 to nil around calls to (forward-comment -1).
13137
13138 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13139
13140 * image.el (put-image): Doc typo fix.
13141
13142 * progmodes/etags.el (tags-search): Doc typo fix.
13143
13144 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
13145 password if we get errors 550 to 554.
13146
13147 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
13148
13149 * net/gnutls.el (gnutls-log-level): Remove.
13150
13151 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
13152 indentation character (bug#6380).
13153
13154 * files.el (buffer-offer-save): Made permanently local (bug#6241).
13155
13156 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
13157 to clarify what the problem is (bug#4291).
13158
13159 * simple.el (current-kill): Clarify what
13160 `interprogram-paste-function' does (bug#7500).
13161 (auto-fill-mode): Document `auto-fill-function' in relation to
13162 `auto-fill-mode' (bug#2470).
13163
13164 2011-07-16 Lawrence Mitchell <wence@gmx.li>
13165
13166 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
13167 method if slot is read-only (bug#9035).
13168
13169 2011-07-16 Martin Rudalics <rudalics@gmx.at>
13170
13171 * frame.el (select-frame-set-input-focus): New argument NORECORD.
13172 * window.el (pop-to-buffer): Select window used even if it was
13173 selected before, see discussion of (Bug#8615), (Bug#6954).
13174 Pass argument NORECORD on to select-frame-set-input-focus.
13175
13176 2011-07-15 Glenn Morris <rgm@gnu.org>
13177
13178 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
13179 Respect help-form.
13180
13181 2011-07-09 Lawrence Mitchell <wence@gmx.li>
13182
13183 * net/gnutls.el (gnutls-min-prime-bits): New variable.
13184 (gnutls-negotiate): Use it.
13185
13186 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13187
13188 * net/gnutls.el (gnutls-negotiate):
13189 Upcase `gnutls-algorithm-priority'.
13190
13191 2011-07-15 Glenn Morris <rgm@gnu.org>
13192
13193 * jka-compr.el (jka-compr-verbose): Move from here...
13194 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
13195 Add missing :version tag.
13196 * info.el: No need to require jka-compr when compiling.
13197
13198 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13199
13200 * net/gnutls.el (gnutls-algorithm-priority): New variable.
13201 (gnutls-negotiate): Use it.
13202
13203 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
13204
13205 * info.el (Info-beginning-of-buffer): New command.
13206 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
13207 announcing `b' as the key (bug#8325).
13208 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
13209
13210 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
13211
13212 * international/mule-cmds.el
13213 (describe-specified-language-support): Make the error message
13214 clearer (bug#8905).
13215
13216 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
13217
13218 * isearch.el (isearch-barrier): Add a doc string, since it's
13219 mentioned in a function doc string (bug#8678).
13220
13221 2011-07-15 Martin Rudalics <rudalics@gmx.at>
13222
13223 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
13224 buffer argument (Bug#9083) and self-identifying label argument.
13225
13226 2011-07-15 Glenn Morris <rgm@gnu.org>
13227
13228 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
13229
13230 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13231
13232 * man.el (Man-fontify-manpage): Fix message when formatting the
13233 man page (bug#7929).
13234
13235 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13236
13237 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
13238 argument LRM; if non-nil, append an invisible LRM character to the
13239 buffer name.
13240 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
13241 last argument non-nil, when formatting buffer names.
13242 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
13243 paragraph direction.
13244
13245 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
13246
13247 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
13248 the man page name (bug#7929).
13249
13250 * image.el (put-image): Mention the `put-image' overlay property
13251 (bug#7834).
13252
13253 * scroll-bar.el (set-scroll-bar-mode): Mention that
13254 `scroll-bar-mode' lists the values (bug#7772).
13255
13256 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
13257 command (bug#7729).
13258
13259 * rect.el (apply-on-rectangle): Return the point after the last
13260 operation.
13261 (string-rectangle): Go to the point after the last operation
13262 (bug#7522).
13263
13264 * printing.el (pr-toggle-region): Clarify the documentation
13265 slightly (bug#7493).
13266
13267 * time.el (display-time-update):
13268 Allow `display-time-mail-function' to return nil (bug#7158).
13269 Fix suggested by Detlev Zundel.
13270
13271 * vc/diff.el (diff): Clarify the order the file names are read
13272 (bug#7111).
13273
13274 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
13275 the doc string (bug#7015).
13276
13277 * font-lock.el (font-lock-maximum-decoration): Mention what
13278 numeric levels mean (bug#6935).
13279
13280 * startup.el (initial-buffer-choice): Don't mention the `none'
13281 selection, which is against policy.
13282
13283 2011-07-14 Martin Rudalics <rudalics@gmx.at>
13284
13285 * window.el (display-buffer-normalize-special):
13286 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
13287
13288 2011-07-14 Eli Zaretskii <eliz@gnu.org>
13289
13290 * subr.el (version<, version<=, version=): Mention "-CVS" and
13291 "-12345" alpha version numbers.
13292
13293 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13294
13295 * bindings.el: Add advertised binding for set-mark-command
13296 (Bug#5772).
13297
13298 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
13299
13300 * bindings.el (mode-line-other-buffer):
13301 * bookmark.el (bookmark-bmenu-2-window):
13302 * bs.el (bs-cycle-next, bs-cycle-previous):
13303 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
13304 switch-to-buffer.
13305
13306 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13307 Delete.
13308
13309 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
13310
13311 * follow.el (follow-debug-message, follow-redisplay):
13312 * jka-cmpr-hook.el (with-auto-compression-mode):
13313 Fix typos in docstrings.
13314
13315 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13316
13317 * subr.el (with-silent-modifications): Clarify somewhat what the
13318 macro inhibits (bug#6525).
13319
13320 * simple.el (eval-expression): Note what it does if called
13321 interactively (bug#6495).
13322
13323 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13324
13325 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
13326 Use pop-to-buffer buffer-or-name if it is nil.
13327
13328 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13329 Remove switch-to-buffer.
13330
13331 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13332
13333 * files.el (make-directory): Clarify that an error will be raised
13334 if there's an error (bug#6397).
13335
13336 * startup.el (initial-buffer-choice): Add `none' as a choice
13337 (bug#6234).
13338
13339 * subr.el (add-hook): Clarify section about buffer-local hooks
13340 (bug#6218).
13341
13342 * dired.el (dired-flagged): Clarify doc string (bug#6117).
13343
13344 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13345
13346 * tabify.el (untabify): Preserve the current column so that point
13347 doesn't move (bug#6032).
13348
13349 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13350
13351 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
13352 Rewrite to avoid awkward possessive "s" (bug#5986).
13353
13354 2011-07-13 Glenn Morris <rgm@gnu.org>
13355
13356 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
13357 (dired-insert-directory): Give a message the first time
13358 if ls is found not to support --dired.
13359
13360 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13361
13362 * simple.el (toggle-truncate-lines): Clarify what is toggled
13363 (bug#5580). Text by Drew Adams.
13364
13365 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
13366
13367 * simple.el (blink-matching-open): Make the error message from the
13368 last change less verbose.
13369
13370 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
13371
13372 * font-lock.el (font-lock-comment-face): Use the high contrast
13373 "yellow" color for font-lock-comment-face on low color terminals
13374 using a dark background color (bug#4221).
13375
13376 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13377
13378 * dired.el (dired-insert-set-properties): Make the doc string
13379 reflect what it does now (bug#5325).
13380
13381 * simple.el (blink-matching-open): Say that we were unable to find
13382 the match within the limit, if we're limited (bug#5122).
13383
13384 * international/mule-cmds.el (prefer-coding-system): Add an
13385 example (bug#4869).
13386
13387 * progmodes/etags.el (tags-search): Document `file-list-form'
13388 (bug#4731).
13389
13390 2011-07-13 Lawrence Mitchell <wence@gmx.li>
13391
13392 * net/browse-url.el (browse-url-default-browser)
13393 (browse-url-browser-function): Make the default browser choice a
13394 bit more logical (bug#4300). Also clean up the doc string.
13395
13396 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
13397
13398 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
13399 binary endings (bug#4440).
13400
13401 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
13402
13403 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
13404 which can be pretty annoying (bug#8971).
13405
13406 * jka-compr.el (jka-compr-verbose): New variable, and use
13407 throughout (bug#8971).
13408
13409 * info.el (Info-find-file): Fall back on the installation
13410 directory if we can't find the info node anywhere else.
13411
13412 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
13413
13414 * vc/vc.el (vc-revert-file):
13415 Don't set file time-stamp in the past. (Bug#5181)
13416
13417 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13418
13419 * files.el (after-find-file): Give a better error message when
13420 trying to find a symlink that points to a file that doesn't exist
13421 (bug#4398).
13422
13423 * progmodes/cc-vars.el: Remove (probably) misleading comment
13424 (bug#4396).
13425
13426 2011-07-12 Johan Bockgård <bojohan@gnu.org>
13427
13428 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
13429
13430 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13431
13432 * mouse-sel.el: Hack restoring functionality, while keeping
13433 compatibility with 2010-07-03 changes to mouse selection.
13434 (mouse-sel-primary-overlay): New var.
13435 (mouse-sel-selection-alist): Use it.
13436 (mouse-sel-mode): Doc fix; remove points that are default features
13437 of mouse.el.
13438
13439 2011-07-12 Johan Bockgård <bojohan@gnu.org>
13440
13441 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13442 Fix previous fix (bug#2490).
13443
13444 2011-07-12 Roland Winkler <winkler@gnu.org>
13445
13446 * textmodes/bibtex.el (bibtex-initialize):
13447 Use pop-to-buffer-same-window.
13448 (bibtex-search-entries): Fix interactive call.
13449
13450 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13451
13452 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13453 Fontise bytecomp Error lines more correctly (bug#2490).
13454 Fix suggested by Johan Bockgård.
13455
13456 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13457
13458 * dired-x.el (dired-guess-default): Use `delete-dups'.
13459
13460 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
13461
13462 * dired.el (dired-mark-prompt):
13463 * dired-aux.el (dired-read-shell-command): Doc fix.
13464
13465 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13466
13467 * mail/sendmail.el (sendmail-query-once):
13468 Use `customize-save-variable' unconditionally, now that it works under
13469 emacs -Q.
13470
13471 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13472
13473 * cus-edit.el (custom-file): Take an optional no-error variable.
13474 (customize-save-variable): Set the variable, and give a warning if
13475 running under "emacs -q".
13476
13477 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
13478
13479 * loadhist.el (unload-feature-special-hooks):
13480 Add `auto-coding-functions', `fill-nobreak-predicate' and
13481 `find-directory-functions' (bug#5327).
13482
13483 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13484
13485 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13486
13487 * cus-edit.el (custom-guess-name-alist): -alist variables should
13488 use the `alist' type (bug#3120). Suggested by Drew Adams.
13489
13490 * printing.el: Add documentation to all the `pr-toggle-' commands.
13491
13492 2011-07-11 Leo Liu <sdl.web@gmail.com>
13493
13494 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13495 backends where it makes sense (bug#2623).
13496
13497 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13498
13499 * dired-x.el (dired-guess-default): Remove duplicate shell command
13500 entries (bug#2028).
13501 (dired-guess-default): Fix grammar in doc string (bug#2028).
13502 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13503
13504 * subr.el (remove-duplicates): New conveniency function.
13505
13506 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13507
13508 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13509 (bug#1526).
13510
13511 2011-07-10 Martin Rudalics <rudalics@gmx.at>
13512
13513 * window.el (display-buffer-normalize-default): Don't invert
13514 meaning of even-window-heights. Reported by Eli Zaretskii
13515 <eliz@gnu.org>.
13516
13517 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
13518
13519 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13520
13521 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
13522
13523 * window.el (display-buffer): Fix arguments to
13524 display-buffer-reuse-window in last change.
13525
13526 * faces.el (link): Use a less saturated blue on light backgrounds.
13527
13528 * startup.el (fancy-startup-text, fancy-about-text)
13529 (fancy-startup-tail): Use font-lock faces, for background safety.
13530
13531 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
13532
13533 * emulation/viper-cmd.el (viper-change-state-to-vi):
13534 Limit triggering of abbrev expansion (Bug#9038).
13535
13536 2011-07-09 Martin Rudalics <rudalics@gmx.at>
13537
13538 * window.el (display-buffer-default-specifiers): Remove.
13539 (display-buffer-macro-specifiers): Remove default specifiers.
13540 (display-buffer-alist): Default to nil.
13541 (display-buffer-reuse-window): New optional argument other-window.
13542 (display-buffer-pop-up-window): Allow splitting internal
13543 windows. Check whether a live window was created.
13544 (display-buffer-other-window-means-other-frame)
13545 (display-buffer-normalize-arguments): Rename to
13546 display-buffer-normalize-argument and rewrite. Set the
13547 other-window specifier.
13548 (display-buffer-normalize-special): New function.
13549 (display-buffer-normalize-options): Rename to
13550 display-buffer-normalize-default and rewrite.
13551 (display-buffer-normalize-options-inhibit): Remove.
13552 (display-buffer-normalize-specifiers): Rewrite.
13553 (display-buffer): Process other-window specifier and call
13554 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
13555 more faithfully.
13556 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13557 (display-buffer-alist-set): Don't handle 'unset default values.
13558 (display-buffer-in-window, display-buffer-alist-set):
13559 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
13560 <tassilo@member.fsf.org>.
13561
13562 2011-07-09 Leo Liu <sdl.web@gmail.com>
13563
13564 * register.el (insert-register): Restore accidental change on
13565 2011-06-26. (Bug#9028)
13566
13567 2011-07-09 Glenn Morris <rgm@gnu.org>
13568
13569 * subr.el (remq): Handle the empty list. (Bug#9024)
13570
13571 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
13572
13573 * mail/sendmail.el (send-mail-function): No longer delay custom
13574 initialization.
13575 * custom.el (custom-initialize-delay): Doc fix.
13576
13577 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13578
13579 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13580
13581 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
13582
13583 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13584 human-friendly prompt.
13585
13586 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
13587
13588 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13589 provided by a particular plugin.
13590
13591 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
13592
13593 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13594 save customizations (with "emacs -Q"), just set the variable
13595 instead of erroring out.
13596
13597 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13598
13599 2011-07-08 Juri Linkov <juri@jurta.org>
13600
13601 * arc-mode.el (archive-zip-expunge, archive-zip-update)
13602 (archive-zip-update-case): Use 7z if found by `executable-find'.
13603 The order of searching the available programs is the same as in
13604 `archive-zip-extract' (bug#8968).
13605
13606 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13607
13608 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13609 (menu-bar-options-menu): Tweak descriptions.
13610
13611 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13612
13613 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13614 menu items into verb phrases (bug#1421). Also refill to fit under
13615 80 columns.
13616
13617 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13618
13619 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13620 (Info-read-node-name): Doc fix (Bug#1084).
13621
13622 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13623 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13624 (end-of-sexp, beginning-of-sexp)
13625 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13626 (forward-symbol, forward-same-syntax, word-at-point)
13627 (sentence-at-point): Doc fix (Bug#1144).
13628
13629 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
13630
13631 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13632 should cover it (bug#1281).
13633
13634 * cus-edit.el (custom-show): Mark as obsolete.
13635
13636 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13637 negotiation fails, then possibly try again with a non-encrypted
13638 connection (bug#9017).
13639
13640 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13641 be used.
13642
13643 2011-07-07 Richard Stallman <rms@gnu.org>
13644
13645 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13646 property, and handle its changed format.
13647 Look for the correct line number.
13648 Use file's line contents (but not past first =) to find
13649 correct line in message.
13650
13651 2011-07-07 Kenichi Handa <handa@m17n.org>
13652
13653 * international/characters.el (build-unicode-category-table):
13654 Delete it.
13655 (unicode-category-table): Set it by unicode-property-table-internal.
13656
13657 * international/mule-cmds.el (char-code-property-alist): Move to
13658 to src/chartab.c.
13659 (get-char-code-property): Call unicode-property-table-internal to
13660 load a file. Call get-unicode-property-internal where necessary.
13661 (put-char-code-property): Call unicode-property-table-internal to
13662 load a file. Call put-unicode-property-internal where necessary.
13663 put-unicode-property-internal where necessary.
13664 (char-code-property-description):
13665 Call unicode-property-table-internal to load a file.
13666
13667 * international/charprop.el:
13668 * international/uni-bidi.el:
13669 * international/uni-category.el:
13670 * international/uni-combining.el:
13671 * international/uni-comment.el:
13672 * international/uni-decimal.el:
13673 * international/uni-decomposition.el:
13674 * international/uni-digit.el:
13675 * international/uni-lowercase.el:
13676 * international/uni-mirrored.el:
13677 * international/uni-name.el:
13678 * international/uni-numeric.el:
13679 * international/uni-old-name.el:
13680 * international/uni-titlecase.el:
13681 * international/uni-uppercase.el: Regenerate.
13682
13683 * loadup.el: Load international/charprop.el before
13684 international/characters.
13685
13686 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
13687
13688 * window.el (next-buffer, previous-buffer): Signal an error if
13689 called from a minibuffer window.
13690
13691 * bindings.el: Revert 2011-07-04 change.
13692
13693 2011-07-06 Richard Stallman <rms@gnu.org>
13694
13695 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13696 (rmail-mime-insert-bulk, rmail-mime-insert-text):
13697 Treat markers like ints.
13698 (rmail-mime-entity): Doc fix.
13699
13700 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13701
13702 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13703 defcustom again for backwards compatibility.
13704
13705 * simple.el (shell-command-on-region): Fill.
13706
13707 * dired-aux.el (dired-kill-line): Add a doc string.
13708
13709 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13710 to "\\sw\\|\\s_" (bug#358).
13711
13712 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13713 (dired-unmark-backward): Ditto.
13714 (dired-flag-backup-files): Ditto.
13715
13716 * dired-x.el (dired-mark-sexp): Ditto.
13717
13718 2011-07-06 Richard Stallman <rms@gnu.org>
13719
13720 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13721 (rmail-mime-entity): New arg TRUNCATED.
13722 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13723 New functions.
13724 (rmail-mime-save): Warn if entity is truncated.
13725 (rmail-mime-toggle-hidden): Likewise, for showing.
13726 (rmail-mime-process-multipart): Record when an entity is truncated.
13727
13728 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13729 if ENTITY is a string.
13730
13731 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
13732
13733 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13734 of faces when `M-C-x'-ing their definitions (bug#8378).
13735 Also clean up the code slightly.
13736
13737 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13738 because that makes the colors go away.
13739
13740 * mail/sendmail.el (send-mail-function): Change the default to
13741 `sendmail-query-once'.
13742 (sendmail-query-once): Add an autoload cookie.
13743
13744 * net/network-stream.el (network-stream-open-starttls): Try using
13745 a plain connection even if the server offered STARTTLS, and we
13746 kinda wanted to use it, if Emacs doesn't have any STARTTLS
13747 capability. This should make smtpmail.el work in slightly more
13748 configurations.
13749
13750 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
13751
13752 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13753 New defun.
13754 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13755
13756 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
13757
13758 * progmodes/sql.el: Version 3.0
13759 (sql-product-alist): Add product :completion-object,
13760 :completion-column, and :statement attributes.
13761 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13762 (sql-mode-syntax-table): Mark all punctuation.
13763 (sql-font-lock-keywords-builder): Temporarily remove fallback on
13764 ansi keywords.
13765 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13766 (sql-mode-oracle-font-lock-keywords): Improve.
13767 (sql-oracle-show-reserved-words): New function for development.
13768 (sql-product-font-lock): Simplify for source code buffers.
13769 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13770 New functions.
13771 (sql-highlight-product): Set product specific syntax table.
13772 (sql-mode-map): Add statement movement functions.
13773 (sql-ansi-statement-starters, sql-oracle-statement-starters):
13774 New variable.
13775 (sql-statement-regexp, sql-beginning-of-statement)
13776 (sql-end-of-statement, sql-signum): New functions.
13777 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13778 (sql-show-sqli-buffer): Bug fix.
13779 (sql-interactive-mode): Store connection data as buffer local.
13780 (sql-connect): Add NEW-NAME parameter. Redesign interaction
13781 with sql-interactive-mode.
13782 (sql-save-connection): Save buffer local settings.
13783 (sql-connection-menu-filter): Change menu entry name.
13784 (sql-product-interactive): Bug fix.
13785 (sql-preoutput-hold): New variable.
13786 (sql-interactive-remove-continuation-prompt): Bug fixes.
13787 (sql-debug-redirect): New variable.
13788 (sql-str-literal): New function.
13789 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13790 Redesign.
13791 (sql-oracle-save-settings, sql-oracle-restore-settings)
13792 (sql-oracle-list-all, sql-oracle-list-table): New functions.
13793 (sql-completion-object, sql-completion-column)
13794 (sql-completion-sqlbuf): New variables.
13795 (sql-build-completions-1, sql-build-completions)
13796 (sql-try-completion): New functions.
13797 (sql-read-table-name): Use them.
13798 (sql-contains-names): New buffer local variable.
13799 (sql-list-all, sql-list-table): Use it.
13800 (sql-oracle-completion-types): New variable.
13801 (sql-oracle-completion-object, sql-sqlite-completion-object)
13802 (sql-postgres-completion-object): New functions.
13803
13804 2011-07-06 Glenn Morris <rgm@gnu.org>
13805
13806 * window.el (pop-to-buffer): Doc fix.
13807
13808 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
13809
13810 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13811
13812 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
13813
13814 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13815
13816 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13817
13818 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
13819
13820 * button.el (button): Inherit from link face. Suggested by Dan
13821 Nicolaescu.
13822
13823 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13824
13825 * progmodes/gdb-mi.el: Fit in 80 columns.
13826 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13827 switch-to-buffer.
13828
13829 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13830 if imenu is simply not configured (bug#8941).
13831
13832 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
13833
13834 * allout.el (allout-post-undo-hook): New allout outline-change
13835 event hook to signal undo activity.
13836 (allout-post-command-business): Run allout-post-undo-hook if an
13837 undo just occurred.
13838 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13839 * allout-widgets.el (allout-widgets-after-undo-function):
13840 Ensure the integrity of the current item's decoration after it has been
13841 in the vicinity of an undo.
13842 (allout-widgets-mode): Include allout-widgets-after-undo-function
13843 on the new allout-post-undo-hook.
13844
13845 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13846
13847 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13848 Let define-derived-mode define it.
13849 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13850 cycles of abbrev-table inheritance (bug#8998).
13851
13852 2011-07-05 Roland Winkler <winkler@gnu.org>
13853
13854 * textmodes/bibtex.el: Add support for biblatex.
13855 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13856 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13857 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13858 (bibtex-entry-alist, bibtex-field-alist): New variables.
13859 (bibtex-entry-field-alist): Obsolete alias for
13860 bibtex-BibTeX-entry-alist.
13861 (bibtex-entry-alist, bibtex-field-alist): New widgets.
13862 (bibtex-set-dialect): New command.
13863 (bibtex-entry-type, bibtex-entry-head)
13864 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13865 Bind via bibtex-set-dialect.
13866 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13867 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13868 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13869 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13870 Define via bibtex-set-dialect.
13871 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13872 Obey bibtex-no-opt-remove-re.
13873 (bibtex-vec-push, bibtex-vec-incr): New functions.
13874 (bibtex-format-entry, bibtex-field-list)
13875 (bibtex-print-help-message, bibtex-validate)
13876 (bibtex-search-entries): Use new format of bibtex-entry-alist.
13877
13878 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
13879
13880 * progmodes/compile.el (compilation-goto-locus):
13881 * net/tramp-cmds.el (tramp-append-tramp-buffers):
13882 * bs.el (bs-cycle-next, bs-cycle-previous):
13883 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13884 * bindings.el (mode-line-other-buffer):
13885 * autoinsert.el (auto-insert):
13886 * arc-mode.el (archive-extract):
13887 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13888
13889 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13890
13891 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13892 Fix check of `emacs-lock-unlockable-modes'.
13893 Coerce true values of `emacs-lock--try-unlocking' to t.
13894
13895 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13896
13897 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13898 * emacs-lock.el: New file.
13899
13900 2011-07-05 Julien Danjou <julien@danjou.info>
13901
13902 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13903 than `boundp' to check if face is set.
13904
13905 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
13906
13907 * register.el (registerv-make):
13908 * window.el (window-min-height): Fix typos in docstrings.
13909
13910 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
13911
13912 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13913 Update doc string.
13914
13915 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
13916
13917 * server.el (server-execute): Catch quit and call
13918 `server-return-error' to pass the error back to emacsclient and
13919 close the connection (bug#8942).
13920
13921 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
13922
13923 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13924 insecure exception for current topic. Also note that auto-saves
13925 are handled differently.
13926
13927 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13928 State variables for tracking auto-save inhibition situation.
13929
13930 (allout-write-contents-hook-handler): Rename from
13931 'allout-write-file-hook-handler', and describe how it depends on
13932 write-contents-functions sensitivity to non-nil value to prevent
13933 file write.
13934
13935 (allout-auto-save-hook-handler): Remove. auto-save does not check
13936 this in individual buffers, only in the starting buffer, so this
13937 is not the right way for us to inhibit auto-save in a buffer
13938 according to its condition.
13939
13940 (allout-mode): Use new allout-write-contents-hook-handler, and
13941 only with write-contents-functions. Remove auto-save provisions -
13942 they're implemented elsewhere.
13943
13944 (allout-before-change-handler): If undo is in progress, note that
13945 for attention of allout-post-command-business.
13946
13947 (allout-post-command-business): If the command we're following was
13948 an undo, check for change in the status of encrypted items and
13949 adjust auto-save inhibitions accordingly.
13950
13951 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13952 according to whether there are or aren't any plain-text topics
13953 pending encryption.
13954
13955 (allout-inhibit-auto-save-info-for-decryption):
13956 Adjust buffer-saved-size and some allout state to inhibit auto-saves
13957 if there are plain-text topics pending encryption.
13958
13959 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13960 buffer-saved-size and some allout state to not inhibit auto-saves
13961 if there are no longer any plain-text topics pending encryption.
13962
13963 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13964 No longer provide for exemption of the current topic.
13965
13966 2011-07-04 Juri Linkov <juri@jurta.org>
13967
13968 Add 7z operations to delete and save changed members (bug#8968).
13969 * arc-mode.el (archive-7z-expunge, archive-7z-update):
13970 New defcustoms.
13971 (archive-7z-write-file-member): New function.
13972 (archive-7z-summarize): Fix the number of dashes in the
13973 listing output.
13974
13975 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13976
13977 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13978 (bug#8958).
13979
13980 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
13981
13982 * bindings.el: Ignore next-buffer and previous-buffer in
13983 minibuffer-local-map.
13984
13985 * font-lock.el (font-lock-builtin-face): Change light background
13986 color to dark slate blue (Bug#6693).
13987
13988 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
13989
13990 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13991
13992 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
13993
13994 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13995 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13996 Add switch-to-buffer.
13997
13998 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13999
14000 * isearch.el (isearch-search-fun-function): Clarify further the
14001 meaning of the function returned.
14002
14003 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
14004
14005 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
14006
14007 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
14008 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
14009 Use it.
14010 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
14011 `tramp-default-remote-path' does not exist.
14012 (tramp-send-command-and-read): New optional argument NOERROR.
14013 (tramp-open-connection-setup-interactive-shell)
14014 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
14015 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
14016 (tramp-process-sentinel): Flush also process' connection property.
14017 (tramp-sh-handle-start-file-process): Do not set process
14018 sentinel. It is done now ...
14019 (tramp-maybe-open-connection): ... here. (Bug#8929)
14020
14021 2011-07-04 MON KEY <monkey@sandpframing.com>
14022
14023 * play/animate.el (animate-string): Doc fixes and allow changing
14024 the buffer name (bug#5417).
14025
14026 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14027
14028 * play/animate.el (animation-buffer-name): Rename from *animate*.
14029
14030 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
14031
14032 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
14033 This is simpler and helps future-proof the code.
14034 (timer-until): Use time-subtract and float-time.
14035 (timer--time-less-p): Use time-less-p.
14036
14037 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
14038
14039 * type-break.el (timep): Use the value of `float-time' to avoid a
14040 byte-compiler warning.
14041
14042 * server.el (server-eval-and-print): Return any result, even nil.
14043
14044 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
14045
14046 * type-break.el: Accept time formats that the builtins accept.
14047 (timep, type-break-time-difference): Accept any format that
14048 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
14049 This is simpler and helps future-proof the code.
14050 (type-break-time-difference): Round rather than ignoring
14051 subseconds components.
14052
14053 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14054
14055 * info.el (Info-apropos-matches): Make non-interactive, since it
14056 doesn't seem to do anything useful as a command (bug#8829).
14057
14058 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
14059
14060 * frame.el (frame-background-mode, frame-set-background-mode):
14061 Move from faces.el.
14062 (frame-default-terminal-background): New function.
14063
14064 * custom.el (custom-push-theme): Don't record faces in `changed'
14065 theme; this doesn't work correctly for per-frame face settings.
14066 (disable-theme): Use face-set-after-frame-default to reset faces.
14067 (custom--frame-color-default): New function.
14068
14069 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14070
14071 * dired.el (dired-flagging-regexp): Remove unused variable
14072 (bug#8769).
14073
14074 2011-03-29 Kevin Ryde <user42@zip.com.au>
14075
14076 * progmodes/compile.el (compilation-error-regexp-alist-alist):
14077 `perl-Test2' extend to match possible "fail #N" rep count
14078 (bug#8377).
14079
14080 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14081
14082 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
14083 `smtpmail-via-smtp' now returns the error instead of nil.
14084
14085 * isearch.el (isearch-search-fun-function): Clarify the doc string
14086 (bug#8101).
14087
14088 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
14089
14090 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
14091 unnecessary spaces (bug#8987).
14092
14093 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14094
14095 * net/network-stream.el (open-network-stream): Use the
14096 :end-of-capability command thoughout.
14097
14098 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14099
14100 * net/network-stream.el (open-network-stream): Add the
14101 :end-of-capability command parameter, used by pop3.el.
14102
14103 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14104
14105 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
14106
14107 * fringe.el (fringe-query-style): Remove redundant text " (type ?
14108 for list)" (bug#6475).
14109
14110 * files.el (file-expand-wildcards): Ignore non-readable
14111 sub-directories while trying to find matches instead of signaling
14112 an error (bug#6297).
14113
14114 * man.el (Man-reference-regexp): Allow matching possible
14115 word-wrapped references (bug#6289).
14116
14117 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
14118 for consistency with the other vc buffers (bug#6197).
14119 (vc-checkin): Ditto.
14120
14121 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
14122
14123 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
14124
14125 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14126
14127 * custom.el (defcustom): Clarify that :set is only used in the
14128 Customize user interface (bug#6089).
14129
14130 * progmodes/flymake.el (flymake-mode): If the buffer isn't
14131 associated with a file, refuse to run instead of erroring out
14132 (bug#6084).
14133
14134 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
14135 the doc string, since it appears that using `fill-column' always
14136 controls the width (bug#7845).
14137
14138 * simple.el (shell-command-on-region): Say where the error output
14139 went if `shell-command-default-error-buffer' is set (bug#6857).
14140
14141 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
14142
14143 * allout.el (allout-yank-processing): Adjust cursor position for
14144 backwards-deleted space.
14145
14146 (allout-rebullet-heading): Register changes with
14147 allout-exposure-changed-hook, so the modified topic is properly
14148 decorated.
14149
14150 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14151
14152 * minibuffer.el (completion-in-region): Document PREDICATE
14153 (bug#7136).
14154
14155 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
14156 of keyword/argument pairs (bug#6904).
14157
14158 * replace.el (multi-occur):
14159 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
14160
14161 2011-07-02 Drew Adams <drew.adams@oracle.com>
14162
14163 * dired.el (dired-mark-if): Make the message about whether it's
14164 marking or unmarking clearer (bug#8523).
14165
14166 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
14167
14168 * disp-table.el (display-table-print-array): New function.
14169 (describe-display-table): Use it to print the vectors more pretty
14170 (Bug#8859).
14171
14172 2011-07-02 Martin Rudalics <rudalics@gmx.at>
14173
14174 * window.el (window-state-get-1): Don't assign clone numbers.
14175 Add clone-of item to list of window parameters.
14176 (window-state-put-2): Don't process clone numbers.
14177 (display-buffer-alist): Fix doc-string.
14178
14179 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
14180
14181 * subr.el (remq): Don't allocate if it's not needed.
14182 (keymap--menu-item-binding, keymap--menu-item-with-binding)
14183 (keymap--merge-bindings): New functions.
14184 (keymap-canonicalize): Use them to refine the canonicalization.
14185 * minibuffer.el (minibuffer-local-completion-map)
14186 (minibuffer-local-must-match-map): Move initialization from C.
14187 (minibuffer-local-filename-completion-map): Move initialization from C;
14188 don't inherit from anything here.
14189 (minibuffer-local-filename-must-match-map): Make obsolete.
14190 (completing-read-default): Use make-composed-keymap to combine
14191 minibuffer-local-filename-completion-map with either
14192 minibuffer-local-must-match-map or
14193 minibuffer-local-filename-completion-map.
14194
14195 2011-07-01 Glenn Morris <rgm@gnu.org>
14196
14197 * type-break.el (type-break-time-sum): Use dolist.
14198
14199 * textmodes/flyspell.el (flyspell-word-search-backward):
14200 Replace CL function.
14201
14202 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * mouse.el (mouse--strip-first-event): New function.
14205 (function-key-map): Use it to map fringe clicks to normal clicks
14206 by default.
14207
14208 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
14209 (vc-bzr-revision-completion-table): Add support for annotate and date.
14210
14211 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
14212 inherit from parent.
14213
14214 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
14215
14216 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
14217 (dired-show-file-type): Doc fixup (bug#8818).
14218
14219 * dired.el (dired-mode): Fix up the doc string as suggested by
14220 Drew Adams (bug#8817).
14221
14222 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
14223 cookie, since the manual says that it should be possible to add
14224 this function to `find-file-hook' (bug#8709).
14225
14226 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14227
14228 * progmodes/cfengine.el: Moved all cfengine3.el functionality
14229 here. Noted Ted Zlatanov as the maintainer.
14230 (cfengine-common-settings, cfengine-common-syntax): New functions
14231 to set up common things between `cfengine-mode' and
14232 `cfengine3-mode'.
14233 (cfengine3-mode): New mode.
14234 (cfengine3-defuns cfengine3-defuns-regex
14235 (cfengine3-class-selector-regex cfengine3-category-regex)
14236 (cfengine3-vartypes cfengine3-font-lock-keywords)
14237 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
14238 (cfengine3-indent-line): Add from cfengine3.el.
14239
14240 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
14241
14242 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
14243
14244 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
14245
14246 2011-07-01 Martin Rudalics <rudalics@gmx.at>
14247
14248 * window.el (same-window-buffer-names, same-window-regexps)
14249 (same-window-p, special-display-frame-alist)
14250 (special-display-popup-frame, special-display-function)
14251 (special-display-buffer-names, special-display-regexps)
14252 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
14253 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14254 (split-window-preferred-function, split-height-threshold)
14255 (split-width-threshold, even-window-heights)
14256 (display-buffer-mark-dedicated, window-splittable-p)
14257 (split-window-sensibly, window-safely-shrinkable-p):
14258 Un-obsolete.
14259 (display-buffer): Don't spread args with function specifier
14260 because special-display-popup-frame won't like it.
14261
14262 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
14263
14264 Time-stamp simplifications and fixes.
14265 These improve accuracy slightly, and future-proof the code
14266 against some potential changes to current-time format.
14267
14268 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
14269 by using time-since and float-time.
14270
14271 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
14272 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
14273 + NNN microseconds".
14274
14275 * type-break.el (type-break-time-sum): Rewrite using time-add.
14276
14277 * play/hanoi.el (hanoi-current-time-float): Remove.
14278 All uses replaced by float-time.
14279
14280 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
14281 This yields a more-accurate answer.
14282 (rng-time-to-float): Remove; no longer needed.
14283
14284 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
14285
14286 * calendar/timeclock.el (timeclock-seconds-to-time):
14287 Defalias to seconds-to-time, since they're the same thing.
14288
14289 * emacs-lisp/elp.el (elp-elapsed-time):
14290 * emacs-lisp/benchmark.el (benchmark-elapse):
14291 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
14292
14293 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14294
14295 * window.el (bury-buffer): Don't iconify the only frame.
14296 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
14297 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
14298
14299 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
14300
14301 * eshell/em-smart.el (eshell-smart-display-navigate-list):
14302 Add mouse-yank-primary.
14303
14304 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
14305
14306 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
14307
14308 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
14309
14310 * emacs-lisp/find-func.el (find-library--load-name): New fun.
14311 (find-library-name): Use it to find relative load names when provided
14312 absolute file name (bug#8803).
14313
14314 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14315
14316 * textmodes/flyspell.el (flyspell-word): Consider words that
14317 differ only in case as potential doublons (bug#5687).
14318
14319 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
14320 Remove two rather uninteresting debugging-like messages to make
14321 debbugs.el more silent.
14322
14323 * comint.el (comint-password-prompt-regexp): Accept "Response" as
14324 a password-like phrase.
14325
14326 2011-06-30 Masatake YAMATO <yamato@redhat.com>
14327
14328 * progmodes/cc-guess.el: New file.
14329
14330 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
14331
14332 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
14333 derived from `c-basic-common-init'.
14334
14335 * progmodes/cc-mode.el (top-level): Require cc-guess.
14336 (c-basic-common-init): Use `cc-choose-style-for-mode'.
14337
14338 2011-06-30 Lawrence Mitchell <wence@gmx.li>
14339
14340 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
14341
14342 2011-06-30 Alan Mackenzie <acm@muc.de>
14343
14344 * progmodes/cc-engine.el (c-guess-continued-construct):
14345 Correct the handling of template-args-cont, particularly for when font
14346 lock is disabled. Name this case as "CASE G".
14347
14348 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
14349
14350 * allout.el (allout-yank-processing): Fix injection of extra space
14351 between bullet and non-whitespace character in first topic when
14352 pasting, ensuring that the actual spacing in the pasted topic
14353 following the bullet char is preserved. This extra space was
14354 causing pasted encrypted topics to get a decrypted status even
14355 when the content was actually still encrypted. Now the decryption
14356 status from before the paste is preserved.
14357
14358 (allout-flag-region): Set all allout overlays so they evaporate
14359 when reduced to zero length (evanescent), to prevent overlay
14360 leakage.
14361
14362 2011-06-30 Glenn Morris <rgm@gnu.org>
14363
14364 * w32-fns.el (w32-charset-info-alist): Declare.
14365
14366 * find-dired.el (find-grep-options): Simplify.
14367
14368 * term/ns-win.el (ns-set-resource): Declare.
14369
14370 * ses.el (row, col): Declare dynamic variables honestly.
14371
14372 * textmodes/reftex-parse.el (index-tags): Declare.
14373
14374 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
14375
14376 * cus-edit.el (customize-push-and-save): New function.
14377
14378 * files.el (hack-local-variables-confirm): Use it.
14379
14380 * custom.el (load-theme): New arg NO-CONFIRM.
14381 Use customize-push-and-save (Bug#8720).
14382 (custom-enabled-themes): Doc fix.
14383
14384 * cus-theme.el (customize-create-theme)
14385 (custom-theme-merge-theme): Callers to load-theme changed.
14386
14387 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
14388
14389 * thingatpt.el (thing-at-point-short-url-regexp): Require that
14390 short URLs have at least one dot in them (bug #7614).
14391
14392 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
14393 nil, because using a pty is apparently too slow (bug #895).
14394
14395 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
14396
14397 * mail/sendmail.el (sendmail-query-once): New function.
14398 (sendmail-query-once-function): New variable.
14399
14400 2011-06-29 Glenn Morris <rgm@gnu.org>
14401
14402 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
14403
14404 * ses.el (top-level): Require cl when compiling.
14405 (ses-set-localvars): Fix error statement.
14406 Call it at compile time to silence a storm of warnings.
14407
14408 2011-06-29 Martin Rudalics <rudalics@gmx.at>
14409
14410 * window.el (normalize-live-buffer): Rename to
14411 window-normalize-buffer.
14412 (normalize-live-frame): Rename to window-normalize-frame.
14413 (normalize-any-window): Rename to window-normalize-any-window.
14414 (normalize-live-window): Rename to window-normalize-live-window.
14415 (make-window-atom): Rename to window-make-atom.
14416 (window-resize-reset): Rename to window--resize-reset.
14417 (window-resize-reset-1): Rename to window--resize-reset-1.
14418 (resize-mini-window): Rename to window--resize-mini-window.
14419 (resize-subwindows-skip-p): Rename to
14420 window--resize-subwindows-skip-p.
14421 (resize-subwindows-normal): Rename to
14422 window--resize-subwindows-normal.
14423 (resize-subwindows): Rename to window--resize-subwindows.
14424 (resize-other-windows): Rename to window--resize-siblings.
14425 (resize-this-window): Rename to window--resize-this-window.
14426 (resize-root-window): Rename to window--resize-root-window.
14427 (resize-root-window-vertically): Rename to
14428 window--resize-root-window-vertically.
14429 (normalize-buffer-to-display): Rename to
14430 window-normalize-buffer-to-display.
14431 (normalize-buffer-to-switch-to): Rename to
14432 window-normalize-buffer-to-switch-to.
14433 Correspondingly update all callers of the functions listed
14434 above.
14435 (display-buffer-alist, display-buffer-normalize-arguments)
14436 (display-buffer-normalize-options, display-buffer)
14437 (display-buffer-alist-set): Use "function" instead of
14438 "fun-with-args".
14439
14440 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
14441
14442 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
14443 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
14444 debbugs.gnu.org. Mention acknowledgment email.
14445
14446 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
14447
14448 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
14449 buffer multibyteness, since it shouldn't matter.
14450
14451 2011-06-28 Martin Rudalics <rudalics@gmx.at>
14452
14453 * window.el (display-buffer-in-side-window): Handle dedicated
14454 windows as in display-buffer-reuse-window.
14455 (display-buffer-normalize-alist): Use value of override
14456 specifier.
14457 (display-buffer-normalize-specifiers): Use value of
14458 other-window-means-other-frame specifier.
14459 (display-buffer-alist): Rewrite some texts in widgets.
14460 (display-buffer): Spread arguments when calling function
14461 specified by fun-with-args.
14462
14463 2011-06-28 Deniz Dogan <deniz@dogan.se>
14464
14465 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14466 Unnest `let'.
14467
14468 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14469 selectors (Bug#5732).
14470 (css-proprietary-nmstart-re): Use `regexp-opt'.
14471
14472 2011-06-27 Jari Aalto <jari.aalto@cante.net>
14473
14474 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14475 (eshell-ls-date-format): New defcustom.
14476 (eshell-ls-file): Use it.
14477
14478 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * help-fns.el (describe-variable): Fix message for terminal-local vars.
14481
14482 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
14483
14484 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14485 (ange-ftp-make-tmp-name): New arg.
14486 (ange-ftp-file-local-copy): Use it.
14487
14488 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
14489
14490 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14491 no-conversion (Bug#8870).
14492
14493 2011-06-27 Martin Rudalics <rudalics@gmx.at>
14494
14495 * window.el (window-right, window-left, window-child)
14496 (window-child-count, window-last-child)
14497 (window-iso-combination-p, walk-window-tree-1)
14498 (window-atom-check-1, window-tree-1, delete-window)
14499 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14500 new naming conventions - window-vchild, window-hchild,
14501 window-next and window-prev are now called window-top-child,
14502 window-left-child, window-next-sibling and window-prev-sibling
14503 respectively.
14504 (resize-window-reset): Rename to window-resize-reset.
14505 (resize-window-reset-1): Rename to window-resize-reset-1.
14506 (resize-window): Rename to window-resize.
14507 (window-min-height, window-min-width)
14508 (resize-mini-window, resize-this-window, resize-root-window)
14509 (resize-root-window-vertically, adjust-window-trailing-edge)
14510 (enlarge-window, shrink-window, maximize-window)
14511 (minimize-window, delete-window, quit-restore-window)
14512 (split-window, balance-windows, balance-windows-area-adjust)
14513 (balance-windows-area, window-state-put-2)
14514 (display-buffer-even-window-sizes, display-buffer-set-height)
14515 (display-buffer-set-width, set-window-text-height)
14516 (fit-window-to-buffer): Rename all "resize-window" prefixed
14517 calls to use the "window-resize" prefix convention.
14518 (display-buffer-alist): Fix symbol for label specifier.
14519 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14520 corresponding specifier.
14521 Reported by Juanma Barranquero <lekktu@gmail.com>.
14522
14523 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14524
14525 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14526 convention.
14527 (ses-call-printer): Does not pass an empty string to formatter when the
14528 cell is empty to keep from barking printer Calc math-format-value.
14529
14530 2011-06-27 Richard Stallman <rms@gnu.org>
14531
14532 * battery.el (battery-mode-line-limit): New variable.
14533 (battery-update): Handle it.
14534
14535 * mail/rmailmm.el (rmail-mime-process-multipart):
14536 Handle truncated messages.
14537
14538 2011-06-27 Glenn Morris <rgm@gnu.org>
14539
14540 * progmodes/flymake.el (flymake-err-line-patterns):
14541 Allow for column numbers in the ant/javac pattern. (Bug#8866)
14542
14543 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
14544
14545 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14546 (ses--clean-!, ses--clean-_): New functions.
14547 (ses-range): Add configurability of readout order, and conversion
14548 to Calc vector.
14549
14550 * ses.el (ses-repair-cell-reference-all): New function.
14551 (ses-cell-symbol): Set macro as safe, so that it can be used in
14552 formulas.
14553
14554 * ses.el: Update cycle detection algorithm.
14555 (ses-localvars): Add ses--Dijkstra-attempt-nb and
14556 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14557 (ses-set-localvars): New function.
14558 (ses-make-cell): Add property-list as a cell element.
14559 (ses-cell-property-get-fun, ses-cell-property-get)
14560 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14561 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14562 New functions.
14563 (ses-cell-property-set, ses-cell-property-pop)
14564 (ses-cell-property-get-handle): New macro.
14565 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14566 New aliases, used for code readability.
14567 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14568 cycle detection.
14569 (ses-self-reference-early-detection): New defcustom.
14570 (ses-formula-references): Robustify against self-referring cells.
14571 (ses-mode): Use ses-set-localvars.
14572 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14573 before lauching the update processing.
14574 (ses-initialize-Dijkstra-attempt): New function.
14575 (ses-recalculate-cell): Update for cycle detection based on
14576 Dijkstra algorithm.
14577
14578 * ses.el: Fix commenting and indenting convention.
14579
14580 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * bs.el (bs-cycle-next): Complete last change.
14583
14584 2011-06-27 Drew Adams <drew.adams@oracle.com>
14585
14586 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14587
14588 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
14589
14590 * net/network-stream.el (network-stream-open-starttls):
14591 Don't re-get capabilities unless we've reestablished connection.
14592 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14593
14594 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14595 to binary to possibly avoid line encoding issues on Windows (among
14596 other things).
14597
14598 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14599
14600 * net/network-stream.el (open-network-stream): Return an :error
14601 saying what the problem was, if possible.
14602
14603 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14604 server.
14605
14606 * net/network-stream.el (network-stream-open-starttls): If we
14607 wanted to use STARTTLS, and the server offered it, but we weren't
14608 able to because we had no STARTTLS support, then close the connection.
14609 (open-network-stream): Return an :error element, if present.
14610
14611 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14612
14613 * hl-line.el (hl-line-sticky-flag): Doc fix.
14614 (global-hl-line-sticky-flag): New option (Bug#8323).
14615 (global-hl-line-highlight): Obey it.
14616
14617 * vc/vc.el (vc-revert-show-diff): Default to t.
14618
14619 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
14620
14621 * allout-widgets.el (allout-widgets-post-command-business):
14622 Stop decorating intermediate isearch matches. They're not being
14623 undecorated when an isearch is continued past, and isearch
14624 automatically collapses them. This leads to "widget leaks", where
14625 decorated items accumulate in collapsed areas. Lines with lots of
14626 hidden widgets can slow down cursor travel, substantially.
14627 Too much complicated machinery would be needed to ensure undecoration,
14628 so we're doing without this nicety.
14629
14630 (allout-widgets-tally-string): Don't try to do a hash-table-count
14631 of allout-widgets-tally when it's nil. This eliminates spurious "Error
14632 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14633 *Messages* when allout-widgets-maintain-tally is t.
14634
14635 2011-06-26 Martin Rudalics <rudalics@gmx.at>
14636
14637 * window.el (display-buffer-normalize-argument): Rename to
14638 display-buffer-normalize-arguments. Handle special meaning of
14639 LABEL argument. Respect special-display-function when popping up
14640 a new frame. Fix code searching for a window showing the buffer
14641 on another frame.
14642 (display-buffer-normalize-specifiers):
14643 Call display-buffer-normalize-arguments.
14644 (display-buffer-in-window): Don't undedicate the window if its
14645 buffer remains the same.
14646 Reported by Drew Adams <drew.adams@oracle.com>.
14647 (display-buffer-alist): Add choice for same-window macro
14648 specfier.
14649 (display-buffer): Mention special meaning of LABEL argument in
14650 doc-string. Fix quoting. Don't pop up a new frame even as
14651 fallback.
14652
14653 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
14654
14655 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14656 avoid deleting the current window in some cases (bug#8911).
14657
14658 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
14659
14660 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14661 (Bug#8934)
14662
14663 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
14664
14665 * net/network-stream.el (network-stream-open-starttls):
14666 Use built-in TLS support if `gnutls-available-p' is true.
14667 (network-stream-open-tls): Ditto.
14668
14669 2011-06-26 Leo Liu <sdl.web@gmail.com>
14670
14671 * register.el (registerv): New struct.
14672 (registerv-make): New function.
14673 (jump-to-register, describe-register-1, insert-register):
14674 Support the jump-func, print-func and insert-func slot of a registerv
14675 struct. (Bug#8415)
14676
14677 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
14678
14679 * vc/vc.el (vc-revert-show-diff): New defcustom.
14680 (vc-diff-internal): New arg specifying diff buffer.
14681 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
14682 reuse an existing *vc-diff* buffer (Bug#8927).
14683
14684 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14685
14686 2011-06-26 Glenn Morris <rgm@gnu.org>
14687
14688 * progmodes/f90.el (f90-critical-indent): New option.
14689 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14690 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14691 (f90-mode): Doc fix.
14692 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14693 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14694 (f90-beginning-of-block, f90-next-block, f90-indent-region)
14695 (f90-match-end): Handle block, critical.
14696
14697 2011-06-25 Glenn Morris <rgm@gnu.org>
14698
14699 * calendar/diary-lib.el (diary-included-files): Doc fix.
14700 (diary-include-files): New function, extracted from
14701 diary-include-other-diary-files and diary-mark-included-diary-files.
14702 (diary-include-other-diary-files, diary-mark-included-diary-files):
14703 Just call diary-include-files.
14704 (diary-mark-entries): Reset diary-included-files on first call.
14705
14706 * calendar/diary-lib.el (diary-mark-entries)
14707 (diary-mark-included-diary-files):
14708 Visit included diary-files in temp buffers.
14709
14710 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14711 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14712 (f90-start-block-re, f90-imenu-generic-expression)
14713 (f90-looking-at-program-block-start, f90-no-block-limit):
14714 Add support for submodules.
14715
14716 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14717 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14718
14719 2011-06-25 Eli Zaretskii <eliz@gnu.org>
14720
14721 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14722 buffer-file-type before setting its value, to avoid disastrous
14723 global effects on decoding files for DOS/Windows systems. (Bug#8780)
14724
14725 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14726
14727 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14728
14729 * ses.el (ses-unload-function):
14730 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14731
14732 * proced.el (proced-unload-function):
14733 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14734
14735 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
14736
14737 * server.el (server-create-window-system-frame): Add parameters arg.
14738 (server-process-filter): Doc fix. Handle frame-parameters.
14739
14740 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
14741
14742 Fix bug#8730, bug#8781.
14743
14744 * loadhist.el (unload--set-major-mode): New function.
14745 (unload-feature): Use it.
14746
14747 * progmodes/python.el (python-after-info-look): Add autoload cookie.
14748 (python-unload-function): New function.
14749
14750 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
14751
14752 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14753
14754 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
14755
14756 * net/browse-url.el (browse-url-firefox-program): Add icecat to
14757 the candidates list.
14758
14759 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
14760
14761 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14762
14763 2011-06-23 Richard Stallman <rms@gnu.org>
14764
14765 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14766 (rmail-variables): Set next-error-move-function.
14767 (rmail-what-message): Take argument POS.
14768 (rmail-next-error-move): New function.
14769
14770 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
14771
14772 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14773 messages for adjacent non-terminals.
14774
14775 2011-06-23 Richard Stallman <rms@gnu.org>
14776
14777 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14778 (rmail-show-message-1): Preserve buffer modified flag.
14779 (rmail-start-mail): Don't specify use of rmail-mail-return;
14780 that's done by mail-bury now.
14781 (rmail-mail-return): Handle arg NEWBUF.
14782
14783 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
14784
14785 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14786 SIZE is a number.
14787
14788 2011-06-23 Martin Rudalics <rudalics@gmx.at>
14789
14790 * window.el (get-lru-window, get-mru-window)
14791 (get-largest-window): Never return a minibuffer window.
14792 (display-buffer-pop-up-window): Fix a bug that could lead to
14793 reusing the minibuffer window.
14794 (display-buffer): Pass original specifier argument to
14795 display-buffer-function instead of the normalized one.
14796 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14797
14798 2011-06-22 Leo Liu <sdl.web@gmail.com>
14799
14800 * minibuffer.el (completing-read-function)
14801 (completing-read-default): Move from minibuf.c
14802
14803 2011-06-22 Richard Stallman <rms@gnu.org>
14804
14805 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14806 to Rmail even if not started by a special Rmail command.
14807
14808 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14809 Copy the buffer currently showing just one message.
14810
14811 2011-06-22 Roland Winkler <winkler@gnu.org>
14812
14813 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14814 (bibtex-clean-entry): First delete the old key so that a
14815 customized algorithm for generating the new key does not get
14816 confused by the old key.
14817 (bibtex-url): Obey regexp of first step.
14818 (bibtex-search-entries): Do not use add-to-list with local
14819 list-var.
14820
14821 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14822
14823 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14824 stored a user name, then query for the password first, instead of
14825 waiting for SMTP to give an error message and the trying again.
14826
14827 2011-06-22 Lawrence Mitchell <wence@gmx.li>
14828
14829 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14830 BUFFER in call-process.
14831
14832 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14833
14834 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14835 QUIT twice.
14836 (smtpmail-try-auth-methods): Require user name and password from
14837 auth-source.
14838
14839 2011-06-22 Martin Rudalics <rudalics@gmx.at>
14840
14841 * window.el (display-buffer-default-specifiers)
14842 (display-buffer-alist): Remove entries for pop-up-frame-alist.
14843 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14844 (split-window): Normalize SIDE argument (Bug#8916).
14845
14846 * frame.el (pop-up-frame-alist, pop-up-frame-function)
14847 (special-display-frame-alist, special-display-popup-frame):
14848 Remove duplicate declarations. These are now in window.el.
14849
14850 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
14851
14852 * mail/smtpmail.el (smtpmail-via-smtp):
14853 Set :use-starttls-if-possible so that we always use STARTTLS if the
14854 server supports it. SMTP servers that support STARTTLS commonly
14855 require it.
14856
14857 * net/network-stream.el (network-stream-open-starttls): Support
14858 upgrading to STARTTLS always, even if we don't have built-in support.
14859 (open-network-stream): Add the :always-query-capabilities keyword.
14860
14861 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14862 upgrades with `open-network-stream', and rely solely on
14863 auth-source for all credentials. Big changes throughout the file,
14864 but in particular:
14865 (smtpmail-auth-credentials): Remove.
14866 (smtpmail-starttls-credentials): Remove.
14867 (smtpmail-via-smtp): Check for servers saying they want AUTH after
14868 MAIL FROM, too.
14869
14870 * net/network-stream.el (network-stream-open-starttls):
14871 Provide support for client certificates both for external and built-in
14872 STARTTLS.
14873 (auth-source): Require.
14874 (open-network-stream): Document the :client-certificate keyword.
14875 (network-stream-certificate): Change cert-cert to cert and
14876 cert-key to key.
14877
14878 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/tramp-cache.el (top): Don't load the persistency file when
14881 "emacs -Q" has been called.
14882
14883 2011-06-21 Tim Harper <timcharper@gmail.com>
14884
14885 * term/ns-win.el (ns-initialize-window-system):
14886 Set application-specific `ApplePressAndHoldEnabled' system
14887 resource to NO as it is not yet supported by the NS port.
14888
14889 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
14890
14891 * misc.el (list-dynamic-libraries--refresh): Compute header here...
14892 (list-dynamic-libraries): ...not here.
14893
14894 2011-06-21 Leo Liu <sdl.web@gmail.com>
14895
14896 * subr.el (sha1): Implement sha1 using secure-hash.
14897
14898 2011-06-21 Martin Rudalics <rudalics@gmx.at>
14899
14900 * window.el (display-buffer-alist): In default value do not
14901 enforce searching a window on any but the selected frame.
14902 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14903 (display-buffer-select-window): Remove function.
14904 (display-buffer-in-window): When a window on another frame gets
14905 reused, do not select it any more but just raise its frame if
14906 necessary (Bug#8851) and (Bug#8856).
14907 (display-buffer-normalize-options): Handle pop-up-frames related
14908 options more faithfully.
14909 (pop-to-buffer): Don't rely on `display-buffer' selecting the
14910 window if it is on another frame.
14911 (display-buffer-alist, display-buffer-default-specifiers):
14912 Don't make new frame unsplittable by default.
14913 (display-buffer-normalize-argument): Fix doc-string typo and use
14914 'same-frame-other-window instead of 'other-window when associating
14915 with display-buffer-macro-specifiers.
14916
14917 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
14918
14919 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14920 New functions.
14921 (5x5-mode-map, 5x5-mode-menu): Bind them.
14922 (5x5-draw-grid): Tweak the solver's rendering.
14923
14924 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14925
14926 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14927 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14928
14929 2011-06-21 Drew Adams <drew.adams@oracle.com>
14930
14931 * menu-bar.el: Use function variable instead of switch-to-buffer.
14932 (menu-bar-select-buffer-function): New variable.
14933 (menu-bar-update-buffers): Use it (bug#8876).
14934
14935 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14938 variable's status.
14939
14940 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
14941
14942 * x-dnd.el (x-dnd-version-from-flags)
14943 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14944 and long as number (Bug#8899).
14945 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14946
14947 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14950 (completion-try-completion, completion-all-completions): Compute the
14951 metadata argument if it's missing; make it optional (bug#8795).
14952
14953 * wid-edit.el: Use lex-bind and move towards completion-at-point.
14954 (widget-complete): Use new :completion-function property.
14955 (widget-completions-at-point): New function.
14956 (default): Use :completion-function instead of :complete.
14957 (widget-default-completions): Rename from widget-default-complete;
14958 Rewrite.
14959 (widget-string-complete, widget-file-complete, widget-color-complete):
14960 Remove functions.
14961 (file, symbol, function, variable, coding-system, color):
14962 * international/mule-cmds.el (default-input-method, charset)
14963 (language-info-custom-alist):
14964 * cus-edit.el (face): Use new property :completions.
14965
14966 * progmodes/pascal.el (pascal-completions-at-point): New function.
14967 (pascal-mode): Use it.
14968 (pascal-mode-map): Use completion-at-point.
14969 (pascal-toggle-completions): Make obsolete.
14970 (pascal-complete-word, pascal-show-completions):
14971 * progmodes/octave-mod.el (octave-complete-symbol):
14972 Redefine as obsolete alias.
14973 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14974 Signal absence of completion info for old Octave,
14975 (inferior-octave-complete): Redefine as obsolete alias.
14976 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14977 (meta-completions-at-point): Rename from meta-complete-symbol and
14978 adapt it for use on completion-at-point-functions.
14979 (meta-common-mode): Use it.
14980 (meta-looking-at-backward, meta-match-buffer): Remove.
14981 (meta-complete-symbol): Redefine as obsolete alias.
14982 (meta-common-mode-map): Use completion-at-point.
14983 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14984 (makefile-mode-map): Use completion-at-point.
14985 (makefile-completions-at-point): Rename from makefile-complete and
14986 adapt it for use on completion-at-point-functions.
14987 (makefile-mode): Use it.
14988 (makefile-complete): Redefine as obsolete alias.
14989
14990 2011-06-20 Deniz Dogan <deniz@dogan.se>
14991
14992 * net/rcirc.el: Delete trailing whitespaces once and for all.
14993
14994 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
14995
14996 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14997
14998 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
14999
15000 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
15001
15002 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
15003
15004 2011-06-19 Martin Rudalics <rudalics@gmx.at>
15005
15006 * window.el (display-buffer-other-window-means-other-frame):
15007 Call display-buffer-normalize-alist.
15008 (display-buffer-normalize-specifiers-1): Rename to
15009 display-buffer-normalize-argument. New argument other-frame.
15010 Rewrite.
15011 (display-buffer-normalize-specifiers-2): Rename to
15012 display-buffer-normalize-options.
15013 (display-buffer-normalize-alist-1): New function.
15014 (display-buffer-normalize-specifiers-3): Rename to
15015 display-buffer-normalize-alist.
15016 Call display-buffer-normalize-alist-1.
15017 (display-buffer-normalize-options-inhibit): New variable.
15018 (display-buffer-normalize-specifiers): Rewrite calling
15019 display-buffer-normalize-alist,
15020 display-buffer-normalize-argument, and
15021 display-buffer-normalize-options. Don't call the latter if
15022 display-buffer-normalize-options-inhibit is non-nil.
15023 (frame-auto-delete): New option.
15024 (window-deletable-p): Use frame-auto-delete.
15025 (window-list-no-nils, window-state-ignored-parameters)
15026 (window-state-get-1, window-state-get, window-state-put-list)
15027 (window-state-put-1, window-state-put-2, window-state-put):
15028 New functions.
15029 (display-buffer-normalize-options): Move special-display-p group
15030 after pop-up-frame group (Bug#8851) and (Bug#8856).
15031
15032 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
15033
15034 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
15035 groups (Bug#8776).
15036 (rx-submatch-n): New function.
15037 (rx): Document it.
15038
15039 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
15040 (Bug#8768).
15041
15042 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
15043
15044 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
15045
15046 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
15047 anytime existing face settings are present (Bug#8889).
15048
15049 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
15050 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
15051 Remove unused argument.
15052
15053 2011-06-18 Martin Rudalics <rudalics@gmx.at>
15054
15055 * window.el (display-buffer-default-specifiers):
15056 Remove pop-up-frame. Add pop-up-window-min-height,
15057 pop-up-window-min-width, and another reuse-window specifier
15058 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
15059 (display-buffer-normalize-specifiers-2):
15060 Handle split-height-threshold and split-width-threshold also when
15061 pop-up-windows is unset. Add a reuse-window specifier for the
15062 case popping up a new window fails.
15063 (special-display-popup-frame): Remove double quoting.
15064 (display-buffer-normalize-specifiers-1): Fix thinko.
15065
15066 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
15067
15068 * shell.el (shell-completion-vars): Set pcomplete-termination-string
15069 according to comint-completion-addsuffix.
15070
15071 * pcomplete.el: Convert to lexical binding and fix bug#8819.
15072 (pcomplete-suffix-list): Mark as obsolete.
15073 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
15074 pcomplete-seen in the closure.
15075 (pcomplete-comint-setup): Setup completion-at-point as well.
15076 (pcomplete--entries): New function.
15077 (pcomplete--env-regexp): New var.
15078 (pcomplete-entries): Rewrite to work with partial-completion and
15079 without relying on pcomplete-suffix-list.
15080 (pcomplete-pare-list): Remove, unused.
15081
15082 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15083
15084 * window.el (display-buffer-alist): Set pop-up-window-min-height
15085 and pop-up-window-min-width in default value. Reported by
15086 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
15087 other-window-means-other-frame.
15088 (display-buffer-macro-specifiers): Comment out entry for
15089 other-window specifier.
15090 (display-buffer-other-window-means-other-frame): New function.
15091 (display-buffer-normalize-specifiers-1): New arguments
15092 buffer-name and label. Treat other-window case specially.
15093 (display-buffer-normalize-specifiers-2): Treat other-window case
15094 specially.
15095 (display-buffer-normalize-specifiers-3): New function.
15096 (display-buffer-normalize-specifiers):
15097 Call display-buffer-normalize-specifiers-3.
15098
15099 2011-06-17 Martin Rudalics <rudalics@gmx.at>
15100
15101 * window.el (same-window-p): Fix two typos introduced when
15102 adding with-no-warnings.
15103 (display-buffer-normalize-specifiers-1): Don't check
15104 pop-up-frames for 'unset initialization.
15105 (display-buffer-normalize-specifiers-2): Major rewrite using
15106 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
15107 (pop-up-frames, display-buffer-reuse-frames)
15108 (display-buffer-mark-dedicated): Don't initialize to 'unset.
15109 Suggested by David Engster <deng@randomsample.de>.
15110 (even-window-heights): Initialize to 'unset.
15111 (display-buffer-alist-set): Handle new 'unset initializations.
15112 (display-buffer-macro-specifiers): Don't pop up a new frame in the
15113 other window case.
15114
15115 2011-06-16 Martin Rudalics <rudalics@gmx.at>
15116
15117 * window.el (display-buffer-normalize-specifiers-1):
15118 Respect current value of pop-up-frames for most reasonable values of
15119 second argument of display-buffer (Bug#8865).
15120 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
15121 (switch-to-buffer-other-window-same-frame)
15122 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
15123 Adams (Bug#8875).
15124 (display-buffer): Don't check noninteractive when calling
15125 display-buffer-pop-up-frame.
15126 (display-buffer-pop-up-frame): Never pop up a frame in
15127 noninteractive mode (Bug#8857).
15128 (enlarge-window, shrink-window): Don't report an error when the
15129 window can't be resized as requested (Bug#8862).
15130
15131 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15132
15133 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
15134
15135 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
15136
15137 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
15138
15139 2011-06-15 Alan Mackenzie <acm@muc.de>
15140
15141 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
15142 for declarators, disable knr checking to speed up for normal files.
15143 2: Refactor, replacing a sequence of nested if forms by a cond form.
15144
15145 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
15146
15147 * net/network-stream.el (open-network-stream): Add the keyword
15148 :always-query-capabilities for the case where you want to force a
15149 `plain' network connection, but the protocol still requires the
15150 capabilitiy command (i.e., SMTP and EHLO).
15151
15152 * subr.el (process-live-p): Rename from `process-alive-p' for
15153 consistency with other `-live-p' functions.
15154
15155 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
15156
15157 * window.el (same-window-buffer-names, same-window-regexps)
15158 (special-display-frame-alist, special-display-popup-frame)
15159 (special-display-function, special-display-buffer-names)
15160 (special-display-regexps, pop-up-frame-alist)
15161 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
15162 (pop-up-windows, split-window-preferred-function)
15163 (split-height-threshold, split-width-threshold, even-window-heights)
15164 (display-buffer-mark-dedicated): Don't encourage the use of
15165 display-buffer-alist from Elisp code.
15166
15167 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
15168
15169 * progmodes/python.el (python-mode): Derive from prog-mode.
15170 * progmodes/ps-mode.el (ps-mode):
15171 * progmodes/mixal-mode.el (mixal-mode):
15172 * progmodes/cfengine.el (cfengine-mode):
15173 * progmodes/ld-script.el (ld-script-mode): Likewise.
15174
15175 2011-06-15 Martin Rudalics <rudalics@gmx.at>
15176
15177 * window.el (display-buffer-alist): Trim default value to avoid
15178 popping up a new frame (Bug#8857) or reusing an arbitrary window
15179 on another frame.
15180 (display-buffer): Do not fall back on popping up a new frame in
15181 batch mode (Bug#8857).
15182
15183 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
15184
15185 * cus-theme.el (describe-theme-1): Use custom-theme-p.
15186 (custom-theme-summary): New function.
15187 (customize-themes): Use it.
15188
15189 2011-06-13 Glenn Morris <rgm@gnu.org>
15190
15191 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
15192
15193 2011-06-13 Martin Rudalics <rudalics@gmx.at>
15194
15195 * help.el (help-window): Remove variable.
15196 (help-window-point-marker, temp-buffer-max-height)
15197 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
15198 (help-print-return-message): Don't set help-window.
15199 (resize-temp-buffer-window): Rewrite cod eand doc-string.
15200 (help-window-setup-finish): Remove.
15201 (help-window-display-message, help-window-setup)
15202 (with-help-window): Major rewrite based on new
15203 display-buffer-window variable.
15204
15205 * help-mode.el (help-mode-finish): Remove help-window related
15206 code.
15207
15208 * view.el (view-exits-all-viewing-windows): Remove reference to
15209 view-return-to-alist in doc-string.
15210 (view-return-to-alist): Make obsolete.
15211 (view-buffer): Call pop-to-buffer-same-window and remove
15212 undo-window code.
15213 (view-buffer-other-window): Call pop-to-buffer-other-window and
15214 simplify code. Ignore second argument.
15215 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
15216 simplify code. Ignore second argument.
15217 (view-return-to-alist-update): Make obsolete.
15218 (view-mode-enter): Rename second argument to QUIT-RESTORE.
15219 Rewrite using quit-restore window parameters.
15220 (view-mode-exit): Rename second argument to EXIT-ONLY.
15221 Rewrite using quit-restore-window.
15222 (View-exit, View-exit-and-edit, View-leave, View-quit)
15223 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
15224 appropriate arguments.
15225 (view-end-message): Use quit-restore window parameter.
15226
15227 * window.el (display-buffer-function): Rewrite doc-string.
15228 (display-buffer-window, display-buffer-alist): New variables.
15229 (display-buffer-split-specifiers)
15230 (display-buffer-side-specifiers)
15231 (display-buffer-macro-specifiers): New constants.
15232 (display-buffer-even-window-sizes, display-buffer-set-height)
15233 (display-buffer-set-width, display-buffer-select-window)
15234 (display-buffer-in-window, display-buffer-reuse-window)
15235 (display-buffer-split-window-1, display-buffer-split-window)
15236 (display-buffer-split-atom-window, display-buffer-pop-up-window)
15237 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
15238 (display-buffer-in-side-window, normalize-buffer-to-display)
15239 (display-buffer-normalize-specifiers-1)
15240 (display-buffer-normalize-specifiers-2)
15241 (display-buffer-normalize-specifiers, display-buffer-frame):
15242 New functions.
15243 (display-buffer): Major rewrite.
15244 (display-buffer-other-window, display-buffer-other-frame)
15245 (pop-to-buffer, switch-to-buffer-other-window)
15246 (switch-to-buffer-other-frame): Rewrite.
15247 (display-buffer-same-window, display-buffer-same-frame)
15248 (display-buffer-same-frame-other-window)
15249 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
15250 (pop-to-buffer-other-window)
15251 (pop-to-buffer-same-frame-other-window)
15252 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
15253 (switch-to-buffer-other-window-same-frame): New functions.
15254 (same-window-p, special-display-p): Rewrite disabling warnings.
15255 Make obsolete.
15256 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15257 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
15258 Make obsolete
15259 (same-window-buffer-names, same-window-regexps)
15260 (special-display-frame-alist, special-display-popup-frame)
15261 (special-display-function, special-display-buffer-names)
15262 (special-display-regexps, pop-up-frame-alist)
15263 (pop-up-frame-function, split-window-preferred-function)
15264 (split-height-threshold, split-width-threshold)
15265 (even-window-heights): Make obsolete.
15266
15267 2011-06-12 Glenn Morris <rgm@gnu.org>
15268
15269 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
15270 Misc simplifications.
15271
15272 2011-06-12 Martin Rudalics <rudalics@gmx.at>
15273
15274 * window.el (window-safely-shrinkable-p): Restore function which
15275 was inadvertently removed in change from 2011-06-11. Declare as
15276 obsolete.
15277
15278 * calendar/calendar.el (calendar-generate-window):
15279 Use window-iso-combined-p instead of combination of one-window-p and
15280 window-safely-shrinkable-p.
15281
15282 2011-06-12 Glenn Morris <rgm@gnu.org>
15283
15284 * progmodes/fortran.el (fortran-mode-syntax-table):
15285 * progmodes/f90.el (f90-mode-syntax-table):
15286 Set % to punctuation. (Bug#8820)
15287 (f90-find-tag-default): Remove, no longer needed.
15288
15289 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
15290
15291 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
15292
15293 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
15294
15295 * image.el (image-animated-p): Return animation delay in seconds.
15296 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
15297 (image-animate-timeout): Remove DELAY argument. Don't assume
15298 every subimage has the same delay; get it from image-animated-p.
15299 (image-animate): Caller changed.
15300
15301 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
15302
15303 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
15304 to ignored backtrace functions.
15305
15306 2011-06-11 Glenn Morris <rgm@gnu.org>
15307
15308 * calendar/appt.el (appt-disp-window-function): Doc fix.
15309 (appt-check): Handle overlapping appointments. (Bug#8337)
15310
15311 2011-06-11 Martin Rudalics <rudalics@gmx.at>
15312
15313 * window.el (window-tree-1, window-tree): New functions, moving
15314 the latter to window.el.
15315 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
15316 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
15317 (bw-refresh-edges): Remove.
15318 (balance-windows-1, balance-windows-2): New functions.
15319 (balance-windows): Rewrite in terms of window tree functions,
15320 balance-windows-1 and balance-windows-2.
15321 (bw-adjust-window): Remove.
15322 (balance-windows-area-adjust): New function with functionality of
15323 bw-adjust-window but using resize-window.
15324 (set-window-text-height): Rewrite doc-string.
15325 Use normalize-live-window and resize-window.
15326 (enlarge-window-horizontally, shrink-window-horizontally):
15327 Rename argument to DELTA.
15328 (window-buffer-height): New function.
15329 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
15330 Rewrite using new window resize routines.
15331 (kill-buffer-and-window, mouse-autoselect-window-select):
15332 Use ignore-errors instead of condition-case.
15333 (quit-window): Call delete-frame instead of delete-windows-on
15334 for the only buffer on frame.
15335
15336 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15337
15338 * loadup.el (top-level): Load window before files for the sake
15339 of replace-buffer-in-windows.
15340
15341 * files.el (read-buffer-to-switch)
15342 (switch-to-buffer-other-window)
15343 (switch-to-buffer-other-frame, display-buffer-other-frame):
15344 Move to window.el.
15345
15346 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
15347 (previous-buffer): Move to window.el.
15348
15349 * bindings.el (unbury-buffer): Move to window.el.
15350
15351 * window.el (delete-other-windows-vertically): Move after
15352 definition of delete-other-windows.
15353 (other-window, delete-windows-on, replace-buffer-in-windows):
15354 Move here from window.c.
15355 (record-window-buffer, unrecord-window-buffer)
15356 (set-window-buffer-start-and-point, switch-to-prev-buffer)
15357 (switch-to-next-buffer): New functions.
15358 (get-next-valid-buffer, last-buffer, next-buffer): Move here
15359 from simple.el. Call switch-to-next-buffer.
15360 (previous-buffer): Move here from simple.el.
15361 Call switch-to-prev-buffer.
15362 (bury-buffer): Move here from buffer.c. Switch to previous
15363 buffer when window cannot be deleted.
15364 (unbury-buffer): Move here from bindings.el.
15365 (ctl-x-map): Move binding for other-window from window.c to
15366 here.
15367 (read-buffer-to-switch, switch-to-buffer-other-window)
15368 (switch-to-buffer-other-frame): Move here from files.el.
15369 (normalize-buffer-to-switch-to): New functions.
15370 (switch-to-buffer): Move here from buffer.c.
15371 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
15372
15373 2011-06-10 Martin Rudalics <rudalics@gmx.at>
15374
15375 * window.el (window-min-height, window-min-width): Move here
15376 from window.c. Add defcustoms and rewrite doc-strings.
15377 (resize-mini-window, resize-window): New functions.
15378 (adjust-window-trailing-edge, enlarge-window, shrink-window):
15379 Move here from window.c.
15380 (maximize-window, minimize-window): New functions.
15381 (delete-window, delete-other-windows, split-window): Move here
15382 from window.c.
15383 (window-split-min-size): New function.
15384 (split-window-keep-point): Mention split-window-above-each-other
15385 instead of split-window-vertically.
15386 (split-window-above-each-other, split-window-vertically):
15387 Rename split-window-vertically to split-window-above-each-other
15388 and provide defalias for old definition.
15389 (split-window-side-by-side, split-window-horizontally):
15390 Rename split-window-horizontally to split-window-side-by-side
15391 and provide defalias for the old definition.
15392 (ctl-x-map): Move bindings for delete-window,
15393 delete-other-windows and enlarge-window here from window.c.
15394 Replace bindings for split-window-vertically and
15395 split-window-horizontally by bindings for
15396 split-window-above-each-other and split-window-side-by-side.
15397
15398 * cus-start.el (all): Remove entries for window-min-height and
15399 window-min-width. Add entries for window-splits and
15400 window-nest.
15401
15402 2011-06-09 Glenn Morris <rgm@gnu.org>
15403
15404 * calendar/appt.el (appt-mode-line): New function.
15405 (appt-check, appt-disp-window): Use it.
15406
15407 * files.el (hack-one-local-variable-eval-safep):
15408 Allow minor-modes with explicit +/-1 arguments.
15409
15410 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
15411
15412 * term/xterm.el (xterm): Add defgroup.
15413 (xterm-extra-capabilities): Add defcustom to supply known xterm
15414 capabilities, skip querying them, or query them (default).
15415 (terminal-init-xterm): Use it.
15416 (terminal-init-xterm-modify-other-keys): New function to set up
15417 modifyOtherKeys support to simplify `terminal-init-xterm'.
15418
15419 2011-06-09 Martin Rudalics <rudalics@gmx.at>
15420
15421 * window.el (resize-window-reset, resize-window-reset-1)
15422 (resize-subwindows-skip-p, resize-subwindows-normal)
15423 (resize-subwindows, resize-other-windows, resize-this-window)
15424 (resize-root-window, resize-root-window-vertically)
15425 (window-deletable-p, window-or-subwindow-p)
15426 (frame-root-window-p): New functions.
15427
15428 2011-06-09 Glenn Morris <rgm@gnu.org>
15429
15430 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
15431 (ange-ftp-get-files): Use it.
15432
15433 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
15434
15435 * mail/sendmail.el (mail-recover-1, mail-recover):
15436 * files.el (recover-file, recover-session):
15437 Handle dired-listing-switches not being just a single short option.
15438
15439 2011-06-09 Glenn Morris <rgm@gnu.org>
15440
15441 * calendar/appt.el (appt-display-message, appt-disp-window):
15442 Handle lists of appointments.
15443
15444 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15445
15446 * window.el (one-window-p): Move down in code.
15447 Rewrite doc-string.
15448 (window-current-scroll-bars): Rewrite doc-string.
15449 Normalize live window argument.
15450 (walk-windows, get-window-with-predicate, count-windows):
15451 Rewrite doc-string. Use window-list-1.
15452 (window-in-direction-2, window-in-direction, get-mru-window):
15453 New functions.
15454
15455 2011-06-08 Reuben Thomas <rrt@sc3d.org>
15456
15457 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15458 Doc fix (Bug#8713).
15459
15460 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
15461
15462 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15463
15464 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
15465
15466 * loadhist.el (unload-feature-special-hooks):
15467 Add `comint-output-filter-functions'.
15468
15469 2011-06-08 Ivan Kanis <gnu@kanis.fr>
15470
15471 * calendar/appt.el (appt-check): Move some initializations into the let.
15472
15473 2011-06-08 Martin Rudalics <rudalics@gmx.at>
15474
15475 * window.el (window-height): Defalias to window-total-height.
15476 (window-width): Defalias to window-body-width.
15477
15478 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
15479
15480 * image-mode.el (image-toggle-animation): New command.
15481 (image-mode-map): Bind it to RET.
15482 (image-mode): Update message.
15483 (image-toggle-display-image): Avoid a spurious cache flush.
15484 (image-transform-rotation): Doc fix.
15485 (image-transform-properties): Return quickly in the normal case.
15486 (image-animate-loop): Rename from image-animate-max-time.
15487
15488 * image.el (image-animate-max-time): Move to image-mode.el.
15489 (create-animated-image): Remove unnecessary function.
15490 (image-animate): Rename from image-animate-start. New arg.
15491 (image-animate-stop): Remove; just use image-animate-timer.
15492 (image-animate-timer): Use car-safe.
15493 (image-animate-timeout): Rename argument.
15494
15495 2011-06-07 Martin Rudalics <rudalics@gmx.at>
15496
15497 * window.el (get-lru-window, get-largest-window): Move here from
15498 window.c. Rename first argument to ALL-FRAMES.
15499 Rephrase doc-strings.
15500 (get-buffer-window-list): Rewrite using window-list-1.
15501 Rephrase doc-string.
15502 (window-safe-min-height, window-safe-min-width): New constants.
15503 (window-size-ignore, window-min-size, window-min-size-1)
15504 (window-sizable, window-sizable-p, window-size-fixed-1)
15505 (window-size-fixed-p, window-min-delta-1, window-min-delta)
15506 (window-max-delta-1, window-max-delta, window-resizable)
15507 (window-resizable-p, window-total-height, window-total-width)
15508 (window-body-width): New functions.
15509 (window-full-height-p, window-full-width-p): Rewrite using
15510 window-total-size.
15511 (window-body-height): Rewrite using window-body-size.
15512
15513 2011-06-06 Martin Rudalics <rudalics@gmx.at>
15514
15515 * window.el (window-right, window-left, window-child)
15516 (window-child-count, window-last-child, window-any-p)
15517 (normalize-live-buffer, normalize-live-frame)
15518 (normalize-any-window, normalize-live-window)
15519 (window-iso-combination-p, window-iso-combined-p)
15520 (window-iso-combinations)
15521 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15522 (windows-with-parameter, window-with-parameter)
15523 (window-atom-root, make-window-atom, window-atom-check-1)
15524 (window-atom-check, window-side-check, window-check):
15525 New functions.
15526 (ignore-window-parameters, window-sides, window-sides-vertical)
15527 (window-sides-slots): New variables.
15528 (window-size-fixed): Move down in code. Minor doc-string fix.
15529
15530 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
15531
15532 * comint.el (comint-dynamic-complete-as-filename)
15533 (comint-dynamic-complete-filename): Correctly call
15534 completion-in-region.
15535
15536 2011-06-05 Deniz Dogan <deniz@dogan.se>
15537
15538 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15539 in last change.
15540
15541 2011-06-05 Deniz Dogan <deniz@dogan.se>
15542
15543 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15544 (rcirc): Use it to prompt for encryption.
15545
15546 2011-06-05 Roland Winkler <winkler@gnu.org>
15547
15548 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15549 (bibtex-search-entries): New command bound to C-c C-a.
15550 (bibtex-display-entries): New function.
15551
15552 2011-06-05 Roland Winkler <winkler@gnu.org>
15553
15554 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15555 (bibtex-insert-kill): After yanking insert newline if necessary.
15556 (bibtex-initialize): Call bibtex-string-files-init only once.
15557 (bibtex-mode): Do not call easy-menu-add.
15558 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15559 (bibtex-yank): Set arg properly if nil.
15560
15561 2011-06-05 Roland Winkler <winkler@gnu.org>
15562
15563 * textmodes/bibtex.el (bibtex-search-entry-globally):
15564 New variable.
15565 (bibtex-search-entry): Use it.
15566
15567 2011-06-05 Roland Winkler <winkler@gnu.org>
15568
15569 * textmodes/bibtex.el (bibtex-entry-format): New option
15570 sort-fields.
15571 (bibtex-format-entry, bibtex-reformat): Honor this option.
15572 (bibtex-parse-entry): Return fields in proper order.
15573
15574 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
15575
15576 * doc-view.el (doc-view-remove-if): Move computation of result out
15577 of `dolist' to silence misleading lexical-binding warning.
15578
15579 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
15580
15581 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15582 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15583
15584 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15585
15586 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15587 "SunOS 5.10".
15588
15589 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
15590
15591 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15592 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15593 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15594 (tramp-parse-putty):
15595 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15596 (tramp-completion-function-alist-ssh)
15597 (tramp-completion-function-alist-telnet)
15598 (tramp-completion-function-alist-su)
15599 (tramp-completion-function-alist-putty): Set `tramp-autoload'
15600 cookie.
15601
15602 * net/tramp-ftp.el:
15603 * net/tramp-sh.el:
15604 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15605 load "tramp.el" `tramp-set-completion-function'.
15606
15607 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
15608
15609 * shell.el: Require and use pcomplete.
15610 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15611 (shell-completion-vars): Set pcomplete-default-completion-function.
15612
15613 2011-06-04 Deniz Dogan <deniz@dogan.se>
15614
15615 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15616 `memq' (Bug#8799).
15617
15618 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15619
15620 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15621
15622 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
15623
15624 * bs.el (bs--mark-unmark, bs--nth-wrapper):
15625 * mpc.el (mpc-select-extend, mpc-songpointer-context):
15626 * vc/log-view.el (log-view-beginning-of-defun):
15627 * vc/smerge-mode.el (smerge-apply-resolution-patch)
15628 (smerge-refine-forward, smerge-refine-chopup-region):
15629 Silence warning for unused `dotimes' counter variables.
15630
15631 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
15632
15633 * net/tramp.el (tramp-with-progress-reporter): Rename from
15634 with-progress-reporter. Use `declare'.
15635 * net/tramp-smb.el:
15636 * net/tramp-sh.el:
15637 * net/tramp-gvfs.el: Update all uses.
15638
15639 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
15640
15641 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15642 buffer isn't killed before making it current.
15643
15644 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15645
15646 Silence various byte-compiler warnings.
15647 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15648 `access-type' and new obsolescence format.
15649 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15650 new format.
15651 (byte-compile-check-variable): New `access-type' argument.
15652 Only warn if the access-type is obsolete.
15653 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15654 (byte-compile-variable-set): Adjust callers.
15655 * help-fns.el (describe-variable): Adjust to new obsolescence format.
15656 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15657 setting it as obsolete.
15658 * simple.el (minibuffer-completing-symbol):
15659 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15660 access as obsolete.
15661 * minibuffer.el (minibuffer-completing-file-name): Don't make it
15662 obsolete yet.
15663 * international/quail.el (quail-mouse-choose-completion): Remove unused
15664 code referring to obsolete var.
15665 (quail-choose-completion-string): Remove.
15666 * server.el (server-clients-with, server-kill-buffer-query-function)
15667 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15668 * proced.el (proced-send-signal):
15669 * emacs-lisp/lisp.el (lisp-complete-symbol):
15670 Replace completion-annotate-function with completion-extra-properties.
15671
15672 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * simple.el (goto-line): Use read-number.
15675 (overriding-map-is-bound): Remove.
15676 (saved-overriding-map): Change default.
15677 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15678 Take the map as argument.
15679 (universal-argument, negative-argument, digit-argument): Use it.
15680 (restore-overriding-map): Adjust.
15681 (do-auto-fill): Use fill-forward-paragraph.
15682 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15683
15684 * minibuffer.el (minibuffer-inactive-mode-map): New var.
15685 (minibuffer-inactive-mode): New major mode.
15686 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15687 the *Messages* buffer" hack.
15688 (mouse-popup-menubar): Don't burp if the event is a normal key.
15689
15690 Miscellaneous tweaks.
15691 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15692 lexical scoping as in subr.el's dolist and dotimes.
15693 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15694 Silence compiler warning.
15695 * thingatpt.el (forward-whitespace): Trivial coding style fix.
15696 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15697 * international/ccl.el (ccl-compile): Trivial simplification.
15698 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15699 * emacs-lisp/testcover.el (testcover-end): Remove spurious
15700 `printflag' argument.
15701 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15702 Purecopy the whole obsolescence data.
15703
15704 2011-06-01 Leo Liu <sdl.web@gmail.com>
15705
15706 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15707 improve doc-string as suggested by Marco Pessotto
15708 <melmothx@gmail.com>.
15709 (rcirc-print): Fix last change.
15710
15711 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15712
15713 * minibuffer.el (complete-with-action): Return nil for the metadata and
15714 boundaries of non-functional tables.
15715 (completion-table-dynamic): Return nil for the metadata.
15716 (completion-table-with-terminator): Add default case, using
15717 complete-with-action.
15718 (completion--metadata): New function.
15719 (completion-all-sorted-completions, minibuffer-completion-help): Use it
15720 to try and avoid pathological performance problems.
15721 (completion--embedded-envvar-table): Return `category' metadata.
15722
15723 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
15724
15725 * subr.el (process-alive-p): New tiny convenience function.
15726
15727 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15728
15729 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15730 content but also its previous major mode.
15731
15732 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
15733
15734 * emacs-lisp/debug.el (debug): Restore the previous content of the
15735 *Backtrace* buffer when we exit with C-M-c.
15736
15737 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
15738
15739 * minibuffer.el: Add metadata method to completion tables.
15740 (completion-category-overrides): New defcustom.
15741 (completion-metadata, completion--field-metadata)
15742 (completion-metadata-get, completion--styles)
15743 (completion--cycle-threshold): New functions.
15744 (completion-try-completion, completion-all-completions):
15745 Add `metadata' argument to choose completion-styles.
15746 (completion--do-completion): Use metadata to choose cycling.
15747 (completion-all-sorted-completions): Use metadata for sorting.
15748 Remove :completion-cycle-penalty which is not needed any more.
15749 (completion--try-word-completion): Add `metadata' argument.
15750 (minibuffer-completion-help): Check metadata for annotation function
15751 and sorting.
15752 (completion-file-name-table): Return `category' metadata.
15753 (minibuffer-completing-file-name): Make obsolete.
15754 * simple.el (minibuffer-completing-symbol): Make obsolete.
15755 * icomplete.el (icomplete-completions): Pass new `metadata' param to
15756 completion-try-completion.
15757
15758 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
15759
15760 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15761
15762 2011-05-30 Leo Liu <sdl.web@gmail.com>
15763
15764 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15765 (rcirc-print): Decode all incoming messages (bug#8744).
15766 (rcirc-decode-coding-system): Allow value nil for automatic coding
15767 system detection.
15768
15769 2011-06-01 Glenn Morris <rgm@gnu.org>
15770
15771 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15772
15773 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15774
15775 * image.el (image-animate-max-time): Allow nil and t values.
15776 Default to nil.
15777 (create-animated-image): Doc fix.
15778 (image-animate-start): Remove second arg; just use
15779 image-animate-max-time.
15780 (image-animate-timeout): Doc fix. Args changed.
15781
15782 * image-mode.el (image-toggle-display-image): Ensure that the
15783 image spec passed to the animate timer is the same object as in
15784 the buffer's display property (Bug#6981).
15785 (image-transform-properties): Doc fix.
15786
15787 * image.el (image-animate-max-time): Default to nil.
15788
15789 2011-05-29 Martin Rudalics <rudalics@gmx.at>
15790
15791 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15792 entire buffer list (Bug#8184).
15793
15794 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15795
15796 * image.el (imagemagick-types-inhibit)
15797 (imagemagick-register-types): Doc fix.
15798
15799 2011-05-29 Deniz Dogan <deniz@dogan.se>
15800
15801 * net/rcirc.el (rcirc): Use the user's stored encryption method by
15802 default.
15803
15804 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
15805
15806 * select.el: Don't perform clipboard-manager saving in hooks;
15807 leave the hooks empty.
15808
15809 2011-05-28 Leo Liu <sdl.web@gmail.com>
15810
15811 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15812 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
15813 (occur-edit-mode): New major mode (Bug#8463).
15814 (occur-after-change-function): New function.
15815 (occur-engine): Give Occur tags a read-only property.
15816
15817 2011-05-28 Kevin Ryde <user42@zip.com.au>
15818
15819 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15820
15821 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15822
15823 * bindings.el (help-echo): Make the initial non-indicator dash
15824 empty on graphical terminals (Bug#7295).
15825
15826 * files.el (auto-mode-alist): Move config rule after the
15827 in-stripping one (Bug#8547).
15828
15829 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15830
15831 * startup.el (normal-splash-screen): Remove gratuitous mode-line
15832 setting (Bug#8740).
15833
15834 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
15835
15836 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15837 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15838 (Bug#8539).
15839
15840 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15841
15842 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15843
15844 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
15845
15846 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15847 (hs-hide-block-at-point, hs-find-block-beginning)
15848 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15849 (Bug#8279).
15850
15851 2011-05-28 Glenn Morris <rgm@gnu.org>
15852
15853 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
15854
15855 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
15856
15857 * help-fns.el (describe-function-1): If the function is a derived
15858 major mode, print the parent mode.
15859
15860 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15861 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15862
15863 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
15864
15865 * minibuffer.el (completion--capf-wrapper): Check applicability before
15866 returning non-nil for non-exclusive completion data.
15867 * progmodes/etags.el (tags-completion-at-point-function):
15868 * info-look.el (info-lookup-completions-at-point): Mark as
15869 non-exclusive.
15870 (info-complete): Adjust accordingly.
15871
15872 * info-look.el: Convert to lexical-binding and completion-at-point.
15873 (info-lookup-completions-at-point): New function.
15874 (info-complete): Use it and completion-in-region.
15875
15876 2011-05-28 Drew Adams <drew.adams@oracle.com>
15877
15878 * isearch.el: Let M-e start with point at the first mismatched char.
15879 (isearch-fail-pos): New function.
15880 (isearch-edit-string): Use it.
15881
15882 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15883
15884 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15885
15886 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
15887
15888 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
15889 traversal functions for avl-trees.
15890 (avl-tree--stack): New struct.
15891 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15892 (avl-tree-enter): Add optional `updatefun' arg.
15893 (avl-tree--do-enter): Add optional `updatefun' arg.
15894 Change return value.
15895 (avl-tree-delete): Add optional `test' and `nilflag' args.
15896 (avl-tree--do-delete): Add `test' and `nilflag' args.
15897 Change return value.
15898 (avl-tree-member): Add optional `nilflag'
15899 (avl-tree-member-p): New function.
15900 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15901 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15902 (avl-tree-stack-empty-p): New functions.
15903
15904 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15905 avl-tree--del-balance1 and make it work both ways.
15906 (avl-tree--del-balance2): Remove.
15907 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15908 make it work both ways.
15909 (avl-tree--enter-balance2): Remove.
15910 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15911 New macros.
15912 (avl-tree--mapc, avl-tree-map): Add direction argument.
15913
15914 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
15915
15916 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15917
15918 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
15919
15920 * select.el: Support clipboard managers with built-in function
15921 x-clipboard-manager-save, via delete-frame-functions and
15922 kill-emacs-hook.
15923 (xselect-convert-to-targets): Add MULTIPLE target to list.
15924 (xselect-convert-to-save-targets): New function.
15925
15926 2011-05-27 Kenichi Handa <handa@m17n.org>
15927
15928 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15929 let-binding rfc2047-encode-encoded-words to nil.
15930
15931 2011-05-27 Glenn Morris <rgm@gnu.org>
15932
15933 * mail/emacsbug.el: Don't require url-util.
15934
15935 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
15936
15937 * files.el (set-auto-mode):
15938 Also respect mode: entries at the end of the file. (Bug#8586)
15939
15940 2011-05-26 Glenn Morris <rgm@gnu.org>
15941
15942 * files.el (hack-local-variables-prop-line, hack-local-variables):
15943 Downcase mode names, as seems to be traditional.
15944 (hack-local-variables, hack-local-variables-apply): Doc fixes.
15945
15946 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15947 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
15948
15949 2011-05-25 Julien Danjou <julien@danjou.info>
15950
15951 * textmodes/rst.el (rst-define-level-faces): Do not define face
15952 symbol if it is already defined.
15953
15954 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
15955
15956 * play/5x5.el (5x5-new-game, 5x5-randomize):
15957 Reset 5x5-solver-output to nil when a new grid is cast.
15958 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15959 these debugging traces, as defmacro breaks the compiled code.
15960
15961 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
15962
15963 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15964
15965 2011-05-24 Leo Liu <sdl.web@gmail.com>
15966
15967 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15968 (vc-bzr-sha1): Adapt.
15969
15970 * sha1.el: Remove. Function `sha1' is now builtin.
15971
15972 * bindings.el: Provide sha1 feature.
15973
15974 2011-05-24 Kenichi Handa <handa@m17n.org>
15975
15976 * mail/sendmail.el: Require `rfc2047'.
15977 (mail-insert-from-field): Do not perform RFC2047 encoding.
15978 (mail-encode-header): New function.
15979 (sendmail-send-it): Set buffer-file-coding-system of the work
15980 buffer to the return value of select-message-coding-system.
15981 Call mail-encode-header.
15982
15983 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15984
15985 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
15986
15987 * mail/supercite.el (sc-default-cite-frame):
15988 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15989
15990 2011-05-24 Glenn Morris <rgm@gnu.org>
15991
15992 * progmodes/python.el (brm-menu): Declare.
15993
15994 * emulation/viper.el (viper-set-hooks): Declare.
15995
15996 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15997 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15998 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15999 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
16000 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
16001 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
16002
16003 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
16004
16005 Add an :exit-function for completion-at-point.
16006
16007 * minibuffer.el (completion--done): New fun.
16008 (completion--do-completion): Use it. New arg `expect-exact'.
16009 (minibuffer-complete, minibuffer-complete-word): Don't output message,
16010 since completion--do-completion does it for us now.
16011 (minibuffer-force-complete): Use completion--done and
16012 completion--replace. Handle sole-completion case with more care.
16013 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
16014 (completion-extra-properties): New var.
16015 (completion-annotate-function): Make obsolete.
16016 (minibuffer-completion-help): Adjust accordingly.
16017 Use completion-list-insert-choice-function.
16018 (completion-at-point, completion-help-at-point):
16019 Bind completion-extra-properties.
16020 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
16021 * simple.el (completion-list-insert-choice-function): New var.
16022 (completion-setup-function): Preserve it.
16023 (choose-completion): Pay attention to it, shuffle the code a bit.
16024 (choose-completion-string): New arg `insert-function'.
16025
16026 * textmodes/bibtex.el: Convert to lexical binding.
16027 (bibtex-mode-map): Use completion-at-point.
16028 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
16029 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
16030 (bibtex-complete): Define as obsolete alias.
16031 (bibtex-complete-internal): Remove.
16032 (bibtex-format-entry): Remove unused sub-group in regexp.
16033 * shell.el (shell--command-completion-data)
16034 (shell-environment-variable-completion):
16035 * pcomplete.el (pcomplete-completions-at-point):
16036 * comint.el (comint--complete-file-name-data): Use :exit-function
16037 instead of completion-table-with-terminator so it also works for
16038 choose-completion.
16039
16040 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16041
16042 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
16043
16044 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
16045 (bug#8710).
16046
16047 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
16048
16049 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
16050
16051 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
16052 customization variable and implement: If non-nil, auto-fill will
16053 be inhibited while on topic's header line.
16054
16055 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
16056
16057 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
16058 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
16059 always have a solution in grid size = 5 cases.
16060 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
16061 (5x5-solver-output, 5x5-log-buffer): New vars.
16062 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
16063 Make these variables buffer local to achieve 5x5 multi-session-ness.
16064 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
16065 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
16066 (5x5-solve-suggest): New funs.
16067 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
16068 randomize a grid so that we ensure that there is always a solution.
16069 (5x5-make-random-grid): Allow other movement than flipping.
16070
16071 2011-05-23 Kevin Ryde <user42@zip.com.au>
16072
16073 * emacs-lisp/advice.el (ad-read-advised-function):
16074 Use `function-called-at-point' as the default, if it has
16075 advice and passes PREDICATE.
16076
16077 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
16078
16079 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
16080 byte-compile-lambda if it's actually a lambda.
16081
16082 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
16083 Fix function quoting. Use backquote better.
16084
16085 2011-05-22 Yuanle Song <sylecn@gmail.com>
16086
16087 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
16088 matching (Bug#8516).
16089
16090 2011-01-22 Jari Aalto <jari.aalto@cante.net>
16091
16092 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
16093 different face (Bug#8178).
16094
16095 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
16096
16097 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
16098 defface (Bug#8144).
16099
16100 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
16101
16102 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
16103 funcall as well (bug#8712). Warn when performing those conversions.
16104 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
16105
16106 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
16107
16108 2011-05-22 Glenn Morris <rgm@gnu.org>
16109
16110 * files.el (hack-local-variables-prop-line): Small simplifications.
16111 (hack-local-variables, hack-local-variables-prop-line):
16112 If MODE-ONLY, return the mode, rather than just `t'.
16113
16114 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
16115
16116 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
16117
16118 2011-05-21 Glenn Morris <rgm@gnu.org>
16119
16120 * files.el (hack-local-variables-prop-line, hack-local-variables):
16121 If only interested in the mode, don't bother doing the other stuff.
16122
16123 * image-mode.el (image-after-revert-hook):
16124 Redraw all frames on which the image is visible. (Bug#8567)
16125
16126 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
16127
16128 * wid-edit.el (widget-checklist-match-inline):
16129 Fix 2011-04-19 change. (Bug#8649)
16130
16131 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
16132
16133 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
16134 Also allow singlespace after single-letter capitals followed by a dot.
16135
16136 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
16137 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
16138
16139 2011-05-20 Nix <nix@esperi.org.uk>
16140
16141 * files.el (basic-save-buffer-2):
16142 Fix handling of break-hardlink-on-save with non-existent files.
16143
16144 2011-05-19 Deniz Dogan <deniz@dogan.se>
16145
16146 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
16147 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
16148
16149 2011-05-19 Glenn Morris <rgm@gnu.org>
16150
16151 * progmodes/f90.el (f90-type-def-re):
16152 Handle "type, bind(c)". (Bug#8691)
16153
16154 * emacs-lisp/autoload.el (batch-update-autoloads):
16155 Set autoload-excludes by parsing loadup.el rather than Makefiles.
16156
16157 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
16158
16159 * net/tramp.el (tramp-process-actions): Set "first-password-request"
16160 property for the correct connection in case of multihops.
16161
16162 2011-05-18 Glenn Morris <rgm@gnu.org>
16163
16164 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
16165 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
16166
16167 Rationalize calendar handling of day and month abbrev-arrays.
16168 * calendar/calendar.el (calendar-customized-p): New function.
16169 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
16170 (calendar-day-name-array, calendar-month-name-array): Doc fix.
16171 Add :set function.
16172 (calendar-abbrev-length, calendar-day-abbrev-array)
16173 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
16174 (calendar-day-abbrev-array, calendar-month-abbrev-array):
16175 Elements may no longer be nil.
16176 (calendar-day-name, calendar-month-name):
16177 Update for changed nature of abbrev arrays.
16178 * calendar/diary-lib.el (diary-name-pattern):
16179 Update for changed nature of abbrev arrays.
16180 (diary-mark-entries-1): Update calendar-make-alist calls.
16181 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
16182 * calendar/cal-html.el (cal-html-day-abbrev-array):
16183 Simply inherit from calendar-day-abbrev-array.
16184
16185 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
16186
16187 * progmodes/grep.el (grep-mode): Disable default
16188 compilation-directory-matcher setting (bug#8684).
16189
16190 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
16191
16192 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
16193 instead of "head" and "tail". There were problems with SunOS 5.9,
16194 and it performs better.
16195
16196 2011-05-17 Glenn Morris <rgm@gnu.org>
16197
16198 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
16199
16200 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
16201 Replace obsolete function.
16202
16203 * shell.el (pcomplete-parse-arguments-function): Declare.
16204
16205 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
16206 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
16207 (appt-check): Doc fixes.
16208 (appt-disp-window-function, appt-delete-window-function):
16209 Remove needless special case in custom :type.
16210 (appt-display-count): Default to 0, not nil.
16211 (appt-check): Reset appt-display-count to 0, not nil.
16212
16213 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
16214
16215 * progmodes/python.el (python-font-lock-keywords):
16216 Add the Python 3.X keyword "nonlocal" (bug#8639).
16217
16218 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
16219
16220 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
16221
16222 2011-05-16 Kevin Ryde <user42@zip.com.au>
16223
16224 * info-look.el (makefile-automake-mode): New setups, looking in
16225 automake manual, then makefile-mode.
16226 (makefile-mode): Remove automake manual, have it just in
16227 makefile-automake-mode since there's various things different or
16228 not relevant to plain make.
16229 (makefile-mode): Remove "other-modes" non-existent automake-mode,
16230 believe a hypothetical automake-mode would go to makefile-mode,
16231 not the other way around.
16232
16233 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
16234
16235 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
16236 hunk-end tags (Bug#8672).
16237
16238 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
16239 vc-annotate-show-diff-revision-at-line (Bug#8671).
16240
16241 2011-05-14 Glenn Morris <rgm@gnu.org>
16242
16243 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
16244 in the middle of an existing one with multiple authors. (Bug#8645)
16245 (change-log-font-lock-keywords): Also handle multiple author lines
16246 with leading tabs. (Bug#8644)
16247
16248 * calendar/appt.el (appt-check): Rename some local variables.
16249 Some simplification/reordering.
16250
16251 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
16252 (feedmail-sendmail-f-doesnt-sell-me-out)
16253 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16254 (feedmail-debug-sit-for, feedmail-queue-express-hook)
16255 (feedmail-queue-runner-message-sender): Set :version.
16256 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
16257 (bbdb-dwim-net-address, vm-mail): Declare.
16258 (feedmail-binmail-gnulinuxish-template):
16259 Rename from feedmail-binmail-linuxish-template.
16260 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
16261 Use insert-buffer-substring.
16262
16263 2011-05-14 Bill Carpenter <bill@carpenter.org>
16264
16265 * mail/feedmail.el (feedmail-patch-level): Increase.
16266 (feedmail-debug): New custom group.
16267 (feedmail-confirm-outgoing-timeout)
16268 (feedmail-sendmail-f-doesnt-sell-me-out)
16269 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
16270 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
16271 (feedmail-sender-line, feedmail-from-line)
16272 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
16273 (feedmail-spray-this-address)
16274 (feedmail-spray-address-fiddle-plex-list)
16275 (feedmail-queue-use-send-time-for-date)
16276 (feedmail-queue-use-send-time-for-message-id)
16277 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
16278 (feedmail-buffer-eating-function):
16279 Doc fixes.
16280 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
16281 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
16282 (feedmail-message-action-scroll-down): New functions.
16283 (feedmail-queue-directory, feedmail-queue-draft-directory):
16284 Use expand-file-name.
16285 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
16286 Remove C-v help entry.
16287 (feedmail-queue-buffer-file-name): New variable.
16288 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
16289 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
16290 (feedmail-message-action-send-strong, feedmail-message-action-edit)
16291 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
16292 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
16293 (feedmail-message-action-toggle-spray)
16294 (feedmail-run-the-queue-no-prompts)
16295 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
16296 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
16297 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
16298 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
16299 (feedmail-envelope-deducer, feedmail-fiddle-from)
16300 (feedmail-fiddle-sender, feedmail-default-date-generator)
16301 (feedmail-fiddle-date, feedmail-fiddle-message-id)
16302 (feedmail-fiddle-spray-address)
16303 (feedmail-fiddle-list-of-spray-fiddle-plexes)
16304 (feedmail-fiddle-list-of-fiddle-plexes)
16305 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
16306 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
16307 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
16308 Change default. Doc fix.
16309 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
16310 (feedmail-binmail-linuxish-template): New constant.
16311 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
16312 Respect feedmail-sendmail-f-doesnt-sell-me-out.
16313 (feedmail-send-it): Add debug call.
16314 Use feedmail-queue-buffer-file-name, and
16315 feedmail-send-it-immediately-wrapper.
16316 (feedmail-message-action-send): Add debug call.
16317 Use feedmail-send-it-immediately-wrapper.
16318 (feedmail-queue-express-to-queue): Add debug call.
16319 Run feedmail-queue-express-hook.
16320 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
16321 (feedmail-message-action-help-blat):
16322 Rename from feedmail-queue-send-edit-prompt-help-first.
16323 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
16324 Check line-endings. Handle errors better.
16325 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
16326 Doc fix. Add debug call.
16327 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
16328 Use feedmail-queue-send-edit-prompt-inner.
16329 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
16330 (feedmail-queue-send-edit-prompt-inner): New function, extracted
16331 from feedmail-queue-send-edit-prompt.
16332 (feedmail-queue-send-edit-prompt-help)
16333 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
16334 (feedmail-tidy-up-slug): Add debug call.
16335 Respect feedmail-queue-slug-suspect-regexp.
16336 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
16337 (feedmail-dump-message-to-queue): Add debug call.
16338 Expand queue-directory.
16339 (feedmail-dump-message-to-queue): Change message slightly.
16340 Use feedmail-say-chatter.
16341 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
16342 (feedmail-send-it-immediately-wrapper): New function.
16343 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
16344 Insert empty string rather than newline. Handle full-frame case.
16345 Use catch/throw. Use feedmail-say-chatter.
16346 (feedmail-fiddle-from): Try mail-host-address.
16347 (feedmail-default-message-id-generator): Doc fix.
16348 Bind system-time-locale. Handle missing end.
16349 (feedmail-fiddle-x-mailer): Add debug call.
16350 Handle feedmail-x-mailer-line being nil.
16351 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
16352 Add debug call. Use buffer-substring-no-properties.
16353 (feedmail-say-debug, feedmail-say-chatter): New functions.
16354 (feedmail-find-eoh): Give an explicit error.
16355
16356 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
16357
16358 * net/newst-treeview.el (newsticker-treeview-face): Change default
16359 family from helvetica to sans.
16360 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
16361 etc/images/newsticker.
16362
16363 * net/newst-reader.el (newsticker-feed-face): Change default
16364 family from helvetica to sans.
16365
16366 * net/newst-plainview.el (newsticker-new-item-face)
16367 (newsticker-old-item-face, newsticker-immortal-item-face)
16368 (newsticker-obsolete-item-face, newsticker-date-face)
16369 (newsticker-statistics-face): Change default family from
16370 helvetica to sans.
16371 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
16372 etc/images/newsticker.
16373
16374 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
16375 (newsticker--process-auto-mark-filter-match): Tell user about
16376 auto-marking.
16377
16378 2011-05-13 Didier Verna <didier@xemacs.org>
16379
16380 Common Lisp indentation improvements on defmethod and lambda-lists.
16381 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
16382 TODO entries.
16383 (lisp-lambda-list-keyword-parameter-indentation)
16384 (lisp-lambda-list-keyword-parameter-alignment)
16385 (lisp-lambda-list-keyword-alignment): New customizable user options.
16386 (lisp-indent-defun-method): Improve docstring.
16387 (extended-loop-p): Fix comment.
16388 (lisp-indent-lambda-list-keywords-regexp): New variable.
16389 (lisp-indent-lambda-list): New function.
16390 (lisp-indent-259): Use it.
16391 (lisp-indent-defmethod): Support for more than one
16392 method qualifier and properly indent methods lambda-lists.
16393 (defgeneric): Provide a missing common-lisp-indent-function property.
16394
16395 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
16396
16397 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
16398 bounds for the empty string (bug#8667).
16399
16400 2011-05-13 Glenn Morris <rgm@gnu.org>
16401
16402 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
16403
16404 * mail/sendmail.el (sendmail-program): Try executable-find first.
16405 (sendmail-send-it): `sendmail-program' cannot be unbound.
16406
16407 * calendar/appt.el (appt-make-list): Simplify.
16408 (appt-time-msg-list): Doc fix.
16409 (appt-check): Change mode-line message at the time of the appointment.
16410
16411 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
16412
16413 * progmodes/ld-script.el (ld-script-keywords)
16414 (ld-script-builtins): Update keywords list.
16415
16416 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16417
16418 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
16419
16420 * shell.el (shell-completion-vars): New function.
16421 (shell-mode):
16422 * simple.el (read-shell-command): Use it.
16423 (blink-matching-open): No need for " [...]" in minibuffer-message.
16424
16425 2011-05-12 Glenn Morris <rgm@gnu.org>
16426
16427 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
16428 (appt-check): Simplify.
16429
16430 2011-05-12 Eli Zaretskii <eliz@gnu.org>
16431
16432 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
16433 literal "/dev/null".
16434
16435 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
16438 Fix typo.
16439
16440 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
16441
16442 * progmodes/which-func.el (which-function):
16443 Use add-log-current-defun instead of add-log-current-defun-function,
16444 which might not be defined (Bug#8260).
16445
16446 2011-05-12 Glenn Morris <rgm@gnu.org>
16447
16448 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
16449 Let byte-compile-initial-macro-environment always take precedence.
16450
16451 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
16452
16453 * net/rcirc.el: Add support for SSL/TLS connections.
16454 (rcirc-server-alist): New field `encryption'.
16455 (rcirc): Check `encryption' settings.
16456 (rcirc-connect): New arg `encryption'. Use open-network-stream.
16457 Merge make-local-variable into `set'.
16458 (rcirc--connection-open-p): New function.
16459 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16460 the process is not a network process (e.g. running gnutls-cli).
16461 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16462 Make rcirc-(en|de)code-coding-system local here.
16463 (rcirc-mode): Merge make-local-variable into `set'.
16464 (rcirc-parent-buffer): Make permanent buffer-local.
16465 (rcirc-multiline-minor-mode): Don't do it here.
16466 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16467 there's no server buffer.
16468
16469 2011-05-11 Glenn Morris <rgm@gnu.org>
16470
16471 * newcomment.el (comment-kill): Prefix "unused" local.
16472
16473 * term/w32console.el (get-screen-color): Declare.
16474
16475 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16476 Handle symbol elements of byte-compile-initial-macro-environment.
16477
16478 2011-05-10 Leo Liu <sdl.web@gmail.com>
16479
16480 * bookmark.el (bookmark-bmenu-mode-map):
16481 Bind bookmark-bmenu-search to `/'.
16482
16483 * mail/footnote.el: Convert to utf-8 encoding.
16484 (footnote-unicode-string, footnote-unicode-regexp): New variable.
16485 (Footnote-unicode): New function.
16486 (footnote-style-alist): Add unicode style to the list.
16487 (footnote-style): Doc fix.
16488
16489 2011-05-10 Jim Meyering <meyering@redhat.com>
16490
16491 Fix doubled-word typos.
16492 * international/quail.el (quail-insert-kbd-layout): and and -> and
16493 * kermit.el: and and -> and
16494 * net/ldap.el (ldap-search-internal): to to -> to
16495 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16496 * progmodes/js.el (js-mode): and and -> and
16497 * textmodes/artist.el (artist-move-to-xy): at at -> at
16498 (artist-draw-region-trim-line-endings): if if -> if
16499 And Safetyc -> Safety.
16500 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16501
16502 2011-05-10 Glenn Morris <rgm@gnu.org>
16503 Stefan Monnier <monnier@iro.umontreal.ca>
16504
16505 * files.el (hack-one-local-variable-eval-safep):
16506 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
16507
16508 2011-05-10 Glenn Morris <rgm@gnu.org>
16509
16510 * calendar/diary-lib.el (diary-list-entries-hook)
16511 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16512 (diary-nongregorian-marking-hook, diary-list-entries)
16513 (diary-include-other-diary-files, diary-mark-entries)
16514 (diary-mark-included-diary-files): Doc fixes.
16515
16516 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16517
16518 * misc.el: Require tabulated-list.el during compilation.
16519
16520 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16521
16522 * progmodes/compile.el (compilation-start):
16523 Run compilation-filter-hook for the async case too.
16524 (compilation-filter-hook): Doc fix.
16525
16526 2011-05-09 Deniz Dogan <deniz@dogan.se>
16527
16528 * wdired.el: Remove outdated installation comment. Fix usage
16529 comment.
16530
16531 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
16532
16533 * misc.el: Implement new command `list-dynamic-libraries'.
16534 (list-dynamic-libraries--loaded-only-p): New variable.
16535 (list-dynamic-libraries--refresh): New function.
16536 (list-dynamic-libraries): New command.
16537
16538 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
16539
16540 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16541 Fix the ant regexp to handle end-line and end-column info from jikes.
16542 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
16543 higher priority to avoid clobbering by gnu.
16544
16545 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16546
16547 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16548 if the face has existing theme settings (Bug#8454).
16549
16550 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
16551
16552 * progmodes/perl-mode.el (perl-imenu-generic-expression):
16553 Only match variables declared via `my' or `our' (Bug#8261).
16554
16555 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16556 special file names `.' and `..' (Bug#8259).
16557
16558 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
16559
16560 * progmodes/grep.el (grep-mode-font-lock-keywords):
16561 Remove buffer-changing entries.
16562 (grep-filter): New function.
16563 (grep-mode): Add it to compilation-filter-hook.
16564
16565 * progmodes/compile.el (compilation-filter-hook)
16566 (compilation-filter-start): New defvars.
16567 (compilation-filter): Call compilation-filter-hook prior to
16568 updating the process mark.
16569
16570 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16571
16572 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16573
16574 2011-05-07 Eli Zaretskii <eliz@gnu.org>
16575
16576 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16577 mailclient-send-it even if window-system is nil. (Bug#8595)
16578
16579 * term/w32console.el (terminal-init-w32console):
16580 Call get-screen-color and use its output to set the frame
16581 background-mode. (Bug#8597)
16582
16583 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16584
16585 Make bytecomp.el understand that defmethod defines funs (bug#8631).
16586 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16587 New functions.
16588 (defgeneric, eieio--defmethod): Use them.
16589 (eieio-defgeneric): Remove.
16590 (defmethod): Call defgeneric in a way visible to the byte-compiler.
16591
16592 2011-05-07 Glenn Morris <rgm@gnu.org>
16593
16594 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16595 Use let rather than let*.
16596 (timeclock-find-discrep): Remove unused local.
16597
16598 * calendar/diary-lib.el (diary-comment-start): Doc fix.
16599
16600 * calendar/appt.el (appt-time-msg-list): Doc fix.
16601
16602 2011-05-06 Noah Friedman <friedman@splode.com>
16603
16604 * apropos.el (apropos-print-doc): Only use
16605 emacs-lisp-docstring-fill-column when it is bound to an integer,
16606 per that variable's documentation.
16607
16608 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16609
16610 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16611 and warnings are not silently discarded (e.g. use -d instead of -P).
16612
16613 2011-05-06 Glenn Morris <rgm@gnu.org>
16614
16615 * calendar/appt.el (appt-message-warning-time): Doc fix.
16616 (appt-warning-time-regexp): New option.
16617 (appt-make-list): Respect appt-message-warning-time.
16618
16619 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16620 New options.
16621 (diary-add-to-list): Strip comments from the displayed string.
16622 (diary-mode): Set comment-start and comment-end.
16623
16624 * vc/diff-mode.el (smerge-refine-subst): Declare.
16625 (diff-refine-hunk): Don't require smerge-mode when compiling.
16626
16627 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
16628
16629 * simple.el (list-processes): Return nil as the docstring says.
16630
16631 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16632
16633 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16634 to "".
16635 (ange-ftp-write-region, ange-ftp-insert-file-contents)
16636 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16637 determining of binary transfer. (Bug#7383)
16638
16639 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
16640
16641 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16642 Fix port computation bug. (Bug#8618)
16643
16644 2011-05-05 Glenn Morris <rgm@gnu.org>
16645
16646 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16647
16648 * simple.el (shell-dynamic-complete-functions)
16649 (comint-dynamic-complete-functions): Declare.
16650
16651 * net/network-stream.el (gnutls-negotiate):
16652 * simple.el (tabulated-list-print): Fix declarations.
16653
16654 * progmodes/gud.el (syntax-symbol, syntax-point):
16655 Remove unnecessary and incorrect declarations.
16656
16657 * emacs-lisp/check-declare.el (check-declare-scan):
16658 Handle byte-compile-initial-macro-environment in bytecomp.el
16659
16660 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16661
16662 Fix earlier half-done eieio-defmethod change (bug#8338).
16663 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16664 Streamline and change calling convention.
16665 (defmethod): Adjust accordingly and simplify.
16666 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16667 new eieio--defmethod.
16668 (slot-boundp): Minor CSE simplification.
16669
16670 2011-05-05 Milan Zamazal <pdm@zamazal.org>
16671
16672 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16673 (glasses-make-readable): Use glasses-separate-capital-groups.
16674
16675 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
16676
16677 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16678 (warning-series): Doc fix.
16679 (display-warning): Don't try to create the buffer if we just found it.
16680
16681 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
16682
16683 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16684 (autoload-find-generated-file): New function.
16685 (generate-file-autoloads): Bind generated-autoload-file to
16686 buffer-file-name.
16687 (update-file-autoloads, update-directory-autoloads):
16688 Use autoload-find-generated-file. If called interactively, prompt for
16689 output file (Bug#7989).
16690 (batch-update-autoloads): Doc fix.
16691
16692 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
16693
16694 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16695
16696 2011-05-04 Glenn Morris <rgm@gnu.org>
16697
16698 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16699 function, so it follows changes in calendar-date-style.
16700 (diary-fancy-date-matcher): New function.
16701 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16702 (diary-fancy-font-lock-fontify-region-function):
16703 Use diary-fancy-date-pattern as a function.
16704
16705 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16706 non-numbers for `year' etc pseudo-variables. (Bug#8583)
16707
16708 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
16709
16710 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16711 instead of positional arguments. Allow :keylist and :crlfiles
16712 arguments.
16713 (open-gnutls-stream): Call it.
16714
16715 * net/network-stream.el (network-stream-open-starttls): Adjust to
16716 call `gnutls-negotiate' with :process and :hostname arguments.
16717
16718 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16719
16720 * minibuffer.el (completion--message): New function.
16721 (completion--do-completion, minibuffer-complete)
16722 (minibuffer-force-complete, minibuffer-complete-word): Use it.
16723 (completion--do-completion): Don't ignore completion-auto-help when in
16724 icomplete-mode.
16725
16726 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16727 internal encoding (e.g. tibetan zero is not whitespace).
16728 (global-whitespace-mode): Prefer save-current-buffer.
16729 (whitespace-trailing-regexp): Remove useless save-match-data.
16730 (whitespace-empty-at-bob-regexp): Minor simplification.
16731
16732 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
16733
16734 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16735
16736 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16737
16738 * textmodes/ispell.el (ispell-add-per-file-word-list):
16739 Use `concat' to create string for insertion.
16740
16741 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16742
16743 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16744 Avoid open-line which runs post-self-insert-hook.
16745 (bibtex-fill-entry): Remove unused `end' var.
16746
16747 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
16748
16749 * textmodes/ispell.el (ispell-add-per-file-word-list):
16750 Protect against `nil' value of `comment-start' (Bug#8579).
16751
16752 2011-05-03 Leo Liu <sdl.web@gmail.com>
16753
16754 * isearch.el (isearch-yank-pop): New command.
16755 (isearch-mode-map): Bind it to `M-y'.
16756 (isearch-forward): Mention it.
16757
16758 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
16759
16760 * simple.el (minibuffer-complete-shell-command): Remove.
16761 (minibuffer-local-shell-command-map): Use completion-at-point.
16762 (read-shell-command): Setup completion vars here instead.
16763 (read-expression-map): Bind TAB to symbol completion.
16764
16765 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16766 error directly rather via storing it into `results'.
16767
16768 2011-05-02 Leo Liu <sdl.web@gmail.com>
16769
16770 * vc/diff.el: Fix description.
16771
16772 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
16773
16774 * server.el (server-eval-at): New function.
16775
16776 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
16777
16778 * net/network-stream.el (open-network-stream): Take a :nowait
16779 parameter and pass it on to `make-network-process'.
16780 (network-stream-open-plain): Ditto.
16781
16782 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
16783
16784 * faces.el (face-spec-set-match-display): Don't match toolkit
16785 options on terminal frames.
16786
16787 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
16788
16789 * progmodes/pascal.el: Use lexical binding.
16790 (pascal-mode-map): Remove author preferences.
16791
16792 * pcomplete.el (pcomplete-std-complete): Don't abuse
16793 completion-at-point.
16794
16795 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16796
16797 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16798 removing code that has been dead since 1991 or so.
16799
16800 * startup.el (command-line): When warning about "_emacs", use a
16801 delayed warning to allow the user to filter it out.
16802
16803 2011-04-28 Deniz Dogan <deniz@dogan.se>
16804
16805 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16806 user has not joined.
16807
16808 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16809
16810 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16811 aren't any completions at point.
16812
16813 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
16814
16815 * subr.el (display-delayed-warnings): New function.
16816 (delayed-warnings-hook): New variable.
16817
16818 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
16819
16820 * minibuffer.el (completion-at-point, completion-help-at-point):
16821 Don't presume that a given completion-at-point-function will always
16822 use the same calling convention.
16823
16824 * pcomplete.el (pcomplete-completions-at-point):
16825 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
16826 pcomplete-seen is non-nil.
16827 (pcomplete-comint-setup): Also recognize the new comint/shell
16828 completion functions.
16829 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16830 pcomplete-seen is non-nil.
16831
16832 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
16833
16834 * calendar/icalendar.el (diary-lib): Add require statement.
16835 (icalendar--create-uid): Read out a uid from a text-property on
16836 the first character in the entry. This allows for code to add its
16837 own uid to the entry.
16838 (icalendar--convert-float-to-ical): Add export of
16839 `diary-float'-entries save for those with the optional DAY
16840 argument.
16841
16842 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
16843
16844 * subr.el (shell-quote-argument): Use alternate escaping strategy
16845 when we spot a variable reference in a string.
16846
16847 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16848
16849 * cus-start.el (all): Define customization for debug-on-event.
16850
16851 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
16852
16853 * subr.el (shell-quote-argument): Escape correctly under Windows.
16854
16855 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16856
16857 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16858
16859 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
16860
16861 * net/tramp.el (tramp-process-actions): Add POS argument.
16862 Delete region between POS and (pos).
16863
16864 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16865 Use `nil' position in `tramp-process-actions' call.
16866 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16867
16868 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16869 position in `tramp-process-actions' call.
16870
16871 * net/trampver.el: Update release number.
16872
16873 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16874
16875 * custom.el (defcustom): Obey lexical-binding.
16876
16877 Fix octave-inf completion problems reported by Alexander Klimov.
16878 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16879 Inherit from octave-mode-syntax-table.
16880 (inferior-octave-mode): Set info-lookup-mode.
16881 (inferior-octave-completion-at-point): New function.
16882 (inferior-octave-complete): Use it and completion-in-region.
16883 (inferior-octave-dynamic-complete-functions): Use it as well, and use
16884 comint-filename-completion.
16885 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16886 symbol elements which shouldn't be word elements.
16887 (octave-font-lock-keywords, octave-beginning-of-defun)
16888 (octave-function-header-regexp): Adjust regexps accordingly.
16889 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16890
16891 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
16892
16893 * net/gnutls.el (gnutls-errorp): Declare before first use.
16894
16895 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
16896
16897 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16898 verify-error, and verify-hostname-error parameters. Check whether
16899 default trustfile exists before going to use it. Add missing
16900 argument to gnutls-message-maybe call. Return value.
16901 Reported by Claudio Bley <claudio.bley@gmail.com>.
16902 (open-gnutls-stream): Add usage example.
16903
16904 * net/network-stream.el (network-stream-open-starttls): Give host
16905 parameter to `gnutls-negotiate'.
16906 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16907 * subr.el (shell-quote-argument): Escape correctly under Windows.
16908
16909 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
16910
16911 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16912 Use correct match group (bug#8438).
16913
16914 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16915
16916 * emacs-lisp/package.el (package-built-in-p): Fix typo.
16917 (package-menu--generate): New arg specifying packages to show.
16918 (package-menu-refresh, package-menu-execute, list-packages):
16919 Callers changed.
16920 (package-show-package-list): New function, replacing deleted
16921 package--list-packages (renamed because it is non-internal).
16922
16923 * finder.el (finder-list-matches): Use package-show-package-list
16924 instead of deleted package--list-packages.
16925
16926 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16927 Based on a previous implementation by Juanma Barranquero (Bug#8366).
16928 (vc-annotate-mode-map): Bind it to RET.
16929
16930 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
16931
16932 * progmodes/etags.el (next-file): Don't use set-buffer to change
16933 buffers (Bug#8478).
16934
16935 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
16936
16937 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16938
16939 * apropos.el (apropos-label-face): Avoid variable-pitch face.
16940 (apropos-accumulator): Doc fix.
16941 (apropos-function, apropos-macro, apropos-command)
16942 (apropos-variable, apropos-face, apropos-group, apropos-widget)
16943 (apropos-plist): Add face property.
16944 (apropos-symbols-internal): Fix indentation.
16945 (apropos-print): Simplify help, and recognize apropos-multi-type.
16946 (apropos-print-doc): Use button-type-get to extract the button's
16947 face property. Fill docstring (Bug#8352).
16948
16949 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
16950
16951 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16952
16953 * play/mpuz.el (mpuz-silent): Doc fix.
16954 (mpuz-mode-map): Use mapc.
16955 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16956 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16957 Fix typos in docstrings.
16958
16959 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16960 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16961
16962 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16963
16964 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
16965
16966 * minibuffer.el (completion--do-completion): Avoid the "Next char
16967 not unique" prompt if icomplete-mode is enabled (Bug#5849).
16968
16969 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16970 mouse-2 into unread-command-events, it is interpreted correctly.
16971
16972 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16973 (image-toggle-display): Doc fix.
16974
16975 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
16976
16977 * textmodes/page.el (what-page): Use line-number-at-pos to
16978 calculate line number (Bug#6825).
16979
16980 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16981
16982 * eshell/esh-mode.el (find-tag-interactive): Declare function.
16983 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16984 Pass argument NO-DEFAULT to `find-tag-interactive'.
16985
16986 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
16987
16988 Lexical-binding cleanup.
16989
16990 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16991 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16992 * progmodes/ada-prj.el (ada-prj-initialize-values)
16993 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16994 (ada-prj-show-value):
16995 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16996 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16997 (antlr-invalidate-context-cache, antlr-options-menu-filter)
16998 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16999 * progmodes/bug-reference.el (bug-reference-push-button):
17000 * progmodes/fortran.el (fortran-line-length):
17001 * progmodes/glasses.el (glasses-change):
17002 * progmodes/octave-mod.el (octave-fill-paragraph):
17003 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
17004 (python-pdbtrack-grub-for-buffer, python-sentinel):
17005 * progmodes/sql.el (sql-save-connection):
17006 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
17007 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
17008 Mark unused parameters.
17009
17010 * progmodes/compile.el (compilation--flush-directory-cache)
17011 (compilation--flush-parse, compile-internal): Mark unused parameters.
17012 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
17013 (compilation-next-error-function): Remove unused variable `timestamp'.
17014
17015 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
17016 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
17017
17018 * progmodes/dcl-mode.el (dcl-end-of-command):
17019 Remove unused variable `start'.
17020 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
17021 (dcl-option-value-basic, dcl-option-value-offset)
17022 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
17023 Mark unused parameters.
17024 (dcl-save-local-variable): Remove unused variable `val'.
17025 (mode): Declare.
17026
17027 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
17028 Mark unused parameters.
17029 (delphi-ignore-changes): Move before first use.
17030 (delphi-charset-token-at): Remove unused variable `start'.
17031 (delphi-else-start): Remove unused variable `if-count'.
17032 (delphi-comment-block-start, delphi-comment-block-end):
17033 Remove unused variable `kind'.
17034 (delphi-indent-line): Remove unused variable `new-point'.
17035
17036 * progmodes/ebrowse.el (ebrowse-files-list)
17037 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
17038 Mark unused parameters. Don't quote `lambda'.
17039 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
17040 Don't quote `lambda'.
17041 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
17042 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
17043 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
17044 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
17045 Use `ignore-errors'.
17046 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
17047 (ebrowse-view/find-file-and-search-pattern)
17048 (ebrowse-view/find-member-declaration/definition):
17049 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
17050 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
17051 Rename parameter PREFIX-ARG to PREFIX.
17052 (ebrowse-tags-read-name): Remove unused variables `start' and
17053 `member-info'.
17054 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
17055 to `tags-file'.
17056
17057 * progmodes/etags.el (local-find-tag-hook): Declare.
17058 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
17059 Mark unused parameters.
17060
17061 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
17062 (executable-interpret): Mark unused parameter.
17063
17064 * progmodes/flymake.el (flymake-process-sentinel)
17065 (flymake-after-change-function)
17066 (flymake-create-temp-with-folder-structure)
17067 (flymake-get-include-dirs-dot): Mark unused parameters.
17068 (flymake-safe-delete-directory): Remove unused variable `err'.
17069
17070 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
17071 (speedbar-timer-fn, speedbar-line-text)
17072 (speedbar-change-expand-button-char, speedbar-delete-subblock)
17073 (speedbar-center-buffer-smartly): Declare functions.
17074 (gdb-find-watch-expression): Remove unused variable `array'.
17075 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
17076 (gdb-starting): Mark unused parameters.
17077 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
17078 (gdb-table-string): Remove unused variable `res'.
17079 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
17080 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
17081 (gdb-display-buffer): Remove unused variable `cur-size'.
17082
17083 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
17084 allow lexical-binding compilation.
17085 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
17086 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
17087 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
17088 Mark unused parameters.
17089 (gud-gdb-marker-filter): Remove unused variable `match'.
17090 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
17091 lambda expressions and funcall them, instead of using `fset'.
17092
17093 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
17094 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
17095
17096 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
17097 variable `header-beg'; use `let'.
17098
17099 * progmodes/icon.el (indent-icon-exp): Remove unused variables
17100 `restart', `last-sexp' and `at-do'.
17101
17102 * progmodes/js.el (js--debug): Mark unused parameter.
17103 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
17104 (js--splice-into-items): Remove unused variable `item'.
17105 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
17106
17107 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
17108 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
17109 (makefile-complete): Remove unused variable `try'.
17110 (makefile-fill-paragraph, makefile-match-function-end):
17111 Mark unused parameters.
17112
17113 * progmodes/octave-inf.el (inferior-octave-complete):
17114 Remove unused variable `proc'.
17115 (inferior-octave-output-digest): Mark unused parameter.
17116
17117 * progmodes/perl-mode.el (perl-calculate-indent):
17118 Remove unused variable `err'.
17119
17120 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
17121 (prolog-indent-line): Mark unused parameters.
17122 (prolog-indent-line): Remove unused variable `beg'.
17123
17124 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
17125 (reporter-dont-compact-list): Declare.
17126
17127 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
17128 Remove unused variable `char'.
17129 (sh-debug): Mark unused parameter.
17130 (sh-get-indent-info): Remove unused variable `start'.
17131 (sh-calculate-indent): Remove unused variable `var'.
17132
17133 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
17134 (simula-electric-keyword): Remove unused variable `null'.
17135 (simula-search-backward, simula-search-forward): Remove unused
17136 variables `begin' and `end'.
17137
17138 * progmodes/vera-mode.el (vera-guess-basic-syntax):
17139 Remove unused variable `pos'.
17140 (vera-electric-tab, vera-comment-uncomment-region):
17141 Mark unused parameters.
17142 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
17143
17144 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
17145
17146 * emacs-lisp/package.el (package--builtins, package-alist)
17147 (package-load-descriptor, package-built-in-p, package-activate)
17148 (define-package, package-installed-p)
17149 (package-compute-transaction, package-buffer-info)
17150 (package--push): Doc fix. Distinguish more clearly between
17151 version strings and version lists.
17152
17153 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
17154
17155 Lexical-binding cleanup.
17156
17157 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
17158 (5x5-make-mutate-best):
17159 * play/fortune.el (fortune-in-buffer):
17160 * play/gomoku.el (gomoku-init-display):
17161 * play/solitaire.el (solitaire, solitaire-do-check):
17162 * play/tetris.el (tetris-default-update-speed-function):
17163 Mark unused parameters.
17164
17165 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
17166 (bubbles--shift): Remove unused variable `char-org'.
17167 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
17168 (bubbles--show-images): Remove unused variable `char'.
17169
17170 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
17171 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
17172 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
17173 (decipher-analyze-buffer): Use ?\s.
17174 (decipher-make-checkpoint): Remove unused variable `mapping'.
17175
17176 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
17177
17178 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
17179 Remove unused variable `result'; use `let'.
17180
17181 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
17182 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
17183 (gametree-children-shown-p, gametree-compute-reduced-score):
17184 Use `ignore-errors'.
17185
17186 * play/handwrite.el (ps-lpr-switches): Declare.
17187 (handwrite): Remove unused variables `pmin' and `lastp'.
17188
17189 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
17190
17191 * play/landmark.el (landmark-init-display)
17192 (landmark-update-naught-weights): Mark unused parameters.
17193 (landmark-y): Remove unused variable `noise'. Simplify.
17194 (landmark-human-plays): Remove unused variable `score'.
17195
17196 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
17197 (mpuz-try-proposal): Remove unused variable `game'.
17198
17199 * play/zone.el (life-patterns): Declare.
17200
17201 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
17202
17203 * vc/vc.el (ediff-vc-internal): Declare function.
17204
17205 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17206
17207 * shell.el: Use lexical-binding and std completion UI.
17208 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
17209 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
17210 comint-preoutput-filter-functions rather than on
17211 comint-output-filter-functions.
17212 (shell-command-completion, shell--command-completion-data)
17213 (shell-filename-completion, shell-environment-variable-completion)
17214 (shell-c-a-p-replace-by-expanded-directory): New functions.
17215 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
17216 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
17217 (shell-dynamic-complete-environment-variable): Use them.
17218 (shell-dynamic-complete-as-environment-variable)
17219 (shell-dynamic-complete-as-command): Remove.
17220 (shell-match-partial-variable): Match past point.
17221 * comint.el: Clean up use of completion-at-point-functions.
17222 (comint-completion-at-point): New function.
17223 (comint-mode): Use it completion-at-point-functions.
17224 (comint-dynamic-complete): Make it obsolete.
17225 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
17226 (comint-c-a-p-replace-by-expanded-history): New function.
17227 (comint-dynamic-complete-functions)
17228 (comint-replace-by-expanded-history): Use it.
17229 * minibuffer.el (completion-table-with-terminator): Allow dynamic
17230 termination strings. Try harder to avoid second try-completion.
17231 (completion-in-region-mode-map): Disable bindings that don't work yet.
17232
17233 * comint.el: Use lexical-binding. Require CL.
17234 (comint-dynamic-complete-functions): Use comint-filename-completion.
17235 (comint-completion-addsuffix): Tweak custom type.
17236 (comint-filename-completion, comint--common-suffix)
17237 (comint--common-quoted-suffix, comint--table-subvert)
17238 (comint--complete-file-name-data): New functions.
17239 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
17240 (comint-dynamic-list-filename-completions): Use them.
17241 (comint-dynamic-simple-complete): Make obsolete.
17242
17243 * minibuffer.el (completion-in-region-mode):
17244 Keep completion-in-region-mode--predicate global.
17245 (completion-in-region--postch):
17246 Assume completion-in-region-mode--predicate is not null.
17247
17248 * progmodes/flymake.el (flymake-start-syntax-check-process):
17249 Obey `dir'. Simplify.
17250
17251 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
17252 we're in VC after all.
17253
17254 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
17255
17256 * vc/vc.el (vc-diff-build-argument-list-internal)
17257 (vc-version-ediff, vc-ediff): New commands.
17258 (vc-version-diff): Use vc-diff-build-argument-list-internal.
17259
17260 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
17261
17262 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
17263 add sanity check.
17264
17265 * obsolete/erc-hecomplete.el: Make obsolete.
17266 * obsolete/: Standardize obsolescence info in the header.
17267
17268 2011-04-20 Glenn Morris <rgm@gnu.org>
17269
17270 * calendar/solar.el (solar-horizontal-coordinates):
17271 Use the longitude argument rather than `calendar-longitude'.
17272 (solar-date-next-longitude): Remove unused locals.
17273
17274 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17275
17276 * whitespace.el: New version 13.2.1.
17277
17278 2011-04-20 felix <EmacsWiki> (tiny change)
17279
17280 * whitespace.el (global-whitespace-mode): Keep highlight when
17281 switching between major modes on a file.
17282
17283 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
17284
17285 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
17286 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
17287 multi-line comments as well.
17288
17289 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
17290
17291 Lexical-binding cleanup.
17292
17293 * arc-mode.el (archive-mode-revert):
17294 * cmuscheme.el (scheme-interactively-start-process):
17295 * custom.el (custom-initialize-delay):
17296 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
17297 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
17298 * emacs-lock.el (emacs-lock-clear-sentinel):
17299 * ezimage.el (defezimage):
17300 * follow.el (follow-avoid-tail-recenter):
17301 * fringe.el (set-fringe-mode-1):
17302 * generic-x.el (bat-generic-mode-compile):
17303 * help-mode.el (help-info-variable, help-do-xref)
17304 (help-mode-revert-buffer):
17305 * help.el (view-emacs-todo):
17306 * iswitchb.el (iswitchb-completion-help):
17307 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
17308 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
17309 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
17310 * locate.el (locate-update):
17311 * longlines.el (longlines-encode-region)
17312 (longlines-after-change-function):
17313 * outline.el (outline-isearch-open-invisible):
17314 * ps-def.el (declare-function, charset-dimension, char-width)
17315 (encode-char):
17316 * ps-mule.el (ps-mule-plot-string):
17317 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
17318 (recentf-edit-list-select, recentf-edit-list-validate)
17319 (recentf-open-files-action):
17320 * rect.el (delete-whitespace-rectangle-line)
17321 (rectangle-number-line-callback):
17322 * register.el (window-configuration-to-register)
17323 (frame-configuration-to-register):
17324 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
17325 * select.el (xselect-convert-to-string, xselect-convert-to-length)
17326 (xselect-convert-to-targets, xselect-convert-to-delete)
17327 (xselect-convert-to-filename, xselect-convert-to-charpos)
17328 (xselect-convert-to-lineno, xselect-convert-to-colno)
17329 (xselect-convert-to-os, xselect-convert-to-host)
17330 (xselect-convert-to-user, xselect-convert-to-class)
17331 (xselect-convert-to-name, xselect-convert-to-integer)
17332 (xselect-convert-to-atom, xselect-convert-to-identity):
17333 * subr.el (declare, ignore, process-kill-without-query)
17334 (text-clone-maintain):
17335 * terminal.el (te-get-char, te-tic-sentinel):
17336 * tool-bar.el (tool-bar-make-keymap):
17337 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
17338 * type-break.el (type-break-mode, type-break-noninteractive-query):
17339 * view.el (View-back-to-mark):
17340 * wid-browse.el (widget-browse-action, widget-browse-widget)
17341 (widget-browse-widgets, widget-browse-sexp):
17342 * widget.el (define-widget-keywords):
17343 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
17344 Mark unused parameters.
17345
17346 * align.el (align-adjust-col-for-rule): Mark unused parameter.
17347 (align-areas): Remove unused variable `look'.
17348 (align-region): Remove unused variables `real-end' and `pos-list'.
17349
17350 * apropos.el (apropos-score-doc): Remove unused variable `i'.
17351
17352 * bindings.el (mode-line-modified, mode-line-remote):
17353 Mark unused parameters.
17354 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
17355
17356 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
17357 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
17358
17359 * comint.el (comint-history-isearch-pop-state)
17360 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
17361 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
17362 (comint-substitute-in-file-name): Doc fix.
17363
17364 * completion.el (cmpl-statistics-block): Mark unused parameter.
17365 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
17366 (save-completions-to-file, load-completions-from-file):
17367 Remove unused local variable `e'.
17368
17369 * composite.el (compose-chars): Remove unused variable `len'.
17370 (lgstring-insert-glyph): Remove unused variable `g'.
17371 (compose-glyph-string): Remove unused variables `ascent',
17372 `descent', `lbearing' and `rbearing'.
17373 (compose-glyph-string-relative): Remove unused variables
17374 `lbearing', `rbearing' and `wadjust'.
17375 (compose-gstring-for-graphic): Remove unused variables `header',
17376 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
17377 (compose-gstring-for-terminal): Remove unused variables `header'
17378 and `nchars'. Use `let', not `let*'.
17379
17380 * cus-edit.el (Custom-set, Custom-save, custom-reset)
17381 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
17382 (Custom-buffer-done, custom-buffer-create-internal)
17383 (custom-browse-visibility-action, custom-browse-group-tag-action)
17384 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
17385 (widget-magic-mouse-down-action, custom-toggle-parent)
17386 (custom-add-parent-links, custom-toggle-hide-variable)
17387 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
17388 (custom-toggle-hide-face, face, hook, custom-group-link-action)
17389 (custom-face-menu-create, custom-variable-menu-create, get)
17390 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
17391 (custom-reset-standard-save-and-update): Remove unused variable `value'.
17392 (customize-apropos): Remove unused variable `tests'.
17393 (custom-group-value-create): Remove unused variable `hidden-p'.
17394 (sort-fold-case): Declare.
17395
17396 * cus-theme.el (custom-reset-standard-faces-list)
17397 (custom-reset-standard-variables-list): Declare.
17398 (customize-create-theme, custom-theme-revert, custom-theme-write)
17399 (custom-theme-choose-mode, customize-themes, custom-theme-save):
17400 Mark unused parameters.
17401
17402 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
17403
17404 * delim-col.el (delimit-columns-max): Move defvar before first use.
17405
17406 * descr-text.el (describe-char-categories): Don't quote `lambda'.
17407 (describe-char): Don't quote `lambda'. Mark unused parameter.
17408
17409 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
17410 (auto-insert): Declare.
17411 (desktop-restore-file-buffer): Rename desktop-* parameters;
17412 mark unused ones.
17413 (desktop-create-buffer): Rename desktop-* parameters and bind them.
17414 (desktop-buffer): Rename desktop-* parameters.
17415
17416 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
17417 (dframe-reposition-frame-xemacs, dframe-help-echo)
17418 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
17419 Mark unused parameters.
17420
17421 * dired-aux.el (backup-extract-version-start, overwrite-query)
17422 (overwrite-backup-query, rename-regexp-query)
17423 (rename-non-directory-query): Declare.
17424 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
17425 (dired-add-entry): Remove unused variable `orig-file-name'.
17426 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
17427 Use parameter PRESERVE-TIME instead of accessing dynamic variable
17428 `dired-copy-preserve-time' directly.
17429 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
17430 (dired-insert-subdir-newpos): Rename unused variable `pos'.
17431
17432 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
17433 (dired-virtual-revert, dired-make-relative-symlink):
17434 Mark unused parameters.
17435 (manual-program): Declare.
17436 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
17437 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
17438 wrapped in `with-no-warnings' to avoid replacing one warning by another.
17439
17440 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
17441
17442 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
17443
17444 * echistory.el (electric-history-in-progress, Helper-return-blurb):
17445 Declare.
17446
17447 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
17448
17449 * electric.el (Electric-command-loop): Rename parameter
17450 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
17451
17452 * expand.el (expand-in-literal): Remove unused variable `here'.
17453
17454 * facemenu.el (facemenu-add-new-color):
17455 Remove unused variable `docstring'.
17456
17457 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17458 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17459 (face-attr-construct): Mark unused parameter. Doc fix.
17460 (read-color): Remove unused variable `hex-string'.
17461
17462 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17463 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17464 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17465 (display-buffer-other-frame): Remove unused variable `old-window'.
17466 (kill-buffer-hook): Declare.
17467 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17468 Mark unused parameters.
17469 (after-find-file): Pass 1 to `auto-save-mode', not t.
17470
17471 * files-x.el (auto-insert): Declare.
17472 (modify-file-local-variable-prop-line): Remove unused variable `val'.
17473
17474 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17475 variable `buf'. Mark unused parameter.
17476 (find-lisp-insert-directory): Mark unused parameter.
17477
17478 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17479 (format-encode-region): Remove unused variables `cur-buf' and `result'.
17480 (format-common-tail): Remove, unused.
17481 (format-deannotate-region): Remove unused variable `loc'.
17482 (format-annotate-region): Remove unused variable `p'.
17483 (format-annotate-single-property-change): Remove unused variables
17484 `default' and `tail'.
17485
17486 * forms.el (read-file-filter): Declare.
17487 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17488
17489 * frame.el (frame-creation-function-alist): Mark unused parameter.
17490 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17491
17492 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17493 Remove unused parameters.
17494 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17495 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17496
17497 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17498 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17499 (hfy-prepare-tag-map): Mark unused parameters.
17500 (htmlfontify-buffer): Use `called-interactively-p'.
17501
17502 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17503 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17504 (ibuffer-do-occur): Mark unused parameters.
17505 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17506 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17507
17508 * ibuffer.el: Don't quote `lambda'.
17509 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17510 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17511 Mark unused parameters.
17512
17513 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17514 (ido-completing-read): Mark unused parameters.
17515 (ido-copy-current-word): Mark unused parameters;
17516 remove unused variable `name'.
17517 (ido-sort-merged-list): Remove unused parameter `dirs'.
17518
17519 * ielm.el (ielm-input-sender): Mark unused parameter.
17520 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17521 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17522 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17523 `ielm-string' as a dynamic variable accessible from the IELM prompt.
17524 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
17525
17526 * image-dired.el (image-dired-display-thumbs): Remove unused
17527 variables `curr-file' and `count'.
17528 (image-dired-remove-tag): Remove unused variable `start'.
17529 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17530 variable `curr-file'
17531 (image-dired-rotate-original): Remove unused variable `temp-file'.
17532 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17533 Remove unused variable `file'.
17534 (image-dired-gallery-generate): Remove unused variable `curr'.
17535 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17536
17537 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17538
17539 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17540
17541 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17542
17543 * isearch.el (minibuffer-history-symbol): Declare.
17544 (isearch-edit-string): Remove unused variable `err'.
17545 (isearch-message-prefix, isearch-message-suffix):
17546 Mark unused parameters.
17547
17548 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17549
17550 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17551
17552 * makesum.el (double-column): Remove unused variable `cnt'.
17553
17554 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17555 (ido-ignore-item-temp-list): Declare.
17556
17557 * mouse-drag.el (mouse-drag-throw): Remove unused variables
17558 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17559 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17560 (mouse-drag-drag): Remove unused variables `mouse-delta' and
17561 `mouse-col-delta'.
17562
17563 * mouse-sel.el (mouse-extend-internal):
17564 Remove unused variable `orig-window-frame'.
17565
17566 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17567 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17568 Move declarations before first use.
17569 (pcomplete-opt): Mark unused parameters; doc fix.
17570
17571 * proced.el (proced-revert): Mark unused parameter.
17572 (proced-send-signal): Remove unused variable `err'.
17573
17574 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17575 Rename parameter PREFIX-ARG to ARG.
17576 (ps-basic-plot-string, ps-basic-plot-whitespace):
17577 Mark unused parameters.
17578
17579 * replace.el (replace-count): Define.
17580 (occur-revert-function): Mark unused parameters.
17581 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17582 (isearch-case-fold-search, isearch-string): Declare.
17583 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17584 bind `case-fold-search'. Remove unused variables `beg' and `end',
17585 and simplify.
17586 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17587 COUNT and bind `replace-count'.
17588 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17589 to COUNT.
17590
17591 * savehist.el (print-readably, print-string-length): Declare.
17592
17593 * shadowfile.el (shadow-expand-cluster-in-file-name):
17594 Remove unused variable `cluster'.
17595 (shadow-copy-file): Remove unused variable `i'.
17596 (shadow-noquery, shadow-clusters, shadow-site-cluster)
17597 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17598 (shadow-define-literal-group, shadow-define-regexp-group)
17599 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17600
17601 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17602 (shell): Use `called-interactively-p'.
17603 (shell-directory-tracker): Remove unused variable `chdir-failure'.
17604
17605 * simple.el (compilation-context-lines, comint-file-name-quote-list)
17606 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17607 (delete-backward-char): Remove unused variable `ocol'.
17608 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17609 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17610 (event-apply-hyper-modifier, event-apply-shift-modifier)
17611 (event-apply-control-modifier, event-apply-meta-modifier):
17612 Mark unused parameters.
17613 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17614 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17615
17616 * speedbar.el (speedbar-ignored-directory-expressions)
17617 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17618 (speedbar-find-file, speedbar-dir-follow)
17619 (speedbar-directory-buttons-follow, speedbar-tag-find)
17620 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17621 (speedbar-buffers-line-directory, speedbar-buffer-click):
17622 Mark unused parameters.
17623 (speedbar-tag-file): Remove unused variable `mode'.
17624 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17625
17626 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17627
17628 * talk.el (talk): Remove unused variable `display'.
17629
17630 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17631 (tar-write-region-annotate): Mark unused parameter.
17632
17633 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17634 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17635 Declare them, wrapped in `with-no-warnings' to avoid replacing one
17636 warning by another.
17637
17638 * time-stamp.el (time-stamp-string-preprocess):
17639 Remove unused variable `require-padding'.
17640
17641 * tree-widget.el (widget-glyph-enable): Declare.
17642 (tree-widget-action): Mark unused parameter.
17643
17644 * w32-fns.el (x-get-selection): Mark unused parameter.
17645 (autoload-make-program, generated-autoload-file): Declare.
17646
17647 * wdired.el (wdired-revert): Mark unused parameters.
17648 (wdired-xcase-word): Remove unused variable `err'.
17649
17650 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17651 (whitespace-help-scroll): Remove unused variable `data-help'.
17652
17653 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17654 (widget-image-insert, widget-after-change, default)
17655 (widget-default-format-handler, widget-default-notify)
17656 (widget-default-prompt-value, widget-info-link-action)
17657 (widget-url-link-action, widget-function-link-action)
17658 (widget-variable-link-action, widget-file-link-action)
17659 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17660 (widget-field-prompt-internal, widget-field-action, widget-field-match)
17661 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17662 (widget-insert-button-action, widget-delete-button-action, visibility)
17663 (widget-documentation-link-action, widget-documentation-string-action)
17664 (widget-const-prompt-value, widget-regexp-match, symbol)
17665 (widget-coding-system-prompt-value)
17666 (widget-key-sequence-value-to-external, sexp)
17667 (widget-sexp-value-to-internal, character, vector, cons)
17668 (widget-choice-prompt-value, widget-boolean-prompt-value)
17669 (widget-color--choose-action): Mark unused parameters.
17670 (widget-item-match-inline, widget-choice-match-inline)
17671 (widget-checklist-match, widget-checklist-match-inline)
17672 (widget-group-match): Rename parameter VALUES to VALS.
17673 (widget-field-value-set): Remove unused variable `size'.
17674 (widget-color-action): Remove unused variables `value' and `start'.
17675
17676 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17677 variable `dir'. Doc fix.
17678 (windmove-find-other-window): Don't pass it.
17679
17680 * window.el (count-windows): Mark unused parameter.
17681 (bw-adjust-window): Remove unused variable `err'.
17682
17683 * woman.el (woman-file-name): Remove unused variable `default'.
17684 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17685 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17686 (global-font-lock-mode): Declare.
17687 (woman-decode-region): Mark unused parameter.
17688 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17689
17690 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17691 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17692 (x-dnd-handle-moz-url): Remove unused variable `title'.
17693 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17694
17695 * xml.el (xml-parse-tag, xml-parse-attlist):
17696 Remove unused variable `pos'.
17697
17698 2011-04-19 Glenn Morris <rgm@gnu.org>
17699
17700 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17701 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17702 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17703 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17704 * calendar/cal-html.el (cal-html-insert-minical):
17705 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17706 (calendar-mark-date-pattern):
17707 Prefix "unused" locals.
17708
17709 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17710 optional argument `style'.
17711
17712 * calendar/appt.el (appt-make-list):
17713 * calendar/cal-china.el (calendar-chinese-date-string):
17714 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17715 (diary-hebrew-yahrzeit):
17716 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17717 * calendar/calendar.el (calendar-generate-window):
17718 * calendar/time-date.el (time-to-days):
17719 Remove unused local variables.
17720
17721 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
17722
17723 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17724 glyphless-char-display table.
17725 (tabulated-list-glyphless-char-display): New var.
17726
17727 2011-04-18 Sam Steingold <sds@gnu.org>
17728
17729 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17730 to acknowledgments.
17731
17732 2011-04-17 Glenn Morris <rgm@gnu.org>
17733
17734 * calendar/diary-lib.el (diary-sexp-entry):
17735 * calendar/holidays.el (holiday-sexp):
17736 Set debug-on-error rather than the removed stack-trace-on-error.
17737
17738 2011-04-16 Glenn Morris <rgm@gnu.org>
17739
17740 * progmodes/f90.el: Use lexical-binding.
17741 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17742
17743 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17744
17745 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17746 (mail-mode): Setup mailalias completion here instead.
17747 * mail/mailalias.el: Use lexical-binding.
17748 (pattern, mailalias-done): Declare dynamic.
17749 (mail-completion-at-point-function): New function, from mail-complete.
17750 (mail-complete): Use it.
17751 (mail-completion-expand): New function.
17752 (mail-get-names): Use it.
17753 (mail-directory, mail-directory-process, mail-directory-stream):
17754 Don't use `pattern' for lexically bound arg.
17755
17756 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17757
17758 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17759 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17760 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17761
17762 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17763 (byte-save-window-excursion, byte-temp-output-buffer-setup)
17764 (byte-interactive-p): Define them again, for use when inlining
17765 old code.
17766
17767 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
17768
17769 * loadup.el: Use `string-to-number', not `string-to-int'.
17770
17771 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
17772
17773 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17774 gud-gdb-complete-command.
17775 (gud-gdb-completions): New function, from gud-gdb-complete-command.
17776 (gud-gdb-completion-at-point): New function.
17777 (gud-gdb-completions): Remove.
17778
17779 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
17780
17781 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17782 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
17783 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17784 whether `executable-find' is bound.
17785
17786 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17787
17788 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17789
17790 * minibuffer.el (completion-in-region-mode-predicate)
17791 (completion-in-region-mode--predicate): New vars.
17792 (completion-in-region, completion-in-region--postch)
17793 (completion-in-region-mode): Use them.
17794 (completion--capf-wrapper): Also return the hook function.
17795 (completion-at-point, completion-help-at-point):
17796 Adjust and provide a predicate.
17797
17798 Preserve arg names for advice of subr and lexical functions (bug#8457).
17799 * help-fns.el (help-function-arglist): Consolidate the subr and
17800 new-byte-code cases. Add argument `preserve-names' to extract names
17801 from the docstring when needed.
17802 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17803 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17804 (ad-arglist): Use help-function-arglist's new arg.
17805 (ad-definition-type): Use cond.
17806
17807 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
17808
17809 * autorevert.el (auto-revert-handler):
17810 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17811 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17812 Don't quote lambda.
17813
17814 * image-mode.el (image-transform-set-scale):
17815 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17816
17817 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
17818
17819 * net/network-stream.el (network-stream-open-starttls): Only do
17820 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17821 Upgrades via gnutls-cli are too slow to be done opportunistically.
17822
17823 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
17824
17825 * dframe.el (dframe-current-frame): Remove spurious quote.
17826
17827 2011-04-12 Glenn Morris <rgm@gnu.org>
17828
17829 * calendar/cal-tex.el (cal-tex-end-document):
17830 Try to automatically use latin1 input if needed.
17831
17832 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17833 Don't try to cons a mark onto an empty element.
17834
17835 2011-04-11 Leo Liu <sdl.web@gmail.com>
17836
17837 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17838 buffers.
17839 (ido-kill-buffer-at-head): Support killing virtual buffers.
17840
17841 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
17842
17843 * minibuffer.el (completion-show-inline-help): New var.
17844 (completion--do-completion, minibuffer-complete)
17845 (minibuffer-force-complete, minibuffer-complete-word):
17846 Inhibit minibuffer messages if completion-show-inline-help is nil.
17847
17848 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17849 to avoid interference from inline help (Bug#5849).
17850
17851 2011-04-10 Leo Liu <sdl.web@gmail.com>
17852
17853 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17854 Fix typo.
17855
17856 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
17857
17858 * image-mode.el (image-toggle-display-image): Signal an error if
17859 not in Image mode.
17860 (image-transform-mode, image-transform-resize)
17861 (image-transform-set-rotation): Doc fix.
17862 (image-transform-set-resize): Delete.
17863 (image-transform-set-scale, image-transform-fit-to-height)
17864 (image-transform-fit-to-width): Handle image-toggle-display-image
17865 and image-transform-resize directly.
17866
17867 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
17868
17869 * doc-view.el (doc-view-fit-width-to-window)
17870 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17871 New functions for fitting the shown image to the Emacs window size.
17872 (doc-view-mode-map): Add bindings for the new functions.
17873
17874 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
17875
17876 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17877 Fix typo in docstring.
17878
17879 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17880
17881 * files.el (file-size-human-readable): Produce one digit after
17882 decimal, like "ls -lh" does.
17883
17884 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17885 the file size representation.
17886
17887 * simple.el (list-processes): If async subprocesses are not
17888 available, error out with a clear error message.
17889
17890 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
17891
17892 * help.el (help-form-show): New function, to be called from C.
17893 Put help-form output in a buffer named differently than *Help*.
17894
17895 2011-04-08 Eli Zaretskii <eliz@gnu.org>
17896
17897 * files.el (file-size-human-readable): New function.
17898
17899 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17900 computing the representation inline. Don't require `cl'.
17901
17902 2011-04-08 Glenn Morris <rgm@gnu.org>
17903
17904 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17905
17906 * net/browse-url.el (browse-url-firefox):
17907 Test system-type, not system-configuration.
17908
17909 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17910 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17911 Use log-edit-empty-buffer-p. (Bug#7598)
17912
17913 * net/rlogin.el (rlogin-process-connection-type): Simplify.
17914 (rlogin-mode-map): Initialize in the defvar.
17915 (rlogin): Use ignore-errors.
17916
17917 * replace.el (occur-mode-map): Some fixes for menu items.
17918
17919 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
17920
17921 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
17922
17923 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17924
17925 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17926 issuing unused warnings.
17927
17928 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17929 macro directly.
17930
17931 * simple.el: Lisp reimplement of list-processes. Based on an
17932 earlier reimplementation by Leo Liu, but using tabulated-list.el.
17933 (process-menu-mode): New major mode.
17934 (list-processes--refresh, list-processes):
17935 (process-menu-visit-buffer): New functions.
17936
17937 * files.el (save-buffers-kill-emacs): Don't assume any return
17938 value of list-processes, which is undocumented anyway.
17939
17940 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
17941
17942 * emacs-lisp/tabulated-list.el: New file.
17943
17944 * emacs-lisp/package.el: Use Tabulated List mode.
17945 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17946 (package-menu-mode): Derive from tabulated-list-mode. Set up the
17947 table format using Tabulated List mode variables.
17948 (package--push): New macro, replacing package-list-maybe-add.
17949 (package-menu--generate): Use package--push. Renamed from
17950 package--generate-package-list.
17951 (package-menu-refresh, list-packages): Use it.
17952 (package-menu--print-info): Rename from package-print-package.
17953 Return insertion data instead of inserting it directly.
17954 (package-menu-describe-package, package-menu-execute):
17955 Use tabulated-list-get-id.
17956 (package-menu-mark-delete, package-menu-mark-install)
17957 (package-menu-mark-unmark, package-menu-backup-unmark)
17958 (package-menu-mark-obsolete-for-deletion):
17959 Use tabulated-list-put-tag.
17960 (package--list-packages, package-menu-revert)
17961 (package-menu-get-package, package-menu-get-version)
17962 (package-menu-sort-by-column): Functions deleted.
17963 (package-menu-package-list, package-menu-sort-key): Vars deleted.
17964 (package-menu--status-predicate, package-menu--version-predicate)
17965 (package-menu--name-predicate)
17966 (package-menu--description-predicate): Handle arguments in the
17967 Tabulated List format.
17968 (package-list-packages-no-fetch): Call list-packages.
17969
17970 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
17971
17972 * files.el (after-find-file-from-revert-buffer): Remove variable.
17973 (after-find-file): Don't bind it.
17974 (revert-buffer-in-progress-p): New variable.
17975 (revert-buffer): Bind it.
17976 Pass nil for `after-find-file-from-revert-buffer'.
17977
17978 * saveplace.el (save-place-find-file-hook): Use new variable
17979 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17980
17981 2011-04-06 Glenn Morris <rgm@gnu.org>
17982
17983 * Makefile.in (AUTOGEN_VCS): New variable.
17984 (autoloads): Use $AUTOGEN_VCS.
17985
17986 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17987 * calendar/calendar.el (calendar-mode-map):
17988 Check for toolkit scroll bars. (Bug#8305)
17989
17990 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
17991
17992 * minibuffer.el (completion-in-region--postch)
17993 (completion-in-region-mode): Remove unnecessary messages.
17994
17995 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
17996
17997 * font-lock.el (font-lock-refresh-defaults):
17998 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17999 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
18000
18001 * info.el (Info-directory-list, Info-read-node-name-2)
18002 (Info-split-parameter-string): Doc fixes.
18003 (Info-virtual-nodes): Reflow docstring.
18004 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
18005 (Info-apropos-toc-nodes, info-finder, Info-get-token)
18006 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
18007 Fix typos in docstrings.
18008 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
18009 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
18010 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
18011 (Info-restore-desktop-buffer): Mark unused parameters.
18012 (Info-directory-find-file, Info-directory-find-node)
18013 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
18014 (Info-virtual-index-find-node, Info-apropos-find-file)
18015 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
18016 Mark unused parameters; fix typos in docstrings.
18017 (Info-virtual-index): Remove unused local variable `nodename'.
18018
18019 2011-04-05 Deniz Dogan <deniz@dogan.se>
18020
18021 * net/rcirc.el: Update my e-mail address.
18022 (rcirc-mode-map): Remove M-o binding.
18023
18024 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
18025
18026 * startup.el (command-line): Save the cursor's theme-face
18027 directly, instead of using face-override-spec.
18028
18029 * custom.el (load-theme): Minor optimization in assigning faces.
18030
18031 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18032
18033 * help-fns.el (describe-variable): Complete all variables having
18034 documentation, including keywords.
18035 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
18036
18037 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
18038
18039 Convert to lexical-binding.
18040
18041 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
18042 (bs--get-marked-string, bs--get-modified-string)
18043 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
18044 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
18045 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
18046
18047 * ehelp.el (electric-help-execute-extended)
18048 (electric-help-ctrl-x-prefix):
18049 * hexl.el (hexl-revert-buffer-function):
18050 * linum.el (linum-after-change, linum-after-scroll):
18051 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
18052
18053 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
18054
18055 2011-04-04 Daiki Ueno <ueno@unixuser.org>
18056
18057 * epa-dired.el:
18058 * epa-mail.el:
18059 * epa-hook.el:
18060 * epa-file.el:
18061 * epa.el:
18062 * epg.el: Use lexical binding.
18063
18064 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
18065
18066 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
18067
18068 * textmodes/flyspell.el (flyspell-word): Recognize default
18069 dictionary case for flyspell-mark-duplications-exceptions.
18070 Use regexp matching for languages.
18071 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
18072 default dictionary (Bug#7926).
18073
18074 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
18075
18076 * emacs-lisp/package.el (package--with-work-buffer):
18077 Recognize https URLs.
18078
18079 * net/network-stream.el: Move from gnus/proto-stream.el.
18080 Change prefix to network-stream throughout.
18081 (open-protocol-stream): Merge into open-network-stream, leaving
18082 open-protocol-stream as an alias. Handle nil BUFFER args.
18083
18084 * subr.el (open-network-stream): Move to net/network-stream.el.
18085
18086 2011-04-02 Glenn Morris <rgm@gnu.org>
18087
18088 * find-dired.el (find-exec-terminator): New option.
18089 (find-ls-option): Test for -ls support.
18090 (find-ls-subdir-switches): Test for -b in find-ls-option.
18091 (find-dired, find-grep-dired): Doc fixes.
18092 (find-dired): Use find-exec-terminator.
18093
18094 * find-dired.el (find-ls-option, find-ls-subdir-switches)
18095 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
18096 (find-name-arg): Remove purecopy.
18097
18098 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
18099 (grep-compute-defaults): Check for `-exec COMMAND +' support.
18100 Set grep-find-use-xargs, grep-find-command, and grep-find-template
18101 accordingly. Don't add the null-device if not needed.
18102
18103 * files.el (save-some-buffers): Doc fix.
18104
18105 2011-04-02 Eli Zaretskii <eliz@gnu.org>
18106
18107 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
18108
18109 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
18112 Use `dolist' rather than `mapcar'.
18113
18114 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
18115
18116 Add lexical binding.
18117
18118 * subr.el (apply-partially): Use new closures rather than CL.
18119 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
18120 (dolist, dotimes): Use slightly different expansion for lexical code.
18121 (functionp): Move to C.
18122 (letrec): New macro.
18123 (with-wrapper-hook): Use it and apply-partially instead of CL.
18124 (eval-after-load): Preserve lexical-binding.
18125 (save-window-excursion, with-output-to-temp-buffer): Turn them
18126 into macros.
18127
18128 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
18129
18130 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
18131 than the arglist.
18132 (help-add-fundoc-usage): Don't add `Not documented'.
18133 (help-function-arglist): Handle closures, subroutines, and new
18134 byte-code-functions.
18135 (help-make-usage): Remove leading underscores.
18136 (describe-function-1): Handle closures.
18137 (describe-variable): Use special-variable-p for completion.
18138
18139 * files.el (lexical-binding): Declare safe.
18140
18141 * emacs-lisp/pcase.el: Don't use destructuring-bind.
18142 (pcase--memoize): Rename from pcase-memoize. Change weakness.
18143 (pcase): Add `let' pattern.
18144 Change memoization so it actually works.
18145 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
18146 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
18147 <let>: New case.
18148
18149 * emacs-lisp/macroexp.el: Use lexical binding.
18150 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
18151 Don't convert ' to #' without checking that it's indeed quoting
18152 a lambda.
18153
18154 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
18155 Use eval-sexp-add-defvars.
18156 (eval-sexp-add-defvars): New fun.
18157
18158 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
18159
18160 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
18161 Don't autoload.
18162 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
18163 than the internal `byte-compile-lambda'.
18164 (defmethod): Don't hide code under quotes.
18165 (eieio-defmethod): New `code' argument.
18166
18167 * emacs-lisp/eieio-comp.el: Remove.
18168
18169 * emacs-lisp/edebug.el (edebug-eval-defun)
18170 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
18171 (edebug-toggle): Avoid `eval'.
18172
18173 * emacs-lisp/disass.el (disassemble-internal): Handle new
18174 `closure' objects.
18175 (disassemble-1): Handle new byte codes.
18176
18177 * emacs-lisp/cl.el (pushnew): Silence warning.
18178
18179 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
18180 (cl-byte-compile-throw): Remove.
18181 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
18182
18183 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
18184 closures.
18185
18186 * emacs-lisp/cconv.el: New file.
18187
18188 * emacs-lisp/bytecomp.el: Use lexical binding instead of
18189 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
18190 (byte-compile-initial-macro-environment):
18191 Handle declare-function here.
18192 (byte-compile--lexical-environment): New var.
18193 (byte-stack-ref, byte-stack-set, byte-discardN)
18194 (byte-discardN-preserve-tos): New lap codes.
18195 (byte-interactive-p): Don't use any more.
18196 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
18197 New macros.
18198 (byte-compile-lapcode): Use them and handle new lap codes.
18199 (byte-compile-obsolete): Remove.
18200 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
18201 (byte-compile-arglist-warn): Check late def of inlinable funs.
18202 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
18203 since they should have been expanded by now.
18204 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
18205 (byte-compile-from-buffer): Remove unused second arg.
18206 (byte-compile-preprocess): New function.
18207 (byte-compile-toplevel-file-form): New function to distinguish
18208 file-form calls from outside from file-form calls from hunk-handlers.
18209 (byte-compile-file-form): Simplify.
18210 (byte-compile-file-form-defsubst): Remove.
18211 (byte-compile-file-form-defmumble): Simplify now that
18212 byte-compile-lambda always returns a byte-code-function.
18213 (byte-compile): Preprocess.
18214 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
18215 Remove, not used any more.
18216 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
18217 (byte-compile-make-args-desc): New funs.
18218 (byte-compile-lambda): Handle lexical functions. Always return
18219 a byte-code-function.
18220 (byte-compile-reserved-constants): New var, to make up room for
18221 closed-over variables.
18222 (byte-compile-constants-vector): Obey it.
18223 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
18224 (byte-compile-macroexpand-declare-function): New function.
18225 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
18226 byte-code-functions.
18227 (byte-compile-form): Check obsolescence here.
18228 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
18229 (byte-compile-variable-ref): Remove.
18230 (byte-compile-dynamic-variable-op): New fun.
18231 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18232 (byte-compile-variable-set): New funs.
18233 (byte-compile-discard): Add 2 args.
18234 (byte-compile-stack-ref, byte-compile-stack-set)
18235 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
18236 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
18237 macroexpand-all instead.
18238 (byte-compile-quote-form): Remove.
18239 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
18240 (byte-compile-bind, byte-compile-unbind): New funs.
18241 (byte-compile-let): Handle let* and lexical binding.
18242 (byte-compile-let*): Remove.
18243 (byte-compile-catch, byte-compile-unwind-protect)
18244 (byte-compile-track-mouse, byte-compile-condition-case):
18245 Handle a new :fun-body form, used for lexical scoping.
18246 (byte-compile-save-window-excursion)
18247 (byte-compile-with-output-to-temp-buffer): Remove.
18248 (byte-compile-defun): Simplify.
18249 (byte-compile-stack-adjustment): New fun.
18250 (byte-compile-out): Use it.
18251 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
18252
18253 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
18254 handler any more.
18255
18256 * emacs-lisp/byte-opt.el: Use lexical binding.
18257 (byte-inline-lapcode): Remove (to bytecomp).
18258 (byte-compile-inline-expand): Pay attention to inlining to/from
18259 lexically bound code.
18260 (byte-compile-unfold-lambda): Don't handle byte-code-functions
18261 any more.
18262 (byte-optimize-form-code-walker): Don't handle save-window-excursion
18263 any more and don't call compiler-macros.
18264 (byte-compile-splice-in-already-compiled-code): Remove.
18265 (byte-code): Don't inline any more.
18266 (disassemble-offset): Receive `bytes' as argument rather than via
18267 dynamic scoping.
18268 (byte-compile-tag-number): Declare before first use.
18269 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
18270 `return' even if make-spliceable.
18271 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
18272 obsolete interactive-p.
18273 (byte-optimize-lapcode): Optimize new lap-codes.
18274 Don't trip up on new form of `byte-constant' lap code.
18275
18276 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
18277
18278 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
18279
18280 * custom.el (custom-initialize-default, custom-declare-variable):
18281 Use `defvar'.
18282
18283 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
18284 New variables.
18285 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
18286 (COMPILE_FIRST): Add macroexp and cconv.
18287 * makefile.w32-in: Mirror changes in Makefile.in.
18288
18289 * vc/cvs-status.el:
18290 * vc/diff-mode.el:
18291 * vc/log-edit.el:
18292 * vc/log-view.el:
18293 * vc/smerge-mode.el:
18294 * textmodes/bibtex-style.el:
18295 * textmodes/css-mode.el:
18296 * startup.el:
18297 * uniquify.el:
18298 * minibuffer.el:
18299 * newcomment.el:
18300 * reveal.el:
18301 * server.el:
18302 * mpc.el:
18303 * emacs-lisp/smie.el:
18304 * doc-view.el:
18305 * dired.el:
18306 * abbrev.el: Use lexical binding.
18307
18308 2011-04-01 Eli Zaretskii <eliz@gnu.org>
18309
18310 * info.el (info-display-manual): New function.
18311
18312 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
18313
18314 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
18315
18316 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
18317
18318 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
18319 an entry for that server in rcirc-authinfo. (Bug#8385)
18320
18321 2011-03-31 Glenn Morris <rgm@gnu.org>
18322
18323 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
18324
18325 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
18326
18327 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
18328
18329 * progmodes/python.el (python-default-interpreter)
18330 (python-python-command-args, python-jython-command-args)
18331 (python-which-shell, python-which-args, python-which-bufname)
18332 (python-file-queue, python-comint-output-filter-function)
18333 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
18334 variables and functions.
18335
18336 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
18337
18338 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
18339 (completion-in-region-mode): New minor mode.
18340 (completion-in-region): Use it.
18341 (completion-in-region--data, completion-in-region-mode-map): New vars.
18342 (completion-in-region--postch): New function.
18343 (completion--capf-misbehave-funs, completion--capf-safe-funs):
18344 New vars.
18345 (completion--capf-wrapper): New function.
18346 (completion-at-point): Use it to track well-behavedness of
18347 hook functions.
18348 (completion-help-at-point): New command.
18349
18350 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
18351
18352 * vc/add-log.el (add-change-log-entry): Don't use whitespace
18353 syntax class to search for whitespace on a single line
18354 (Message-ID: <4D938140.4030905@redhat.com>).
18355
18356 2011-03-30 Leo Liu <sdl.web@gmail.com>
18357
18358 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
18359 New commands.
18360 (edit-abbrevs-map): Bind them here.
18361 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
18362
18363 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
18364
18365 * allout.el (allout-hide-by-annotation, allout-flag-region):
18366 Reduce possibility of overlay leakage by making them volatile.
18367
18368 * allout-widgets.el (allout-widgets-tally): Define as nil so the
18369 hash is not shared between buffers. Mode initialization is
18370 responsible for giving it a useful starting value.
18371 (allout-item-span): Reduce possibility of overlay leakage by
18372 making them volatile.
18373 (allout-widgets-count-buttons-in-region): Add diagnostic function
18374 for tracking down button overlay leaks.
18375
18376 2011-03-29 Leo Liu <sdl.web@gmail.com>
18377
18378 * ido.el (ido-read-internal): Use the default history var
18379 minibuffer-history if no HISTORY is specified.
18380
18381 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
18382
18383 * net/imap.el (imap-shell-open, imap-process-connection-type):
18384 Use imap-process-connection-type for 'shell' streams as well as
18385 Kerberos, SSL, other subprocesses.
18386
18387 2011-03-28 Leo Liu <sdl.web@gmail.com>
18388
18389 * abbrev.el (abbrev-table-empty-p): New function.
18390 (prepare-abbrev-list-buffer): Place empty abbrev tables after
18391 nonempty ones. (Bug#5937)
18392
18393 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
18394
18395 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
18396
18397 2011-03-27 Leo Liu <sdl.web@gmail.com>
18398
18399 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
18400 for foreground and background colors.
18401 (ansi-color-make-color-map): Adapt.
18402
18403 2011-03-25 Leo Liu <sdl.web@gmail.com>
18404
18405 * midnight.el (midnight-time-float): Remove. Note it calculates
18406 the microsecond component incorrectly and seconds-to-time does the
18407 same job.
18408 Remove redundant (require 'timer).
18409
18410 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
18411 (ido-completions): Remove unused arguments. (Bug#8329)
18412
18413 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
18414
18415 * minibuffer.el (completion--flush-all-sorted-completions):
18416 Remove itself from hook.
18417 (completion-at-point): Let the functions perform the completion
18418 immediately and return nil or t.
18419 * comint.el (comint-dynamic-complete-functions): Now identical to
18420 completion-at-point-functions.
18421 (comint-dynamic-list-input-ring): Remove unused var `index'.
18422 (comint--match-partial-filename, comint--unquote&expand-filename):
18423 New funs, split from comint-match-partial-filename.
18424 (comint-dynamic-complete): Use completion-at-point.
18425 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
18426
18427 2011-03-24 Drew Adams <drew.adams@oracle.com>
18428
18429 * thingatpt.el: Support `defun'.
18430
18431 2011-03-23 Leo Liu <sdl.web@gmail.com>
18432
18433 * abbrevlist.el: Move to obsolete/abbrevlist.el.
18434
18435 * help-mode.el (help-mode-finish): Tweak regexp.
18436
18437 2011-03-23 Glenn Morris <rgm@gnu.org>
18438
18439 * eshell/esh-opt.el (eshell-eval-using-options):
18440 Do not bind unused local variable `eshell-option-stub'.
18441
18442 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
18443
18444 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18445
18446 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
18447 keymap variable in `with-no-warnings' to avoid a warning when the
18448 keymap has been already `defconst'ed.
18449
18450 2011-03-22 Leo Liu <sdl.web@gmail.com>
18451
18452 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18453 encode all chars in abbrevs; otherwise use emacs-mule or
18454 utf-8-emacs. (Bug#8308)
18455
18456 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
18457
18458 * simple.el (backward-delete-char-untabify):
18459 Avoid warning about using `delete-backward-char'.
18460
18461 * image.el (image-type-file-name-regexps): Make it variable.
18462 `imagemagick-register-types' modifies it, and the user may want
18463 to add new extensions for known image types.
18464 (imagemagick-register-types): Throw error if not using ImageMagick.
18465
18466 2011-03-22 Leo Liu <sdl.web@gmail.com>
18467
18468 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18469 located before rcirc-prompt-end-marker.
18470 (rcirc-complete): Error if point is not after rcirc prompt.
18471 Handle the case when table is nil.
18472 (rcirc-user-authenticated): Define to fix compiler warning.
18473
18474 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
18475
18476 * custom.el (custom--inhibit-theme-enable): Make it affect only
18477 custom-theme-set-variables and custom-theme-set-faces.
18478 (provide-theme): Ignore custom--inhibit-theme-enable.
18479 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18480 (custom-enabling-themes): Delete variable.
18481 (enable-theme): Accept only loaded themes as arguments.
18482 Ignore the special custom-enabled-themes variable.
18483 (custom-enabled-themes): Forbid themes from setting this.
18484 Eliminate use of custom-enabling-themes.
18485 (custom-push-theme): Quote "changed" custom var entry.
18486
18487 2011-03-21 Leo Liu <sdl.web@gmail.com>
18488
18489 * ido.el (ido-read-internal): Add ido-selected to history instead
18490 of user input.
18491
18492 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
18493
18494 * subr.el (deferred-action-list, deferred-action-function):
18495 Mark obsolete.
18496
18497 2011-03-21 Leo Liu <sdl.web@gmail.com>
18498
18499 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18500 change on 2011-02-13 (bug#8309).
18501
18502 * minibuffer.el (read-file-name-function): Change default value.
18503 (read-file-name--defaults): Rename from read-file-name-defaults.
18504 (read-file-name-default): Rename from read-file-name.
18505 (read-file-name): Call read-file-name-function.
18506
18507 2011-03-21 Glenn Morris <rgm@gnu.org>
18508
18509 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18510 Doc fixes.
18511
18512 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
18513
18514 * cus-theme.el: Add missing provide statement.
18515 (customize-create-theme): Extract theme value correctly.
18516 (custom-theme-visit-theme): Autoload.
18517 (customize-create-theme): Prompt before inserting default faces.
18518
18519 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
18520
18521 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18522 units and musical notes.
18523
18524 2011-03-20 Leo Liu <sdl.web@gmail.com>
18525
18526 * ido.el (ido-read-internal): Use completing-read-default.
18527 (ido-completing-read): Fix compatibility with completing-read.
18528
18529 2011-03-20 Christian Ohler <ohler@gnu.org>
18530
18531 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18532 (ert-delete-all-tests): Use `called-interactively-p' rather than
18533 `interactive-p'.
18534 (ert--make-xrefs-region): Respect END.
18535
18536 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18537
18538 * dired-aux.el (dired-create-directory): Signal an error if the
18539 directory already exists (Bug#8246).
18540
18541 * facemenu.el (list-colors-display): Call list-faces-display
18542 inside with-help-window.
18543 (list-colors-print): Use display property to align the final
18544 column, instead of checking window-width.
18545
18546 2011-03-19 Eli Zaretskii <eliz@gnu.org>
18547
18548 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18549 windows-nt systems.
18550 (emerge-protect-metachars): Quote correctly for ms-dos and
18551 windows-nt systems.
18552
18553 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
18554
18555 * info.el (info-initialize): Replace all uses of `:' with
18556 path-separator for compatibility with non-Unix systems.
18557 Cache quoting of path-separator. (Bug#8258)
18558
18559 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
18560
18561 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18562 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18563 (mouse-avoidance-mode): Fix typos in docstrings.
18564
18565 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
18566
18567 * startup.el (package-subdirectory-regexp): Move from package.el.
18568 Omit \\` and \\', and let callers add them.
18569
18570 * emacs-lisp/package.el (package-strip-version)
18571 (package-load-all-descriptors): Add \\` and \\' to
18572 package-subdirectory-regexp before using it.
18573 (package-untar-buffer): New arg DIR; ensure that file untars only
18574 into this expected directory. Remove superfluous delete-region.
18575 (package-unpack): Caller changed.
18576 (package-tar-file-info): Use package-subdirectory-regexp.
18577
18578 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
18579
18580 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18581 diff-mode-shared-map (bug#8284).
18582 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18583
18584 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18585
18586 * calendar/time-date.el (format-seconds): Use assoc instead of
18587 assoc-string, since assoc-string doesn't exist in XEmacs.
18588
18589 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
18590
18591 * custom.el (custom-known-themes): Reflow docstring.
18592 (custom-theme-load-path): Fix typo in docstring.
18593 (load-theme): Fix typo in error message.
18594 (custom-available-themes, custom-variable-theme-value):
18595 Use `let', not `let*'.
18596
18597 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
18598
18599 * calc/README: Mention inclusion of musical notes.
18600
18601 * calc/calc-units.el (calc-lu-quant): Rename from
18602 `calc-logunits-quantity'.
18603 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18604 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18605 (calc-db): Rename from `calc-dblevel'.
18606 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18607 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18608 (calc-np): Rename from `calc-nplevel'.
18609 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18610 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18611 (calc-lu-plus): Rename from `calc-logunits-add'.
18612 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18613 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18614 (calc-lu-minus): Rename from `calc-logunits-sub'.
18615 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18616 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18617 (calc-lu-times): Rename from `calc-logunits-mul'.
18618 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18619 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18620 (calc-lu-divide): Rename from `calc-logunits-div'.
18621 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18622 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18623
18624 * calc/calc-ext.el (calc-init-extensions): Update the names of the
18625 functions being autoloaded.
18626
18627 * calc/calc.el (calc-lu-power-reference): Rename from
18628 `calc-logunits-power-reference'.
18629 (calc-lu-field-reference): Rename from
18630 `calc-logunits-field-reference'.
18631
18632 * calc/calc-help.el (calc-l-prefix-help):
18633 Mention musical note functions.
18634
18635 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
18636
18637 * minibuffer.el (completion-all-sorted-completions):
18638 Use :completion-cycle-penalty text property if present.
18639
18640 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
18641
18642 * allout.el (allout-yank-processing): Adjust for new rebulleting
18643 regime so bullet being yanked is used without prompting the user
18644 for a choice.
18645
18646 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18647
18648 * startup.el (command-line): Warn the user that _emacs is deprecated.
18649
18650 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
18651
18652 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18653 (delphi-verbose, delphi-comment-face, delphi-string-face)
18654 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18655 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18656 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18657 (delphi-new-comment-line, delphi-font-lock-defaults)
18658 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18659 Fix typos in docstrings.
18660
18661 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
18662
18663 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18664 Invert the roles of character and string values for INSTEAD, so a
18665 string is used for the more common case of a defaulting prompt.
18666
18667 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18668
18669 * progmodes/ruby-mode.el (ruby-backward-sexp):
18670 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18671 * play/gamegrid.el (gamegrid-make-face):
18672 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18673 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18674 * notifications.el (notifications-notify):
18675 * net/xesam.el (xesam-search-engines):
18676 * net/quickurl.el (quickurl-list-insert):
18677 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18678
18679 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
18680
18681 * startup.el (command-line): Update package subdirectory regexp.
18682
18683 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18684
18685 * allout.el (allout-abbreviate-flattened-numbering)
18686 (allout-mode-deactivate-hook): Fix up obsolescence "date".
18687
18688 * subr.el (read-char-choice): Only show the cursor after the prompt,
18689 not after the answer.
18690
18691 2011-03-15 Kevin Ryde <user42@zip.com.au>
18692
18693 * help-fns.el (variable-at-point): Skip leading quotes, if any
18694 (bug#8253).
18695
18696 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
18697
18698 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18699 warning message.
18700
18701 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
18702
18703 * shell.el (shell): When called interactively, offer to change the
18704 shell file name on remote hosts.
18705
18706 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
18707
18708 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18709 integration for LDAP parameters. The host, base, user or binddn,
18710 and secret tokens can be specified in a netrc file, for instance.
18711 This is optional because an `auth-source' parameter must be
18712 specified in the search attributes.
18713
18714 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
18715
18716 * help.el (describe-mode): Link to the mode's definition (bug#8185).
18717
18718 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18719
18720 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18721 into declaration. Remove redundant and harmful binding.
18722
18723 2011-03-12 Eli Zaretskii <eliz@gnu.org>
18724
18725 * files.el (file-ownership-preserved-p): Pass `integer' as an
18726 explicit 2nd argument to `file-attributes'. If the file's owner
18727 is the Administrators group on Windows, and the current user is
18728 Administrator, consider that a match.
18729
18730 * server.el (server-ensure-safe-dir): Consider server directory
18731 safe on MS-Windows if its owner is the Administrators group while
18732 the current Emacs user is Administrator. Use `=' to compare
18733 numerical UIDs, since they could be integers or floats.
18734
18735 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
18736
18737 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18738
18739 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
18740
18741 Sync with Tramp 2.2.1.
18742
18743 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18744
18745 * net/trampver.el: Update release number.
18746
18747 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
18748
18749 * progmodes/compile.el (compilation--previous-directory): Fix up
18750 various nil/dead-marker mismatches (bug#8014).
18751 (compilation-directory-properties, compilation-error-properties):
18752 Don't call it at a position past the one we're about to change.
18753
18754 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18755 Disable obsolescence warnings in the file that declares it.
18756
18757 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
18758
18759 * allout-widgets.el (allout-widgets-tally):
18760 Initialize allout-widgets-tally as a hash table rather than nil to
18761 prevent mode-line redisplay warnings. Also, clarify the module
18762 description and fix a comment typo.
18763
18764 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
18765
18766 * help-fns.el (describe-variable): Don't complete keywords.
18767 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18768
18769 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
18770
18771 * emacs-lisp/package.el (package-version-join): Impose a standard
18772 string representation for pre/alpha/beta version lists.
18773 (package-unpack-single): Standardize the directory name by passing
18774 it through package-version-join.
18775 (package-strip-rcs-id): Accept any version string that does not
18776 signal an error in version-to-list.
18777
18778 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
18779
18780 * simple.el (delete-trailing-whitespace): Return nil for the
18781 benefit of `write-file-functions'.
18782
18783 2011-03-10 Glenn Morris <rgm@gnu.org>
18784
18785 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18786
18787 * vc/vc-git.el (vc-git-program): New option.
18788 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18789 (vc-git--call): Use it.
18790
18791 * eshell/esh-util.el (eshell-condition-case): Doc fix.
18792
18793 * cus-edit.el (Custom-newline): If no button at point, look
18794 for a subgroup button at start-of-line. (Bug#2298)
18795
18796 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18797
18798 2011-03-10 Julien Danjou <julien@danjou.info>
18799
18800 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18801 `cursor-type' is nil.
18802
18803 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
18804
18805 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18806
18807 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
18808
18809 * allout.el: Change so yank of distinctive-bullet items
18810 preserves the existing header prefix, rebulleting it if necessary,
18811 rather than replacing it. This is necessary for proper operation
18812 of cooperative addons like allout-widgets.
18813 (allout-make-topic-prefix, allout-rebullet-heading):
18814 Change SOLICIT arg to INSTEAD, and interpret additionally a string
18815 value as alternate bullet to be used, instead of prompting the user
18816 for a bullet character.
18817
18818 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18821 Do not use `tramp-file-name-port', because this returns also
18822 `tramp-default-port'.
18823
18824 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
18825
18826 * net/rcirc.el (rcirc-handler-001): Remove useless
18827 with-rcirc-process-buffer.
18828 (rcirc-check-auth-status): Swap arguments to string-match.
18829
18830 2011-03-09 Glenn Morris <rgm@gnu.org>
18831
18832 * shell.el (shell-mode):
18833 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
18834
18835 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18836 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
18837
18838 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18839
18840 * emacs-lisp/package.el (package-refresh-contents)
18841 (package-menu-execute): Use condition-case-no-debug.
18842
18843 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
18844
18845 * simple.el (shell-command-to-string): Use `process-file'.
18846
18847 * emacs-lisp/package.el (package-tar-file-info): Handle also
18848 remote files.
18849
18850 * emacs-lisp/package-x.el (package-upload-buffer-internal):
18851 Use `equal' for upload base check.
18852
18853 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
18854
18855 * textmodes/texinfo.el (texinfo-environments):
18856 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
18857
18858 2011-03-08 Glenn Morris <rgm@gnu.org>
18859
18860 * cus-start.el (cursor-in-non-selected-windows):
18861 Fix :set quoting oddness. (Bug#8192)
18862
18863 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18864 in some setf expressions. (Bug#2159)
18865
18866 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
18867
18868 * custom.el (custom-available-themes): Return themes in
18869 alphabetical order.
18870
18871 See ChangeLog.15 for earlier changes.
18872
18873 ;; Local Variables:
18874 ;; coding: utf-8
18875 ;; End:
18876
18877 Copyright (C) 2011-2012 Free Software Foundation, Inc.
18878
18879 This file is part of GNU Emacs.
18880
18881 GNU Emacs is free software: you can redistribute it and/or modify
18882 it under the terms of the GNU General Public License as published by
18883 the Free Software Foundation, either version 3 of the License, or
18884 (at your option) any later version.
18885
18886 GNU Emacs is distributed in the hope that it will be useful,
18887 but WITHOUT ANY WARRANTY; without even the implied warranty of
18888 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18889 GNU General Public License for more details.
18890
18891 You should have received a copy of the GNU General Public License
18892 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.