Fix the MSDOS build following gnulib update.
[bpt/emacs.git] / lisp / ChangeLog
... / ...
CommitLineData
12012-05-27 Juri Linkov <juri@jurta.org>
2
3 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4 after the `eval-defun-1' specialcaseing
5 like in `edebug-eval-defun' (bug#10181).
6
7 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
8 like in `eval-defun-1'.
9
102012-05-27 Eli Zaretskii <eliz@gnu.org>
11
12 * mail/sendmail.el (mail-yank-region): Recognize
13 rmail-yank-current-message in addition to insert-buffer. Fixes
14 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
15 a *mail* buffer created through rmail-start-mail with sendmail as
16 mail-user-agent.
17
182012-05-27 Chong Yidong <cyd@gnu.org>
19
20 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
21 Default to 256 (Bug#11267).
22
23 * help.el (describe-mode): Doc fix.
24
252012-05-26 Glenn Morris <rgm@gnu.org>
26
27 * w32-fns.el (w32-init-info): Remove.
28 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
29
30 * info.el (info-initialize): For self-contained NS builds, put the
31 included info/ directory at the front. (Bug#2791)
32
33 * paths.el (Info-default-directory-list): Make it a defcustom,
34 mainly so that we can use custom-initialize-delay.
35
362012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
37
38 * subr.el (buffer-has-markers-at): Mark obsolete.
39
40 * subr.el (lambda): Use declare.
41
42 * emacs-lisp/lisp-mode.el (lambda):
43 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
44
452012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
46
47 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
48
492012-05-26 Glenn Morris <rgm@gnu.org>
50
51 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
52
532012-05-25 Glenn Morris <rgm@gnu.org>
54
55 * paths.el: Remove no-byte-compile.
56 * loadup.el: No need to load paths.el uncompiled.
57
58 * image.el (imagemagick-types-inhibit): Doc fix.
59
60 * version.el: Remove no-byte-compile and associated formatting.
61 * loadup.el: No need to load version.el uncompiled. AFAICS, this
62 is ancient code from when there was an "inc-vers.el".
63
642012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
65
66 * progmodes/gdb-mi.el: Minor style changes.
67 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
68 Turn into minor modes.
69 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
70 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
71 (gdb-shell): Remove unneeded let-binding.
72 (gdb-get-many-fields): Eliminate O(n²) behavior.
73
742012-05-25 Eli Zaretskii <eliz@gnu.org>
75
76 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
77 platforms that don't link in fontset.c.
78
792012-05-25 Juri Linkov <juri@jurta.org>
80
81 Use the same diff color scheme as in modern VCSes (bug#10181).
82
83 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
84 to avoid confusion with `diff-added' that now uses green colors.
85 (diff-removed): Use shades of red.
86 (diff-added): Use shades of green.
87 (diff-changed): Leave just the yellow color.
88 (diff-use-changed-face): New variable.
89 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
90 how to highlight context diff changes.
91 (diff-refine-change): Use shades of yellow.
92 (diff-refine-removed): New face that uses shades of red.
93 (diff-refine-added): New face that uses shades of green.
94 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
95 `diff-refine-removed' in the call to `smerge-refine-subst'
96 depending on the value of `diff-use-changed-face'.
97
98 * vc/smerge-mode.el (smerge-mine): Use shades of red.
99 (smerge-other): Use shades of green.
100 (smerge-base): Use shades of yellow.
101 (smerge-refined-change): Empty face.
102 (smerge-refined-removed): New face that uses shades of red.
103 (smerge-refined-added): New face that uses shades of green.
104 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
105 args `props-r' and `props-a', and use them. Doc fix.
106 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
107 on its value use different faces `smerge-refined-change',
108 `smerge-refined-removed', `smerge-refined-added' in the call to
109 `smerge-refine-subst'.
110
111 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
112 Add face condition `min-colors 88' with shades of red.
113 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
114 `min-colors 88' with shades of green.
115 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
116 `min-colors 88' with shades of yellow.
117
1182012-05-24 Glenn Morris <rgm@gnu.org>
119
120 * paths.el (prune-directory-list, remote-shell-program): Move to...
121 * files.el (prune-directory-list, remote-shell-program): ...here.
122 For the latter, delay initialization, prefer ssh, just search PATH.
123
124 * paths.el (term-file-prefix): Move to faces.el (the only user).
125 * faces.el (term-file-prefix): Move here, make it a defcustom.
126
127 * paths.el (news-directory, news-path, news-inews-program):
128 Move to gnus/nnspool.el.
129
130 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
131
132 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
133 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
134 Make the latter a defcustom, with a delayed initialization.
135
136 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
137 These were deleted from Gnus itself late 2010.
138
1392012-05-22 Juanma Barranquero <lekktu@gmail.com>
140
141 * progmodes/which-func.el (which-func-ff-hook):
142 Check against user-error, not error.
143
144 * emacs-lisp/edebug.el (top): Do not load or set up loading of
145 cl-specs.el, which no longer exists.
146
1472012-05-22 Glenn Morris <rgm@gnu.org>
148
149 * info.el (info-emacs-bug): New command.
150 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
151 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
152
1532012-05-21 Glenn Morris <rgm@gnu.org>
154
155 * makefile.w32-in (update-subdirs-SH):
156 * Makefile.in (update-subdirs): Update for moved update-subdirs.
157
1582012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
159
160 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
161
162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
163 Simplify Maven regexp, and make sure the file can't start with a space
164 (bug#11517).
165
1662012-05-21 Glenn Morris <rgm@gnu.org>
167
168 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
169 Scrap superfluous subshells.
170
1712012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
172
173 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
174 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
175
1762012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
177
178 * calc/calc.el (calc-ensure-consistent-units): New variable.
179
180 * calc/calc-units.el (math-consistent-units-p)
181 (math-check-unit-consistency): New functions.
182 (calc-quick-units, calc-convert-units):
183 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
184 is non-nil.
185 (calc-extract-units): Fix typo.
186
1872012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
190
191 * textmodes/flyspell.el: Commenting style, plus code simplifications.
192 (flyspell-default-deplacement-commands): Don't spell check after
193 repeated window/frame switches (e.g. triggered by mouse-movement).
194 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
195 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
196 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
197 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
198 Remove unused vars.
199 (flyspell-get-casechars, flyspell-get-not-casechars):
200 Simplify; Don't bother removing a ] just to add it back.
201 * textmodes/ispell.el (ispell-program-name): Use executable-find.
202
2032012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
204
205 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
206 New functions.
207 (math-function-table): Add support for more C functions.
208
2092012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
210
211 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
212 (flyspell-debug-signal-word-checked): Protect delay handling for
213 otherchars against empty otherchars.
214
2152012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
216
217 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
218 their respective macro declarations.
219 * skeleton.el (define-skeleton):
220 * progmodes/compile.el (define-compilation-mode):
221 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
222 (define-ibuffer-filter):
223 * emacs-lisp/generic.el (define-generic-mode):
224 * emacs-lisp/easy-mmode.el (define-minor-mode)
225 (define-globalized-minor-mode):
226 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
227 * emacs-lisp/byte-run.el (defsubst):
228 * custom.el (deftheme): Add doc-string metadata.
229
2302012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
233
2342012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
235
236 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
237
238 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
239 * emacs-lisp/cl-macs.el: Idem.
240 * emacs-lisp/cl-specs.el: Remove.
241
2422012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
243
244 Minor renaming of internal CL functions and variables.
245 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
246 (cl--position): Rename from cl-position.
247 (cl--delete-duplicates): Rename from cl-delete-duplicates.
248 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
249 (cl--random-state): Rename from *random-state*.
250
2512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
254 parens around the arg list (bug#11499).
255
2562012-05-17 Juri Linkov <juri@jurta.org>
257
258 * isearch.el (word-search-regexp, word-search-backward)
259 (word-search-forward, word-search-backward-lax)
260 (word-search-forward-lax): Move functions from search.c
261 (bug#10145, bug#11381).
262
2632012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
264
265 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
266 (flyspell-debug-signal-word-checked): Delay for otherchars as for
267 normal word components.
268
2692012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * minibuffer.el (completion--sifn-requote): Fix last change.
272 (minibuffer-local-must-match-filename-map):
273 Move define-obsolete-variable-alias before its var.
274
2752012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
278
279 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
280 behavior.
281 (completion--string-equal-p): New function.
282 (completion--twq-all): Use it to get better assertion failure data.
283
284 Only handle ".." and '..' quoting in shell-mode (bug#11466).
285 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
286 (shell--requote-argument): New functions.
287 (shell-completion-vars): Use them.
288 (shell--parse-pcomplete-arguments): Rename from
289 shell-parse-pcomplete-arguments.
290 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
291 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
292 Obey comint-file-name-quote-list.
293
294 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
295 (smie-indent-keyword): Use it.
296
2972012-05-14 Stefan Merten <smerten@oekonux.de>
298
299 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
300
3012012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
302
303 * net/rlogin.el (rlogin-mode-map): Fix last change.
304
3052012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
306
307 * mail/smtpmail.el (smtpmail-send-command): Send the command and
308 the following \r\n using a single `process-send-string', since the
309 Lotus SMTP server refuses to accept any commands if they are sent
310 with two `process-send-string's (Bug#11444).
311
3122012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * shell.el (shell-parse-pcomplete-arguments):
315 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
316
3172012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
318
319 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
320 (image-transform-scale, image-transform-right-angle-fudge): New vars.
321 (image-transform-width, image-transform-fit-width): New functions.
322 (image-transform-properties): Use them.
323 (image-transform-check-size): New function.
324 (image-toggle-display-image): Use it (for testing).
325 (image-transform-set-rotation): Reduce angle mod 360.
326 Delete obsolete comment.
327
3282012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
329
330 * image-mode.el: Fix scaling (bug#11399).
331 (image-transform-resize): Doc fix.
332 (image-transform-properties): Default scale is 1 and height should
333 be an integer.
334
3352012-05-13 Johan Bockgård <bojohan@gnu.org>
336
337 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
338 than hard-coding `car', to fix misbehavior when moving forward.
339
3402012-05-13 Chong Yidong <cyd@gnu.org>
341
342 * emacs-lisp/tabulated-list.el (tabulated-list-format)
343 (tabulated-list-entries, tabulated-list-padding)
344 (tabulated-list-sort-key): Make permanent-local.
345
346 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
347 (electric-buffer-list): Put electric buffer menu
348 command descriptions in this docstring, instead of the docstring
349 of electric-buffer-menu-mode. Code cleanups.
350 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
351 Electric-buffer-menu-mode.
352 (electric-buffer-update-highlight): Minor code cleanup.
353
3542012-05-13 Michael Albinus <michael.albinus@gmx.de>
355
356 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
357 (Bug#11447)
358
3592012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
360
361 Move define-obsolete-variable-alias before the var's definition.
362 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
363 * tooltip.el (tooltip-hook):
364 * textmodes/reftex-toc.el (reftex-toc-map):
365 * textmodes/reftex-sel.el (reftex-select-label-map)
366 (reftex-select-bib-map):
367 * textmodes/reftex-index.el (reftex-index-map)
368 (reftex-index-phrases-map):
369 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
370 * progmodes/meta-mode.el (meta-mode-map):
371 * novice.el (disabled-command-hook):
372 * loadhist.el (unload-hook-features-list):
373 * frame.el (blink-cursor):
374 * files.el (find-file-not-found-hooks, write-file-hooks)
375 (write-contents-hooks):
376 * emulation/tpu-edt.el (GOLD-map):
377 * emacs-lock.el (emacs-lock-from-exiting):
378 * emacs-lisp/generic.el (generic-font-lock-defaults):
379 * emacs-lisp/chart.el (chart-map):
380 * dos-fns.el (register-name-alist):
381 * dired-x.el (dired-omit-files-p):
382 * desktop.el (desktop-enable):
383 * cus-edit.el (custom-mode-hook):
384 * buff-menu.el (buffer-menu-mode-hook):
385 * bookmark.el (bookmark-read-annotation-text-func)
386 (bookmark-exit-hooks):
387 * allout.el (allout-mode-deactivate-hook)
388 (allout-exposure-change-hook, allout-structure-added-hook)
389 (allout-structure-deleted-hook, allout-structure-shifted-hook):
390 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
391 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
392 comes before the corresponding variable's definition.
393
3942012-05-12 Chong Yidong <cyd@gnu.org>
395
396 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
397 (Buffer-menu-mouse-select): Restore function (Bug#11459).
398 (Buffer-menu-mode-map): Bind it.
399 (Buffer-menu--pretty-name): Add a mouse-face property.
400
4012012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
402
403 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
404 (prolog-upper-case-string, prolog-lower-case-string)
405 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
406 (prolog-use-smie, prolog-smie-grammar): New vars.
407 (prolog-smie-forward-token, prolog-smie-backward-token)
408 (prolog-smie-rules): New funs.
409 (prolog-comment-indent): Remove.
410 (prolog-mode-variables): Use default comment indentation instead.
411 Setup SMIE.
412 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
413 (prolog-mode): Don't call them any more.
414 (prolog-electric-colon, prolog-electric-dash)
415 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
416
417 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
418
419 * minibuffer.el (completion--twq-all): Again, allow case differences.
420
421 * term.el: Move keymap initialization code to be more idiomatic.
422 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
423 (term-terminal-menu): Move initialization into declaration.
424 (term-escape-char): Let the user set it in her .emacs.
425
426 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
427 Provide SMIE-based indentation (not enabled by default yet).
428 (sh-mode-map): Don't bind electric keys.
429 Use electric-pair-mode instead of skeleton-pair.
430 (sh-assignment-regexp): Fit within 80 columns.
431 (sh-indent-supported): Specify actual shell name instead of boolean.
432 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
433 (sh-maybe-here-document): Use it. Make obsolete.
434 (sh-electric-here-document-mode) New minor mode.
435 (sh-mode): Use it. Don't set sh-indent-supported-here here.
436 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
437 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
438 (sh-smie-rc-grammar, sh-use-smie): New vars.
439 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
440 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
441 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
442 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
443 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
444 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
445 (sh-set-shell): Use smie-setup if requested.
446
447 * term.el (term-set-escape-char): Properly set term-escape-char.
448 See http://stackoverflow.com/questions/10524656.
449
4502012-05-10 Chong Yidong <cyd@gnu.org>
451
452 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
453 Use url-generic-parse-url, and handle host names and Windows
454 filenames properly.
455 (ffap-url-unwrap-remote): Use url-generic-parse-url.
456 (ffap-url-unwrap-remote): Accept list values, specifying a list of
457 URL schemes to work on.
458 (ffap--toggle-read-only): New function.
459 (ffap-read-only, ffap-read-only-other-window)
460 (ffap-read-only-other-frame): Use it.
461 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
462 necessary for ffap-url-unwrap-remote.
463
4642012-05-10 Dave Abrahams <dave@boostpro.com>
465
466 * cus-start.el (create-lockfiles): Add it.
467
4682012-05-09 Chong Yidong <cyd@gnu.org>
469
470 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
471 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
472
4732012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * shell.el (shell-completion-vars): Fix last change (bug#11348).
476
4772012-05-09 Chong Yidong <cyd@gnu.org>
478
479 * ansi-color.el (ansi-color-process-output): Check for validity of
480 comint-last-output-start before using it. This avoids a bad
481 interaction with gdb-mi's input/output buffer.
482
4832012-05-09 Glenn Morris <rgm@gnu.org>
484
485 * files.el (dir-locals-read-from-file):
486 Mention dir-locals in any error message.
487
4882012-05-09 Chong Yidong <cyd@gnu.org>
489
490 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
491 package (Bug#11410).
492
493 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
494 variables into description.
495
4962012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
497
498 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
499 shell-delimiter-argument-list (bug#11348).
500 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
501
5022012-05-09 Juanma Barranquero <lekktu@gmail.com>
503
504 * textmodes/rst.el: Silence byte-compiler warnings.
505 (rst-re-alist, rst-reset-section-caches): Move around.
506 (rst-re): Use `characterp', not `char-valid-p'.
507 (font-lock-beg, font-lock-end): Declare.
508
509 * progmodes/idlw-shell.el (specs): Remove reference to deleted
510 variable `idlwave-shell-activate-alt-keybindings' and simplify.
511
512 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
513
5142012-05-08 Glenn Morris <rgm@gnu.org>
515
516 * files.el (auto-mode-alist): Treat ".make" like ".mk".
517
5182012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
519
520 * vc/log-edit.el: Add GNU coding standards highlighting.
521 (log-edit-font-lock-gnu-style)
522 (log-edit-font-lock-gnu-keywords): New vars.
523 (log-edit-font-lock-keywords): New fun.
524 (log-edit-mode): Don't fold case in font-lock.
525 (log-edit-font-lock-keywords): Do not assume case-folding.
526
527 * imenu.el: Misc cleanup. Make docstrings out of comments.
528 Use lexical-binding.
529 (imenu--index-alist, imenu--last-menubar-index-alist)
530 (imenu-menubar-modified-tick): Use defvar-local.
531 (imenu--split-menu): Remove unused var.
532 (imenu--cleanup-seen): Declare as global.
533 (imenu--cleanup): Use dolist.
534
535 * subr.el (defvar-local): Add debug spec and doc-string position.
536
5372012-05-08 Glenn Morris <rgm@gnu.org>
538
539 * lisp/language/burmese.el, language/cham.el, language/czech.el:
540 * language/english.el, language/georgian.el, language/greek.el:
541 * language/japanese.el, language/khmer.el, language/korean.el:
542 * language/lao.el, language/misc-lang.el, language/romanian.el:
543 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
544 * language/thai.el, language/utf-8-lang.el:
545 Remove no-byte-compile setting.
546
547 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
548
5492012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
550
551 * progmodes/make-mode.el (makefile-browse):
552 Remove unnecessary interactive. (Bug#11324)
553
5542012-05-07 Glenn Morris <rgm@gnu.org>
555
556 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
557
558 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
559
5602012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
561
562 * loadup.el: Preload newcomment.el.
563 * newcomment.el: Move autoload-only code to toplevel.
564
565 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
566 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
567 Handle new :right-align column property.
568 (tabulated-list-print-col): Idem, plus use `display' text-property to
569 try and preserve alignment for variable pitch fonts.
570
5712012-05-07 Chong Yidong <cyd@gnu.org>
572
573 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
574 (tabulated-list-use-header-line): New var.
575 (tabulated-list-init-header): Use it.
576 (tabulated-list-print-fake-header): New function.
577 (tabulated-list-print): Use it.
578 (tabulated-list-sort-button-map): Add non-header-line commands.
579 (tabulated-list-init-header): Add column name property to basic
580 labels as well.
581 (tabulated-list-col-sort): Handle non-header-line button case.
582 (tabulated-list--sort-by-column-name): Fix a corner case.
583
584 * buff-menu.el (list-buffers--refresh):
585 Handle Buffer-menu-use-header-line.
586
5872012-05-06 Chong Yidong <cyd@gnu.org>
588
589 * buff-menu.el: Convert to Tabulated List mode.
590 (Buffer-menu-buffer+size-width): Make obsolete.
591 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
592 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
593 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
594 documentation into docstring of buffer-menu.
595 (Buffer-menu-toggle-files-only): Add an informative message.
596 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
597 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
598 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
599 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
600 (Buffer-menu-execute, Buffer-menu-select)
601 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
602 (Buffer-menu-bury): Use Tabulated List machinery.
603 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
604 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
605 Delete.
606 (list-buffers--refresh): New function.
607 (list-buffers-noselect): Use it.
608 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
609 (Buffer-menu--pretty-file-name): New helper functions.
610
611 * loadup.el: Preload tabulated-list.
612
613 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
614 tabulated-list-sort-column.
615 (tabulated-list-init-header): Add the initial aligning space even
616 if tabulated-list-padding is zero.
617
6182012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
619
620 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
621 whose cdr is not a cons cell correctly (bug#11038).
622
6232012-05-06 Chong Yidong <cyd@gnu.org>
624
625 * emacs-lisp/tabulated-list.el (tabulated-list-format):
626 Accept additional plist in column descriptors.
627 (tabulated-list-init-header): Obey it.
628 (tabulated-list-get-entry): New function.
629 (tabulated-list-put-tag): Use it. Use string-width instead of
630 length.
631 (tabulated-list--column-number): New function.
632 (tabulated-list-print): Use it.
633 (tabulated-list-print-col): New function.
634 Set `tabulated-list-column-name' property on each column's text.
635 (tabulated-list-print-entry): Use it.
636 (tabulated-list-delete-entry, tabulated-list-set-col):
637 New functions.
638 (tabulated-list-sort-column): New command (Bug#11337).
639
640 * buff-menu.el (list-buffers): Move C-x C-b binding from
641 buff-menu.el to bindings.el.
642
643 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
644 :advertised-binding feature.
645
6462012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
647
648 * progmodes/compile.el (compilation-internal-error-properties):
649 Calculate start position correctly when end-col is set but
650 end-line is not (Bug#11382).
651
6522012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
653
654 * man.el (Man-unindent): Use text-property-default-nonsticky to
655 prevent untabify from inheriting face properties (Bug#11408).
656
6572012-05-05 Glenn Morris <rgm@gnu.org>
658
659 * calendar/cal-html.el: Optionally include holidays in the output.
660 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
661 (cal-html-holidays): New option.
662 (cal-html-css-default): Add holiday entry.
663 (holiday-in-range): Autoload it.
664 (cal-html-htmlify-entry): Add optional class argument.
665 (cal-html-htmlify-list): Add optional holidays argument.
666 (cal-html-insert-agenda-days): Include holidays in the output.
667 (cal-html-one-month): Maybe include holidays.
668
669 * calendar/holidays.el (holiday-in-range):
670 Move here from cal-tex-list-holidays.
671 * calendar/cal-tex.el (cal-tex-list-holidays):
672 Make it an obsolete alias for holiday-in-range. Update all callers.
673
6742012-05-05 Chong Yidong <cyd@gnu.org>
675
676 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
677 Nextstep.
678
6792012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
680
681 * files.el (file-auto-mode-skip): New var.
682 (set-auto-mode-1): Use it.
683
6842012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * repeat.el: Use lexical-binding.
687 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
688 (repeat-undo-count): Remove.
689 (repeat):
690 * progmodes/octave-mod.el (octave-abbrev-start):
691 * progmodes/f90.el (f90-abbrev-start):
692 * face-remap.el (text-scale-adjust):
693 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
694
695 * emacs-lisp/pcase.el (pcase--let*): New function.
696 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
697 a bit more.
698 (pcase--split-pred): Be more clever about ruling out overlap between
699 a predicate and some constant pattern.
700 (pcase--q1): Use `null' instead of (eq foo nil).
701
702 * subr.el (setq-local, defvar-local): New macros.
703 (kbd): Redefine as an alias.
704 (with-selected-window): Leave unrelated frames alone.
705 (set-temporary-overlay-map): New function.
706
7072012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
708
709 * subr.el (user-error): New function.
710 * window.el (switch-to-buffer):
711 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
712 (smerge-match-conflict):
713 * simple.el (previous-matching-history-element)
714 (next-matching-history-element, goto-history-element, undo-more)
715 (undo-start):
716 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
717 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
718 (next-file, tags-loop-scan, list-tags, complete-tag):
719 * progmodes/compile.el (compilation-loop):
720 * mouse.el (mouse-minibuffer-check):
721 * man.el (Man-bgproc-sentinel, Man-goto-page):
722 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
723 (Info-history-forward, Info-follow-reference, Info-menu)
724 (Info-extract-menu-item, Info-extract-menu-counting)
725 (Info-forward-node, Info-backward-node, Info-next-menu-item)
726 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
727 (Info-next-reference, Info-prev-reference, Info-index)
728 (Info-index-next, Info-follow-nearest-node)
729 (Info-copy-current-node-name):
730 * imenu.el (imenu--make-index-alist)
731 (imenu-default-create-index-function, imenu-add-to-menubar):
732 * files.el (basic-save-buffer, recover-file):
733 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
734 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
735 (checkdoc-message-text, checkdoc-defun):
736 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
737 * cus-edit.el (customize-changed-options, customize-rogue)
738 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
739 (custom-variable-mark-to-reset-standard)
740 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
741 (custom-file):
742 * completion.el (check-completion-length):
743 * comint.el (comint-search-arg)
744 (comint-previous-matching-input-string-position)
745 (comint-previous-matching-input)
746 (comint-replace-by-expanded-history-before-point, comint-send-input)
747 (comint-copy-old-input, comint-backward-matching-input)
748 (comint-goto-process-mark, comint-set-process-mark):
749 * calendar/calendar.el (calendar-cursor-to-date): Use it.
750 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
751
7522012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
753
754 * dabbrev.el (dabbrev--ignore-case-p): New function.
755 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
756 Use it.
757
758 * files.el (automount-dir-prefix): Mark as obsolete.
759
7602012-05-04 Glenn Morris <rgm@gnu.org>
761
762 * patcomp.el, play/bruce.el: Move to obsolete/.
763
7642012-05-04 Paul Eggert <eggert@cs.ucla.edu>
765
766 Fix minor Y10k bugs.
767 * arc-mode.el (archive-unixdate):
768 * autoinsert.el (auto-insert-alist):
769 * calc/calc-forms.el (math-this-year):
770 * emacs-lisp/copyright.el (copyright-current-year)
771 (copyright-update-year, copyright):
772 * tar-mode.el (tar-clip-time-string):
773 * time.el (display-time-update):
774 Don't assume years have 4 digits.
775
7762012-05-04 Chong Yidong <cyd@gnu.org>
777
778 * dos-w32.el (file-name-buffer-file-type-alist)
779 (direct-print-region-use-command-dot-com):
780 * ffap.el (ffap-menu-regexp):
781 * find-file.el (ff-special-constructs):
782 * follow.el (follow-debug):
783 * forms.el (forms--debug):
784 * iswitchb.el (iswitchb-all-frames):
785 * ido.el (ido-all-frames):
786 * emacs-lisp/timer.el (timer-max-repeats):
787 * mail/feedmail.el (feedmail-mail-send-hook)
788 (feedmail-mail-send-hook-queued):
789 * mail/footnote.el (footnote-signature-separator):
790 * mail/mailabbrev.el (mail-alias-separator-string)
791 (mail-abbrev-mode-regexp):
792 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
793 * progmodes/idlwave.el (idlwave-libinfo-file)
794 (idlwave-default-completion-case-is-down)
795 (idlwave-library-routines): Convert defvars to defcustoms.
796
797 * mail/rmail.el (rmail-decode-mime-charset):
798 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
799 (idlwave-shell-fix-inserted-breaks)
800 (idlwave-shell-activate-alt-keybindings)
801 (idlwave-shell-use-breakpoint-glyph):
802 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
803
8042012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
805
806 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
807
8082012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
809
810 * progmodes/verilog-mode.el (font-lock-keywords):
811 Fix mis-highligting auto. Reported by Craig Barner.
812 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
813 defines from global name space. Reported by Dan Dever.
814 (verilog-auto-reset, verilog-auto-reset-widths)
815 (verilog-auto-tieoff): Support using unbased numbers for
816 AUTORESET and AUTOTIEOFF.
817 (verilog-submit-bug-report): Update variable list.
818 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
819 parenthesis from not matching. Reported by Michael Rytting.
820 (verilog-auto-template-lint): Fix hash error when linting modules
821 with no used templates.
822 (verilog-warn, verilog-warn-error)
823 (verilog-warn-fatal): When non-interactive report multiple
824 warnings before exiting. Suggested by Brad Dobbie.
825 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
826 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
827 to report unused template errors. Reported by Brad Dobbie.
828 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
829 nets, bug438. Reported by Vns Blore.
830 (verilog-auto-inout-module, verilog-auto-reg)
831 (verilog-read-decls, verilog-read-sub-decls-sig)
832 (verilog-signals-edit-wire-reg, verilog-signals-with):
833 Fix passing of Verilog data types in ANSI input/output ports
834 such as "output logic" into the AUTOs. Special case "wire" and
835 "reg" for backwards compatibility presuming Verilog 2001.
836 (verilog-auto-ascii-enum): Add "auto enum" as alias.
837 (verilog-preprocess): Fix replication of preprocess output.
838 Reported by Brad Dobbie.
839 (verilog-auto-inst-interfaced-ports):
840 Create verilog-auto-inst-interfaced-ports, bug429.
841 Reported by Julian Gorfajn.
842 (verilog-after-save-font-hook)
843 (verilog-before-save-font-hook): New variable.
844 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
845 (verilog-save-font-mods): Wrap disabling fontification, reported
846 by David Rogoff.
847 (verilog-do-indent, verilog-pretty-declarations-auto)
848 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
849 Reported by Pierre-David Pfister.
850 (verilog-set-auto-endcomments): Fix endtask auto comments outside
851 of class declarations, bug292. Reported by Kevin Heilman.
852 (verilog-read-decls): Fix 'parameter type' not appearing in
853 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
854 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
855 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
856 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
857 Reported by David Kravitz.
858
8592012-05-03 Michael McNamara <mac@mail.brushroad.com>
860
861 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
862 assignment with tests in ifs and for loops.
863 (verilog-extended-complete-re, verilog-complete-reg): Change so
864 that DPI inport functions don't look like fuction declarations.
865 (verilog-pretty-expr): Don't line up assignment
866 operations to the test and increment in if and for loops
867 (verilog-extended-complete-re, verilog-complete-reg): Change so
868 that DPI inport functions don't look like fuction declarations
869
8702012-05-03 Kenichi Handa <handa@m17n.org>
871
872 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
873 decoding, and show a warning message without signalling an error
874 (Bug#11282).
875
8762012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
877
878 * emacs-lisp/bytecomp.el
879 (byte-compile-file-form-custom-declare-variable): Compile all elements,
880 since cconv.el might have introduced :fun-body, internal-make-closure,
881 and friends for bytecomp to handle (bug#11391).
882 * custom.el (defcustom): Avoid ((λ ..) ..).
883
8842012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
885
886 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
887
8882012-05-02 Juanma Barranquero <lekktu@gmail.com>
889
890 * notifications.el (dbus-debug):
891 * term/linux.el (gpm-mouse-enable):
892 * term/screen.el (xterm-register-default-colors): Declare.
893
8942012-05-02 Chong Yidong <cyd@gnu.org>
895
896 * cus-start.el (gc-cons-percentage, exec-suffixes)
897 (dos-display-scancodes, dos-hyper-key, dos-super-key)
898 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
899 (make-cursor-line-fully-visible, void-text-area-pointer)
900 (font-list-limit): Add customization data.
901
902 * allout.el (allout-exposure-change-functions)
903 (allout-structure-added-functions)
904 (allout-structure-deleted-functions)
905 (allout-structure-shifted-functions): Rename abnormal hooks from
906 *-hook, and convert to defcustoms.
907 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
908 Convert to defcustoms.
909 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
910
911 * allout-widgets.el: Hook callers changed.
912
9132012-05-02 Eli Zaretskii <eliz@gnu.org>
914
915 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
916 the yanked message in preference to the default value of
917 buffer-file-coding-system.
918
9192012-05-02 Martin Rudalics <rudalics@gmx.at>
920
921 * window.el (display-buffer--action-function-custom-type):
922 Fix entry.
923
9242012-05-02 Alan Mackenzie <acm@muc.de>
925
926 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
927
9282012-05-01 Glenn Morris <rgm@gnu.org>
929
930 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
931
932 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
933
934 * cus-edit.el (custom-variable-documentation): Simplify with format.
935
9362012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
937 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * simple.el (suggest-key-bindings, execute-extended-command):
940 Move from keyboard.c.
941
9422012-05-01 Chong Yidong <cyd@gnu.org>
943
944 * follow.el: Eliminate advice.
945 (set-process-filter, process-filter, sit-for): Advice deleted.
946 (follow-mode-off-hook): Obsolete hook removed.
947 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
948 Vars deleted.
949 (follow-auto): Use a :set function.
950 (follow-mode): Rewritten. Don't advise process filters.
951 (follow-switch-to-current-buffer-all, follow-scroll-up)
952 (follow-scroll-down): Assume follow-mode is bound.
953 (follow-comint-scroll-to-bottom)
954 (follow-align-compilation-windows): New functions.
955 (follow--window-sorter): New function.
956 (follow-all-followers): Use it to explicitly sort windows by their
957 positions; don't make assumptions about next-window order.
958 (follow-windows-start-end, follow-delete-other-windows-and-split)
959 (follow-calc-win-start): Doc fix.
960 (follow-windows-aligned-p, follow-select-if-visible): Don't call
961 vertical-motion unnecessarily.
962 (follow-adjust-window): New function.
963 (follow-post-command-hook): Use it.
964 (follow-call-set-process-filter, follow-call-process-filter)
965 (follow-intercept-process-output, follow-tidy-process-filter-alist)
966 (follow-stop-intercept-process-output, follow-generic-filter):
967 Functions deleted.
968 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
969 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
970 New functions, replacing advice on scroll-bar-* commands.
971 (follow-mwheel-scroll): New function (Bug#4112).
972
973 * comint.el (comint-adjust-point): New function.
974 (comint-postoutput-scroll-to-bottom): Use it.
975 Call follow-comint-scroll-to-bottom for Follow mode buffers.
976
9772012-05-01 Glenn Morris <rgm@gnu.org>
978
979 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
980 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
981 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
982 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
983 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
984 Remove no-byte-compile setting.
985
9862012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
987
988 * minibuffer.el (completion-table-with-quoting): Fix compatibility
989 all-completions code to not return a number in the last cdr.
990
9912012-04-30 Leo Liu <sdl.web@gmail.com>
992
993 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
994 read-only error.
995
9962012-04-29 Chong Yidong <cyd@gnu.org>
997
998 * follow.el (follow-calc-win-end): Rewrite to handle partial
999 screen lines correctly (Bug#8390).
1000 (follow-avoid-tail-recenter): Minor cleanup.
1001
10022012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 Avoid the obsolete `assoc' package.
1005 * speedbar.el (speedbar-refresh): Avoid adelete.
1006 (speedbar-file-lists): Simplify and avoid aput.
1007 * man.el (Man--sections, Man--refpages): New vars, replacing
1008 Man-sections-alist and Man-refpages-alist.
1009 (Man-build-section-alist, Man-build-references-alist):
1010 Use them; avoid aput.
1011 (Man--last-section, Man--last-refpage): New vars.
1012 (Man-follow-manual-reference): Use them.
1013 Use the `default' arg of completing-read.
1014 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
1015
10162012-04-27 Chong Yidong <cyd@gnu.org>
1017
1018 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
1019
1020 * startup.el (x-apply-session-resources): New function.
1021
1022 * term/ns-win.el (ns-initialize-window-system):
1023 * term/w32-win.el (w32-initialize-window-system):
1024 * term/x-win.el (x-initialize-window-system): Use it to properly
1025 set menu-bar-mode and other vars from X resources, even if the
1026 initial frame is not a window-system frame (Bug#2299).
1027
1028 * subr.el (read-key): Avoid running filter function when setting
1029 up temporary tool bar entries (Bug#9922).
1030
10312012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1032
1033 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
1034 (Bug#11344)
1035
10362012-04-27 Chong Yidong <cyd@gnu.org>
1037
1038 * select.el (xselect--encode-string): New function, split from
1039 xselect-convert-to-string.
1040 (xselect-convert-to-string): Use it.
1041 (xselect-convert-to-filename, xselect-convert-to-os)
1042 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
1043 returned strings are properly encoded (Bug#11315).
1044
10452012-04-27 Chong Yidong <cyd@gnu.org>
1046
1047 * simple.el (delete-active-region): Move to killing custom group.
1048
10492012-04-27 Andreas Schwab <schwab@linux-m68k.org>
1050
1051 * progmodes/which-func.el (which-func-current): Quote %
1052 characters for mode-line processing.
1053
10542012-04-27 Chong Yidong <cyd@gnu.org>
1055
1056 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
1057 reaching eob (Bug#11286).
1058
10592012-04-27 Eli Zaretskii <eliz@gnu.org>
1060
1061 * progmodes/gdb-mi.el (gdb-control-level): New variable.
1062 (gdb): Make it buffer-local and init to zero.
1063 (gdb-control-commands-regexp): New variable.
1064 (gdb-send): Don't wrap in "-interpreter-exec console" if
1065 gdb-control-level is positive. Increment gdb-control-level
1066 whenever the command matches gdb-control-commands-regexp, and
1067 decrement it each time the command is "end". (Bug#11279)
1068
10692012-04-27 Martin Rudalics <rudalics@gmx.at>
1070
1071 * window.el (adjust-window-trailing-edge, enlarge-window)
1072 (shrink-window, window-resize):
1073 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
1074 windows (Bug#11276).
1075
10762012-04-27 Chong Yidong <cyd@gnu.org>
1077
1078 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
1079 fix "missing prefix" warning. All callers changed.
1080
10812012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1082
1083 * emacs-lisp/assoc.el: Move to obsolete/.
1084
10852012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1086
1087 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
1088
1089 * term/ns-win.el (ns-define-service):
1090 * progmodes/pascal.el (pascal-goto-defun):
1091 * progmodes/js.el (js--read-tab):
1092 * progmodes/etags.el (tags-lazy-completion-table):
1093 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
1094 * emacs-lisp/ewoc.el (ewoc--wrap):
1095 * emacs-lisp/assoc.el (aput, adelete, amake):
1096 * doc-view.el (doc-view-convert-current-doc):
1097 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
1098
10992012-04-26 Chong Yidong <cyd@gnu.org>
1100
1101 * image.el (image-type-from-buffer): Only return supported image
1102 type (Bug#9045).
1103
1104 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
1105 value, for symmetry with diff-end-of-hunk.
1106 (diff-split-hunk, diff-find-source-location)
1107 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
1108 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
1109 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
1110 compute the relevant hunk or file properly (Bug#6005).
1111 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
1112
11132012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
1114
1115 * vc/vc-mtn.el:
1116 * vc/vc-hg.el:
1117 * vc/vc-git.el:
1118 * vc/vc-dir.el:
1119 * vc/vc-cvs.el:
1120 * vc/vc-bzr.el:
1121 * vc/vc-arch.el:
1122 * vc/vc.el: Replace lexical-let by lexical-binding.
1123 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
1124 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
1125 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
1126
11272012-04-26 Chong Yidong <cyd@gnu.org>
1128
1129 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
1130 (diff-mode-shared-map): Bind it to / and [remap undo].
1131
1132 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
1133 (ediff-window-setup-function): Use it as the default, to set up
1134 windows based on whether the current frame is graphical (Bug#2138).
1135 (ediff-choose-window-setup-function-automatically): Make obsolete.
1136
1137 * vc/ediff-init.el: Always define ediff-pixel-width/height.
1138
11392012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * ffap.el: Remove old code for obsolete package.
1142 (ffap-complete-as-file-p): Remove.
1143
1144 Use completion-table-with-quoting for comint and pcomplete.
1145 * comint.el (comint--unquote&requote-argument)
1146 (comint--unquote-argument, comint--requote-argument): New functions.
1147 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
1148 (comint-quote-filename): Use regexp-opt-charset.
1149 (comint--common-suffix, comint--common-quoted-suffix)
1150 (comint--table-subvert): Remove.
1151 (comint-unquote-function, comint-requote-function): New vars.
1152 (comint--complete-file-name-data): Use them with
1153 completion-table-with-quoting.
1154 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
1155 * pcomplete.el (pcomplete-arg-quote-list)
1156 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
1157 (pcomplete-unquote-argument-function): Default to non-nil.
1158 (pcomplete-unquote-argument): Simplify.
1159 (pcomplete--common-quoted-suffix): Remove.
1160 (pcomplete-requote-argument-function): New var.
1161 (pcomplete--common-suffix): New function.
1162 (pcomplete-completions-at-point): Use completion-table-with-quoting
1163 and completion-table-subvert.
1164
1165 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
1166 (minibuffer--double-dollars): Preserve properties.
1167 (completion--sifn-requote): New function.
1168 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
1169
1170 * minibuffer.el: Add support for completion of quoted/escaped data.
1171 (completion-table-with-quoting, completion-table-subvert): New funs.
1172 (completion--twq-try, completion--twq-all): New functions.
1173 (completion--nth-completion): New function.
1174 (completion-try-completion, completion-all-completions): Use it.
1175
11762012-04-25 Leo Liu <sdl.web@gmail.com>
1177
1178 * progmodes/python.el (python-pdbtrack-get-source-buffer):
1179 Use compilation-message if available to find real filename.
1180
11812012-04-25 Chong Yidong <cyd@gnu.org>
1182
1183 * vc/diff-mode.el (diff-setup-whitespace): New function.
1184 (diff-mode): Use it.
1185
1186 * vc/diff.el (diff-sentinel):
1187 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
1188 Whitespace mode variables based on diff style (Bug#8612).
1189
11902012-04-25 Leo Liu <sdl.web@gmail.com>
1191
1192 * progmodes/python.el (python-send-region): Add suffix .py to the
1193 temp file.
1194
1195 * files.el (auto-mode-alist): Use javascript-mode instead.
1196
11972012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
1198
1199 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
1200
1201 * soap-client.el (soap-resolve-references-for-sequence-type)
1202 (soap-resolve-references-for-array-type): Hack to prevent self
1203 references, see Bug#9.
1204 (soap-parse-envelope): Report the contents of the 'detail' node
1205 when receiving a fault reply.
1206 (soap-parse-envelope): Report the contents of the entire 'detail' node.
1207
1208 * soap-inspect.el (soap-sample-value-for-simple-type)
1209 (soap-inspect-simple-type): New function.
1210
1211 * soap-client.el (soap-simple-type): New struct.
1212 (soap-default-xsd-types, soap-default-soapenc-types)
1213 (soap-decode-basic-type, soap-encode-basic-type):
1214 support unsignedInt and double basic types.
1215 (soap-resolve-references-for-simple-type)
1216 (soap-parse-simple-type, soap-encode-simple-type): New function.
1217 (soap-parse-schema): Parse xsd:simpleType declarations.
1218
1219 * soap-client.el (soap-default-xsd-types)
1220 (soap-default-soapenc-types): Add integer, byte and anyURI types.
1221 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
1222 the local name of "soapenc:Array".
1223 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
1224 decoding integer, byte and anyURI xsd types.
1225
12262012-04-25 Chong Yidong <cyd@gnu.org>
1227
1228 * cus-edit.el (custom-buffer-create-internal): Update header text.
1229
12302012-04-25 Eli Zaretskii <eliz@gnu.org>
1231
1232 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
1233 settings on 'system-type', not on 'window-system'. On MS-Windows,
1234 set interactive-mode on in GDB.
1235
12362012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1237
1238 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
1239 (ruby-syntax-propertize-regexp): Remove.
1240 (ruby-syntax-propertize-function): Split regexp into chunks.
1241 Match following code directly.
1242
12432012-04-24 Dmitry Gutov <dgutov@yandex.ru>
1244
1245 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
1246 (ruby-syntax-propertize-regexp): New function.
1247 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
1248 by a special keyword.
1249
1250 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
1251 (ruby-syntax-general-delimiters-goto-beg)
1252 (ruby-syntax-propertize-general-delimiters): New functions.
1253 (ruby-syntax-propertize-function): Use them to handle GDL.
1254 (ruby-font-lock-keywords): Move old handling of GDL...
1255 (ruby-font-lock-syntactic-keywords): .. to here.
1256 (ruby-calculate-indent): Adjust indentation for GDL.
1257
12582012-04-24 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * notifications.el (top): Remove unneeded declarations.
1261 (notifications-specification-version): Change to "1.2".
1262 (notifications-interface, notifications-notify-method)
1263 (notifications-close-notification-method): Fix docstring.
1264 (notifications-get-capabilities-method): New defconst.
1265 (notifications-notify): Add :action-items, :resident and
1266 :transient hints. Change "image_data" to "image-data" and
1267 "image_path" to "image-path".
1268 (notifications-get-capabilities): New defun.
1269
12702012-04-24 Leo Liu <sdl.web@gmail.com>
1271
1272 * progmodes/python.el: Move hideshow setup to the end.
1273
12742012-04-24 Martin Rudalics <rudalics@gmx.at>
1275
1276 * window.el (handle-select-window): Clear echo area since this is
1277 no more done by read_char (Bug#11304).
1278
12792012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1280
1281 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
1282 and `/ M' to filter-derived-mode.
1283 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
1284 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
1285 (ibuffer-mark-by-mode): Use default rather than initial-input.
1286 (ibuffer-filter-by-derived-mode): Autoload and require-match.
1287
12882012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
1289
1290 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
1291 (ibuffer-filter-by-derived-mode): New filter.
1292 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
1293
12942012-04-23 Andreas Politz <politza@fh-trier.de>
1295
1296 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
1297
12982012-04-23 Chong Yidong <cyd@gnu.org>
1299
1300 * cus-edit.el (customize-apropos, customize-apropos-options):
1301 Disable matching of non-option variables (Bug#11176).
1302 (customize-option, customize-option-other-window)
1303 (customize-changed-options): Doc fix.
1304 (customize-apropos-options, customize-apropos-faces)
1305 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
1306
1307 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
1308 Fix word list splitting (Bug#11132).
1309 (apropos-symbol, apropos-keybinding, apropos-label)
1310 (apropos-property, apropos-function-button)
1311 (apropos-variable-button, apropos-misc-button): New faces.
1312 (apropos-symbol-face, apropos-keybinding-face)
1313 (apropos-label-face, apropos-property-face, apropos-match-face):
1314 Variables removed (Bug#8396).
1315 (apropos-library-button, apropos-format-plist, apropos-print)
1316 (apropos-print-doc, apropos-describe-plist): Callers changed.
1317
13182012-04-23 Michael Albinus <michael.albinus@gmx.de>
1319
1320 * net/xesam.el (xesam-mode-map): Use let-bound map in
1321 initialization. (Bug#11292)
1322
13232012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1324
1325 Preserve ispell session localwords when switching back to
1326 original buffer.
1327
1328 * ispell.el (ispell-buffer-session-localwords): New buffer-local
1329 variable to hold buffer session localwords.
1330 (ispell-kill-ispell): add option 'clear to delete session
1331 localwords.
1332 (ispell-command-loop, ispell-change-dictionary)
1333 (ispell-buffer-local-words): Preserve session localwords when
1334 needed.
1335
1336 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
1337 Preserve session localwords when needed.
1338
13392012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1340
1341 * ispell.el (ispell-insert-word) Remove unneeded function using
1342 obsolete `translation-table-for-input'.
1343 (ispell-word, ispell-process-line, ispell-complete-word):
1344 Use plain `insert' instead of removed `ispell-insert-word'.
1345
13462012-04-22 Chong Yidong <cyd@gnu.org>
1347
1348 * cus-edit.el (custom-variable-menu)
1349 (custom-variable-reset-saved, custom-face-menu)
1350 (custom-face-reset-saved): If there is no saved value, make the
1351 "reset-saved" operation bring back the default (Bug#9509).
1352 (custom-face-state): Properly detect themed faces.
1353
1354 * faces.el (face-spec-set): Stop supporting deprecated form of
1355 third arg.
1356
13572012-04-22 Michael Albinus <michael.albinus@gmx.de>
1358
1359 Move functions from C to Lisp. Make non-blocking method calls
1360 the default. Implement further D-Bus standard interfaces.
1361
1362 * net/dbus.el (dbus-message-internal): Declare function.
1363 Remove unneeded function declarations.
1364 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
1365 (dbus-message-type-method-return, dbus-message-type-error)
1366 (dbus-message-type-signal): Declare variables. Remove local
1367 definitions.
1368 (dbus-interface-dbus, dbus-interface-peer)
1369 (dbus-interface-introspectable, dbus-interface-properties)
1370 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
1371 Adapt docstring.
1372 (dbus-interface-objectmanager): New defconst.
1373 (dbus-call-method, dbus-call-method-asynchronously)
1374 (dbus-send-signal, dbus-method-return-internal)
1375 (dbus-method-error-internal, dbus-register-service)
1376 (dbus-register-signal, dbus-register-method): New defuns, moved
1377 from dbusbind.c
1378 (dbus-call-method-handler, dbus-setenv)
1379 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
1380 New defuns.
1381 (dbus-call-method-non-blocking): Make it an obsolete function.
1382 (dbus-unregister-object, dbus-unregister-service)
1383 (dbus-handle-event, dbus-register-property)
1384 (dbus-property-handler): Obey the new structure of
1385 `bus-registered-objects'.
1386 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
1387 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
1388 Use `dbus-call-method'.
1389
13902012-04-22 Chong Yidong <cyd@gnu.org>
1391
1392 * cus-edit.el (custom-commands, custom-reset-menu)
1393 (Custom-reset-standard): Tweak labels.
1394 (custom-reset-button-menu): Change default to t.
1395 (custom-buffer-create-internal): For the custom-reset-button-menu
1396 case, put the revert button first.
1397 (custom-group-subtitle): New face.
1398 (custom-group-value-create): Align docstring to a specific column.
1399
1400 * wid-edit.el (widget-documentation-link-add): Don't handle
1401 indentation in this function.
1402 (widget-documentation-string-indent-to): New function.
1403 (widget-documentation-string-value-create): Use it.
1404
1405 * autorevert.el (auto-revert):
1406 * epg-config.el (epg):
1407 * ibuffer.el (ibuffer):
1408 * mpc.el (mpc):
1409 * ses.el (ses):
1410 * eshell/eshell.el (eshell):
1411 * net/ange-ftp.el (ange-ftp):
1412 * progmodes/ebnf2ps.el (postscript):
1413 * progmodes/flymake.el (flymake):
1414 * progmodes/prolog.el (prolog):
1415 * progmodes/verilog-mode.el (verilog-mode):
1416 * progmodes/which-func.el (which-func):
1417 * term/xterm.el (xterm):
1418 * textmodes/picture.el (picture):
1419 * textmodes/tildify.el (tildify):
1420 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
1421 customization buffers.
1422
14232012-04-22 Alan Mackenzie <acm@muc.de>
1424
1425 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
1426 Adding a ) can hide the resulting (..) from searches. Fix it.
1427 Bound the backward search to the position of the existing (.
1428
14292012-04-21 Juanma Barranquero <lekktu@gmail.com>
1430
1431 * progmodes/verilog-mode.el (verilog-mode): Check whether
1432 which-func-modes is t before adding verilog-mode.
1433 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
1434
14352012-04-21 Leo Liu <sdl.web@gmail.com>
1436
1437 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
1438
14392012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
1440
1441 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
1442 filling of the last column of a table (Bug#5635).
1443 (woman-find-next-control-line): New arg, specifying an additional
1444 regexp component for the control line.
1445 (woman2-roff-buffer): Use it.
1446 (woman-break-table): New function.
1447 (woman2-TS): Use it.
1448
14492012-04-21 Chong Yidong <cyd@gnu.org>
1450
1451 * woman.el (woman-set-buffer-display-table, woman-decode-region)
1452 (woman-horizontal-escapes, woman-negative-vertical-space)
1453 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
1454 (WoMan-warn-ignored): Use ?\s instead of ?\ .
1455
14562012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1457
1458 * minibuffer.el (completion-file-name-table): Complete user names.
1459
14602012-04-20 Leo Liu <sdl.web@gmail.com>
1461
1462 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
1463 and pcase-let*.
1464
14652012-04-20 Chong Yidong <cyd@gnu.org>
1466
1467 * server.el (server-execute): Respect initial-buffer-choice if it
1468 is a string and there are no files to open (Bug#2825).
1469 (server-create-window-system-frame, server-create-tty-frame):
1470 Don't switch buffers here.
1471 (server-process-filter): Only try to open a window system frame if
1472 compiled with graphical support (Bug#8314).
1473
14742012-04-20 Dan Nicolaescu <dann@gnu.org>
1475
1476 * battery.el (battery-echo-area-format): Display remaining time
1477 for sysfs backend too (Bug#11269).
1478 (battery-linux-sysfs): Fix conditional for the charge.
1479
14802012-04-20 Chong Yidong <cyd@gnu.org>
1481
1482 * progmodes/gdb-mi.el (gdb): Revert previous change.
1483 (gdb-inferior-io--init-proc): New function.
1484 (gdb-init-1): Use it.
1485 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
1486 responsible for allocating a new pty and hooking it to gdb when
1487 the old pty gets an EIO due to process exit.
1488 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
1489 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
1490 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
1491
14922012-04-20 Eli Zaretskii <eliz@gnu.org>
1493
1494 * window.el (window-min-size, window-sizable, window-min-delta)
1495 (window-max-delta, window--resizable, window-resizable)
1496 (window-total-size, window-full-height-p, window-full-width-p)
1497 (window-in-direction, window--resize-mini-window, window-resize)
1498 (window--resize-child-windows-normal)
1499 (window--resize-child-windows, window--resize-siblings)
1500 (window--resize-this-window, adjust-window-trailing-edge)
1501 (enlarge-window, shrink-window): Doc fixes.
1502
15032012-04-20 Chong Yidong <cyd@gnu.org>
1504
1505 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
1506 New function to call delete-process on the gdb-inferior buffer's pty.
1507 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
1508 pty process (Bug#11273).
1509 (gdb-update): New arg to suppress talking to the gdb process.
1510 (gdb-done-or-error): Use it.
1511 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
1512 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
1513 sentinel not being called.
1514
1515 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
1516
1517 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
1518
15192012-04-20 Glenn Morris <rgm@gnu.org>
1520
1521 * net/network-stream.el (open-network-stream): Doc fix.
1522
15232012-04-20 Chong Yidong <cyd@gnu.org>
1524
1525 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
1526
15272012-04-20 Alan Mackenzie <acm@muc.de>
1528
1529 Ensure searching for keywords is case sensitive.
1530
1531 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
1532 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
1533 (c-defun-name, c-mark-function, c-cpp-define-name)
1534 (c-comment-indent, c-scan-conditionals, c-indent-defun)
1535 (c-context-line-break): Bind case-fold-search to nil.
1536
1537 * progmodes/cc-mode.el (c-font-lock-fontify-region):
1538 Bind case-fold-search to nil.
1539
15402012-04-20 Chong Yidong <cyd@gnu.org>
1541
1542 * mail/sendmail.el (mail-bury): Call return action with the right
1543 Rmail buffer (Bug#11242).
1544
1545 * server.el (server-process-filter): Handle corner case where both
1546 tty and nowait options are present (Bug#11102).
1547
15482012-04-20 Eli Zaretskii <eliz@gnu.org>
1549
1550 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
1551 (top level): Put into the executable the ident-style '$Id:' tag on
1552 windows-nt as well.
1553
15542012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * electric.el (electric-indent-post-self-insert-function): Check that
1557 electric-indent-mode is enabled in current buffer.
1558
15592012-04-19 Juanma Barranquero <lekktu@gmail.com>
1560
1561 * imenu.el (imenu-progress-message): Restore; it is "used" in
1562 erc/erc-imenu.el and net/snmp-mode.el.
1563
15642012-04-19 Juanma Barranquero <lekktu@gmail.com>
1565
1566 * avoid.el (mouse-avoidance-mode): Mark unused arg.
1567 (mouse-avoidance-nudge-mouse): Remove unused binding.
1568
1569 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
1570
1571 * descr-text.el (describe-char):
1572 * progmodes/python.el (python-describe-symbol):
1573 Don't call `toggle-read-only', set `buffer-read-only'.
1574
1575 * imenu.el (imenu-default-goto-function): Mark unused args.
1576 (imenu-progress-message): Remove obsolete macro; all callers changed.
1577
1578 * subr.el (keymap-canonicalize): Remove unused binding.
1579 (read-passwd): Mark unused arg.
1580
1581 * tutorial.el (tutorial--display-changes): Remove unused binding.
1582 (tutorial--save-tutorial-to): Remove unused variable.
1583
1584 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
1585 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
1586 (package-generate-autoloads, package-menu--generate)
1587 (package-menu--find-upgrades): Remove unused bindings.
1588
1589 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
1590 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
1591 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
1592 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
1593 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
1594 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
1595 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
1596 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
1597 (cua-delete-char-rectangle): Mark unused args.
1598 (cua-align-rectangle): Remove unused binding.
1599
1600 * mail/rmail.el (compilation--message->loc)
1601 (epa--find-coding-system-for-mime-charset): Declare.
1602
1603 * net/dbus.el (dbus-register-service): Declare.
1604 (dbus-name-owner-changed-handler): Remove unused binding.
1605
1606 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
1607 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
1608 (nxml-scan-backward-within): Mark unused arg.
1609 (nxml-dynamic-markup-word): Remove unused binding.
1610
1611 * mouse.el (mouse-menu-major-mode-map):
1612 * emacs-lisp/authors.el (authors-scan-change-log)
1613 (authors-add-to-author-list):
1614 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
1615 * emacs-lisp/smie.el (smie-auto-fill):
1616 * mail/sendmail.el (mail-bury):
1617 * mail/unrmail.el (unrmail):
1618 * net/tls.el (open-tls-stream):
1619 * textmodes/picture.el (picture-mouse-set-point):
1620 Remove unused bindings.
1621
16222012-04-19 Michael Albinus <michael.albinus@gmx.de>
1623
1624 * net/tramp.el (tramp-action-password): Let-bind
1625 `enable-recursive-minibuffers' to t.
1626
16272012-04-18 Sam Steingold <sds@gnu.org>
1628
1629 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
1630 instead of 'string to accommodate values like [f11].
1631 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
1632 * progmodes/gdb-mi.el: Likewise.
1633
16342012-04-18 Leo Liu <sdl.web@gmail.com>
1635
1636 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
1637 current buffer.
1638 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
1639 LOCAL is nil.
1640
16412012-04-18 Chong Yidong <cyd@gnu.org>
1642
1643 * simple.el (line-move): Use forward-line if in batch mode
1644 (Bug#11053).
1645
16462012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
1647
1648 * files.el (after-find-file): Do not try to add a final newline if
1649 the buffer is read-only (Bug#11156).
1650
16512012-04-17 Richard Stallman <rms@gnu.org>
1652
1653 * mail/rmail.el (rmail-start-mail):
1654 Pass (rmail-mail-return...) for the return-action.
1655 Pass (rmail-yank-current-message...) for the yank-action.
1656 (rmail-yank-current-message): New function.
1657 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
1658 (rmail-reply): Likewise.
1659 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
1660
1661 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
1662 buffer, not the last. Reject temp buffers. Use the rmail-mode
1663 buffer, not newbuf.
1664
16652012-04-17 Juanma Barranquero <lekktu@gmail.com>
1666
1667 * server.el (server-ensure-safe-dir): Simplify.
1668
16692012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
1670
1671 * emacs-lisp/smie.el: Provide smarter auto-filling.
1672 (smie-auto-fill): New function.
1673 (smie-setup): Use it.
1674
1675 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
1676
16772012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
1678
1679 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
1680 (comment-indent): Use it.
1681
16822012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
1683
1684 * ses.el: The overall change is to add cell renaming, that is
1685 setting fancy names for cell symbols other than name matching
1686 "\\`[A-Z]+[0-9]+\\'" regexp .
1687 (ses-localvars): Add ses--renamed-cell-symb-list.
1688 (ses-create-cell-variable): New defun.
1689 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
1690 (ses-relocate-formula): Relocate formulas only for cells the
1691 symbols of which are not renamed, i.e. symbols whose names do not
1692 match regexp "\\`[A-Z]+[0-9]+\\'".
1693 (ses-relocate-all): Relocate values only for cells the symbols of
1694 which are not renamed.
1695 (ses-load): Create cells variables as the (ses-cell ...) are read,
1696 in order to check row col consistency with cell symbol name only
1697 for cells that are not renamed.
1698 (ses-replace-name-in-formula): New defun.
1699 (ses-rename-cell): New defun.
1700
17012012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
1702
1703 * progmodes/perl-mode.el (perl-indent-parens-as-block):
1704 New option (bug#11118).
1705 (perl-calculate-indent): Respect it.
1706
17072012-04-17 Glenn Morris <rgm@gnu.org>
1708
1709 * dired-aux.el (dired-mark-read-string): Doc fix.
1710
17112012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
1712
1713 * dired-aux.el (dired-mark-read-string): Offer optional completion.
1714 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
1715
17162012-04-17 Glenn Morris <rgm@gnu.org>
1717
1718 * mouse.el (mouse-drag-track):
1719 * speedbar.el (speedbar-frame-mode):
1720 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
1721
17222012-04-16 Leo Liu <sdl.web@gmail.com>
1723
1724 * progmodes/python.el: Trivial cleanup.
1725
17262012-04-16 Glenn Morris <rgm@gnu.org>
1727
1728 * vc/vc.el (vc-string-prefix-p):
1729 * vc/pcvs-util.el (cvs-string-prefix-p):
1730 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
1731 * mpc.el (mpc-string-prefix-p):
1732 Make all of these into obsolete aliases for string-prefix-p.
1733 Update callers.
1734 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
1735
1736 * textmodes/two-column.el: Move custom options to the start.
1737 (frame-width): Remove compat definition.
1738 (2C-associate-buffer, 2C-dissociate):
1739 Use with-current-buffer rather than save-excursion.
1740 (2C-dissociate): Force a mode-line update.
1741 (2C-autoscroll): Use ignore-errors.
1742
1743 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
1744 Autoload trivia.
1745
1746 * emacs-lisp/cl-extra.el (*random-state*):
1747 Remove unnecessary declaration.
1748
1749 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
1750
1751 * play/cookie1.el (cookie-snarf):
1752 Give an explicit error if input file cannot be read.
1753
1754 * play/yow.el (yow-file): Use expand-file-name rather than concat.
1755
1756 * progmodes/perl-mode.el (c-macro-expand):
1757 Remove unnecessary autoload (it is in loaddefs.el).
1758
1759 * textmodes/picture.el (picture-desired-column)
1760 (picture-update-desired-column): Convert comments to doc-strings.
1761 (picture-substitute): Remove function.
1762 (picture-mode-map): Initialize in the defvar.
1763
1764 * woman.el: Remove eval-after-load for tar-mode.
1765 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
1766 (woman-tar-extract-file): Autoload it.
1767
1768 * frame.el (automatic-hscrolling): Make this alias obsolete.
1769
17702012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1771
1772 * ispell.el (ispell-set-spellchecker-params): Post-process
1773 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
1774 (ispell-dictionary-base-alist): Revert to original XEmacs
1775 friendly version for default. [:alpha:] will be added in
1776 `ispell-set-spellchecker-params' if needed
1777
17782012-04-16 Chong Yidong <cyd@gnu.org>
1779
1780 * image.el (imagemagick--extension-regexp): New variable.
1781 (imagemagick-register-types): Use it.
1782 (imagemagick-types-inhibit): Add :set function. Allow new value
1783 of t to inhibit all types.
1784
1785 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
1786 so we can preload it.
1787
1788 * loadup.el (fboundp): Preload regexp-opt, needed by
1789 imagemagick-register-types.
1790
17912012-04-15 Chong Yidong <cyd@gnu.org>
1792
1793 * frame.el (scrolling): Remove nearly unused customization group.
1794
1795 * scroll-all.el (scroll-all-mode): Move to windows group.
1796
17972012-04-15 Chong Yidong <cyd@gnu.org>
1798
1799 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
1800
18012012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1802
1803 Avoid the use of ((lambda ...) ...) in lexical-binding code.
1804 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
1805
18062012-04-15 Glenn Morris <rgm@gnu.org>
1807
1808 * simple.el (process-file-side-effects): Doc fix.
1809
18102012-04-15 Glenn Morris <rgm@gnu.org>
1811
1812 * international/mule-cmds.el (set-language-environment): Doc fix.
1813
18142012-04-14 Juanma Barranquero <lekktu@gmail.com>
1815
1816 * server.el (server-auth-key, server-generate-key): Doc fixes.
1817 (server-get-auth-key): Doc fix. Use `string-match-p'.
1818 (server-start): Reflow docstring.
1819
18202012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
1821
1822 * server.el (server-generate-key): `called-interactively-p'
1823 requires a parameter.
1824
18252012-04-14 Michal Nazarewicz <mina86@mina86.com>
1826
1827 * server.el (server-auth-key): New variable.
1828 (server-generate-key, server-get-auth-key): New function.
1829 (server-start): Use the new variable and functions to allow
1830 setting a permanent server key (bug#9423).
1831
18322012-04-14 Leo Liu <sdl.web@gmail.com>
1833
1834 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
1835
18362012-04-14 Paul Eggert <eggert@cs.ucla.edu>
1837
1838 Spelling fixes.
1839 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
1840 Emacs uses American spelling.
1841
18422012-04-14 Juanma Barranquero <lekktu@gmail.com>
1843
1844 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
1845 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
1846 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
1847 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
1848
18492012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * progmodes/which-func.el (which-func-modes): Change default.
1852
18532012-04-14 Kim F. Storm <storm@cua.dk>
1854
1855 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
1856 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
1857
18582012-04-14 Chong Yidong <cyd@gnu.org>
1859
1860 * custom.el (custom-theme-set-variables): Doc fix.
1861
18622012-04-14 Glenn Morris <rgm@gnu.org>
1863
1864 * international/mule.el (set-auto-coding-for-load): Doc fix.
1865
18662012-04-14 Alan Mackenzie <acm@muc.de>
1867
1868 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
1869 imenu work again for Objective C Mode. Correct the *-index values,
1870 these having been disturbed by a previous change in 2011-08.
1871
1872 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
1873 Correct two search limits.
1874
18752012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1876
1877 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
1878
18792012-04-14 Andreas Schwab <schwab@linux-m68k.org>
1880
1881 * international/characters.el: Fix sorting.
1882
18832012-04-14 Eli Zaretskii <eliz@gnu.org>
1884
1885 * international/characters.el: Add more missing Latin case pairs.
1886
18872012-04-14 Glenn Morris <rgm@gnu.org>
1888
1889 * files.el (dir-locals-set-class-variables): Doc fix.
1890
18912012-04-14 Eli Zaretskii <eliz@gnu.org>
1892
1893 * international/characters.el: Add set-case-syntax-pair call for
1894 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
1895 counterpart. (Bug#11209)
1896
1897 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
1898
18992012-04-14 Glenn Morris <rgm@gnu.org>
1900
1901 * calendar/holidays.el (calendar-check-holidays): Doc fix.
1902
19032012-04-14 Eli Zaretskii <eliz@gnu.org>
1904
1905 * textmodes/ispell.el (ispell-dictionary-base-alist):
1906 Add data for Hebrew.
1907
19082012-04-14 Chong Yidong <cyd@gnu.org>
1909
1910 * net/rcirc.el (rcirc-cmd-quit):
1911 Revert 2012-03-18 change (Bug#11192).
1912
19132012-04-14 Glenn Morris <rgm@gnu.org>
1914
1915 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
1916
19172012-04-14 Eli Zaretskii <eliz@gnu.org>
1918
1919 * minibuffer.el (completion-in-region-mode-map):
1920 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
1921
19222012-04-13 Vivek Dasmohapatra <vivek@etla.org>
1923
1924 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
1925
19262012-04-13 Masatake YAMATO <yamato@redhat.com>
1927
1928 * minibuffer.el (minibuffer-local-filename-syntax): New variable
1929 to allow `C-M-f' and `C-M-b' to move to the nearest path
1930 separator (bug#9511).
1931
19322012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
1933
1934 * avoid.el: Require cl when compiling. And also move the
1935 `provide' to the end.
1936
19372012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1938
1939 * avoid.el (mouse-avoidance-banish-position): New variable.
1940 (mouse-avoidance-banish-destination): Use it (bug#10165).
1941
19422012-04-13 Leo Liu <sdl.web@gmail.com>
1943
1944 * progmodes/which-func.el (which-func-modes): Add objc-mode.
1945
19462012-04-13 Ken Brown <kbrown@cornell.edu>
1947
1948 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
1949 this is no longer needed now that cygstart understands file:// URLs.
1950 (browse-url-filename-alist): For the same reason, don't modify
1951 file:// URLs on Cygwin.
1952
19532012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1954
1955 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
1956 the region on shift if the binding is already shifted (bug#11221).
1957
19582012-04-12 Glenn Morris <rgm@gnu.org>
1959
1960 * mail/mailpost.el: Move to obsolete/.
1961
19622012-04-12 Drew Adams <drew.adams@oracle.com>
1963
1964 * imenu.el (imenu--generic-function): Ignore invisible definitions
1965 (bug#10123).
1966
19672012-04-12 Vivek Dasmohapatra <vivek@etla.org>
1968
1969 * hexl.el (hexl-bits): New variable.
1970 (hexl-options): Mention the variable in the doc string.
1971 (hexl-rulerise, hexl-line-displen): New functions.
1972 (hexl-mode): Mention the new variable.
1973 (hexl-mode, hexl-current-address, hexl-current-address):
1974 Use the displen.
1975 (hexl-ascii-start-column): New function.
1976 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
1977 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
1978
19792012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1980
1981 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
1982 '("-i" ENCODING), in 2 separate command-line arguments, to specify
1983 the encoding, as expected by hunspell.
1984
19852012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1986
1987 * battery.el (battery--linux-sysfs-regexp): New const.
1988 (battery-status-function): Use it. Remove yeeloong special case.
1989 (battery-yeeloong-sysfs): Remove.
1990 (battery-echo-area-format): Remove yeeloong special case.
1991
19922012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
1995 Reported by Noah Friedman.
1996
1997 * subr.el (read-passwd): Use read-string.
1998
19992012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2000
2001 * vcursor.el (vcursor-move): Increase the priority of the overlay
2002 (bug#9663).
2003
20042012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
2005
2006 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
2007 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
2008
20092012-04-11 William Stevenson <yhvh2000@gmail.com>
2010
2011 * textmodes/artist.el (artist-mode): Convert artist-mode to use
2012 define-minor-mode (bug#10760).
2013
20142012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
2015
2016 * progmodes/grep.el (rgrep): Tweak the find command line so
2017 that directories matching `grep-find-ignored-files' won't be
2018 pruned (bug#10351).
2019
20202012-04-11 Chong Yidong <cyd@gnu.org>
2021
2022 * startup.el (command-line): Remove support for long-obsolete
2023 variable font-lock-face-attributes.
2024
20252012-04-11 Glenn Morris <rgm@gnu.org>
2026
2027 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
2028
20292012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2030
2031 * window.el (window--state-get-1): Obey window-point-insertion-type.
2032
20332012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
2034
2035 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
2036 to previous function when point is on the first character of a
2037 function. Take care of that in `narrow-to-defun' (bug#6157).
2038
20392012-04-11 Glenn Morris <rgm@gnu.org>
2040
2041 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
2042 not just file-errors.
2043
2044 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
2045 (vc-bzr-sha1): Use internal sha1.
2046
20472012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
2050
20512012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
2052
2053 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
2054 that start in the middle of the line (bug#10496).
2055
20562012-04-10 Dan Nicolaescu <dann@gnu.org>
2057
2058 * battery.el (battery-linux-proc-acpi): Only one battery is
2059 discharged at a time, but that seems to confuse battery.el when
2060 computing `rate-type' for the battery not being discharged
2061 (bug#10332).
2062
20632012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
2066
2067 * international/quail.el: Use dolist and simplify.
2068 (quail-define-package, quail-update-keyboard-layout)
2069 (quail-define-rules): Use dolist.
2070 (quail-insert-kbd-layout, quail-get-translation): CSE.
2071
2072 * tmm.el: Use dolist, remove left over hook.
2073 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
2074 Use dolist.
2075 (calendar-load-hook): Don't mess with it.
2076
2077 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
2078 Use derived-mode-p. Run the diff asynchronously.
2079
20802012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2081
2082 * obsolete/mouse-sel.el: Add an Obsolete-since header.
2083
20842012-04-10 Juanma Barranquero <lekktu@gmail.com>
2085
2086 * misc.el: Display absolute path of loaded DLLs (bug#10424).
2087 (list-dynamic-libraries--loaded): New function.
2088 (list-dynamic-libraries--refresh): Use it.
2089
20902012-04-10 Nathan Weizenbaum <nweiz@google.com>
2091
2092 * progmodes/python.el (python-fill-paragraph):
2093 Make python-fill-region in a multiline string work when font-lock is
2094 disabled (bug#7018).
2095
20962012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
2097
2098 * language/european.el (cp775): Add oem/legacy (en)coding on
2099 DOS/MS Windows for the Baltic languages. There are still plenty
2100 of texts written in this encoding/codepage (bug#6519).
2101
21022012-04-10 Glenn Morris <rgm@gnu.org>
2103
2104 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
2105 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
2106
21072012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
2108
2109 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
2110 next-line "n" and previous-line "p" in order to make recentf more
2111 consistent with ibuffer, dired or org-mode (bug#9387).
2112
21132012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
2114
2115 * image.el (put-image): Return the overlay created instead of the
2116 optional input string (bug#7834). Note that this may break code
2117 that is (for some reason or other) depending on `put-image'
2118 returning the string.
2119
2120 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
2121
2122 * simple.el (zap-to-char): Allow zapping using input methods
2123 (bug#1580).
2124
2125 * textmodes/fill.el (fill-region): Leave point and mark where they
2126 were before filling (bug#5399).
2127
21282012-04-09 Glenn Morris <rgm@gnu.org>
2129
2130 * version.el (emacs-bzr-get-version):
2131 Handle lightweight checkouts of local branches.
2132
21332012-04-09 Andreas Schwab <schwab@linux-m68k.org>
2134
2135 * international/characters.el: Recover lost case pairs. (Bug#11209)
2136
21372012-04-09 Chong Yidong <cyd@gnu.org>
2138
2139 * custom.el (custom-variable-p): Return nil for non-symbol
2140 arguments instead of signaling an error.
2141 (user-variable-p): Obsolete alias for custom-variable-p.
2142
2143 * apropos.el (apropos-variable):
2144 * files-x.el (read-file-local-variable):
2145 * simple.el (set-variable):
2146 * woman.el (woman-mini-help):
2147 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
2148
21492012-04-09 Glenn Morris <rgm@gnu.org>
2150
2151 * startup.el (normal-top-level): Don't look for leim-list.el
2152 in places where it will not be found. (Bug#910)
2153
2154 * international/mule-cmds.el (set-default-coding-systems):
2155 * files.el (normal-mode):
2156 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
2157 This function was removed with ucs-tables.el in 2008.
2158
21592012-04-08 Eli Zaretskii <eliz@gnu.org>
2160
2161 * textmodes/ispell.el (ispell-check-version): For hunspell, set
2162 ispell-encoding8-command to "-i", without a trailing space.
2163 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
2164 separate command-line arguments, to specify the encoding, since
2165 that's how hunspell expects it.
2166
21672012-04-08 Glenn Morris <rgm@gnu.org>
2168
2169 * loadup.el: Load bindings before cus-start.
2170 This reduces somewhat the number of "rogue" settings in emacs -Q.
2171
21722012-04-07 Glenn Morris <rgm@gnu.org>
2173
2174 * version.el (emacs-bzr-get-version): New function.
2175 (emacs-bzr-version): New variable.
2176 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
2177 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
2178
21792012-04-07 Eli Zaretskii <eliz@gnu.org>
2180
2181 * international/uni-bidi.el, international/uni-category.el:
2182 * international/uni-combining.el, international/uni-decimal.el:
2183 * international/uni-decomposition.el, international/uni-digit.el:
2184 * international/uni-lowercase.el, international/uni-mirrored.el:
2185 * international/uni-name.el, international/uni-numeric.el:
2186 * international/uni-titlecase.el, international/uni-uppercase.el:
2187 Update for Unicode 6.1.
2188
21892012-04-07 Eli Zaretskii <eliz@gnu.org>
2190
2191 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
2192
21932012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
2194
2195 * window.el (shrink-window): Mention the `window-min-height'
2196 variable in the doc string.
2197
21982012-04-05 Bastien Guerry <bzg@altern.org>
2199
2200 * color.el (color-lighten-name): Fix typo.
2201
22022012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * server.el (server--on-display-p): New function.
2205 (server--on-display-p): Use it.
2206
22072012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
2208
2209 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
2210 (bug#11145).
2211
22122012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2213
2214 * comint.el (comint--common-quoted-suffix): Check string boundary
2215 before comparing (bug#11158).
2216 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
2217
22182012-04-04 Chong Yidong <cyd@gnu.org>
2219
2220 * minibuffer.el (completion-extra-properties): Doc fix.
2221
2222 * subr.el (delayed-warnings-hook): Doc fix.
2223
22242012-04-04 Daiki Ueno <ueno@unixuser.org>
2225
2226 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
2227 selection (Bug#11159).
2228 (epa-insert-keys): Inform that the default public key will be
2229 exported if no key is selected.
2230
22312012-04-04 Richard Stallman <rms@gnu.org>
2232
2233 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
2234
22352012-04-03 Chong Yidong <cyd@gnu.org>
2236
2237 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
2238 mail-insert-file, not its obsolete alias mail-attach-file.
2239
22402012-04-03 Michael Albinus <michael.albinus@gmx.de>
2241
2242 * notifications.el (notifications-notify): Fix docstring.
2243
22442012-04-02 Glenn Morris <rgm@gnu.org>
2245
2246 * emacs-lisp/authors.el (authors-aliases): Another addition.
2247
22482012-04-02 Michael Albinus <michael.albinus@gmx.de>
2249
2250 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
2251 `tramp-compat-call-process' instead of `tramp-local-call-process'.
2252 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
2253
22542012-04-01 Chong Yidong <cyd@gnu.org>
2255
2256 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
2257 Handle root directory properly.
2258 (copy-directory): Caller changed.
2259
2260 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2261 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
2262
22632012-03-31 Glenn Morris <rgm@gnu.org>
2264
2265 * term/xterm.el (xterm-extra-capabilities): Doc fix.
2266
2267 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
2268
2269 * calendar/calendar.el (calendar-window-list)
2270 (calendar-hide-window): Restore. (Bug#11140)
2271 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
2272
2273 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
2274
22752012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2276
2277 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
2278 Check if file is a symlink (Bug#10489).
2279
2280 * files.el (copy-directory): Likewise.
2281
22822012-03-30 Chong Yidong <cyd@gnu.org>
2283
2284 * image.el (imagemagick-types-inhibit)
2285 (imagemagick-register-types): Doc fix.
2286
22872012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2288
2289 * ispell.el (ispell-get-extended-character-mode):
2290 Disable extended-char-mode for hunspell. hunspell does not support it
2291 and treats ~word as ordinary words in pipe mode.
2292
22932012-03-30 Glenn Morris <rgm@gnu.org>
2294
2295 * tutorial.el (help-with-tutorial): Ensure local variables don't
2296 happen to make the buffer read-only. (Bug#11127)
2297
22982012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
2299
2300 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
2301 (perl-calculate-indent): Return `noindent' in strings.
2302
23032012-03-28 Sam Steingold <sds@gnu.org>
2304
2305 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
2306 instead of the broken adhockery which does not prevent calendar
2307 buffers from being displayed at random after exit.
2308 (calendar-window-list, calendar-hide-window): Remove the broken
2309 adhockery.
2310
23112012-03-28 Glenn Morris <rgm@gnu.org>
2312
2313 * replace.el (query-replace-map): Doc fix.
2314
23152012-03-28 Andreas Schwab <schwab@linux-m68k.org>
2316
2317 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
2318 contents. (Bug#11109)
2319
23202012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2322 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
2323 (bug#11077).
2324 (avl-tree--check, avl-tree--check-node): New funs.
2325
23262012-03-27 Martin Rudalics <rudalics@gmx.at>
2327
2328 * window.el (switch-to-visible-buffer): New option.
2329 (switch-to-prev-buffer, switch-to-next-buffer):
2330 Observe switch-to-visible-buffer. Make sure that checking for a window
2331 showing a buffer already is done on the same frame.
2332
23332012-03-27 Glenn Morris <rgm@gnu.org>
2334
2335 * startup.el (mail-host-address): Doc fix.
2336
23372012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
2340 than 197 variables.
2341
23422012-03-26 Ami Fischman <ami@fischman.org>
2343
2344 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
2345
23462012-03-26 Glenn Morris <rgm@gnu.org>
2347
2348 * files.el (save-buffers-kill-emacs): Doc fix.
2349
2350 * startup.el (normal-top-level, command-line, command-line-1):
2351 Give them doc strings.
2352
23532012-03-25 Eli Zaretskii <eliz@gnu.org>
2354
2355 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
2356 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
2357
23582012-03-25 Chong Yidong <cyd@gnu.org>
2359
2360 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
2361 theme if it was previously enabled before (Bug#11031).
2362
2363 * cus-theme.el (custom-theme-write-faces): Retrieve current face
2364 spec with custom-face-get-current-spec if its :shown-value is not
2365 determined yet (Bug#9337).
2366 (customize-create-theme, custom-theme-revert): Doc fixes.
2367
2368 * button.el (button-at): Minor addition to docstring.
2369
23702012-03-24 Simon Leinen <simon.leinen@gmail.com>
2371
2372 * vc/vc.el (vc-merge): Fix a prompt.
2373
23742012-03-24 Chong Yidong <cyd@gnu.org>
2375
2376 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
2377 point (Bug#9623).
2378
2379 * button.el (button-at): Minor addition to docstring.
2380
23812012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2382
2383 * newcomment.el (comment-choose-indent): No space after BOL.
2384
23852012-03-22 Sam Steingold <sds@gnu.org>
2386
2387 * window.el (switch-to-prev-buffer): Revert last patch because the
2388 bug turned out to be an advertised feature (Elisp manual 28.14).
2389
23902012-03-22 Glenn Morris <rgm@gnu.org>
2391
2392 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
2393 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
2394
23952012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
2396
2397 * net/network-stream.el (network-stream-open-starttls): Make error
2398 message under Windows be less misleading.
2399
24002012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
2401
2402 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
2403 understands (bug#9942).
2404
24052012-03-22 Chong Yidong <cyd@gnu.org>
2406
2407 * simple.el (end-of-visible-line): Handle return value of
2408 next-single-property-change properly (Bug#9371).
2409
24102012-03-22 Kenichi Handa <handa@m17n.org>
2411
2412 * international/quail.el (quail-insert-kbd-layout): Fix previous
2413 change. To avoid unwanted bidi reordering, use
2414 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
2415
24162012-03-21 Dmitry Gutov <dgutov@yandex.ru>
2417
2418 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
2419 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
2420 (ruby-beginning-of-indent): Be more careful with the difference
2421 between word-boundary and symbol boundary.
2422 (ruby-mode-syntax-table): Make : a symbol constituent.
2423
24242012-03-21 Andreas Politz <politza@fh-trier.de>
2425
2426 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
2427
24282012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2429
2430 * progmodes/etags.el (tags-completion-at-point-function):
2431 Improve last fix.
2432
2433 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
2434
24352012-03-21 Sam Steingold <sds@gnu.org>
2436
2437 * progmodes/etags.el (tags-completion-at-point-function):
2438 Avoid the error when point is inside the pattern.
2439
24402012-03-21 John Yates <john@yates-sheets.org> (tiny change)
2441
2442 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
2443 line (Bug#10855).
2444
24452012-03-21 Drew Adams <drew.adams@oracle.com>
2446
2447 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
2448
24492012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
2450
2451 * ido.el (ido-set-current-directory, ido-read-internal)
2452 (ido-choose-completion-string, ido-completion-help): Handle nil
2453 value of ido-completion-buffer (Bug#11008).
2454
24552012-03-21 Sam Steingold <sds@gnu.org>
2456
2457 * window.el (switch-to-prev-buffer): Do not switch to a visible
2458 window previous buffer, just like with the frame previous buffers.
2459
24602012-03-21 Chong Yidong <cyd@gnu.org>
2461
2462 * faces.el (make-face, make-empty-face, copy-face):
2463 * face-remap.el (face-remap-add-relative, face-remap-set-base):
2464 Doc fixes.
2465
24662012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
2467
2468 * wid-edit.el (widget-complete-field): Remove (bug#11051).
2469 (widget-complete): Remove broken use of it.
2470
24712012-03-20 Chong Yidong <cyd@gnu.org>
2472
2473 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
2474 Use string-width and truncate-string-width to handle arbitrary
2475 characters.
2476
24772012-03-20 Tassilo Horn <tassilo@member.fsf.org>
2478
2479 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
2480 to draw rectangles, not squares. (Regression introduced by revno
2481 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
2482
24832012-03-18 Chong Yidong <cyd@gnu.org>
2484
2485 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
2486 it is not yet defined (for temacs).
2487
24882012-03-18 Leo Liu <sdl.web@gmail.com>
2489
2490 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
2491
24922012-03-17 Eli Zaretskii <eliz@gnu.org>
2493
2494 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
2495 (ispell-choices-win-default-height, ispell-silently-savep)
2496 (ispell-dictionary-alist, ispell-encoding8-command)
2497 (ispell-check-version, ispell-aspell-find-dictionary)
2498 (ispell-valid-dictionary-list, ispell-words-keyword)
2499 (ispell-get-word, ispell-internal-change-dictionary)
2500 (ispell-region, ispell-skip-region-list)
2501 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
2502 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
2503 (ispell-message-text-end, ispell-message)
2504 (ispell-buffer-local-parsing): Doc fix.
2505
25062012-03-13 Jambunathan K <kjambunathan@gmail.com>
2507
2508 * htmlfontify.el: Add support for code block fontification for ODT
2509 export (Bug #9914).
2510 (hfy-optimisations): Define new option
2511 `body-text-only'
2512 (hfy-fontify-buffer): Honor above setting.
2513 (hfy-begin-span, hfy-end-span): New routines factored out form
2514 `hfy-fontify-buffer'.
2515 (hfy-begin-span-handler, hfy-end-span-handler): New variables
2516 that permit insertion of custom tags.
2517 (hfy-fontify-buffer): Use above handlers.
2518 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
2519 (hfy-face-to-css): Re-defined to be a variable.
2520 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
2521 over multiple runs. This is made possible by having the caller let
2522 bind a special variable `hfy-user-sheet-assoc'.
2523 (htmlfontify-string): New defun.
2524 (hfy-compile-face-map): Make sure that the last char in the
2525 buffer is correctly fontified.
2526 (hfy-face-resolve-face): Whitespace only change.
2527
25282012-03-17 Eli Zaretskii <eliz@gnu.org>
2529
2530 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
2531 message more clear.
2532
25332012-03-16 Leo Liu <sdl.web@gmail.com>
2534
2535 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
2536
25372012-03-16 Alan Mackenzie <acm@muc.de>
2538
2539 Further optimise the handling of large macros.
2540
2541 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
2542 limit to a call of `c-literal-limits'.
2543 (c-determine-+ve-limit): New function.
2544 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
2545 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2546 In CASE 5B, restrict a search limit to 500.
2547 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
2548
2549 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
2550 Restrict macro bounds to +-500 from after-change's BEG END.
2551
25522012-03-16 Leo Liu <sdl.web@gmail.com>
2553
2554 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
2555
25562012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
2557
2558 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
2559 `special-mode' setting of `buffer-read-only'. (Bug#11010)
2560
25612012-03-16 Glenn Morris <rgm@gnu.org>
2562
2563 * view.el (view-buffer, view-buffer-other-window)
2564 (view-buffer-other-frame): Doc fixes re special mode-class.
2565
2566 * subr.el (eval-after-load): If named feature is provided not from
2567 a file, run after-load forms. (Bug#10946)
2568
2569 * calendar/calendar.el (calendar-insert-at-column):
2570 Handle non-unit-width characters a bit better. (Bug#10978)
2571
25722012-03-15 Chong Yidong <cyd@gnu.org>
2573
2574 * emacs-lisp/ring.el (ring-extend): New function.
2575 (ring-insert+extend): Extend the ring correctly (Bug#11019).
2576
2577 * comint.el (comint-read-input-ring)
2578 (comint-add-to-input-history): Grow comint-input-ring lazily.
2579
25802012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
2581
2582 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
2583 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
2584
2585 * imenu.el: Fix multiple inheritance breakage (bug#9199).
2586 (imenu-add-to-menubar): Don't add a redundant index.
2587 (imenu-update-menubar): Handle a dynamically composed keymap.
2588
25892012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
2590
2591 * mail/sendmail.el (mail-encode-header):
2592 Bind rfc2047-encode-encoded-words to nil.
2593
25942012-03-13 Glenn Morris <rgm@gnu.org>
2595
2596 * calendar/calendar.el (calendar-string-spread):
2597 Handle non-unit-width characters a bit better. (Bug#10978)
2598
25992012-03-13 Leo Liu <sdl.web@gmail.com>
2600
2601 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
2602 directory and file as argument (Bug#10822).
2603
26042012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2605
2606 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
2607 For dynamically generated code, follow $PC.
2608 (gdb-disassembly-handler-custom): Handle no function name case.
2609
26102012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
2611
2612 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
2613 * emulation/ws-mode.el (ws-query-replace):
2614 * sort.el (sort-regexp-fields):
2615 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
2616
26172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2618
2619 * dabbrev.el: Fix cycle completion order (bug#10963).
2620 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
2621 (dabbrev-completion): Don't use an obarray; provide
2622 a cycle-sort-function.
2623
26242012-03-12 Leo Liu <sdl.web@gmail.com>
2625
2626 * simple.el (kill-new): Use equal-including-properties for comparison.
2627 (kill-do-not-save-duplicates): Doc fix.
2628
26292012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2630
2631 * dabbrev.el: Fix cycle completion (bug#10963).
2632 Use lexical binding and wrap to 80 columns.
2633 (dabbrev-completion): Delay computing the list of completions.
2634
26352012-03-12 Kenichi Handa <handa@m17n.org>
2636
2637 * international/quail.el (quail-insert-kbd-layout): Surround each
2638 row by LRO and PDF instead of inserting many LRMs. Pad the left
2639 and right of each non-spacing marks. Insert invisible space
2640 between lower and upper characters to prevent composition.
2641
26422012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * minibuffer.el (minibuffer-complete): Don't get confused when the
2645 function is run twice via different commands (bug#10958).
2646 (complete-with-action): Fix docstring.
2647
26482012-03-12 Chong Yidong <cyd@gnu.org>
2649
2650 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
2651 (nxml-completion-at-point-function): New function.
2652 (nxml-mode): Use it.
2653 (nxml-bind-meta-tab-to-complete-flag): Default to t.
2654
2655 * emacs-lisp/package.el (package-unpack, package-unpack-single):
2656 Load generated autoloads file before byte compiling (Bug#10970).
2657 (package--make-autoloads-and-compile): New helper fun.
2658
26592012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
2660
2661 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
2662
26632012-03-11 Michael Albinus <michael.albinus@gmx.de>
2664
2665 * autorevert.el (auto-revert-handler): Ensure, that
2666 file-readable-p is applied only for local files or in
2667 auto-revert-tail-mode.
2668
26692012-03-11 Andreas Schwab <schwab@linux-m68k.org>
2670
2671 * server.el (server-eval-at): Handle non-tcp connections.
2672 Decode result string.
2673
2674 * server.el (server-msg-size): New constant.
2675 (server-reply-print): New function.
2676 (server-eval-and-print): Use it.
2677 (server-eval-at): Use server-quote-arg and server-unquote-arg.
2678 Handle -print-nonl.
2679
26802012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
2681
2682 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
2683 (Bug#10987).
2684
26852012-03-11 Chong Yidong <cyd@gnu.org>
2686
2687 * simple.el (goto-line): Doc fix (Bug#9938).
2688
2689 * subr.el (save-window-excursion): Doc fix (Bug#9979).
2690
2691 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
2692 when finished (Bug#10963).
2693
26942012-03-11 Martin Rudalics <rudalics@gmx.at>
2695
2696 * window.el (split-window-below): Fix bug in case where
2697 split-window-keep-point is nil (Bug#10971).
2698
26992012-03-11 Juri Linkov <juri@jurta.org>
2700
2701 * replace.el (replace-highlight): Set isearch-word to nil
2702 unconditionally. (Bug#10887)
2703
27042012-03-10 Eli Zaretskii <eliz@gnu.org>
2705
2706 * net/mairix.el (mairix-replace-invalid-chars): Rename from
2707 mairix-replace-illegal-chars; all callers changed. Don't remove
2708 ^, ~, and = characters: they are meaningful in mairix search specs.
2709 (mairix-widget-create-query): Add usage information about mairix
2710 search forms: negating words, searching for substrings, etc.
2711
27122012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
2713
2714 * international/fontset.el (font-encoding-alist): Add an entry for
2715 ksx1001 (Bug#5667).
2716
27172012-03-10 Richard Stallman <rms@gnu.org>
2718
2719 * mail/sendmail.el (mail-encode-header):
2720 Set rfc2047-encode-encoded-words.
2721
2722 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
2723
2724 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
2725 view buffer means not swapped.
2726 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
2727 (rmail-write-region-annotate): Error if real text has disappeared.
2728
2729 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
2730
27312012-03-10 Chong Yidong <cyd@gnu.org>
2732
2733 * emulation/cua-rect.el (cua--init-rectangles):
2734 * emulation/cua-base.el (cua--init-keymaps):
2735 Add delete-forward-char to remappings (Bug#9666).
2736
27372012-03-10 Martin Rudalics <rudalics@gmx.at>
2738
2739 * speedbar.el (speedbar-unhighlight-one-tag-line):
2740 Avoid unhighlighting due to frame switching (Bug#10275).
2741
27422012-03-10 Chong Yidong <cyd@gnu.org>
2743
2744 * minibuffer.el (completion-in-region, completion-help-at-point):
2745 Give the completion field overlay a high priority (Bug#6830).
2746
2747 * dired.el (dired-goto-file): Recognize absolute file name
2748 listings (Bug#7126).
2749 (dired-goto-file-1): New helper function.
2750 (dired-toggle-read-only): Inhibit warnings.
2751
27522012-03-09 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * net/dbus.el (dbus-property-handler): Return empty array if
2755 there are no properties.
2756
27572012-03-09 Leo Liu <sdl.web@gmail.com>
2758
2759 * savehist.el (savehist-printable): Stricter check for string
2760 value (Bug#10937).
2761
27622012-03-09 Eli Zaretskii <eliz@gnu.org>
2763
2764 * mail/smtpmail.el (smtpmail-send-it):
2765 Bind coding-system-for-write to *-unix, so that FCC files are kept in
2766 valid mbox format.
2767
27682012-03-09 Glenn Morris <rgm@gnu.org>
2769
2770 * files.el (dir-locals-find-file):
2771 Don't check result is regular, readable.
2772 (dir-locals-read-from-file): Demote errors.
2773
27742012-03-08 Eli Zaretskii <eliz@gnu.org>
2775
2776 * international/quail.el (quail-insert-kbd-layout):
2777 Insert invisible LRM characters before each character in a keyboard
2778 layout cell, to prevent their reordering by bidi display engine.
2779 For details, see the discussion in
2780 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
2781
27822012-03-08 Alan Mackenzie <acm@muc.de>
2783
2784 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
2785 the starting position; make it extend the marked region when
2786 invoked repeatedly - all under appropriate circumstances.
2787 Fixes bugs #5525, #10906.
2788
27892012-03-08 Glenn Morris <rgm@gnu.org>
2790
2791 * files.el (locate-dominating-file, dir-locals-find-file):
2792 Undo 2012-03-06 change.
2793
27942012-03-07 Eli Zaretskii <eliz@gnu.org>
2795
2796 * international/quail.el (quail-help):
2797 Force bidi-paragraph-direction be left-to-right. See discussion in
2798 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
2799 for the reason.
2800
28012012-03-07 Michael Albinus <michael.albinus@gmx.de>
2802
2803 Avoid superfluous registering of signals. (Bug#10807)
2804
2805 * notifications.el (notifications-on-action-object)
2806 (notifications-on-close-object): New defvars.
2807 (notifications-on-action-signal, notifications-on-closed-signal):
2808 Unregister the signal if not needed any longer.
2809 (notifications-notify): Register `notifications-action-signal' or
2810 `notifications-closed-signal', if :on-action or :on-close has been
2811 passed as argument.
2812
28132012-03-07 Chong Yidong <cyd@gnu.org>
2814
2815 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
2816 non-X platforms.
2817
28182012-03-06 Glenn Morris <rgm@gnu.org>
2819
2820 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2821 (x-disown-selection-internal, x-get-selection-internal):
2822 Doc fix (add arglist signatures). (Bug#10783)
2823
28242012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
2825
2826 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2827 Handle breakpoints with no "type".
2828
28292012-03-06 Glenn Morris <rgm@gnu.org>
2830
2831 * files.el (locate-dominating-file): Add optional predicate argument.
2832 (dir-locals-find-file): Make use of above change.
2833
28342012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
2835
2836 * info.el (Info-insert-dir): Also try "dir.gz".
2837
28382012-03-06 Glenn Morris <rgm@gnu.org>
2839
2840 * files.el (dir-locals-find-file):
2841 Ignore non-readable or non-regular files. (Bug#10928)
2842
2843 * files.el (locate-dominating-file): Doc fix.
2844
28452012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
2846
2847 * calendar/calendar.el (calendar-set-mode-line):
2848 `getenv' returns a string. (Bug#10951)
2849
28502012-03-05 Leo Liu <sdl.web@gmail.com>
2851
2852 * simple.el (backward-delete-char-untabify): Constrain point to
2853 field (Bug#10939).
2854
2855 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
2856
28572012-03-05 Chong Yidong <cyd@gnu.org>
2858
2859 * simple.el (count-words): If called from Lisp, return the word
2860 count, for symmetry with `count-lines'. Arglist changed.
2861 (count-words--message): Args changed. Consolidate counting code
2862 from count-words and count-words-region.
2863 (count-words-region): Caller changed.
2864 (count-lines-region): Make it an obsolete alias.
2865
28662012-03-04 Tassilo Horn <tassilo@member.fsf.org>
2867
2868 * saveplace.el (save-place-to-alist)
2869 (save-place-ignore-files-regexp): Allow value nil to disable this
2870 feature.
2871
28722012-03-04 Chong Yidong <cyd@gnu.org>
2873
2874 * faces.el (face-spec-reset-face): For the default face, reset the
2875 attributes to default values (Bug#10748).
2876
28772012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
2878
2879 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
2880 previous patch: Check `message-send-mail-function', and not the
2881 default function (bug#10897).
2882
28832012-03-04 Michael Albinus <michael.albinus@gmx.de>
2884
2885 * notifications.el (notifications-on-action-signal)
2886 (notifications-on-closed-signal): Check for unique service name of
2887 incoming event. Fix error in removing entry.
2888 (top): Register for signals with wildcard service name.
2889 (notifications-notify): Use daemon unique service name for map entries.
2890
28912012-03-04 Chong Yidong <cyd@gnu.org>
2892
2893 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
2894
28952012-03-04 Glenn Morris <rgm@gnu.org>
2896
2897 * abbrev.el (copy-abbrev-table, abbrev-table-p)
2898 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
2899 (expand-abbrev, define-abbrev-table): Doc fixes.
2900
29012012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
2902
2903 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
2904 `message-default-send-mail-function' and not `send-mail-function'
2905 when doing the prompting for `sendmail-query-once' before sending
2906 in Message buffers (bug#10897).
2907
2908 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
2909 This is inconsistent with all the other stream functions, which leave
2910 the setting up to the higher levels (if so wanted) (bug#10931).
2911
29122012-03-02 Alan Mackenzie <acm@muc.de>
2913
2914 Depessimize the handling of very large macros.
2915
2916 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
2917 (c-macro-cache-syntactic): New variables to implement a one
2918 element macro cache.
2919 (c-invalidate-macro-cache): New function.
2920 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
2921 Adapt to use the new cache.
2922 (c-state-safe-place): Use better the cache of safe positions.
2923 (c-state-semi-nonlit-pos-cache)
2924 (c-state-semi-nonlit-pos-cache-limit):
2925 New variables for...
2926 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
2927 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
2928 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
2929 Use c-state-semi-safe-place.
2930
2931 * progmodes/cc-langs.el (c-get-state-before-change-functions):
2932 Add c-invalidate-macro-cache to the C, C++, Obj entries.
2933
29342012-03-02 Michael Albinus <michael.albinus@gmx.de>
2935
2936 * jka-compr.el (jka-compr-call-process):
2937 Apply `file-accessible-directory-p' only when the default directory is
2938 not remote.
2939
29402012-03-01 Michael Albinus <michael.albinus@gmx.de>
2941
2942 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
2943 access of FILE2, if FILE1 does not exist.
2944
2945 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
2946 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
2947
2948 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
2949 Add "PAGER=" to `process-environment'.
2950
29512012-03-01 Michael R. Mauger <mmaug@yahoo.com>
2952
2953 * progmodes/sql.el: Bug fix
2954 (sql-get-login-ext): Save login values in globals.
2955 (sql-get-login): Use new version of `sql-get-login-ext'.
2956 (sql-interactive-mode): Set global `sql-connection' to nil.
2957 (sql-connect): Set global values for connection.
2958 (sql-product-interactive): Save global values as buffer local.
2959
29602012-02-29 Leo Liu <sdl.web@gmail.com>
2961
2962 * abbrev.el (define-abbrevs): Reset sys to nil.
2963
29642012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2965
2966 * files.el (file-equal-p): Rename from `files-equal-p'.
2967 Return nil when one or both files don't exist.
2968 (file-subdir-of-p): Now only top directory must exists,
2969 return nil if it doesn't.
2970 (copy-directory): No need to test with `file-subdir-of-p' after
2971 creating dir.
2972 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
2973 to `file-equal-p'.
2974
29752012-02-28 Glenn Morris <rgm@gnu.org>
2976
2977 * shell.el (shell-mode):
2978 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
2979 * play/landmark.el (landmark-font-lock-face-O):
2980 * play/handwrite.el (handwrite):
2981 * play/gomoku.el (gomoku-O):
2982 * net/browse-url.el (browse-url-browser-display):
2983 * international/mule.el (define-charset):
2984 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
2985 * filesets.el (filesets-find-file-delay):
2986 * eshell/em-xtra.el (eshell-xtra):
2987 * eshell/em-unix.el (eshell-grep):
2988 * emulation/viper.el (viper-mode):
2989 * emacs-lisp/regexp-opt.el (regexp-opt-group):
2990 * emacs-lisp/easymenu.el (easy-menu-define):
2991 * calendar/timeclock.el (timeclock-use-display-time):
2992 * bs.el (bs-mode):
2993 * bookmark.el (bookmark-save-flag):
2994 Doc fix (standardize possessive apostrophe usage).
2995
29962012-02-27 Chong Yidong <cyd@gnu.org>
2997
2998 * emulation/viper-cmd.el (viper-intercept-ESC-key):
2999 Fix key-binding lookup for ESC key (Bug#9146).
3000
3001 * font-lock.el (font-lock-specified-p): Rename from
3002 font-lock-spec-present. Callers changed.
3003
30042012-02-27 Daniel Hackney <dan@haxney.org>
3005
3006 * emacs-lisp/package.el (package-compute-transaction):
3007 Handle holding a package version to t in package-load-list.
3008
30092012-02-26 Michael Albinus <michael.albinus@gmx.de>
3010
3011 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
3012 (tramp-get-inode, tramp-get-device): Use cached values.
3013
30142012-02-26 Alan Mackenzie <acm@muc.de>
3015
3016 Check there is a font-lock specification before doing initial
3017 fontification.
3018
3019 * font-core.el (font-lock-mode): Move the conditional from
3020 :after-hook to font-lock-initial-fontify.
3021 (font-lock-default-function): Move the check for a specification
3022 to font-lock-spec-present.
3023
3024 * font-lock.el (font-lock-initial-fontify): Call ...
3025 (font-lock-spec-present): New function.
3026
30272012-02-26 Jim Blandy <jimb@red-bean.com>
3028
3029 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
3030 (gdb-send): Apply it to the operand of the '-interpreter-exec
3031 console' command, so that we can pass arguments with (say) quotes
3032 in them. Store exact string sent in gdb-debug-log (Bug#10765).
3033
30342012-02-26 Chong Yidong <cyd@gnu.org>
3035
3036 * help-fns.el (describe-function-1): Clarify description of
3037 remapping (Bug#10844).
3038
3039 * files.el (files-equal-p): Doc fix.
3040 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
3041 and quit the loop once a mismatch is found.
3042
30432012-02-25 Juanma Barranquero <lekktu@gmail.com>
3044
3045 * bs.el (bs--show-with-configuration): Don't throw an error
3046 if the window cannot be split; otherwise, subsequent calls to
3047 bs-show fail, restoring a stale window config. (Bug#10882)
3048
30492012-02-25 Jan Djärv <jan.h.d@swipnet.se>
3050
3051 * term/ns-win.el (global-map): Bind ns-drag-file to
3052 ns-find-file (Bug#5855, Bug#10050).
3053
30542012-02-25 Andreas Schwab <schwab@linux-m68k.org>
3055
3056 * calendar/parse-time.el (parse-time-string): Allow extractor to
3057 return nil.
3058
30592012-02-25 Michael Albinus <michael.albinus@gmx.de>
3060
3061 * net/tramp.el (tramp-file-name-for-operation):
3062 Add `files-equal-p' and `file-subdir-of-p'.
3063
3064 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3065 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3066 Add COPY-CONTENTS argument.
3067
30682012-02-25 Chong Yidong <cyd@gnu.org>
3069
3070 Add custom groups for VC backends, for consistency with vc-bzr.
3071
3072 * vc/vc-arch.el (vc-arch):
3073 * vc/vc-cvs.el (vc-cvs):
3074 * vc/vc-git.el (vc-git):
3075 * vc/vc-hg.el (vc-hg):
3076 * vc/vc-mtn.el (vc-mtn):
3077 * vc/vc-rcs.el (vc-rcs):
3078 * vc/vc-sccs.el (vc-sccs):
3079 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
3080 All relevant defcustoms reassigned.
3081
30822012-02-25 Chong Yidong <cyd@gnu.org>
3083
3084 * newcomment.el (comment-styles): Add autoload (Bug#10868).
3085
3086 * term/x-win.el (x-initialize-window-system): Reduce default for
3087 x-selection-timeout to 5 seconds (Bug#8869).
3088
30892012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3090
3091 * files.el (files-equal-p, file-subdir-of-p): New functions.
3092 (copy-directory): Error when trying to copy a directory on itself.
3093 Add missing copy-contents arg to tramp handler.
3094 * dired-aux.el (dired-copy-file-recursive): Same.
3095 (dired-create-files): Modify destination when source is equal to
3096 dest when copying files.
3097 Return also when dest is a subdir of source. (Bug#10489)
3098
30992012-02-24 Michael Albinus <michael.albinus@gmx.de>
3100
3101 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
3102 (Bug#10874)
3103
31042012-02-23 Alan Mackenzie <acm@muc.de>
3105
3106 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
3107 parameter "after-hook:" to allow the expansion to run code after
3108 the execution of the mode hooks.
3109
3110 * font-lock.el (font-lock-initial-fontify): New function extracted
3111 from font-lock-mode-internal.
3112
3113 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
3114 :after-hook.
3115
31162012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3117
3118 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
3119 (completion--cache-all-sorted-completions): New function.
3120 (completion-all-sorted-completions): Use it.
3121 (completion--do-completion, minibuffer-force-complete):
3122 Use it to re-instate the flush hook.
3123
3124 * icomplete.el (icomplete-completions): Replace last fix with a better
3125 one (bug#10850).
3126
31272012-02-23 Dmitry Gutov <dgutov@yandex.ru>
3128
3129 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
3130 when it might call us back infinitely (bug#10797).
3131
31322012-02-23 Glenn Morris <rgm@gnu.org>
3133
3134 * minibuffer.el (completion-category-overrides): Doc fix.
3135
31362012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * minibuffer.el (completion-table-with-context): Fix inf-loop.
3139 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
3140
31412012-02-23 Glenn Morris <rgm@gnu.org>
3142
3143 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
3144 (authors-obsolete-files-regexps, authors-ignored-files)
3145 (authors-ambiguous-files, authors-renamed-files-alist):
3146 Add more entries.
3147
31482012-02-23 Juri Linkov <juri@jurta.org>
3149
3150 * isearch.el (isearch-occur): Sync interactive spec with occur's
3151 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
3152
3153 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
3154
31552012-02-22 Juri Linkov <juri@jurta.org>
3156
3157 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
3158 (ucs-insert): Doc fix. Check for hex digits in the string.
3159 Don't display `nil' in the error message. (Bug#10857)
3160
31612012-02-22 Alan Mackenzie <acm@muc.de>
3162
3163 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
3164
31652012-02-22 Glenn Morris <rgm@gnu.org>
3166
3167 * ffap.el (ffap-c-path):
3168 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
3169
31702012-02-22 Chong Yidong <cyd@gnu.org>
3171
3172 * custom.el (load-theme): Doc fix.
3173
31742012-02-22 Glenn Morris <rgm@gnu.org>
3175
3176 * dired-x.el (dired-guess-shell-alist-default):
3177 Remove escape sequences from nroff output. (Bug#172)
3178
31792012-02-21 Glenn Morris <rgm@gnu.org>
3180
3181 * vc/emerge.el (emerge-defvar-local):
3182 Set `permanent-local' property rather than unused `preserved'.
3183
3184 * textmodes/picture.el (picture-delete-char): New alias.
3185 (picture-mode-map): Use it. (Bug#10860)
3186 (picture-mode): Doc fix.
3187
31882012-02-21 Juanma Barranquero <lekktu@gmail.com>
3189
3190 * newcomment.el (uncomment-region-default): Remove unused binding.
3191
31922012-02-21 Glenn Morris <rgm@gnu.org>
3193
3194 * textmodes/picture.el (picture-motion, picture-motion-reverse)
3195 (picture-self-insert, picture-tab-chars): Doc fix.
3196 (picture-mode-map): Fix C-a, C-e.
3197
31982012-02-20 Glenn Morris <rgm@gnu.org>
3199
3200 * emacs-lisp/authors.el (authors-aliases): Add another entry.
3201
32022012-02-20 Leo Liu <sdl.web@gmail.com>
3203
3204 * icomplete.el (icomplete-completions): Check FROM arg before
3205 passing to substring (Bug#10850).
3206
32072012-02-19 Chong Yidong <cyd@gnu.org>
3208
3209 * comint.el: Require ansi-color.
3210 (comint-output-filter-functions): Add ansi-color-process-output.
3211
3212 * ansi-color.el: Don't set comint-output-filter-functions; it is
3213 now in the initial value defined in comint.el.
3214 (ansi-color-apply-face-function): New variable.
3215 (ansi-color-apply-on-region): Use it.
3216 (ansi-color-apply-overlay-face): New function.
3217
3218 * shell.el (shell): No need to require ansi-color.
3219 (shell-mode): Use ansi-color-apply-face-function to highlight
3220 color escapes using font-lock-face property (Bug#10835).
3221
32222012-02-19 Chong Yidong <cyd@gnu.org>
3223
3224 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
3225 mode-line formats (Bug#10839).
3226
32272012-02-18 Glenn Morris <rgm@gnu.org>
3228
3229 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
3230
3231 * mail/undigest.el (unforward-rmail-message): Doc fix.
3232
3233 * saveplace.el (save-place-ignore-files-regexp): Add :version.
3234
32352012-02-18 Eli Zaretskii <eliz@gnu.org>
3236
3237 * international/characters.el (script-list): Sync with the latest
3238 Unicode Character Database.
3239
32402012-02-18 Andreas Schwab <schwab@linux-m68k.org>
3241
3242 * international/titdic-cnv.el: Remove duplicate coding tag.
3243 * language/cham.el: Likewise.
3244 * language/tai-viet.el: Likewise.
3245
32462012-02-18 Glenn Morris <rgm@gnu.org>
3247
3248 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
3249 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
3250 (calendar-bahai-all-holidays-flag, calendar-other-dates):
3251 * calendar/diary-lib.el (diary-abbreviated-year-flag):
3252 * calendar/holidays.el (holiday-bahai-holidays)
3253 (calendar-holidays, list-holidays):
3254 Use utf-8 Bahá'í in doc-strings, menus, etc.
3255
32562012-02-17 Tassilo Horn <tassilo@member.fsf.org>
3257
3258 * saveplace.el (save-place-ignore-files-regexp): New variable
3259 allowing for excluding files from saving their location of point.
3260 The default value matches the temporary commit message editing
3261 files from Git, SVN, Bazaar, and Mercurial.
3262 (save-place-to-alist): Use it.
3263
32642012-02-17 Lawrence Mitchell <wence@gmx.li>
3265 Stefan Monnier <monnier@iro.umontreal.ca>
3266
3267 * newcomment.el (uncomment-region-default): Don't leave extra space
3268 when an arg is provided (bug#8150).
3269
32702012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
3271
3272 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
3273
32742012-02-17 Glenn Morris <rgm@gnu.org>
3275
3276 * net/socks.el: Require network-stream. (Bug#10599)
3277
32782012-02-17 Kenichi Handa <handa@m17n.org>
3279
3280 * international/charprop.el:
3281 * international/uni-name.el:
3282 * international/uni-old-name.el:
3283 * international/uni-comment.el: Regenerate.
3284
32852012-02-16 Glenn Morris <rgm@gnu.org>
3286
3287 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
3288 Interactively in calendar buffer, give an error if not on a date.
3289
32902012-02-15 Glenn Morris <rgm@gnu.org>
3291
3292 * shell.el (shell-delimiter-argument-list):
3293 Revert 2011-02-17 change. (Bug#8027)
3294
32952012-02-15 Chong Yidong <cyd@gnu.org>
3296
3297 * minibuffer.el (completion-at-point-functions): Doc fix.
3298
3299 * custom.el (defcustom): Doc fix; note use of defvar.
3300
33012012-02-15 Glenn Morris <rgm@gnu.org>
3302
3303 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
3304 Doc fixes.
3305
33062012-02-14 Glenn Morris <rgm@gnu.org>
3307
3308 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
3309
33102012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
3311
3312 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
3313 way the ports list is computed.
3314 (smtpmail-query-smtp-server): Prompt the user for a port number if
3315 we can't connect to any of the standard ports (bug#10810).
3316
33172012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
3318
3319 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
3320
33212012-02-13 Glenn Morris <rgm@gnu.org>
3322
3323 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
3324
33252012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
3326
3327 * net/gnutls.el (gnutls-trustfiles): New variable.
3328 (gnutls-negotiate): Use it.
3329
33302012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
3331
3332 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
3333 does its stuff if Gnus is running.
3334
33352012-02-13 Alan Mackenzie <acm@muc.de>
3336
3337 Fix a loop in c-set-fl-decl-start.
3338
3339 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
3340 c-backward-syntactic-ws actually moves backwards.
3341
33422012-02-13 Leo Liu <sdl.web@gmail.com>
3343
3344 * net/rcirc.el (rcirc-markup-attributes): Move point to the
3345 beginning so that all \C-o chars are removed.
3346
33472012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
3348
3349 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
3350
33512012-02-12 Alan Mackenzie <acm@muc.de>
3352
3353 Fix infinite loop with long macros.
3354 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
3355
33562012-02-12 Chong Yidong <cyd@gnu.org>
3357
3358 * window.el (display-buffer): Doc fix (Bug#10785).
3359
33602012-02-12 Glenn Morris <rgm@gnu.org>
3361
3362 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3363 (x-disown-selection-internal, x-get-selection-internal):
3364 Sync docs with the xselect.c versions.
3365
3366 * allout-widgets.el: Add missing license notice.
3367
33682012-02-11 Glenn Morris <rgm@gnu.org>
3369
3370 * select.el (x-get-selection-internal, x-own-selection-internal)
3371 (x-disown-selection-internal):
3372 * x-dnd.el (x-get-selection-internal): Update declarations.
3373
3374 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
3375
3376 * window.el (window-sides-slots):
3377 * tool-bar.el (tool-bar-position):
3378 * term/xterm.el (xterm-extra-capabilities):
3379 * ses.el (ses-self-reference-early-detection):
3380 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
3381 (verilog-auto-wire-type)
3382 (verilog-auto-delete-trailing-whitespace)
3383 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
3384 (verilog-auto-tieoff-declaration):
3385 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
3386 (sql-oracle-statement-starters, sql-oracle-scan-on):
3387 * progmodes/prolog.el (prolog-align-comments-flag)
3388 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
3389 (prolog-left-indent-regexp, prolog-paren-indent-p)
3390 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
3391 (prolog-types, prolog-mode-specificators)
3392 (prolog-determinism-specificators, prolog-directives)
3393 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
3394 (prolog-electric-dot-flag)
3395 (prolog-electric-dot-full-predicate-template)
3396 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
3397 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
3398 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
3399 (prolog-program-switches, prolog-prompt-regexp)
3400 (prolog-debug-on-string, prolog-debug-off-string)
3401 (prolog-trace-on-string, prolog-trace-off-string)
3402 (prolog-zip-on-string, prolog-zip-off-string)
3403 (prolog-use-standard-consult-compile-method-flag)
3404 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
3405 (prolog-imenu-max-lines, prolog-info-predicate-index)
3406 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
3407 (prolog-char-quote-workaround):
3408 * progmodes/cc-vars.el (c-defun-tactic):
3409 * net/tramp.el (tramp-encoding-command-interactive)
3410 (tramp-local-end-of-line):
3411 * net/soap-client.el (soap-client):
3412 * net/netrc.el (netrc-file):
3413 * net/gnutls.el (gnutls):
3414 * minibuffer.el (completion-category-overrides)
3415 (completion-cycle-threshold)
3416 (completion-pcm-complete-word-inserts-delimiters):
3417 * man.el (Man-name-local-regexp):
3418 * mail/feedmail.el (feedmail-display-full-frame):
3419 * international/characters.el (glyphless-char-display-control):
3420 * eshell/em-ls.el (eshell-ls-date-format):
3421 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
3422 (lisp-lambda-list-keyword-parameter-indentation)
3423 (lisp-lambda-list-keyword-parameter-alignment):
3424 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
3425 * dired-x.el (dired-omit-verbose):
3426 * cus-theme.el (custom-theme-allow-multiple-selections):
3427 * calc/calc.el (calc-highlight-selections-with-faces)
3428 (calc-lu-field-reference, calc-lu-power-reference)
3429 (calc-note-threshold):
3430 * battery.el (battery-mode-line-limit):
3431 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3432 (archive-7z-update):
3433 * allout.el (allout-prefixed-keybindings)
3434 (allout-unprefixed-keybindings)
3435 (allout-inhibit-auto-fill-on-headline)
3436 (allout-flattened-numbering-abbreviation):
3437 * allout-widgets.el (allout-widgets-auto-activation)
3438 (allout-widgets-icons-dark-subdir)
3439 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
3440 (allout-widgets-theme-dark-background)
3441 (allout-widgets-theme-light-background)
3442 (allout-widgets-item-image-properties-emacs)
3443 (allout-widgets-item-image-properties-xemacs)
3444 (allout-widgets-run-unit-tests-on-load)
3445 (allout-widgets-time-decoration-activity)
3446 (allout-widgets-hook-error-post-time)
3447 (allout-widgets-track-decoration):
3448 Add missing :version tags to new defcustoms and defgroups.
3449
3450 * progmodes/sql.el (sql-ansi-statement-starters)
3451 (sql-oracle-statement-starters): Add custom type.
3452
3453 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
3454 (prolog-system-version): Give it a type.
3455
34562012-02-11 Eli Zaretskii <eliz@gnu.org>
3457
3458 * term/pc-win.el (x-select-text, x-selection-owner-p)
3459 (x-own-selection-internal, x-disown-selection-internal)
3460 (x-get-selection-internal): Sync doc strings and argument lists
3461 with xselect.c, common-win.el and x-win.el. (Bug#10783)
3462
34632012-02-11 Leo Liu <sdl.web@gmail.com>
3464
3465 * progmodes/python.el (python-end-of-statement): Fix infinite
3466 loop. (Bug#10788)
3467
34682012-02-10 Glenn Morris <rgm@gnu.org>
3469
3470 * international/mule-cmds.el (unify-8859-on-encoding-mode)
3471 (unify-8859-on-decoding-mode): Properly mark as obsolete.
3472
34732012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3474
3475 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
3476 about SMTP before checking the From header.
3477
3478 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
3479 into own function for reuse by emacsbug.el.
3480
34812012-02-10 Leo Liu <sdl.web@gmail.com>
3482
3483 * subr.el (condition-case-unless-debug): Rename from
3484 condition-case-no-debug. All callers changed.
3485 (with-demoted-errors): Fix caller.
3486
3487 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
3488 * nxml/rng-valid.el (rng-do-some-validation):
3489 * emacs-lisp/package.el (package-refresh-contents)
3490 (package-menu-execute):
3491 * desktop.el (desktop-create-buffer):
3492 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
3493
34942012-02-10 Glenn Morris <rgm@gnu.org>
3495
3496 * textmodes/bibtex.el:
3497 Add missing :version tags for new/changed defcustoms.
3498
3499 * files.el (remote-file-name-inhibit-cache): Doc fixes.
3500
35012012-02-09 Lars Ingebrigtsen <larsi@rusty>
3502
3503 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
3504 (smtpmail-via-smtp): Use it, or fall back on the From address.
3505 (smtpmail-send-it): Ditto.
3506
35072012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
3508
3509 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
3510 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
3511 (byte-compile-tmp-var): New const.
3512 (byte-compile-defvar): Use it to minimize .elc size.
3513 Just use `defvar' rather than simulate it (bug#10761).
3514
35152012-02-09 Glenn Morris <rgm@gnu.org>
3516
3517 * files.el (rename-uniquely): Doc fix. (Bug#3806)
3518
3519 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
3520 Add :version tags.
3521
3522 * progmodes/compile.el (compilation-error-screen-columns)
3523 (compilation-first-column, compilation-filter-start): Doc fixes.
3524
3525 * vc/log-view.el (log-view-toggle-entry-display):
3526 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
3527
3528 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
3529 (report-emacs-bug-can-use-xdg-email):
3530 (report-emacs-bug-insert-to-mailer): Doc fixes.
3531 (report-emacs-bug): Message fix.
3532
3533 * net/browse-url.el (browse-url-can-use-xdg-open)
3534 (browse-url-xdg-open): Doc fixes.
3535
3536 * electric.el (electric-indent-mode, electric-pair-mode)
3537 (electric-layout-rules, electric-layout-mode): Doc fixes.
3538 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
3539
35402012-02-08 Martin Rudalics <rudalics@gmx.at>
3541
3542 * server.el (server-unselect-display): Don't inadvertently kill
3543 the current buffer. (Bug#10729)
3544
35452012-02-08 Glenn Morris <rgm@gnu.org>
3546
3547 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
3548 (sql-list-table): Doc fixes.
3549
3550 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
3551 Comment out (does nothing).
3552
3553 * completion.el (dynamic-completion-mode):
3554 * dirtrack.el (dirtrack-debug-mode):
3555 * electric.el (electric-layout-mode):
3556 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
3557 * face-remap.el (text-scale-mode, buffer-face-mode):
3558 * iimage.el (iimage-mode):
3559 * image-mode.el (image-transform-mode):
3560 * minibuffer.el (completion-in-region-mode):
3561 * scroll-lock.el (scroll-lock-mode):
3562 * simple.el (next-error-follow-minor-mode):
3563 * tar-mode.el (tar-subfile-mode):
3564 * tooltip.el (tooltip-mode):
3565 * vcursor.el (vcursor-use-vcursor-map):
3566 * wid-browse.el (widget-minor-mode):
3567 * emulation/tpu-edt.el (tpu-edt-mode):
3568 * emulation/tpu-extras.el (tpu-cursor-free-mode):
3569 * international/iso-ascii.el (iso-ascii-mode):
3570 * language/thai-util.el (thai-word-mode):
3571 * mail/supercite.el (sc-minor-mode):
3572 * net/goto-addr.el (goto-address-mode):
3573 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
3574 * progmodes/cwarn.el (cwarn-mode):
3575 * progmodes/flymake.el (flymake-mode):
3576 * progmodes/glasses.el (glasses-mode):
3577 * progmodes/hideshow.el (hs-minor-mode):
3578 * progmodes/pascal.el (pascal-outline-mode):
3579 * textmodes/enriched.el (enriched-mode):
3580 * vc/smerge-mode.el (smerge-mode):
3581 Doc fixes (minor mode argument).
3582
35832012-02-07 Eli Zaretskii <eliz@gnu.org>
3584
3585 * ls-lisp.el (ls-lisp-sanitize): New function.
3586 (ls-lisp-insert-directory): Use it to fix or remove any elements
3587 in file-alist with missing attributes. (Bug#4673)
3588
35892012-02-07 Alan Mackenzie <acm@muc.de>
3590
3591 Fix spurious recognition of c-in-knr-argdecl.
3592
3593 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
3594 putative K&R region.
3595
35962012-02-07 Alan Mackenzie <acm@muc.de>
3597
3598 * progmodes/cc-engine.el (c-forward-objc-directive):
3599 Prevent looping in "#pragma mark @implementation".
3600
36012012-02-07 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * notifications.el (notifications-on-closed-signal): Make `reason'
3604 optional. (Bug#10744)
3605
36062012-02-07 Glenn Morris <rgm@gnu.org>
3607
3608 * emacs-lisp/easy-mmode.el (define-minor-mode):
3609 Doc fixes for the macro and the mode it defines.
3610
3611 * image.el (imagemagick-types-inhibit): Doc fix.
3612
3613 * cus-start.el (imagemagick-render-type): Add it.
3614
36152012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
3616
3617 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
3618 Set the default at load time, too, so that `font-lock-fontify-buffer'
3619 can be called without setting up the entire mode first. This fixes
3620 a bug in `mm-inline-text' with C MIME parts.
3621
36222012-02-06 Chong Yidong <cyd@gnu.org>
3623
3624 * simple.el (list-processes--refresh): Delete exited processes
3625 (Bug#8094).
3626
3627 * comint.el (comint-next-prompt): next-single-char-property-change
3628 and prev-single-char-property-change never return nil (Bug#8657).
3629
3630 * custom.el (defcustom): Doc fix (Bug#9711).
3631
36322012-02-05 Chong Yidong <cyd@gnu.org>
3633
3634 * cus-edit.el (custom-variable-reset-backup): Quote the value
3635 before storing it in the customized-value property (Bug#6712).
3636 (custom-display): Add a customization type tag.
3637 (custom-buffer-create-internal): Improve tooltip message.
3638
3639 * wid-edit.el (widget-field-value-get): New optional arg to
3640 suppress trailing whitespace truncation.
3641 (character): Use it (Bug#2689).
3642
36432012-02-05 Andreas Schwab <schwab@linux-m68k.org>
3644
3645 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
3646 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
3647
36482012-02-05 Chong Yidong <cyd@gnu.org>
3649
3650 * cus-edit.el (custom-variable-value-create): For mismatched
3651 types, show the current value (Bug#7600).
3652
3653 * custom.el (defcustom): Doc fix.
3654
36552012-02-05 Glenn Morris <rgm@gnu.org>
3656
3657 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
3658
36592012-02-05 Juanma Barranquero <lekktu@gmail.com>
3660
3661 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
3662 (pp-buffer): Use `ignore-errors', `looking-at-p'.
3663 (pp-last-sexp): Use `looking-at-p'.
3664
36652012-02-04 Glenn Morris <rgm@gnu.org>
3666
3667 * files.el (revert-buffer):
3668 Doc fix (mention revert-buffer-in-progress-p).
3669
3670 * emacs-lisp/ert-x.el (ert-simulate-command):
3671 Check deferred-action-list (which is obsolete) is bound.
3672
3673 * subr.el (with-wrapper-hook): Doc fixes.
3674
3675 * simple.el (filter-buffer-substring-functions)
3676 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
3677
36782012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
3679
3680 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
3681 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
3682
36832012-02-04 Leo Liu <sdl.web@gmail.com>
3684
3685 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
3686
36872012-02-04 Glenn Morris <rgm@gnu.org>
3688
3689 * image.el (image-extension-data): Add obsolete alias.
3690
3691 * isearch.el (isearch-update): Doc fix.
3692
3693 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
3694
3695 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
3696
36972012-02-03 Glenn Morris <rgm@gnu.org>
3698
3699 * image.el (image-animated-p): Doc fix. Use image-animated-types.
3700 (image-animate-timeout): Doc fix.
3701
3702 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
3703
37042012-02-02 Glenn Morris <rgm@gnu.org>
3705
3706 * server.el (server-auth-dir): Doc fix.
3707 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
3708
3709 * subr.el (run-mode-hooks): Doc fix.
3710
37112012-02-02 Juri Linkov <juri@jurta.org>
3712
3713 * image-mode.el (image-toggle-display-image): Remove tautological
3714 `major-mode' from the `derived-mode-p' test.
3715
37162012-02-02 Kenichi Handa <handa@m17n.org>
3717
3718 * composite.el (compose-region): Cancel previous change.
3719
37202012-02-02 Kenichi Handa <handa@m17n.org>
3721
3722 * composite.el (compose-region, compose-string): Signal error for
3723 a null string component (Bug#6988).
3724
37252012-02-01 Chong Yidong <cyd@gnu.org>
3726
3727 * view.el (view-buffer-other-window, view-buffer-other-frame):
3728 Handle special modes like view-buffer (Bug#10650).
3729 (view-buffer): Simplify.
3730
3731 * frame.el (set-frame-font): Tweak meaning of third argument.
3732
3733 * dynamic-setting.el (font-setting-change-default-font):
3734 Use set-frame-font (Bug#9982).
3735
37362012-02-01 Glenn Morris <rgm@gnu.org>
3737
3738 * progmodes/compile.el (compilation-internal-error-properties):
3739 Respect compilation-first-column in the "*compilation*" buffer.
3740
3741 * emacs-lisp/easy-mmode.el (define-minor-mode):
3742 Relax :variable's test for a named function.
3743
37442012-01-31 Alan Mackenzie <acm@muc.de>
3745
3746 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
3747 off by one error.
3748
37492012-01-31 Chong Yidong <cyd@gnu.org>
3750
3751 * frame.el (set-frame-font): New arg ALL-FRAMES.
3752
3753 * menu-bar.el (menu-set-font): Use set-frame-font.
3754
3755 * faces.el (face-spec-reset-face): Don't apply unspecified
3756 attribute values to the default face.
3757
37582012-01-31 Juanma Barranquero <lekktu@gmail.com>
3759
3760 * progmodes/cwarn.el (cwarn): Remove dead link.
3761 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
3762 Remove * from defcustom docstrings.
3763 (turn-on-cwarn-mode): Make obsolete.
3764 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
3765 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
3766
37672012-01-31 Glenn Morris <rgm@gnu.org>
3768
3769 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3770 Fix :variable handling of mode a symbol not equal to modefun.
3771 Allow named functions to be used as the cdr of :variable.
3772
37732012-01-30 Glenn Morris <rgm@gnu.org>
3774
3775 * emacs-lisp/authors.el (authors-fixed-entries):
3776 Remove reference to deleted file rnewspost.el.
3777
37782012-01-29 Juanma Barranquero <lekktu@gmail.com>
3779
3780 * window.el (window-with-parameter): Remove unused variable `windows'.
3781 (window--side-check): Remove unused variable `code'.
3782 (window--resize-siblings): Remove unused variable `first'.
3783 (adjust-window-trailing-edge): Remove unused variable `failed'.
3784 (window-deletable-p, window--delete): Remove unused variable `buffer'.
3785 Use `let', not `let*'.
3786 (balance-windows-2): Remove unused variable `found'.
3787 (window--state-put-2): Remove unused variable `splits'.
3788 (window-state-put): Remove unused variable `selected'.
3789 (same-window-p): Use `string-match-p'.
3790 (display-buffer-assq-regexp): Remove unused variable `value'.
3791 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3792 Mark argument ALIST as ignored.
3793 (pop-to-buffer): Remove unused variable `old-window'.
3794
37952012-01-29 Eli Zaretskii <eliz@gnu.org>
3796
3797 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
3798 and .lzma compressed files.
3799
38002012-01-29 Chong Yidong <cyd@gnu.org>
3801
3802 * frame.el (window-system-default-frame-alist): Doc fix.
3803
3804 * dynamic-setting.el (font-setting-change-default-font): Don't
3805 change the default face if SET-FONT argument is non-nil (Bug#9982).
3806
38072012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
3808
3809 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
3810
38112012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
3812
3813 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
3814 breakpoints in files outside current directory (Bug#6098).
3815
38162012-01-29 Chong Yidong <cyd@gnu.org>
3817
3818 * progmodes/python.el: Require ansi-color at top-level.
3819
3820 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
3821 Define and use in Emacs Lisp mode (Bug#9360).
3822 (lisp-mode-abbrev-table): Add doc.
3823 (lisp-mode-variables): Don't set local-abbrev-table.
3824 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
3825
38262012-01-28 Roland Winkler <winkler@gnu.org>
3827
3828 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
3829
38302012-01-28 Roland Winkler <winkler@gnu.org>
3831
3832 * textmodes/bibtex.el (bibtex-entry-alist): New function.
3833 (bibtex-set-dialect): Use it. Either set global values of
3834 dialect-dependent variables or bind these variables buffer-locally
3835 (Bug#10254).
3836 (bibtex-mode): Call bibtex-set-dialect via
3837 hack-local-variables-hook.
3838 (bibtex-dialect): Update docstring.
3839 Add safe-local-variable predicate.
3840 (bibtex-entry-alist, bibtex-field-alist): Initialize via
3841 bibtex-set-dialect.
3842 (bibtex-mode-map): Define menu for each dialect.
3843 (bibtex-entry): Fix docstring.
3844
38452012-01-28 Chong Yidong <cyd@gnu.org>
3846
3847 * eshell/esh-arg.el (eshell-quote-argument): New function.
3848
3849 * eshell/esh-ext.el (eshell-invoke-batch-file):
3850 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
3851 first arg to eshell-parse-command (Bug#10523).
3852
38532012-01-28 Drew Adams <drew.adams@oracle.com>
3854
3855 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
3856 `default-directory' is non-nil.
3857
38582012-01-28 Eli Zaretskii <eliz@gnu.org>
3859
3860 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
3861 line that displays system-configuration-options. (Bug#9924)
3862
38632012-01-28 Drew Adams <drew.adams@oracle.com>
3864
3865 * descr-text.el (describe-char): Show information about POS, in
3866 addition to information about the character at POS. Improve and
3867 update the doc string. Change "code point" to "code point in
3868 charset", to avoid confusion with the character's Unicode code
3869 point shown above that. (Bug#10129)
3870
38712012-01-28 Eli Zaretskii <eliz@gnu.org>
3872
3873 * descr-text.el (describe-char): Show the raw character, not only
3874 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
3875 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
3876 for the reasons.
3877
38782012-01-28 Phil Hagelberg <phil@hagelb.org>
3879
3880 * emacs-lisp/package.el (package-install):
3881 Run package-refresh-contents if there is no archive yet (Bug#9798).
3882
38832012-01-28 Chong Yidong <cyd@gnu.org>
3884
3885 * emacs-lisp/package.el (package-maybe-load-descriptor):
3886 New function, split from package-maybe-load-descriptor.
3887 (package-maybe-load-descriptor): Use it.
3888 (package-download-transaction): Fully load required packages
3889 inside the loop, so that `require' calls work (Bug#10593).
3890 (package-install): No need to call package-initialize now.
3891
38922012-01-28 Chong Yidong <cyd@gnu.org>
3893
3894 * simple.el (deactivate-mark): Doc fix (Bug#8614).
3895
3896 * tooltip.el (tooltip-mode): Doc fix.
3897 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
3898
3899 * frame.el (set-cursor-color): Doc fix (Bug#352).
3900
3901 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
3902 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
3903
3904 * cus-edit.el (custom-buffer-create-internal): Fix search button
3905 action (Bug#10542).
3906 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
3907
39082012-01-27 Eduard Wiebe <usenet@pusto.de>
3909
3910 * dired.el (dired-mark-files-regexp):
3911 Include any subdirectory components. (Bug#10445)
3912
39132012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
3914
3915 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
3916 Handle [host]:port syntax. (Bug#10533)
3917
39182012-01-27 Alex Harsanyi <harsanyi@mac.com>
3919
3920 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
3921
39222012-01-26 Glenn Morris <rgm@gnu.org>
3923
3924 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
3925 * term.el (term-raw-escape-map): Use Control-X-prefix.
3926 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
3927
39282012-01-25 Martin Rudalics <rudalics@gmx.at>
3929
3930 * window.el (window-state-get, window--state-get-1): Don't deal
3931 with fixed-sizeness of windows. Simplify code.
3932
39332012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
3934
3935 * window.el (window--state-get-1, window--state-put-2):
3936 Don't save and restore the mark.
3937
39382012-01-25 Chong Yidong <cyd@gnu.org>
3939
3940 * custom.el (custom-variable-p): Doc fix.
3941
39422012-01-25 Glenn Morris <rgm@gnu.org>
3943
3944 * dired.el (dired-goto-file): Handle some of the more common
3945 characters that `ls -b' escapes. (Bug#10596)
3946
3947 * progmodes/compile.el (compilation-next-error-function):
3948 Respect compilation-first-column in the "*compilation*" buffer.
3949 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
3950
3951 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
3952
39532012-01-24 Glenn Morris <rgm@gnu.org>
3954
3955 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
3956
39572012-01-24 Julien Danjou <julien@danjou.info>
3958
3959 * color.el (color-rgb-to-hsl): Fix value computing.
3960 (color-hue-to-rgb): New function.
3961 (color-hsl-to-rgb): New function.
3962 (color-clamp, color-saturate-hsl, color-saturate-name)
3963 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
3964 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
3965
39662012-01-24 Glenn Morris <rgm@gnu.org>
3967
3968 * vc/vc-rcs.el (vc-rcs-create-tag):
3969 * vc/vc-sccs.el (vc-sccs-create-tag):
3970 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
3971
39722012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
3973
3974 * eshell/esh-util.el (eshell-read-hosts-file):
3975 Skip comment lines. (Bug#10549)
3976
3977 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
3978
39792012-01-23 Juanma Barranquero <lekktu@gmail.com>
3980
3981 * subr.el (display-delayed-warnings): Doc fix.
3982 (collapse-delayed-warnings): New function to collapse identical
3983 adjacent warnings.
3984 (delayed-warnings-hook): Add it.
3985
39862012-01-22 Michael Albinus <michael.albinus@gmx.de>
3987
3988 * net/tramp.el (tramp-action-login): Set connection property "login-as".
3989
3990 * net/tramp-cache.el (tramp-dump-connection-properties): Do not dump
3991 properties, when "login-as" is set.
3992
3993 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
3994 (tramp-default-user-alist): Don't add "pscp".
3995 (tramp-do-copy-or-rename-file-out-of-band): Use connection
3996 property "login-as", if set. (Bug#10530)
3997
39982012-01-21 Michael Albinus <michael.albinus@gmx.de>
3999
4000 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
4001 "plink1" and "psftp". (Bug#10530)
4002
40032012-01-21 Kenichi Handa <handa@m17n.org>
4004
4005 * international/mule-cmds.el (prefer-coding-system): Show a
4006 warning message if the default value of file-name-coding-system
4007 was not changed.
4008
40092012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4010
4011 * windmove.el (windmove-reference-loc):
4012 Fix windmove-reference-loc miscalculation.
4013
40142012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
4015
4016 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
4017 default unit.
4018
40192012-01-21 Glenn Morris <rgm@gnu.org>
4020
4021 * international/mule.el (auto-coding-alist): Add .tbz.
4022
4023 * files.el (local-enable-local-variables): Doc fix.
4024 (inhibit-local-variables-regexps): Rename from
4025 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
4026 Doc fix. Add some extensions from auto-coding-alist.
4027 (inhibit-local-variables-suffixes):
4028 Rename from inhibit-first-line-modes-suffixes. Doc fix.
4029 (inhibit-local-variables-p):
4030 New function, extracted from set-auto-mode-1.
4031 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
4032 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
4033 (hack-local-variables): Doc fix. Make the mode-only case
4034 respect enable-local-variables and friends.
4035 Respect inhibit-local-variables-regexps for file-locals, but
4036 not for directory-locals.
4037 (set-visited-file-name):
4038 Take account of inhibit-local-variables-regexps.
4039 Whether it applies may change as the file name is changed.
4040 * jka-cmpr-hook.el (jka-compr-install):
4041 * jka-compr.el (jka-compr-uninstall):
4042 Update for inhibit-first-line-modes-suffixes name change.
4043
40442012-01-20 Martin Rudalics <rudalics@gmx.at>
4045
4046 * help-macro.el (make-help-screen): Temporarily restore original
4047 binding for minor-mode-map-alist (Bug#10454).
4048
40492012-01-19 Julien Danjou <julien@danjou.info>
4050
4051 * color.el (color-name-to-rgb): Use the white color to find the max
4052 color component value and return correctly computed values.
4053 (color-name-to-rgb): Add missing float conversion for max value.
4054
40552012-01-19 Martin Rudalics <rudalics@gmx.at>
4056
4057 * window.el (window--state-get-1, window-state-get): Do not use
4058 special state value for window-persistent-parameters.
4059 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
4060 (window--state-put-2): Reset all window parameters to nil before
4061 assigning values of persistent parameters.
4062
40632012-01-18 Alan Mackenzie <acm@muc.de>
4064
4065 Eliminate sluggishness and hangs in fontification of "semicolon
4066 deserts".
4067
4068 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
4069 Change value 10000 -> 3000.
4070 (c-state-safe-place): Reformulate so it doesn't stack up an
4071 infinite number of wrong entries in c-state-nonlit-pos-cache.
4072 (c-determine-limit-get-base, c-determine-limit): New functions to
4073 determine backward search limits disregarding literals.
4074 (c-find-decl-spots): Amend commenting.
4075 (c-cheap-inside-bracelist-p): New function which detects "={".
4076
4077 * progmodes/cc-fonts.el
4078 (c-make-font-lock-BO-decl-search-function): Give a limit to a
4079 backward search.
4080 (c-font-lock-declarations): Fix an occurrence of point being
4081 undefined. Check additionally for point being in a bracelist or
4082 near a macro invocation without a semicolon so as to avoid a
4083 fruitless time consuming search for a declarator. Give a more
4084 precise search limit for declarators using the new
4085 c-determine-limit.
4086
40872012-01-18 Glenn Morris <rgm@gnu.org>
4088
4089 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
4090 (set-auto-mode): Doc fixes.
4091
40922012-01-17 Glenn Morris <rgm@gnu.org>
4093
4094 * isearch.el (search-nonincremental-instead): Fix doc typo.
4095
4096 * dired.el (dired-insert-directory): Handle newlines in directory name.
4097 (dired-build-subdir-alist): Unescape newlines in directory name.
4098
40992012-01-17 Michael Albinus <michael.albinus@gmx.de>
4100
4101 * net/tramp.el (tramp-local-end-of-line): New defcustom.
4102 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
4103 (tramp-action-terminal): Use it. (Bug#10530)
4104
41052012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4106
4107 * minibuffer.el (completion--replace): Strip properties (bug#10062).
4108
41092012-01-16 Martin Rudalics <rudalics@gmx.at>
4110
4111 * window.el (window-state-ignored-parameters): Remove variable.
4112 (window--state-get-1): Rename argument MARKERS to IGNORE.
4113 Handle persistent window parameters. Make copy of clone-of
4114 parameter only if requested. (Bug#10348)
4115 (window--state-put-2): Install a window parameter only if it has
4116 a non-nil value or an existing parameter shall be overwritten.
4117
41182012-01-15 Michael Albinus <michael.albinus@gmx.de>
4119
4120 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
4121
41222012-01-14 Eli Zaretskii <eliz@gnu.org>
4123
4124 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
4125 don't pass the (nil) value of `upnode' to string-match.
4126
41272012-01-14 Chong Yidong <cyd@gnu.org>
4128
4129 * startup.el (command-line): Fix X resource class for cursorColor.
4130 Fix values recognized by the cursorBlink resource.
4131
41322012-01-14 Paul Eggert <eggert@cs.ucla.edu>
4133
4134 * epg.el (epg--make-temp-file): Avoid permission race condition
4135 when running on old Emacs versions (bug#10403).
4136
41372012-01-14 Glenn Morris <rgm@gnu.org>
4138
4139 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
4140
41412012-01-13 Alan Mackenzie <acm@muc.de>
4142
4143 Fix filling for when filladapt mode is enabled.
4144
4145 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
4146 c-mask-paragraph, pass in `fill-paragraph' rather than
4147 `fill-region-as-paragraph'. (This is a reversion of a previous
4148 change.)
4149 * progmodes/cc-mode.el (c-basic-common-init):
4150 Make fill-paragraph-handle-comment buffer local and set it to nil.
4151
41522012-01-13 Glenn Morris <rgm@gnu.org>
4153
4154 * dired.el (dired-switches-escape-p): New function.
4155 (dired-insert-directory): Use dired-switches-escape-p.
4156 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
4157
4158 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
4159
41602012-01-12 Glenn Morris <rgm@gnu.org>
4161
4162 * mail/sendmail.el (mail-mode): Update paragraph-separate for
4163 changes in adaptive-fill-regexp. (Bug#10276)
4164
41652012-01-11 Alan Mackenzie <acm@muc.de>
4166
4167 Fix Emacs bug #10463 - put `widen's around the critical spots.
4168
4169 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
4170 widen around each invocation of c-state-pp-to-literal. Remove an
4171 unused let variable.
4172
41732012-01-11 Glenn Morris <rgm@gnu.org>
4174
4175 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
4176 Doc fix.
4177
41782012-01-10 Chong Yidong <cyd@gnu.org>
4179
4180 * net/network-stream.el (network-stream-open-starttls):
4181 Avoid emitting a confusing error message when the server gives a bad
4182 response to the capability command.
4183
41842012-01-10 Glenn Morris <rgm@gnu.org>
4185
4186 * mail/unrmail.el (unrmail): Tweak previous change.
4187
41882012-01-09 Chong Yidong <cyd@gnu.org>
4189
4190 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
4191
41922012-01-08 Alan Mackenzie <acm@muc.de>
4193
4194 Optimise font locking in long enum definitions.
4195
4196 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
4197 arm to a cond form to handle enums.
4198 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
4199 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
4200
42012012-01-07 Paul Eggert <eggert@cs.ucla.edu>
4202
4203 * files.el (move-file-to-trash): Preserve default file modes on error.
4204 (Bug#10401)
4205
42062012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4207
4208 * faces.el (set-face-attribute): Clarify the meaning of the nil
4209 frame (bug#10294).
4210
4211 * subr.el (with-selected-frame): Mention that the selected frame
4212 is restored (bug#9980).
4213
4214 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
4215 (bug#9759).
4216
4217 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
4218 (password-read): Don't autoload unused function.
4219
42202012-01-07 Juanma Barranquero <lekktu@gmail.com>
4221
4222 * progmodes/which-func.el (which-func-mode): Turn into a
4223 non-interactive function and mark as obsolete (bug#10428).
4224
42252012-01-06 Chong Yidong <cyd@gnu.org>
4226
4227 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
4228 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
4229 functions, along with 1 and -1.
4230
42312012-01-06 Eli Zaretskii <eliz@gnu.org>
4232
4233 * time.el (display-time-load-average)
4234 (display-time-default-load-average): Doc fixes. See the thread
4235 starting at
4236 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
4237 for the details.
4238
42392012-01-06 Glenn Morris <rgm@gnu.org>
4240
4241 * mail/unrmail.el (unrmail): Give an explicit error if the input file
4242 has no messages. (Bug#10377)
4243
4244 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
4245 than Info-edit. (Bug#10385)
4246
4247 * time.el (display-time-load-average, display-time-next-load-average):
4248 Doc fixes.
4249
4250 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
4251 local setting of buffer-read-only to the input buffer. (Bug#10419)
4252
4253 * calendar/calendar.el (calendar-mode):
4254 Locally set scroll-margin to 0. (Bug#10379)
4255
42562012-01-06 Ulrich Mueller <ulm@gentoo.org>
4257
4258 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
4259
42602012-01-05 Glenn Morris <rgm@gnu.org>
4261
4262 * eshell/em-unix.el (diff-no-select): Autoload it.
4263 (eshell/diff): Use diff-no-select. (Bug#10420)
4264
42652012-01-05 Chong Yidong <cyd@gnu.org>
4266
4267 * shell.el (shell-dynamic-complete-functions): Revert last change.
4268 (shell-command-completion-function): New function.
4269 (shell-completion-vars): Use it to implement
4270 shell-completion-execonly (Bug#10417).
4271
4272 * custom.el (enable-theme): Don't set custom-safe-themes.
4273
4274 * cus-theme.el (custom-theme-merge-theme):
4275 Ignore custom-enabled-themes and custom-safe-themes.
4276
42772012-01-05 Michael R. Mauger <mmaug@yahoo.com>
4278
4279 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
4280 first prompt in `sql-interacive-mode'.
4281 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
4282 keywords.
4283 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
4284 (sql-product-interactive): Bug fix: Set `sql-buffer' in
4285 context of original buffer. Invoke `sql-login-hook'.
4286
42872012-01-04 Eli Zaretskii <eliz@gnu.org>
4288
4289 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
4290 letters in cite-prefix.
4291
42922012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4293
4294 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
4295
42962012-01-03 Chong Yidong <cyd@gnu.org>
4297
4298 * shell.el (shell-dynamic-complete-functions):
4299 Put pcomplete-completions-at-point, so as to try
4300 comint-filename-completion first (Bug#10417).
4301
43022012-01-02 Richard Stallman <rms@gnu.org>
4303
4304 * battery.el (battery-status-function):
4305 Detect when to use battery-yeeloong-sysfs.
4306 (battery-echo-area-format): Add string for Yeeloong.
4307 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
4308 (battery-yeeloong-sysfs): New function.
4309
43102012-01-02 Chong Yidong <cyd@gnu.org>
4311
4312 * dirtrack.el (dirtrack-list): Eliminate unused third element.
4313 (dirtrack): Merge code for handling relative filenames in prompt
4314 from shell-dir-cookie-watcher.
4315 (dirtrack-debug-message): New arg to avoid excess format calls.
4316
4317 * shell.el (shell-dir-cookie-re): Variable deleted.
4318 (shell-dir-cookie-watcher): Function deleted.
4319 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
4320 with dirtrack-mode.
4321
43222012-01-01 Eli Zaretskii <eliz@gnu.org>
4323
4324 * term/w32-win.el (dynamic-library-alist) <gnutls>:
4325 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
4326 libgnutls-26.dll.
4327
43282011-12-31 Andreas Schwab <schwab@linux-m68k.org>
4329
4330 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
4331
43322011-12-31 Eli Zaretskii <eliz@gnu.org>
4333
4334 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
4335 headers of non-MIME messages, when rmail-enable-mime is non-nil.
4336
43372011-12-29 Michael Albinus <michael.albinus@gmx.de>
4338
4339 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
4340 also for alternative shells.
4341 (tramp-open-connection-setup-interactive-shell): Check, whether
4342 the shell is a busybox.
4343 (tramp-send-command): Don't suppress multiple prompts for
4344 busyboxes, it hurts.
4345
43462011-12-28 Chong Yidong <cyd@gnu.org>
4347
4348 * progmodes/gdb-mi.el (gdb-get-source-file-list)
4349 (gdb-get-source-file): Move mode line update to
4350 gdb-get-source-file (Bug#10087).
4351
43522011-12-25 Chong Yidong <cyd@gnu.org>
4353
4354 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
4355 gud-gdb-marker-filter without taking it as an argument.
4356 (gud-gdb-run-command-fetch-lines): Caller changed.
4357 (gud-gdb-completion-function): New variable.
4358 (gud-gdb-completion-at-point): Use it.
4359 (gud-gdb-completions-1): Split from gud-gdb-completions.
4360
4361 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
4362 function as separate arguments.
4363 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
4364 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
4365 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
4366 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
4367 (gdb-stopped, def-gdb-auto-update-trigger)
4368 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
4369 (gdb-get-changed-registers, gdb-get-main-selected-frame):
4370 Callers changed.
4371 (gud-gdbmi-completions): New function.
4372 (gdb): Use it for generating the completion table.
4373
43742011-12-24 Alan Mackenzie <acm@muc.de>
4375
4376 Introduce a mechanism to widen the region used in context font
4377 locking. Use this to protect declarations from losing their contexts.
4378
4379 * progmodes/cc-langs.el (c-before-font-lock-functions):
4380 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
4381 (c-before-context-fontification-functions): New defvar, a list of
4382 functions to be run just before context (etc.) font locking.
4383
4384 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
4385 New, functionality extracted from
4386 c-neutralize-syntax-in-and-mark-CPP.
4387 (c-in-after-change-fontification): New variable.
4388 (c-after-change): Set c-in-after-change-fontification.
4389 (c-set-fl-decl-start): Rejig its interface, so it can be called
4390 from both after-change and context fontifying.
4391 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
4392 New functions.
4393 (c-standard-font-lock-fontify-region-function): New variable.
4394 (c-font-lock-fontify-region): New function.
4395
43962011-12-24 Juri Linkov <juri@jurta.org>
4397
4398 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
4399 (Bug#10348)
4400
44012011-12-23 Michael Albinus <michael.albinus@gmx.de>
4402
4403 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
4404 existence of source file. (Bug#10325)
4405
44062011-12-23 Alan Mackenzie <acm@muc.de>
4407
4408 Fix unstable fontification inside templates.
4409
4410 * progmodes/cc-langs.el (c-before-font-lock-functions):
4411 Newly created from the singular version. The (c c++ objc) entry now
4412 additionally has c-set-fl-decl-start. The other languages (apart
4413 from AWK) have that as a single entry.
4414
4415 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
4416 The functionality for "local" declarations has been extracted to
4417 c-set-fl-decl-start.
4418
4419 * progmodes/cc-mode.el (c-common-init, c-after-change):
4420 Changes due to pluralisation of c-before-font-lock-functions.
4421 (c-set-fl-decl-start): New function, extracted from
4422 c-font-lock-enclosing-decls and enhanced.
4423
44242011-12-23 Juanma Barranquero <lekktu@gmail.com>
4425
4426 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
4427
44282011-12-22 Juri Linkov <juri@jurta.org>
4429
4430 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
4431
44322011-12-22 Chong Yidong <cyd@gnu.org>
4433
4434 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
4435
44362011-12-21 Drew Adams <drew.adams@oracle.com>
4437
4438 * files.el (file-remote-p): Fix docstring. (Bug#10319)
4439
44402011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
4441
4442 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
4443
44442011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
4445
4446 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
4447 highlighting and support. Fix up comments for capitalization.
4448 (cfengine-mode-debug): New var.
4449 (cfengine3-mode): Change the modeline indicator to "CFE3".
4450 (cfengine3-font-lock-keywords): Improve defun highlighting.
4451 (cfengine2-actions): Rename from `cfengine-actions'.
4452 (cfengine2-font-lock-keywords): Rename from
4453 `cfengine-font-lock-keywords'.
4454 (cfengine2-imenu-expression): Rename from
4455 `cfengine-imenu-expression'.
4456 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
4457 (cfengine2-beginning-of-defun): Rename from
4458 `cfengine-beginning-of-defun'.
4459 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
4460 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
4461 (cfengine2-mode): Rename from `cfengine-mode'. Change the
4462 modeline indicator to "CFE2".
4463 (cfengine-mode): Defalias to `cfengine-auto-mode'.
4464 (cfengine-mode-abbrevs): Mark obsolete.
4465
44662011-12-21 Chong Yidong <cyd@gnu.org>
4467
4468 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
4469 filename argument.
4470
44712011-12-20 Martin Rudalics <rudalics@gmx.at>
4472
4473 * window.el (window-normalize-buffer-to-display): Remove.
4474 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
4475
44762011-12-19 Chong Yidong <cyd@gnu.org>
4477
4478 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
4479 Don't signal an error in a predicate function; return non-nil.
4480 (vc-dir-mark-file): Move the error here.
4481 (vc-dir-mark-unmark): If acting on the region, keep going if one
4482 of the entries cannot be marked/unmarked.
4483 (vc-dir-mark-all-files): If current entry is a directory, mark
4484 only child files, as documented.
4485
44862011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
4487
4488 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
4489 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
4490 addition.
4491
44922011-12-18 Jan Djärv <jan.h.d@swipnet.se>
4493
4494 * term/ns-win.el (ns-get-selection-internal)
4495 (ns-store-selection-internal): Declare.
4496 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
4497 Declare as obsolete.
4498 (ns-get-pasteboard, ns-paste-secondary):
4499 Use ns-get-selection-internal.
4500 (ns-set-pasteboard, ns-copy-including-secondary):
4501 Use ns-store-selection-internal.
4502
45032011-12-17 Chong Yidong <cyd@gnu.org>
4504
4505 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
4506 (vc-deduce-fileset): Doc fix.
4507
45082011-12-16 Andreas Schwab <schwab@linux-m68k.org>
4509
4510 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
4511
45122011-12-13 Sam Steingold <sds@gnu.org>
4513
4514 * man.el (Man-getpage-in-background): When running under a
4515 window-system, ignore $MANWIDTH and $COLUMNS.
4516
45172011-12-15 Kenichi Handa <handa@m17n.org>
4518
4519 * language/ethio-util.el: Change coding tag to utf-8-emacs.
4520 (setup-ethiopic-environment-internal): Comment out key-binding for
4521 ethio-toggle-punctuation.
4522
45232011-12-13 Alan Mackenzie <acm@muc.de>
4524
4525 Add the switch statement to AWK Mode.
4526
4527 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
4528 "default" to the keywords regexp.
4529
4530 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
4531 expression as the rest.
4532 (c-nonlabel-token-key): Allow string literals for AWK.
4533 Refactor for the other modes.
4534
4535 Large brace-block initialisation makes CC Mode slow: Fix.
4536 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
4537 routines. Limit backward searching in c-font-lock-enclosing.decl.
4538
4539 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
4540 pp-state and literal type in addition to the limits.
4541 (c-state-safe-place): New defun, extracted from c-state-literal-at.
4542 (c-state-literal-at): Use the above new defun.
4543 (c-slow-in-literal, c-fast-in-literal): Remove.
4544 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
4545
4546 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
4547 being in a literal. Add a limit for backward searching.
4548
4549 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
4550 c-slow-in-literal.
4551
45522011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
4553
4554 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
4555
45562011-12-13 Martin Rudalics <rudalics@gmx.at>
4557
4558 * window.el (delete-other-windows): Use correct frame in call to
4559 window-with-parameter.
4560
45612011-12-12 Daniel Pfeiffer <occitan@t-online.de>
4562
4563 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
4564 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
4565 (makefile-gmake-statements, makefile-makepp-statements):
4566 Use it and add new makepp keywords.
4567 (makefile-makepp-font-lock-keywords): Add new patterns.
4568 (makefile-match-function-end): Match new [...] and [[...]].
4569
45702011-12-11 Juanma Barranquero <lekktu@gmail.com>
4571
4572 * ses.el (ses-call-printer-return, ses-cell-property-get)
4573 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
4574 (ses-create-cell-variable, ses-reset-header-string)
4575 (ses-cell-set-formula, ses-repair-cell-reference-all)
4576 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
4577 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
4578 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
4579 (ses-aset-with-undo, ses-load, ses-truncate-cell)
4580 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
4581 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
4582 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
4583 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
4584 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
4585 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
4586 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
4587 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
4588
45892011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
4590
4591 * ses.el: The overall change is to add cell renaming, that is
4592 setting fancy names for cell symbols other than name matching
4593 "\\`[A-Z]+[0-9]+\\'" regexp .
4594 (ses-create-cell-variable): New defun.
4595 (ses-relocate-formula): Relocate formulas only for cells the
4596 symbols of which are not renamed, i.e. symbols whose names do not
4597 match regexp "\\`[A-Z]+[0-9]+\\'".
4598 (ses-relocate-all): Relocate values only for cells the symbols of
4599 which are not renamed.
4600 (ses-load): Create cells variables as the (ses-cell ...) are read,
4601 in order to check row col consistency with cell symbol name only
4602 for cells that are not renamed.
4603 (ses-replace-name-in-formula): New defun.
4604 (ses-rename-cell): New defun.
4605
46062011-12-11 Chong Yidong <cyd@gnu.org>
4607
4608 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
4609 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
4610
46112011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
4612
4613 * window.el (other-window): Fix docstring.
4614
46152011-12-10 Eli Zaretskii <eliz@gnu.org>
4616
4617 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
4618 `from' or `to' address before taking its substring.
4619 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
4620 encoded name is chopped in the middle of the encoded string, and
4621 thus displayed encoded.
4622
46232011-12-10 Juanma Barranquero <lekktu@gmail.com>
4624
4625 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
4626
46272011-12-10 Eli Zaretskii <eliz@gnu.org>
4628
4629 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
4630 to use texinfo-update-node and commands that call it if the
4631 Texinfo file uses @node lines without next/prev/up pointers.
4632 Correct outdated description about texinfo-master-menu.
4633 (texinfo-all-menus-update, texinfo-master-menu)
4634 (texinfo-update-node, texinfo-every-node-update)
4635 (texinfo-multiple-files-update): Doc fix. Warn against updating
4636 all the @node lines.
4637 (texinfo-master-menu): Only call texinfo-update-node if the prefix
4638 argument is numeric. Explain better in the doc string what the
4639 function really does.
4640 (texinfo-insert-master-menu-list): Improve the error message
4641 displayed if there's no menu in the Top node.
4642 (Bug#2975) See also this thread:
4643 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
4644
46452011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
4646
4647 * speedbar.el (speedbar-supported-extension-expressions):
4648 Add .adb and .ads, commonly used for Ada source code (bug#10256).
4649
46502011-12-09 Juanma Barranquero <lekktu@gmail.com>
4651
4652 * printing.el (pr-mode-alist):
4653 * simple.el (filter-buffer-substring-functions)
4654 (completion-list-insert-choice-function):
4655 * window.el (window-with-parameter, window-atom-root)
4656 (window-sides-slots, window-size-fixed, window-min-delta)
4657 (window-max-delta, window--resize-mini-window)
4658 (window--resize-child-windows-normal, window-tree)
4659 (delete-other-windows, quit-window, split-window)
4660 (display-buffer-record-window, special-display-buffer-names)
4661 (special-display-regexps, special-display-popup-frame)
4662 (same-window-p, split-window-sensibly)
4663 (display-buffer-overriding-action, display-buffer-alist)
4664 (display-buffer-base-action, display-buffer, switch-to-buffer)
4665 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
4666 (fit-window-to-buffer, recenter-positions)
4667 (mouse-autoselect-window-state, mouse-autoselect-window-select):
4668 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
4669 and remove unneeded backslashes in docstrings.
4670
46712011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
4674
4675 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
4676 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
4677 end in ".mk".
4678 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
4679 when reading the makefile (bug#10116).
4680
46812011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4682
4683 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
4684 (bug#10116).
4685
46862011-12-06 Glenn Morris <rgm@gnu.org>
4687
4688 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
4689
46902011-12-06 Chong Yidong <cyd@gnu.org>
4691
4692 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
4693
46942011-12-06 Juanma Barranquero <lekktu@gmail.com>
4695
4696 * textmodes/table.el (table-shorten-cell): Fix typo.
4697
46982011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
4699
4700 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
4701
47022011-12-05 Eli Zaretskii <eliz@gnu.org>
4703
4704 * descr-text.el (describe-char): Fix display of strong
4705 right-to-left characters and directional embeddings and overrides.
4706
4707 * simple.el (what-cursor-position): Fix display of codepoints of
4708 strong right-to-left characters.
4709
47102011-12-05 Chong Yidong <cyd@gnu.org>
4711
4712 * faces.el (read-color): Doc fix.
4713
47142011-12-05 Glenn Morris <rgm@gnu.org>
4715
4716 * align.el (align--set-marker): Add doc-string.
4717 Don't try to move something that is not a marker. (Bug#10216)
4718
47192011-12-04 Glenn Morris <rgm@gnu.org>
4720
4721 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
4722 overly zealous deletion of trailing whitespace.
4723
47242011-12-04 Juanma Barranquero <lekktu@gmail.com>
4725
4726 * server.el (server-delete-client): On Windows, do not try to delete
4727 the only terminal.
4728 (server-process-filter): On Windows, treat requests for a tty frame as
4729 if they were for a GUI frame if the running server is in GUI mode.
4730
47312011-12-03 Glenn Morris <rgm@gnu.org>
4732
4733 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
4734
47352011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4736
4737 * electric.el: Streamline electric-indent's hook.
4738 (electric-indent-chars): Revert to simple list.
4739 (electric-indent-functions): New var.
4740 (electric-indent-post-self-insert-function): Use it.
4741
4742 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
4743 there's no inferior buffer (bug#10196).
4744 (prolog-consult-compile): Don't use toggle-read-only.
4745
47462011-12-02 Michael Albinus <michael.albinus@gmx.de>
4747
4748 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
4749 interrupt. (Bug#10187)
4750
47512011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4752
4753 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
4754 (bug#9160).
4755
4756 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
4757 (bug#10191).
4758
47592011-12-02 Juri Linkov <juri@jurta.org>
4760
4761 * info.el (Info-search): Display "end of manual" when Isearch
4762 reaches the end of single-file Info manual. (Bug#9918)
4763
47642011-12-02 Eli Zaretskii <eliz@gnu.org>
4765
4766 * isearch.el (isearch-message-prefix): Run the input method part
4767 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
4768
47692011-12-02 Juri Linkov <juri@jurta.org>
4770
4771 * isearch.el (isearch-occur): Use `word-search-regexp' for
4772 `isearch-word'.
4773 (isearch-search-and-update): Add condition for `isearch-word' and
4774 call `word-search-regexp'. (Bug#10145)
4775
47762011-12-01 Glenn Morris <rgm@gnu.org>
4777
4778 * eshell/em-hist.el (eshell-hist-initialize):
4779 Handle eshell-history-size nil and HISTSIZE set or unset.
4780 (eshell-history-file-name, eshell-history-size): Fix custom type.
4781
47822011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4783
4784 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
4785
47862011-12-01 Michael McNamara <mac@mail.brushroad.com>
4787
4788 * progmodes/verilog-mode.el (verilog-pretty-expr):
4789 Rework verilog-pretty-expr to handle new assignment operators in system
4790 verilog, such as += *= and the like.
4791 (verilog-assignment-operator-re): Regular expression to find the
4792 assigment operator in a verilog assignment.
4793 (verilog-assignment-operation-re): Regular expression to find an
4794 assignment statement for pretty-expr.
4795 (verilog-in-attribute-p): Query returns true if point is in an
4796 attribute context; used to skip these for expression line up from
4797 pretty-expr.
4798 (verilog-in-parameter-p): Query returns true if point is in an
4799 parameter definition context; used to skip these for expression
4800 line up from pretty-expr.
4801 (verilog-in-parenthesis-p): Query returns true if point is in a
4802 parenthetical expression, specifically ( ) but not [ ] or { };
4803 used by pretty-expr.
4804 (verilog-just-one-space): If there is no space, don't add one.
4805 (verilog-get-lineup-indent-2): Specifically skip just attribute
4806 contexts for expression lineup, rather than skipping all
4807 parenthetical expressions.
4808 (verilog-calculate-indent): Fix comment, and fix indent.
4809 (verilog-do-indent): Indent declarations in lists (suggested by
4810 Joachim Lechner).
4811 (verilog-mode-abbrev-table): Populate abbrev mode with the various
4812 skeleton items.
4813 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
4814 by Alain Mellan).
4815
48162011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
4817
4818 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
4819 parameters with embedded comments. Reported by Ray Stevens.
4820 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
4821 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
4822 Reported by Tim Holt.
4823 (verilog-auto): Fix AUTOing a upper module then AUTOing module
4824 instantiated by upper module causing wrong expansion until AUTOed a
4825 second time. Reported by K C Buckenmaier.
4826 (verilog-diff-auto): Fix showing .* as a difference when
4827 `verilog-auto-star-save' off. Reported by Dan Dever.
4828 (verilog-auto-reset, verilog-read-always-signals)
4829 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
4830 temporary signals in reset list if
4831 verilog-auto-reset-blocking-in-non is nil, and match assignment
4832 style to each signal's assignment type, bug381.
4833 Reported by Thomas Esposito.
4834 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
4835 (verilog-uvm-statement-re): Support UVM indentation and
4836 highlighting, with old OVM keywords only.
4837 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
4838 Support AUTOTIEOFF creating non-wire data types.
4839 Suggested by Jonathan Greenlaw.
4840 (verilog-auto-insert-lisp, verilog-delete-to-paren)
4841 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
4842 (verilog-inject-sense, verilog-read-inst-pins)
4843 (verilog-read-sub-decls, verilog-read-sub-decls-line):
4844 Fix mismatching parenthesis inside commented out code when deleting
4845 AUTOINST, bug383. Reported by Jonathan Greenlaw.
4846 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
4847 non-numeric vector width. Reported by Alex Reed.
4848 (verilog-auto-ascii-enum): Add "onehot" option to work around not
4849 detecting signals with parameter widths. Reported by Alex Reed.
4850 (verilog-auto-delete-trailing-whitespace):
4851 With `verilog-auto-delete-trailing-whitespace' remove trailing
4852 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
4853 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
4854 Fix verilog-scan-cache corruption when running user AUTO expansion
4855 hooks that call indentation routines.
4856 (verilog-simplify-range-expression): Fix typo ignoring lower case
4857 identifiers.
4858 (verilog-delete-auto): Fix delete-autos to also remove user created
4859 automatics, as long as they start with AUTO.
4860 (verilog-batch-diff-auto, verilog-diff-auto)
4861 (verilog-diff-function): Add `verilog-diff-auto' and bind to
4862 "C-c?" to report differences in AUTO expansion, ignoring spaces.
4863 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
4864 (verilog-in-paren-quick, verilog-re-search-backward-quick)
4865 (verilog-re-search-forward-quick, verilog-syntax-ppss):
4866 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
4867 is disabled and its cache will get corrupt, causing AUTOS not to
4868 expand. Instead use only -quick functions.
4869 (verilog-scan-region): Fix scanning over escaped quotes.
4870 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
4871 (verilog-re-search-backward-quick)
4872 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
4873 related functions now ignore strings, to fix misparsing of strings
4874 with magic comments embedded in them.
4875 (verilog-read-auto-template):
4876 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
4877 Reported by Brad Dobbie.
4878 (verilog-read-auto-template):
4879 Fix 'verilog-auto-inst-template-numbers' with comments.
4880 Reported by Brad Dobbie.
4881 (verilog-auto-inst, verilog-auto-inst-param)
4882 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
4883 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
4884 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
4885 debugging templates without merge conflicts, bug357.
4886 Reported by Brad Dobbie.
4887 (verilog-read-auto-template):
4888 Fix verilog-auto-inst-template-numbers with multiple templates.
4889 Reported by Brad Dobbie.
4890 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
4891 abbrevs so user won't be asked to save.
4892 (verilog-read-auto-lisp-present): Fix to start at beginning of
4893 buffer in case called outside of verilog-auto.
4894 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
4895 to "X-2". Reported by Matthew Myers.
4896 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
4897 all inputs from module templates. Reported by Leith Johnson.
4898 (verilog-module-inside-filename-p): Fix locating programs as with
4899 modules.
4900 (verilog-auto-inst-port): Fix vl-width expressions when using
4901 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
4902 (verilog-decls-get-regs, verilog-decls-get-signals,
4903 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
4904 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
4905 verilog-read-decls): Combine reg and wire structures into one var
4906 structure to represent SystemVerilog concepts.
4907 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
4908 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
4909 (verilog-auto-wire-type, verilog-insert-definition):
4910 Add verilog-auto-wire-type and AUTOLOGIC to support using
4911 SystemVerilog "logic" keyword instead of "wire"/"reg".
4912 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
4913 to declares outputs that also have assignments (presumably in an
4914 ifdef or generate if so there's not a driver conflict).
4915 Reported by Matthew Myers.
4916 (verilog-auto-declare-nettype, verilog-insert-definition):
4917 Add verilog-auto-declare-nettype to fix declarations using
4918 `default_nettype none. Reported by Julian Gorfajn.
4919 (verilog-read-always-signals-recurse, verilog-read-decls)
4920 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
4921 malformed end statement, bug325. Reported by Joshua Wise and
4922 Andrew Drake.
4923 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
4924 (verilog-inst-comment-re): Fix not deleting Interfaced comment
4925 when expanding .* in interfaces, bug320.
4926 Reported by Pierre-David Pfister.
4927 (verilog-read-module-name): Fix import statements between module
4928 name and open parenthesis, bug317.
4929 Reported by Pierre-David Pfister.
4930 (verilog-simplify-range-expression): Fix simplification of
4931 multiplications inside AUTOWIRE connections, bug303.
4932 (verilog-auto-inst-port): Support parameter expansion in
4933 multidimensional arrays.
4934 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
4935 after "assert property". Reported by Julian Gorfajn.
4936 (verilog-simplify-range-expression): Fix "couldn't merge" errors
4937 with multiplication, bug303.
4938 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
4939 Reported by Jan Frode Lonnum.
4940
49412011-11-30 Juanma Barranquero <lekktu@gmail.com>
4942
4943 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
4944 (hfy-shell-file-name, hfy-shell):
4945 * international/fontset.el (x-decompose-font-name): Fix typos.
4946
49472011-11-29 Ken Brown <kbrown@cornell.edu>
4948
4949 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
4950 (gdb-version): Remove defvar.
4951 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
4952 (gdb-gud-context-command, gdb-non-stop-handler)
4953 (gdb-current-context-command, gdb-stopped): Use it.
4954 (gdb-init-1): Enable pretty printing here.
4955 (gdb-non-stop-handler): Don't enable pretty-printing here.
4956 Check to see if the target supports non-stop mode; if not, turn off
4957 non-stop mode. Use the following.
4958 (gdb-check-target-async): New defun.
4959 (gud-watch, gdb-stopped): Fix whitespace.
4960 (gdb-get-source-file): Don't try to display the source file if
4961 `gdb-main-file' is nil.
4962
49632011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * align.el: Try to generate fewer markers (bug#10047).
4966 (align--set-marker): New macro.
4967 (align-region): Use it.
4968
49692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
4970
4971 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
4972
49732011-11-29 Chong Yidong <cyd@gnu.org>
4974
4975 * indent.el (indent-for-tab-command, indent-according-to-mode):
4976 Doc fix.
4977 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
4978
49792011-11-29 Michael Albinus <michael.albinus@gmx.de>
4980
4981 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
4982 aware of remote file names. (Bug#10124)
4983
49842011-11-29 Chong Yidong <cyd@gnu.org>
4985
4986 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
4987
49882011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4989
4990 * files.el (find-file): Don't use force-same-window (bug#10144).
4991 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
4992 use pop-to-buffer if the selected window can't be used.
4993 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
4994
49952011-11-28 Eli Zaretskii <eliz@gnu.org>
4996
4997 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
4998 special-mode-map.
4999
50002011-11-28 Chong Yidong <cyd@gnu.org>
5001
5002 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
5003
50042011-11-27 Nick Roberts <nickrob@snap.net.nz>
5005
5006 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
5007 gdb-get-source-file-list on gdb-create-source-file-list.
5008
50092011-11-26 Eli Zaretskii <eliz@gnu.org>
5010
5011 * whitespace.el (whitespace-newline): Use a different foreground
5012 color for 16-color light-background displays.
5013
50142011-11-24 Chong Yidong <cyd@gnu.org>
5015
5016 * window.el (display-buffer--special-action): Doc fix.
5017
50182011-11-25 Juanma Barranquero <lekktu@gmail.com>
5019
5020 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
5021 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
5022 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
5023 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
5024 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
5025 (avl-tree-stack-first):
5026 * emacs-lisp/cconv.el (cconv--analyse-use):
5027 * net/gnutls.el (gnutls-negotiate): Fix typos.
5028
50292011-11-24 Glenn Morris <rgm@gnu.org>
5030
5031 * lpr.el (lpr-windows-system, lpr-lp-system):
5032 * mail/binhex.el (binhex-begin-line):
5033 * progmodes/grep.el (grep-history, grep-find-history):
5034 * textmodes/flyspell.el:
5035 * vc/pcvs-defs.el (cvs-global-menu):
5036 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
5037 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
5038 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
5039
5040 * net/tls.el: Fix case of "GnuTLS".
5041
5042 * paths.el (rmail-file-name): Format doc-string for make-docfile.
5043
5044 * version.el (emacs-build-system): Give it a doc-string.
5045
50462011-11-24 Juri Linkov <juri@jurta.org>
5047
5048 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
5049
50502011-11-24 Glenn Morris <rgm@gnu.org>
5051
5052 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
5053 if called on a non-mime message just toggle the headers. (Bug#8006)
5054
50552011-11-24 Juanma Barranquero <lekktu@gmail.com>
5056
5057 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
5058 (allout-lead-with-comment-string, allout-structure-deleted-hook)
5059 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
5060 (allout-rebullet-heading, allout-open-sibtopic)
5061 (allout-toggle-current-subtree-encryption)
5062 (allout-toggle-subtree-encryption, allout-encrypt-string)
5063 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
5064 (allout-distinctive-bullets-string, allout-auto-activation):
5065 * window.el (window-normalize-buffer-to-display):
5066 * progmodes/verilog-mode.el (verilog-batch-indent):
5067 * textmodes/bibtex.el (bibtex-field-braces-opt)
5068 (bibtex-field-strings-opt):
5069 * vc/cvs-status.el (cvs-tree-merge):
5070 Fix typos.
5071
50722011-11-23 Michael Albinus <michael.albinus@gmx.de>
5073
5074 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
5075 `non-essential' to t, in order to avoid remote connections.
5076
50772011-11-23 Eli Zaretskii <eliz@gnu.org>
5078
5079 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5080 On MS-DOS and MS-Windows, compare with loaddefs.el
5081 case-insensitively.
5082
50832011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5084
5085 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
5086
50872011-11-23 Glenn Morris <rgm@gnu.org>
5088
5089 * paths.el (rmail-file-name): Reformat the doc-string so that it
5090 is picked up.
5091
5092 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
5093 (rmail-auto-file): Ignore case in the "special" field names,
5094 as mail-fetch-field does for all others.
5095
5096 * mail/rmail.el (rmail-forward):
5097 * mail/rmailkwd.el (rmail-set-label):
5098 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
5099 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
5100
5101 * mail/rmail.el (rmail-current-message): Doc fix.
5102
5103 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
5104
51052011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
5106
5107 * server.el (server-eval-and-print): Allow C-g (bug#6585).
5108
51092011-11-22 Glenn Morris <rgm@gnu.org>
5110
5111 * mail/rmailmm.el (test-rmail-mime-handler)
5112 (test-rmail-mime-bulk-handler)
5113 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
5114
51152011-11-21 Juri Linkov <juri@jurta.org>
5116
5117 * calc/calc.el (calc-read-key-sequence):
5118 Let-bind `input-method-function' to nil. (Bug#10018)
5119
51202011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5121
5122 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
5123 Tell the caller that the next line needs recomputation, even
5124 though it doesn't start a sexp (bug#10094).
5125
51262011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5127
5128 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
5129
51302011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5131
5132 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5133 Use force-same-window.
5134
51352011-11-20 Juanma Barranquero <lekktu@gmail.com>
5136
5137 * descr-text.el (describe-char-unicode-data):
5138 * json.el (json-string-escape):
5139 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
5140 (Footnote-unicode, Footnote-style-p):
5141 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
5142
51432011-11-20 Chong Yidong <cyd@gnu.org>
5144
5145 * window.el (replace-buffer-in-windows): Restore interactive spec.
5146
51472011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
5148
5149 * electric.el (electric-indent-mode): Fix last change (too optimistic).
5150
5151 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
5152 (byte-compile-global-not-obsolete-vars): New var.
5153 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
5154 Use it.
5155 (byte-compile-warn-obsolete): Align text with the one in *Help*.
5156
51572011-11-20 Juanma Barranquero <lekktu@gmail.com>
5158
5159 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
5160 * progmodes/pascal.el (electric-pascal-equal):
5161 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
5162 * xml.el (xml-substitute-special): Fix typos.
5163
51642011-11-20 Glenn Morris <rgm@gnu.org>
5165
5166 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
5167 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
5168 Doc fixes.
5169 (rmail-decode-mime-charset): Mark as obsolete.
5170
5171 * mail/rmailsum.el (rmail-message-regexp-p-1):
5172 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
5173 Before using mime functions, check they are set. (Bug#10077)
5174
51752011-11-19 Juri Linkov <juri@jurta.org>
5176
5177 * info.el (Info-finder-find-node): Use `package--builtins' instead
5178 of `package-alist'. Use node names formed by the pattern "Keyword "
5179 and the keyword name.
5180
51812011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5182
5183 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
5184
51852011-11-19 Juri Linkov <juri@jurta.org>
5186
5187 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
5188 that calls `revert-buffer' on all Info buffers. (Bug#9915)
5189 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
5190 `old-history', `old-history-forward'. Add let-binding
5191 `window-selected'. Remove calls to `kill-buffer',
5192 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
5193 before calling `Info-find-node', so `Info-find-node-2' will reread
5194 the Info file. Restore window positions only when `window-selected'
5195 is non-nil.
5196
51972011-11-19 Juri Linkov <juri@jurta.org>
5198
5199 * isearch.el (isearch-lazy-highlight-new-loop):
5200 Remove condition `(not isearch-error)'. (Bug#9918)
5201
5202 * misearch.el (multi-isearch-search-fun): Add condition
5203 `(not bound)' to ignore lazy-highlighting search.
5204 Add the search-failed message "end of multi" when the end of
5205 multi-sequence is reached. Uncapitalize the search-failed
5206 message "Repeat for next buffer".
5207
5208 * info.el (Info-search): Add the search-failed message
5209 "end of the manual" when the end of the manual is reached
5210 in Isearch mode.
5211
52122011-11-19 Juri Linkov <juri@jurta.org>
5213
5214 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
5215 Use non-destructive `remove' instead of `delete' because
5216 `Info-history-list' stored to `Info-isearch-initial-history-list' in
5217 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
5218
52192011-11-19 Juri Linkov <juri@jurta.org>
5220
5221 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
5222 to nil instead of binding `search-ring' and `regexp-search-ring'.
5223 (Bug#9185)
5224
52252011-11-19 Eli Zaretskii <eliz@gnu.org>
5226
5227 * simple.el (line-move): Force movement by logical lines for any
5228 hscrolled window, not only when auto-hscroll-mode is on.
5229 (line-move-visual): Update doc string to that effect. (Bug#10076)
5230
52312011-11-19 Andreas Schwab <schwab@linux-m68k.org>
5232
5233 * language/european.el (macintosh): Define as alias for mac-roman.
5234
52352011-11-19 Eli Zaretskii <eliz@gnu.org>
5236
5237 * mail/rmailmm.el (rmail-mime-display-header)
5238 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
5239 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
5240 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
5241 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
5242 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
5243 of a raw aref.
5244 (rmail-mime-entity-segment): To get past the tagline, move forward
5245 2 more lines, to account for the 2 empty lines that precede and
5246 follow the line with the buttons.
5247 (rmail-mime-update-tagline): Move one more line, to get past the
5248 empty line that follows the buttons in the tagline. (Bug#9520)
5249
52502011-11-19 Martin Rudalics <rudalics@gmx.at>
5251
5252 * window.el (window-max-delta-1, window-min-delta-1)
5253 (window-min-size-1, window-state-get-1, window-state-put-1)
5254 (window-state-put-2): Use "window--" prefix.
5255
52562011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * emacs-lisp/smie.el: Improve warnings and conflict detection.
5259 (smie-warning-count): New var.
5260 (smie-set-prec2tab): Use it.
5261 (smie-bnf->prec2): Improve warnings. Add docstring.
5262 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
5263 (smie-bnf--set-class): New function.
5264 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
5265 corner case.
5266
5267 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
5268 (compilation-error-properties, compilation-move-to-column):
5269 Handle compilation-first-column while in the target buffer.
5270
5271 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
5272 Don't hardcode point-min==1.
5273
5274 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
5275 (eshell-rewrite-for-command): Remove workaround.
5276 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
5277 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
5278 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
5279
5280 * files-x.el (modify-file-local-variable): Obey commenting conventions.
5281
52822011-11-17 Glenn Morris <rgm@gnu.org>
5283
5284 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
5285 Ignore buffer-local generated-autoload-file if it is the same
5286 as the global value. (Bug#10049)
5287
52882011-11-17 Juanma Barranquero <lekktu@gmail.com>
5289
5290 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
5291 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
5292 (reftex-toc-previous-heading, reftex-toc-max-level)
5293 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
5294 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
5295 (reftex-toc-do-promote, reftex-toc-promote-prepare)
5296 (reftex-toc-promote-action, reftex-toc-extract-section-number)
5297 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
5298 (reftex-toc-rename-label, reftex-toc-visit-location)
5299 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
5300 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
5301 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
5302 leaving "*toc*" only for references to the buffer.
5303
53042011-11-17 Martin Rudalics <rudalics@gmx.at>
5305
5306 * window.el (window-resize, delete-window, split-window):
5307 Replace window-splits by window-combination-resize.
5308 * cus-start.el (window-splits): Replace by window-combination-resize.
5309
53102011-11-17 Glenn Morris <rgm@gnu.org>
5311
5312 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5313 Make bash entry derive from sh entry, not shell entry.
5314
53152011-11-16 Michael Albinus <michael.albinus@gmx.de>
5316
5317 * net/tramp-cache.el (tramp-flush-file-property): Flush also
5318 properties of linked files. (Bug#9879)
5319
5320 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
5321 local file name.
5322
53232011-11-16 Juanma Barranquero <lekktu@gmail.com>
5324
5325 * menu-bar.el (menu-bar-file-menu):
5326 * printing.el (pr-ps-utility):
5327 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
5328 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
5329 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
5330 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
5331 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
5332 (icalendar--convert-cyclic-to-ical)
5333 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
5334 (icalendar--convert-ical-to-diary)
5335 (icalendar--convert-recurring-to-diary)
5336 (icalendar--convert-non-recurring-all-day-to-diary)
5337 (icalendar-import-format-sample):
5338 * progmodes/idlw-shell.el (idlwave-shell-mode):
5339 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
5340 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
5341 (vhdl-ps-print-init): Fix typos.
5342
53432011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
5344
5345 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
5346 FSF and collapse date sequence, obscure author/maintainer email address
5347 better, remove extra version line, track relocation of author's webpage.
5348
5349 * progmodes/python.el (python-pdbtrack-input-prompt)
5350 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
5351 regular python pdb prompts. Adjustments shamelessly taken exactly as
5352 suggested in EmacsWiki page (tiny change):
5353 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
5354
53552011-11-16 Juanma Barranquero <lekktu@gmail.com>
5356
5357 * expand.el (expand-pos, expand-index, expand-point):
5358 Remove redundant info from docstring.
5359 (expand-add-abbrevs): Doc fix.
5360 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
5361 (expand-sample-perl-mode-expand-list): Fix typos.
5362
5363 * net/dbus.el (dbus-event-member-name):
5364 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
5365 * term/pc-win.el (msdos-create-frame-with-faces):
5366 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
5367
53682011-11-16 Martin Rudalics <rudalics@gmx.at>
5369
5370 * window.el (split-window, window-state-get-1)
5371 (window-state-put-1, window-state-put-2): Rename occurrences of
5372 window-nest to window-combination-limit.
5373 * cus-start.el (window-nest): Rename to window-combination-limit.
5374
53752011-11-16 Chong Yidong <cyd@gnu.org>
5376
5377 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
5378 regexp (Bug#10033).
5379
53802011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
5383 `completing-read' will remove *Completions* and will preserve
5384 current-buffer for us.
5385 (tmm-add-prompt): Users of *Completions* will always (re)set its
5386 major mode.
5387 (tmm-old-comp-map): Remove.
5388
53892011-11-16 Glenn Morris <rgm@gnu.org>
5390
5391 * mail/rmailedit.el: Require rmailmm when compiling.
5392 (rmail-old-mime-state): New declaration.
5393 (rmail-edit-current-message): If editing a mime message,
5394 edit the "raw" message from the mbox buffer.
5395 (rmail-cease-edit): Handle mime messages. (Bug#9840)
5396
53972011-11-15 Glenn Morris <rgm@gnu.org>
5398
5399 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
5400 which wasn't being used. Add optional arg to force given state.
5401 (rmail-mime): Add optional arg to force given state.
5402
54032011-11-15 Juanma Barranquero <lekktu@gmail.com>
5404
5405 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5406 * frame.el (display-mm-dimensions-alist):
5407 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
5408 (outline-move-subtree-down):
5409 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
5410 (newsticker--treeview-do-get-node):
5411 * net/quickurl.el (quickurl-list-buffer-name):
5412 * progmodes/dcl-mode.el (dcl-mode):
5413 * progmodes/gdb-mi.el (gdb-mapcar*):
5414 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
5415
54162011-11-15 Glenn Morris <rgm@gnu.org>
5417
5418 * mail/rmail.el (rmail-file-coding-system): It's only ever used
5419 in a boolean sense, so just make it a boolean, and fix the doc.
5420 (rmail-show-mime-function, rmail-mime-feature)
5421 (rmail-require-mime-maybe): Doc fixes.
5422 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
5423
5424 * mail/rmailmm.el (rmail-show-mime): Doc fix.
5425
54262011-11-15 Juanma Barranquero <lekktu@gmail.com>
5427
5428 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
5429 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
5430 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
5431 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
5432
54332011-11-15 Glenn Morris <rgm@gnu.org>
5434
5435 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
5436 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
5437 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
5438 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
5439 (rmail-mime, rmail-show-mime): Doc fixes.
5440
5441 * term/ns-win.el (mode-line-frame-identification):
5442 Leave it alone. (Bug#10051)
5443
5444 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
5445
5446 * mail/rmailout.el (rmail-output-to-rmail-buffer):
5447 Handle empty buffers. (Bug#9978)
5448
54492011-11-14 Juanma Barranquero <lekktu@gmail.com>
5450
5451 * international/mule.el (define-charset):
5452 * mail/rmailmm.el (rmail-mime-find-header-encoding):
5453 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
5454 * progmodes/verilog-mode.el (verilog-backward-token):
5455 * textmodes/ispell.el (lookup-words):
5456 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
5457
54582011-11-14 Glenn Morris <rgm@gnu.org>
5459
5460 * progmodes/executable.el
5461 (executable-make-buffer-file-executable-if-script-p):
5462 Handle file-modes returning nil.
5463
5464 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
5465 message - not necessary, and causes problems. (Bug#9831)
5466
5467 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
5468
5469 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
5470
5471 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
5472 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
5473 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
5474
54752011-11-12 Martin Rudalics <rudalics@gmx.at>
5476
5477 * window.el (window-resize, delete-window): Use window-splits
5478 variable instead of function.
5479 (window-state-get-1, window-state-put-2, window-state-put):
5480 Don't deal with windows' splits status.
5481
54822011-11-12 Glenn Morris <rgm@gnu.org>
5483
5484 * apropos.el (apropos-do-all, apropos-library, apropos-value)
5485 (apropos-documentation): Doc fixes.
5486
54872011-11-11 Juanma Barranquero <lekktu@gmail.com>
5488
5489 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
5490 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
5491
54922011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5493
5494 * electric.el (electric-indent-post-self-insert-function): Make it
5495 possible for a char to only indent in some circumstances.
5496 (electric-indent-mode): Simplify.
5497
54982011-11-11 Martin Rudalics <rudalics@gmx.at>
5499
5500 * window.el (windows-with-parameter): Remove unused function.
5501 (windows-at-side): Rename to window-at-side-list.
5502 (window-check, window-atom-check, window-atom-check-1)
5503 (window-side-check, window-size-ignore, window-size-fixed-1)
5504 (window-in-direction-2): Prefix with "window--".
5505 (window-tree-1): Rename to window--subtree, fix doc-string.
5506
55072011-11-11 Glenn Morris <rgm@gnu.org>
5508
5509 * subr.el (eval-after-load): If FILE is already loaded,
5510 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
5511
55122011-11-10 Glenn Morris <rgm@gnu.org>
5513
5514 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
5515 Call svn via vc-svn-command rather than vc-do-command.
5516 (vc-svn-command): Add --non-interactive. (Bug#9993)
5517 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
5518
5519 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5520 Add toggle-read-only. (Bug#7292)
5521 * files.el (toggle-read-only): Mention that it should only
5522 be used interactively. (Bug#10006)
5523
55242011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5525
5526 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5527 Adjust regexp for OCaml warnings.
5528
5529 * electric.el (electric-pair-post-self-insert-function): Let user
5530 turn it off buffer-locally (bug#9932).
5531
5532 * progmodes/python.el (python-beginning-of-statement):
5533 Rewrite (bug#2703).
5534
5535 * progmodes/compile.el: Better handle TABs (bug#9749).
5536 (compilation-internal-error-properties)
5537 (compilation-next-error-function): Obey the target buffer's
5538 compilation-error-screen-columns.
5539
55402011-11-09 Juanma Barranquero <lekktu@gmail.com>
5541
5542 * progmodes/meta-mode.el: Remove obsolete comments.
5543 (meta-right-comment-regexp, meta-ignore-comment-regexp):
5544 Fix typos in docstrings.
5545
55462011-11-09 Martin Rudalics <rudalics@gmx.at>
5547
5548 * window.el (window-size-fixed-p): Rewrite doc-string.
5549 (window-resizable-p): Rename to window--resizable-p. Update callers.
5550 (window--resizable): New function. Make all callers of
5551 window-resizable call window--resizable instead.
5552 (window-resizable): Rewrite in terms of window--resizable.
5553
55542011-11-08 Glenn Morris <rgm@gnu.org>
5555
5556 * progmodes/delphi.el (delphi-mode-syntax-table):
5557 Let define-derived-mode define a proper syntax table. (Bug#9994)
5558
55592011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5560
5561 * window.el: Stay away from defsubst.
5562 (window-list-no-nils): Remove.
5563 (window-state-get-1, window-state-get): Use backquote instead.
5564
55652011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5566
5567 * emacs-lisp/find-func.el (find-function-read):
5568 Fix incorrect use of default argument in `completing-read'.
5569
55702011-11-08 Martin Rudalics <rudalics@gmx.at>
5571
5572 * window.el (display-buffer-function, special-display-function):
5573 Mention display-buffer-record-window but do not mention
5574 help-setup parameter in doc-strings.
5575 (window-min-delta): Fix doc-string typo.
5576
55772011-11-08 Chong Yidong <cyd@gnu.org>
5578
5579 * window.el (window-total-height, window-total-width): Doc fix.
5580 (window-body-size): Move from C.
5581 (window-body-height, window-body-width): Move to C.
5582
55832011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5584
5585 * window.el: Make special-display like display-buffer-alist (bug#9532).
5586 (display-buffer--special-action): New function, morphed
5587 from display-buffer--special.
5588 (display-buffer): Use it to handle special-display-buffers at higher
5589 priority (just after display-buffer-alist).
5590 (display-buffer-fallback-action, display-buffer--other-frame-action)
5591 (pop-to-buffer-same-window): Remove display-buffer--special.
5592
55932011-11-07 Glenn Morris <rgm@gnu.org>
5594
5595 * calendar/cal-menu.el (cal-menu-set-date-title):
5596 Do nothing if not in a calendar. (Bug#9976)
5597
55982011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5599
5600 * files.el (find-file): Always use selected-window.
5601
56022011-11-07 Martin Rudalics <rudalics@gmx.at>
5603
5604 * window.el (window-combinations): Make WINDOW argument
5605 mandatory. Rewrite doc-string.
5606 (walk-window-subtree, window-atom-check, window-min-delta)
5607 (window-max-delta, window--resize-this-window)
5608 (window--resize-root-window-vertically, window-tree)
5609 (balance-windows, window-state-put): Rewrite doc-strings as to
5610 not mention the term "subwindow".
5611 (window--resize-subwindows-skip-p): Rename to
5612 window--resize-child-windows-skip-p.
5613 (window--resize-subwindows-normal): Rename to
5614 window--resize-child-windows-normal.
5615 (window--resize-subwindows): Rename to
5616 window--resize-child-windows.
5617 (window-or-subwindow-p): Rename to window--in-subtree-p.
5618
56192011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5620
5621 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
5622 Ensure that mbox format messages end in two newlines (Bug#9974).
5623
56242011-11-06 Chong Yidong <cyd@gnu.org>
5625
5626 * window.el (window-combination-p): Function deleted; its
5627 side-effect is not used in any existing code.
5628 (window-combinations, window-combined-p): Call window-*-child
5629 directly.
5630
56312011-11-05 Chong Yidong <cyd@gnu.org>
5632
5633 * window.el (window-valid-p): Rename from window-any-p.
5634 (window-size-ignore, window-state-get): Callers changed.
5635 (window-normalize-window): Rename from window-normalize-any-window.
5636 New arg LIVE-ONLY, replacing window-normalize-live-window.
5637 (window-normalize-live-window): Delete.
5638 (window-combination-p, window-combined-p, window-combinations)
5639 (walk-window-subtree, window-atom-root, window-min-size)
5640 (window-sizable, window-sizable-p, window-size-fixed-p)
5641 (window-min-delta, window-max-delta, window-resizable)
5642 (window-resizable-p, window-full-height-p, window-full-width-p)
5643 (window-current-scroll-bars, window-point-1, set-window-point-1)
5644 (window-at-side-p, window-in-direction, window-resize)
5645 (adjust-window-trailing-edge, maximize-window, minimize-window)
5646 (window-deletable-p, delete-window, delete-other-windows)
5647 (record-window-buffer, unrecord-window-buffer)
5648 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
5649 (quit-window, split-window, window-state-put)
5650 (set-window-text-height, fit-window-to-buffer)
5651 (shrink-window-if-larger-than-buffer): Callers changed.
5652
56532011-11-04 Eli Zaretskii <eliz@gnu.org>
5654
5655 * mail/rmail.el (rmail-simplified-subject): Decode subject with
5656 rfc2047-decode-string.
5657 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
5658 warnings.
5659
5660 * window.el (window-body-height, window-body-width): Mention in
5661 the doc string that the return values are in frame's canonical
5662 units. (Bug#9949)
5663
56642011-11-03 Alan Mackenzie <acm@muc.de>
5665
5666 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
5667 change in cc-engine.el.
5668
56692011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
5670
5671 * window.el (switch-to-buffer): Use `force-same-window' interactively.
5672
56732011-11-02 Martin Rudalics <rudalics@gmx.at>
5674
5675 * window.el (quit-window): Call unrecord-window-buffer after
5676 showing another buffer in the window. (Bug#9937)
5677 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
5678
56792011-11-02 Juanma Barranquero <lekktu@gmail.com>
5680
5681 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
5682 Accept status with more than 9 shelves. (Bug#9935)
5683 Reported by Colin D Bennett <colin@gibibit.com>.
5684
56852011-11-01 Martin Rudalics <rudalics@gmx.at>
5686
5687 * help.el (with-help-window): Don't reference
5688 temp-buffer-show-specifiers in doc-string.
5689
56902011-10-31 Andreas Schwab <schwab@linux-m68k.org>
5691
5692 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
5693 menu-item.
5694
56952011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5696
5697 * whitespace.el: New version 13.2.2.
5698 (whitespace-newline-mode): Disable properly. Reported by Sarah
5699 <EmacsWiki>.
5700
57012011-10-30 Ulf Jasper <ulf.jasper@web.de>
5702
5703 * net/newst-treeview.el: Remove "Time-stamp".
5704 (newsticker--group-manage-orphan-feeds): Do not call
5705 newsticker--treeview-tree-update.
5706 (newsticker-treeview-update, newsticker-treeview):
5707 Call newsticker--treeview-tree-update if necessary.
5708
57092011-10-30 Martin Rudalics <rudalics@gmx.at>
5710
5711 * window.el (window-iso-combination-p, window-iso-combined-p)
5712 (window-iso-combinations): Remove "iso-" infix.
5713 Suggested by Chong Yidong.
5714 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
5715 (window-max-delta-1, window-resize, window--resize-siblings)
5716 (window--resize-this-window, adjust-window-trailing-edge)
5717 (split-window, balance-windows-1)
5718 (shrink-window-if-larger-than-buffer):
5719 * calendar/calendar.el (calendar-generate-window):
5720 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
5721
57222011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
5725 in place (bug#9907).
5726 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
5727 (eshell-rewrite-if-command, eshell-rewrite-for-command)
5728 (eshell-structure-basic-command, eshell-rewrite-while-command)
5729 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
5730 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
5731 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
5732 (eshell-do-pipelines-synchronously, eshell-eval-command):
5733 Use backquotes and prefer setq to set.
5734 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
5735 (eshell-macrop): Use functionp.
5736 (eshell-do-eval): Handle multiple expressions in `while' body.
5737
57382011-10-30 Chong Yidong <cyd@gnu.org>
5739
5740 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
5741 instead of set-mark (Bug#9810).
5742
57432011-10-30 Chong Yidong <cyd@gnu.org>
5744
5745 * window.el (split-window-below, split-window-right): Rename from
5746 split-window-above-each-other and split-window-side-by-side
5747 respectively. All callers changed.
5748 (split-window-sensibly, split-window-sensibly): Use them.
5749 (split-window-keep-point): Doc fix.
5750
5751 * isearch.el: Add isearch-scroll property to split-window-below
5752 and split-window-right.
5753
5754 * follow.el (follow-mode):
5755 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
5756 * progmodes/ada-xref.el (ada-gdb-application):
5757 * emulation/vip.el (vip-buffer-in-two-windows):
5758 * image-dired.el (image-dired-dired-with-window-configuration):
5759 * dired-x.el (dired-do-find-marked-files):
5760 * dired.el (dired-pop-to-buffer):
5761 * bs.el (bs--show-with-configuration):
5762 * vc/emerge.el (emerge-setup-windows):
5763 * textmodes/two-column.el (2C-two-columns):
5764 * textmodes/reftex-toc.el (reftex-toc):
5765 * progmodes/gdb-mi.el (gdb-setup-windows):
5766 * progmodes/fortran.el (fortran-window-create):
5767 * net/newst-treeview.el (newsticker--treeview-window-init):
5768 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
5769 * emulation/tpu-edt.el (tpu-gold-map):
5770 * emulation/crisp.el (crisp-mode-map):
5771 * calendar/calendar.el (calendar-basic-setup): Callers changed.
5772
57732011-10-29 Chong Yidong <cyd@gnu.org>
5774
5775 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
5776
5777 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
5778
5779 * textmodes/flyspell.el (flyspell-word): Fix char offset for
5780 forged Ispell output (Bug#7904).
5781
5782 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
5783
57842011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5785
5786 * doc-view.el: Avoid ugly errors about not finding nil.
5787 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
5788 (doc-view-dvipdf-program, doc-view-unoconv-program)
5789 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
5790 Avoid nil or absolute file name as default value.
5791 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
5792
57932011-10-28 Alan Mackenzie <acm@muc.de>
5794
5795 * progmodes/cc-defs.el (c-version): -> 5.32.2.
5796
57972011-10-28 Alan Mackenzie <acm@muc.de>
5798
5799 Amend the handling of c-beginning/end-of-defun in nested declaration
5800 scopes.
5801
5802 * progmodes/cc-vars.el (c-defun-tactic): Move here from
5803 cc-langs.el. Change it to a defcustom.
5804
5805 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
5806 cc-vars.el.
5807
5808 * progmodes/cc-engine.el (c-beginning-of-statement-1):
5809 Prevent "class foo : bar" being spuriously recognized as a label.
5810
5811 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
5812 Add parameter `inclusive' (to include enclosing braces in the region).
5813 (c-widen-to-enclosing-decl-scope): New function.
5814 (c-while-widening-to-decl-block): New macro.
5815 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
5816 outward for defun boundaries, and correspondingly change symbol
5817 `respect-enclosure' to `go-outward'.
5818 (c-declaration-limits): Change algorithm to report only the "innermost"
5819 defun's boundaries.
5820
58212011-10-28 Deniz Dogan <deniz@dogan.se>
5822
5823 * net/rcirc.el (rcirc-mode): Use hard newlines.
5824
58252011-10-28 Alan Mackenzie <acm@muc.de>
5826
5827 Amend to indent and fontify macros "which include their own semicolon"
5828 correctly, using the "virtual semicolon" mechanism.
5829
5830 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
5831
5832 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
5833 Recode to scan one line at a time rather than having \n and \r
5834 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
5835 (c-forward-label): Amend for virtual semicolons.
5836 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
5837
5838 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
5839 of the new C macros.
5840
5841 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
5842 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
5843 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
5844 (c-opt-cpp-macro-define): Make into a full language variable.
5845 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
5846 AWK Mode (including \n, \r) removed, no longer needed.
5847
5848 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
5849 Invoke c-make-macro-with-semi-re.
5850
5851 * progmodes/cc-vars.el (c-macro-with-semi-re):
5852 (c-macro-names-with-semicolon): New variables.
5853 (c-make-macro-with-semi-re): New function.
5854
58552011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * vc/log-edit.el: Fill empty field rather than adding new one.
5858 (log-edit-add-field): New function.
5859 (log-edit-insert-changelog): Use it.
5860
58612011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
5862
5863 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
5864
58652011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
5868 (gdb--check-interpreter): New function.
5869 (gdb): Use it.
5870
58712011-10-27 Glenn Morris <rgm@gnu.org>
5872
5873 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
5874 (least-positive-float, least-negative-float)
5875 (least-positive-normalized-float, least-negative-normalized-float)
5876 (float-epsilon, float-negative-epsilon):
5877 Remove unnecessary declarations.
5878
5879 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
5880 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
5881 (least-positive-float, least-negative-float)
5882 (least-positive-normalized-float, least-negative-normalized-float)
5883 (float-epsilon, float-negative-epsilon): Add doc-strings,
5884 based on those in cl.texi.
5885
5886 * files.el (set-visited-file-name): If the major-mode changed,
5887 reload the local variables. (Bug#9796)
5888
58892011-10-27 Chong Yidong <cyd@gnu.org>
5890
5891 * subr.el (change-major-mode-after-body-hook): New hook.
5892 (run-mode-hooks): Run it.
5893
5894 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
5895 Use change-major-mode-before-body-hook.
5896
5897 * simple.el (fundamental-mode):
5898 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
5899 change introducing fundamental-mode-hook.
5900
59012011-10-26 Juanma Barranquero <lekktu@gmail.com>
5902
5903 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5904
59052011-10-26 Michael Albinus <michael.albinus@gmx.de>
5906
5907 * ido.el (ido-file-name-all-completions-1): Do not require
5908 tramp.el explicitly. (Bug#7583)
5909
59102011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5911
5912 * progmodes/octave-mod.el:
5913 * progmodes/octave-inf.el: Update maintainer.
5914
59152011-10-26 Chong Yidong <cyd@gnu.org>
5916
5917 * subr.el (with-wrapper-hook): Rewrite doc.
5918
59192011-10-25 Michael Albinus <michael.albinus@gmx.de>
5920
5921 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
5922 filenames "/method:foo:". (Bug#9793)
5923
59242011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5925
5926 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
5927 (bug#9865).
5928
59292011-10-24 Glenn Morris <rgm@gnu.org>
5930
5931 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
5932
59332011-10-24 Michael Albinus <michael.albinus@gmx.de>
5934
5935 * notifications.el: Add the requirement of a running D-Bus session
5936 bus to the Commentary.
5937
59382011-10-24 Juri Linkov <juri@jurta.org>
5939
5940 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
5941 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
5942 (Bug#9364)
5943
59442011-10-24 Juri Linkov <juri@jurta.org>
5945
5946 * info.el (Info-following-node-name-re): Add newline to the list
5947 of allowed characters for leading space. (Bug#9824)
5948
59492011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5950
5951 * progmodes/octave-inf.el (inferior-octave-mode-map):
5952 Fix C-c C-h binding.
5953 * progmodes/octave-mod.el (octave-help): Remove.
5954
59552011-10-23 Michael Albinus <michael.albinus@gmx.de>
5956
5957 Sync with Tramp 2.2.3.
5958
5959 * net/tramp-cache.el (top): Pacify byte-compiler using
5960 `init-file-user' and `site-run-file'.
5961
5962 * net/trampver.el: Update release number.
5963
59642011-10-23 Chong Yidong <cyd@gnu.org>
5965
5966 * files.el (toggle-read-only): Remove obsolete comment about
5967 version control.
5968
5969 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
5970 for toggle-read-only. Note that this hasn't called vc-next-action
5971 since 2008-05-02, though it wasn't documented at the time.
5972
5973 * vc/ediff-init.el (ediff-toggle-read-only-function):
5974 Use toggle-read-only.
5975
59762011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
5977
5978 Fix bug #9560, sporadic wrong indentation; improve instrumentation
5979 of c-parse-state.
5980
5981 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5982 correct faulty logical expression.
5983 (c-parse-state-state, c-record-parse-state-state):
5984 (c-replay-parse-state-state): New defvar/defuns.
5985 (c-debug-parse-state): Use new functions.
5986
59872011-10-22 Martin Rudalics <rudalics@gmx.at>
5988
5989 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
5990 last fix. Use window-in-direction correctly.
5991
59922011-10-21 Chong Yidong <cyd@gnu.org>
5993
5994 * progmodes/idlwave.el (idlwave-mode):
5995 * progmodes/vera-mode.el (vera-mode): No need to set
5996 require-final-newline; that's done in prog-mode.
5997 Suggested by Stefan Monnier.
5998
59992011-10-21 Martin Rudalics <rudalics@gmx.at>
6000
6001 * mouse.el (mouse-drag-window-above)
6002 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
6003 (mouse-drag-mode-line-1, mouse-drag-header-line)
6004 (mouse-drag-vertical-line-rightward-window): Remove.
6005 (mouse-drag-line): New function.
6006 (mouse-drag-mode-line, mouse-drag-header-line)
6007 (mouse-drag-vertical-line): Call mouse-drag-line.
6008 * window.el (window-at-side-p, windows-at-side): New functions.
6009
60102011-10-21 Ulrich Mueller <ulm@gentoo.org>
6011
6012 * tar-mode.el (tar-grind-file-mode):
6013 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
6014
60152011-10-21 Chong Yidong <cyd@gnu.org>
6016
6017 * progmodes/idlwave.el (idlwave-mode):
6018 * progmodes/vera-mode.el (vera-mode):
6019 Use mode-require-final-newline.
6020
60212011-10-20 Glenn Morris <rgm@gnu.org>
6022
6023 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
6024
60252011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
6026
6027 * emulation/cua-base.el (cua-set-mark): Fix case of string.
6028
60292011-10-20 Chong Yidong <cyd@gnu.org>
6030
6031 * emulation/cua-base.el (cua-mode):
6032 * mail/footnote.el (footnote-mode):
6033 * mail/mailabbrev.el (mail-abbrevs-mode):
6034 * net/xesam.el (xesam-minor-mode):
6035 * progmodes/bug-reference.el (bug-reference-mode):
6036 * progmodes/cap-words.el (capitalized-words-mode):
6037 * progmodes/compile.el (compilation-minor-mode)
6038 (compilation-shell-minor-mode):
6039 * progmodes/gud.el (gud-tooltip-mode):
6040 * progmodes/hideif.el (hide-ifdef-mode):
6041 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
6042 * progmodes/subword.el (subword-mode):
6043 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6044 * progmodes/which-func.el (which-function-mode):
6045 * term/tvi970.el (tvi970-set-keypad-mode):
6046 * term/vt100.el (vt100-wide-mode):
6047 * textmodes/flyspell.el (flyspell-mode):
6048 * textmodes/ispell.el (ispell-minor-mode):
6049 * textmodes/nroff-mode.el (nroff-electric-mode):
6050 * textmodes/paragraphs.el (use-hard-newlines):
6051 * textmodes/refill.el (refill-mode):
6052 * textmodes/reftex.el (reftex-mode):
6053 * textmodes/rst.el (rst-minor-mode):
6054 * textmodes/sgml-mode.el (html-autoview-mode)
6055 (sgml-electric-tag-pair-mode):
6056 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
6057 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
6058 * emulation/crisp.el (crisp-mode):
6059 * emacs-lisp/eldoc.el (eldoc-mode):
6060 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
6061 minor mode behavior.
6062
60632011-10-19 Juri Linkov <juri@jurta.org>
6064
6065 * descr-text.el (describe-char): Add #x2010 and #x2011 to
6066 the list of hard-coded chars with escape-glyph face.
6067
60682011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6069
6070 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
6071
60722011-10-19 Michael Albinus <michael.albinus@gmx.de>
6073
6074 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
6075 running process.
6076
60772011-10-19 Glenn Morris <rgm@gnu.org>
6078
6079 * vc/vc-bzr.el (vc-bzr-after-dir-status):
6080 Ignore ignored files. (Bug#9726)
6081
60822011-10-19 Chong Yidong <cyd@gnu.org>
6083
6084 Doc fix for minor modes, stating that an omitted argument enables
6085 the mode unconditionally when called from Lisp.
6086
6087 * abbrev.el (abbrev-mode):
6088 * allout.el (allout-mode):
6089 * autoinsert.el (auto-insert-mode):
6090 * autoarg.el (autoarg-mode, autoarg-kp-mode):
6091 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
6092 (global-auto-revert-mode):
6093 * battery.el (display-battery-mode):
6094 * composite.el (global-auto-composition-mode)
6095 (auto-composition-mode):
6096 * delsel.el (delete-selection-mode):
6097 * desktop.el (desktop-save-mode):
6098 * dired-x.el (dired-omit-mode):
6099 * dirtrack.el (dirtrack-mode):
6100 * doc-view.el (doc-view-minor-mode):
6101 * double.el (double-mode):
6102 * electric.el (electric-indent-mode, electric-pair-mode):
6103 * emacs-lock.el (emacs-lock-mode):
6104 * epa-hook.el (auto-encryption-mode):
6105 * follow.el (follow-mode):
6106 * font-core.el (font-lock-mode):
6107 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
6108 * help.el (temp-buffer-resize-mode):
6109 * hilit-chg.el (highlight-changes-mode)
6110 (highlight-changes-visible-mode):
6111 * hi-lock.el (hi-lock-mode):
6112 * hl-line.el (hl-line-mode, global-hl-line-mode):
6113 * icomplete.el (icomplete-mode):
6114 * ido.el (ido-everywhere):
6115 * image-file.el (auto-image-file-mode):
6116 * image-mode.el (image-minor-mode):
6117 * iswitchb.el (iswitchb-mode):
6118 * jka-cmpr-hook.el (auto-compression-mode):
6119 * linum.el (linum-mode):
6120 * longlines.el (longlines-mode):
6121 * master.el (master-mode):
6122 * mb-depth.el (minibuffer-depth-indicate-mode):
6123 * menu-bar.el (menu-bar-mode):
6124 * minibuf-eldef.el (minibuffer-electric-default-mode):
6125 * mouse-sel.el (mouse-sel-mode):
6126 * msb.el (msb-mode):
6127 * mwheel.el (mouse-wheel-mode):
6128 * outline.el (outline-minor-mode):
6129 * paren.el (show-paren-mode):
6130 * recentf.el (recentf-mode):
6131 * reveal.el (reveal-mode, global-reveal-mode):
6132 * rfn-eshadow.el (file-name-shadow-mode):
6133 * ruler-mode.el (ruler-mode):
6134 * savehist.el (savehist-mode):
6135 * scroll-all.el (scroll-all-mode):
6136 * scroll-bar.el (scroll-bar-mode):
6137 * server.el (server-mode):
6138 * shell.el (shell-dirtrack-mode):
6139 * simple.el (auto-fill-mode, transient-mark-mode)
6140 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
6141 (line-number-mode, column-number-mode, size-indication-mode)
6142 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
6143 * strokes.el (strokes-mode):
6144 * time.el (display-time-mode):
6145 * t-mouse.el (gpm-mouse-mode):
6146 * tool-bar.el (tool-bar-mode):
6147 * tooltip.el (tooltip-mode):
6148 * type-break.el (type-break-mode-line-message-mode)
6149 (type-break-query-mode):
6150 * view.el (view-mode):
6151 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6152 (global-whitespace-mode, global-whitespace-newline-mode):
6153 * xt-mouse.el (xterm-mouse-mode): Doc fix.
6154
6155 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6156 Fix autogenerated docstring.
6157
61582011-10-19 Juri Linkov <juri@jurta.org>
6159
6160 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
6161 by checking environment variables "DESKTOP_SESSION" and
6162 "XDG_CURRENT_DESKTOP". (Bug#9779)
6163
61642011-10-19 Juri Linkov <juri@jurta.org>
6165
6166 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
6167 (browse-url-chromium-program, browse-url-chromium-arguments):
6168 New defcustoms.
6169 (browse-url-default-browser): Check for `browse-url-chromium' and
6170 call `browse-url-chromium-program'.
6171 (browse-url-chromium): New command. (Bug#9779)
6172
61732011-10-18 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * facemenu.el (list-colors-duplicates): On Windows, detect more
6176 duplicates by assuming that only colors matching "^System" are
6177 special "system colors". (Bug#9722)
6178
61792011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
6180
6181 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
6182 to distinguish the author from the committer.
6183
61842011-10-18 Michael Albinus <michael.albinus@gmx.de>
6185
6186 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
6187
61882011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
6189
6190 * international/mule.el (sgml-html-meta-auto-coding-function):
6191 Add support for detecting encoding in HTML5 specified only as
6192 <meta charset="UTF-8">. Implementation just makes http-equiv and
6193 content-type parts from HTML4 encoding string optional. (Bug#9716)
6194
61952011-10-18 Glenn Morris <rgm@gnu.org>
6196
6197 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
6198
61992011-10-18 Chong Yidong <cyd@gnu.org>
6200
6201 * faces.el (cursor): Doc fix.
6202
62032011-10-17 Chong Yidong <cyd@gnu.org>
6204
6205 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
6206
62072011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
6208
6209 * dirtrack.el (dirtrack): Support shell buffers with path
6210 prefixes, e.g. tramp-based remote shells. (Bug#9647)
6211
62122011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
6213
6214 * json.el: Bump version to 1.3 and note change in History.
6215 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
6216
62172011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6218
6219 * comint.el (comint-insert-input, comint-send-input)
6220 (comint-get-old-input-default, comint-backward-matching-input)
6221 (comint-next-prompt): Use nil instead of `input' for field property of
6222 past user input (bug#114).
6223
6224 * minibuffer.el (completion--replace): Inherit surrounding properties
6225 (bug#114).
6226 (minibuffer-complete-and-exit): Use it.
6227
6228 * comint.el (comint--table-subvert): Quote the all-completions output
6229 (bug#9160).
6230
62312011-10-17 Martin Rudalics <rudalics@gmx.at>
6232
6233 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
6234
6235 * menu-bar.el (menu-bar-file-menu): Add entry for making new
6236 window on right of selected. (Bug#9350) Reword other window
6237 entries and separate them from frame entries.
6238
62392011-10-15 Glenn Morris <rgm@gnu.org>
6240
6241 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
6242 Doc fixes.
6243
62442011-10-15 Chong Yidong <cyd@stupidchicken.com>
6245
6246 * net/network-stream.el (network-stream-open-starttls):
6247 Improve detection of failure due to lack of TLS support.
6248
6249 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
6250 putting the input text in front and in bold.
6251
62522011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
6253
6254 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
6255
6256 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
6257 empty buffer.
6258
6259 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
6260 unread-command-events rather than pushing yet-another event.
6261
62622011-10-14 Eli Zaretskii <eliz@gnu.org>
6263
6264 * mail/sendmail.el (sendmail-query-once): Improve the wording of
6265 the explanation of the possible choices. Make the options passed
6266 to completing-read shorter.
6267
62682011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
6269
6270 * textmodes/flyspell.el (flyspell-large-region): Make sure
6271 extended character mode is used if defined (Bug#1339).
6272
62732011-10-13 Eli Zaretskii <eliz@gnu.org>
6274
6275 * simple.el (what-cursor-position): Fix the display of the
6276 character info for LRE, LRO, RLE, and RLO characters by appending
6277 an invisible PDF.
6278
62792011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
6280
6281 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
6282 even in case of error; add debug spec; simplify data flow.
6283 (with-timeout-handler): Remove.
6284
62852011-10-12 Michael Albinus <michael.albinus@gmx.de>
6286
6287 Fix Bug#6019, Bug#9315.
6288
6289 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
6290 complete `buffer-file-name', the local file name part could look
6291 remotely (for example on VMS).
6292
6293 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
6294 `tramp-run-real-handler'.
6295 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
6296 already quoted by '"'.
6297
6298 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
6299 Let `file-name-handler-alist' be nil, the local file name part
6300 could look remotely (for example on VMS).
6301
63022011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
6305 from here...
6306 (flyspell-post-command-hook): ...to here.
6307
63082011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6309
6310 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
6311 if not needed.
6312 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
6313 using completion. Protect against "slow" callers.
6314 Remove the "message hack".
6315
63162011-10-11 Juri Linkov <juri@jurta.org>
6317
6318 * isearch.el (isearch-lazy-highlight-word): New variable.
6319 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
6320 Use it. (Bug#9727)
6321
63222011-10-11 Glenn Morris <rgm@gnu.org>
6323
6324 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
6325 like f90-previous-statement does.
6326
63272011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6328
6329 * eshell/eshell.el (eshell-command): History should be saved
6330 only in interactive use, to avoid error.
6331
63322011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
6333
6334 * minibuffer.el (completion-file-name-table): Fix last change,
6335 i.e. ignore normal errors but not the other ones.
6336
63372011-10-10 Martin Rudalics <rudalics@gmx.at>
6338
6339 * window.el (special-display-buffer-names)
6340 (special-display-regexps): Remove some remnants of earlier
6341 changes from doc-strings.
6342 (quit-windows-on): New function.
6343
6344 * vc/vc.el (vc-revert, vc-rollback):
6345 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
6346 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
6347 (Bug#6183) (Bug#7074) (Bug#7447)
6348
63492011-10-09 Martin Rudalics <rudalics@gmx.at>
6350
6351 * window.el (frame-auto-hide-function): Add version tag.
6352 (Bug#9699)
6353
63542011-10-09 Michael Albinus <michael.albinus@gmx.de>
6355
6356 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
6357 condition.
6358
63592011-10-09 Leo Liu <sdl.web@gmail.com>
6360
6361 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
6362 (Bug#9701)
6363
63642011-10-08 Glenn Morris <rgm@gnu.org>
6365
6366 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
6367 before the first code statement zero indent. (Bug#9690)
6368
63692011-10-08 Chong Yidong <cyd@stupidchicken.com>
6370
6371 * simple.el (count-words-region): Always count in the region.
6372 Report the number of lines and characters too.
6373 (count-words): New command, which counts in the buffer if the
6374 region is inactive, as count-words-region used to.
6375 (count-words--message): New function. Handle plurals.
6376 (count-lines-region): Make it an alias for count-words-region.
6377
6378 * bindings.el (esc-map): Replace count-lines-region with
6379 count-words-region.
6380
63812011-10-08 Martin Rudalics <rudalics@gmx.at>
6382
6383 * window.el (window--delete): Delete dedicated frame
6384 unconditionally when argument KILL is non-nil. (Bug#9699)
6385 (switch-to-buffer): Fix doc-string typo.
6386
63872011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6388
6389 * eshell/eshell.el (eshell-command): Avoid using hooks.
6390
63912011-10-07 Chong Yidong <cyd@stupidchicken.com>
6392
6393 * bindings.el ([M-left],[M-right]): Bind to left-word and
6394 right-word respectively.
6395
63962011-10-07 Glenn Morris <rgm@gnu.org>
6397
6398 * cus-start.el (debug-on-quit): Fix custom type.
6399
64002011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6401
6402 * subr.el (define-key-after): Clarify that the function is not
6403 useful for non-menu keymaps.
6404
6405 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
6406
64072011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6408
6409 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
6410 in current minibuffer (Fix bug with recursive minibuffers).
6411
64122011-10-06 Chong Yidong <cyd@stupidchicken.com>
6413
6414 * progmodes/gdb-mi.el (gdb): Doc fix.
6415
64162011-10-05 Martin Rudalics <rudalics@gmx.at>
6417
6418 * window.el (frame-auto-hide-function): New option replacing
6419 frame-auto-delete. Suggested by Stefan Monnier.
6420 (window--delete): Call frame-auto-hide-function instead of
6421 investigating frame-auto-delete.
6422 (window-point-1, set-window-point-1): New functions.
6423 (window-in-direction, record-window-buffer, window-state-get-1)
6424 (display-buffer-record-window): Use window-point-1 instead of
6425 window-point.
6426 (set-window-buffer-start-and-point): Use set-window-point-1.
6427
64282011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6429
6430 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
6431
64322011-10-05 Glenn Morris <rgm@gnu.org>
6433
6434 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
6435 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
6436
64372011-10-05 Leo Liu <sdl.web@gmail.com>
6438
6439 * subr.el (read-char-choice): Fix argument to buffer-live-p which
6440 works with buffer object.
6441
64422011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
6443
6444 * mpc.el (mpc-tool-bar-map): Add labels.
6445
64462011-10-04 Glenn Morris <rgm@gnu.org>
6447
6448 * calendar/holidays.el (calendar-check-holidays): Doc fix.
6449
64502011-10-04 Martin Rudalics <rudalics@gmx.at>
6451
6452 * window.el (window--delete): New function.
6453 (frame-auto-delete): Resuscitate option.
6454 (bury-buffer, replace-buffer-in-windows)
6455 (quit-window): Rewrite using window--delete.
6456 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6457 Pass display-buffer-mark-dedicated to window--display-buffer-2
6458 (Bug#9639).
6459
64602011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6461
6462 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
6463 returns a list (bug#9554). Add remote file name completion.
6464 * comint.el (comint--table-subvert): Curry and get quote&unquote
6465 functions as arguments.
6466 (comint--complete-file-name-data): Adjust call accordingly.
6467 * pcomplete.el (pcomplete--table-subvert): Remove.
6468 (pcomplete-completions-at-point): Use comint--table-subvert instead.
6469
6470 * minibuffer.el (completion-table-case-fold): Use currying.
6471 (completion--styles-type, completion--cycling-threshold-type):
6472 New constants.
6473 (completion-styles, completion-category-overrides)
6474 (completion-cycle-threshold): Use them.
6475 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
6476 completion-table-case-fold.
6477
64782011-10-03 Stephen Berman <stephen.berman@gmx.net>
6479
6480 * minibuffer.el (completion-category-overrides): Fix type of styles
6481 and add more user friendly tags (bug#9660).
6482
64832011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
6484
6485 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
6486 (mule-input-method-string): New widget.
6487 (default-input-method, language-info-custom-alist): Use it.
6488
64892011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6490
6491 * pcomplete.el: Require comint.
6492 (pcomplete--common-suffix): Remove.
6493 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
6494 (pcomplete--table-subvert): Sync with comint--table-subvert.
6495 (pcomplete--entries): Use comint-completion-file-name-table.
6496 * comint.el (comint-unquote-filename): Simplify.
6497 (comint-completion-file-name-table): New function (bug#9616).
6498 (comint--complete-file-name-data): Use it.
6499
6500 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
6501 (pcmpl-gnu-tar-buffer): Remove.
6502 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
6503 around. Make sure pcomplete-suffix-list is only changed temporarily.
6504 Don't look inside the tar's file if it's too large.
6505
65062011-10-01 Chong Yidong <cyd@stupidchicken.com>
6507
6508 * cus-edit.el (custom-mode-map):
6509 * epa.el (epa-key-list-mode-map):
6510 * man.el (Man-mode-map):
6511 * startup.el (splash-screen-keymap):
6512 * simple.el (special-mode-map): Use scroll-up-command and
6513 scroll-down-command.
6514
6515 * progmodes/idlw-help.el (idlwave-help-mode-map):
6516 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
6517 * net/newst-plainview.el (newsticker-mode-map):
6518 * emulation/ws-mode.el (wordstar-mode-map):
6519 * emulation/vi.el (vi-com-map):
6520 * calc/calc-graph.el (calc-graph-show-dumb):
6521 * term/sun.el (terminal-init-sun):
6522 * term/ns-win.el (global-map):
6523 * progmodes/grep.el (grep-mode-map):
6524 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
6525 * mail/rmail.el (rmail-mode-map):
6526 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
6527
6528 * custom.el (custom-safe-themes, load-theme): Treat value of t for
6529 custom-safe-themes as special.
6530
65312011-10-01 Julien Danjou <julien@danjou.info>
6532
6533 * notifications.el (notifications-notify): Fix docstring.
6534
65352011-10-01 Per Starbäck <per@starback.se>
6536
6537 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
6538
65392011-09-30 Martin Rudalics <rudalics@gmx.at>
6540
6541 * startup.el (command-line-1): Fix last fix by inserting
6542 initial-scratch-message into *scratch* before displaying it.
6543 (Bug#9605) and (Bug#9636)
6544
65452011-09-29 Eli Zaretskii <eliz@gnu.org>
6546
6547 * simple.el (line-move): If auto-hscroll-mode is disabled and the
6548 window is hscrolled, move by logical lines. (Bug#9607)
6549 (line-move-visual): Update the doc string to the above effect.
6550
65512011-09-29 Martin Rudalics <rudalics@gmx.at>
6552
6553 * window.el (display-buffer-record-window): When WINDOW is the
6554 selected window use `point' instead of `window-point'. (Bug#9626)
6555
6556 * startup.el (command-line-1): Use insert-before-markers when
6557 inserting initial-scratch-message. (Bug#9605)
6558
6559 * help.el (help-window): Remove variable.
6560
65612011-09-29 Glenn Morris <rgm@gnu.org>
6562
6563 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
6564
65652011-09-29 Juanma Barranquero <lekktu@gmail.com>
6566
6567 * descr-text.el (describe-char-categories): Accept category
6568 descriptions more than one line long.
6569
65702011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6571
6572 * simple.el (delete-trailing-whitespace): Fix last change.
6573
6574 * progmodes/perl-mode.el (perl-syntax-propertize-function):
6575 Don't confuse "y => 3" as the beginning of a `y' operation.
6576
6577 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
6578 object has more than 4 slots (bug#9613).
6579
65802011-09-28 Juanma Barranquero <lekktu@gmail.com>
6581
6582 * subr.el (with-output-to-temp-buffer):
6583 * net/quickurl.el (quickurl, quickurl-browse-url):
6584 Fix typos in docstrings.
6585
65862011-09-27 Eli Zaretskii <eliz@gnu.org>
6587
6588 * minibuffer.el (completion-styles)
6589 (completion-category-overrides): Cross reference each other in doc
6590 strings.
6591
65922011-09-27 Glenn Morris <rgm@gnu.org>
6593
6594 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
6595 to split-string. (Bug#9606)
6596
65972011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
6598
6599 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
6600 (bug#9615).
6601
66022011-09-27 Chong Yidong <cyd@stupidchicken.com>
6603
6604 * emacs-lisp/package.el (list-packages): Fix echo area message.
6605
66062011-09-27 Leo Liu <sdl.web@gmail.com>
6607
6608 * ido.el (ido-read-internal): Accept cons cell HIST arg.
6609
66102011-09-25 Michael Albinus <michael.albinus@gmx.de>
6611
6612 * net/dbus.el (dbus-unregister-object): Don't release services for
6613 registered signals. (Bug#9581)
6614
66152011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
6616
6617 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
6618 function that picks between cfengine 2 and 3 support
6619 automatically. Update docs accordingly.
6620
66212011-09-22 Kenichi Handa <handa@m17n.org>
6622
6623 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
6624 ZERO.
6625 (indian-itrans-v5-table-for-tamil): New variable.
6626 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
6627
66282011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
6629
6630 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
6631 that's true if the current command involved collapsing of text.
6632 It's reset to false at the beginning of the next command.
6633 (allout-post-command-business): Move the cursor to the beginning
6634 of entry if the cursor is hidden and collapsing activity just
6635 happened.
6636
66372011-09-24 Chong Yidong <cyd@stupidchicken.com>
6638
6639 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
6640 tracking (Bug#9541).
6641
66422011-09-24 Ulf Jasper <ulf.jasper@web.de>
6643
6644 * net/newst-reader.el (newsticker-html-renderer)
6645 (newsticker-show-news): Automatically load html rendering package
6646 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
6647 because w3m-fill-column is let-bound" and the error "Symbol's value
6648 as variable is void: w3m-fill-column".
6649
66502011-09-24 Michael Albinus <michael.albinus@gmx.de>
6651
6652 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
6653 Release services only if they are defined. (Bug#9581)
6654
66552011-09-23 Richard Stallman <rms@gnu.org>
6656
6657 * textmodes/paragraphs.el (forward-sentence): For backwards case,
6658 distinguish start of paragraph from start of its text.
6659
6660 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
6661
6662 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
6663 (rmail-generate-viewer-buffer): Put that hook on view buffer.
6664 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
6665
66662011-09-23 Andreas Schwab <schwab@linux-m68k.org>
6667
6668 * international/mule-diag.el (mule-diag): Insert a newline after
6669 each fontset description.
6670
66712011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6672
6673 * simple.el (delete-trailing-whitespace):
6674 Document last change; simplify.
6675
66762011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
6677
6678 * simple.el (delete-trailing-whitespace): Also delete
6679 extra newlines at the end of the buffer.
6680
6681 * textmodes/picture.el: Make motion commands obey shift-select-mode.
6682 (picture-newline): Use forward-line so as to ignore fields.
6683
66842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6685
6686 * subr.el (with-wrapper-hook): Fix edebug spec.
6687
66882011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
6689
6690 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
6691 (bug#4538).
6692
66932011-09-23 Michael Albinus <michael.albinus@gmx.de>
6694
6695 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
6696 Fix nasty bug using wrong cached values.
6697
66982011-09-23 Alan Mackenzie <acm@muc.de>
6699
6700 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
6701
67022011-09-23 Chong Yidong <cyd@stupidchicken.com>
6703
6704 * window.el (pop-to-buffer): Ensure right window is selected if we
6705 chose another frame.
6706
67072011-09-22 Eli Zaretskii <eliz@gnu.org>
6708
6709 * simple.el (what-cursor-position): Use get-char-property-change
6710 and next-single-char-property-change, to be able to show display
6711 properties that come from overlays as well as text properties.
6712
67132011-09-22 Chong Yidong <cyd@stupidchicken.com>
6714
6715 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
6716
6717 * cmuscheme.el (run-scheme, switch-to-scheme):
6718 * cus-edit.el (customize-group, custom-buffer-create)
6719 (customize-browse):
6720 * info.el (info):
6721 * shell.el (shell):
6722 * mail/sendmail.el (mail):
6723 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
6724
67252011-09-22 Richard Stallman <rms@gnu.org>
6726
6727 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
6728 move back only to line beg, don't move back over blank lines.
6729
67302011-09-22 Michael Albinus <michael.albinus@gmx.de>
6731
6732 * files.el (copy-directory): Set directory attributes only in case
6733 they could be retrieved from the source directory. (Bug#9565)
6734
67352011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
6736
6737 * progmodes/hideshow.el (hs-looking-at-block-start-p)
6738 (hs-find-block-beginning, hs-hide-level-recursive):
6739 Ignore strings as well as comments. (Bug#9502)
6740
67412011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
6742
6743 * progmodes/sql.el (sql-comint-postgres):
6744 Convert port number to a string. (Bug#9566)
6745
67462011-09-22 Martin Rudalics <rudalics@gmx.at>
6747
6748 * window.el (quit-window): Undedicate window when switching to
6749 previous buffer. Reported by Thierry Volpiatto
6750 <thierry.volpiatto@gmail.com>.
6751 (special-display-popup-frame): When popping up a new frame reset
6752 its previous buffers to nil. Simplify code.
6753
67542011-09-21 Michael Albinus <michael.albinus@gmx.de>
6755
6756 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
6757 and process filter, as done also in `shell-command'.
6758
67592011-09-21 Martin Rudalics <rudalics@gmx.at>
6760
6761 * window.el (set-window-buffer-start-and-point):
6762 Call set-window-start with NOFORCE argument t.
6763 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
6764 (quit-window): Reword doc-string. Handle new format of
6765 quit-restore parameter. Don't delete window if it has a
6766 previous buffer we can show instead of the present one.
6767 (display-buffer-record-window): Rewrite using a new format for
6768 the quit-restore window parameter
6769 (special-display-popup-frame, display-buffer-same-window)
6770 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6771 (display-buffer-pop-up-window, display-buffer-use-some-window):
6772 Adapt symbol passed to display-buffer-record-window.
6773 * help.el (help-window-setup): Handle new format of quit-restore
6774 parameter.
6775
67762011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6777
6778 * faces.el (face-list): Fix docstring (bug#9564).
6779
6780 * window.el (display-buffer--action-function-custom-type):
6781 Don't include internal functions in the Custom interface.
6782
67832011-09-20 Juri Linkov <juri@jurta.org>
6784
6785 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
6786 (Info-forward-node, Info-backward-node, Info-next-preorder)
6787 (Info-last-preorder): Use it. (Bug#9528)
6788
67892011-09-20 Juri Linkov <juri@jurta.org>
6790
6791 * info.el (Info-last-preorder): Visit last menu item only when
6792 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
6793
67942011-09-20 Julien Danjou <julien@danjou.info>
6795
6796 * password-cache.el (password-cache-remove): Remove entries even if the
6797 value is nil, so that password with a nil value (negative caching) is
6798 possible to invalidate.
6799
68002011-09-20 Lawrence Mitchell <wence@gmx.li>
6801
6802 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
6803 all whitespace around breakpoint. (Bug#9553)
6804 (f90-find-breakpoint): Only break at whitespace inside a comment.
6805
68062011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
6807
6808 * minibuffer.el (completion-file-name-table): Keep track of errors.
6809 (completion-table-with-predicate): Handle the case where pred1 is nil.
6810 * pcomplete.el (pcomplete-completions-at-point): Simplify.
6811
68122011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6813
6814 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
6815 (debugger-return-value): Signal an error if the debugging context does
6816 not await any return value.
6817
6818 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
6819 * image-mode.el (image-toggle-display-text)
6820 (image-toggle-display-image): Stay away from evil `intangible'.
6821
68222011-09-19 Leo Liu <sdl.web@gmail.com>
6823
6824 * replace.el (occur-revert-arguments): Make it permanent-local.
6825 (occur-mode): Don't call font-lock-defontify.
6826
68272011-09-19 Chong Yidong <cyd@stupidchicken.com>
6828
6829 * net/ldap.el (ldap-search-internal): Don't push empty search
6830 result (Bug#9508).
6831
68322011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
6833
6834 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
6835
68362011-09-19 Michael Albinus <michael.albinus@gmx.de>
6837
6838 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
6839 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
6840
68412011-09-18 Juri Linkov <juri@jurta.org>
6842
6843 * buff-menu.el (Buffer-menu-mode-map):
6844 * dired.el (dired-mode-map):
6845 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
6846 (lisp-interaction-mode-map):
6847 * emacs-lisp/package.el (package-menu-mode-map):
6848 * epa.el (epa-key-list-mode-map):
6849 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
6850 (menu-bar-options-menu):
6851 * outline.el (outline-mode-menu-bar-map):
6852 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
6853 * vc/vc-dir.el (vc-dir-menu-map):
6854 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
6855 Capitalize non-function content words in menu item strings.
6856
6857 * dired.el (dired-mode-map): Add menu item for
6858 `image-dired-dired-toggle-marked-thumbs'.
6859
68602011-09-18 Juri Linkov <juri@jurta.org>
6861
6862 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
6863 to `isearch-case-fold-search' and restore its original value
6864 after the `isearch-mode' call.
6865
68662011-09-18 Juri Linkov <juri@jurta.org>
6867
6868 * progmodes/grep.el (grep-process-setup): Don't check code for 1
6869 because `zgrep' returns 1 for successful matches (bug#9226).
6870
68712011-09-18 Juri Linkov <juri@jurta.org>
6872
6873 * info.el (Info-extract-menu-node-name): Check the second match
6874 for empty string (second test-case of bug#9528).
6875 (Info-last-preorder): Let-bind `Info-history' to nil to not add
6876 intermediate nodes to the history (first test-case of bug#9528).
6877
68782011-09-18 Juri Linkov <juri@jurta.org>
6879
6880 * info.el (Info-mode-syntax-table): New variable.
6881 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
6882
68832011-09-18 Juri Linkov <juri@jurta.org>
6884
6885 * info.el (Info-file-supports-index-cookies):
6886 Increment line-beginning-position's arg from 3 to 4 because makeinfo
6887 outputs one more line for long file names (bug#4142).
6888
68892011-09-18 Chong Yidong <cyd@stupidchicken.com>
6890
6891 * newcomment.el (comment-normalize-vars): If prompting for
6892 comment-start, set comment-start-skip too (Bug#8424).
6893
68942011-09-18 Johan Bockgård <bojohan@gnu.org>
6895
6896 * icomplete.el: Fix previous fix of Bug#5849.
6897 (icomplete-mode): Don't set completion-show-inline-help.
6898 (icomplete-minibuffer-setup): Set completion-show-inline-help
6899 locally during icompletion.
6900
69012011-09-18 Chong Yidong <cyd@stupidchicken.com>
6902
6903 * woman.el (woman2-process-escapes): Don't delete unrecognized
6904 escapes (Bug#7843).
6905
6906 * files.el (inhibit-first-line-modes-regexps): Add image files.
6907 (hack-local-variables-prop-line): Return nil for malformed
6908 prop-lines (Bug#9044).
6909
69102011-09-18 Michael Albinus <michael.albinus@gmx.de>
6911
6912 * net/tramp.el (top): Don't require 'shell.
6913 (tramp-methods): Fix docstring.
6914 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
6915 Return complete remote file name. Handle "smb" case.
6916 Use `tramp-tmpdir', if defined for the respective method.
6917 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
6918
6919 * net/tramp-compat.el (top): Require 'shell.
6920
6921 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6922 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
6923 `tramp-current-host'.
6924 (tramp-get-remote-tmpdir): Remove.
6925
6926 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
6927 `tramp-tmpdir' entries.
6928 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
6929 (tramp-smb-handle-file-attributes): Ignore errors.
6930 (tramp-smb-wait-for-output): Check also for process end.
6931
69322011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6933
6934 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
6935 when sending QUIT (bug#9312).
6936
69372011-09-17 Chong Yidong <cyd@stupidchicken.com>
6938
6939 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
6940 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
6941 occur-mode-display-occurrence.
6942 (occur-edit-mode): Add usage message.
6943 (occur-cease-edit): New command.
6944 (occur-after-change-function): Use text properties to find the
6945 position of the prefix text.
6946 (occur-engine): Set stickiness of prefix text properties.
6947
69482011-09-17 Glenn Morris <rgm@gnu.org>
6949
6950 * progmodes/etags.el (complete-tag):
6951 Fix call to completion-in-region. (Bug#9526)
6952
69532011-09-17 Juri Linkov <juri@jurta.org>
6954
6955 * textmodes/ispell.el (ispell-word): Add to the error message
6956 the word, ispell program name and current dictionary (bug#9121).
6957 (ispell-tex-arg-end): Capitalize "error" in the error message.
6958
69592011-09-17 Andreas Schwab <schwab@linux-m68k.org>
6960
6961 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
6962 check. (Bug#4251)
6963
69642011-09-17 Juri Linkov <juri@jurta.org>
6965
6966 * window.el (window-safe-min-height, window-safe-min-width):
6967 Fix typos (followup to bug#9522).
6968
69692011-09-17 Sven Joachim <svenjoac@gmx.de>
6970
6971 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
6972
69732011-09-16 Eli Zaretskii <eliz@gnu.org>
6974
6975 * simple.el (line-move): If goal-column is set, move by logical
6976 lines, not by display lines. (Bug#971)
6977 (next-line, previous-line, goal-column, line-move-visual): Doc fix
6978 to reflect the above change.
6979
69802011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * image.el (imagemagick-register-types): Use regexp-opt.
6983
69842011-09-15 Chong Yidong <cyd@stupidchicken.com>
6985
6986 * window.el (display-buffer-base-action): Rename from
6987 display-buffer-default-action. Make default value empty.
6988 (display-buffer-overriding-action): Convert to defvar.
6989 (display-buffer-fallback-action): New var.
6990
69912011-09-15 Chong Yidong <cyd@stupidchicken.com>
6992
6993 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
6994 declaration.
6995 (package--add-to-archive-contents): If there is a duplicate entry
6996 with an older version, remove it.
6997 (package-menu-mark-delete, package-menu-mark-install)
6998 (package-menu-mark-unmark): Make unused args optional.
6999 (package-menu-mark-obsolete-for-deletion):
7000 Use package-menu-get-status instead of a regexp search.
7001 (package-menu-get-status): Use tabulated-list-entry.
7002 (package-menu-mark-upgrades): New command.
7003 (package-menu-mode-map): Bind it to U. Add it to menu bar.
7004 (package-menu-execute): Do installation before deletion.
7005 (package-menu-refresh, package-menu-execute): Use derived-mode-p
7006 instead of checking major-mode.
7007 (package-menu--find-upgrades): New function.
7008
70092011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
7010
7011 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
7012 passwords in the log buffer.
7013 (smtpmail-process-filter): Update the process marker so that the
7014 "broken by peer" status message is inserted in the right place.
7015
70162011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7017
7018 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
7019 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
7020 bibtex-completion-at-point-function.
7021 (bibtex-completion-at-point-function): Use them.
7022
7023 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
7024
7025 * mpc.el (mpc-constraints-tag-lookup): New function.
7026 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
7027 also to browser "album|playlist".
7028
70292011-09-14 Juri Linkov <juri@jurta.org>
7030
7031 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
7032 (isearch-edit-string): Use length of `isearch-string' when
7033 `isearch-fail-pos' returns nil.
7034 (isearch-message): Remove duplicate code and call
7035 `isearch-fail-pos' with arg `t'.
7036
70372011-09-14 Chong Yidong <cyd@stupidchicken.com>
7038
7039 * replace.el (occur-mode-goto-occurrence): Don't force using other
7040 window (Bug#9499).
7041
7042 * dired-aux.el (dired-do-chmod): Don't provide initial input.
7043
70442011-09-14 Martin Rudalics <rudalics@gmx.at>
7045
7046 * window.el (display-buffer-window): Remove.
7047 (display-buffer-record-window): Use help-setup window parameter
7048 instead of variable display-buffer-window.
7049 (display-buffer-function, special-display-buffer-names)
7050 (special-display-function): Mention help-setup parameter instead
7051 of display-buffer-window in doc-string.
7052 * help.el (help-window-setup): New argument help-window.
7053 Use help-window-setup parameter instead of display-buffer-window.
7054 Reword some messages.
7055 (with-help-window): Pass window used for displaying the buffer
7056 to help-window-setup. Don't set display-buffer-window.
7057
70582011-09-13 Glenn Morris <rgm@gnu.org>
7059
7060 * emacs-lisp/debug.el (debugger-make-xrefs):
7061 Preserve point. (Bug#9462)
7062
70632011-09-13 Chong Yidong <cyd@stupidchicken.com>
7064
7065 * window.el (window-deletable-p): Use next-frame.
7066
70672011-09-13 Martin Rudalics <rudalics@gmx.at>
7068
7069 * window.el (window-auto-delete): Remove.
7070 (window-deletable-p): Remove argument FORCE. Don't deal with
7071 dedication and previous buffers.
7072 (switch-to-prev-buffer): Don't delete window.
7073 (delete-windows-on): Delete a window's frame if and only if the
7074 window is dedicated.
7075 (replace-buffer-in-windows): Delete buffer's window or frame if
7076 and only if window is dedicated.
7077 (quit-window): Handle quit-restore as before last change.
7078 (bury-buffer): Delete window only if window-deletable-p returns t.
7079
70802011-09-13 Chong Yidong <cyd@stupidchicken.com>
7081
7082 * window.el (window-deletable-p): Never delete the last frame on a
7083 given terminal.
7084
70852011-09-13 Glenn Morris <rgm@gnu.org>
7086
7087 * help.el (describe-key-briefly): Copy previous standard-output change.
7088
70892011-09-13 PJ Weisberg <pj@irregularexpressions.net>
7090
7091 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
7092
70932011-09-13 Glenn Morris <rgm@gnu.org>
7094
7095 * emacs-lisp/lisp-mode.el (lisp-indent-function):
7096 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
7097
70982011-09-12 Chong Yidong <cyd@stupidchicken.com>
7099
7100 * dired-aux.el (dired-mark-read-string): Don't return default
7101 value on empty input (Bug#9361).
7102 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
7103 Omit initial minibuffer contents.
7104 (dired-do-chmod): Signal an error on empty input.
7105 (dired-mark-read-string): Don't return default on empty input.
7106
7107 * files.el (file-modes-symbolic-to-number): Doc fix.
7108
71092011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7110
7111 * international/mule-cmds.el (ucs-completions): Remove.
7112 (read-char-by-name): Use complete-with-action instead; add metadata.
7113
71142011-09-11 Chong Yidong <cyd@stupidchicken.com>
7115
7116 * window.el (display-buffer--action-function-custom-type)
7117 (display-buffer--action-custom-type): New vars.
7118 (display-buffer-alist, display-buffer-default-action)
7119 (display-buffer-overriding-action): Add defcustom types.
7120
7121 * frame.el (delete-other-frames): Doc fix (Bug#276).
7122
71232011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7124
7125 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
7126
71272011-09-11 Chong Yidong <cyd@stupidchicken.com>
7128
7129 Change modes that used same-window-* vars to use switch-to-buffer.
7130
7131 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
7132 Use switch-to-buffer.
7133
7134 * cus-edit.el (customize-group, custom-buffer-create)
7135 (customize-browse, custom-buffer-create-other-window):
7136 Use switch-to-buffer or switch-to-buffer-other-window.
7137
7138 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
7139 (Info-prev, Info-up, Info-speedbar-goto-node)
7140 (info-display-manual): Use switch-to-buffer.
7141 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
7142
7143 * mail/sendmail.el (mail): Use switch-to-buffer.
7144 (mail-recover): Use switch-to-buffer-other-window.
7145
7146 * cmuscheme.el (run-scheme, switch-to-scheme):
7147 * ielm.el (ielm):
7148 * shell.el (shell):
7149 * net/rlogin.el (rlogin):
7150 * net/telnet.el (telnet, rsh):
7151 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
7152
71532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
7154
7155 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
7156
71572011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7158
7159 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
7160 so don't mention it (bug#9301).
7161 (dired-sort-toggle-or-edit): Clarify string further.
7162
7163 * faces.el (face-spec-set-match-display): Make `(type graphic)'
7164 match `x', `w32' and `ns', like the manual says (bug#9029).
7165
7166 * subr.el (eval-after-load): Doc string clarification (bug#9125).
7167 (process-kill-buffer-query-function): Mention the buffer name in
7168 the query.
7169
7170 * image-mode.el (image-next-line): The line parameter is mandatory
7171 (bug#9258).
7172
7173 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
7174 which can be useful (bug#9301).
7175
7176 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
7177
7178 * subr.el (match-string): Mention that the current buffer should
7179 be the same as the search was done in (bug#9282).
7180
7181 * facemenu.el: Disable the remove-* commands if the mark isn't
7182 active (bug#9162).
7183
71842011-09-10 Chong Yidong <cyd@stupidchicken.com>
7185
7186 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
7187 of display-buffer.
7188 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
7189
7190 * replace.el (occur-mode-goto-occurrence)
7191 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
7192 and display-buffer.
7193
7194 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
7195 display-buffer.
7196
7197 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
7198 special-display and same-window variables.
7199 (mail-other-window): Use switch-to-buffer-other-window.
7200 (mail-other-frame): USe switch-to-buffer-other-frame.
7201
7202 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
7203 Use display-buffer-other-frame.
7204 (gdb-display-gdb-buffer): Use pop-to-buffer.
7205
7206 * progmodes/gud.el (gud-goto-info): Use info-other-window.
7207
7208 * progmodes/python.el: Don't set same-window-buffer-names.
7209
7210 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
7211
7212 * window.el (display-buffer-alist): Add *Python*.
7213
72142011-09-10 Chong Yidong <cyd@stupidchicken.com>
7215
7216 * window.el (display-buffer-alist): Add entry for buffers
7217 previously handled same-window-*.
7218 (display-buffer-alist, display-buffer-default-action)
7219 (display-buffer-overriding-action): Mark as risky.
7220 (display-buffer-alist): Document action function changes.
7221 (display-buffer--same-window-action)
7222 (display-buffer--other-frame-action): New variables.
7223 (switch-to-buffer, display-buffer-other-frame): Use them.
7224 (display-buffer): Rename reuse-frame entry to reusable-frames.
7225 (display-buffer-reuse-selected-window): Function deleted.
7226 (display-buffer-reuse-window): Handle reusable-frames alist entry.
7227 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
7228 (display-buffer-special): New function.
7229 (display-buffer--maybe-pop-up-frame-or-window): Rename from
7230 display-buffer-reuse-or-pop-window. Split off special-display
7231 part into display-buffer-special.
7232 (display-buffer-use-some-window): Don't perform any special
7233 pop-up-frames handling.
7234 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
7235 (display-buffer--maybe-same-window): Rename from
7236 display-buffer-maybe-same-window.
7237
7238 * info.el: Don't set same-window-regexps.
7239 (info-setup): New function.
7240 (info-other-window, info): Call it.
7241
7242 * cus-edit.el: Don't set same-window-regexps.
7243 (customize-group): New argument.
7244 (customize-group-other-window): Use it.
7245 (customize-face, customize-face-other-window): Likewise.
7246 (custom-buffer-create-other-window): Use pop-to-buffer directly.
7247
7248 * net/rlogin.el:
7249 * net/telnet.el:
7250 * progmodes/gud.el: Don't set same-window-regexps.
7251
7252 * cmuscheme.el:
7253 * ielm.el:
7254 * shell.el:
7255 * mail/sendmail.el:
7256 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
7257
72582011-09-10 Juri Linkov <juri@jurta.org>
7259
7260 * isearch.el (isearch-edit-string): Remove obsolete mention of
7261 `C-w' (`isearch-yank-word-or-char') from docstring.
7262 (isearch-query-replace): Fix typo in docstring (bug#9466).
7263
72642011-09-10 Juri Linkov <juri@jurta.org>
7265
7266 * paren.el (show-paren-function): Don't show escaped parens.
7267 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
7268
72692011-09-10 Eli Zaretskii <eliz@gnu.org>
7270
7271 * mail/sendmail.el (mml-to-mime, mml-attach-file)
7272 (mm-default-file-encoding): Remove autoload forms, they are
7273 replaced with autoload cookies in mml.el and mm-encode.el.
7274 (mail-add-attachment): New command.
7275 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
7276 (mail-mode): Mention mail-insert-file and mail-add-attachment in
7277 the doc string.
7278 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
7279
72802011-09-10 Reuben Thomas <rrt@sc3d.org>
7281
7282 * simple.el (count-words-region): Use buffer if there's no region
7283 (bug#9429).
7284
72852011-09-09 Juri Linkov <juri@jurta.org>
7286
7287 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
7288 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
7289 (wdired-isearch-filter-read-only): New function. (Bug#6362)
7290
72912011-09-09 Alan Mackenzie <acm@muc.de>
7292
7293 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
7294 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
7295
72962011-09-09 Eli Zaretskii <eliz@gnu.org>
7297
7298 Fix for Savannah bug#9392.
7299 * simple.el (mail-encode-mml): New defvar.
7300
7301 * mail/rmail.el (mail-encode-mml): Add a defvar.
7302 (rmail-enable-mime-composing): Default to t.
7303 (rmail-forward): Use MIME method of forwarding only if both
7304 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
7305 Set mail-encode-mml non-nil if the MIME method was used.
7306
7307 * mail/sendmail.el (mml-to-mime): Add autoload form.
7308 (mail-encode-mml): Add a defvar.
7309 (mail-mode): Make mail-encode-mml buffer-local and initialize it
7310 to nil.
7311 (mail-send): If mail-encode-mml is non-nil, run the outgoing
7312 message through mml-to-mime, and reset mail-encode-mml to nil.
7313
73142011-09-09 Glenn Morris <rgm@gnu.org>
7315
7316 * woman.el (woman-if-body): When processing an .el block,
7317 do not delete the next .el block as well. (Bug#9447)
7318 (woman-special-characters): Add oq, cq, and hy characters.
7319
73202011-09-08 Martin Rudalics <rudalics@gmx.at>
7321
7322 * window.el (window-deletable-p): Make sure window is live before
7323 invoking window-prev-buffers.
7324
73252011-09-08 Leo Liu <sdl.web@gmail.com>
7326
7327 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
7328
73292011-09-08 Juri Linkov <juri@jurta.org>
7330
7331 * progmodes/compile.el (compilation-environment): Make it
7332 a defcustom (bug#8340).
7333
73342011-09-08 Martin Rudalics <rudalics@gmx.at>
7335
7336 * window.el (frame-auto-delete): Rename to window-auto-delete.
7337 Make it control auto-deletion of windows and/or frames.
7338 (window-deletable-p): New argument FORCE. Rewrite conditions
7339 for deleting window/frame. (Bug#9419)
7340 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
7341 Rewrite handling of case when window/frame can be deleted.
7342 (delete-windows-on): Call window-deletable-p with new FORCE
7343 argument t. (Bug#9456)
7344
73452011-09-07 Chong Yidong <cyd@stupidchicken.com>
7346
7347 * help-mode.el (help-mode): Restore autoload.
7348
73492011-09-07 Juri Linkov <juri@jurta.org>
7350
7351 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
7352 `compilation-environment'. Set buffer-local
7353 `compilation-environment' to `thisenv' later after (funcall mode).
7354 (Bug#8340)
7355
7356 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
7357 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
7358 instead of replacing its value. (Bug#8340)
7359
73602011-09-07 Juri Linkov <juri@jurta.org>
7361
7362 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
7363 based on text properties put by `grep-filter' instead of matching
7364 escape sequences.
7365 (grep-mode): Set buffer-local `compilation-error-screen-columns'
7366 to the value of `grep-error-screen-columns' (bug#9438).
7367
73682011-09-07 Juri Linkov <juri@jurta.org>
7369
7370 * simple.el (next-error-highlight, next-error-highlight-no-select):
7371 Doc fix (bug#9432).
7372
73732011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
7374
7375 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7376 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
7377
73782011-09-07 Leo Liu <sdl.web@gmail.com>
7379
7380 * net/rcirc.el (rcirc-mode): Conditionally initialize
7381 rcirc-input-ring.
7382
73832011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7384
7385 * emacs-lisp/find-func.el (find-function-C-source): Only set
7386 find-function-C-source-directory after checking that we found a source
7387 file there (bug#9440).
7388
73892011-09-06 Alan Mackenzie <acm@muc.de>
7390
7391 * isearch.el (isearch-other-meta-char): Wherever a key list is
7392 unread, "unread" the prefix arg, too. This fixes bug #8901.
7393
73942011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
7395
7396 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
7397
73982011-09-05 Juri Linkov <juri@jurta.org>
7399
7400 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
7401
74022011-09-05 Juri Linkov <juri@jurta.org>
7403
7404 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
7405 keeping point where processing of grep matches begins, and
7406 continue to delete remaining escape sequences from the same point.
7407 (grep-filter): Make leading zero optional in "0?1;31m" because
7408 git-grep emits "\033[1;31m" escape sequences unlike expected
7409 "\033[01;31m" as GNU Grep does (bug#9408).
7410 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
7411
74122011-09-05 Juri Linkov <juri@jurta.org>
7413
7414 * subr.el (y-or-n-p): Capitalize "yes".
7415
74162011-09-04 Michael Albinus <michael.albinus@gmx.de>
7417
7418 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
7419 `tramp-cache-unload-hook' where appropriate.
7420 (tramp-methods): Rename `tramp-remote-sh' to
7421 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
7422 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
7423
7424 * net/tramp-sh.el (top): Don't require 'shell.
7425 (tramp-methods): Add `tramp-remote-shell' and
7426 `tramp-remote-shell-args' entries.
7427 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
7428 (tramp-sh-handle-shell-command): Remove.
7429 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7430 Use `tramp-remote-shell'.
7431
74322011-09-03 Chong Yidong <cyd@stupidchicken.com>
7433
7434 * mail/sendmail.el (sendmail-query-once-function): Delete.
7435 (sendmail-query-once): Save directly to send-mail-function.
7436 Update message-send-mail-function too.
7437
7438 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
7439
74402011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7441
7442 * progmodes/python.el (python-mode-map): Use correct function to
7443 start python interpreter from menu-bar (as reported by Geert
7444 Kloosterman).
7445 (inferior-python-mode-map): Fix typo.
7446 (python-shell-map): Remove.
7447
74482011-09-03 Deniz Dogan <deniz@dogan.se>
7449
7450 * net/rcirc.el (rcirc-print): Simplify code for
7451 rcirc-scroll-show-maximum-output. There is no need to walk
7452 through all windows to find the right one.
7453
74542011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
7455
7456 * help.el (help-return-method): Doc fix.
7457
74582011-09-03 Martin Rudalics <rudalics@gmx.at>
7459
7460 * window.el (window-deletable-p): Don't return a non-nil value
7461 when there's a buffer that was shown in the window before.
7462 (Bug#9419)
7463 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7464 Set window's previous buffers to nil.
7465
74662011-09-03 Eli Zaretskii <eliz@gnu.org>
7467
7468 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
7469 newline before and after the tag line, so it doesn't interfere
7470 with determining the paragraph direction of bidirectional text.
7471
74722011-09-03 Leo Liu <sdl.web@gmail.com>
7473
7474 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
7475
74762011-09-02 Chong Yidong <cyd@stupidchicken.com>
7477
7478 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
7479 (pop-to-buffer): Change interactive spec. Pass second argument
7480 directly to display-buffer.
7481 (display-buffer): Fix interactive spec. Use functionp to
7482 distinguish between a function and a list of functions.
7483
7484 * abbrev.el (edit-abbrevs):
7485 * arc-mode.el (archive-extract):
7486 * autoinsert.el (auto-insert):
7487 * bookmark.el (bookmark-bmenu-list):
7488 * files.el (find-file):
7489 * view.el (view-buffer):
7490 * progmodes/compile.el (compilation-goto-locus):
7491 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
7492
74932011-09-02 Chong Yidong <cyd@stupidchicken.com>
7494
7495 * window.el (display-buffer-alist): Doc fix.
7496 (display-buffer): Add docstring. Don't treat
7497 display-buffer-default specially.
7498 (display-buffer-reuse-selected-window)
7499 (display-buffer-same-window, display-buffer-maybe-same-window)
7500 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7501 (display-buffer-pop-up-window)
7502 (display-buffer-reuse-or-pop-window)
7503 (display-buffer-use-some-window): New functions.
7504 (display-buffer-default-action): Use them.
7505 (display-buffer-default): Delete.
7506 (pop-to-buffer-1): Fix choice of actions.
7507
75082011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
7509
7510 * minibuffer.el (completion--insert-strings): Don't get confused by
7511 completion entries that end with an LF char.
7512
75132011-09-01 Eli Zaretskii <eliz@gnu.org>
7514
7515 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
7516
75172011-09-01 Chong Yidong <cyd@stupidchicken.com>
7518
7519 * window.el (display-buffer): Restore interactive spec.
7520 (display-buffer-same-window, display-buffer-other-window):
7521 New functions.
7522 (pop-to-buffer-1): New function. Use the above.
7523 (pop-to-buffer, pop-to-buffer-same-window): Use it.
7524 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
7525
7526 * view.el (view-buffer-other-window, view-buffer-other-frame):
7527 Just use pop-to-buffer.
7528
75292011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7530
7531 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
7532
75332011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
7534
7535 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
7536
75372011-08-31 Richard Stallman <rms@gnu.org>
7538
7539 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
7540 of the separation of rmail-view-buffer from rmail-buffer.
7541 If you say no to "replace original", the decrypt is in the
7542 view buffer. If you say yes, the decrypt goes into the
7543 rmail buffer also.
7544
75452011-08-31 Martin Rudalics <rudalics@gmx.at>
7546
7547 * window.el (display-buffer-window): Rewrite doc-string.
7548 (display-buffer-record-window): New function.
7549 (display-buffer-macro-specifiers)
7550 (display-buffer-even-window-sizes, display-buffer-set-height)
7551 (display-buffer-set-width, display-buffer-in-window)
7552 (display-buffer-reuse-window, display-buffer-split-specifiers)
7553 (display-buffer-side-specifiers, display-buffer-split-window-1)
7554 (display-buffer-split-window, display-buffer-split-atom-window)
7555 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
7556 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
7557 (display-buffer-other-window-means-other-frame)
7558 (display-buffer-normalize-special)
7559 (display-buffer-normalize-default)
7560 (display-buffer-normalize-argument)
7561 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
7562 (display-buffer-normalize-specifiers, display-buffer-frame)
7563 (display-buffer-same-window, display-buffer-same-frame)
7564 (display-buffer-other-window)
7565 (display-buffer-same-frame-other-window)
7566 (display-buffer-other-frame, pop-to-buffer-same-window)
7567 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
7568 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
7569 (switch-to-buffer-same-frame)
7570 (switch-to-buffer-other-window-same-frame)
7571 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
7572 (display-buffer-alist-set-1, display-buffer-alist-set-2)
7573 (display-buffer-alist-set): Remove.
7574 (display-buffer-function, special-display-buffer-names)
7575 (special-display-regexps, special-display-function):
7576 In doc-string refer to display-buffer-window and quit-restore
7577 parameter.
7578 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
7579 (special-display-frame-alist, special-display-popup-frame)
7580 (same-window-buffer-names, same-window-regexps, same-window-p)
7581 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
7582 (split-window-preferred-function, split-height-threshold)
7583 (split-width-threshold, window-splittable-p)
7584 (split-window-sensibly, window--try-to-split-window)
7585 (window--frame-usable-p, even-window-heights)
7586 (window--even-window-heights, window--display-buffer-1)
7587 (window--display-buffer-2, display-buffer-other-frame):
7588 Restore old Emacs 23 code, order and doc-strings where applicable.
7589 (display-buffer-default, display-buffer-assq-regexp): New functions.
7590 (display-buffer-alist): Rewrite doc-string.
7591 (display-buffer-default-action)
7592 (display-buffer-overriding-action): New variables.
7593 (display-buffer, switch-to-buffer): Rewrite.
7594 (pop-to-buffer): Restore Emacs 23 behavior but use
7595 window-normalize-buffer-to-display.
7596 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
7597 Restore Emacs 23 behavior but use
7598 window-normalize-buffer-to-switch-to.
7599 (pop-to-buffer-same-window): Rewrite.
7600 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
7601 Rewrite using Emacs 23 options.
7602
76032011-08-31 Michael Albinus <michael.albinus@gmx.de>
7604
7605 * net/tramp.el (tramp-root-regexp): Remove.
7606 (tramp-completion-file-name-regexp-unified)
7607 (tramp-completion-file-name-regexp-separate)
7608 (tramp-completion-file-name-regexp-url): Don't use leading volume
7609 letter on win32 systems. (Bug#5303, Bug#9311)
7610 (tramp-drop-volume-letter): Simplify definition.
7611 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
7612
76132011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
7616 (bug#9356).
7617
76182011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
7619
7620 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
7621
76222011-08-29 Juri Linkov <juri@jurta.org>
7623
7624 * isearch.el (isearch-done): Don't display message "Mark saved"
7625 when arg `edit' is non-nil to prevent its flicker in the echo area.
7626
76272011-08-28 Chong Yidong <cyd@stupidchicken.com>
7628
7629 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
7630 obsolete packages for deletion.
7631
76322011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
7633
7634 * help-mode.el (help-mode-map): Add special-mode-map to parent.
7635 (help-mode): Derive help-mode from special-mode. Don't invoke
7636 view-mode from help-mode.
7637 (help-xref-override-view-map): Remove.
7638 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
7639 view-mode is not used anymore.
7640
76412011-08-28 Chong Yidong <cyd@stupidchicken.com>
7642
7643 * server.el (server-port): Doc fix.
7644
7645 * cus-theme.el (custom-theme-choose-mode): Inherit from
7646 special-mode (Bug#9124).
7647 (custom-theme-choose-mode-map): Add special-mode to parent.
7648
76492011-08-28 Alan Mackenzie <acm@muc.de>
7650
7651 * progmodes/cc-fonts.el
7652 (c-make-font-lock-BO-decl-search-function): New function.
7653 (c-basic-matchers-after - "Fontify the clauses after various
7654 keywords"): Extract the three keyword lists for the 3 erroneous
7655 constructs from the list of four, and use the new function above
7656 in place of an old one.
7657
76582011-08-28 Deniz Dogan <deniz@dogan.se>
7659
7660 * net/rcirc.el (rcirc-insert-prev-input)
7661 (rcirc-insert-next-input): Remove unused argument.
7662
76632011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
7666
76672011-08-27 Alan Mackenzie <acm@muc.de>
7668
7669 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
7670 handle function pointer parameters properly.
7671
76722011-08-27 Martin Rudalics <rudalics@gmx.at>
7673
7674 * window.el (display-buffer-reuse-window): Fix case where
7675 selected window was reused with non-nil OTHER-WINDOW argument.
7676 (Bug#9381)
7677
76782011-08-27 Deniz Dogan <deniz@dogan.se>
7679
7680 * net/rcirc.el (rcirc-check-auth-status): Adding support for
7681 oftc's NickServ messages.
7682
76832011-08-27 Glenn Morris <rgm@gnu.org>
7684
7685 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
7686
76872011-08-26 Chong Yidong <cyd@stupidchicken.com>
7688
7689 * emacs-lisp/package.el (package-install): Call package-initialize
7690 if called interactively.
7691
76922011-08-26 Leo Liu <sdl.web@gmail.com>
7693
7694 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
7695
76962011-08-25 Juri Linkov <juri@jurta.org>
7697
7698 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7699 `search-whitespace-regexp' (bug#9364).
7700
77012011-08-25 Juri Linkov <juri@jurta.org>
7702
7703 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
7704 `regexp-search-ring' to their global values to protect from
7705 updating by `read-from-minibuffer' (bug#9185).
7706
77072011-08-25 Juri Linkov <juri@jurta.org>
7708
7709 * textmodes/ispell.el (ispell-command-loop): Add newline
7710 at the end of the "Use option `i'..." line.
7711
77122011-08-25 Juri Linkov <juri@jurta.org>
7713
7714 * battery.el (display-battery-mode): If `battery-status-function'
7715 or `battery-mode-line-format' is nil, display the message and set
7716 `display-battery-mode' to nil (bug#9363).
7717
77182011-08-25 Eli Zaretskii <eliz@gnu.org>
7719
7720 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
7721 bidi-string-mark-left-to-right; they are unnecessary now.
7722
77232011-08-25 Deniz Dogan <deniz@dogan.se>
7724
7725 * net/quickurl.el: Documentation typo fixes.
7726
77272011-08-25 Chong Yidong <cyd@stupidchicken.com>
7728
7729 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
7730
77312011-08-25 Glenn Morris <rgm@gnu.org>
7732
7733 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
7734
7735 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
7736 (smtpmail-via-smtp): Handle nil response from smtp.
7737
77382011-08-24 Juri Linkov <juri@jurta.org>
7739
7740 * proced.el (proced-marked): Inherit from `error' instead of
7741 `font-lock-warning-face'.
7742
7743 * ibuffer.el (ibuffer-marked-face): Change default face from
7744 `font-lock-warning-face' to `warning'.
7745 (ibuffer-deletion-face): Change default face from
7746 `font-lock-type-face' to `error'.
7747
7748 * battery.el (battery-update): Use the face `error' instead of
7749 `font-lock-warning-face' (bug#6117).
7750
77512011-08-24 Juri Linkov <juri@jurta.org>
7752
7753 * faces.el (success): Change face color from "Green3" to
7754 "ForestGreen" on light background (bug#9353).
7755
77562011-08-24 Chong Yidong <cyd@stupidchicken.com>
7757
7758 * window.el (quit-window): Rename from quit-restore-window.
7759 Use same arglist as old quit-window.
7760 (frame-auto-delete): Doc fix.
7761
7762 * view.el (view-mode-exit): Use quit-window.
7763
77642011-08-24 Juri Linkov <juri@jurta.org>
7765
7766 * isearch.el (isearch-ring-adjust1): Start visiting previous
7767 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
7768 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
7769 for empty search string (when the last search string is reused
7770 automatically) to adjust the isearch ring to the last element and
7771 prepare the correct index for further M-p commands (bug#9185).
7772
77732011-08-24 Kenichi Handa <handa@m17n.org>
7774
7775 * international/ucs-normalize.el: If decomposition property of
7776 CHAR is the default one (i.e. a list of CHAR itself), treat it as
7777 nil.
7778 (nfd, nfkd): Likewise.
7779
77802011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
7783 from process filters aren't reliably transmitted to the surrounding
7784 accept-process-output.
7785 (mpc-proc-check): New function.
7786 (mpc-proc-sync): Use it (bug#8293)
7787
77882011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7789
7790 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
7791 Add compatibility functions (bug#9313).
7792
77932011-08-23 Eli Zaretskii <eliz@gnu.org>
7794
7795 * cus-start.el (all): Add entry for bidi-paragraph-direction.
7796
7797 * international/uni-bidi.el: Regenerate.
7798
77992011-08-23 Kenichi Handa <handa@m17n.org>
7800
7801 * international/charprop.el:
7802 * international/uni-bidi.el:
7803 * international/uni-category.el:
7804 * international/uni-combining.el:
7805 * international/uni-comment.el:
7806 * international/uni-decimal.el:
7807 * international/uni-decomposition.el:
7808 * international/uni-digit.el:
7809 * international/uni-lowercase.el:
7810 * international/uni-mirrored.el:
7811 * international/uni-name.el:
7812 * international/uni-numeric.el:
7813 * international/uni-old-name.el:
7814 * international/uni-titlecase.el:
7815 * international/uni-uppercase.el: Regenerate.
7816
78172011-08-23 Martin Rudalics <rudalics@gmx.at>
7818
7819 * help.el (help-window-setup): Fix message displayed when other
7820 window is reused. (Bug#9341)
7821
78222011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7823
7824 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
7825 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
7826
7827 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
7828 Mark obsolete.
7829 * shell.el (shell-parse-pcomplete-arguments): New function.
7830 (shell-completion-vars): Use it instead (bug#9160).
7831
78322011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
7835 strings and comments (bug#9333).
7836
7837 * emacs-lisp/debug.el (debug-arglist): New function.
7838 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
7839 (debug-on-entry-1): Handle interpreted closures (bug#9120).
7840
78412011-08-22 Juri Linkov <juri@jurta.org>
7842
7843 * progmodes/compile.el (compilation-mode-font-lock-keywords):
7844 Revert regexp that highlights output switches to its old
7845 pre-2010-10-28 value and remove one `?' from it (bug#9319).
7846
7847 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
7848 to check for empty output (bug#9226).
7849
78502011-08-22 Chong Yidong <cyd@stupidchicken.com>
7851
7852 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
7853 symbol-constituent as the default, as that stops font-lock from
7854 working properly (Bug#8843).
7855
78562011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7857
7858 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
7859 `coding-system-for-*' around the process open call to avoid
7860 auth-source side effects.
7861 (smtpmail-try-auth-methods): Expand the secret password.
7862 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
7863 probe hangs.
7864
78652011-08-21 Chong Yidong <cyd@stupidchicken.com>
7866
7867 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
7868
7869 * emacs-lisp/find-func.el (find-function-noselect): New arg
7870 lisp-only.
7871
7872 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
7873 signal an error for built-in functions (Bug#6664).
7874
78752011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
7876
7877 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
7878 (smtpmail-try-auth-methods): Use it.
7879
78802011-08-21 Chong Yidong <cyd@stupidchicken.com>
7881
7882 * font-lock.el (font-lock-fontify-region)
7883 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
7884 (font-lock-default-unfontify-buffer)
7885 (font-lock-default-fontify-region)
7886 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
7887
7888 * progmodes/compile.el (compilation-error-properties):
7889 Fix confusion between file struct and message struct (Bug#9319).
7890 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
7891 `ant' regexp.
7892
7893 * net/browse-url.el (browse-url-firefox): Don't call
7894 browse-url-firefox-sentinel unless using -remote (Bug#9328).
7895
78962011-08-20 Glenn Morris <rgm@gnu.org>
7897
7898 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
7899
7900 * tutorial.el (tutorial--default-keys): Update some default bindings.
7901
7902 * files.el (hack-local-variables): Fully ignore case for "mode:".
7903
79042011-08-20 Alan Mackenzie <acm@muc.de>
7905
7906 Resolve invalid use of a regexp in regexp-opt.
7907
7908 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
7909 detection for a java annotation.
7910
7911 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
7912 detection for a java annotation.
7913
7914 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
7915 handling for java.
7916 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
7917
79182011-08-20 Chong Yidong <cyd@stupidchicken.com>
7919
7920 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
7921 (Bug#9274).
7922
79232011-08-20 Alan Mackenzie <acm@muc.de>
7924
7925 Fontify CPP expressions correctly when starting in the middle of
7926 such a construct. Mainly for when jit-lock etc. starts a chunk
7927 here.
7928
7929 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
7930 variable.
7931 (c-make-font-lock-search-form): New function, extracted from
7932 c-make-font-lock-search-function.
7933 (c-make-font-lock-search-function): Use the above function.
7934 (c-make-font-lock-context-search-function): New function.
7935 (c-cpp-matchers): Enhance the preprocessor expression case with
7936 the above function
7937 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
7938 which takes an expression.
7939
7940 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
7941
79422011-08-20 Martin Rudalics <rudalics@gmx.at>
7943
7944 * window.el (display-buffer-reuse-window)
7945 (display-buffer-pop-up-window): Don't reuse or split a side
7946 window.
7947
79482011-08-19 Glenn Morris <rgm@gnu.org>
7949
7950 * files.el (hack-local-variables-prop-line, hack-local-variables):
7951 Downcase "Mode:". (Bug#9331)
7952
79532011-08-18 Chong Yidong <cyd@stupidchicken.com>
7954
7955 * international/characters.el: Add L and R categories.
7956
7957 * subr.el (bidi-string-mark-left-to-right): Rename from
7958 string-mark-left-to-right. Use category search.
7959
7960 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
7961
79622011-08-18 Juri Linkov <juri@jurta.org>
7963
7964 * faces.el (error, warning, success): New faces with definitions
7965 copied from old default values of `font-lock-warning-face',
7966 `compilation-warning', `compilation-info' (bug#6117).
7967
7968 * font-lock.el (font-lock-warning-face): Inherit from `error'.
7969
7970 * progmodes/compile.el (compilation-error): Inherit from `error'.
7971 (compilation-warning): Inherit from `warning'.
7972 (compilation-info): Inherit from `success'.
7973
7974 * dired.el (dired-marked): Inherit from `warning'.
7975 (dired-flagged): Inherit from `error'.
7976
79772011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
7978
7979 * mail/smtpmail.el (auth-source): Require to avoid problems with
7980 binding variables (bug#9298). Also clean up some unused
7981 autoloads.
7982
7983 * net/network-stream.el (network-stream-open-starttls):
7984 Support using starttls.el without using gnutls-cli.
7985
79862011-08-17 Juri Linkov <juri@jurta.org>
7987
7988 * progmodes/grep.el (rgrep): Handle the case when
7989 `grep-find-command' is a cons cell (bug#9278).
7990
79912011-08-17 Martin Rudalics <rudalics@gmx.at>
7992
7993 * window.el (display-buffer-pop-up-frame): Run frame creation
7994 function with BUFFER current (as special-display-popup-frame
7995 does). Reported by Drew Adams.
7996
79972011-08-17 Daiki Ueno <ueno@unixuser.org>
7998
7999 * epa-mail.el: Simplify GnuPG group expansion using
8000 epg-expand-group.
8001 (epa-mail-group-alist, epa-mail-group-modtime)
8002 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
8003 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
8004 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
8005 Remove.
8006
80072011-08-16 Feng Li <fengli@gmail.com> (tiny change)
8008
8009 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
8010
80112011-08-16 Alan Mackenzie <acm@muc.de>
8012
8013 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
8014 Correct, to avoid the inside of macros.
8015
80162011-08-16 Richard Stallman <rms@gnu.org>
8017
8018 * epa-mail.el: Handle GnuPG group definitions.
8019 (epa-mail-group-alist, epa-mail-group-modtime)
8020 (epa-mail-gnupg-conf-file): New variables.
8021 (epa-mail-parse-groups, epa-mail-sync-groups)
8022 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
8023 (epa-mail-expand-recipients): New functions.
8024 (epa-mail-encrypt): Call epa-mail-expand-recipients.
8025
8026 * mail/rmail.el (rmail-epa-decrypt): New command.
8027
8028 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
8029 Don't bind buffer-read-only, just inhibit-read-only.
8030 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
8031 (epa-decrypt-armor-in-region): Make error message clearer.
8032
80332011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
8036 and "a2b" to "ab" for `prefix'.
8037
80382011-08-14 Chong Yidong <cyd@stupidchicken.com>
8039
8040 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
8041 filter groups.
8042 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
8043 Fourquet (Bug#8804).
8044
80452011-08-12 Juanma Barranquero <lekktu@gmail.com>
8046
8047 * startup.el (argi): Declare as global variable (bug#9275).
8048
80492011-08-12 Chong Yidong <cyd@stupidchicken.com>
8050
8051 * subr.el (string-mark-left-to-right): Search the entire string
8052 for RTL script, not just the terminating character. Doc fix.
8053
80542011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
8057 New function.
8058 (js--regexp-literal, js-syntax-propertize-function): Remove.
8059 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
8060 (js-mode-map): Don't rebind electric keys.
8061 (js-insert-and-indent): Remove.
8062 (js-mode): Setup electric-layout and electric-indent instead.
8063
8064 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
8065
80662011-08-12 Daiki Ueno <ueno@unixuser.org>
8067
8068 * epa.el (epa-progress-callback-function): Fix the logic of
8069 displaying progress.
8070 * epa-file.el (epa-file-insert-file-contents): Make progress
8071 display more user-friendly.
8072 (epa-file-write-region): Ditto.
8073
80742011-08-10 Chong Yidong <cyd@stupidchicken.com>
8075
8076 * subr.el (string-mark-left-to-right): New function.
8077
8078 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
8079 Use string-mark-left-to-right.
8080 (list-buffers-noselect): Caller changed.
8081
8082 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8083 Use string-mark-left-to-right.
8084 (tabulated-list-print): Recenter after moving point.
8085
80862011-08-10 Juri Linkov <juri@jurta.org>
8087
8088 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
8089 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
8090 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
8091
80922011-08-09 Chong Yidong <cyd@stupidchicken.com>
8093
8094 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
8095 (Bug#7554).
8096
80972011-08-09 Andreas Schwab <schwab@linux-m68k.org>
8098
8099 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
8100 character. (Bug#6594)
8101
81022011-08-08 Chong Yidong <cyd@stupidchicken.com>
8103
8104 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
8105 (image-dired--with-db-file): New macro.
8106 (image-dired-write-tags, image-dired-remove-tag)
8107 (image-dired-create-gallery-lists, image-dired-write-comments)
8108 (image-dired-get-comment, image-dired-mark-tagged-files)
8109 (image-dired-list-tags, image-dired-gallery-generate): Use it.
8110 (image-dired-gallery-generate): Use insert-file-contents.
8111
8112 * time.el (display-time-world-list, display-time-world-display):
8113 * time-stamp.el (time-stamp-string):
8114 * vc/add-log.el (add-change-log-entry): Use setenv instead of
8115 set-time-zone-rule (Bug#7337).
8116
81172011-08-08 Daiki Ueno <ueno@unixuser.org>
8118
8119 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
8120 (epg-error-to-string, epg-errors-to-string): New function.
8121 (epg-wait-for-completion): Reverse errors list.
8122 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
8123 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
8124 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
8125 (epg-sign-keys, epg-generate-key-from-file)
8126 (epg-generate-key-from-string): Format errors by using
8127 epg-errors-to-string (bug#9255).
8128 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
8129
81302011-08-07 Juri Linkov <juri@jurta.org>
8131
8132 * faces.el (list-faces-display): Remove extra angle bracket
8133 from `help-mode-map'.
8134
8135 * info.el (Info-history-toc-nodes): Doc fix.
8136
8137 * longlines.el (longlines-mode): Doc fix.
8138
81392011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
8142 of statements and in a few more cases (bug#9183).
8143
8144 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
8145 New functions.
8146 (cl-transform-lambda): Use them (bug#9239).
8147
81482011-08-05 Martin Rudalics <rudalics@gmx.at>
8149
8150 * window.el (display-buffer-same-window)
8151 (display-buffer-same-frame, display-buffer-other-window)
8152 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
8153 (pop-to-buffer-other-window)
8154 (pop-to-buffer-same-frame-other-window)
8155 (pop-to-buffer-other-frame): Make them defuns.
8156 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
8157
81582011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * subr.el (make-composed-keymap): Move from C. Change calling
8161 convention, and improve docstring to bring attention to a subtle point.
8162 * minibuffer.el (completing-read-default): Adjust accordingly.
8163
81642011-08-03 Michael Albinus <michael.albinus@gmx.de>
8165
8166 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8167 (tramp-open-shell): Use `tramp-shell-quote-argument'.
8168
8169 * net/trampver.el: Update release number.
8170
81712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8172
8173 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
8174 "in" (bug#9190).
8175
81762011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
8177
8178 * mail/sendmail.el (sendmail-query-once): Restore the current
8179 buffer after querying (bug#9074).
8180
8181 * dired.el (dired-flagged): Use different faces for marked and
8182 flagged files (bug#6117).
8183
8184 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
8185 (bug#4433).
8186
8187 * ido.el (ido-mode): Switch off the message if called
8188 non-interactively.
8189
8190 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
8191 before 587, since it appears that that's more likely to work for
8192 more people.
8193
8194 * cus-edit.el (custom-file): When running under emacs -q, always
8195 refuse to save the customizations, even if the .emacs file doesn't
8196 exist.
8197
8198 * info.el: Remove the `Info-beginning-of-buffer' function
8199 (bug#8325).
8200
8201 * net/network-stream.el (network-stream-open-starttls):
8202 Use `starttls-available-p' to see whether starttls.el can be used.
8203
82042011-08-01 Martin Rudalics <rudalics@gmx.at>
8205
8206 * window.el (display-buffer-in-window): Don't set dedicated status
8207 of window here (Bug#9215).
8208 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8209 (display-buffer-pop-up-side-window)
8210 (display-buffer-in-side-window): Set dedicated status of window here.
8211
82122011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
8215 before binding generated-autoload-file.
8216
82172011-08-01 Deniz Dogan <deniz@dogan.se>
8218
8219 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
8220
82212011-07-30 Michael Albinus <michael.albinus@gmx.de>
8222
8223 Sync with Tramp 2.2.2.
8224
8225 * net/trampver.el: Update release number.
8226
82272011-07-30 Juri Linkov <juri@jurta.org>
8228
8229 * dired-aux.el (dired-touch-initial): Remove function.
8230 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
8231 current time, and `default' to the last modification time of the
8232 current marked file (bug#6887).
8233
82342011-07-28 Jose E. Marchesi <jemarch@gnu.org>
8235
8236 * simple.el (goto-line): Use string-to-number to provide a
8237 numeric argument to read-number (bug#9163).
8238
82392011-07-27 Michael Albinus <michael.albinus@gmx.de>
8240
8241 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
8242 connection process, it could be nil.
8243
82442011-07-27 Leo Liu <sdl.web@gmail.com>
8245
8246 Simplify url handling in rcirc-mode.
8247
8248 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
8249 (rcirc-browse-url-at-mouse): Remove.
8250 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
8251
82522011-07-26 Alan Mackenzie <acm@muc.de>
8253
8254 Fontify bitfield declarations properly.
8255
8256 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
8257 (c-symbol-chars): Now exported as a lang variable.
8258 (c-not-primitive-type-keywords): New lang variable.
8259
8260 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
8261 QT keyword "more" to prevent "more slots: ...." being spuriously
8262 parsed as a bitfield declaration.
8263
8264 * progmodes/cc-engine.el (c-beginning-of-statement-1):
8265 Refactor and enhance to handle bitfield declarations.
8266 (c-punctuation-in): New function.
8267 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
8268 declarations properly.
8269
82702011-07-26 Ulf Jasper <ulf.jasper@web.de>
8271
8272 * calendar/icalendar.el (icalendar--all-events): Take care of
8273 multiple vcalendars in a single file.
8274 (icalendar--convert-float-to-ical): Checkdoc fixes.
8275
82762011-07-25 Deniz Dogan <deniz@dogan.se>
8277
8278 * image.el (insert-image): Clarifying docstring.
8279
82802011-07-24 Michael Albinus <michael.albinus@gmx.de>
8281
8282 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
8283 `tramp-send-command-and-check' if there is no error.
8284 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
8285
82862011-07-22 Alan Mackenzie <acm@muc.de>
8287
8288 Prevent cc-langs.elc being loaded at run time.
8289
8290 * progmodes/cc-mode.el: Remove two autoload forms which loaded
8291 cc-langs.
8292
8293 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
8294 "(require 'cc-langs)". Quote a form so it will evaluate at
8295 (cc-mode's) compilation time.
8296
82972011-07-22 Michael Albinus <michael.albinus@gmx.de>
8298
8299 * net/tramp.el (tramp-file-name-handler): Avoid recursive
8300 loading. (Bug#9114)
8301
83022011-07-21 Martin Rudalics <rudalics@gmx.at>
8303
8304 * window.el (display-buffer-pop-up-window)
8305 (display-buffer-pop-up-side-window)
8306 (display-buffer-in-side-window): Call display-buffer-set-height
8307 and display-buffer-set-width after setting the new window's
8308 buffer so `fit-window-to-buffer' and friends work on the right buffer.
8309
83102011-07-20 Sam Steingold <sds@gnu.org>
8311
8312 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
8313 (etags-tags-included-tables): Call `convert-standard-filename' on
8314 the file names contained in TAGS so that windows Emacs can handle
8315 TAGS files created by cygwin ctags.
8316
83172011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
8318
8319 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
8320 which apparently didn't work.
8321
83222011-07-19 Roland Winkler <winkler@gnu.org>
8323
8324 * proced.el (proced-send-signal): For *Marked Processes* buffer
8325 put point at beginning of buffer.
8326
83272011-07-19 Stephen Berman <stephen.berman@gmx.net>
8328
8329 * proced.el (proced-format): Make header lines align with the text
8330 (bug#1779).
8331
83322011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
8334 * view.el (view-buffer): Allow running in `special' modes if we're
8335 visiting a file (bug#8615).
8336
83372011-07-19 Martin Rudalics <rudalics@gmx.at>
8338
8339 * window.el (display-buffer-alist-of-strings-p)
8340 (display-buffer-alist-set-1, display-buffer-alist-set-2):
8341 New functions.
8342 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
8343 more accurately.
8344
83452011-07-18 Alan Mackenzie <acm@muc.de>
8346
8347 Fontify declarators properly when, e.g., a jit-lock chunk begins
8348 inside a declaration.
8349
8350 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
8351
8352 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8353 New function.
8354 (c-complex-decl-matchers): Insert reference to
8355 c-font-lock-enclosing-decls.
8356
8357 * progmodes/cc-engine.el (c-backward-single-comment):
8358 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
8359 to nil around calls to (forward-comment -1).
8360
83612011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
8362
8363 * image.el (put-image): Doc typo fix.
8364
8365 * progmodes/etags.el (tags-search): Doc typo fix.
8366
8367 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
8368 password if we get errors 550 to 554.
8369
83702011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8371
8372 * net/gnutls.el (gnutls-log-level): Remove.
8373
8374 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
8375 indentation character (bug#6380).
8376
8377 * files.el (buffer-offer-save): Made permanently local (bug#6241).
8378
8379 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
8380 to clarify what the problem is (bug#4291).
8381
8382 * simple.el (current-kill): Clarify what
8383 `interprogram-paste-function' does (bug#7500).
8384 (auto-fill-mode): Document `auto-fill-function' in relation to
8385 `auto-fill-mode' (bug#2470).
8386
83872011-07-16 Lawrence Mitchell <wence@gmx.li>
8388
8389 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
8390 method if slot is read-only (bug#9035).
8391
83922011-07-16 Martin Rudalics <rudalics@gmx.at>
8393
8394 * frame.el (select-frame-set-input-focus): New argument NORECORD.
8395 * window.el (pop-to-buffer): Select window used even if it was
8396 selected before, see discussion of (Bug#8615), (Bug#6954).
8397 Pass argument NORECORD on to select-frame-set-input-focus.
8398
83992011-07-15 Glenn Morris <rgm@gnu.org>
8400
8401 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
8402 Respect help-form.
8403
84042011-07-09 Lawrence Mitchell <wence@gmx.li>
8405
8406 * net/gnutls.el (gnutls-min-prime-bits): New variable.
8407 (gnutls-negotiate): Use it.
8408
84092011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410
8411 * net/gnutls.el (gnutls-negotiate):
8412 Upcase `gnutls-algorithm-priority'.
8413
84142011-07-15 Glenn Morris <rgm@gnu.org>
8415
8416 * jka-compr.el (jka-compr-verbose): Move from here...
8417 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
8418 Add missing :version tag.
8419 * info.el: No need to require jka-compr when compiling.
8420
84212011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
8422
8423 * net/gnutls.el (gnutls-algorithm-priority): New variable.
8424 (gnutls-negotiate): Use it.
8425
8426 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
8427
8428 * info.el (Info-beginning-of-buffer): New command.
8429 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
8430 announcing `b' as the key (bug#8325).
8431 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
8432
8433 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
8434
8435 * international/mule-cmds.el
8436 (describe-specified-language-support): Make the error message
8437 clearer (bug#8905).
8438
8439 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
8440
8441 * isearch.el (isearch-barrier): Add a doc string, since it's
8442 mentioned in a function doc string (bug#8678).
8443
84442011-07-15 Martin Rudalics <rudalics@gmx.at>
8445
8446 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
8447 buffer argument (Bug#9083) and self-identifying label argument.
8448
84492011-07-15 Glenn Morris <rgm@gnu.org>
8450
8451 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
8452
84532011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8454
8455 * man.el (Man-fontify-manpage): Fix message when formatting the
8456 man page (bug#7929).
8457
84582011-07-14 Eli Zaretskii <eliz@gnu.org>
8459
8460 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
8461 argument LRM; if non-nil, append an invisible LRM character to the
8462 buffer name.
8463 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
8464 last argument non-nil, when formatting buffer names.
8465 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
8466 paragraph direction.
8467
84682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8469
8470 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
8471 the man page name (bug#7929).
8472
8473 * image.el (put-image): Mention the `put-image' overlay property
8474 (bug#7834).
8475
8476 * scroll-bar.el (set-scroll-bar-mode): Mention that
8477 `scroll-bar-mode' lists the values (bug#7772).
8478
8479 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
8480 command (bug#7729).
8481
8482 * rect.el (apply-on-rectangle): Return the point after the last
8483 operation.
8484 (string-rectangle): Go to the point after the last operation
8485 (bug#7522).
8486
8487 * printing.el (pr-toggle-region): Clarify the documentation
8488 slightly (bug#7493).
8489
8490 * time.el (display-time-update):
8491 Allow `display-time-mail-function' to return nil (bug#7158).
8492 Fix suggested by Detlev Zundel.
8493
8494 * vc/diff.el (diff): Clarify the order the file names are read
8495 (bug#7111).
8496
8497 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
8498 the doc string (bug#7015).
8499
8500 * font-lock.el (font-lock-maximum-decoration): Mention what
8501 numeric levels mean (bug#6935).
8502
8503 * startup.el (initial-buffer-choice): Don't mention the `none'
8504 selection, which is against policy.
8505
85062011-07-14 Martin Rudalics <rudalics@gmx.at>
8507
8508 * window.el (display-buffer-normalize-special):
8509 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
8510
85112011-07-14 Eli Zaretskii <eliz@gnu.org>
8512
8513 * subr.el (version<, version<=, version=): Mention "-CVS" and
8514 "-12345" alpha version numbers.
8515
85162011-07-14 Chong Yidong <cyd@stupidchicken.com>
8517
8518 * bindings.el: Add advertised binding for set-mark-command
8519 (Bug#5772).
8520
85212011-07-14 Chong Yidong <cyd@stupidchicken.com>
8522
8523 * bindings.el (mode-line-other-buffer):
8524 * bookmark.el (bookmark-bmenu-2-window):
8525 * bs.el (bs-cycle-next, bs-cycle-previous):
8526 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
8527 switch-to-buffer.
8528
8529 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8530 Delete.
8531
85322011-07-14 Juanma Barranquero <lekktu@gmail.com>
8533
8534 * follow.el (follow-debug-message, follow-redisplay):
8535 * jka-cmpr-hook.el (with-auto-compression-mode):
8536 Fix typos in docstrings.
8537
85382011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8539
8540 * subr.el (with-silent-modifications): Clarify somewhat what the
8541 macro inhibits (bug#6525).
8542
8543 * simple.el (eval-expression): Note what it does if called
8544 interactively (bug#6495).
8545
85462011-07-13 Chong Yidong <cyd@stupidchicken.com>
8547
8548 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
8549 Use pop-to-buffer buffer-or-name if it is nil.
8550
8551 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8552 Remove switch-to-buffer.
8553
85542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8555
8556 * files.el (make-directory): Clarify that an error will be raised
8557 if there's an error (bug#6397).
8558
8559 * startup.el (initial-buffer-choice): Add `none' as a choice
8560 (bug#6234).
8561
8562 * subr.el (add-hook): Clarify section about buffer-local hooks
8563 (bug#6218).
8564
8565 * dired.el (dired-flagged): Clarify doc string (bug#6117).
8566
85672011-07-13 Juanma Barranquero <lekktu@gmail.com>
8568
8569 * tabify.el (untabify): Preserve the current column so that point
8570 doesn't move (bug#6032).
8571
85722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8573
8574 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
8575 Rewrite to avoid awkward possessive "s" (bug#5986).
8576
85772011-07-13 Glenn Morris <rgm@gnu.org>
8578
8579 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
8580 (dired-insert-directory): Give a message the first time
8581 if ls is found not to support --dired.
8582
85832011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8584
8585 * simple.el (toggle-truncate-lines): Clarify what is toggled
8586 (bug#5580). Text by Drew Adams.
8587
85882011-07-13 Chong Yidong <cyd@stupidchicken.com>
8589
8590 * simple.el (blink-matching-open): Make the error message from the
8591 last change less verbose.
8592
85932011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
8594
8595 * font-lock.el (font-lock-comment-face): Use the high contrast
8596 "yellow" color for font-lock-comment-face on low color terminals
8597 using a dark background color (bug#4221).
8598
85992011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8600
8601 * dired.el (dired-insert-set-properties): Make the doc string
8602 reflect what it does now (bug#5325).
8603
8604 * simple.el (blink-matching-open): Say that we were unable to find
8605 the match within the limit, if we're limited (bug#5122).
8606
8607 * international/mule-cmds.el (prefer-coding-system): Add an
8608 example (bug#4869).
8609
8610 * progmodes/etags.el (tags-search): Document `file-list-form'
8611 (bug#4731).
8612
86132011-07-13 Lawrence Mitchell <wence@gmx.li>
8614
8615 * net/browse-url.el (browse-url-default-browser)
8616 (browse-url-browser-function): Make the default browser choice a
8617 bit more logical (bug#4300). Also clean up the doc string.
8618
86192011-07-13 Juanma Barranquero <lekktu@gmail.com>
8620
8621 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
8622 binary endings (bug#4440).
8623
86242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8625
8626 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
8627 which can be pretty annoying (bug#8971).
8628
8629 * jka-compr.el (jka-compr-verbose): New variable, and use
8630 throughout (bug#8971).
8631
8632 * info.el (Info-find-file): Fall back on the installation
8633 directory if we can't find the info node anywhere else.
8634
86352011-07-13 Sergei Organov <osv@javad.com> (tiny change)
8636
8637 * vc/vc.el (vc-revert-file):
8638 Don't set file time-stamp in the past. (Bug#5181)
8639
86402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8641
8642 * files.el (after-find-file): Give a better error message when
8643 trying to find a symlink that points to a file that doesn't exist
8644 (bug#4398).
8645
8646 * progmodes/cc-vars.el: Remove (probably) misleading comment
8647 (bug#4396).
8648
86492011-07-12 Johan Bockgård <bojohan@gnu.org>
8650
8651 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
8652
86532011-07-12 Chong Yidong <cyd@stupidchicken.com>
8654
8655 * mouse-sel.el: Hack restoring functionality, while keeping
8656 compatibility with 2010-07-03 changes to mouse selection.
8657 (mouse-sel-primary-overlay): New var.
8658 (mouse-sel-selection-alist): Use it.
8659 (mouse-sel-mode): Doc fix; remove points that are default features
8660 of mouse.el.
8661
86622011-07-12 Johan Bockgård <bojohan@gnu.org>
8663
8664 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8665 Fix previous fix (bug#2490).
8666
86672011-07-12 Roland Winkler <winkler@gnu.org>
8668
8669 * textmodes/bibtex.el (bibtex-initialize):
8670 Use pop-to-buffer-same-window.
8671 (bibtex-search-entries): Fix interactive call.
8672
86732011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
8674
8675 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8676 Fontise bytecomp Error lines more correctly (bug#2490).
8677 Fix suggested by Johan Bockgård.
8678
8679 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
8680
8681 * dired-x.el (dired-guess-default): Use `delete-dups'.
8682
86832011-07-12 Chong Yidong <cyd@stupidchicken.com>
8684
8685 * dired.el (dired-mark-prompt):
8686 * dired-aux.el (dired-read-shell-command): Doc fix.
8687
86882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8689
8690 * mail/sendmail.el (sendmail-query-once):
8691 Use `customize-save-variable' unconditionally, now that it works under
8692 emacs -Q.
8693
8694 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8695
8696 * cus-edit.el (custom-file): Take an optional no-error variable.
8697 (customize-save-variable): Set the variable, and give a warning if
8698 running under "emacs -q".
8699
87002011-07-11 Juanma Barranquero <lekktu@gmail.com>
8701
8702 * loadhist.el (unload-feature-special-hooks):
8703 Add `auto-coding-functions', `fill-nobreak-predicate' and
8704 `find-directory-functions' (bug#5327).
8705
87062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8707
8708 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
8709
8710 * cus-edit.el (custom-guess-name-alist): -alist variables should
8711 use the `alist' type (bug#3120). Suggested by Drew Adams.
8712
8713 * printing.el: Add documentation to all the `pr-toggle-' commands.
8714
87152011-07-11 Leo Liu <sdl.web@gmail.com>
8716
8717 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
8718 backends where it makes sense (bug#2623).
8719
87202011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8721
8722 * dired-x.el (dired-guess-default): Remove duplicate shell command
8723 entries (bug#2028).
8724 (dired-guess-default): Fix grammar in doc string (bug#2028).
8725 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
8726
8727 * subr.el (remove-duplicates): New conveniency function.
8728
87292011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
8730
8731 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
8732 (bug#1526).
8733
87342011-07-10 Martin Rudalics <rudalics@gmx.at>
8735
8736 * window.el (display-buffer-normalize-default): Don't invert
8737 meaning of even-window-heights. Reported by Eli Zaretskii
8738 <eliz@gnu.org>.
8739
87402011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
8741
8742 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
8743
87442011-07-10 Chong Yidong <cyd@stupidchicken.com>
8745
8746 * window.el (display-buffer): Fix arguments to
8747 display-buffer-reuse-window in last change.
8748
8749 * faces.el (link): Use a less saturated blue on light backgrounds.
8750
8751 * startup.el (fancy-startup-text, fancy-about-text)
8752 (fancy-startup-tail): Use font-lock faces, for background safety.
8753
87542011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
8755
8756 * emulation/viper-cmd.el (viper-change-state-to-vi):
8757 Limit triggering of abbrev expansion (Bug#9038).
8758
87592011-07-09 Martin Rudalics <rudalics@gmx.at>
8760
8761 * window.el (display-buffer-default-specifiers): Remove.
8762 (display-buffer-macro-specifiers): Remove default specifiers.
8763 (display-buffer-alist): Default to nil.
8764 (display-buffer-reuse-window): New optional argument other-window.
8765 (display-buffer-pop-up-window): Allow splitting internal
8766 windows. Check whether a live window was created.
8767 (display-buffer-other-window-means-other-frame)
8768 (display-buffer-normalize-arguments): Rename to
8769 display-buffer-normalize-argument and rewrite. Set the
8770 other-window specifier.
8771 (display-buffer-normalize-special): New function.
8772 (display-buffer-normalize-options): Rename to
8773 display-buffer-normalize-default and rewrite.
8774 (display-buffer-normalize-options-inhibit): Remove.
8775 (display-buffer-normalize-specifiers): Rewrite.
8776 (display-buffer): Process other-window specifier and call
8777 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
8778 more faithfully.
8779 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
8780 (display-buffer-alist-set): Don't handle 'unset default values.
8781 (display-buffer-in-window, display-buffer-alist-set):
8782 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
8783 <tassilo@member.fsf.org>.
8784
87852011-07-09 Leo Liu <sdl.web@gmail.com>
8786
8787 * register.el (insert-register): Restore accidental change on
8788 2011-06-26. (Bug#9028)
8789
87902011-07-09 Glenn Morris <rgm@gnu.org>
8791
8792 * subr.el (remq): Handle the empty list. (Bug#9024)
8793
87942011-07-08 Andreas Schwab <schwab@linux-m68k.org>
8795
8796 * mail/sendmail.el (send-mail-function): No longer delay custom
8797 initialization.
8798 * custom.el (custom-initialize-delay): Doc fix.
8799
88002011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8801
8802 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
8803
88042011-07-08 Michael Albinus <michael.albinus@gmx.de>
8805
8806 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
8807 human-friendly prompt.
8808
88092011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
8812 provided by a particular plugin.
8813
88142011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8815
8816 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
8817 save customizations (with "emacs -Q"), just set the variable
8818 instead of erroring out.
8819
8820 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
8821
88222011-07-08 Juri Linkov <juri@jurta.org>
8823
8824 * arc-mode.el (archive-zip-expunge, archive-zip-update)
8825 (archive-zip-update-case): Use 7z if found by `executable-find'.
8826 The order of searching the available programs is the same as in
8827 `archive-zip-extract' (bug#8968).
8828
88292011-07-07 Chong Yidong <cyd@stupidchicken.com>
8830
8831 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
8832 (menu-bar-options-menu): Tweak descriptions.
8833
88342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8835
8836 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
8837 menu items into verb phrases (bug#1421). Also refill to fit under
8838 80 columns.
8839
88402011-07-07 Chong Yidong <cyd@stupidchicken.com>
8841
8842 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
8843 (Info-read-node-name): Doc fix (Bug#1084).
8844
8845 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
8846 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
8847 (end-of-sexp, beginning-of-sexp)
8848 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
8849 (forward-symbol, forward-same-syntax, word-at-point)
8850 (sentence-at-point): Doc fix (Bug#1144).
8851
88522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
8853
8854 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
8855 should cover it (bug#1281).
8856
8857 * cus-edit.el (custom-show): Mark as obsolete.
8858
8859 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
8860 negotiation fails, then possibly try again with a non-encrypted
8861 connection (bug#9017).
8862
8863 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
8864 be used.
8865
88662011-07-07 Richard Stallman <rms@gnu.org>
8867
8868 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
8869 property, and handle its changed format.
8870 Look for the correct line number.
8871 Use file's line contents (but not past first =) to find
8872 correct line in message.
8873
88742011-07-07 Kenichi Handa <handa@m17n.org>
8875
8876 * international/characters.el (build-unicode-category-table):
8877 Delete it.
8878 (unicode-category-table): Set it by unicode-property-table-internal.
8879
8880 * international/mule-cmds.el (char-code-property-alist): Move to
8881 to src/chartab.c.
8882 (get-char-code-property): Call unicode-property-table-internal to
8883 load a file. Call get-unicode-property-internal where necessary.
8884 (put-char-code-property): Call unicode-property-table-internal to
8885 load a file. Call put-unicode-property-internal where necessary.
8886 put-unicode-property-internal where necessary.
8887 (char-code-property-description):
8888 Call unicode-property-table-internal to load a file.
8889
8890 * international/charprop.el:
8891 * international/uni-bidi.el:
8892 * international/uni-category.el:
8893 * international/uni-combining.el:
8894 * international/uni-comment.el:
8895 * international/uni-decimal.el:
8896 * international/uni-decomposition.el:
8897 * international/uni-digit.el:
8898 * international/uni-lowercase.el:
8899 * international/uni-mirrored.el:
8900 * international/uni-name.el:
8901 * international/uni-numeric.el:
8902 * international/uni-old-name.el:
8903 * international/uni-titlecase.el:
8904 * international/uni-uppercase.el: Regenerate.
8905
8906 * loadup.el: Load international/charprop.el before
8907 international/characters.
8908
89092011-07-07 Chong Yidong <cyd@stupidchicken.com>
8910
8911 * window.el (next-buffer, previous-buffer): Signal an error if
8912 called from a minibuffer window.
8913
8914 * bindings.el: Revert 2011-07-04 change.
8915
89162011-07-06 Richard Stallman <rms@gnu.org>
8917
8918 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
8919 (rmail-mime-insert-bulk, rmail-mime-insert-text):
8920 Treat markers like ints.
8921 (rmail-mime-entity): Doc fix.
8922
89232011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8924
8925 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
8926 defcustom again for backwards compatibility.
8927
8928 * simple.el (shell-command-on-region): Fill.
8929
8930 * dired-aux.el (dired-kill-line): Add a doc string.
8931
8932 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
8933 to "\\sw\\|\\s_" (bug#358).
8934
8935 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
8936 (dired-unmark-backward): Ditto.
8937 (dired-flag-backup-files): Ditto.
8938
8939 * dired-x.el (dired-mark-sexp): Ditto.
8940
89412011-07-06 Richard Stallman <rms@gnu.org>
8942
8943 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
8944 (rmail-mime-entity): New arg TRUNCATED.
8945 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
8946 New functions.
8947 (rmail-mime-save): Warn if entity is truncated.
8948 (rmail-mime-toggle-hidden): Likewise, for showing.
8949 (rmail-mime-process-multipart): Record when an entity is truncated.
8950
8951 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
8952 if ENTITY is a string.
8953
89542011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955
8956 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
8957 of faces when `M-C-x'-ing their definitions (bug#8378).
8958 Also clean up the code slightly.
8959
8960 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
8961 because that makes the colors go away.
8962
8963 * mail/sendmail.el (send-mail-function): Change the default to
8964 `sendmail-query-once'.
8965 (sendmail-query-once): Add an autoload cookie.
8966
8967 * net/network-stream.el (network-stream-open-starttls): Try using
8968 a plain connection even if the server offered STARTTLS, and we
8969 kinda wanted to use it, if Emacs doesn't have any STARTTLS
8970 capability. This should make smtpmail.el work in slightly more
8971 configurations.
8972
89732011-07-06 Michael Albinus <michael.albinus@gmx.de>
8974
8975 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
8976 New defun.
8977 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
8978
89792011-07-06 Michael R. Mauger <mmaug@yahoo.com>
8980
8981 * progmodes/sql.el: Version 3.0
8982 (sql-product-alist): Add product :completion-object,
8983 :completion-column, and :statement attributes.
8984 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
8985 (sql-mode-syntax-table): Mark all punctuation.
8986 (sql-font-lock-keywords-builder): Temporarily remove fallback on
8987 ansi keywords.
8988 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
8989 (sql-mode-oracle-font-lock-keywords): Improve.
8990 (sql-oracle-show-reserved-words): New function for development.
8991 (sql-product-font-lock): Simplify for source code buffers.
8992 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
8993 New functions.
8994 (sql-highlight-product): Set product specific syntax table.
8995 (sql-mode-map): Add statement movement functions.
8996 (sql-ansi-statement-starters, sql-oracle-statement-starters):
8997 New variable.
8998 (sql-statement-regexp, sql-beginning-of-statement)
8999 (sql-end-of-statement, sql-signum): New functions.
9000 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
9001 (sql-show-sqli-buffer): Bug fix.
9002 (sql-interactive-mode): Store connection data as buffer local.
9003 (sql-connect): Add NEW-NAME parameter. Redesign interaction
9004 with sql-interactive-mode.
9005 (sql-save-connection): Save buffer local settings.
9006 (sql-connection-menu-filter): Change menu entry name.
9007 (sql-product-interactive): Bug fix.
9008 (sql-preoutput-hold): New variable.
9009 (sql-interactive-remove-continuation-prompt): Bug fixes.
9010 (sql-debug-redirect): New variable.
9011 (sql-str-literal): New function.
9012 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
9013 Redesign.
9014 (sql-oracle-save-settings, sql-oracle-restore-settings)
9015 (sql-oracle-list-all, sql-oracle-list-table): New functions.
9016 (sql-completion-object, sql-completion-column)
9017 (sql-completion-sqlbuf): New variables.
9018 (sql-build-completions-1, sql-build-completions)
9019 (sql-try-completion): New functions.
9020 (sql-read-table-name): Use them.
9021 (sql-contains-names): New buffer local variable.
9022 (sql-list-all, sql-list-table): Use it.
9023 (sql-oracle-completion-types): New variable.
9024 (sql-oracle-completion-object, sql-sqlite-completion-object)
9025 (sql-postgres-completion-object): New functions.
9026
90272011-07-06 Glenn Morris <rgm@gnu.org>
9028
9029 * window.el (pop-to-buffer): Doc fix.
9030
90312011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
9032
9033 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
9034
90352011-07-06 Chong Yidong <cyd@stupidchicken.com>
9036
9037 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
9038
9039 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
9040
90412011-07-05 Chong Yidong <cyd@stupidchicken.com>
9042
9043 * button.el (button): Inherit from link face. Suggested by Dan
9044 Nicolaescu.
9045
90462011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9047
9048 * progmodes/gdb-mi.el: Fit in 80 columns.
9049 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
9050 switch-to-buffer.
9051
9052 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
9053 if imenu is simply not configured (bug#8941).
9054
90552011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
9056
9057 * allout.el (allout-post-undo-hook): New allout outline-change
9058 event hook to signal undo activity.
9059 (allout-post-command-business): Run allout-post-undo-hook if an
9060 undo just occurred.
9061 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
9062 * allout-widgets.el (allout-widgets-after-undo-function):
9063 Ensure the integrity of the current item's decoration after it has been
9064 in the vicinity of an undo.
9065 (allout-widgets-mode): Include allout-widgets-after-undo-function
9066 on the new allout-post-undo-hook.
9067
90682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
9071 Let define-derived-mode define it.
9072 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
9073 cycles of abbrev-table inheritance (bug#8998).
9074
90752011-07-05 Roland Winkler <winkler@gnu.org>
9076
9077 * textmodes/bibtex.el: Add support for biblatex.
9078 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
9079 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
9080 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
9081 (bibtex-entry-alist, bibtex-field-alist): New variables.
9082 (bibtex-entry-field-alist): Obsolete alias for
9083 bibtex-BibTeX-entry-alist.
9084 (bibtex-entry-alist, bibtex-field-alist): New widgets.
9085 (bibtex-set-dialect): New command.
9086 (bibtex-entry-type, bibtex-entry-head)
9087 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
9088 Bind via bibtex-set-dialect.
9089 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
9090 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
9091 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
9092 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
9093 Define via bibtex-set-dialect.
9094 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
9095 Obey bibtex-no-opt-remove-re.
9096 (bibtex-vec-push, bibtex-vec-incr): New functions.
9097 (bibtex-format-entry, bibtex-field-list)
9098 (bibtex-print-help-message, bibtex-validate)
9099 (bibtex-search-entries): Use new format of bibtex-entry-alist.
9100
91012011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9102
9103 * progmodes/compile.el (compilation-goto-locus):
9104 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9105 * bs.el (bs-cycle-next, bs-cycle-previous):
9106 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
9107 * bindings.el (mode-line-other-buffer):
9108 * autoinsert.el (auto-insert):
9109 * arc-mode.el (archive-extract):
9110 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
9111
91122011-07-05 Juanma Barranquero <lekktu@gmail.com>
9113
9114 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
9115 Fix check of `emacs-lock-unlockable-modes'.
9116 Coerce true values of `emacs-lock--try-unlocking' to t.
9117
91182011-07-05 Juanma Barranquero <lekktu@gmail.com>
9119
9120 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
9121 * emacs-lock.el: New file.
9122
91232011-07-05 Julien Danjou <julien@danjou.info>
9124
9125 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
9126 than `boundp' to check if face is set.
9127
91282011-07-05 Juanma Barranquero <lekktu@gmail.com>
9129
9130 * register.el (registerv-make):
9131 * window.el (window-min-height): Fix typos in docstrings.
9132
91332011-07-05 Jan Djärv <jan.h.d@swipnet.se>
9134
9135 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
9136 Update doc string.
9137
91382011-07-04 Juanma Barranquero <lekktu@gmail.com>
9139
9140 * server.el (server-execute): Catch quit and call
9141 `server-return-error' to pass the error back to emacsclient and
9142 close the connection (bug#8942).
9143
91442011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
9145
9146 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
9147 insecure exception for current topic. Also note that auto-saves
9148 are handled differently.
9149
9150 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
9151 State variables for tracking auto-save inhibition situation.
9152
9153 (allout-write-contents-hook-handler): Rename from
9154 'allout-write-file-hook-handler', and describe how it depends on
9155 write-contents-functions sensitivity to non-nil value to prevent
9156 file write.
9157
9158 (allout-auto-save-hook-handler): Remove. auto-save does not check
9159 this in individual buffers, only in the starting buffer, so this
9160 is not the right way for us to inhibit auto-save in a buffer
9161 according to its condition.
9162
9163 (allout-mode): Use new allout-write-contents-hook-handler, and
9164 only with write-contents-functions. Remove auto-save provisions -
9165 they're implemented elsewhere.
9166
9167 (allout-before-change-handler): If undo is in progress, note that
9168 for attention of allout-post-command-business.
9169
9170 (allout-post-command-business): If the command we're following was
9171 an undo, check for change in the status of encrypted items and
9172 adjust auto-save inhibitions accordingly.
9173
9174 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
9175 according to whether there are or aren't any plain-text topics
9176 pending encryption.
9177
9178 (allout-inhibit-auto-save-info-for-decryption):
9179 Adjust buffer-saved-size and some allout state to inhibit auto-saves
9180 if there are plain-text topics pending encryption.
9181
9182 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
9183 buffer-saved-size and some allout state to not inhibit auto-saves
9184 if there are no longer any plain-text topics pending encryption.
9185
9186 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
9187 No longer provide for exemption of the current topic.
9188
91892011-07-04 Juri Linkov <juri@jurta.org>
9190
9191 Add 7z operations to delete and save changed members (bug#8968).
9192 * arc-mode.el (archive-7z-expunge, archive-7z-update):
9193 New defcustoms.
9194 (archive-7z-write-file-member): New function.
9195 (archive-7z-summarize): Fix the number of dashes in the
9196 listing output.
9197
91982011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9199
9200 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
9201 (bug#8958).
9202
92032011-07-04 Chong Yidong <cyd@stupidchicken.com>
9204
9205 * bindings.el: Ignore next-buffer and previous-buffer in
9206 minibuffer-local-map.
9207
9208 * font-lock.el (font-lock-builtin-face): Change light background
9209 color to dark slate blue (Bug#6693).
9210
92112011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
9212
9213 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
9214
92152011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
9218 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9219 Add switch-to-buffer.
9220
92212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9222
9223 * isearch.el (isearch-search-fun-function): Clarify further the
9224 meaning of the function returned.
9225
92262011-07-04 Michael Albinus <michael.albinus@gmx.de>
9227
9228 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
9229
9230 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
9231 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
9232 Use it.
9233 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
9234 `tramp-default-remote-path' does not exist.
9235 (tramp-send-command-and-read): New optional argument NOERROR.
9236 (tramp-open-connection-setup-interactive-shell)
9237 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
9238 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
9239 (tramp-process-sentinel): Flush also process' connection property.
9240 (tramp-sh-handle-start-file-process): Do not set process
9241 sentinel. It is done now ...
9242 (tramp-maybe-open-connection): ... here. (Bug#8929)
9243
92442011-07-04 MON KEY <monkey@sandpframing.com>
9245
9246 * play/animate.el (animate-string): Doc fixes and allow changing
9247 the buffer name (bug#5417).
9248
92492011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
9250
9251 * play/animate.el (animation-buffer-name): Rename from *animate*.
9252
92532011-07-04 Paul Eggert <eggert@cs.ucla.edu>
9254
9255 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
9256 This is simpler and helps future-proof the code.
9257 (timer-until): Use time-subtract and float-time.
9258 (timer--time-less-p): Use time-less-p.
9259
92602011-07-04 Juanma Barranquero <lekktu@gmail.com>
9261
9262 * type-break.el (timep): Use the value of `float-time' to avoid a
9263 byte-compiler warning.
9264
9265 * server.el (server-eval-and-print): Return any result, even nil.
9266
92672011-07-03 Paul Eggert <eggert@cs.ucla.edu>
9268
9269 * type-break.el: Accept time formats that the builtins accept.
9270 (timep, type-break-time-difference): Accept any format that
9271 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
9272 This is simpler and helps future-proof the code.
9273 (type-break-time-difference): Round rather than ignoring
9274 subseconds components.
9275
92762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9277
9278 * info.el (Info-apropos-matches): Make non-interactive, since it
9279 doesn't seem to do anything useful as a command (bug#8829).
9280
92812011-07-03 Chong Yidong <cyd@stupidchicken.com>
9282
9283 * frame.el (frame-background-mode, frame-set-background-mode):
9284 Move from faces.el.
9285 (frame-default-terminal-background): New function.
9286
9287 * custom.el (custom-push-theme): Don't record faces in `changed'
9288 theme; this doesn't work correctly for per-frame face settings.
9289 (disable-theme): Use face-set-after-frame-default to reset faces.
9290 (custom--frame-color-default): New function.
9291
92922011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9293
9294 * dired.el (dired-flagging-regexp): Remove unused variable
9295 (bug#8769).
9296
92972011-03-29 Kevin Ryde <user42@zip.com.au>
9298
9299 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9300 `perl-Test2' extend to match possible "fail #N" rep count
9301 (bug#8377).
9302
93032011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9304
9305 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
9306 `smtpmail-via-smtp' now returns the error instead of nil.
9307
9308 * isearch.el (isearch-search-fun-function): Clarify the doc string
9309 (bug#8101).
9310
93112011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9312
9313 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
9314 unnecessary spaces (bug#8987).
9315
93162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9317
9318 * net/network-stream.el (open-network-stream): Use the
9319 :end-of-capability command thoughout.
9320
93212011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
9322
9323 * net/network-stream.el (open-network-stream): Add the
9324 :end-of-capability command parameter, used by pop3.el.
9325
93262011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
9327
9328 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
9329
9330 * fringe.el (fringe-query-style): Remove redundant text " (type ?
9331 for list)" (bug#6475).
9332
9333 * files.el (file-expand-wildcards): Ignore non-readable
9334 sub-directories while trying to find matches instead of signaling
9335 an error (bug#6297).
9336
9337 * man.el (Man-reference-regexp): Allow matching possible
9338 word-wrapped references (bug#6289).
9339
9340 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
9341 for consistency with the other vc buffers (bug#6197).
9342 (vc-checkin): Ditto.
9343
9344 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
9345
9346 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
9347
93482011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9349
9350 * custom.el (defcustom): Clarify that :set is only used in the
9351 Customize user interface (bug#6089).
9352
9353 * progmodes/flymake.el (flymake-mode): If the buffer isn't
9354 associated with a file, refuse to run instead of erroring out
9355 (bug#6084).
9356
9357 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
9358 the doc string, since it appears that using `fill-column' always
9359 controls the width (bug#7845).
9360
9361 * simple.el (shell-command-on-region): Say where the error output
9362 went if `shell-command-default-error-buffer' is set (bug#6857).
9363
93642011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
9365
9366 * allout.el (allout-yank-processing): Adjust cursor position for
9367 backwards-deleted space.
9368
9369 (allout-rebullet-heading): Register changes with
9370 allout-exposure-changed-hook, so the modified topic is properly
9371 decorated.
9372
93732011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9374
9375 * minibuffer.el (completion-in-region): Document PREDICATE
9376 (bug#7136).
9377
9378 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
9379 of keyword/argument pairs (bug#6904).
9380
9381 * replace.el (multi-occur):
9382 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
9383
93842011-07-02 Drew Adams <drew.adams@oracle.com>
9385
9386 * dired.el (dired-mark-if): Make the message about whether it's
9387 marking or unmarking clearer (bug#8523).
9388
93892011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9390
9391 * disp-table.el (display-table-print-array): New function.
9392 (describe-display-table): Use it to print the vectors more pretty
9393 (Bug#8859).
9394
93952011-07-02 Martin Rudalics <rudalics@gmx.at>
9396
9397 * window.el (window-state-get-1): Don't assign clone numbers.
9398 Add clone-of item to list of window parameters.
9399 (window-state-put-2): Don't process clone numbers.
9400 (display-buffer-alist): Fix doc-string.
9401
94022011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * subr.el (remq): Don't allocate if it's not needed.
9405 (keymap--menu-item-binding, keymap--menu-item-with-binding)
9406 (keymap--merge-bindings): New functions.
9407 (keymap-canonicalize): Use them to refine the canonicalization.
9408 * minibuffer.el (minibuffer-local-completion-map)
9409 (minibuffer-local-must-match-map): Move initialization from C.
9410 (minibuffer-local-filename-completion-map): Move initialization from C;
9411 don't inherit from anything here.
9412 (minibuffer-local-filename-must-match-map): Make obsolete.
9413 (completing-read-default): Use make-composed-keymap to combine
9414 minibuffer-local-filename-completion-map with either
9415 minibuffer-local-must-match-map or
9416 minibuffer-local-filename-completion-map.
9417
94182011-07-01 Glenn Morris <rgm@gnu.org>
9419
9420 * type-break.el (type-break-time-sum): Use dolist.
9421
9422 * textmodes/flyspell.el (flyspell-word-search-backward):
9423 Replace CL function.
9424
94252011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * mouse.el (mouse--strip-first-event): New function.
9428 (function-key-map): Use it to map fringe clicks to normal clicks
9429 by default.
9430
9431 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
9432 (vc-bzr-revision-completion-table): Add support for annotate and date.
9433
9434 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
9435 inherit from parent.
9436
94372011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
9438
9439 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
9440 (dired-show-file-type): Doc fixup (bug#8818).
9441
9442 * dired.el (dired-mode): Fix up the doc string as suggested by
9443 Drew Adams (bug#8817).
9444
9445 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
9446 cookie, since the manual says that it should be possible to add
9447 this function to `find-file-hook' (bug#8709).
9448
94492011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9450
9451 * progmodes/cfengine.el: Moved all cfengine3.el functionality
9452 here. Noted Ted Zlatanov as the maintainer.
9453 (cfengine-common-settings, cfengine-common-syntax): New functions
9454 to set up common things between `cfengine-mode' and
9455 `cfengine3-mode'.
9456 (cfengine3-mode): New mode.
9457 (cfengine3-defuns cfengine3-defuns-regex
9458 (cfengine3-class-selector-regex cfengine3-category-regex)
9459 (cfengine3-vartypes cfengine3-font-lock-keywords)
9460 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
9461 (cfengine3-indent-line): Add from cfengine3.el.
9462
94632011-07-01 Michael Albinus <michael.albinus@gmx.de>
9464
9465 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
9466
9467 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
9468
94692011-07-01 Martin Rudalics <rudalics@gmx.at>
9470
9471 * window.el (same-window-buffer-names, same-window-regexps)
9472 (same-window-p, special-display-frame-alist)
9473 (special-display-popup-frame, special-display-function)
9474 (special-display-buffer-names, special-display-regexps)
9475 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
9476 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
9477 (split-window-preferred-function, split-height-threshold)
9478 (split-width-threshold, even-window-heights)
9479 (display-buffer-mark-dedicated, window-splittable-p)
9480 (split-window-sensibly, window-safely-shrinkable-p):
9481 Un-obsolete.
9482 (display-buffer): Don't spread args with function specifier
9483 because special-display-popup-frame won't like it.
9484
94852011-07-01 Paul Eggert <eggert@cs.ucla.edu>
9486
9487 Time-stamp simplifications and fixes.
9488 These improve accuracy slightly, and future-proof the code
9489 against some potential changes to current-time format.
9490
9491 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
9492 by using time-since and float-time.
9493
9494 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
9495 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
9496 + NNN microseconds".
9497
9498 * type-break.el (type-break-time-sum): Rewrite using time-add.
9499
9500 * play/hanoi.el (hanoi-current-time-float): Remove.
9501 All uses replaced by float-time.
9502
9503 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
9504 This yields a more-accurate answer.
9505 (rng-time-to-float): Remove; no longer needed.
9506
9507 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
9508
9509 * calendar/timeclock.el (timeclock-seconds-to-time):
9510 Defalias to seconds-to-time, since they're the same thing.
9511
9512 * emacs-lisp/elp.el (elp-elapsed-time):
9513 * emacs-lisp/benchmark.el (benchmark-elapse):
9514 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
9515
95162011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * window.el (bury-buffer): Don't iconify the only frame.
9519 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
9520 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
9521
95222011-07-01 Chong Yidong <cyd@stupidchicken.com>
9523
9524 * eshell/em-smart.el (eshell-smart-display-navigate-list):
9525 Add mouse-yank-primary.
9526
95272011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
9528
9529 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
9530
95312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
9532
9533 * emacs-lisp/find-func.el (find-library--load-name): New fun.
9534 (find-library-name): Use it to find relative load names when provided
9535 absolute file name (bug#8803).
9536
95372011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9538
9539 * textmodes/flyspell.el (flyspell-word): Consider words that
9540 differ only in case as potential doublons (bug#5687).
9541
9542 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
9543 Remove two rather uninteresting debugging-like messages to make
9544 debbugs.el more silent.
9545
9546 * comint.el (comint-password-prompt-regexp): Accept "Response" as
9547 a password-like phrase.
9548
95492011-06-30 Masatake YAMATO <yamato@redhat.com>
9550
9551 * progmodes/cc-guess.el: New file.
9552
9553 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
9554
9555 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
9556 derived from `c-basic-common-init'.
9557
9558 * progmodes/cc-mode.el (top-level): Require cc-guess.
9559 (c-basic-common-init): Use `cc-choose-style-for-mode'.
9560
95612011-06-30 Lawrence Mitchell <wence@gmx.li>
9562
9563 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
9564
95652011-06-30 Alan Mackenzie <acm@muc.de>
9566
9567 * progmodes/cc-engine.el (c-guess-continued-construct):
9568 Correct the handling of template-args-cont, particularly for when font
9569 lock is disabled. Name this case as "CASE G".
9570
95712011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
9572
9573 * allout.el (allout-yank-processing): Fix injection of extra space
9574 between bullet and non-whitespace character in first topic when
9575 pasting, ensuring that the actual spacing in the pasted topic
9576 following the bullet char is preserved. This extra space was
9577 causing pasted encrypted topics to get a decrypted status even
9578 when the content was actually still encrypted. Now the decryption
9579 status from before the paste is preserved.
9580
9581 (allout-flag-region): Set all allout overlays so they evaporate
9582 when reduced to zero length (evanescent), to prevent overlay
9583 leakage.
9584
95852011-06-30 Glenn Morris <rgm@gnu.org>
9586
9587 * w32-fns.el (w32-charset-info-alist): Declare.
9588
9589 * find-dired.el (find-grep-options): Simplify.
9590
9591 * term/ns-win.el (ns-set-resource): Declare.
9592
9593 * ses.el (row, col): Declare dynamic variables honestly.
9594
9595 * textmodes/reftex-parse.el (index-tags): Declare.
9596
95972011-06-30 Chong Yidong <cyd@stupidchicken.com>
9598
9599 * cus-edit.el (customize-push-and-save): New function.
9600
9601 * files.el (hack-local-variables-confirm): Use it.
9602
9603 * custom.el (load-theme): New arg NO-CONFIRM.
9604 Use customize-push-and-save (Bug#8720).
9605 (custom-enabled-themes): Doc fix.
9606
9607 * cus-theme.el (customize-create-theme)
9608 (custom-theme-merge-theme): Callers to load-theme changed.
9609
96102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9611
9612 * thingatpt.el (thing-at-point-short-url-regexp): Require that
9613 short URLs have at least one dot in them (bug #7614).
9614
9615 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
9616 nil, because using a pty is apparently too slow (bug #895).
9617
96182011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
9619
9620 * mail/sendmail.el (sendmail-query-once): New function.
9621 (sendmail-query-once-function): New variable.
9622
96232011-06-29 Glenn Morris <rgm@gnu.org>
9624
9625 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
9626
9627 * ses.el (top-level): Require cl when compiling.
9628 (ses-set-localvars): Fix error statement.
9629 Call it at compile time to silence a storm of warnings.
9630
96312011-06-29 Martin Rudalics <rudalics@gmx.at>
9632
9633 * window.el (normalize-live-buffer): Rename to
9634 window-normalize-buffer.
9635 (normalize-live-frame): Rename to window-normalize-frame.
9636 (normalize-any-window): Rename to window-normalize-any-window.
9637 (normalize-live-window): Rename to window-normalize-live-window.
9638 (make-window-atom): Rename to window-make-atom.
9639 (window-resize-reset): Rename to window--resize-reset.
9640 (window-resize-reset-1): Rename to window--resize-reset-1.
9641 (resize-mini-window): Rename to window--resize-mini-window.
9642 (resize-subwindows-skip-p): Rename to
9643 window--resize-subwindows-skip-p.
9644 (resize-subwindows-normal): Rename to
9645 window--resize-subwindows-normal.
9646 (resize-subwindows): Rename to window--resize-subwindows.
9647 (resize-other-windows): Rename to window--resize-siblings.
9648 (resize-this-window): Rename to window--resize-this-window.
9649 (resize-root-window): Rename to window--resize-root-window.
9650 (resize-root-window-vertically): Rename to
9651 window--resize-root-window-vertically.
9652 (normalize-buffer-to-display): Rename to
9653 window-normalize-buffer-to-display.
9654 (normalize-buffer-to-switch-to): Rename to
9655 window-normalize-buffer-to-switch-to.
9656 Correspondingly update all callers of the functions listed
9657 above.
9658 (display-buffer-alist, display-buffer-normalize-arguments)
9659 (display-buffer-normalize-options, display-buffer)
9660 (display-buffer-alist-set): Use "function" instead of
9661 "fun-with-args".
9662
96632011-06-28 Chong Yidong <cyd@stupidchicken.com>
9664
9665 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
9666 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
9667 debbugs.gnu.org. Mention acknowledgment email.
9668
96692011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670
9671 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
9672 buffer multibyteness, since it shouldn't matter.
9673
96742011-06-28 Martin Rudalics <rudalics@gmx.at>
9675
9676 * window.el (display-buffer-in-side-window): Handle dedicated
9677 windows as in display-buffer-reuse-window.
9678 (display-buffer-normalize-alist): Use value of override
9679 specifier.
9680 (display-buffer-normalize-specifiers): Use value of
9681 other-window-means-other-frame specifier.
9682 (display-buffer-alist): Rewrite some texts in widgets.
9683 (display-buffer): Spread arguments when calling function
9684 specified by fun-with-args.
9685
96862011-06-28 Deniz Dogan <deniz@dogan.se>
9687
9688 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9689 Unnest `let'.
9690
9691 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
9692 selectors (Bug#5732).
9693 (css-proprietary-nmstart-re): Use `regexp-opt'.
9694
96952011-06-27 Jari Aalto <jari.aalto@cante.net>
9696
9697 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
9698 (eshell-ls-date-format): New defcustom.
9699 (eshell-ls-file): Use it.
9700
97012011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * help-fns.el (describe-variable): Fix message for terminal-local vars.
9704
97052011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
9706
9707 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
9708 (ange-ftp-make-tmp-name): New arg.
9709 (ange-ftp-file-local-copy): Use it.
9710
97112011-06-27 Jambunathan K <kjambunathan@gmail.com>
9712
9713 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
9714 no-conversion (Bug#8870).
9715
97162011-06-27 Martin Rudalics <rudalics@gmx.at>
9717
9718 * window.el (window-right, window-left, window-child)
9719 (window-child-count, window-last-child)
9720 (window-iso-combination-p, walk-window-tree-1)
9721 (window-atom-check-1, window-tree-1, delete-window)
9722 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
9723 new naming conventions - window-vchild, window-hchild,
9724 window-next and window-prev are now called window-top-child,
9725 window-left-child, window-next-sibling and window-prev-sibling
9726 respectively.
9727 (resize-window-reset): Rename to window-resize-reset.
9728 (resize-window-reset-1): Rename to window-resize-reset-1.
9729 (resize-window): Rename to window-resize.
9730 (window-min-height, window-min-width)
9731 (resize-mini-window, resize-this-window, resize-root-window)
9732 (resize-root-window-vertically, adjust-window-trailing-edge)
9733 (enlarge-window, shrink-window, maximize-window)
9734 (minimize-window, delete-window, quit-restore-window)
9735 (split-window, balance-windows, balance-windows-area-adjust)
9736 (balance-windows-area, window-state-put-2)
9737 (display-buffer-even-window-sizes, display-buffer-set-height)
9738 (display-buffer-set-width, set-window-text-height)
9739 (fit-window-to-buffer): Rename all "resize-window" prefixed
9740 calls to use the "window-resize" prefix convention.
9741 (display-buffer-alist): Fix symbol for label specifier.
9742 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
9743 corresponding specifier.
9744 Reported by Juanma Barranquero <lekktu@gmail.com>.
9745
97462011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9747
9748 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
9749 convention.
9750 (ses-call-printer): Does not pass an empty string to formatter when the
9751 cell is empty to keep from barking printer Calc math-format-value.
9752
97532011-06-27 Richard Stallman <rms@gnu.org>
9754
9755 * battery.el (battery-mode-line-limit): New variable.
9756 (battery-update): Handle it.
9757
9758 * mail/rmailmm.el (rmail-mime-process-multipart):
9759 Handle truncated messages.
9760
97612011-06-27 Glenn Morris <rgm@gnu.org>
9762
9763 * progmodes/flymake.el (flymake-err-line-patterns):
9764 Allow for column numbers in the ant/javac pattern. (Bug#8866)
9765
97662011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
9767
9768 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
9769 (ses--clean-!, ses--clean-_): New functions.
9770 (ses-range): Add configurability of readout order, and conversion
9771 to Calc vector.
9772
9773 * ses.el (ses-repair-cell-reference-all): New function.
9774 (ses-cell-symbol): Set macro as safe, so that it can be used in
9775 formulas.
9776
9777 * ses.el: Update cycle detection algorithm.
9778 (ses-localvars): Add ses--Dijkstra-attempt-nb and
9779 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
9780 (ses-set-localvars): New function.
9781 (ses-make-cell): Add property-list as a cell element.
9782 (ses-cell-property-get-fun, ses-cell-property-get)
9783 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
9784 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
9785 New functions.
9786 (ses-cell-property-set, ses-cell-property-pop)
9787 (ses-cell-property-get-handle): New macro.
9788 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
9789 New aliases, used for code readability.
9790 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
9791 cycle detection.
9792 (ses-self-reference-early-detection): New defcustom.
9793 (ses-formula-references): Robustify against self-referring cells.
9794 (ses-mode): Use ses-set-localvars.
9795 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
9796 before lauching the update processing.
9797 (ses-initialize-Dijkstra-attempt): New function.
9798 (ses-recalculate-cell): Update for cycle detection based on
9799 Dijkstra algorithm.
9800
9801 * ses.el: Fix commenting and indenting convention.
9802
98032011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
9804
9805 * bs.el (bs-cycle-next): Complete last change.
9806
98072011-06-27 Drew Adams <drew.adams@oracle.com>
9808
9809 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
9810
98112011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9812
9813 * net/network-stream.el (network-stream-open-starttls):
9814 Don't re-get capabilities unless we've reestablished connection.
9815 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
9816
9817 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
9818 to binary to possibly avoid line encoding issues on Windows (among
9819 other things).
9820
98212011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
9823 * net/network-stream.el (open-network-stream): Return an :error
9824 saying what the problem was, if possible.
9825
9826 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
9827 server.
9828
9829 * net/network-stream.el (network-stream-open-starttls): If we
9830 wanted to use STARTTLS, and the server offered it, but we weren't
9831 able to because we had no STARTTLS support, then close the connection.
9832 (open-network-stream): Return an :error element, if present.
9833
98342011-06-26 Chong Yidong <cyd@stupidchicken.com>
9835
9836 * hl-line.el (hl-line-sticky-flag): Doc fix.
9837 (global-hl-line-sticky-flag): New option (Bug#8323).
9838 (global-hl-line-highlight): Obey it.
9839
9840 * vc/vc.el (vc-revert-show-diff): Default to t.
9841
98422011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
9843
9844 * allout-widgets.el (allout-widgets-post-command-business):
9845 Stop decorating intermediate isearch matches. They're not being
9846 undecorated when an isearch is continued past, and isearch
9847 automatically collapses them. This leads to "widget leaks", where
9848 decorated items accumulate in collapsed areas. Lines with lots of
9849 hidden widgets can slow down cursor travel, substantially.
9850 Too much complicated machinery would be needed to ensure undecoration,
9851 so we're doing without this nicety.
9852
9853 (allout-widgets-tally-string): Don't try to do a hash-table-count
9854 of allout-widgets-tally when it's nil. This eliminates spurious "Error
9855 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
9856 *Messages* when allout-widgets-maintain-tally is t.
9857
98582011-06-26 Martin Rudalics <rudalics@gmx.at>
9859
9860 * window.el (display-buffer-normalize-argument): Rename to
9861 display-buffer-normalize-arguments. Handle special meaning of
9862 LABEL argument. Respect special-display-function when popping up
9863 a new frame. Fix code searching for a window showing the buffer
9864 on another frame.
9865 (display-buffer-normalize-specifiers):
9866 Call display-buffer-normalize-arguments.
9867 (display-buffer-in-window): Don't undedicate the window if its
9868 buffer remains the same.
9869 Reported by Drew Adams <drew.adams@oracle.com>.
9870 (display-buffer-alist): Add choice for same-window macro
9871 specfier.
9872 (display-buffer): Mention special meaning of LABEL argument in
9873 doc-string. Fix quoting. Don't pop up a new frame even as
9874 fallback.
9875
98762011-06-26 Juanma Barranquero <lekktu@gmail.com>
9877
9878 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
9879 avoid deleting the current window in some cases (bug#8911).
9880
98812011-06-26 Andreas Schwab <schwab@linux-m68k.org>
9882
9883 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
9884 (Bug#8934)
9885
98862011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9887
9888 * net/network-stream.el (network-stream-open-starttls):
9889 Use built-in TLS support if `gnutls-available-p' is true.
9890 (network-stream-open-tls): Ditto.
9891
98922011-06-26 Leo Liu <sdl.web@gmail.com>
9893
9894 * register.el (registerv): New struct.
9895 (registerv-make): New function.
9896 (jump-to-register, describe-register-1, insert-register):
9897 Support the jump-func, print-func and insert-func slot of a registerv
9898 struct. (Bug#8415)
9899
99002011-06-26 Chong Yidong <cyd@stupidchicken.com>
9901
9902 * vc/vc.el (vc-revert-show-diff): New defcustom.
9903 (vc-diff-internal): New arg specifying diff buffer.
9904 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
9905 reuse an existing *vc-diff* buffer (Bug#8927).
9906
9907 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
9908
99092011-06-26 Glenn Morris <rgm@gnu.org>
9910
9911 * progmodes/f90.el (f90-critical-indent): New option.
9912 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
9913 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
9914 (f90-mode): Doc fix.
9915 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
9916 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
9917 (f90-beginning-of-block, f90-next-block, f90-indent-region)
9918 (f90-match-end): Handle block, critical.
9919
99202011-06-25 Glenn Morris <rgm@gnu.org>
9921
9922 * calendar/diary-lib.el (diary-included-files): Doc fix.
9923 (diary-include-files): New function, extracted from
9924 diary-include-other-diary-files and diary-mark-included-diary-files.
9925 (diary-include-other-diary-files, diary-mark-included-diary-files):
9926 Just call diary-include-files.
9927 (diary-mark-entries): Reset diary-included-files on first call.
9928
9929 * calendar/diary-lib.el (diary-mark-entries)
9930 (diary-mark-included-diary-files):
9931 Visit included diary-files in temp buffers.
9932
9933 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
9934 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
9935 (f90-start-block-re, f90-imenu-generic-expression)
9936 (f90-looking-at-program-block-start, f90-no-block-limit):
9937 Add support for submodules.
9938
9939 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
9940 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
9941
99422011-06-25 Eli Zaretskii <eliz@gnu.org>
9943
9944 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
9945 buffer-file-type before setting its value, to avoid disastrous
9946 global effects on decoding files for DOS/Windows systems. (Bug#8780)
9947
99482011-06-25 Juanma Barranquero <lekktu@gmail.com>
9949
9950 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
9951
9952 * ses.el (ses-unload-function):
9953 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
9954
9955 * proced.el (proced-unload-function):
9956 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
9957
99582011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
9959
9960 * server.el (server-create-window-system-frame): Add parameters arg.
9961 (server-process-filter): Doc fix. Handle frame-parameters.
9962
99632011-06-25 Juanma Barranquero <lekktu@gmail.com>
9964
9965 Fix bug#8730, bug#8781.
9966
9967 * loadhist.el (unload--set-major-mode): New function.
9968 (unload-feature): Use it.
9969
9970 * progmodes/python.el (python-after-info-look): Add autoload cookie.
9971 (python-unload-function): New function.
9972
99732011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
9976
99772011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
9978
9979 * net/browse-url.el (browse-url-firefox-program): Add icecat to
9980 the candidates list.
9981
99822011-06-24 Juanma Barranquero <lekktu@gmail.com>
9983
9984 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
9985
99862011-06-23 Richard Stallman <rms@gnu.org>
9987
9988 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
9989 (rmail-variables): Set next-error-move-function.
9990 (rmail-what-message): Take argument POS.
9991 (rmail-next-error-move): New function.
9992
99932011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9994
9995 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
9996 messages for adjacent non-terminals.
9997
99982011-06-23 Richard Stallman <rms@gnu.org>
9999
10000 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
10001 (rmail-show-message-1): Preserve buffer modified flag.
10002 (rmail-start-mail): Don't specify use of rmail-mail-return;
10003 that's done by mail-bury now.
10004 (rmail-mail-return): Handle arg NEWBUF.
10005
100062011-06-23 Michael Albinus <michael.albinus@gmx.de>
10007
10008 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
10009 SIZE is a number.
10010
100112011-06-23 Martin Rudalics <rudalics@gmx.at>
10012
10013 * window.el (get-lru-window, get-mru-window)
10014 (get-largest-window): Never return a minibuffer window.
10015 (display-buffer-pop-up-window): Fix a bug that could lead to
10016 reusing the minibuffer window.
10017 (display-buffer): Pass original specifier argument to
10018 display-buffer-function instead of the normalized one.
10019 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
10020
100212011-06-22 Leo Liu <sdl.web@gmail.com>
10022
10023 * minibuffer.el (completing-read-function)
10024 (completing-read-default): Move from minibuf.c
10025
100262011-06-22 Richard Stallman <rms@gnu.org>
10027
10028 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
10029 to Rmail even if not started by a special Rmail command.
10030
10031 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
10032 Copy the buffer currently showing just one message.
10033
100342011-06-22 Roland Winkler <winkler@gnu.org>
10035
10036 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
10037 (bibtex-clean-entry): First delete the old key so that a
10038 customized algorithm for generating the new key does not get
10039 confused by the old key.
10040 (bibtex-url): Obey regexp of first step.
10041 (bibtex-search-entries): Do not use add-to-list with local
10042 list-var.
10043
100442011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10045
10046 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
10047 stored a user name, then query for the password first, instead of
10048 waiting for SMTP to give an error message and the trying again.
10049
100502011-06-22 Lawrence Mitchell <wence@gmx.li>
10051
10052 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
10053 BUFFER in call-process.
10054
100552011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
10056
10057 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
10058 QUIT twice.
10059 (smtpmail-try-auth-methods): Require user name and password from
10060 auth-source.
10061
100622011-06-22 Martin Rudalics <rudalics@gmx.at>
10063
10064 * window.el (display-buffer-default-specifiers)
10065 (display-buffer-alist): Remove entries for pop-up-frame-alist.
10066 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
10067 (split-window): Normalize SIDE argument (Bug#8916).
10068
10069 * frame.el (pop-up-frame-alist, pop-up-frame-function)
10070 (special-display-frame-alist, special-display-popup-frame):
10071 Remove duplicate declarations. These are now in window.el.
10072
100732011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
10074
10075 * mail/smtpmail.el (smtpmail-via-smtp):
10076 Set :use-starttls-if-possible so that we always use STARTTLS if the
10077 server supports it. SMTP servers that support STARTTLS commonly
10078 require it.
10079
10080 * net/network-stream.el (network-stream-open-starttls): Support
10081 upgrading to STARTTLS always, even if we don't have built-in support.
10082 (open-network-stream): Add the :always-query-capabilities keyword.
10083
10084 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
10085 upgrades with `open-network-stream', and rely solely on
10086 auth-source for all credentials. Big changes throughout the file,
10087 but in particular:
10088 (smtpmail-auth-credentials): Remove.
10089 (smtpmail-starttls-credentials): Remove.
10090 (smtpmail-via-smtp): Check for servers saying they want AUTH after
10091 MAIL FROM, too.
10092
10093 * net/network-stream.el (network-stream-open-starttls):
10094 Provide support for client certificates both for external and built-in
10095 STARTTLS.
10096 (auth-source): Require.
10097 (open-network-stream): Document the :client-certificate keyword.
10098 (network-stream-certificate): Change cert-cert to cert and
10099 cert-key to key.
10100
101012011-06-21 Michael Albinus <michael.albinus@gmx.de>
10102
10103 * net/tramp-cache.el (top): Don't load the persistency file when
10104 "emacs -Q" has been called.
10105
101062011-06-21 Tim Harper <timcharper@gmail.com>
10107
10108 * term/ns-win.el (ns-initialize-window-system):
10109 Set application-specific `ApplePressAndHoldEnabled' system
10110 resource to NO as it is not yet supported by the NS port.
10111
101122011-06-21 Juanma Barranquero <lekktu@gmail.com>
10113
10114 * misc.el (list-dynamic-libraries--refresh): Compute header here...
10115 (list-dynamic-libraries): ...not here.
10116
101172011-06-21 Leo Liu <sdl.web@gmail.com>
10118
10119 * subr.el (sha1): Implement sha1 using secure-hash.
10120
101212011-06-21 Martin Rudalics <rudalics@gmx.at>
10122
10123 * window.el (display-buffer-alist): In default value do not
10124 enforce searching a window on any but the selected frame.
10125 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
10126 (display-buffer-select-window): Remove function.
10127 (display-buffer-in-window): When a window on another frame gets
10128 reused, do not select it any more but just raise its frame if
10129 necessary (Bug#8851) and (Bug#8856).
10130 (display-buffer-normalize-options): Handle pop-up-frames related
10131 options more faithfully.
10132 (pop-to-buffer): Don't rely on `display-buffer' selecting the
10133 window if it is on another frame.
10134 (display-buffer-alist, display-buffer-default-specifiers):
10135 Don't make new frame unsplittable by default.
10136 (display-buffer-normalize-argument): Fix doc-string typo and use
10137 'same-frame-other-window instead of 'other-window when associating
10138 with display-buffer-macro-specifiers.
10139
101402011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
10141
10142 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
10143 New functions.
10144 (5x5-mode-map, 5x5-mode-menu): Bind them.
10145 (5x5-draw-grid): Tweak the solver's rendering.
10146
101472011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10148
10149 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
10150 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
10151
101522011-06-21 Drew Adams <drew.adams@oracle.com>
10153
10154 * menu-bar.el: Use function variable instead of switch-to-buffer.
10155 (menu-bar-select-buffer-function): New variable.
10156 (menu-bar-update-buffers): Use it (bug#8876).
10157
101582011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
10159
10160 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
10161 variable's status.
10162
101632011-06-20 Jan Djärv <jan.h.d@swipnet.se>
10164
10165 * x-dnd.el (x-dnd-version-from-flags)
10166 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
10167 and long as number (Bug#8899).
10168 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
10169
101702011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
10171
10172 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
10173 (completion-try-completion, completion-all-completions): Compute the
10174 metadata argument if it's missing; make it optional (bug#8795).
10175
10176 * wid-edit.el: Use lex-bind and move towards completion-at-point.
10177 (widget-complete): Use new :completion-function property.
10178 (widget-completions-at-point): New function.
10179 (default): Use :completion-function instead of :complete.
10180 (widget-default-completions): Rename from widget-default-complete;
10181 Rewrite.
10182 (widget-string-complete, widget-file-complete, widget-color-complete):
10183 Remove functions.
10184 (file, symbol, function, variable, coding-system, color):
10185 * international/mule-cmds.el (default-input-method, charset)
10186 (language-info-custom-alist):
10187 * cus-edit.el (face): Use new property :completions.
10188
10189 * progmodes/pascal.el (pascal-completions-at-point): New function.
10190 (pascal-mode): Use it.
10191 (pascal-mode-map): Use completion-at-point.
10192 (pascal-toggle-completions): Make obsolete.
10193 (pascal-complete-word, pascal-show-completions):
10194 * progmodes/octave-mod.el (octave-complete-symbol):
10195 Redefine as obsolete alias.
10196 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
10197 Signal absence of completion info for old Octave,
10198 (inferior-octave-complete): Redefine as obsolete alias.
10199 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
10200 (meta-completions-at-point): Rename from meta-complete-symbol and
10201 adapt it for use on completion-at-point-functions.
10202 (meta-common-mode): Use it.
10203 (meta-looking-at-backward, meta-match-buffer): Remove.
10204 (meta-complete-symbol): Redefine as obsolete alias.
10205 (meta-common-mode-map): Use completion-at-point.
10206 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
10207 (makefile-mode-map): Use completion-at-point.
10208 (makefile-completions-at-point): Rename from makefile-complete and
10209 adapt it for use on completion-at-point-functions.
10210 (makefile-mode): Use it.
10211 (makefile-complete): Redefine as obsolete alias.
10212
102132011-06-20 Deniz Dogan <deniz@dogan.se>
10214
10215 * net/rcirc.el: Delete trailing whitespaces once and for all.
10216
102172011-06-20 Daniel Colascione <dan.colascione@gmail.com>
10218
10219 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
10220
102212011-06-19 Chong Yidong <cyd@stupidchicken.com>
10222
10223 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
10224
10225 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
10226
102272011-06-19 Martin Rudalics <rudalics@gmx.at>
10228
10229 * window.el (display-buffer-other-window-means-other-frame):
10230 Call display-buffer-normalize-alist.
10231 (display-buffer-normalize-specifiers-1): Rename to
10232 display-buffer-normalize-argument. New argument other-frame.
10233 Rewrite.
10234 (display-buffer-normalize-specifiers-2): Rename to
10235 display-buffer-normalize-options.
10236 (display-buffer-normalize-alist-1): New function.
10237 (display-buffer-normalize-specifiers-3): Rename to
10238 display-buffer-normalize-alist.
10239 Call display-buffer-normalize-alist-1.
10240 (display-buffer-normalize-options-inhibit): New variable.
10241 (display-buffer-normalize-specifiers): Rewrite calling
10242 display-buffer-normalize-alist,
10243 display-buffer-normalize-argument, and
10244 display-buffer-normalize-options. Don't call the latter if
10245 display-buffer-normalize-options-inhibit is non-nil.
10246 (frame-auto-delete): New option.
10247 (window-deletable-p): Use frame-auto-delete.
10248 (window-list-no-nils, window-state-ignored-parameters)
10249 (window-state-get-1, window-state-get, window-state-put-list)
10250 (window-state-put-1, window-state-put-2, window-state-put):
10251 New functions.
10252 (display-buffer-normalize-options): Move special-display-p group
10253 after pop-up-frame group (Bug#8851) and (Bug#8856).
10254
102552011-06-18 Chong Yidong <cyd@stupidchicken.com>
10256
10257 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
10258 groups (Bug#8776).
10259 (rx-submatch-n): New function.
10260 (rx): Document it.
10261
10262 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
10263 (Bug#8768).
10264
10265 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
10266
10267 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
10268
10269 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
10270 anytime existing face settings are present (Bug#8889).
10271
10272 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
10273 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
10274 Remove unused argument.
10275
102762011-06-18 Martin Rudalics <rudalics@gmx.at>
10277
10278 * window.el (display-buffer-default-specifiers):
10279 Remove pop-up-frame. Add pop-up-window-min-height,
10280 pop-up-window-min-width, and another reuse-window specifier
10281 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
10282 (display-buffer-normalize-specifiers-2):
10283 Handle split-height-threshold and split-width-threshold also when
10284 pop-up-windows is unset. Add a reuse-window specifier for the
10285 case popping up a new window fails.
10286 (special-display-popup-frame): Remove double quoting.
10287 (display-buffer-normalize-specifiers-1): Fix thinko.
10288
102892011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10290
10291 * shell.el (shell-completion-vars): Set pcomplete-termination-string
10292 according to comint-completion-addsuffix.
10293
10294 * pcomplete.el: Convert to lexical binding and fix bug#8819.
10295 (pcomplete-suffix-list): Mark as obsolete.
10296 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
10297 pcomplete-seen in the closure.
10298 (pcomplete-comint-setup): Setup completion-at-point as well.
10299 (pcomplete--entries): New function.
10300 (pcomplete--env-regexp): New var.
10301 (pcomplete-entries): Rewrite to work with partial-completion and
10302 without relying on pcomplete-suffix-list.
10303 (pcomplete-pare-list): Remove, unused.
10304
103052011-06-17 Martin Rudalics <rudalics@gmx.at>
10306
10307 * window.el (display-buffer-alist): Set pop-up-window-min-height
10308 and pop-up-window-min-width in default value. Reported by
10309 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
10310 other-window-means-other-frame.
10311 (display-buffer-macro-specifiers): Comment out entry for
10312 other-window specifier.
10313 (display-buffer-other-window-means-other-frame): New function.
10314 (display-buffer-normalize-specifiers-1): New arguments
10315 buffer-name and label. Treat other-window case specially.
10316 (display-buffer-normalize-specifiers-2): Treat other-window case
10317 specially.
10318 (display-buffer-normalize-specifiers-3): New function.
10319 (display-buffer-normalize-specifiers):
10320 Call display-buffer-normalize-specifiers-3.
10321
103222011-06-17 Martin Rudalics <rudalics@gmx.at>
10323
10324 * window.el (same-window-p): Fix two typos introduced when
10325 adding with-no-warnings.
10326 (display-buffer-normalize-specifiers-1): Don't check
10327 pop-up-frames for 'unset initialization.
10328 (display-buffer-normalize-specifiers-2): Major rewrite using
10329 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
10330 (pop-up-frames, display-buffer-reuse-frames)
10331 (display-buffer-mark-dedicated): Don't initialize to 'unset.
10332 Suggested by David Engster <deng@randomsample.de>.
10333 (even-window-heights): Initialize to 'unset.
10334 (display-buffer-alist-set): Handle new 'unset initializations.
10335 (display-buffer-macro-specifiers): Don't pop up a new frame in the
10336 other window case.
10337
103382011-06-16 Martin Rudalics <rudalics@gmx.at>
10339
10340 * window.el (display-buffer-normalize-specifiers-1):
10341 Respect current value of pop-up-frames for most reasonable values of
10342 second argument of display-buffer (Bug#8865).
10343 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
10344 (switch-to-buffer-other-window-same-frame)
10345 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
10346 Adams (Bug#8875).
10347 (display-buffer): Don't check noninteractive when calling
10348 display-buffer-pop-up-frame.
10349 (display-buffer-pop-up-frame): Never pop up a frame in
10350 noninteractive mode (Bug#8857).
10351 (enlarge-window, shrink-window): Don't report an error when the
10352 window can't be resized as requested (Bug#8862).
10353
103542011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10355
10356 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
10357
10358 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
10359
10360 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
10361
103622011-06-15 Alan Mackenzie <acm@muc.de>
10363
10364 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
10365 for declarators, disable knr checking to speed up for normal files.
10366 2: Refactor, replacing a sequence of nested if forms by a cond form.
10367
103682011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
10369
10370 * net/network-stream.el (open-network-stream): Add the keyword
10371 :always-query-capabilities for the case where you want to force a
10372 `plain' network connection, but the protocol still requires the
10373 capabilitiy command (i.e., SMTP and EHLO).
10374
10375 * subr.el (process-live-p): Rename from `process-alive-p' for
10376 consistency with other `-live-p' functions.
10377
103782011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10379
10380 * window.el (same-window-buffer-names, same-window-regexps)
10381 (special-display-frame-alist, special-display-popup-frame)
10382 (special-display-function, special-display-buffer-names)
10383 (special-display-regexps, pop-up-frame-alist)
10384 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
10385 (pop-up-windows, split-window-preferred-function)
10386 (split-height-threshold, split-width-threshold, even-window-heights)
10387 (display-buffer-mark-dedicated): Don't encourage the use of
10388 display-buffer-alist from Elisp code.
10389
103902011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
10391
10392 * progmodes/python.el (python-mode): Derive from prog-mode.
10393 * progmodes/ps-mode.el (ps-mode):
10394 * progmodes/mixal-mode.el (mixal-mode):
10395 * progmodes/cfengine.el (cfengine-mode):
10396 * progmodes/ld-script.el (ld-script-mode): Likewise.
10397
103982011-06-15 Martin Rudalics <rudalics@gmx.at>
10399
10400 * window.el (display-buffer-alist): Trim default value to avoid
10401 popping up a new frame (Bug#8857) or reusing an arbitrary window
10402 on another frame.
10403 (display-buffer): Do not fall back on popping up a new frame in
10404 batch mode (Bug#8857).
10405
104062011-06-14 Chong Yidong <cyd@stupidchicken.com>
10407
10408 * cus-theme.el (describe-theme-1): Use custom-theme-p.
10409 (custom-theme-summary): New function.
10410 (customize-themes): Use it.
10411
104122011-06-13 Glenn Morris <rgm@gnu.org>
10413
10414 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
10415
104162011-06-13 Martin Rudalics <rudalics@gmx.at>
10417
10418 * help.el (help-window): Remove variable.
10419 (help-window-point-marker, temp-buffer-max-height)
10420 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
10421 (help-print-return-message): Don't set help-window.
10422 (resize-temp-buffer-window): Rewrite cod eand doc-string.
10423 (help-window-setup-finish): Remove.
10424 (help-window-display-message, help-window-setup)
10425 (with-help-window): Major rewrite based on new
10426 display-buffer-window variable.
10427
10428 * help-mode.el (help-mode-finish): Remove help-window related
10429 code.
10430
10431 * view.el (view-exits-all-viewing-windows): Remove reference to
10432 view-return-to-alist in doc-string.
10433 (view-return-to-alist): Make obsolete.
10434 (view-buffer): Call pop-to-buffer-same-window and remove
10435 undo-window code.
10436 (view-buffer-other-window): Call pop-to-buffer-other-window and
10437 simplify code. Ignore second argument.
10438 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
10439 simplify code. Ignore second argument.
10440 (view-return-to-alist-update): Make obsolete.
10441 (view-mode-enter): Rename second argument to QUIT-RESTORE.
10442 Rewrite using quit-restore window parameters.
10443 (view-mode-exit): Rename second argument to EXIT-ONLY.
10444 Rewrite using quit-restore-window.
10445 (View-exit, View-exit-and-edit, View-leave, View-quit)
10446 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
10447 appropriate arguments.
10448 (view-end-message): Use quit-restore window parameter.
10449
10450 * window.el (display-buffer-function): Rewrite doc-string.
10451 (display-buffer-window, display-buffer-alist): New variables.
10452 (display-buffer-split-specifiers)
10453 (display-buffer-side-specifiers)
10454 (display-buffer-macro-specifiers): New constants.
10455 (display-buffer-even-window-sizes, display-buffer-set-height)
10456 (display-buffer-set-width, display-buffer-select-window)
10457 (display-buffer-in-window, display-buffer-reuse-window)
10458 (display-buffer-split-window-1, display-buffer-split-window)
10459 (display-buffer-split-atom-window, display-buffer-pop-up-window)
10460 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
10461 (display-buffer-in-side-window, normalize-buffer-to-display)
10462 (display-buffer-normalize-specifiers-1)
10463 (display-buffer-normalize-specifiers-2)
10464 (display-buffer-normalize-specifiers, display-buffer-frame):
10465 New functions.
10466 (display-buffer): Major rewrite.
10467 (display-buffer-other-window, display-buffer-other-frame)
10468 (pop-to-buffer, switch-to-buffer-other-window)
10469 (switch-to-buffer-other-frame): Rewrite.
10470 (display-buffer-same-window, display-buffer-same-frame)
10471 (display-buffer-same-frame-other-window)
10472 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
10473 (pop-to-buffer-other-window)
10474 (pop-to-buffer-same-frame-other-window)
10475 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
10476 (switch-to-buffer-other-window-same-frame): New functions.
10477 (same-window-p, special-display-p): Rewrite disabling warnings.
10478 Make obsolete.
10479 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10480 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
10481 Make obsolete
10482 (same-window-buffer-names, same-window-regexps)
10483 (special-display-frame-alist, special-display-popup-frame)
10484 (special-display-function, special-display-buffer-names)
10485 (special-display-regexps, pop-up-frame-alist)
10486 (pop-up-frame-function, split-window-preferred-function)
10487 (split-height-threshold, split-width-threshold)
10488 (even-window-heights): Make obsolete.
10489
104902011-06-12 Glenn Morris <rgm@gnu.org>
10491
10492 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
10493 Misc simplifications.
10494
104952011-06-12 Martin Rudalics <rudalics@gmx.at>
10496
10497 * window.el (window-safely-shrinkable-p): Restore function which
10498 was inadvertently removed in change from 2011-06-11. Declare as
10499 obsolete.
10500
10501 * calendar/calendar.el (calendar-generate-window):
10502 Use window-iso-combined-p instead of combination of one-window-p and
10503 window-safely-shrinkable-p.
10504
105052011-06-12 Glenn Morris <rgm@gnu.org>
10506
10507 * progmodes/fortran.el (fortran-mode-syntax-table):
10508 * progmodes/f90.el (f90-mode-syntax-table):
10509 Set % to punctuation. (Bug#8820)
10510 (f90-find-tag-default): Remove, no longer needed.
10511
105122011-06-12 Daniel Colascione <dan.colascione@gmail.com>
10513
10514 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
10515
105162011-06-11 Chong Yidong <cyd@stupidchicken.com>
10517
10518 * image.el (image-animated-p): Return animation delay in seconds.
10519 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
10520 (image-animate-timeout): Remove DELAY argument. Don't assume
10521 every subimage has the same delay; get it from image-animated-p.
10522 (image-animate): Caller changed.
10523
105242011-06-11 Michael Albinus <michael.albinus@gmx.de>
10525
10526 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
10527 to ignored backtrace functions.
10528
105292011-06-11 Glenn Morris <rgm@gnu.org>
10530
10531 * calendar/appt.el (appt-disp-window-function): Doc fix.
10532 (appt-check): Handle overlapping appointments. (Bug#8337)
10533
105342011-06-11 Martin Rudalics <rudalics@gmx.at>
10535
10536 * window.el (window-tree-1, window-tree): New functions, moving
10537 the latter to window.el.
10538 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
10539 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
10540 (bw-refresh-edges): Remove.
10541 (balance-windows-1, balance-windows-2): New functions.
10542 (balance-windows): Rewrite in terms of window tree functions,
10543 balance-windows-1 and balance-windows-2.
10544 (bw-adjust-window): Remove.
10545 (balance-windows-area-adjust): New function with functionality of
10546 bw-adjust-window but using resize-window.
10547 (set-window-text-height): Rewrite doc-string.
10548 Use normalize-live-window and resize-window.
10549 (enlarge-window-horizontally, shrink-window-horizontally):
10550 Rename argument to DELTA.
10551 (window-buffer-height): New function.
10552 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
10553 Rewrite using new window resize routines.
10554 (kill-buffer-and-window, mouse-autoselect-window-select):
10555 Use ignore-errors instead of condition-case.
10556 (quit-window): Call delete-frame instead of delete-windows-on
10557 for the only buffer on frame.
10558
105592011-06-10 Martin Rudalics <rudalics@gmx.at>
10560
10561 * loadup.el (top-level): Load window before files for the sake
10562 of replace-buffer-in-windows.
10563
10564 * files.el (read-buffer-to-switch)
10565 (switch-to-buffer-other-window)
10566 (switch-to-buffer-other-frame, display-buffer-other-frame):
10567 Move to window.el.
10568
10569 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
10570 (previous-buffer): Move to window.el.
10571
10572 * bindings.el (unbury-buffer): Move to window.el.
10573
10574 * window.el (delete-other-windows-vertically): Move after
10575 definition of delete-other-windows.
10576 (other-window, delete-windows-on, replace-buffer-in-windows):
10577 Move here from window.c.
10578 (record-window-buffer, unrecord-window-buffer)
10579 (set-window-buffer-start-and-point, switch-to-prev-buffer)
10580 (switch-to-next-buffer): New functions.
10581 (get-next-valid-buffer, last-buffer, next-buffer): Move here
10582 from simple.el. Call switch-to-next-buffer.
10583 (previous-buffer): Move here from simple.el.
10584 Call switch-to-prev-buffer.
10585 (bury-buffer): Move here from buffer.c. Switch to previous
10586 buffer when window cannot be deleted.
10587 (unbury-buffer): Move here from bindings.el.
10588 (ctl-x-map): Move binding for other-window from window.c to
10589 here.
10590 (read-buffer-to-switch, switch-to-buffer-other-window)
10591 (switch-to-buffer-other-frame): Move here from files.el.
10592 (normalize-buffer-to-switch-to): New functions.
10593 (switch-to-buffer): Move here from buffer.c.
10594 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
10595
105962011-06-10 Martin Rudalics <rudalics@gmx.at>
10597
10598 * window.el (window-min-height, window-min-width): Move here
10599 from window.c. Add defcustoms and rewrite doc-strings.
10600 (resize-mini-window, resize-window): New functions.
10601 (adjust-window-trailing-edge, enlarge-window, shrink-window):
10602 Move here from window.c.
10603 (maximize-window, minimize-window): New functions.
10604 (delete-window, delete-other-windows, split-window): Move here
10605 from window.c.
10606 (window-split-min-size): New function.
10607 (split-window-keep-point): Mention split-window-above-each-other
10608 instead of split-window-vertically.
10609 (split-window-above-each-other, split-window-vertically):
10610 Rename split-window-vertically to split-window-above-each-other
10611 and provide defalias for old definition.
10612 (split-window-side-by-side, split-window-horizontally):
10613 Rename split-window-horizontally to split-window-side-by-side
10614 and provide defalias for the old definition.
10615 (ctl-x-map): Move bindings for delete-window,
10616 delete-other-windows and enlarge-window here from window.c.
10617 Replace bindings for split-window-vertically and
10618 split-window-horizontally by bindings for
10619 split-window-above-each-other and split-window-side-by-side.
10620
10621 * cus-start.el (all): Remove entries for window-min-height and
10622 window-min-width. Add entries for window-splits and
10623 window-nest.
10624
106252011-06-09 Glenn Morris <rgm@gnu.org>
10626
10627 * calendar/appt.el (appt-mode-line): New function.
10628 (appt-check, appt-disp-window): Use it.
10629
10630 * files.el (hack-one-local-variable-eval-safep):
10631 Allow minor-modes with explicit +/-1 arguments.
10632
106332011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
10634
10635 * term/xterm.el (xterm): Add defgroup.
10636 (xterm-extra-capabilities): Add defcustom to supply known xterm
10637 capabilities, skip querying them, or query them (default).
10638 (terminal-init-xterm): Use it.
10639 (terminal-init-xterm-modify-other-keys): New function to set up
10640 modifyOtherKeys support to simplify `terminal-init-xterm'.
10641
106422011-06-09 Martin Rudalics <rudalics@gmx.at>
10643
10644 * window.el (resize-window-reset, resize-window-reset-1)
10645 (resize-subwindows-skip-p, resize-subwindows-normal)
10646 (resize-subwindows, resize-other-windows, resize-this-window)
10647 (resize-root-window, resize-root-window-vertically)
10648 (window-deletable-p, window-or-subwindow-p)
10649 (frame-root-window-p): New functions.
10650
106512011-06-09 Glenn Morris <rgm@gnu.org>
10652
10653 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
10654 (ange-ftp-get-files): Use it.
10655
106562011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
10657
10658 * mail/sendmail.el (mail-recover-1, mail-recover):
10659 * files.el (recover-file, recover-session):
10660 Handle dired-listing-switches not being just a single short option.
10661
106622011-06-09 Glenn Morris <rgm@gnu.org>
10663
10664 * calendar/appt.el (appt-display-message, appt-disp-window):
10665 Handle lists of appointments.
10666
106672011-06-08 Martin Rudalics <rudalics@gmx.at>
10668
10669 * window.el (one-window-p): Move down in code.
10670 Rewrite doc-string.
10671 (window-current-scroll-bars): Rewrite doc-string.
10672 Normalize live window argument.
10673 (walk-windows, get-window-with-predicate, count-windows):
10674 Rewrite doc-string. Use window-list-1.
10675 (window-in-direction-2, window-in-direction, get-mru-window):
10676 New functions.
10677
106782011-06-08 Reuben Thomas <rrt@sc3d.org>
10679
10680 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
10681 Doc fix (Bug#8713).
10682
106832011-06-08 Chong Yidong <cyd@stupidchicken.com>
10684
10685 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
10686
106872011-06-08 Juanma Barranquero <lekktu@gmail.com>
10688
10689 * loadhist.el (unload-feature-special-hooks):
10690 Add `comint-output-filter-functions'.
10691
106922011-06-08 Ivan Kanis <gnu@kanis.fr>
10693
10694 * calendar/appt.el (appt-check): Move some initializations into the let.
10695
106962011-06-08 Martin Rudalics <rudalics@gmx.at>
10697
10698 * window.el (window-height): Defalias to window-total-height.
10699 (window-width): Defalias to window-body-width.
10700
107012011-06-07 Chong Yidong <cyd@stupidchicken.com>
10702
10703 * image-mode.el (image-toggle-animation): New command.
10704 (image-mode-map): Bind it to RET.
10705 (image-mode): Update message.
10706 (image-toggle-display-image): Avoid a spurious cache flush.
10707 (image-transform-rotation): Doc fix.
10708 (image-transform-properties): Return quickly in the normal case.
10709 (image-animate-loop): Rename from image-animate-max-time.
10710
10711 * image.el (image-animate-max-time): Move to image-mode.el.
10712 (create-animated-image): Remove unnecessary function.
10713 (image-animate): Rename from image-animate-start. New arg.
10714 (image-animate-stop): Remove; just use image-animate-timer.
10715 (image-animate-timer): Use car-safe.
10716 (image-animate-timeout): Rename argument.
10717
107182011-06-07 Martin Rudalics <rudalics@gmx.at>
10719
10720 * window.el (get-lru-window, get-largest-window): Move here from
10721 window.c. Rename first argument to ALL-FRAMES.
10722 Rephrase doc-strings.
10723 (get-buffer-window-list): Rewrite using window-list-1.
10724 Rephrase doc-string.
10725 (window-safe-min-height, window-safe-min-width): New constants.
10726 (window-size-ignore, window-min-size, window-min-size-1)
10727 (window-sizable, window-sizable-p, window-size-fixed-1)
10728 (window-size-fixed-p, window-min-delta-1, window-min-delta)
10729 (window-max-delta-1, window-max-delta, window-resizable)
10730 (window-resizable-p, window-total-height, window-total-width)
10731 (window-body-width): New functions.
10732 (window-full-height-p, window-full-width-p): Rewrite using
10733 window-total-size.
10734 (window-body-height): Rewrite using window-body-size.
10735
107362011-06-06 Martin Rudalics <rudalics@gmx.at>
10737
10738 * window.el (window-right, window-left, window-child)
10739 (window-child-count, window-last-child, window-any-p)
10740 (normalize-live-buffer, normalize-live-frame)
10741 (normalize-any-window, normalize-live-window)
10742 (window-iso-combination-p, window-iso-combined-p)
10743 (window-iso-combinations)
10744 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
10745 (windows-with-parameter, window-with-parameter)
10746 (window-atom-root, make-window-atom, window-atom-check-1)
10747 (window-atom-check, window-side-check, window-check):
10748 New functions.
10749 (ignore-window-parameters, window-sides, window-sides-vertical)
10750 (window-sides-slots): New variables.
10751 (window-size-fixed): Move down in code. Minor doc-string fix.
10752
107532011-06-05 Andreas Schwab <schwab@linux-m68k.org>
10754
10755 * comint.el (comint-dynamic-complete-as-filename)
10756 (comint-dynamic-complete-filename): Correctly call
10757 completion-in-region.
10758
107592011-06-05 Deniz Dogan <deniz@dogan.se>
10760
10761 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
10762 in last change.
10763
107642011-06-05 Deniz Dogan <deniz@dogan.se>
10765
10766 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
10767 (rcirc): Use it to prompt for encryption.
10768
107692011-06-05 Roland Winkler <winkler@gnu.org>
10770
10771 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
10772 (bibtex-search-entries): New command bound to C-c C-a.
10773 (bibtex-display-entries): New function.
10774
107752011-06-05 Roland Winkler <winkler@gnu.org>
10776
10777 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
10778 (bibtex-insert-kill): After yanking insert newline if necessary.
10779 (bibtex-initialize): Call bibtex-string-files-init only once.
10780 (bibtex-mode): Do not call easy-menu-add.
10781 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
10782 (bibtex-yank): Set arg properly if nil.
10783
107842011-06-05 Roland Winkler <winkler@gnu.org>
10785
10786 * textmodes/bibtex.el (bibtex-search-entry-globally):
10787 New variable.
10788 (bibtex-search-entry): Use it.
10789
107902011-06-05 Roland Winkler <winkler@gnu.org>
10791
10792 * textmodes/bibtex.el (bibtex-entry-format): New option
10793 sort-fields.
10794 (bibtex-format-entry, bibtex-reformat): Honor this option.
10795 (bibtex-parse-entry): Return fields in proper order.
10796
107972011-06-05 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * doc-view.el (doc-view-remove-if): Move computation of result out
10800 of `dolist' to silence misleading lexical-binding warning.
10801
108022011-06-04 Chong Yidong <cyd@stupidchicken.com>
10803
10804 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
10805 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
10806
108072011-06-04 Michael Albinus <michael.albinus@gmx.de>
10808
10809 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
10810 "SunOS 5.10".
10811
108122011-06-04 Michael Albinus <michael.albinus@gmx.de>
10813
10814 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
10815 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
10816 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
10817 (tramp-parse-putty):
10818 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
10819 (tramp-completion-function-alist-ssh)
10820 (tramp-completion-function-alist-telnet)
10821 (tramp-completion-function-alist-su)
10822 (tramp-completion-function-alist-putty): Set `tramp-autoload'
10823 cookie.
10824
10825 * net/tramp-ftp.el:
10826 * net/tramp-sh.el:
10827 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
10828 load "tramp.el" `tramp-set-completion-function'.
10829
108302011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10831
10832 * shell.el: Require and use pcomplete.
10833 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
10834 (shell-completion-vars): Set pcomplete-default-completion-function.
10835
108362011-06-04 Deniz Dogan <deniz@dogan.se>
10837
10838 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
10839 `memq' (Bug#8799).
10840
108412011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10842
10843 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
10844
108452011-06-02 Juanma Barranquero <lekktu@gmail.com>
10846
10847 * bs.el (bs--mark-unmark, bs--nth-wrapper):
10848 * mpc.el (mpc-select-extend, mpc-songpointer-context):
10849 * vc/log-view.el (log-view-beginning-of-defun):
10850 * vc/smerge-mode.el (smerge-apply-resolution-patch)
10851 (smerge-refine-forward, smerge-refine-chopup-region):
10852 Silence warning for unused `dotimes' counter variables.
10853
108542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * net/tramp.el (tramp-with-progress-reporter): Rename from
10857 with-progress-reporter. Use `declare'.
10858 * net/tramp-smb.el:
10859 * net/tramp-sh.el:
10860 * net/tramp-gvfs.el: Update all uses.
10861
108622011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
10863
10864 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
10865 buffer isn't killed before making it current.
10866
108672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10868
10869 Silence various byte-compiler warnings.
10870 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
10871 `access-type' and new obsolescence format.
10872 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
10873 new format.
10874 (byte-compile-check-variable): New `access-type' argument.
10875 Only warn if the access-type is obsolete.
10876 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
10877 (byte-compile-variable-set): Adjust callers.
10878 * help-fns.el (describe-variable): Adjust to new obsolescence format.
10879 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
10880 setting it as obsolete.
10881 * simple.el (minibuffer-completing-symbol):
10882 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
10883 access as obsolete.
10884 * minibuffer.el (minibuffer-completing-file-name): Don't make it
10885 obsolete yet.
10886 * international/quail.el (quail-mouse-choose-completion): Remove unused
10887 code referring to obsolete var.
10888 (quail-choose-completion-string): Remove.
10889 * server.el (server-clients-with, server-kill-buffer-query-function)
10890 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
10891 * proced.el (proced-send-signal):
10892 * emacs-lisp/lisp.el (lisp-complete-symbol):
10893 Replace completion-annotate-function with completion-extra-properties.
10894
108952011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10896
10897 * simple.el (goto-line): Use read-number.
10898 (overriding-map-is-bound): Remove.
10899 (saved-overriding-map): Change default.
10900 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
10901 Take the map as argument.
10902 (universal-argument, negative-argument, digit-argument): Use it.
10903 (restore-overriding-map): Adjust.
10904 (do-auto-fill): Use fill-forward-paragraph.
10905 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
10906
10907 * minibuffer.el (minibuffer-inactive-mode-map): New var.
10908 (minibuffer-inactive-mode): New major mode.
10909 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
10910 the *Messages* buffer" hack.
10911 (mouse-popup-menubar): Don't burp if the event is a normal key.
10912
10913 Miscellaneous tweaks.
10914 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
10915 lexical scoping as in subr.el's dolist and dotimes.
10916 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
10917 Silence compiler warning.
10918 * thingatpt.el (forward-whitespace): Trivial coding style fix.
10919 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
10920 * international/ccl.el (ccl-compile): Trivial simplification.
10921 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
10922 * emacs-lisp/testcover.el (testcover-end): Remove spurious
10923 `printflag' argument.
10924 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
10925 Purecopy the whole obsolescence data.
10926
109272011-06-01 Leo Liu <sdl.web@gmail.com>
10928
10929 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
10930 improve doc-string as suggested by Marco Pessotto
10931 <melmothx@gmail.com>.
10932 (rcirc-print): Fix last change.
10933
109342011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10935
10936 * minibuffer.el (complete-with-action): Return nil for the metadata and
10937 boundaries of non-functional tables.
10938 (completion-table-dynamic): Return nil for the metadata.
10939 (completion-table-with-terminator): Add default case, using
10940 complete-with-action.
10941 (completion--metadata): New function.
10942 (completion-all-sorted-completions, minibuffer-completion-help): Use it
10943 to try and avoid pathological performance problems.
10944 (completion--embedded-envvar-table): Return `category' metadata.
10945
109462011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
10947
10948 * subr.el (process-alive-p): New tiny convenience function.
10949
109502011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10951
10952 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
10953 content but also its previous major mode.
10954
109552011-05-31 Helmut Eller <eller.helmut@gmail.com>
10956
10957 * emacs-lisp/debug.el (debug): Restore the previous content of the
10958 *Backtrace* buffer when we exit with C-M-c.
10959
109602011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10961
10962 * minibuffer.el: Add metadata method to completion tables.
10963 (completion-category-overrides): New defcustom.
10964 (completion-metadata, completion--field-metadata)
10965 (completion-metadata-get, completion--styles)
10966 (completion--cycle-threshold): New functions.
10967 (completion-try-completion, completion-all-completions):
10968 Add `metadata' argument to choose completion-styles.
10969 (completion--do-completion): Use metadata to choose cycling.
10970 (completion-all-sorted-completions): Use metadata for sorting.
10971 Remove :completion-cycle-penalty which is not needed any more.
10972 (completion--try-word-completion): Add `metadata' argument.
10973 (minibuffer-completion-help): Check metadata for annotation function
10974 and sorting.
10975 (completion-file-name-table): Return `category' metadata.
10976 (minibuffer-completing-file-name): Make obsolete.
10977 * simple.el (minibuffer-completing-symbol): Make obsolete.
10978 * icomplete.el (icomplete-completions): Pass new `metadata' param to
10979 completion-try-completion.
10980
109812011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
10984
109852011-05-30 Leo Liu <sdl.web@gmail.com>
10986
10987 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
10988 (rcirc-print): Decode all incoming messages (bug#8744).
10989 (rcirc-decode-coding-system): Allow value nil for automatic coding
10990 system detection.
10991
109922011-06-01 Glenn Morris <rgm@gnu.org>
10993
10994 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
10995
109962011-05-29 Chong Yidong <cyd@stupidchicken.com>
10997
10998 * image.el (image-animate-max-time): Allow nil and t values.
10999 Default to nil.
11000 (create-animated-image): Doc fix.
11001 (image-animate-start): Remove second arg; just use
11002 image-animate-max-time.
11003 (image-animate-timeout): Doc fix. Args changed.
11004
11005 * image-mode.el (image-toggle-display-image): Ensure that the
11006 image spec passed to the animate timer is the same object as in
11007 the buffer's display property (Bug#6981).
11008 (image-transform-properties): Doc fix.
11009
11010 * image.el (image-animate-max-time): Default to nil.
11011
110122011-05-29 Martin Rudalics <rudalics@gmx.at>
11013
11014 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
11015 entire buffer list (Bug#8184).
11016
110172011-05-29 Chong Yidong <cyd@stupidchicken.com>
11018
11019 * image.el (imagemagick-types-inhibit)
11020 (imagemagick-register-types): Doc fix.
11021
110222011-05-29 Deniz Dogan <deniz@dogan.se>
11023
11024 * net/rcirc.el (rcirc): Use the user's stored encryption method by
11025 default.
11026
110272011-05-29 Chong Yidong <cyd@stupidchicken.com>
11028
11029 * select.el: Don't perform clipboard-manager saving in hooks;
11030 leave the hooks empty.
11031
110322011-05-28 Leo Liu <sdl.web@gmail.com>
11033
11034 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
11035 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
11036 (occur-edit-mode): New major mode (Bug#8463).
11037 (occur-after-change-function): New function.
11038 (occur-engine): Give Occur tags a read-only property.
11039
110402011-05-28 Kevin Ryde <user42@zip.com.au>
11041
11042 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
11043
110442011-05-28 Chong Yidong <cyd@stupidchicken.com>
11045
11046 * bindings.el (help-echo): Make the initial non-indicator dash
11047 empty on graphical terminals (Bug#7295).
11048
11049 * files.el (auto-mode-alist): Move config rule after the
11050 in-stripping one (Bug#8547).
11051
11052 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
11053
11054 * startup.el (normal-splash-screen): Remove gratuitous mode-line
11055 setting (Bug#8740).
11056
110572011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
11058
11059 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
11060 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
11061 (Bug#8539).
11062
110632011-05-28 Chong Yidong <cyd@stupidchicken.com>
11064
11065 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
11066
110672011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
11068
11069 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
11070 (hs-hide-block-at-point, hs-find-block-beginning)
11071 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
11072 (Bug#8279).
11073
110742011-05-28 Glenn Morris <rgm@gnu.org>
11075
11076 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
11077
110782011-05-28 Chong Yidong <cyd@stupidchicken.com>
11079
11080 * help-fns.el (describe-function-1): If the function is a derived
11081 major mode, print the parent mode.
11082
11083 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
11084 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
11085
110862011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11087
11088 * minibuffer.el (completion--capf-wrapper): Check applicability before
11089 returning non-nil for non-exclusive completion data.
11090 * progmodes/etags.el (tags-completion-at-point-function):
11091 * info-look.el (info-lookup-completions-at-point): Mark as
11092 non-exclusive.
11093 (info-complete): Adjust accordingly.
11094
11095 * info-look.el: Convert to lexical-binding and completion-at-point.
11096 (info-lookup-completions-at-point): New function.
11097 (info-complete): Use it and completion-in-region.
11098
110992011-05-28 Drew Adams <drew.adams@oracle.com>
11100
11101 * isearch.el: Let M-e start with point at the first mismatched char.
11102 (isearch-fail-pos): New function.
11103 (isearch-edit-string): Use it.
11104
111052011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11106
11107 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11108
111092011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
11110
11111 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
11112 traversal functions for avl-trees.
11113 (avl-tree--stack): New struct.
11114 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
11115 (avl-tree-enter): Add optional `updatefun' arg.
11116 (avl-tree--do-enter): Add optional `updatefun' arg.
11117 Change return value.
11118 (avl-tree-delete): Add optional `test' and `nilflag' args.
11119 (avl-tree--do-delete): Add `test' and `nilflag' args.
11120 Change return value.
11121 (avl-tree-member): Add optional `nilflag'
11122 (avl-tree-member-p): New function.
11123 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
11124 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
11125 (avl-tree-stack-empty-p): New functions.
11126
11127 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
11128 avl-tree--del-balance1 and make it work both ways.
11129 (avl-tree--del-balance2): Remove.
11130 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
11131 make it work both ways.
11132 (avl-tree--enter-balance2): Remove.
11133 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
11134 New macros.
11135 (avl-tree--mapc, avl-tree-map): Add direction argument.
11136
111372011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
11138
11139 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
11140
111412011-05-27 Chong Yidong <cyd@stupidchicken.com>
11142
11143 * select.el: Support clipboard managers with built-in function
11144 x-clipboard-manager-save, via delete-frame-functions and
11145 kill-emacs-hook.
11146 (xselect-convert-to-targets): Add MULTIPLE target to list.
11147 (xselect-convert-to-save-targets): New function.
11148
111492011-05-27 Kenichi Handa <handa@m17n.org>
11150
11151 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
11152 let-binding rfc2047-encode-encoded-words to nil.
11153
111542011-05-27 Glenn Morris <rgm@gnu.org>
11155
11156 * mail/emacsbug.el: Don't require url-util.
11157
11158 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
11159
11160 * files.el (set-auto-mode):
11161 Also respect mode: entries at the end of the file. (Bug#8586)
11162
111632011-05-26 Glenn Morris <rgm@gnu.org>
11164
11165 * files.el (hack-local-variables-prop-line, hack-local-variables):
11166 Downcase mode names, as seems to be traditional.
11167 (hack-local-variables, hack-local-variables-apply): Doc fixes.
11168
11169 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
11170 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
11171
111722011-05-25 Julien Danjou <julien@danjou.info>
11173
11174 * textmodes/rst.el (rst-define-level-faces): Do not define face
11175 symbol if it is already defined.
11176
111772011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
11178
11179 * play/5x5.el (5x5-new-game, 5x5-randomize):
11180 Reset 5x5-solver-output to nil when a new grid is cast.
11181 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
11182 these debugging traces, as defmacro breaks the compiled code.
11183
111842011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
11185
11186 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
11187
111882011-05-24 Leo Liu <sdl.web@gmail.com>
11189
11190 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
11191 (vc-bzr-sha1): Adapt.
11192
11193 * sha1.el: Remove. Function `sha1' is now builtin.
11194
11195 * bindings.el: Provide sha1 feature.
11196
111972011-05-24 Kenichi Handa <handa@m17n.org>
11198
11199 * mail/sendmail.el: Require `rfc2047'.
11200 (mail-insert-from-field): Do not perform RFC2047 encoding.
11201 (mail-encode-header): New function.
11202 (sendmail-send-it): Set buffer-file-coding-system of the work
11203 buffer to the return value of select-message-coding-system.
11204 Call mail-encode-header.
11205
11206 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
11207
112082011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
11209
11210 * mail/supercite.el (sc-default-cite-frame):
11211 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
11212
112132011-05-24 Glenn Morris <rgm@gnu.org>
11214
11215 * progmodes/python.el (brm-menu): Declare.
11216
11217 * emulation/viper.el (viper-set-hooks): Declare.
11218
11219 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
11220 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
11221 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
11222 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
11223 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
11224 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
11225
112262011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11227
11228 Add an :exit-function for completion-at-point.
11229
11230 * minibuffer.el (completion--done): New fun.
11231 (completion--do-completion): Use it. New arg `expect-exact'.
11232 (minibuffer-complete, minibuffer-complete-word): Don't output message,
11233 since completion--do-completion does it for us now.
11234 (minibuffer-force-complete): Use completion--done and
11235 completion--replace. Handle sole-completion case with more care.
11236 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
11237 (completion-extra-properties): New var.
11238 (completion-annotate-function): Make obsolete.
11239 (minibuffer-completion-help): Adjust accordingly.
11240 Use completion-list-insert-choice-function.
11241 (completion-at-point, completion-help-at-point):
11242 Bind completion-extra-properties.
11243 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
11244 * simple.el (completion-list-insert-choice-function): New var.
11245 (completion-setup-function): Preserve it.
11246 (choose-completion): Pay attention to it, shuffle the code a bit.
11247 (choose-completion-string): New arg `insert-function'.
11248
11249 * textmodes/bibtex.el: Convert to lexical binding.
11250 (bibtex-mode-map): Use completion-at-point.
11251 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
11252 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
11253 (bibtex-complete): Define as obsolete alias.
11254 (bibtex-complete-internal): Remove.
11255 (bibtex-format-entry): Remove unused sub-group in regexp.
11256 * shell.el (shell--command-completion-data)
11257 (shell-environment-variable-completion):
11258 * pcomplete.el (pcomplete-completions-at-point):
11259 * comint.el (comint--complete-file-name-data): Use :exit-function
11260 instead of completion-table-with-terminator so it also works for
11261 choose-completion.
11262
112632011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11264
11265 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
11266
11267 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
11268 (bug#8710).
11269
11270 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
11271
112722011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
11273
11274 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
11275 customization variable and implement: If non-nil, auto-fill will
11276 be inhibited while on topic's header line.
11277
112782011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
11279
11280 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
11281 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
11282 always have a solution in grid size = 5 cases.
11283 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
11284 (5x5-solver-output, 5x5-log-buffer): New vars.
11285 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
11286 Make these variables buffer local to achieve 5x5 multi-session-ness.
11287 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
11288 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
11289 (5x5-solve-suggest): New funs.
11290 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
11291 randomize a grid so that we ensure that there is always a solution.
11292 (5x5-make-random-grid): Allow other movement than flipping.
11293
112942011-05-23 Kevin Ryde <user42@zip.com.au>
11295
11296 * emacs-lisp/advice.el (ad-read-advised-function):
11297 Use `function-called-at-point' as the default, if it has
11298 advice and passes PREDICATE.
11299
113002011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11301
11302 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
11303 byte-compile-lambda if it's actually a lambda.
11304
11305 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
11306 Fix function quoting. Use backquote better.
11307
113082011-05-22 Yuanle Song <sylecn@gmail.com>
11309
11310 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
11311 matching (Bug#8516).
11312
113132011-01-22 Jari Aalto <jari.aalto@cante.net>
11314
11315 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
11316 different face (Bug#8178).
11317
113182011-05-22 Chong Yidong <cyd@stupidchicken.com>
11319
11320 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
11321 defface (Bug#8144).
11322
113232011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
11324
11325 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
11326 funcall as well (bug#8712). Warn when performing those conversions.
11327 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
11328
11329 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
11330
113312011-05-22 Glenn Morris <rgm@gnu.org>
11332
11333 * files.el (hack-local-variables-prop-line): Small simplifications.
11334 (hack-local-variables, hack-local-variables-prop-line):
11335 If MODE-ONLY, return the mode, rather than just `t'.
11336
113372011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11338
11339 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
11340
113412011-05-21 Glenn Morris <rgm@gnu.org>
11342
11343 * files.el (hack-local-variables-prop-line, hack-local-variables):
11344 If only interested in the mode, don't bother doing the other stuff.
11345
11346 * image-mode.el (image-after-revert-hook):
11347 Redraw all frames on which the image is visible. (Bug#8567)
11348
11349 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
11350
11351 * wid-edit.el (widget-checklist-match-inline):
11352 Fix 2011-04-19 change. (Bug#8649)
11353
113542011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
11355
11356 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
11357 Also allow singlespace after single-letter capitals followed by a dot.
11358
11359 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
11360 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
11361
113622011-05-20 Nix <nix@esperi.org.uk>
11363
11364 * files.el (basic-save-buffer-2):
11365 Fix handling of break-hardlink-on-save with non-existent files.
11366
113672011-05-19 Deniz Dogan <deniz@dogan.se>
11368
11369 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
11370 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
11371
113722011-05-19 Glenn Morris <rgm@gnu.org>
11373
11374 * progmodes/f90.el (f90-type-def-re):
11375 Handle "type, bind(c)". (Bug#8691)
11376
11377 * emacs-lisp/autoload.el (batch-update-autoloads):
11378 Set autoload-excludes by parsing loadup.el rather than Makefiles.
11379
113802011-05-18 Michael Albinus <michael.albinus@gmx.de>
11381
11382 * net/tramp.el (tramp-process-actions): Set "first-password-request"
11383 property for the correct connection in case of multihops.
11384
113852011-05-18 Glenn Morris <rgm@gnu.org>
11386
11387 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
11388 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
11389
11390 Rationalize calendar handling of day and month abbrev-arrays.
11391 * calendar/calendar.el (calendar-customized-p): New function.
11392 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
11393 (calendar-day-name-array, calendar-month-name-array): Doc fix.
11394 Add :set function.
11395 (calendar-abbrev-length, calendar-day-abbrev-array)
11396 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
11397 (calendar-day-abbrev-array, calendar-month-abbrev-array):
11398 Elements may no longer be nil.
11399 (calendar-day-name, calendar-month-name):
11400 Update for changed nature of abbrev arrays.
11401 * calendar/diary-lib.el (diary-name-pattern):
11402 Update for changed nature of abbrev arrays.
11403 (diary-mark-entries-1): Update calendar-make-alist calls.
11404 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
11405 * calendar/cal-html.el (cal-html-day-abbrev-array):
11406 Simply inherit from calendar-day-abbrev-array.
11407
114082011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11409
11410 * progmodes/grep.el (grep-mode): Disable default
11411 compilation-directory-matcher setting (bug#8684).
11412
114132011-05-17 Michael Albinus <michael.albinus@gmx.de>
11414
11415 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
11416 instead of "head" and "tail". There were problems with SunOS 5.9,
11417 and it performs better.
11418
114192011-05-17 Glenn Morris <rgm@gnu.org>
11420
11421 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
11422
11423 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
11424 Replace obsolete function.
11425
11426 * shell.el (pcomplete-parse-arguments-function): Declare.
11427
11428 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
11429 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
11430 (appt-check): Doc fixes.
11431 (appt-disp-window-function, appt-delete-window-function):
11432 Remove needless special case in custom :type.
11433 (appt-display-count): Default to 0, not nil.
11434 (appt-check): Reset appt-display-count to 0, not nil.
11435
114362011-05-17 Juanma Barranquero <lekktu@gmail.com>
11437
11438 * progmodes/python.el (python-font-lock-keywords):
11439 Add the Python 3.X keyword "nonlocal" (bug#8639).
11440
114412011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
11442
11443 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
11444
114452011-05-16 Kevin Ryde <user42@zip.com.au>
11446
11447 * info-look.el (makefile-automake-mode): New setups, looking in
11448 automake manual, then makefile-mode.
11449 (makefile-mode): Remove automake manual, have it just in
11450 makefile-automake-mode since there's various things different or
11451 not relevant to plain make.
11452 (makefile-mode): Remove "other-modes" non-existent automake-mode,
11453 believe a hypothetical automake-mode would go to makefile-mode,
11454 not the other way around.
11455
114562011-05-15 Chong Yidong <cyd@stupidchicken.com>
11457
11458 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
11459 hunk-end tags (Bug#8672).
11460
11461 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
11462 vc-annotate-show-diff-revision-at-line (Bug#8671).
11463
114642011-05-14 Glenn Morris <rgm@gnu.org>
11465
11466 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
11467 in the middle of an existing one with multiple authors. (Bug#8645)
11468 (change-log-font-lock-keywords): Also handle multiple author lines
11469 with leading tabs. (Bug#8644)
11470
11471 * calendar/appt.el (appt-check): Rename some local variables.
11472 Some simplification/reordering.
11473
11474 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
11475 (feedmail-sendmail-f-doesnt-sell-me-out)
11476 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11477 (feedmail-debug-sit-for, feedmail-queue-express-hook)
11478 (feedmail-queue-runner-message-sender): Set :version.
11479 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
11480 (bbdb-dwim-net-address, vm-mail): Declare.
11481 (feedmail-binmail-gnulinuxish-template):
11482 Rename from feedmail-binmail-linuxish-template.
11483 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
11484 Use insert-buffer-substring.
11485
114862011-05-14 Bill Carpenter <bill@carpenter.org>
11487
11488 * mail/feedmail.el (feedmail-patch-level): Increase.
11489 (feedmail-debug): New custom group.
11490 (feedmail-confirm-outgoing-timeout)
11491 (feedmail-sendmail-f-doesnt-sell-me-out)
11492 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
11493 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
11494 (feedmail-sender-line, feedmail-from-line)
11495 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
11496 (feedmail-spray-this-address)
11497 (feedmail-spray-address-fiddle-plex-list)
11498 (feedmail-queue-use-send-time-for-date)
11499 (feedmail-queue-use-send-time-for-message-id)
11500 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
11501 (feedmail-buffer-eating-function):
11502 Doc fixes.
11503 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
11504 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
11505 (feedmail-message-action-scroll-down): New functions.
11506 (feedmail-queue-directory, feedmail-queue-draft-directory):
11507 Use expand-file-name.
11508 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
11509 Remove C-v help entry.
11510 (feedmail-queue-buffer-file-name): New variable.
11511 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
11512 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
11513 (feedmail-message-action-send-strong, feedmail-message-action-edit)
11514 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
11515 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
11516 (feedmail-message-action-toggle-spray)
11517 (feedmail-run-the-queue-no-prompts)
11518 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
11519 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
11520 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
11521 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
11522 (feedmail-envelope-deducer, feedmail-fiddle-from)
11523 (feedmail-fiddle-sender, feedmail-default-date-generator)
11524 (feedmail-fiddle-date, feedmail-fiddle-message-id)
11525 (feedmail-fiddle-spray-address)
11526 (feedmail-fiddle-list-of-spray-fiddle-plexes)
11527 (feedmail-fiddle-list-of-fiddle-plexes)
11528 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
11529 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
11530 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
11531 Change default. Doc fix.
11532 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
11533 (feedmail-binmail-linuxish-template): New constant.
11534 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
11535 Respect feedmail-sendmail-f-doesnt-sell-me-out.
11536 (feedmail-send-it): Add debug call.
11537 Use feedmail-queue-buffer-file-name, and
11538 feedmail-send-it-immediately-wrapper.
11539 (feedmail-message-action-send): Add debug call.
11540 Use feedmail-send-it-immediately-wrapper.
11541 (feedmail-queue-express-to-queue): Add debug call.
11542 Run feedmail-queue-express-hook.
11543 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
11544 (feedmail-message-action-help-blat):
11545 Rename from feedmail-queue-send-edit-prompt-help-first.
11546 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
11547 Check line-endings. Handle errors better.
11548 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
11549 Doc fix. Add debug call.
11550 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
11551 Use feedmail-queue-send-edit-prompt-inner.
11552 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
11553 (feedmail-queue-send-edit-prompt-inner): New function, extracted
11554 from feedmail-queue-send-edit-prompt.
11555 (feedmail-queue-send-edit-prompt-help)
11556 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
11557 (feedmail-tidy-up-slug): Add debug call.
11558 Respect feedmail-queue-slug-suspect-regexp.
11559 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
11560 (feedmail-dump-message-to-queue): Add debug call.
11561 Expand queue-directory.
11562 (feedmail-dump-message-to-queue): Change message slightly.
11563 Use feedmail-say-chatter.
11564 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
11565 (feedmail-send-it-immediately-wrapper): New function.
11566 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
11567 Insert empty string rather than newline. Handle full-frame case.
11568 Use catch/throw. Use feedmail-say-chatter.
11569 (feedmail-fiddle-from): Try mail-host-address.
11570 (feedmail-default-message-id-generator): Doc fix.
11571 Bind system-time-locale. Handle missing end.
11572 (feedmail-fiddle-x-mailer): Add debug call.
11573 Handle feedmail-x-mailer-line being nil.
11574 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
11575 Add debug call. Use buffer-substring-no-properties.
11576 (feedmail-say-debug, feedmail-say-chatter): New functions.
11577 (feedmail-find-eoh): Give an explicit error.
11578
115792011-05-13 Ulf Jasper <ulf.jasper@web.de>
11580
11581 * net/newst-treeview.el (newsticker-treeview-face): Change default
11582 family from helvetica to sans.
11583 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
11584 etc/images/newsticker.
11585
11586 * net/newst-reader.el (newsticker-feed-face): Change default
11587 family from helvetica to sans.
11588
11589 * net/newst-plainview.el (newsticker-new-item-face)
11590 (newsticker-old-item-face, newsticker-immortal-item-face)
11591 (newsticker-obsolete-item-face, newsticker-date-face)
11592 (newsticker-statistics-face): Change default family from
11593 helvetica to sans.
11594 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
11595 etc/images/newsticker.
11596
11597 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
11598 (newsticker--process-auto-mark-filter-match): Tell user about
11599 auto-marking.
11600
116012011-05-13 Didier Verna <didier@xemacs.org>
11602
11603 Common Lisp indentation improvements on defmethod and lambda-lists.
11604 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
11605 TODO entries.
11606 (lisp-lambda-list-keyword-parameter-indentation)
11607 (lisp-lambda-list-keyword-parameter-alignment)
11608 (lisp-lambda-list-keyword-alignment): New customizable user options.
11609 (lisp-indent-defun-method): Improve docstring.
11610 (extended-loop-p): Fix comment.
11611 (lisp-indent-lambda-list-keywords-regexp): New variable.
11612 (lisp-indent-lambda-list): New function.
11613 (lisp-indent-259): Use it.
11614 (lisp-indent-defmethod): Support for more than one
11615 method qualifier and properly indent methods lambda-lists.
11616 (defgeneric): Provide a missing common-lisp-indent-function property.
11617
116182011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
11621 bounds for the empty string (bug#8667).
11622
116232011-05-13 Glenn Morris <rgm@gnu.org>
11624
11625 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
11626
11627 * mail/sendmail.el (sendmail-program): Try executable-find first.
11628 (sendmail-send-it): `sendmail-program' cannot be unbound.
11629
11630 * calendar/appt.el (appt-make-list): Simplify.
11631 (appt-time-msg-list): Doc fix.
11632 (appt-check): Change mode-line message at the time of the appointment.
11633
116342011-05-12 Andreas Schwab <schwab@linux-m68k.org>
11635
11636 * progmodes/ld-script.el (ld-script-keywords)
11637 (ld-script-builtins): Update keywords list.
11638
116392011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11640
11641 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
11642
11643 * shell.el (shell-completion-vars): New function.
11644 (shell-mode):
11645 * simple.el (read-shell-command): Use it.
11646 (blink-matching-open): No need for " [...]" in minibuffer-message.
11647
116482011-05-12 Glenn Morris <rgm@gnu.org>
11649
11650 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
11651 (appt-check): Simplify.
11652
116532011-05-12 Eli Zaretskii <eliz@gnu.org>
11654
11655 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
11656 literal "/dev/null".
11657
116582011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11659
11660 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
11661 Fix typo.
11662
116632011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
11664
11665 * progmodes/which-func.el (which-function):
11666 Use add-log-current-defun instead of add-log-current-defun-function,
11667 which might not be defined (Bug#8260).
11668
116692011-05-12 Glenn Morris <rgm@gnu.org>
11670
11671 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
11672 Let byte-compile-initial-macro-environment always take precedence.
11673
116742011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
11675
11676 * net/rcirc.el: Add support for SSL/TLS connections.
11677 (rcirc-server-alist): New field `encryption'.
11678 (rcirc): Check `encryption' settings.
11679 (rcirc-connect): New arg `encryption'. Use open-network-stream.
11680 Merge make-local-variable into `set'.
11681 (rcirc--connection-open-p): New function.
11682 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
11683 the process is not a network process (e.g. running gnutls-cli).
11684 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
11685 Make rcirc-(en|de)code-coding-system local here.
11686 (rcirc-mode): Merge make-local-variable into `set'.
11687 (rcirc-parent-buffer): Make permanent buffer-local.
11688 (rcirc-multiline-minor-mode): Don't do it here.
11689 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
11690 there's no server buffer.
11691
116922011-05-11 Glenn Morris <rgm@gnu.org>
11693
11694 * newcomment.el (comment-kill): Prefix "unused" local.
11695
11696 * term/w32console.el (get-screen-color): Declare.
11697
11698 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
11699 Handle symbol elements of byte-compile-initial-macro-environment.
11700
117012011-05-10 Leo Liu <sdl.web@gmail.com>
11702
11703 * bookmark.el (bookmark-bmenu-mode-map):
11704 Bind bookmark-bmenu-search to `/'.
11705
11706 * mail/footnote.el: Convert to utf-8 encoding.
11707 (footnote-unicode-string, footnote-unicode-regexp): New variable.
11708 (Footnote-unicode): New function.
11709 (footnote-style-alist): Add unicode style to the list.
11710 (footnote-style): Doc fix.
11711
117122011-05-10 Jim Meyering <meyering@redhat.com>
11713
11714 Fix doubled-word typos.
11715 * international/quail.el (quail-insert-kbd-layout): and and -> and
11716 * kermit.el: and and -> and
11717 * net/ldap.el (ldap-search-internal): to to -> to
11718 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
11719 * progmodes/js.el (js-mode): and and -> and
11720 * textmodes/artist.el (artist-move-to-xy): at at -> at
11721 (artist-draw-region-trim-line-endings): if if -> if
11722 And Safetyc -> Safety.
11723 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
11724
117252011-05-10 Glenn Morris <rgm@gnu.org>
11726 Stefan Monnier <monnier@iro.umontreal.ca>
11727
11728 * files.el (hack-one-local-variable-eval-safep):
11729 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
11730
117312011-05-10 Glenn Morris <rgm@gnu.org>
11732
11733 * calendar/diary-lib.el (diary-list-entries-hook)
11734 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
11735 (diary-nongregorian-marking-hook, diary-list-entries)
11736 (diary-include-other-diary-files, diary-mark-entries)
11737 (diary-mark-included-diary-files): Doc fixes.
11738
117392011-05-09 Juanma Barranquero <lekktu@gmail.com>
11740
11741 * misc.el: Require tabulated-list.el during compilation.
11742
117432011-05-09 Chong Yidong <cyd@stupidchicken.com>
11744
11745 * progmodes/compile.el (compilation-start):
11746 Run compilation-filter-hook for the async case too.
11747 (compilation-filter-hook): Doc fix.
11748
117492011-05-09 Deniz Dogan <deniz@dogan.se>
11750
11751 * wdired.el: Remove outdated installation comment. Fix usage
11752 comment.
11753
117542011-05-09 Juanma Barranquero <lekktu@gmail.com>
11755
11756 * misc.el: Implement new command `list-dynamic-libraries'.
11757 (list-dynamic-libraries--loaded-only-p): New variable.
11758 (list-dynamic-libraries--refresh): New function.
11759 (list-dynamic-libraries): New command.
11760
117612011-05-09 Chong Yidong <cyd@stupidchicken.com>
11762
11763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11764 Fix the ant regexp to handle end-line and end-column info from jikes.
11765 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
11766 higher priority to avoid clobbering by gnu.
11767
117682011-05-08 Chong Yidong <cyd@stupidchicken.com>
11769
11770 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
11771 if the face has existing theme settings (Bug#8454).
11772
117732011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
11774
11775 * progmodes/perl-mode.el (perl-imenu-generic-expression):
11776 Only match variables declared via `my' or `our' (Bug#8261).
11777
11778 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
11779 special file names `.' and `..' (Bug#8259).
11780
117812011-05-08 Chong Yidong <cyd@stupidchicken.com>
11782
11783 * progmodes/grep.el (grep-mode-font-lock-keywords):
11784 Remove buffer-changing entries.
11785 (grep-filter): New function.
11786 (grep-mode): Add it to compilation-filter-hook.
11787
11788 * progmodes/compile.el (compilation-filter-hook)
11789 (compilation-filter-start): New defvars.
11790 (compilation-filter): Call compilation-filter-hook prior to
11791 updating the process mark.
11792
117932011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
11796
117972011-05-07 Eli Zaretskii <eliz@gnu.org>
11798
11799 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
11800 mailclient-send-it even if window-system is nil. (Bug#8595)
11801
11802 * term/w32console.el (terminal-init-w32console):
11803 Call get-screen-color and use its output to set the frame
11804 background-mode. (Bug#8597)
11805
118062011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11807
11808 Make bytecomp.el understand that defmethod defines funs (bug#8631).
11809 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
11810 New functions.
11811 (defgeneric, eieio--defmethod): Use them.
11812 (eieio-defgeneric): Remove.
11813 (defmethod): Call defgeneric in a way visible to the byte-compiler.
11814
118152011-05-07 Glenn Morris <rgm@gnu.org>
11816
11817 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
11818 Use let rather than let*.
11819 (timeclock-find-discrep): Remove unused local.
11820
11821 * calendar/diary-lib.el (diary-comment-start): Doc fix.
11822
11823 * calendar/appt.el (appt-time-msg-list): Doc fix.
11824
118252011-05-06 Noah Friedman <friedman@splode.com>
11826
11827 * apropos.el (apropos-print-doc): Only use
11828 emacs-lisp-docstring-fill-column when it is bound to an integer,
11829 per that variable's documentation.
11830
118312011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11832
11833 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
11834 and warnings are not silently discarded (e.g. use -d instead of -P).
11835
118362011-05-06 Glenn Morris <rgm@gnu.org>
11837
11838 * calendar/appt.el (appt-message-warning-time): Doc fix.
11839 (appt-warning-time-regexp): New option.
11840 (appt-make-list): Respect appt-message-warning-time.
11841
11842 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
11843 New options.
11844 (diary-add-to-list): Strip comments from the displayed string.
11845 (diary-mode): Set comment-start and comment-end.
11846
11847 * vc/diff-mode.el (smerge-refine-subst): Declare.
11848 (diff-refine-hunk): Don't require smerge-mode when compiling.
11849
118502011-05-06 Juanma Barranquero <lekktu@gmail.com>
11851
11852 * simple.el (list-processes): Return nil as the docstring says.
11853
118542011-05-05 Michael Albinus <michael.albinus@gmx.de>
11855
11856 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
11857 to "".
11858 (ange-ftp-write-region, ange-ftp-insert-file-contents)
11859 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
11860 determining of binary transfer. (Bug#7383)
11861
118622011-05-05 Michael Albinus <michael.albinus@gmx.de>
11863
11864 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
11865 Fix port computation bug. (Bug#8618)
11866
118672011-05-05 Glenn Morris <rgm@gnu.org>
11868
11869 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
11870
11871 * simple.el (shell-dynamic-complete-functions)
11872 (comint-dynamic-complete-functions): Declare.
11873
11874 * net/network-stream.el (gnutls-negotiate):
11875 * simple.el (tabulated-list-print): Fix declarations.
11876
11877 * progmodes/gud.el (syntax-symbol, syntax-point):
11878 Remove unnecessary and incorrect declarations.
11879
11880 * emacs-lisp/check-declare.el (check-declare-scan):
11881 Handle byte-compile-initial-macro-environment in bytecomp.el
11882
118832011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 Fix earlier half-done eieio-defmethod change (bug#8338).
11886 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
11887 Streamline and change calling convention.
11888 (defmethod): Adjust accordingly and simplify.
11889 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
11890 new eieio--defmethod.
11891 (slot-boundp): Minor CSE simplification.
11892
118932011-05-05 Milan Zamazal <pdm@zamazal.org>
11894
11895 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
11896 (glasses-make-readable): Use glasses-separate-capital-groups.
11897
118982011-05-05 Juanma Barranquero <lekktu@gmail.com>
11899
11900 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
11901 (warning-series): Doc fix.
11902 (display-warning): Don't try to create the buffer if we just found it.
11903
119042011-05-04 Chong Yidong <cyd@stupidchicken.com>
11905
11906 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
11907 (autoload-find-generated-file): New function.
11908 (generate-file-autoloads): Bind generated-autoload-file to
11909 buffer-file-name.
11910 (update-file-autoloads, update-directory-autoloads):
11911 Use autoload-find-generated-file. If called interactively, prompt for
11912 output file (Bug#7989).
11913 (batch-update-autoloads): Doc fix.
11914
119152011-05-04 Juanma Barranquero <lekktu@gmail.com>
11916
11917 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
11918
119192011-05-04 Glenn Morris <rgm@gnu.org>
11920
11921 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
11922 function, so it follows changes in calendar-date-style.
11923 (diary-fancy-date-matcher): New function.
11924 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
11925 (diary-fancy-font-lock-fontify-region-function):
11926 Use diary-fancy-date-pattern as a function.
11927
11928 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
11929 non-numbers for `year' etc pseudo-variables. (Bug#8583)
11930
119312011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
11932
11933 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
11934 instead of positional arguments. Allow :keylist and :crlfiles
11935 arguments.
11936 (open-gnutls-stream): Call it.
11937
11938 * net/network-stream.el (network-stream-open-starttls): Adjust to
11939 call `gnutls-negotiate' with :process and :hostname arguments.
11940
119412011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11942
11943 * minibuffer.el (completion--message): New function.
11944 (completion--do-completion, minibuffer-complete)
11945 (minibuffer-force-complete, minibuffer-complete-word): Use it.
11946 (completion--do-completion): Don't ignore completion-auto-help when in
11947 icomplete-mode.
11948
11949 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
11950 internal encoding (e.g. tibetan zero is not whitespace).
11951 (global-whitespace-mode): Prefer save-current-buffer.
11952 (whitespace-trailing-regexp): Remove useless save-match-data.
11953 (whitespace-empty-at-bob-regexp): Minor simplification.
11954
119552011-05-03 Chong Yidong <cyd@stupidchicken.com>
11956
11957 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
11958
119592011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11960
11961 * textmodes/ispell.el (ispell-add-per-file-word-list):
11962 Use `concat' to create string for insertion.
11963
119642011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
11967 Avoid open-line which runs post-self-insert-hook.
11968 (bibtex-fill-entry): Remove unused `end' var.
11969
119702011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
11971
11972 * textmodes/ispell.el (ispell-add-per-file-word-list):
11973 Protect against `nil' value of `comment-start' (Bug#8579).
11974
119752011-05-03 Leo Liu <sdl.web@gmail.com>
11976
11977 * isearch.el (isearch-yank-pop): New command.
11978 (isearch-mode-map): Bind it to `M-y'.
11979 (isearch-forward): Mention it.
11980
119812011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * simple.el (minibuffer-complete-shell-command): Remove.
11984 (minibuffer-local-shell-command-map): Use completion-at-point.
11985 (read-shell-command): Setup completion vars here instead.
11986 (read-expression-map): Bind TAB to symbol completion.
11987
11988 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
11989 error directly rather via storing it into `results'.
11990
119912011-05-02 Leo Liu <sdl.web@gmail.com>
11992
11993 * vc/diff.el: Fix description.
11994
119952011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11996
11997 * server.el (server-eval-at): New function.
11998
119992011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12000
12001 * net/network-stream.el (open-network-stream): Take a :nowait
12002 parameter and pass it on to `make-network-process'.
12003 (network-stream-open-plain): Ditto.
12004
120052011-04-30 Andreas Schwab <schwab@linux-m68k.org>
12006
12007 * faces.el (face-spec-set-match-display): Don't match toolkit
12008 options on terminal frames.
12009
120102011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
12011
12012 * progmodes/pascal.el: Use lexical binding.
12013 (pascal-mode-map): Remove author preferences.
12014
12015 * pcomplete.el (pcomplete-std-complete): Don't abuse
12016 completion-at-point.
12017
120182011-04-28 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
12021 removing code that has been dead since 1991 or so.
12022
12023 * startup.el (command-line): When warning about "_emacs", use a
12024 delayed warning to allow the user to filter it out.
12025
120262011-04-28 Deniz Dogan <deniz@dogan.se>
12027
12028 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
12029 user has not joined.
12030
120312011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
12034 aren't any completions at point.
12035
120362011-04-28 Juanma Barranquero <lekktu@gmail.com>
12037
12038 * subr.el (display-delayed-warnings): New function.
12039 (delayed-warnings-hook): New variable.
12040
120412011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12042
12043 * minibuffer.el (completion-at-point, completion-help-at-point):
12044 Don't presume that a given completion-at-point-function will always
12045 use the same calling convention.
12046
12047 * pcomplete.el (pcomplete-completions-at-point):
12048 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
12049 pcomplete-seen is non-nil.
12050 (pcomplete-comint-setup): Also recognize the new comint/shell
12051 completion functions.
12052 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
12053 pcomplete-seen is non-nil.
12054
120552011-04-27 Niels Giesen <niels.giesen@gmail.com>
12056
12057 * calendar/icalendar.el (diary-lib): Add require statement.
12058 (icalendar--create-uid): Read out a uid from a text-property on
12059 the first character in the entry. This allows for code to add its
12060 own uid to the entry.
12061 (icalendar--convert-float-to-ical): Add export of
12062 `diary-float'-entries save for those with the optional DAY
12063 argument.
12064
120652011-04-27 Daniel Colascione <dan.colascione@gmail.com>
12066
12067 * subr.el (shell-quote-argument): Use alternate escaping strategy
12068 when we spot a variable reference in a string.
12069
120702011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12071
12072 * cus-start.el (all): Define customization for debug-on-event.
12073
120742011-04-26 Daniel Colascione <dan.colascione@gmail.com>
12075
12076 * subr.el (shell-quote-argument): Escape correctly under Windows.
12077
120782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12079
12080 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
12081
120822011-04-25 Michael Albinus <michael.albinus@gmx.de>
12083
12084 * net/tramp.el (tramp-process-actions): Add POS argument.
12085 Delete region between POS and (pos).
12086
12087 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12088 Use `nil' position in `tramp-process-actions' call.
12089 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
12090
12091 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
12092 position in `tramp-process-actions' call.
12093
12094 * net/trampver.el: Update release number.
12095
120962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * custom.el (defcustom): Obey lexical-binding.
12099
12100 Fix octave-inf completion problems reported by Alexander Klimov.
12101 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
12102 Inherit from octave-mode-syntax-table.
12103 (inferior-octave-mode): Set info-lookup-mode.
12104 (inferior-octave-completion-at-point): New function.
12105 (inferior-octave-complete): Use it and completion-in-region.
12106 (inferior-octave-dynamic-complete-functions): Use it as well, and use
12107 comint-filename-completion.
12108 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
12109 symbol elements which shouldn't be word elements.
12110 (octave-font-lock-keywords, octave-beginning-of-defun)
12111 (octave-function-header-regexp): Adjust regexps accordingly.
12112 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
12113
121142011-04-25 Juanma Barranquero <lekktu@gmail.com>
12115
12116 * net/gnutls.el (gnutls-errorp): Declare before first use.
12117
121182011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
12119
12120 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
12121 verify-error, and verify-hostname-error parameters. Check whether
12122 default trustfile exists before going to use it. Add missing
12123 argument to gnutls-message-maybe call. Return value.
12124 Reported by Claudio Bley <claudio.bley@gmail.com>.
12125 (open-gnutls-stream): Add usage example.
12126
12127 * net/network-stream.el (network-stream-open-starttls): Give host
12128 parameter to `gnutls-negotiate'.
12129 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
12130 * subr.el (shell-quote-argument): Escape correctly under Windows.
12131
121322011-04-24 Daniel Colascione <dan.colascione@gmail.com>
12133
12134 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
12135 Use correct match group (bug#8438).
12136
121372011-04-24 Chong Yidong <cyd@stupidchicken.com>
12138
12139 * emacs-lisp/package.el (package-built-in-p): Fix typo.
12140 (package-menu--generate): New arg specifying packages to show.
12141 (package-menu-refresh, package-menu-execute, list-packages):
12142 Callers changed.
12143 (package-show-package-list): New function, replacing deleted
12144 package--list-packages (renamed because it is non-internal).
12145
12146 * finder.el (finder-list-matches): Use package-show-package-list
12147 instead of deleted package--list-packages.
12148
12149 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
12150 Based on a previous implementation by Juanma Barranquero (Bug#8366).
12151 (vc-annotate-mode-map): Bind it to RET.
12152
121532011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
12154
12155 * progmodes/etags.el (next-file): Don't use set-buffer to change
12156 buffers (Bug#8478).
12157
121582011-04-24 Chong Yidong <cyd@stupidchicken.com>
12159
12160 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
12161
12162 * apropos.el (apropos-label-face): Avoid variable-pitch face.
12163 (apropos-accumulator): Doc fix.
12164 (apropos-function, apropos-macro, apropos-command)
12165 (apropos-variable, apropos-face, apropos-group, apropos-widget)
12166 (apropos-plist): Add face property.
12167 (apropos-symbols-internal): Fix indentation.
12168 (apropos-print): Simplify help, and recognize apropos-multi-type.
12169 (apropos-print-doc): Use button-type-get to extract the button's
12170 face property. Fill docstring (Bug#8352).
12171
121722011-04-23 Juanma Barranquero <lekktu@gmail.com>
12173
12174 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
12175
12176 * play/mpuz.el (mpuz-silent): Doc fix.
12177 (mpuz-mode-map): Use mapc.
12178 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
12179 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
12180 Fix typos in docstrings.
12181
12182 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
12183 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
12184
12185 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
12186
121872011-04-23 Chong Yidong <cyd@stupidchicken.com>
12188
12189 * minibuffer.el (completion--do-completion): Avoid the "Next char
12190 not unique" prompt if icomplete-mode is enabled (Bug#5849).
12191
12192 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
12193 mouse-2 into unread-command-events, it is interpreted correctly.
12194
12195 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
12196 (image-toggle-display): Doc fix.
12197
121982011-04-23 Stephen Berman <stephen.berman@gmx.net>
12199
12200 * textmodes/page.el (what-page): Use line-number-at-pos to
12201 calculate line number (Bug#6825).
12202
122032011-04-22 Juanma Barranquero <lekktu@gmail.com>
12204
12205 * eshell/esh-mode.el (find-tag-interactive): Declare function.
12206 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
12207 Pass argument NO-DEFAULT to `find-tag-interactive'.
12208
122092011-04-22 Juanma Barranquero <lekktu@gmail.com>
12210
12211 Lexical-binding cleanup.
12212
12213 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
12214 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
12215 * progmodes/ada-prj.el (ada-prj-initialize-values)
12216 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
12217 (ada-prj-show-value):
12218 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
12219 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
12220 (antlr-invalidate-context-cache, antlr-options-menu-filter)
12221 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
12222 * progmodes/bug-reference.el (bug-reference-push-button):
12223 * progmodes/fortran.el (fortran-line-length):
12224 * progmodes/glasses.el (glasses-change):
12225 * progmodes/octave-mod.el (octave-fill-paragraph):
12226 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
12227 (python-pdbtrack-grub-for-buffer, python-sentinel):
12228 * progmodes/sql.el (sql-save-connection):
12229 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
12230 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
12231 Mark unused parameters.
12232
12233 * progmodes/compile.el (compilation--flush-directory-cache)
12234 (compilation--flush-parse, compile-internal): Mark unused parameters.
12235 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
12236 (compilation-next-error-function): Remove unused variable `timestamp'.
12237
12238 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
12239 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
12240
12241 * progmodes/dcl-mode.el (dcl-end-of-command):
12242 Remove unused variable `start'.
12243 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
12244 (dcl-option-value-basic, dcl-option-value-offset)
12245 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
12246 Mark unused parameters.
12247 (dcl-save-local-variable): Remove unused variable `val'.
12248 (mode): Declare.
12249
12250 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
12251 Mark unused parameters.
12252 (delphi-ignore-changes): Move before first use.
12253 (delphi-charset-token-at): Remove unused variable `start'.
12254 (delphi-else-start): Remove unused variable `if-count'.
12255 (delphi-comment-block-start, delphi-comment-block-end):
12256 Remove unused variable `kind'.
12257 (delphi-indent-line): Remove unused variable `new-point'.
12258
12259 * progmodes/ebrowse.el (ebrowse-files-list)
12260 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
12261 Mark unused parameters. Don't quote `lambda'.
12262 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
12263 Don't quote `lambda'.
12264 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
12265 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
12266 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
12267 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
12268 Use `ignore-errors'.
12269 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
12270 (ebrowse-view/find-file-and-search-pattern)
12271 (ebrowse-view/find-member-declaration/definition):
12272 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
12273 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
12274 Rename parameter PREFIX-ARG to PREFIX.
12275 (ebrowse-tags-read-name): Remove unused variables `start' and
12276 `member-info'.
12277 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
12278 to `tags-file'.
12279
12280 * progmodes/etags.el (local-find-tag-hook): Declare.
12281 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
12282 Mark unused parameters.
12283
12284 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
12285 (executable-interpret): Mark unused parameter.
12286
12287 * progmodes/flymake.el (flymake-process-sentinel)
12288 (flymake-after-change-function)
12289 (flymake-create-temp-with-folder-structure)
12290 (flymake-get-include-dirs-dot): Mark unused parameters.
12291 (flymake-safe-delete-directory): Remove unused variable `err'.
12292
12293 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
12294 (speedbar-timer-fn, speedbar-line-text)
12295 (speedbar-change-expand-button-char, speedbar-delete-subblock)
12296 (speedbar-center-buffer-smartly): Declare functions.
12297 (gdb-find-watch-expression): Remove unused variable `array'.
12298 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
12299 (gdb-starting): Mark unused parameters.
12300 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
12301 (gdb-table-string): Remove unused variable `res'.
12302 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
12303 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
12304 (gdb-display-buffer): Remove unused variable `cur-size'.
12305
12306 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
12307 allow lexical-binding compilation.
12308 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
12309 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
12310 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
12311 Mark unused parameters.
12312 (gud-gdb-marker-filter): Remove unused variable `match'.
12313 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
12314 lambda expressions and funcall them, instead of using `fset'.
12315
12316 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
12317 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
12318
12319 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
12320 variable `header-beg'; use `let'.
12321
12322 * progmodes/icon.el (indent-icon-exp): Remove unused variables
12323 `restart', `last-sexp' and `at-do'.
12324
12325 * progmodes/js.el (js--debug): Mark unused parameter.
12326 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
12327 (js--splice-into-items): Remove unused variable `item'.
12328 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
12329
12330 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
12331 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
12332 (makefile-complete): Remove unused variable `try'.
12333 (makefile-fill-paragraph, makefile-match-function-end):
12334 Mark unused parameters.
12335
12336 * progmodes/octave-inf.el (inferior-octave-complete):
12337 Remove unused variable `proc'.
12338 (inferior-octave-output-digest): Mark unused parameter.
12339
12340 * progmodes/perl-mode.el (perl-calculate-indent):
12341 Remove unused variable `err'.
12342
12343 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
12344 (prolog-indent-line): Mark unused parameters.
12345 (prolog-indent-line): Remove unused variable `beg'.
12346
12347 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
12348 (reporter-dont-compact-list): Declare.
12349
12350 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
12351 Remove unused variable `char'.
12352 (sh-debug): Mark unused parameter.
12353 (sh-get-indent-info): Remove unused variable `start'.
12354 (sh-calculate-indent): Remove unused variable `var'.
12355
12356 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
12357 (simula-electric-keyword): Remove unused variable `null'.
12358 (simula-search-backward, simula-search-forward): Remove unused
12359 variables `begin' and `end'.
12360
12361 * progmodes/vera-mode.el (vera-guess-basic-syntax):
12362 Remove unused variable `pos'.
12363 (vera-electric-tab, vera-comment-uncomment-region):
12364 Mark unused parameters.
12365 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
12366
123672011-04-22 Chong Yidong <cyd@stupidchicken.com>
12368
12369 * emacs-lisp/package.el (package--builtins, package-alist)
12370 (package-load-descriptor, package-built-in-p, package-activate)
12371 (define-package, package-installed-p)
12372 (package-compute-transaction, package-buffer-info)
12373 (package--push): Doc fix. Distinguish more clearly between
12374 version strings and version lists.
12375
123762011-04-21 Juanma Barranquero <lekktu@gmail.com>
12377
12378 Lexical-binding cleanup.
12379
12380 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
12381 (5x5-make-mutate-best):
12382 * play/fortune.el (fortune-in-buffer):
12383 * play/gomoku.el (gomoku-init-display):
12384 * play/solitaire.el (solitaire, solitaire-do-check):
12385 * play/tetris.el (tetris-default-update-speed-function):
12386 Mark unused parameters.
12387
12388 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
12389 (bubbles--shift): Remove unused variable `char-org'.
12390 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
12391 (bubbles--show-images): Remove unused variable `char'.
12392
12393 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
12394 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
12395 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
12396 (decipher-analyze-buffer): Use ?\s.
12397 (decipher-make-checkpoint): Remove unused variable `mapping'.
12398
12399 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
12400
12401 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
12402 Remove unused variable `result'; use `let'.
12403
12404 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
12405 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
12406 (gametree-children-shown-p, gametree-compute-reduced-score):
12407 Use `ignore-errors'.
12408
12409 * play/handwrite.el (ps-lpr-switches): Declare.
12410 (handwrite): Remove unused variables `pmin' and `lastp'.
12411
12412 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
12413
12414 * play/landmark.el (landmark-init-display)
12415 (landmark-update-naught-weights): Mark unused parameters.
12416 (landmark-y): Remove unused variable `noise'. Simplify.
12417 (landmark-human-plays): Remove unused variable `score'.
12418
12419 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
12420 (mpuz-try-proposal): Remove unused variable `game'.
12421
12422 * play/zone.el (life-patterns): Declare.
12423
124242011-04-20 Juanma Barranquero <lekktu@gmail.com>
12425
12426 * vc/vc.el (ediff-vc-internal): Declare function.
12427
124282011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12429
12430 * shell.el: Use lexical-binding and std completion UI.
12431 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
12432 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
12433 comint-preoutput-filter-functions rather than on
12434 comint-output-filter-functions.
12435 (shell-command-completion, shell--command-completion-data)
12436 (shell-filename-completion, shell-environment-variable-completion)
12437 (shell-c-a-p-replace-by-expanded-directory): New functions.
12438 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
12439 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
12440 (shell-dynamic-complete-environment-variable): Use them.
12441 (shell-dynamic-complete-as-environment-variable)
12442 (shell-dynamic-complete-as-command): Remove.
12443 (shell-match-partial-variable): Match past point.
12444 * comint.el: Clean up use of completion-at-point-functions.
12445 (comint-completion-at-point): New function.
12446 (comint-mode): Use it completion-at-point-functions.
12447 (comint-dynamic-complete): Make it obsolete.
12448 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
12449 (comint-c-a-p-replace-by-expanded-history): New function.
12450 (comint-dynamic-complete-functions)
12451 (comint-replace-by-expanded-history): Use it.
12452 * minibuffer.el (completion-table-with-terminator): Allow dynamic
12453 termination strings. Try harder to avoid second try-completion.
12454 (completion-in-region-mode-map): Disable bindings that don't work yet.
12455
12456 * comint.el: Use lexical-binding. Require CL.
12457 (comint-dynamic-complete-functions): Use comint-filename-completion.
12458 (comint-completion-addsuffix): Tweak custom type.
12459 (comint-filename-completion, comint--common-suffix)
12460 (comint--common-quoted-suffix, comint--table-subvert)
12461 (comint--complete-file-name-data): New functions.
12462 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
12463 (comint-dynamic-list-filename-completions): Use them.
12464 (comint-dynamic-simple-complete): Make obsolete.
12465
12466 * minibuffer.el (completion-in-region-mode):
12467 Keep completion-in-region-mode--predicate global.
12468 (completion-in-region--postch):
12469 Assume completion-in-region-mode--predicate is not null.
12470
12471 * progmodes/flymake.el (flymake-start-syntax-check-process):
12472 Obey `dir'. Simplify.
12473
12474 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
12475 we're in VC after all.
12476
124772011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
12478
12479 * vc/vc.el (vc-diff-build-argument-list-internal)
12480 (vc-version-ediff, vc-ediff): New commands.
12481 (vc-version-diff): Use vc-diff-build-argument-list-internal.
12482
124832011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12484
12485 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
12486 add sanity check.
12487
12488 * obsolete/erc-hecomplete.el: Make obsolete.
12489 * obsolete/: Standardize obsolescence info in the header.
12490
124912011-04-20 Glenn Morris <rgm@gnu.org>
12492
12493 * calendar/solar.el (solar-horizontal-coordinates):
12494 Use the longitude argument rather than `calendar-longitude'.
12495 (solar-date-next-longitude): Remove unused locals.
12496
124972011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
12498
12499 * whitespace.el: New version 13.2.1.
12500
125012011-04-20 felix <EmacsWiki> (tiny change)
12502
12503 * whitespace.el (global-whitespace-mode): Keep highlight when
12504 switching between major modes on a file.
12505
125062011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12507
12508 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
12509 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
12510 multi-line comments as well.
12511
125122011-04-19 Juanma Barranquero <lekktu@gmail.com>
12513
12514 Lexical-binding cleanup.
12515
12516 * arc-mode.el (archive-mode-revert):
12517 * cmuscheme.el (scheme-interactively-start-process):
12518 * custom.el (custom-initialize-delay):
12519 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
12520 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
12521 * emacs-lock.el (emacs-lock-clear-sentinel):
12522 * ezimage.el (defezimage):
12523 * follow.el (follow-avoid-tail-recenter):
12524 * fringe.el (set-fringe-mode-1):
12525 * generic-x.el (bat-generic-mode-compile):
12526 * help-mode.el (help-info-variable, help-do-xref)
12527 (help-mode-revert-buffer):
12528 * help.el (view-emacs-todo):
12529 * iswitchb.el (iswitchb-completion-help):
12530 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
12531 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
12532 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
12533 * locate.el (locate-update):
12534 * longlines.el (longlines-encode-region)
12535 (longlines-after-change-function):
12536 * outline.el (outline-isearch-open-invisible):
12537 * ps-def.el (declare-function, charset-dimension, char-width)
12538 (encode-char):
12539 * ps-mule.el (ps-mule-plot-string):
12540 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
12541 (recentf-edit-list-select, recentf-edit-list-validate)
12542 (recentf-open-files-action):
12543 * rect.el (delete-whitespace-rectangle-line)
12544 (rectangle-number-line-callback):
12545 * register.el (window-configuration-to-register)
12546 (frame-configuration-to-register):
12547 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
12548 * select.el (xselect-convert-to-string, xselect-convert-to-length)
12549 (xselect-convert-to-targets, xselect-convert-to-delete)
12550 (xselect-convert-to-filename, xselect-convert-to-charpos)
12551 (xselect-convert-to-lineno, xselect-convert-to-colno)
12552 (xselect-convert-to-os, xselect-convert-to-host)
12553 (xselect-convert-to-user, xselect-convert-to-class)
12554 (xselect-convert-to-name, xselect-convert-to-integer)
12555 (xselect-convert-to-atom, xselect-convert-to-identity):
12556 * subr.el (declare, ignore, process-kill-without-query)
12557 (text-clone-maintain):
12558 * terminal.el (te-get-char, te-tic-sentinel):
12559 * tool-bar.el (tool-bar-make-keymap):
12560 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
12561 * type-break.el (type-break-mode, type-break-noninteractive-query):
12562 * view.el (View-back-to-mark):
12563 * wid-browse.el (widget-browse-action, widget-browse-widget)
12564 (widget-browse-widgets, widget-browse-sexp):
12565 * widget.el (define-widget-keywords):
12566 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
12567 Mark unused parameters.
12568
12569 * align.el (align-adjust-col-for-rule): Mark unused parameter.
12570 (align-areas): Remove unused variable `look'.
12571 (align-region): Remove unused variables `real-end' and `pos-list'.
12572
12573 * apropos.el (apropos-score-doc): Remove unused variable `i'.
12574
12575 * bindings.el (mode-line-modified, mode-line-remote):
12576 Mark unused parameters.
12577 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
12578
12579 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
12580 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
12581
12582 * comint.el (comint-history-isearch-pop-state)
12583 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
12584 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
12585 (comint-substitute-in-file-name): Doc fix.
12586
12587 * completion.el (cmpl-statistics-block): Mark unused parameter.
12588 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
12589 (save-completions-to-file, load-completions-from-file):
12590 Remove unused local variable `e'.
12591
12592 * composite.el (compose-chars): Remove unused variable `len'.
12593 (lgstring-insert-glyph): Remove unused variable `g'.
12594 (compose-glyph-string): Remove unused variables `ascent',
12595 `descent', `lbearing' and `rbearing'.
12596 (compose-glyph-string-relative): Remove unused variables
12597 `lbearing', `rbearing' and `wadjust'.
12598 (compose-gstring-for-graphic): Remove unused variables `header',
12599 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
12600 (compose-gstring-for-terminal): Remove unused variables `header'
12601 and `nchars'. Use `let', not `let*'.
12602
12603 * cus-edit.el (Custom-set, Custom-save, custom-reset)
12604 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
12605 (Custom-buffer-done, custom-buffer-create-internal)
12606 (custom-browse-visibility-action, custom-browse-group-tag-action)
12607 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
12608 (widget-magic-mouse-down-action, custom-toggle-parent)
12609 (custom-add-parent-links, custom-toggle-hide-variable)
12610 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
12611 (custom-toggle-hide-face, face, hook, custom-group-link-action)
12612 (custom-face-menu-create, custom-variable-menu-create, get)
12613 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
12614 (custom-reset-standard-save-and-update): Remove unused variable `value'.
12615 (customize-apropos): Remove unused variable `tests'.
12616 (custom-group-value-create): Remove unused variable `hidden-p'.
12617 (sort-fold-case): Declare.
12618
12619 * cus-theme.el (custom-reset-standard-faces-list)
12620 (custom-reset-standard-variables-list): Declare.
12621 (customize-create-theme, custom-theme-revert, custom-theme-write)
12622 (custom-theme-choose-mode, customize-themes, custom-theme-save):
12623 Mark unused parameters.
12624
12625 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
12626
12627 * delim-col.el (delimit-columns-max): Move defvar before first use.
12628
12629 * descr-text.el (describe-char-categories): Don't quote `lambda'.
12630 (describe-char): Don't quote `lambda'. Mark unused parameter.
12631
12632 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
12633 (auto-insert): Declare.
12634 (desktop-restore-file-buffer): Rename desktop-* parameters;
12635 mark unused ones.
12636 (desktop-create-buffer): Rename desktop-* parameters and bind them.
12637 (desktop-buffer): Rename desktop-* parameters.
12638
12639 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
12640 (dframe-reposition-frame-xemacs, dframe-help-echo)
12641 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
12642 Mark unused parameters.
12643
12644 * dired-aux.el (backup-extract-version-start, overwrite-query)
12645 (overwrite-backup-query, rename-regexp-query)
12646 (rename-non-directory-query): Declare.
12647 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
12648 (dired-add-entry): Remove unused variable `orig-file-name'.
12649 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
12650 Use parameter PRESERVE-TIME instead of accessing dynamic variable
12651 `dired-copy-preserve-time' directly.
12652 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
12653 (dired-insert-subdir-newpos): Rename unused variable `pos'.
12654
12655 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
12656 (dired-virtual-revert, dired-make-relative-symlink):
12657 Mark unused parameters.
12658 (manual-program): Declare.
12659 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
12660 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
12661 wrapped in `with-no-warnings' to avoid replacing one warning by another.
12662
12663 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
12664
12665 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
12666
12667 * echistory.el (electric-history-in-progress, Helper-return-blurb):
12668 Declare.
12669
12670 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
12671
12672 * electric.el (Electric-command-loop): Rename parameter
12673 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
12674
12675 * expand.el (expand-in-literal): Remove unused variable `here'.
12676
12677 * facemenu.el (facemenu-add-new-color):
12678 Remove unused variable `docstring'.
12679
12680 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
12681 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
12682 (face-attr-construct): Mark unused parameter. Doc fix.
12683 (read-color): Remove unused variable `hex-string'.
12684
12685 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
12686 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
12687 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
12688 (display-buffer-other-frame): Remove unused variable `old-window'.
12689 (kill-buffer-hook): Declare.
12690 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
12691 Mark unused parameters.
12692 (after-find-file): Pass 1 to `auto-save-mode', not t.
12693
12694 * files-x.el (auto-insert): Declare.
12695 (modify-file-local-variable-prop-line): Remove unused variable `val'.
12696
12697 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
12698 variable `buf'. Mark unused parameter.
12699 (find-lisp-insert-directory): Mark unused parameter.
12700
12701 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
12702 (format-encode-region): Remove unused variables `cur-buf' and `result'.
12703 (format-common-tail): Remove, unused.
12704 (format-deannotate-region): Remove unused variable `loc'.
12705 (format-annotate-region): Remove unused variable `p'.
12706 (format-annotate-single-property-change): Remove unused variables
12707 `default' and `tail'.
12708
12709 * forms.el (read-file-filter): Declare.
12710 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
12711
12712 * frame.el (frame-creation-function-alist): Mark unused parameter.
12713 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
12714
12715 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
12716 Remove unused parameters.
12717 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
12718 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
12719
12720 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
12721 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
12722 (hfy-prepare-tag-map): Mark unused parameters.
12723 (htmlfontify-buffer): Use `called-interactively-p'.
12724
12725 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
12726 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
12727 (ibuffer-do-occur): Mark unused parameters.
12728 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
12729 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
12730
12731 * ibuffer.el: Don't quote `lambda'.
12732 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
12733 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
12734 Mark unused parameters.
12735
12736 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
12737 (ido-completing-read): Mark unused parameters.
12738 (ido-copy-current-word): Mark unused parameters;
12739 remove unused variable `name'.
12740 (ido-sort-merged-list): Remove unused parameter `dirs'.
12741
12742 * ielm.el (ielm-input-sender): Mark unused parameter.
12743 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
12744 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
12745 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
12746 `ielm-string' as a dynamic variable accessible from the IELM prompt.
12747 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
12748
12749 * image-dired.el (image-dired-display-thumbs): Remove unused
12750 variables `curr-file' and `count'.
12751 (image-dired-remove-tag): Remove unused variable `start'.
12752 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
12753 variable `curr-file'
12754 (image-dired-rotate-original): Remove unused variable `temp-file'.
12755 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
12756 Remove unused variable `file'.
12757 (image-dired-gallery-generate): Remove unused variable `curr'.
12758 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
12759
12760 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
12761
12762 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
12763
12764 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
12765
12766 * isearch.el (minibuffer-history-symbol): Declare.
12767 (isearch-edit-string): Remove unused variable `err'.
12768 (isearch-message-prefix, isearch-message-suffix):
12769 Mark unused parameters.
12770
12771 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
12772
12773 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
12774
12775 * makesum.el (double-column): Remove unused variable `cnt'.
12776
12777 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
12778 (ido-ignore-item-temp-list): Declare.
12779
12780 * mouse-drag.el (mouse-drag-throw): Remove unused variables
12781 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
12782 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
12783 (mouse-drag-drag): Remove unused variables `mouse-delta' and
12784 `mouse-col-delta'.
12785
12786 * mouse-sel.el (mouse-extend-internal):
12787 Remove unused variable `orig-window-frame'.
12788
12789 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
12790 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
12791 Move declarations before first use.
12792 (pcomplete-opt): Mark unused parameters; doc fix.
12793
12794 * proced.el (proced-revert): Mark unused parameter.
12795 (proced-send-signal): Remove unused variable `err'.
12796
12797 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
12798 Rename parameter PREFIX-ARG to ARG.
12799 (ps-basic-plot-string, ps-basic-plot-whitespace):
12800 Mark unused parameters.
12801
12802 * replace.el (replace-count): Define.
12803 (occur-revert-function): Mark unused parameters.
12804 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
12805 (isearch-case-fold-search, isearch-string): Declare.
12806 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
12807 bind `case-fold-search'. Remove unused variables `beg' and `end',
12808 and simplify.
12809 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
12810 COUNT and bind `replace-count'.
12811 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
12812 to COUNT.
12813
12814 * savehist.el (print-readably, print-string-length): Declare.
12815
12816 * shadowfile.el (shadow-expand-cluster-in-file-name):
12817 Remove unused variable `cluster'.
12818 (shadow-copy-file): Remove unused variable `i'.
12819 (shadow-noquery, shadow-clusters, shadow-site-cluster)
12820 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
12821 (shadow-define-literal-group, shadow-define-regexp-group)
12822 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
12823
12824 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
12825 (shell): Use `called-interactively-p'.
12826 (shell-directory-tracker): Remove unused variable `chdir-failure'.
12827
12828 * simple.el (compilation-context-lines, comint-file-name-quote-list)
12829 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
12830 (delete-backward-char): Remove unused variable `ocol'.
12831 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
12832 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
12833 (event-apply-hyper-modifier, event-apply-shift-modifier)
12834 (event-apply-control-modifier, event-apply-meta-modifier):
12835 Mark unused parameters.
12836 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
12837 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
12838
12839 * speedbar.el (speedbar-ignored-directory-expressions)
12840 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
12841 (speedbar-find-file, speedbar-dir-follow)
12842 (speedbar-directory-buttons-follow, speedbar-tag-find)
12843 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
12844 (speedbar-buffers-line-directory, speedbar-buffer-click):
12845 Mark unused parameters.
12846 (speedbar-tag-file): Remove unused variable `mode'.
12847 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
12848
12849 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
12850
12851 * talk.el (talk): Remove unused variable `display'.
12852
12853 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
12854 (tar-write-region-annotate): Mark unused parameter.
12855
12856 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
12857 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
12858 Declare them, wrapped in `with-no-warnings' to avoid replacing one
12859 warning by another.
12860
12861 * time-stamp.el (time-stamp-string-preprocess):
12862 Remove unused variable `require-padding'.
12863
12864 * tree-widget.el (widget-glyph-enable): Declare.
12865 (tree-widget-action): Mark unused parameter.
12866
12867 * w32-fns.el (x-get-selection): Mark unused parameter.
12868 (autoload-make-program, generated-autoload-file): Declare.
12869
12870 * wdired.el (wdired-revert): Mark unused parameters.
12871 (wdired-xcase-word): Remove unused variable `err'.
12872
12873 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
12874 (whitespace-help-scroll): Remove unused variable `data-help'.
12875
12876 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
12877 (widget-image-insert, widget-after-change, default)
12878 (widget-default-format-handler, widget-default-notify)
12879 (widget-default-prompt-value, widget-info-link-action)
12880 (widget-url-link-action, widget-function-link-action)
12881 (widget-variable-link-action, widget-file-link-action)
12882 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
12883 (widget-field-prompt-internal, widget-field-action, widget-field-match)
12884 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
12885 (widget-insert-button-action, widget-delete-button-action, visibility)
12886 (widget-documentation-link-action, widget-documentation-string-action)
12887 (widget-const-prompt-value, widget-regexp-match, symbol)
12888 (widget-coding-system-prompt-value)
12889 (widget-key-sequence-value-to-external, sexp)
12890 (widget-sexp-value-to-internal, character, vector, cons)
12891 (widget-choice-prompt-value, widget-boolean-prompt-value)
12892 (widget-color--choose-action): Mark unused parameters.
12893 (widget-item-match-inline, widget-choice-match-inline)
12894 (widget-checklist-match, widget-checklist-match-inline)
12895 (widget-group-match): Rename parameter VALUES to VALS.
12896 (widget-field-value-set): Remove unused variable `size'.
12897 (widget-color-action): Remove unused variables `value' and `start'.
12898
12899 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
12900 variable `dir'. Doc fix.
12901 (windmove-find-other-window): Don't pass it.
12902
12903 * window.el (count-windows): Mark unused parameter.
12904 (bw-adjust-window): Remove unused variable `err'.
12905
12906 * woman.el (woman-file-name): Remove unused variable `default'.
12907 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
12908 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
12909 (global-font-lock-mode): Declare.
12910 (woman-decode-region): Mark unused parameter.
12911 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
12912
12913 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
12914 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
12915 (x-dnd-handle-moz-url): Remove unused variable `title'.
12916 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
12917
12918 * xml.el (xml-parse-tag, xml-parse-attlist):
12919 Remove unused variable `pos'.
12920
129212011-04-19 Glenn Morris <rgm@gnu.org>
12922
12923 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
12924 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
12925 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
12926 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
12927 * calendar/cal-html.el (cal-html-insert-minical):
12928 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
12929 (calendar-mark-date-pattern):
12930 Prefix "unused" locals.
12931
12932 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
12933 optional argument `style'.
12934
12935 * calendar/appt.el (appt-make-list):
12936 * calendar/cal-china.el (calendar-chinese-date-string):
12937 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
12938 (diary-hebrew-yahrzeit):
12939 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
12940 * calendar/calendar.el (calendar-generate-window):
12941 * calendar/time-date.el (time-to-days):
12942 Remove unused local variables.
12943
129442011-04-18 Chong Yidong <cyd@stupidchicken.com>
12945
12946 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
12947 glyphless-char-display table.
12948 (tabulated-list-glyphless-char-display): New var.
12949
129502011-04-18 Sam Steingold <sds@gnu.org>
12951
12952 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
12953 to acknowledgments.
12954
129552011-04-17 Glenn Morris <rgm@gnu.org>
12956
12957 * calendar/diary-lib.el (diary-sexp-entry):
12958 * calendar/holidays.el (holiday-sexp):
12959 Set debug-on-error rather than the removed stack-trace-on-error.
12960
129612011-04-16 Glenn Morris <rgm@gnu.org>
12962
12963 * progmodes/f90.el: Use lexical-binding.
12964 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
12965
129662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
12969 (mail-mode): Setup mailalias completion here instead.
12970 * mail/mailalias.el: Use lexical-binding.
12971 (pattern, mailalias-done): Declare dynamic.
12972 (mail-completion-at-point-function): New function, from mail-complete.
12973 (mail-complete): Use it.
12974 (mail-completion-expand): New function.
12975 (mail-get-names): Use it.
12976 (mail-directory, mail-directory-process, mail-directory-stream):
12977 Don't use `pattern' for lexically bound arg.
12978
12979 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
12980
12981 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
12982 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
12983 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
12984
12985 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
12986 (byte-save-window-excursion, byte-temp-output-buffer-setup)
12987 (byte-interactive-p): Define them again, for use when inlining
12988 old code.
12989
129902011-04-15 Juanma Barranquero <lekktu@gmail.com>
12991
12992 * loadup.el: Use `string-to-number', not `string-to-int'.
12993
129942011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
12997 gud-gdb-complete-command.
12998 (gud-gdb-completions): New function, from gud-gdb-complete-command.
12999 (gud-gdb-completion-at-point): New function.
13000 (gud-gdb-completions): Remove.
13001
130022011-04-14 Michael Albinus <michael.albinus@gmx.de>
13003
13004 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
13005 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
13006 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
13007 whether `executable-find' is bound.
13008
13009 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
13010
130112011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13012
13013 * minibuffer.el (completion-in-region-mode-predicate)
13014 (completion-in-region-mode--predicate): New vars.
13015 (completion-in-region, completion-in-region--postch)
13016 (completion-in-region-mode): Use them.
13017 (completion--capf-wrapper): Also return the hook function.
13018 (completion-at-point, completion-help-at-point):
13019 Adjust and provide a predicate.
13020
13021 Preserve arg names for advice of subr and lexical functions (bug#8457).
13022 * help-fns.el (help-function-arglist): Consolidate the subr and
13023 new-byte-code cases. Add argument `preserve-names' to extract names
13024 from the docstring when needed.
13025 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
13026 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
13027 (ad-arglist): Use help-function-arglist's new arg.
13028 (ad-definition-type): Use cond.
13029
130302011-04-13 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * autorevert.el (auto-revert-handler):
13033 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
13034 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
13035 Don't quote lambda.
13036
13037 * image-mode.el (image-transform-set-scale):
13038 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
13039
130402011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
13041
13042 * net/network-stream.el (network-stream-open-starttls): Only do
13043 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
13044 Upgrades via gnutls-cli are too slow to be done opportunistically.
13045
130462011-04-12 Juanma Barranquero <lekktu@gmail.com>
13047
13048 * dframe.el (dframe-current-frame): Remove spurious quote.
13049
130502011-04-12 Glenn Morris <rgm@gnu.org>
13051
13052 * calendar/cal-tex.el (cal-tex-end-document):
13053 Try to automatically use latin1 input if needed.
13054
13055 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
13056 Don't try to cons a mark onto an empty element.
13057
130582011-04-11 Leo Liu <sdl.web@gmail.com>
13059
13060 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
13061 buffers.
13062 (ido-kill-buffer-at-head): Support killing virtual buffers.
13063
130642011-04-10 Chong Yidong <cyd@stupidchicken.com>
13065
13066 * minibuffer.el (completion-show-inline-help): New var.
13067 (completion--do-completion, minibuffer-complete)
13068 (minibuffer-force-complete, minibuffer-complete-word):
13069 Inhibit minibuffer messages if completion-show-inline-help is nil.
13070
13071 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
13072 to avoid interference from inline help (Bug#5849).
13073
130742011-04-10 Leo Liu <sdl.web@gmail.com>
13075
13076 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13077 Fix typo.
13078
130792011-04-09 Chong Yidong <cyd@stupidchicken.com>
13080
13081 * image-mode.el (image-toggle-display-image): Signal an error if
13082 not in Image mode.
13083 (image-transform-mode, image-transform-resize)
13084 (image-transform-set-rotation): Doc fix.
13085 (image-transform-set-resize): Delete.
13086 (image-transform-set-scale, image-transform-fit-to-height)
13087 (image-transform-fit-to-width): Handle image-toggle-display-image
13088 and image-transform-resize directly.
13089
130902011-04-08 Sho Nakatani <lay.sakura@gmail.com>
13091
13092 * doc-view.el (doc-view-fit-width-to-window)
13093 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
13094 New functions for fitting the shown image to the Emacs window size.
13095 (doc-view-mode-map): Add bindings for the new functions.
13096
130972011-04-08 Juanma Barranquero <lekktu@gmail.com>
13098
13099 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
13100 Fix typo in docstring.
13101
131022011-04-08 Eli Zaretskii <eliz@gnu.org>
13103
13104 * files.el (file-size-human-readable): Produce one digit after
13105 decimal, like "ls -lh" does.
13106
13107 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
13108 the file size representation.
13109
13110 * simple.el (list-processes): If async subprocesses are not
13111 available, error out with a clear error message.
13112
131132011-04-08 Chong Yidong <cyd@stupidchicken.com>
13114
13115 * help.el (help-form-show): New function, to be called from C.
13116 Put help-form output in a buffer named differently than *Help*.
13117
131182011-04-08 Eli Zaretskii <eliz@gnu.org>
13119
13120 * files.el (file-size-human-readable): New function.
13121
13122 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
13123 computing the representation inline. Don't require `cl'.
13124
131252011-04-08 Glenn Morris <rgm@gnu.org>
13126
13127 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
13128
13129 * net/browse-url.el (browse-url-firefox):
13130 Test system-type, not system-configuration.
13131
13132 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
13133 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
13134 Use log-edit-empty-buffer-p. (Bug#7598)
13135
13136 * net/rlogin.el (rlogin-process-connection-type): Simplify.
13137 (rlogin-mode-map): Initialize in the defvar.
13138 (rlogin): Use ignore-errors.
13139
13140 * replace.el (occur-mode-map): Some fixes for menu items.
13141
131422011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13143
13144 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
13145
131462011-04-06 Chong Yidong <cyd@stupidchicken.com>
13147
13148 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
13149 issuing unused warnings.
13150
13151 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
13152 macro directly.
13153
13154 * simple.el: Lisp reimplement of list-processes. Based on an
13155 earlier reimplementation by Leo Liu, but using tabulated-list.el.
13156 (process-menu-mode): New major mode.
13157 (list-processes--refresh, list-processes):
13158 (process-menu-visit-buffer): New functions.
13159
13160 * files.el (save-buffers-kill-emacs): Don't assume any return
13161 value of list-processes, which is undocumented anyway.
13162
131632011-04-06 Chong Yidong <cyd@stupidchicken.com>
13164
13165 * emacs-lisp/tabulated-list.el: New file.
13166
13167 * emacs-lisp/package.el: Use Tabulated List mode.
13168 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
13169 (package-menu-mode): Derive from tabulated-list-mode. Set up the
13170 table format using Tabulated List mode variables.
13171 (package--push): New macro, replacing package-list-maybe-add.
13172 (package-menu--generate): Use package--push. Renamed from
13173 package--generate-package-list.
13174 (package-menu-refresh, list-packages): Use it.
13175 (package-menu--print-info): Rename from package-print-package.
13176 Return insertion data instead of inserting it directly.
13177 (package-menu-describe-package, package-menu-execute):
13178 Use tabulated-list-get-id.
13179 (package-menu-mark-delete, package-menu-mark-install)
13180 (package-menu-mark-unmark, package-menu-backup-unmark)
13181 (package-menu-mark-obsolete-for-deletion):
13182 Use tabulated-list-put-tag.
13183 (package--list-packages, package-menu-revert)
13184 (package-menu-get-package, package-menu-get-version)
13185 (package-menu-sort-by-column): Functions deleted.
13186 (package-menu-package-list, package-menu-sort-key): Vars deleted.
13187 (package-menu--status-predicate, package-menu--version-predicate)
13188 (package-menu--name-predicate)
13189 (package-menu--description-predicate): Handle arguments in the
13190 Tabulated List format.
13191 (package-list-packages-no-fetch): Call list-packages.
13192
131932011-04-06 Juanma Barranquero <lekktu@gmail.com>
13194
13195 * files.el (after-find-file-from-revert-buffer): Remove variable.
13196 (after-find-file): Don't bind it.
13197 (revert-buffer-in-progress-p): New variable.
13198 (revert-buffer): Bind it.
13199 Pass nil for `after-find-file-from-revert-buffer'.
13200
13201 * saveplace.el (save-place-find-file-hook): Use new variable
13202 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
13203
132042011-04-06 Glenn Morris <rgm@gnu.org>
13205
13206 * Makefile.in (AUTOGEN_VCS): New variable.
13207 (autoloads): Use $AUTOGEN_VCS.
13208
13209 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
13210 * calendar/calendar.el (calendar-mode-map):
13211 Check for toolkit scroll bars. (Bug#8305)
13212
132132011-04-05 Chong Yidong <cyd@stupidchicken.com>
13214
13215 * minibuffer.el (completion-in-region--postch)
13216 (completion-in-region-mode): Remove unnecessary messages.
13217
132182011-04-05 Juanma Barranquero <lekktu@gmail.com>
13219
13220 * font-lock.el (font-lock-refresh-defaults):
13221 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
13222 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
13223
13224 * info.el (Info-directory-list, Info-read-node-name-2)
13225 (Info-split-parameter-string): Doc fixes.
13226 (Info-virtual-nodes): Reflow docstring.
13227 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
13228 (Info-apropos-toc-nodes, info-finder, Info-get-token)
13229 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
13230 Fix typos in docstrings.
13231 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
13232 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
13233 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
13234 (Info-restore-desktop-buffer): Mark unused parameters.
13235 (Info-directory-find-file, Info-directory-find-node)
13236 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
13237 (Info-virtual-index-find-node, Info-apropos-find-file)
13238 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
13239 Mark unused parameters; fix typos in docstrings.
13240 (Info-virtual-index): Remove unused local variable `nodename'.
13241
132422011-04-05 Deniz Dogan <deniz@dogan.se>
13243
13244 * net/rcirc.el: Update my e-mail address.
13245 (rcirc-mode-map): Remove M-o binding.
13246
132472011-04-05 Chong Yidong <cyd@stupidchicken.com>
13248
13249 * startup.el (command-line): Save the cursor's theme-face
13250 directly, instead of using face-override-spec.
13251
13252 * custom.el (load-theme): Minor optimization in assigning faces.
13253
132542011-04-04 Juanma Barranquero <lekktu@gmail.com>
13255
13256 * help-fns.el (describe-variable): Complete all variables having
13257 documentation, including keywords.
13258 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
13259
132602011-04-04 Juanma Barranquero <lekktu@gmail.com>
13261
13262 Convert to lexical-binding.
13263
13264 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
13265 (bs--get-marked-string, bs--get-modified-string)
13266 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
13267 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
13268 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
13269
13270 * ehelp.el (electric-help-execute-extended)
13271 (electric-help-ctrl-x-prefix):
13272 * hexl.el (hexl-revert-buffer-function):
13273 * linum.el (linum-after-change, linum-after-scroll):
13274 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
13275
13276 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
13277
132782011-04-04 Daiki Ueno <ueno@unixuser.org>
13279
13280 * epa-dired.el:
13281 * epa-mail.el:
13282 * epa-hook.el:
13283 * epa-file.el:
13284 * epa.el:
13285 * epg.el: Use lexical binding.
13286
132872011-04-03 Chong Yidong <cyd@stupidchicken.com>
13288
13289 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
13290
13291 * textmodes/flyspell.el (flyspell-word): Recognize default
13292 dictionary case for flyspell-mark-duplications-exceptions.
13293 Use regexp matching for languages.
13294 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
13295 default dictionary (Bug#7926).
13296
132972011-04-02 Chong Yidong <cyd@stupidchicken.com>
13298
13299 * emacs-lisp/package.el (package--with-work-buffer):
13300 Recognize https URLs.
13301
13302 * net/network-stream.el: Move from gnus/proto-stream.el.
13303 Change prefix to network-stream throughout.
13304 (open-protocol-stream): Merge into open-network-stream, leaving
13305 open-protocol-stream as an alias. Handle nil BUFFER args.
13306
13307 * subr.el (open-network-stream): Move to net/network-stream.el.
13308
133092011-04-02 Glenn Morris <rgm@gnu.org>
13310
13311 * find-dired.el (find-exec-terminator): New option.
13312 (find-ls-option): Test for -ls support.
13313 (find-ls-subdir-switches): Test for -b in find-ls-option.
13314 (find-dired, find-grep-dired): Doc fixes.
13315 (find-dired): Use find-exec-terminator.
13316
13317 * find-dired.el (find-ls-option, find-ls-subdir-switches)
13318 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
13319 (find-name-arg): Remove purecopy.
13320
13321 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
13322 (grep-compute-defaults): Check for `-exec COMMAND +' support.
13323 Set grep-find-use-xargs, grep-find-command, and grep-find-template
13324 accordingly. Don't add the null-device if not needed.
13325
13326 * files.el (save-some-buffers): Doc fix.
13327
133282011-04-02 Eli Zaretskii <eliz@gnu.org>
13329
13330 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
13331
133322011-04-01 Juanma Barranquero <lekktu@gmail.com>
13333
13334 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
13335 Use `dolist' rather than `mapcar'.
13336
133372011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13338
13339 Add lexical binding.
13340
13341 * subr.el (apply-partially): Use new closures rather than CL.
13342 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
13343 (dolist, dotimes): Use slightly different expansion for lexical code.
13344 (functionp): Move to C.
13345 (letrec): New macro.
13346 (with-wrapper-hook): Use it and apply-partially instead of CL.
13347 (eval-after-load): Preserve lexical-binding.
13348 (save-window-excursion, with-output-to-temp-buffer): Turn them
13349 into macros.
13350
13351 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
13352
13353 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
13354 than the arglist.
13355 (help-add-fundoc-usage): Don't add `Not documented'.
13356 (help-function-arglist): Handle closures, subroutines, and new
13357 byte-code-functions.
13358 (help-make-usage): Remove leading underscores.
13359 (describe-function-1): Handle closures.
13360 (describe-variable): Use special-variable-p for completion.
13361
13362 * files.el (lexical-binding): Declare safe.
13363
13364 * emacs-lisp/pcase.el: Don't use destructuring-bind.
13365 (pcase--memoize): Rename from pcase-memoize. Change weakness.
13366 (pcase): Add `let' pattern.
13367 Change memoization so it actually works.
13368 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
13369 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
13370 <let>: New case.
13371
13372 * emacs-lisp/macroexp.el: Use lexical binding.
13373 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
13374 Don't convert ' to #' without checking that it's indeed quoting
13375 a lambda.
13376
13377 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
13378 Use eval-sexp-add-defvars.
13379 (eval-sexp-add-defvars): New fun.
13380
13381 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
13382
13383 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
13384 Don't autoload.
13385 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
13386 than the internal `byte-compile-lambda'.
13387 (defmethod): Don't hide code under quotes.
13388 (eieio-defmethod): New `code' argument.
13389
13390 * emacs-lisp/eieio-comp.el: Remove.
13391
13392 * emacs-lisp/edebug.el (edebug-eval-defun)
13393 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
13394 (edebug-toggle): Avoid `eval'.
13395
13396 * emacs-lisp/disass.el (disassemble-internal): Handle new
13397 `closure' objects.
13398 (disassemble-1): Handle new byte codes.
13399
13400 * emacs-lisp/cl.el (pushnew): Silence warning.
13401
13402 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
13403 (cl-byte-compile-throw): Remove.
13404 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
13405
13406 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
13407 closures.
13408
13409 * emacs-lisp/cconv.el: New file.
13410
13411 * emacs-lisp/bytecomp.el: Use lexical binding instead of
13412 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
13413 (byte-compile-initial-macro-environment):
13414 Handle declare-function here.
13415 (byte-compile--lexical-environment): New var.
13416 (byte-stack-ref, byte-stack-set, byte-discardN)
13417 (byte-discardN-preserve-tos): New lap codes.
13418 (byte-interactive-p): Don't use any more.
13419 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
13420 New macros.
13421 (byte-compile-lapcode): Use them and handle new lap codes.
13422 (byte-compile-obsolete): Remove.
13423 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
13424 (byte-compile-arglist-warn): Check late def of inlinable funs.
13425 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
13426 since they should have been expanded by now.
13427 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
13428 (byte-compile-from-buffer): Remove unused second arg.
13429 (byte-compile-preprocess): New function.
13430 (byte-compile-toplevel-file-form): New function to distinguish
13431 file-form calls from outside from file-form calls from hunk-handlers.
13432 (byte-compile-file-form): Simplify.
13433 (byte-compile-file-form-defsubst): Remove.
13434 (byte-compile-file-form-defmumble): Simplify now that
13435 byte-compile-lambda always returns a byte-code-function.
13436 (byte-compile): Preprocess.
13437 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
13438 Remove, not used any more.
13439 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
13440 (byte-compile-make-args-desc): New funs.
13441 (byte-compile-lambda): Handle lexical functions. Always return
13442 a byte-code-function.
13443 (byte-compile-reserved-constants): New var, to make up room for
13444 closed-over variables.
13445 (byte-compile-constants-vector): Obey it.
13446 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
13447 (byte-compile-macroexpand-declare-function): New function.
13448 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
13449 byte-code-functions.
13450 (byte-compile-form): Check obsolescence here.
13451 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
13452 (byte-compile-variable-ref): Remove.
13453 (byte-compile-dynamic-variable-op): New fun.
13454 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
13455 (byte-compile-variable-set): New funs.
13456 (byte-compile-discard): Add 2 args.
13457 (byte-compile-stack-ref, byte-compile-stack-set)
13458 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
13459 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
13460 macroexpand-all instead.
13461 (byte-compile-quote-form): Remove.
13462 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
13463 (byte-compile-bind, byte-compile-unbind): New funs.
13464 (byte-compile-let): Handle let* and lexical binding.
13465 (byte-compile-let*): Remove.
13466 (byte-compile-catch, byte-compile-unwind-protect)
13467 (byte-compile-track-mouse, byte-compile-condition-case):
13468 Handle a new :fun-body form, used for lexical scoping.
13469 (byte-compile-save-window-excursion)
13470 (byte-compile-with-output-to-temp-buffer): Remove.
13471 (byte-compile-defun): Simplify.
13472 (byte-compile-stack-adjustment): New fun.
13473 (byte-compile-out): Use it.
13474 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
13475
13476 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
13477 handler any more.
13478
13479 * emacs-lisp/byte-opt.el: Use lexical binding.
13480 (byte-inline-lapcode): Remove (to bytecomp).
13481 (byte-compile-inline-expand): Pay attention to inlining to/from
13482 lexically bound code.
13483 (byte-compile-unfold-lambda): Don't handle byte-code-functions
13484 any more.
13485 (byte-optimize-form-code-walker): Don't handle save-window-excursion
13486 any more and don't call compiler-macros.
13487 (byte-compile-splice-in-already-compiled-code): Remove.
13488 (byte-code): Don't inline any more.
13489 (disassemble-offset): Receive `bytes' as argument rather than via
13490 dynamic scoping.
13491 (byte-compile-tag-number): Declare before first use.
13492 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
13493 `return' even if make-spliceable.
13494 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
13495 obsolete interactive-p.
13496 (byte-optimize-lapcode): Optimize new lap-codes.
13497 Don't trip up on new form of `byte-constant' lap code.
13498
13499 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
13500
13501 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
13502
13503 * custom.el (custom-initialize-default, custom-declare-variable):
13504 Use `defvar'.
13505
13506 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
13507 New variables.
13508 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
13509 (COMPILE_FIRST): Add macroexp and cconv.
13510 * makefile.w32-in: Mirror changes in Makefile.in.
13511
13512 * vc/cvs-status.el:
13513 * vc/diff-mode.el:
13514 * vc/log-edit.el:
13515 * vc/log-view.el:
13516 * vc/smerge-mode.el:
13517 * textmodes/bibtex-style.el:
13518 * textmodes/css.el:
13519 * startup.el:
13520 * uniquify.el:
13521 * minibuffer.el:
13522 * newcomment.el:
13523 * reveal.el:
13524 * server.el:
13525 * mpc.el:
13526 * emacs-lisp/smie.el:
13527 * doc-view.el:
13528 * dired.el:
13529 * abbrev.el: Use lexical binding.
13530
135312011-04-01 Eli Zaretskii <eliz@gnu.org>
13532
13533 * info.el (info-display-manual): New function.
13534
135352011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13536
13537 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
13538
135392011-03-31 Tassilo Horn <tassilo@member.fsf.org>
13540
13541 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
13542 an entry for that server in rcirc-authinfo. (Bug#8385)
13543
135442011-03-31 Glenn Morris <rgm@gnu.org>
13545
13546 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
13547
13548 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
13549
135502011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
13551
13552 * progmodes/python.el (python-default-interpreter)
13553 (python-python-command-args, python-jython-command-args)
13554 (python-which-shell, python-which-args, python-which-bufname)
13555 (python-file-queue, python-comint-output-filter-function)
13556 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
13557 variables and functions.
13558
135592011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
13560
13561 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
13562 (completion-in-region-mode): New minor mode.
13563 (completion-in-region): Use it.
13564 (completion-in-region--data, completion-in-region-mode-map): New vars.
13565 (completion-in-region--postch): New function.
13566 (completion--capf-misbehave-funs, completion--capf-safe-funs):
13567 New vars.
13568 (completion--capf-wrapper): New function.
13569 (completion-at-point): Use it to track well-behavedness of
13570 hook functions.
13571 (completion-help-at-point): New command.
13572
135732011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
13574
13575 * vc/add-log.el (add-change-log-entry): Don't use whitespace
13576 syntax class to search for whitespace on a single line
13577 (Message-ID: <4D938140.4030905@redhat.com>).
13578
135792011-03-30 Leo Liu <sdl.web@gmail.com>
13580
13581 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
13582 New commands.
13583 (edit-abbrevs-map): Bind them here.
13584 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
13585
135862011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
13587
13588 * allout.el (allout-hide-by-annotation, allout-flag-region):
13589 Reduce possibility of overlay leakage by making them volatile.
13590
13591 * allout-widgets.el (allout-widgets-tally): Define as nil so the
13592 hash is not shared between buffers. Mode initialization is
13593 responsible for giving it a useful starting value.
13594 (allout-item-span): Reduce possibility of overlay leakage by
13595 making them volatile.
13596 (allout-widgets-count-buttons-in-region): Add diagnostic function
13597 for tracking down button overlay leaks.
13598
135992011-03-29 Leo Liu <sdl.web@gmail.com>
13600
13601 * ido.el (ido-read-internal): Use the default history var
13602 minibuffer-history if no HISTORY is specified.
13603
136042011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
13605
13606 * net/imap.el (imap-shell-open, imap-process-connection-type):
13607 Use imap-process-connection-type for 'shell' streams as well as
13608 Kerberos, SSL, other subprocesses.
13609
136102011-03-28 Leo Liu <sdl.web@gmail.com>
13611
13612 * abbrev.el (abbrev-table-empty-p): New function.
13613 (prepare-abbrev-list-buffer): Place empty abbrev tables after
13614 nonempty ones. (Bug#5937)
13615
136162011-03-27 Jan Djärv <jan.h.d@swipnet.se>
13617
13618 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
13619
136202011-03-27 Leo Liu <sdl.web@gmail.com>
13621
13622 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
13623 for foreground and background colors.
13624 (ansi-color-make-color-map): Adapt.
13625
136262011-03-25 Leo Liu <sdl.web@gmail.com>
13627
13628 * midnight.el (midnight-time-float): Remove. Note it calculates
13629 the microsecond component incorrectly and seconds-to-time does the
13630 same job.
13631 Remove redundant (require 'timer).
13632
13633 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
13634 (ido-completions): Remove unused arguments. (Bug#8329)
13635
136362011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
13637
13638 * minibuffer.el (completion--flush-all-sorted-completions):
13639 Remove itself from hook.
13640 (completion-at-point): Let the functions perform the completion
13641 immediately and return nil or t.
13642 * comint.el (comint-dynamic-complete-functions): Now identical to
13643 completion-at-point-functions.
13644 (comint-dynamic-list-input-ring): Remove unused var `index'.
13645 (comint--match-partial-filename, comint--unquote&expand-filename):
13646 New funs, split from comint-match-partial-filename.
13647 (comint-dynamic-complete): Use completion-at-point.
13648 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
13649
136502011-03-24 Drew Adams <drew.adams@oracle.com>
13651
13652 * thingatpt.el: Support `defun'.
13653
136542011-03-23 Leo Liu <sdl.web@gmail.com>
13655
13656 * abbrevlist.el: Move to obsolete/abbrevlist.el.
13657
13658 * help-mode.el (help-mode-finish): Tweak regexp.
13659
136602011-03-23 Glenn Morris <rgm@gnu.org>
13661
13662 * eshell/esh-opt.el (eshell-eval-using-options):
13663 Do not bind unused local variable `eshell-option-stub'.
13664
13665 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
13666
136672011-03-22 Juanma Barranquero <lekktu@gmail.com>
13668
13669 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
13670 keymap variable in `with-no-warnings' to avoid a warning when the
13671 keymap has been already `defconst'ed.
13672
136732011-03-22 Leo Liu <sdl.web@gmail.com>
13674
13675 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
13676 encode all chars in abbrevs; otherwise use emacs-mule or
13677 utf-8-emacs. (Bug#8308)
13678
136792011-03-22 Juanma Barranquero <lekktu@gmail.com>
13680
13681 * simple.el (backward-delete-char-untabify):
13682 Avoid warning about using `delete-backward-char'.
13683
13684 * image.el (image-type-file-name-regexps): Make it variable.
13685 `imagemagick-register-types' modifies it, and the user may want
13686 to add new extensions for known image types.
13687 (imagemagick-register-types): Throw error if not using ImageMagick.
13688
136892011-03-22 Leo Liu <sdl.web@gmail.com>
13690
13691 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
13692 located before rcirc-prompt-end-marker.
13693 (rcirc-complete): Error if point is not after rcirc prompt.
13694 Handle the case when table is nil.
13695 (rcirc-user-authenticated): Define to fix compiler warning.
13696
136972011-03-22 Chong Yidong <cyd@stupidchicken.com>
13698
13699 * custom.el (custom--inhibit-theme-enable): Make it affect only
13700 custom-theme-set-variables and custom-theme-set-faces.
13701 (provide-theme): Ignore custom--inhibit-theme-enable.
13702 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
13703 (custom-enabling-themes): Delete variable.
13704 (enable-theme): Accept only loaded themes as arguments.
13705 Ignore the special custom-enabled-themes variable.
13706 (custom-enabled-themes): Forbid themes from setting this.
13707 Eliminate use of custom-enabling-themes.
13708 (custom-push-theme): Quote "changed" custom var entry.
13709
137102011-03-21 Leo Liu <sdl.web@gmail.com>
13711
13712 * ido.el (ido-read-internal): Add ido-selected to history instead
13713 of user input.
13714
137152011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13716
13717 * subr.el (deferred-action-list, deferred-action-function):
13718 Mark obsolete.
13719
137202011-03-21 Leo Liu <sdl.web@gmail.com>
13721
13722 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
13723 change on 2011-02-13 (bug#8309).
13724
13725 * minibuffer.el (read-file-name-function): Change default value.
13726 (read-file-name--defaults): Rename from read-file-name-defaults.
13727 (read-file-name-default): Rename from read-file-name.
13728 (read-file-name): Call read-file-name-function.
13729
137302011-03-21 Glenn Morris <rgm@gnu.org>
13731
13732 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
13733 Doc fixes.
13734
137352011-03-21 Chong Yidong <cyd@stupidchicken.com>
13736
13737 * cus-theme.el: Add missing provide statement.
13738 (customize-create-theme): Extract theme value correctly.
13739 (custom-theme-visit-theme): Autoload.
13740 (customize-create-theme): Prompt before inserting default faces.
13741
137422011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
13743
13744 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
13745 units and musical notes.
13746
137472011-03-20 Leo Liu <sdl.web@gmail.com>
13748
13749 * ido.el (ido-read-internal): Use completing-read-default.
13750 (ido-completing-read): Fix compatibility with completing-read.
13751
137522011-03-20 Christian Ohler <ohler@gnu.org>
13753
13754 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
13755 (ert-delete-all-tests): Use `called-interactively-p' rather than
13756 `interactive-p'.
13757 (ert--make-xrefs-region): Respect END.
13758
137592011-03-19 Chong Yidong <cyd@stupidchicken.com>
13760
13761 * dired-aux.el (dired-create-directory): Signal an error if the
13762 directory already exists (Bug#8246).
13763
13764 * facemenu.el (list-colors-display): Call list-faces-display
13765 inside with-help-window.
13766 (list-colors-print): Use display property to align the final
13767 column, instead of checking window-width.
13768
137692011-03-19 Eli Zaretskii <eliz@gnu.org>
13770
13771 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
13772 windows-nt systems.
13773 (emerge-protect-metachars): Quote correctly for ms-dos and
13774 windows-nt systems.
13775
137762011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
13777
13778 * info.el (info-initialize): Replace all uses of `:' with
13779 path-separator for compatibility with non-Unix systems.
13780 Cache quoting of path-separator. (Bug#8258)
13781
137822011-03-19 Juanma Barranquero <lekktu@gmail.com>
13783
13784 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
13785 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
13786 (mouse-avoidance-mode): Fix typos in docstrings.
13787
137882011-03-19 Chong Yidong <cyd@stupidchicken.com>
13789
13790 * startup.el (package-subdirectory-regexp): Move from package.el.
13791 Omit \\` and \\', and let callers add them.
13792
13793 * emacs-lisp/package.el (package-strip-version)
13794 (package-load-all-descriptors): Add \\` and \\' to
13795 package-subdirectory-regexp before using it.
13796 (package-untar-buffer): New arg DIR; ensure that file untars only
13797 into this expected directory. Remove superfluous delete-region.
13798 (package-unpack): Caller changed.
13799 (package-tar-file-info): Use package-subdirectory-regexp.
13800
138012011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13802
13803 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
13804 diff-mode-shared-map (bug#8284).
13805 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
13806
138072011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13808
13809 * calendar/time-date.el (format-seconds): Use assoc instead of
13810 assoc-string, since assoc-string doesn't exist in XEmacs.
13811
138122011-03-17 Juanma Barranquero <lekktu@gmail.com>
13813
13814 * custom.el (custom-known-themes): Reflow docstring.
13815 (custom-theme-load-path): Fix typo in docstring.
13816 (load-theme): Fix typo in error message.
13817 (custom-available-themes, custom-variable-theme-value):
13818 Use `let', not `let*'.
13819
138202011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13821
13822 * calc/README: Mention inclusion of musical notes.
13823
13824 * calc/calc-units.el (calc-lu-quant): Rename from
13825 `calc-logunits-quantity'.
13826 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
13827 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
13828 (calc-db): Rename from `calc-dblevel'.
13829 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
13830 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
13831 (calc-np): Rename from `calc-nplevel'.
13832 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
13833 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
13834 (calc-lu-plus): Rename from `calc-logunits-add'.
13835 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
13836 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
13837 (calc-lu-minus): Rename from `calc-logunits-sub'.
13838 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
13839 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
13840 (calc-lu-times): Rename from `calc-logunits-mul'.
13841 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
13842 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
13843 (calc-lu-divide): Rename from `calc-logunits-div'.
13844 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
13845 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
13846
13847 * calc/calc-ext.el (calc-init-extensions): Update the names of the
13848 functions being autoloaded.
13849
13850 * calc/calc.el (calc-lu-power-reference): Rename from
13851 `calc-logunits-power-reference'.
13852 (calc-lu-field-reference): Rename from
13853 `calc-logunits-field-reference'.
13854
13855 * calc/calc-help.el (calc-l-prefix-help):
13856 Mention musical note functions.
13857
138582011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
13859
13860 * minibuffer.el (completion-all-sorted-completions):
13861 Use :completion-cycle-penalty text property if present.
13862
138632011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
13864
13865 * allout.el (allout-yank-processing): Adjust for new rebulleting
13866 regime so bullet being yanked is used without prompting the user
13867 for a choice.
13868
138692011-03-16 Juanma Barranquero <lekktu@gmail.com>
13870
13871 * startup.el (command-line): Warn the user that _emacs is deprecated.
13872
138732011-03-16 Juanma Barranquero <lekktu@gmail.com>
13874
13875 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
13876 (delphi-verbose, delphi-comment-face, delphi-string-face)
13877 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
13878 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
13879 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
13880 (delphi-new-comment-line, delphi-font-lock-defaults)
13881 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
13882 Fix typos in docstrings.
13883
138842011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
13885
13886 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
13887 Invert the roles of character and string values for INSTEAD, so a
13888 string is used for the more common case of a defaulting prompt.
13889
138902011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13891
13892 * progmodes/ruby-mode.el (ruby-backward-sexp):
13893 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
13894 * play/gamegrid.el (gamegrid-make-face):
13895 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
13896 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
13897 * notifications.el (notifications-notify):
13898 * net/xesam.el (xesam-search-engines):
13899 * net/quickurl.el (quickurl-list-insert):
13900 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
13901
139022011-03-15 Chong Yidong <cyd@stupidchicken.com>
13903
13904 * startup.el (command-line): Update package subdirectory regexp.
13905
139062011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * allout.el (allout-abbreviate-flattened-numbering)
13909 (allout-mode-deactivate-hook): Fix up obsolescence "date".
13910
13911 * subr.el (read-char-choice): Only show the cursor after the prompt,
13912 not after the answer.
13913
139142011-03-15 Kevin Ryde <user42@zip.com.au>
13915
13916 * help-fns.el (variable-at-point): Skip leading quotes, if any
13917 (bug#8253).
13918
139192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13920
13921 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
13922 warning message.
13923
139242011-03-14 Michael Albinus <michael.albinus@gmx.de>
13925
13926 * shell.el (shell): When called interactively, offer to change the
13927 shell file name on remote hosts.
13928
139292011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
13930
13931 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
13932 integration for LDAP parameters. The host, base, user or binddn,
13933 and secret tokens can be specified in a netrc file, for instance.
13934 This is optional because an `auth-source' parameter must be
13935 specified in the search attributes.
13936
139372011-03-13 Juanma Barranquero <lekktu@gmail.com>
13938
13939 * help.el (describe-mode): Link to the mode's definition (bug#8185).
13940
139412011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13942
13943 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
13944 into declaration. Remove redundant and harmful binding.
13945
139462011-03-12 Eli Zaretskii <eliz@gnu.org>
13947
13948 * files.el (file-ownership-preserved-p): Pass `integer' as an
13949 explicit 2nd argument to `file-attributes'. If the file's owner
13950 is the Administrators group on Windows, and the current user is
13951 Administrator, consider that a match.
13952
13953 * server.el (server-ensure-safe-dir): Consider server directory
13954 safe on MS-Windows if its owner is the Administrators group while
13955 the current Emacs user is Administrator. Use `=' to compare
13956 numerical UIDs, since they could be integers or floats.
13957
139582011-03-12 Juanma Barranquero <lekktu@gmail.com>
13959
13960 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
13961
139622011-03-12 Michael Albinus <michael.albinus@gmx.de>
13963
13964 Sync with Tramp 2.2.1.
13965
13966 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
13967
13968 * net/trampver.el: Update release number.
13969
139702011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13971
13972 * progmodes/compile.el (compilation--previous-directory): Fix up
13973 various nil/dead-marker mismatches (bug#8014).
13974 (compilation-directory-properties, compilation-error-properties):
13975 Don't call it at a position past the one we're about to change.
13976
13977 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
13978 Disable obsolescence warnings in the file that declares it.
13979
139802011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
13981
13982 * allout-widgets.el (allout-widgets-tally):
13983 Initialize allout-widgets-tally as a hash table rather than nil to
13984 prevent mode-line redisplay warnings. Also, clarify the module
13985 description and fix a comment typo.
13986
139872011-03-11 Juanma Barranquero <lekktu@gmail.com>
13988
13989 * help-fns.el (describe-variable): Don't complete keywords.
13990 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
13991
139922011-03-10 Chong Yidong <cyd@stupidchicken.com>
13993
13994 * emacs-lisp/package.el (package-version-join): Impose a standard
13995 string representation for pre/alpha/beta version lists.
13996 (package-unpack-single): Standardize the directory name by passing
13997 it through package-version-join.
13998 (package-strip-rcs-id): Accept any version string that does not
13999 signal an error in version-to-list.
14000
140012011-03-10 Michael Albinus <michael.albinus@gmx.de>
14002
14003 * simple.el (delete-trailing-whitespace): Return nil for the
14004 benefit of `write-file-functions'.
14005
140062011-03-10 Glenn Morris <rgm@gnu.org>
14007
14008 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
14009
14010 * vc/vc-git.el (vc-git-program): New option.
14011 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
14012 (vc-git--call): Use it.
14013
14014 * eshell/esh-util.el (eshell-condition-case): Doc fix.
14015
14016 * cus-edit.el (Custom-newline): If no button at point, look
14017 for a subgroup button at start-of-line. (Bug#2298)
14018
14019 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
14020
140212011-03-10 Julien Danjou <julien@danjou.info>
14022
14023 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
14024 `cursor-type' is nil.
14025
140262011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
14027
14028 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
14029
140302011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
14031
14032 * allout.el: Change so yank of distinctive-bullet items
14033 preserves the existing header prefix, rebulleting it if necessary,
14034 rather than replacing it. This is necessary for proper operation
14035 of cooperative addons like allout-widgets.
14036 (allout-make-topic-prefix, allout-rebullet-heading):
14037 Change SOLICIT arg to INSTEAD, and interpret additionally a string
14038 value as alternate bullet to be used, instead of prompting the user
14039 for a bullet character.
14040
140412011-03-09 Michael Albinus <michael.albinus@gmx.de>
14042
14043 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
14044 Do not use `tramp-file-name-port', because this returns also
14045 `tramp-default-port'.
14046
140472011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14048
14049 * net/rcirc.el (rcirc-handler-001): Remove useless
14050 with-rcirc-process-buffer.
14051 (rcirc-check-auth-status): Swap arguments to string-match.
14052
140532011-03-09 Glenn Morris <rgm@gnu.org>
14054
14055 * shell.el (shell-mode):
14056 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
14057
14058 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
14059 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
14060
140612011-03-08 Chong Yidong <cyd@stupidchicken.com>
14062
14063 * emacs-lisp/package.el (package-refresh-contents)
14064 (package-menu-execute): Use condition-case-no-debug.
14065
140662011-03-08 Michael Albinus <michael.albinus@gmx.de>
14067
14068 * simple.el (shell-command-to-string): Use `process-file'.
14069
14070 * emacs-lisp/package.el (package-tar-file-info): Handle also
14071 remote files.
14072
14073 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14074 Use `equal' for upload base check.
14075
140762011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
14077
14078 * textmodes/texinfo.el (texinfo-environments):
14079 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
14080
140812011-03-08 Glenn Morris <rgm@gnu.org>
14082
14083 * cus-start.el (cursor-in-non-selected-windows):
14084 Fix :set quoting oddness. (Bug#8192)
14085
14086 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
14087 in some setf expressions. (Bug#2159)
14088
140892011-03-08 Chong Yidong <cyd@stupidchicken.com>
14090
14091 * custom.el (custom-available-themes): Return themes in
14092 alphabetical order.
14093
14094See ChangeLog.15 for earlier changes.
14095
14096;; Local Variables:
14097;; coding: utf-8
14098;; End:
14099
14100 Copyright (C) 2011-2012 Free Software Foundation, Inc.
14101
14102 This file is part of GNU Emacs.
14103
14104 GNU Emacs is free software: you can redistribute it and/or modify
14105 it under the terms of the GNU General Public License as published by
14106 the Free Software Foundation, either version 3 of the License, or
14107 (at your option) any later version.
14108
14109 GNU Emacs is distributed in the hope that it will be useful,
14110 but WITHOUT ANY WARRANTY; without even the implied warranty of
14111 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14112 GNU General Public License for more details.
14113
14114 You should have received a copy of the GNU General Public License
14115 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.