]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
(rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
[gnu-emacs] / lisp / ChangeLog
1 2012-06-16 Stefan Merten <smerten@oekonux.de>
2
3 * textmodes/rst.el: Added and corrected some comments.
4 (rst-re-alist-def): Improve symbol syntax.
5 (rst-mode-syntax-table): Correct syntax entries.
6 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7 (rst-official-version, rst-official-cvs-rev): Update version
8 information.
9
10 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
11
12 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
13 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
14
15 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
18 (bug#11649).
19
20 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
21 (macroexp--expand-all): Use it.
22
23 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
24 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
25 Use `cl-function' instead.
26
27 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
28
29 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
30 Suggested by Stefan Monnier while discussing bug#11657.
31
32 2012-06-14 Sam Steingold <sds@gnu.org>
33
34 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
35
36 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
37
38 * play/doctor.el (doctor-doc): Remove parameter and use
39 doctor-sent instead of sent.
40 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
41
42 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
43
44 * files.el: Require cl-lib.
45 (file-name-non-special): Replace case -> cl-case.
46
47 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
48
49 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
50 mapping from #' to function*.
51
52 2012-06-13 Chong Yidong <cyd@gnu.org>
53
54 * mouse.el (mouse-drag-track): Do not set the mark if the user
55 releases the mouse without selecting anything (Bug#11588).
56
57 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
60 as well (bug#11646).
61
62 * loadup.el: Count byte-code functions as well.
63
64 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
65 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
66
67 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
68 (bug#11649). Add cl-defun and cl-defmacro.
69
70 2012-06-13 Drew Adams <drew.adams@oracle.com>
71
72 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
73 Fix last change.
74
75 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
76
77 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
78 Otherwise, it blocks in batch mode.
79
80 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
81
82 * help-mode.el (bookmark-make-record-default): Declare.
83
84 2012-06-13 Chong Yidong <cyd@gnu.org>
85
86 * emacs-lisp/package.el (list-packages): Compute a list of
87 packages that are newly-available since the last list-packages
88 invocation.
89 (package-menu--new-package-list): New var.
90 (package-menu--generate, package-menu--print-info)
91 (package-menu--status-predicate, package-menu-mark-install):
92 Handle new status label "new".
93
94 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
95
96 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
97 conversion to backquotes.
98
99 2012-06-12 Chong Yidong <cyd@gnu.org>
100
101 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
102 Rename from gud-inhibit-global-bindings.
103
104 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
105
106 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
107 hook from nxml-glyph-set-hook.
108
109 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
110 declaration.
111
112 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
113
114 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
115 Convert to defcustom.
116
117 2012-06-12 Drew Adams <drew.adams@oracle.com>
118
119 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
120 New functions.
121 (help-mode): Use them.
122
123 2012-06-11 Glenn Morris <rgm@gnu.org>
124
125 * progmodes/fortran.el (fortran-font-lock-keywords-3):
126 Use preprocessor face for directives.
127 (fortran-directive-re): Doc fix.
128
129 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
132 conversion to backquotes (bug#11652).
133
134 Fix compiler-expansion of CL's cXXr functions (bug#11673).
135 * emacs-lisp/cl-lib.el (cl--defalias): New function.
136 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
137 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
138 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
139 (cl-ninth, cl-tenth): Mark them as inlinable.
140 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
141 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
142 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
143 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
144 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
145 (cl-list*, cl-adjoin): Don't put an autoload manually.
146 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
147 (cl--compiler-macro-list*): Add autoload cookie.
148 (cl--compiler-macro-cXXr): New function.
149
150 * help-fns.el (help-fns--compiler-macro): New function extracted from
151 describe-function-1; follow aliases and use `compiler-macro' property.
152 (describe-function-1): Use it.
153
154 2012-06-11 Chong Yidong <cyd@gnu.org>
155
156 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
157 is uninstalled, if imagemagick is installed.
158
159 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * emacs-lisp/cl-lib.el: Use lexical-binding.
162 (cl-map-extents, cl-maclisp-member): Remove.
163 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
164 (cl--set-substring, cl--block-wrapper, cl--block-throw)
165 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
166 * emacs-lisp/cl-extra.el: Use lexical-binding.
167 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
168 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
169 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
170 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
171 * emacs-lisp/cl-seq.el: Use lexical-binding.
172 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
173 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
174 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
175 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
176 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
177 CL's internals.
178
179 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
180
181 Sync with Tramp 2.2.6-pre.
182
183 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
184 `print-length' and `print-level' to nil, in order to avoid
185 truncation. Reported by Christopher Schmidt
186 <christopher@ristopher.com>.
187
188 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
189
190 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
191 New defmacro.
192 (tramp-compat-copy-directory): Add optional argument
193 COPY-CONTENTS. It is not handled yet.
194
195 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
196 (tramp-ftp-file-name-p): Simplify.
197
198 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
199 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
200 connection vector.
201
202 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
203 (tramp-methods): Do not use `tramp-password-end-of-line'.
204 (tramp-completion-function-alist-putty): Handle UNIX case.
205 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
206 (tramp-do-file-attributes-with-stat)
207 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
208 gid as real numbers. They could run out of integer range on cygwin.
209 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
210 (tramp-sh-handle-expand-file-name): Handle hops.
211 (tramp-open-connection-setup-interactive-shell):
212 Use `tramp-cleanup'. Move check for busyboxes ...
213 (tramp-find-shell): ... here. Simplify implementation.
214 Set "remote-shell" property also for alternative shells.
215 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
216 If failing, a regular file would be written otherwise.
217 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
218 (tramp-find-inline-encoding): Cache the coding commands in the
219 process cache. Apply test command on the remote side, if defined.
220 (tramp-find-inline-compress): Cache the compress commands in the
221 process cache.
222 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
223 when requested. Handle hops.
224 (tramp-current-connection): New defvar.
225 (tramp-maybe-open-connection): Use `tramp-cleanup'.
226 Throw `suppress', if there was a failed connection shortly before.
227 Handle user interrupt. (Bug#10187)
228 (tramp-get-inline-compress, tramp-get-inline-coding):
229 Read connection properties from the process cache.
230
231 * net/tramp-smb.el (tramp-smb-server-version)
232 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
233 New defconsts.
234 (tramp-smb-prompt): Extend for powershell prompt.
235 (tramp-smb-file-name-handler-alist): Add handlers for
236 `process-file', `shell-command' and `start-file-process'.
237 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
238 (tramp-smb-winexe-shell-command-switch): New defcustoms.
239 (tramp-smb-file-name-p): Simplify.
240 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
241 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
242 (tramp-smb-shell-quote-argument): New defuns.
243 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
244 Implement using "tar". By this, time-stamps are preserved.
245 (tramp-smb-handle-copy-file): Handle also the case of directories.
246 (tramp-smb-do-file-attributes-with-stat)
247 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
248 Use `tramp-get-connection-buffer').
249 (tramp-smb-handle-rename-file): Use "rename", when source and
250 target are on the same share.
251 (tramp-smb-maybe-open-connection): Handle wrong passwords.
252 Use `tramp-smb-server-version'.
253 (tramp-smb-wait-for-output): Remove prompt.
254
255 * net/tramp.el (top): Require 'cl.
256 (tramp-methods, tramp-rsh-end-of-line):
257 Remove `tramp-password-end-of-line' from docstring.
258 (tramp-save-ad-hoc-proxies): New defcustom.
259 (tramp-completion-function-alist): Adapt docstring.
260 (tramp-default-password-end-of-line): Remove defcustom.
261 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
262 (tramp-user-regexp, tramp-file-name-regexp-unified)
263 (tramp-file-name-regexp-url): Extend regexp by hop separator.
264 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
265 (tramp-remote-file-name-spec-regexp): New defconst.
266 (tramp-file-name-structure): Extend structure for hops.
267 (tramp-get-method-parameter): Move up.
268 (tramp-file-name-p, tramp-dissect-file-name)
269 (with-parsed-tramp-file-name): Handle hops.
270 (tramp-file-name-hop): New defun.
271 (tramp-make-tramp-file-name): New optional arg HOP.
272 (tramp-message-show-progress-reporter-message): New defvar.
273 (tramp-with-progress-reporter): Use it. We cannot use
274 `tramp-message-show-message' here, because this suppresses also
275 error buffers.
276 (tramp-error-with-buffer): Suppress buffer view, if
277 `tramp-message-show-message' is nil.
278 Use `tramp-get-connection-buffer'.
279 (tramp-cleanup): New defun.
280 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
281 (tramp-file-name-handler): If `debug-on-error' is set, propagate
282 an error unchanged.
283 (tramp-completion-handle-file-name-all-completions): Handle hops.
284 Fix an error when called from ido.
285 (tramp-completion-dissect-file-name): Use better local variable
286 name. Add hop to the vector.
287 (tramp-handle-insert-file-contents): Use progress-reporter for the
288 whole scenario.
289 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
290 to `t'.
291 (tramp-check-for-regexp): Simplify search.
292 (tramp-enter-password): Remove it. Move implementation ...
293 (tramp-action-password): ... here.
294 (tramp-mode-string-to-int, tramp-local-host-p)
295 (tramp-make-tramp-temp-file, tramp-read-passwd)
296 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
297 Set tramp-autoload cookie.
298
299 * net/trampver.el: Update release number.
300
301 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
302 Michael Albinus <michael.albinus@gmx.de>
303
304 * net/tramp.el (tramp-set-completion-function): Fix docstring.
305 (tramp-parse-group, tramp-parse-file)
306 (tramp-parse-shostkeys-sknownhosts): New defuns.
307 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
308 (tramp-parse-shosts-group, tramp-parse-sconfig)
309 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
310 (tramp-parse-sknownhosts, tramp-parse-hosts)
311 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
312 Use them.
313 (tramp-parse-passwd-group, tramp-parse-netrc-group)
314 (tramp-parse-putty-group): Don't narrow.
315 (tramp-parse-putty): Make a loop.
316 (tramp-file-name-handler): Catch the `suppress' signal.
317
318 2012-06-11 Chong Yidong <cyd@gnu.org>
319
320 * image.el (imagemagick-register-types): Put the ImageMagick entry
321 at the end of image-type-file-name-regexps.
322
323 2012-06-11 Johan Bockgård <bojohan@gnu.org>
324
325 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
326 (pcase, pcase-let*, pcase-dolist): Use them.
327
328 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
329
330 * emacs-lisp/pcase.el (pcase--let*): New function.
331 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
332 (pcase--expand): Use macroexp-let².
333
334 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
335
336 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
337 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
338 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
339 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
340 * emacs-lisp/derived.el: Use pcase instead of `cl'.
341 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
342
343 2012-06-10 Glenn Morris <rgm@gnu.org>
344
345 * mail/rmail.el (rmail-yank-current-message): Leave point at
346 correct position. (Bug#11660)
347
348 2012-06-10 Chong Yidong <cyd@gnu.org>
349
350 * allout-widgets.el: Fix code header.
351
352 2012-06-10 Chong Yidong <cyd@gnu.org>
353
354 * cus-edit.el (customize-changed-options-previous-release):
355 Bump to 24.1.
356
357 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
358
359 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
360
361 2012-06-09 Chong Yidong <cyd@gnu.org>
362
363 * ebuff-menu.el (electric-buffer-list): Preserve header line.
364
365 2012-06-09 Martin Rudalics <rudalics@gmx.at>
366
367 * window.el (special-display-popup-frame): Don't use
368 window--display-buffer (Bug#11651).
369
370 2012-06-09 Eli Zaretskii <eliz@gnu.org>
371
372 Fix parallel builds: make sure loaddefs.el is not being written
373 while Lisp files are compiled.
374 (compile): Don't depend on 'mh-autoloads'.
375 (compile-CMD, compile-SH): Depend on 'autoloads'.
376 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
377
378 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
379
380 2012-06-09 Chong Yidong <cyd@gnu.org>
381
382 * face-remap.el (face-remap-add-relative, face-remap-set-base)
383 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
384 Doc fixes (Bug#11225).
385
386 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
387
388 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
389 a function if there's a clear indication that it has a compiler-macro.
390 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
391 (macro-declarations-alist): Add arglist to declaration functions.
392 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
393 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
394 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
395 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
396 Also add autoload to find the compiler macro.
397 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
398 (cl--compiler-macro-member, cl--compiler-macro-assoc)
399 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
400 (cl--compiler-macro-get): New functions, replacing calls to
401 cl-define-compiler-macro.
402 (cl-typep) [compiler-macro]: Use macroexp-let².
403
404 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
405
406 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
407 string properly, fixes Bug#11473.
408
409 2012-06-08 Chong Yidong <cyd@gnu.org>
410
411 * faces.el (set-face-attribute): Doc fix.
412 (modify-face): Don't use :bold and :italic.
413 (error, warning, success): Tweak definitions.
414
415 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
416 (custom-modified, custom-set, custom-changed, custom-themed)
417 (custom-saved, custom-button, custom-button-mouse)
418 (custom-button-pressed, custom-state, custom-comment-tag)
419 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
420 (custom-group-subtitle): Use new-style face specs.
421 (custom-invalid-face, custom-rogue-face, custom-modified-face)
422 (custom-set-face, custom-changed-face, custom-saved-face)
423 (custom-button-face, custom-button-pressed-face)
424 (custom-documentation-face, custom-state-face)
425 (custom-comment-face, custom-comment-tag-face)
426 (custom-variable-tag-face, custom-variable-button-face)
427 (custom-face-tag-face, custom-group-tag-face-1)
428 (custom-group-tag-face): Remove obsolete face alias.
429
430 * epa.el (epa-validity-high, epa-validity-medium)
431 (epa-validity-low, epa-mark, epa-field-name, epa-string)
432 (epa-field-name, epa-field-body):
433 * font-lock.el (font-lock-comment-face, font-lock-string-face)
434 (font-lock-keyword-face, font-lock-builtin-face)
435 (font-lock-function-name-face, font-lock-variable-name-face)
436 (font-lock-type-face, font-lock-constant-face):
437 * ido.el (ido-first-match, ido-only-match, ido-subdir)
438 (ido-virtual, ido-indicator, ido-incomplete-regexp):
439 * speedbar.el (speedbar-button-face, speedbar-file-face)
440 (speedbar-directory-face, speedbar-tag-face)
441 (speedbar-selected-face, speedbar-highlight-face)
442 (speedbar-separator-face):
443 * whitespace.el (whitespace-newline, whitespace-space)
444 (whitespace-hspace, whitespace-tab, whitespace-trailing)
445 (whitespace-line, whitespace-space-before-tab)
446 (whitespace-space-after-tab, whitespace-indentation)
447 (whitespace-empty):
448 * emulation/cua-base.el (cua-global-mark):
449 * eshell/em-prompt.el (eshell-prompt):
450 * net/newst-plainview.el (newsticker-new-item-face)
451 (newsticker-old-item-face, newsticker-immortal-item-face)
452 (newsticker-obsolete-item-face, newsticker-date-face)
453 (newsticker-statistics-face, newsticker-default-face):
454 * net/newst-reader.el (newsticker-feed-face)
455 (newsticker-extra-face, newsticker-enclosure-face):
456 * net/newst-treeview.el (newsticker-treeview-face)
457 (newsticker-treeview-new-face, newsticker-treeview-old-face)
458 (newsticker-treeview-immortal-face)
459 (newsticker-treeview-obsolete-face)
460 (newsticker-treeview-selection-face):
461 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
462 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
463 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
464 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
465 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
466 (nxml-outline-active-indicator, nxml-outline-ellipsis):
467 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
468 (mpuz-text):
469 * progmodes/vera-mode.el (vera-font-lock-number)
470 (vera-font-lock-function, vera-font-lock-interface):
471 * textmodes/table.el (table-cell): Use new-style face specs, and
472 don't use the old :bold and :italic attributes.
473
474 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
475 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
476 (ebrowse-member-class, ebrowse-progress): Likewise.
477 (ebrowse-tree-mark-face, ebrowse-root-class-face)
478 (ebrowse-file-name-face, ebrowse-default-face)
479 (ebrowse-member-attribute-face, ebrowse-member-class-face)
480 (ebrowse-progress-face): Remove obsolete faces.
481
482 * progmodes/flymake.el (flymake-errline, flymake-warnline):
483 Inherit from error and warning faces respectively.
484
485 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
486 Likewise.
487 (flyspell-incorrect-face, flyspell-duplicate-face):
488 Remove obsolete aliases.
489
490 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
491
492 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
493 Avoid infloop.
494
495 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 * startup.el (argv, argi): Make lexically scoped.
498 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
499 * emacs-lisp/cl-macs.el: Use lexical-binding.
500 Rename cl-bind-* to cl--bind-*.
501 * files.el: Don't require `cl' since it doesn't use it.
502 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
503
504 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
505
506 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
507 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
508 instead of calling external sort utility.
509 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
510
511 2012-06-08 Eli Zaretskii <eliz@gnu.org>
512
513 * descr-text.el (describe-char): Mention how to insert the
514 character, if the current input method doesn't support it.
515 See the discussion in this thread for the details:
516 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
517
518 2012-06-08 Sam Steingold <sds@gnu.org>
519
520 * bindings.el (global-map): Bind XF86Forward to next-buffer and
521 XF86Back to previous-buffer.
522 (minibuffer-local-map): Bind them to next-history-element and
523 previous-history-element respectively.
524 * help-mode.el (help-mode-map): Bind them to help-go-forward and
525 help-go-back respectively.
526 * info.el (Info-mode-map): Bind them to Info-history-forward and
527 Info-history-back respectively.
528 These are the keys next to Up on the ThinkPad keyboard.
529
530 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
531
532 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
533 * emacs-lisp/cl-macs.el: Provide itself.
534 (cl--labels-convert-cache): New var.
535 (cl--labels-convert): New function.
536 (cl-flet, cl-labels): New implementation with new semantics, relying on
537 lexical-binding.
538 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
539 (cl-closure-vars, cl--function-convert-cache)
540 (cl--function-convert): Move from cl-macs.el.
541 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
542 rename by removing the "cl-" prefix.
543 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
544
545 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
548 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
549 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
550 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
551 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
552 (cl-hash-table-count): Add old compatibility aliases.
553
554 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
555 Use macroexpand-all-environment instead.
556 (cl--old-macroexpand): New var.
557 (cl--sm-macroexpand): New function.
558 (cl-symbol-macrolet): Use it during macro expansion.
559 (cl--function-convert-cache): New var.
560 (cl--function-convert): New function, extracted from
561 cl-macroexpand-all.
562 (cl-lexical-let): Use it.
563
564 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
565 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
566 (cl-member): Remove old alias.
567
568 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
569 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
570 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
571 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
572 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
573 (cl-macroexpand-cmacs): Remove var.
574 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
575 Use macroexpand-all instead.
576
577 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
578
579 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
580 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
581 (macroexp-copyable-p): New functions and macros.
582 * emacs-lisp/edebug.el (edebug-unwrap):
583 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
584 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
585 (pcase--let*): Remove.
586 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
587 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
588 macroexp-const-p instead.
589 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
590
591 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
592 instead of "cl-" for internal definitions. Use macroexp-const-p.
593 (cl-old-bc-file-form): Remove var.
594 (cl-const-exprs-p): Remove fun.
595 (cl-labels, cl-macrolet): Use backquote.
596 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
597 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
598 (cl-define-setf-expander): Rename from cl-define-setf-method.
599 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
600
601 * international/mule-cmds.el: Don't require CL.
602 (view-hello-file): Don't use `letf'.
603
604 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * tmm.el (tmm-prompt): Use string-prefix-p.
607 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
608 (tmm-add-prompt): Use minibuffer-completion-help.
609 (tmm-delete-map): Remove.
610
611 * subr.el (kbd): Make it its own function.
612
613 2012-06-07 Stefan Merten <smerten@oekonux.de>
614
615 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
616 Silence compiler warnings. Fix versions.
617 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
618 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
619 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
620 (rst-package-emacs-version-alist): Correct Emacs version to
621 represent major merge with upstream.
622 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
623
624 2012-06-06 Glenn Morris <rgm@gnu.org>
625
626 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
627 Only print environment variables if set.
628
629 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
630
631 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
632 (macroexp--cons): Rename from maybe-cons.
633 (macroexp--accumulate): Rename from macroexp-accumulate.
634 (macroexp--all-forms): Rename from macroexpand-all-forms.
635 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
636 (macroexp--expand-all): Rename from macroexpand-all-1.
637
638 2012-06-06 Sam Steingold <sds@gnu.org>
639
640 * calendar/calendar.el (calendar-in-read-only-buffer):
641 Call `special-mode' to enable the standard read-only keybindings.
642
643 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
644
645 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
646 with "loading" messages (bug#11635).
647
648 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
649
650 * files.el (enable-remote-dir-locals): New option.
651 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
652
653 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
654 Ensure, that the temp directory is local.
655
656 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
657 `temporary-file-directory'.
658
659 * progmodes/python.el (python-send-region): Ensure, that the
660 temporary file is created also in the remote case.
661
662 2012-06-06 Glenn Morris <rgm@gnu.org>
663
664 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
665 (vc-rcs-update-changelog): Use it.
666
667 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
668
669 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
670 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
671 (vc-sccs-diff): Replace use of the external vcdiff script.
672
673 2012-06-05 Glenn Morris <rgm@gnu.org>
674
675 * ledit.el: Move to obsolete/.
676
677 2012-06-05 Sam Steingold <sds@gnu.org>
678
679 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
680 patch (Bug#11140).
681
682 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
683
684 * emacs-list/cust-print.el: Move to obsolete.
685
686 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
687 compiler-macro expansion.
688
689 Add native compiler-macro support.
690 * emacs-lisp/macroexp.el (macroexpand-all-1):
691 Support compiler-macros directly. Properly follow aliases and apply
692 the compiler macros more thoroughly.
693 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
694 macroexpand now properly follows aliases.
695 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
696 (cl-compiler-macroexpand): Use new prop.
697 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
698
699 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
700
701 2012-06-05 Martin Rudalics <rudalics@gmx.at>
702
703 * window.el (get-lru-window, get-mru-window, get-largest-window):
704 New argument NOT-SELECTED to avoid picking the selected window.
705 (window--display-buffer-1, window--display-buffer-2): Replace by
706 new function window--display-buffer
707 (display-buffer-same-window, display-buffer-reuse-window)
708 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
709 Use window--display-buffer.
710 (display-buffer-use-some-window): Remove temporary dedication
711 hack by calling get-lru-window and get-largest-window with
712 NOT-SELECTED argument non-nil. Call window--display-buffer.
713
714 2012-06-05 Glenn Morris <rgm@gnu.org>
715
716 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
717 Replace external vcdiff script.
718
719 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
720
721 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
722
723 2012-06-04 Chong Yidong <cyd@gnu.org>
724
725 * image.el (imagemagick-types-inhibit): Revert last change.
726 Add INFO and M.
727 (imagemagick-enabled-types): Remove CIN and EPS*.
728
729 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
730
731 * emacs-lisp/cl-lib.el: Rename from cl.el.
732 * emacs-lisp/cl.el: New compatibility file.
733 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
734 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
735 to obey the "cl-" prefix.
736 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
737
738 2012-06-03 Glenn Morris <rgm@gnu.org>
739
740 * emacs-lisp/authors.el (authors-aliases): Addition.
741
742 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
743 Fix :version.
744
745 2012-06-03 Stefan Merten <smerten@oekonux.de>
746
747 * textmodes/rst.el: Add comments.
748 (rst-transition, rst-adornment): New faces.
749 (rst-adornment-faces-alist): Make default safe to reevaluate.
750 Fixes
751 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
752 Improve customization tags.
753 (rst-define-level-faces): Clarify meaning.
754
755 2012-06-03 Chong Yidong <cyd@gnu.org>
756
757 * progmodes/compile.el (compilation-mode-line-fail)
758 (compilation-mode-line-run, compilation-mode-line-exit):
759 New faces.
760 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
761
762 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
763
764 * progmodes/which-func.el (which-func-update-ediff-windows):
765 New function. Use it in ediff-select-hook (Bug#11478).
766
767 2012-06-03 Chong Yidong <cyd@gnu.org>
768
769 * bindings.el: Remove explicit help text from format-mode-line.
770 It is now supplied by mode-line-default-help-echo.
771 (mode-line-front-space, mode-line-end-spaces)
772 (mode-line-misc-info): New variables.
773 (mode-line-modes, mode-line-position): Move the default value to
774 the variable definition.
775 (mode-line-default-help-echo): New defcustom.
776 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
777 (mode-line-modified-help-echo): New functions.
778 (mode-line-mule-info, mode-line-modified): Use them.
779 (mode-line-eol-desc, propertized-buffer-identification):
780 Consistency fixes for help text.
781 (mode-line-coding-system-map): Allow using mouse-3 to invoke
782 set-buffer-file-coding-system (Bug#289).
783 (mode-line-mule-info-help-echo): Update help text.
784
785 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
786
787 * simple.el (execute-extended-command): Set real-this-command
788 (bug#11506).
789
790 2012-06-02 Chong Yidong <cyd@gnu.org>
791
792 Remove incorrect uses of "modeline" in comments, docstrings, and
793 function/variable names (Bug#10329).
794
795 * cus-edit.el (mode-line):
796 * dframe.el (dframe-mouse-hscroll):
797 * emacs-lisp/re-builder.el:
798 * emacs-lisp/easy-mmode.el (define-minor-mode):
799 * frame.el (set-frame-name):
800 * help.el (lookup-minor-mode-from-indicator):
801 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
802 * progmodes/cc-cmds.el (c-toggle-auto-newline)
803 (c-toggle-hungry-state):
804 * progmodes/antlr-mode.el (antlr-language-alist):
805 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
806 * progmodes/vhdl-mode.el (vhdl-mode):
807 * progmodes/which-func.el (which-func, which-func-cleanup-function):
808 * term/ns-win.el (ns-face-at-pos):
809 * term/sup-mouse.el (sup-mouse-report):
810 * textmodes/flyspell.el (flyspell-mode-line-string):
811 * textmodes/ispell.el (ispell-highlight-face):
812 * textmodes/reftex-global.el:
813 * vc/vc-arch.el (vc-arch-mode-line-string):
814 * vc/vc-cvs.el (vc-cvs-mode-line-string):
815 * vc/vc-git.el (vc-git-mode-line-string):
816 * vc/vc-hooks.el (vc-display-status)
817 (vc-default-mode-line-string):
818 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
819
820 * ansi-color.el (ansi-color-faces-vector): Change default faces.
821
822 * dired.el (dired-sort-set-mode-line): Rename from
823 dired-sort-set-modeline. All callers changed.
824
825 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
826 eshell-status-in-modeline.
827
828 * foldout.el (foldout-mode-line-string): Rename from
829 foldout-modeline-string. All callers changed.
830 (foldout-update-mode-line): Rename from foldout-update-modeline.
831
832 * subr.el (redraw-modeline): Make into obsolete alias.
833
834 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
835 timeclock-modeline-display. Make old name an alias.
836 (timeclock-update-mode-line): Likewise. All callers changed.
837 (timeclock-mode-line-display): No need to check before using
838 add-hook.
839 (timeclock-relative, timeclock-day-over-hook)
840 (timeclock-use-elapsed, timeclock-mode-string)
841 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
842
843 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
844 crisp-mode-modeline-string.
845
846 * play/solitaire.el (solitaire-build-mode-line): Rename from
847 solitaire-build-modeline. All callers changed.
848
849 * play/zone.el (zone-hiding-mode-line): Rename from
850 zone-hiding-modeline. All callers changed.
851 (zone): Remove unusued `modeline-hidden-level' property.
852
853 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
854 xscheme-modeline-initialize. All callers changed.
855
856 * strokes.el (strokes-lighter): Rename from
857 strokes-modeline-string.
858
859 * textmodes/sgml-mode.el (html-face-tag-alist)
860 (html-tag-face-alist): Use mode-line face instead of obsolete
861 alias modeline.
862
863 2012-06-02 Stefan Merten <smerten@oekonux.de>
864
865 * textmodes/rst.el: Always require `cl'.
866 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
867
868 2012-06-02 Chong Yidong <cyd@gnu.org>
869
870 * image.el (imagemagick-enabled-types): Rename from
871 imagemagick-types-enable. Add many more types.
872 (imagemagick-types-inhibit): Change default to nil.
873 (imagemagick-filter-types): Caller changed.
874
875 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * emacs-lisp/cl-macs.el: Use backquotes.
878 (cl-transform-function-property): Use eval-and-compile rather than
879 abusing `require'.
880 (defstruct): Use declare-function instead of with-no-warnings.
881
882 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
883 (byte-compile-output-docform): Re-add the print-circle bindings.
884 (byte-compile-fix-header): Use #$ just because it's shorter.
885 (byte-compile-output-file-form): Remove defun/defmacro.
886
887 2012-06-01 Martin Rudalics <rudalics@gmx.at>
888
889 * simple.el (choose-completion): Remove now obsolete binding for
890 owindow.
891
892 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
893
894 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
895 in order to avoid "Stack overflow in regexp matcher".
896
897 2012-05-31 Glenn Morris <rgm@gnu.org>
898
899 * image.el: For clarity, call imagemagick-register-types at
900 top-level, rather than relying on a custom :initialize.
901 (imagemagick-types-enable): New option. (Bug#11557)
902 (imagemagick-filter-types): New function. (Bug#7406)
903 (imagemagick-register-types): Use imagemagick-filter-types.
904 If disabling support, remove elements altogether rather
905 than using an impossible regexp.
906 (imagemagick-types-inhibit): Give it the default init function.
907
908 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
909
910 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
911 Handle arbitrary file name lengths (Bug#11585).
912
913 2012-05-31 Martin Rudalics <rudalics@gmx.at>
914
915 * desktop.el (desktop-read): Clear previous and next buffers for
916 all windows and bury *Messages* buffer (bug#11556).
917
918 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
919
920 Add `declare' for `defun'. Align `defmacro's with it.
921 * emacs-lisp/easy-mmode.el (define-minor-mode)
922 (define-globalized-minor-mode): Don't autoload the var definitions.
923 * emacs-lisp/byte-run.el: Use lexical-binding.
924 (defun-declarations-alist, macro-declarations-alist): New vars.
925 (defmacro, defun): Use them.
926 (make-obsolete, define-obsolete-function-alias)
927 (make-obsolete-variable, define-obsolete-variable-alias):
928 Use `declare'.
929 (macro-declaration-function): Mark obsolete.
930 * emacs-lisp/autoload.el: Use lexical-binding.
931 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
932
933 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
934
935 * textmodes/ispell.el (ispell-with-no-warnings):
936 Define as a macro.
937 (ispell-kill-ispell, ispell-change-dictionary):
938 Use `called-interactively-p' for Emacs instead of obsolete
939 `interactive-p'.
940
941 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
942
943 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
944 (macro-declaration-function): Move var from C code.
945 (macro-declaration-function): Define function with defalias.
946 * emacs-lisp/macroexp.el (macroexpand-all-1):
947 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
948 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
949 defun/defmacro any more.
950 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
951 Provide fallback for unknown arglist.
952 (byte-compile-arglist-warn): Change calling convention.
953 (byte-compile-output-file-form): Move print-vars binding.
954 (byte-compile-output-docform): Simplify accordingly.
955 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
956 (byte-compile-defmacro-declaration): Remove.
957 (byte-compile-file-form-defmumble): Generalize to defalias.
958 (byte-compile-output-as-comment): Return byte-positions.
959 Simplify callers accordingly.
960 (byte-compile-lambda): Use `assert'.
961 (byte-compile-defun, byte-compile-defmacro): Remove.
962 (byte-compile-file-form-defalias):
963 Use byte-compile-file-form-defmumble.
964 (byte-compile-defalias-warn): Remove.
965
966 2012-05-29 Stefan Merten <smerten@oekonux.de>
967
968 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
969 possible. Fix authors. Improve comments. Improve loading of `cl'.
970
971 (rst-mode-abbrev-table): Merge definition.
972 (rst-mode): Make sure `font-lock-defaults' is buffer local.
973 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
974
975 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
976
977 * calendar/icalendar.el
978 (icalendar-export-region): Export UID properly.
979
980 2012-05-29 Leo <sdl.web@gmail.com>
981 * calendar/icalendar.el (icalendar-import-format):
982 Add `icalendar-import-format-uid' (Bug#11525).
983 (icalendar-import-format-uid): New.
984 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
985 Export UID.
986
987 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
988
989 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
990 different alternative patterns.
991 (pcase-codegen): Be more careful to preserve identity.
992 (pcase--u1): Don't forget to mark vars as used.
993
994 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
995 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
996 (byte-compile-from-buffer): ...rather than here.
997
998 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
999 functions from byte-compile-function-environment.
1000
1001 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
1002
1003 * window.el (window-deletable-p): Avoid deleting the root window
1004 of a frame with an active minibuffer.
1005
1006 2012-05-29 Martin Rudalics <rudalics@gmx.at>
1007
1008 * simple.el (choose-completion): Use quit-window (Bug#11567).
1009
1010 2012-05-29 Chong Yidong <cyd@gnu.org>
1011
1012 * whitespace.el (whitespace-cleanup): Fix usage of
1013 whitespace-empty-at-bob-regexp (Bug#11492).
1014
1015 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1016
1017 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
1018 revert (Bug#11488).
1019
1020 2012-05-29 Juri Linkov <juri@jurta.org>
1021
1022 * isearch.el (isearch-mode-map): Bind `M-s _' to
1023 `isearch-toggle-symbol'. Bind `M-s c' to
1024 `isearch-toggle-case-fold'.
1025 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1026 (isearch-forward): Add `M-s _' to the docstring.
1027 (isearch-forward-symbol, isearch-toggle-case-fold)
1028 (isearch-symbol-regexp): New functions. (Bug#11381)
1029
1030 2012-05-29 Juri Linkov <juri@jurta.org>
1031
1032 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1033 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1034 a function, call it to get the regexp.
1035 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1036 property `isearch-message-prefix' instead of the string "word ".
1037 (isearch-search-fun-default): For the case of `isearch-word',
1038 return a lambda that calls re-search-forward/re-search-backward
1039 with a regexp returned by `word-search-regexp' or by the function
1040 in `isearch-word'.
1041
1042 2012-05-29 Juri Linkov <juri@jurta.org>
1043
1044 * isearch.el (isearch-search-fun-default): New function.
1045 (isearch-search-fun): Move default part to the new function
1046 `isearch-search-fun-default'.
1047 (isearch-search-fun-function): Set the default value to
1048 `isearch-search-fun-default'. (Bug#11381)
1049
1050 * comint.el (comint-history-isearch-end):
1051 Use `isearch-search-fun-default'.
1052 (comint-history-isearch-search): Use `isearch-search-fun-default'
1053 and remove spacial case for `isearch-word'.
1054 (comint-history-isearch-wrap): Remove spacial case for
1055 `isearch-word'.
1056
1057 * hexl.el (hexl-isearch-search-function):
1058 Use `isearch-search-fun-default'.
1059
1060 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1061 Use `word-search-regexp' for `isearch-word'.
1062
1063 * misearch.el (multi-isearch-search-fun):
1064 Use `isearch-search-fun-default'.
1065
1066 * simple.el (minibuffer-history-isearch-search):
1067 Use `isearch-search-fun-default' and remove spacial case for
1068 `isearch-word'.
1069 (minibuffer-history-isearch-wrap): Remove spacial case for
1070 `isearch-word'.
1071
1072 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1073 Remove spacial case for `isearch-word'.
1074 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1075
1076 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1077
1078 Decrease XEmacs incompatibilities.
1079 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1080 Use `string-match'.
1081 (flyspell-delete-region-overlays): Use alternative definition for
1082 XEmacs.
1083 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1084 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1085 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1086 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1087 `define-obsolete-face-alias' under XEmacs, but old method.
1088
1089 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1090 `with-no-warnings' definition or Emacs alias.
1091 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1092 (ispell-word): Do not use `region-p' if XEmacs.
1093
1094 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1095
1096 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1097 Check for `ispell-dictionary-base-alist' instead of full
1098 `ispell-dictionary-alist'.
1099 (ispell-init-process): Show spellchecker when starting new Ispell
1100 process.
1101
1102 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1103
1104 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1105 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1106
1107 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
1108
1109 * version.el (motif-version-string, gtk-version-string)
1110 (ns-version-string): Declare.
1111
1112 2012-05-27 Juri Linkov <juri@jurta.org>
1113
1114 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1115 after the `eval-defun-1' specialcaseing
1116 like in `edebug-eval-defun' (bug#10181).
1117
1118 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1119 like in `eval-defun-1'.
1120
1121 2012-05-27 Eli Zaretskii <eliz@gnu.org>
1122
1123 * mail/sendmail.el (mail-yank-region):
1124 Recognize rmail-yank-current-message in addition to insert-buffer.
1125 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
1126 a *mail* buffer created through rmail-start-mail with sendmail as
1127 mail-user-agent.
1128
1129 2012-05-27 Chong Yidong <cyd@gnu.org>
1130
1131 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1132 Default to 256 (Bug#11267).
1133
1134 * help.el (describe-mode): Doc fix.
1135
1136 2012-05-26 Glenn Morris <rgm@gnu.org>
1137
1138 * w32-fns.el (w32-init-info): Remove.
1139 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1140
1141 * info.el (info-initialize): For self-contained NS builds, put the
1142 included info/ directory at the front. (Bug#2791)
1143
1144 * paths.el (Info-default-directory-list): Make it a defcustom,
1145 mainly so that we can use custom-initialize-delay.
1146
1147 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1148
1149 * subr.el (buffer-has-markers-at): Mark obsolete.
1150
1151 * subr.el (lambda): Use declare.
1152
1153 * emacs-lisp/lisp-mode.el (lambda):
1154 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1155
1156 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1157
1158 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1159
1160 2012-05-26 Glenn Morris <rgm@gnu.org>
1161
1162 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1163
1164 2012-05-25 Glenn Morris <rgm@gnu.org>
1165
1166 * paths.el: Remove no-byte-compile.
1167 * loadup.el: No need to load paths.el uncompiled.
1168
1169 * image.el (imagemagick-types-inhibit): Doc fix.
1170
1171 * version.el: Remove no-byte-compile and associated formatting.
1172 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1173 is ancient code from when there was an "inc-vers.el".
1174
1175 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1176
1177 * progmodes/gdb-mi.el: Minor style changes.
1178 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1179 Turn into minor modes.
1180 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1181 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1182 (gdb-shell): Remove unneeded let-binding.
1183 (gdb-get-many-fields): Eliminate O(n²) behavior.
1184
1185 2012-05-25 Eli Zaretskii <eliz@gnu.org>
1186
1187 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1188 platforms that don't link in fontset.c.
1189
1190 2012-05-25 Juri Linkov <juri@jurta.org>
1191
1192 Use the same diff color scheme as in modern VCSes (bug#10181).
1193
1194 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1195 to avoid confusion with `diff-added' that now uses green colors.
1196 (diff-removed): Use shades of red.
1197 (diff-added): Use shades of green.
1198 (diff-changed): Leave just the yellow color.
1199 (diff-use-changed-face): New variable.
1200 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1201 how to highlight context diff changes.
1202 (diff-refine-change): Use shades of yellow.
1203 (diff-refine-removed): New face that uses shades of red.
1204 (diff-refine-added): New face that uses shades of green.
1205 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1206 `diff-refine-removed' in the call to `smerge-refine-subst'
1207 depending on the value of `diff-use-changed-face'.
1208
1209 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1210 (smerge-other): Use shades of green.
1211 (smerge-base): Use shades of yellow.
1212 (smerge-refined-change): Empty face.
1213 (smerge-refined-removed): New face that uses shades of red.
1214 (smerge-refined-added): New face that uses shades of green.
1215 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1216 args `props-r' and `props-a', and use them. Doc fix.
1217 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1218 on its value use different faces `smerge-refined-change',
1219 `smerge-refined-removed', `smerge-refined-added' in the call to
1220 `smerge-refine-subst'.
1221
1222 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1223 Add face condition `min-colors 88' with shades of red.
1224 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1225 `min-colors 88' with shades of green.
1226 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1227 `min-colors 88' with shades of yellow.
1228
1229 2012-05-24 Glenn Morris <rgm@gnu.org>
1230
1231 * paths.el (prune-directory-list, remote-shell-program): Move to...
1232 * files.el (prune-directory-list, remote-shell-program): ...here.
1233 For the latter, delay initialization, prefer ssh, just search PATH.
1234
1235 * paths.el (term-file-prefix): Move to faces.el (the only user).
1236 * faces.el (term-file-prefix): Move here, make it a defcustom.
1237
1238 * paths.el (news-directory, news-path, news-inews-program):
1239 Move to gnus/nnspool.el.
1240
1241 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1242
1243 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1244 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1245 Make the latter a defcustom, with a delayed initialization.
1246
1247 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1248 These were deleted from Gnus itself late 2010.
1249
1250 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
1251
1252 * progmodes/which-func.el (which-func-ff-hook):
1253 Check against user-error, not error.
1254
1255 * emacs-lisp/edebug.el (top): Do not load or set up loading of
1256 cl-specs.el, which no longer exists.
1257
1258 2012-05-22 Glenn Morris <rgm@gnu.org>
1259
1260 * info.el (info-emacs-bug): New command.
1261 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1262 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1263
1264 2012-05-21 Glenn Morris <rgm@gnu.org>
1265
1266 * makefile.w32-in (update-subdirs-SH):
1267 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1268
1269 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1272
1273 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1274 Simplify Maven regexp, and make sure the file can't start with a space
1275 (bug#11517).
1276
1277 2012-05-21 Glenn Morris <rgm@gnu.org>
1278
1279 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1280 Scrap superfluous subshells.
1281
1282 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1283
1284 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1285 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1286
1287 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1288
1289 * calc/calc.el (calc-ensure-consistent-units): New variable.
1290
1291 * calc/calc-units.el (math-consistent-units-p)
1292 (math-check-unit-consistency): New functions.
1293 (calc-quick-units, calc-convert-units):
1294 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1295 is non-nil.
1296 (calc-extract-units): Fix typo.
1297
1298 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1301
1302 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1303 (flyspell-default-deplacement-commands): Don't spell check after
1304 repeated window/frame switches (e.g. triggered by mouse-movement).
1305 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1306 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1307 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1308 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1309 Remove unused vars.
1310 (flyspell-get-casechars, flyspell-get-not-casechars):
1311 Simplify; Don't bother removing a ] just to add it back.
1312 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1313
1314 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1315
1316 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1317 New functions.
1318 (math-function-table): Add support for more C functions.
1319
1320 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1321
1322 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1323 (flyspell-debug-signal-word-checked): Protect delay handling for
1324 otherchars against empty otherchars.
1325
1326 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1327
1328 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1329 their respective macro declarations.
1330 * skeleton.el (define-skeleton):
1331 * progmodes/compile.el (define-compilation-mode):
1332 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1333 (define-ibuffer-filter):
1334 * emacs-lisp/generic.el (define-generic-mode):
1335 * emacs-lisp/easy-mmode.el (define-minor-mode)
1336 (define-globalized-minor-mode):
1337 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1338 * emacs-lisp/byte-run.el (defsubst):
1339 * custom.el (deftheme): Add doc-string metadata.
1340
1341 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1344
1345 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1348
1349 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1350 * emacs-lisp/cl-macs.el: Idem.
1351 * emacs-lisp/cl-specs.el: Remove.
1352
1353 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1354
1355 Minor renaming of internal CL functions and variables.
1356 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1357 (cl--position): Rename from cl-position.
1358 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1359 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1360 (cl--random-state): Rename from *random-state*.
1361
1362 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1365 parens around the arg list (bug#11499).
1366
1367 2012-05-16 Fabián Ezequiel Gallina <fgallina@cuca>
1368
1369 * progmodes/python.el: New python.el merge.
1370 (python-guess-indent): Obsolete Var.
1371 (python-indent-guess-indent-offset): New Defcustom.
1372 (python-indent): Obsolete Var.
1373 (python-indent-offset): New Defcustom.
1374 (python-python-command, python-jython-command): Delete Var.
1375 (python-shell-interpreter): New Defcustom.
1376 (python-pdbtrack-do-tracking-p): Delete Var.
1377 (python-pdbtrack-activate): New Defcustom.
1378 (python-use-skeletons): Obsolete Var.
1379 (python-skeleton-autoinsert): New Defcustom.
1380 (inferior-python-filter-regexp, python-continuation-offset)
1381 (python-honour-comment-indentation, python-indent-string-contents)
1382 (python-jython-packages, python-mode-hook)
1383 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
1384 (python-shell-prompt-alist)
1385 (python-source-modes): Delete Defcustoms.
1386 (python-check-buffer-name, python-eldoc-setup-code)
1387 (python-eldoc-string-code, python-ffap-setup-code)
1388 (python-ffap-string-code, python-fill-comment-function)
1389 (python-fill-decorator-function, python-fill-paren-function)
1390 (python-fill-string-function, python-imenu-include-defun-type)
1391 (python-imenu-make-tree, python-imenu-subtree-root-label)
1392 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
1393 (python-shell-compilation-regexp-alist)
1394 (python-shell-completion-module-string-code)
1395 (python-shell-completion-pdb-string-code)
1396 (python-shell-completion-setup-code)
1397 (python-shell-completion-string-code)
1398 (python-shell-enable-font-lock, python-shell-exec-path)
1399 (python-shell-extra-pythonpaths)
1400 (python-shell-internal-buffer-name, python-shell-interpreter-args)
1401 (python-shell-process-environment)
1402 (python-shell-prompt-block-regexp)
1403 (python-shell-prompt-output-regexp)
1404 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
1405 (python-shell-send-setup-max-wait, python-shell-setup-codes)
1406 (python-shell-virtualenv-path): New Defcustoms.
1407 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
1408 (inferior-python-mode-syntax-table, python--prompt-regexp)
1409 (python-buffer, python-command python-python-command)
1410 (python-default-template, python-imports, python-indent-index)
1411 (python-indent-list, python-indent-list-length)
1412 (python-mode-running, python-pdbtrack-is-tracking-p)
1413 (python-preoutput-continuation, python-preoutput-leftover)
1414 (python-preoutput-result, python-preoutput-skip-next-prompt)
1415 (python-prev-dir/file, python-recursing)
1416 (python-saved-check-command, python-version-checked)
1417 (python-which-func-length-limit)
1418 (view-return-to-alist): Delete Vars.
1419 (python-check-custom-command, python-dotty-syntax-table)
1420 (python-imenu-index-alist, python-indent-current-level)
1421 (python-indent-dedenters, python-indent-levels)
1422 (python-nav-beginning-of-defun-regexp)
1423 (python-nav-list-defun-positions-cache)
1424 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
1425 (python-shell-internal-buffer)
1426 (python-skeleton-available): New Vars.
1427 (def-python-skeleton): Delete Macro.
1428 (python-skeleton-define): New Macro.
1429 (python-define-auxiliary-skeleton, python-rx): New Macros.
1430 (python-insert-class): Delete Command.
1431 (python-skeleton-class): New Command.
1432 (python-insert-def): Delete Command.
1433 (python-skeleton-def): New Command.
1434 (python-insert-for): Delete Command.
1435 (python-skeleton-for): New Command.
1436 (python-insert-if): Delete Command.
1437 (python-skeleton-if): New Command.
1438 (python-insert-try/except)
1439 (python-insert-try/finally): Delete Commands.
1440 (python-skeleton-try): New Command.
1441 (python-insert-while): Delete Command.
1442 (python-skeleton-while): New Command.
1443 (python-backspace): Delete Command.
1444 (python-indent-dedent-line-backspace): New Command.
1445 (python-electric-colon): Delete Command.
1446 (python-indent-electric-colon): New Command.
1447 (python-guess-indent): Delete Command.
1448 (python-indent-guess-indent-offset): New Command.
1449 (python-shift-left): Delete Command.
1450 (python-indent-shift-left): New Command.
1451 (python-shift-right): Delete Command.
1452 (python-indent-shift-right): New Command.
1453 (python-find-function): Delete Command.
1454 (python-nav-jump-to-defun): New Command.
1455 (python-next-statement): Delete Command.
1456 (python-nav-forward-sentence): New Command.
1457 (python-previous-statement): Delete Command.
1458 (python-nav-backward-sentence): New Command.
1459 (python-fill-paragraph): Delete Command.
1460 (python-fill-paragraph-function): New Command.
1461 (python-send-buffer): Delete Command.
1462 (python-shell-send-buffer): New Command.
1463 (python-send-defun): Delete Command.
1464 (python-shell-send-defun): New Command.
1465 (python-send-region, python-send-region-and-go): Delete Commands.
1466 (python-shell-send-region)
1467 (python-shell-switch-to-shell): New Commands.
1468 (python-send-string): Delete Command.
1469 (python-shell-send-string): New Command.
1470 (python-switch-to-python): Delete Command.
1471 (python-shell-switch-to-shell): New Command.
1472 (python-describe-symbol): Delete Command.
1473 (python-eldoc-at-point): New Command.
1474 (python--set-prompt-regexp, python-args-to-list)
1475 (python-after-info-look, python-check-version)
1476 (python-check-comint-prompt, python-find-imports)
1477 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
1478 (python-unload-function, python-expand-template)
1479 (python-maybe-jython, python-preoutput-filter)
1480 (python-pdbtrack-get-source-buffer)
1481 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
1482 (python-pdbtrack-toggle-stack-tracking)
1483 (python-pdbtrack-track-stack-file, python-initial-text)
1484 (python-first-word, python-comment-line-p, python-send-command)
1485 (python-setup-brm, python-sentinel, python-set-proc)
1486 (python-skip-out, python-input-filter, python-outdent-p)
1487 (python-outline-level, python-backslash-continuation-line-p)
1488 (python-end-of-block, python-end-of-statement, python-mark-block)
1489 (python-beginning-of-block, python-beginning-of-statement)
1490 (python-blank-line-p, python-beginning-of-string)
1491 (python-open-block-statement-p): Delete Functions.
1492 (python-indent-line, python-indent-line-1): Delete Functions.
1493 (python-indent-line): New Function.
1494 (python-indentation-levels): Delete Function.
1495 (python-indent-calculate-levels): New Function.
1496 (python-proc): Delete Function.
1497 (python-shell-get-process): New Function.
1498 (python-send-receive): Delete Function.
1499 (python-shell-send-string-no-output): New Function.
1500 (python-module-path): Delete Function.
1501 (python-ffap-module-path): New Function.
1502 (python-completion-at-point)
1503 (python-symbol-completions): Delete Functions.
1504 (python-completion-complete-at-point): New Function.
1505 (python-load-file): Delete Function.
1506 (python-shell-send-file): New Function.
1507 (python-calculate-indentation): Delete Function.
1508 (python-indent-calculate-indentation): New Function.
1509 (python-skip-comments/blanks): Delete Function.
1510 (python-util-forward-comment): New Function.
1511 (python-continuation-line-p): Delete Function.
1512 (python-info-continuation-line-p): New Function.
1513 (python-which-func, python-current-defun): Delete Function.
1514 (python-info-current-defun): New Function.
1515 (python-beginning-of-defun): Delete Function.
1516 (python-nav-beginning-of-defun): New Function.
1517 (python-close-block-statement-p)
1518 (python-block-end-p): Delete Function.
1519 (python-info-closing-block): New Function.
1520 (python-comint-output-filter-function)
1521 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
1522 (python-fill-comment, python-fill-decorator, python-fill-paren)
1523 (python-fill-string, python-imenu-make-element-tree)
1524 (python-imenu-make-tree, python-imenu-tree-assoc)
1525 (python-indent-context, python-indent-dedent-line)
1526 (python-indent-line-function)
1527 (python-indent-post-self-insert-function)
1528 (python-indent-toggle-levels)
1529 (python-info-assignment-continuation-line-p)
1530 (python-info-beginning-of-backlash)
1531 (python-info-block-continuation-line-p)
1532 (python-info-closing-block-message)
1533 (python-info-line-ends-backslash-p)
1534 (python-info-looking-at-beginning-of-defun)
1535 (python-info-ppss-context, python-info-ppss-context-type)
1536 (python-nav-list-defun-positions, python-nav-read-defun)
1537 (python-nav-sentence-end, python-nav-sentence-start)
1538 (python-pdbtrack-comint-output-filter-function)
1539 (python-pdbtrack-set-tracked-buffer)
1540 (python-shell-calculate-exec-path)
1541 (python-shell-calculate-process-environment)
1542 (python-shell-completion--do-completion-at-point)
1543 (python-shell-completion--get-completions)
1544 (python-shell-completion-complete-at-point)
1545 (python-shell-completion-complete-or-indent)
1546 (python-shell-get-or-create-process)
1547 (python-shell-get-process-name)
1548 (python-shell-internal-get-or-create-process)
1549 (python-shell-internal-get-process-name)
1550 (python-shell-internal-send-string, python-shell-make-comint)
1551 (python-shell-parse-command, python-shell-send-setup-code)
1552 (python-skeleton-add-menu-items)
1553 (python-util-clone-local-variables, python-util-position)
1554 (run-python-internal, python-indentation-levels)
1555 (python-nav-beginning-of-defun)
1556 (python-completion-complete-at-point): New Functions.
1557 (run-python): Change arguments. New API Requirements.
1558
1559 2012-05-17 Juri Linkov <juri@jurta.org>
1560
1561 * isearch.el (word-search-regexp, word-search-backward)
1562 (word-search-forward, word-search-backward-lax)
1563 (word-search-forward-lax): Move functions from search.c
1564 (bug#10145, bug#11381).
1565
1566 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1567
1568 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1569 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1570 normal word components.
1571
1572 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1573
1574 * minibuffer.el (completion--sifn-requote): Fix last change.
1575 (minibuffer-local-must-match-filename-map):
1576 Move define-obsolete-variable-alias before its var.
1577
1578 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1579
1580 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1581
1582 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1583 behavior.
1584 (completion--string-equal-p): New function.
1585 (completion--twq-all): Use it to get better assertion failure data.
1586
1587 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1588 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1589 (shell--requote-argument): New functions.
1590 (shell-completion-vars): Use them.
1591 (shell--parse-pcomplete-arguments): Rename from
1592 shell-parse-pcomplete-arguments.
1593 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1594 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1595 Obey comint-file-name-quote-list.
1596
1597 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1598 (smie-indent-keyword): Use it.
1599
1600 2012-05-14 Stefan Merten <smerten@oekonux.de>
1601
1602 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1603
1604 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1605
1606 * net/rlogin.el (rlogin-mode-map): Fix last change.
1607
1608 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
1609
1610 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1611 the following \r\n using a single `process-send-string', since the
1612 Lotus SMTP server refuses to accept any commands if they are sent
1613 with two `process-send-string's (Bug#11444).
1614
1615 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
1616
1617 * shell.el (shell-parse-pcomplete-arguments):
1618 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
1619
1620 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1621
1622 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
1623 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1624 (image-transform-width, image-transform-fit-width): New functions.
1625 (image-transform-properties): Use them.
1626 (image-transform-check-size): New function.
1627 (image-toggle-display-image): Use it (for testing).
1628 (image-transform-set-rotation): Reduce angle mod 360.
1629 Delete obsolete comment.
1630
1631 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1632
1633 * image-mode.el: Fix scaling (bug#11399).
1634 (image-transform-resize): Doc fix.
1635 (image-transform-properties): Default scale is 1 and height should
1636 be an integer.
1637
1638 2012-05-13 Johan Bockgård <bojohan@gnu.org>
1639
1640 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1641 than hard-coding `car', to fix misbehavior when moving forward.
1642
1643 2012-05-13 Chong Yidong <cyd@gnu.org>
1644
1645 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1646 (tabulated-list-entries, tabulated-list-padding)
1647 (tabulated-list-sort-key): Make permanent-local.
1648
1649 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1650 (electric-buffer-list): Put electric buffer menu
1651 command descriptions in this docstring, instead of the docstring
1652 of electric-buffer-menu-mode. Code cleanups.
1653 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1654 Electric-buffer-menu-mode.
1655 (electric-buffer-update-highlight): Minor code cleanup.
1656
1657 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
1658
1659 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1660 (Bug#11447)
1661
1662 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1663
1664 Move define-obsolete-variable-alias before the var's definition.
1665 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1666 * tooltip.el (tooltip-hook):
1667 * textmodes/reftex-toc.el (reftex-toc-map):
1668 * textmodes/reftex-sel.el (reftex-select-label-map)
1669 (reftex-select-bib-map):
1670 * textmodes/reftex-index.el (reftex-index-map)
1671 (reftex-index-phrases-map):
1672 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1673 * progmodes/meta-mode.el (meta-mode-map):
1674 * novice.el (disabled-command-hook):
1675 * loadhist.el (unload-hook-features-list):
1676 * frame.el (blink-cursor):
1677 * files.el (find-file-not-found-hooks, write-file-hooks)
1678 (write-contents-hooks):
1679 * emulation/tpu-edt.el (GOLD-map):
1680 * emacs-lock.el (emacs-lock-from-exiting):
1681 * emacs-lisp/generic.el (generic-font-lock-defaults):
1682 * emacs-lisp/chart.el (chart-map):
1683 * dos-fns.el (register-name-alist):
1684 * dired-x.el (dired-omit-files-p):
1685 * desktop.el (desktop-enable):
1686 * cus-edit.el (custom-mode-hook):
1687 * buff-menu.el (buffer-menu-mode-hook):
1688 * bookmark.el (bookmark-read-annotation-text-func)
1689 (bookmark-exit-hooks):
1690 * allout.el (allout-mode-deactivate-hook)
1691 (allout-exposure-change-hook, allout-structure-added-hook)
1692 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1693 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1694 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1695 comes before the corresponding variable's definition.
1696
1697 2012-05-12 Chong Yidong <cyd@gnu.org>
1698
1699 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
1700 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1701 (Buffer-menu-mode-map): Bind it.
1702 (Buffer-menu--pretty-name): Add a mouse-face property.
1703
1704 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1705
1706 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1707 (prolog-upper-case-string, prolog-lower-case-string)
1708 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1709 (prolog-use-smie, prolog-smie-grammar): New vars.
1710 (prolog-smie-forward-token, prolog-smie-backward-token)
1711 (prolog-smie-rules): New funs.
1712 (prolog-comment-indent): Remove.
1713 (prolog-mode-variables): Use default comment indentation instead.
1714 Setup SMIE.
1715 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1716 (prolog-mode): Don't call them any more.
1717 (prolog-electric-colon, prolog-electric-dash)
1718 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1719
1720 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1721
1722 * minibuffer.el (completion--twq-all): Again, allow case differences.
1723
1724 * term.el: Move keymap initialization code to be more idiomatic.
1725 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1726 (term-terminal-menu): Move initialization into declaration.
1727 (term-escape-char): Let the user set it in her .emacs.
1728
1729 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1730 Provide SMIE-based indentation (not enabled by default yet).
1731 (sh-mode-map): Don't bind electric keys.
1732 Use electric-pair-mode instead of skeleton-pair.
1733 (sh-assignment-regexp): Fit within 80 columns.
1734 (sh-indent-supported): Specify actual shell name instead of boolean.
1735 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1736 (sh-maybe-here-document): Use it. Make obsolete.
1737 (sh-electric-here-document-mode) New minor mode.
1738 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1739 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1740 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1741 (sh-smie-rc-grammar, sh-use-smie): New vars.
1742 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1743 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1744 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1745 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1746 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1747 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1748 (sh-set-shell): Use smie-setup if requested.
1749
1750 * term.el (term-set-escape-char): Properly set term-escape-char.
1751 See http://stackoverflow.com/questions/10524656.
1752
1753 2012-05-10 Chong Yidong <cyd@gnu.org>
1754
1755 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1756 Use url-generic-parse-url, and handle host names and Windows
1757 filenames properly.
1758 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1759 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1760 URL schemes to work on.
1761 (ffap--toggle-read-only): New function.
1762 (ffap-read-only, ffap-read-only-other-window)
1763 (ffap-read-only-other-frame): Use it.
1764 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1765 necessary for ffap-url-unwrap-remote.
1766
1767 2012-05-10 Dave Abrahams <dave@boostpro.com>
1768
1769 * cus-start.el (create-lockfiles): Add it.
1770
1771 2012-05-09 Chong Yidong <cyd@gnu.org>
1772
1773 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1774 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1775
1776 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1777
1778 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1779
1780 2012-05-09 Chong Yidong <cyd@gnu.org>
1781
1782 * ansi-color.el (ansi-color-process-output): Check for validity of
1783 comint-last-output-start before using it. This avoids a bad
1784 interaction with gdb-mi's input/output buffer.
1785
1786 2012-05-09 Glenn Morris <rgm@gnu.org>
1787
1788 * files.el (dir-locals-read-from-file):
1789 Mention dir-locals in any error message.
1790
1791 2012-05-09 Chong Yidong <cyd@gnu.org>
1792
1793 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1794 package (Bug#11410).
1795
1796 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1797 variables into description.
1798
1799 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1800
1801 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1802 shell-delimiter-argument-list (bug#11348).
1803 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1804
1805 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
1806
1807 * textmodes/rst.el: Silence byte-compiler warnings.
1808 (rst-re-alist, rst-reset-section-caches): Move around.
1809 (rst-re): Use `characterp', not `char-valid-p'.
1810 (font-lock-beg, font-lock-end): Declare.
1811
1812 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1813 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1814
1815 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1816
1817 2012-05-08 Glenn Morris <rgm@gnu.org>
1818
1819 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1820
1821 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * vc/log-edit.el: Add GNU coding standards highlighting.
1824 (log-edit-font-lock-gnu-style)
1825 (log-edit-font-lock-gnu-keywords): New vars.
1826 (log-edit-font-lock-keywords): New fun.
1827 (log-edit-mode): Don't fold case in font-lock.
1828 (log-edit-font-lock-keywords): Do not assume case-folding.
1829
1830 * imenu.el: Misc cleanup. Make docstrings out of comments.
1831 Use lexical-binding.
1832 (imenu--index-alist, imenu--last-menubar-index-alist)
1833 (imenu-menubar-modified-tick): Use defvar-local.
1834 (imenu--split-menu): Remove unused var.
1835 (imenu--cleanup-seen): Declare as global.
1836 (imenu--cleanup): Use dolist.
1837
1838 * subr.el (defvar-local): Add debug spec and doc-string position.
1839
1840 2012-05-08 Glenn Morris <rgm@gnu.org>
1841
1842 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1843 * language/english.el, language/georgian.el, language/greek.el:
1844 * language/japanese.el, language/khmer.el, language/korean.el:
1845 * language/lao.el, language/misc-lang.el, language/romanian.el:
1846 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1847 * language/thai.el, language/utf-8-lang.el:
1848 Remove no-byte-compile setting.
1849
1850 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1851
1852 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1853
1854 * progmodes/make-mode.el (makefile-browse):
1855 Remove unnecessary interactive. (Bug#11324)
1856
1857 2012-05-07 Glenn Morris <rgm@gnu.org>
1858
1859 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1860
1861 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1862
1863 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * loadup.el: Preload newcomment.el.
1866 * newcomment.el: Move autoload-only code to toplevel.
1867
1868 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1869 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1870 Handle new :right-align column property.
1871 (tabulated-list-print-col): Idem, plus use `display' text-property to
1872 try and preserve alignment for variable pitch fonts.
1873
1874 2012-05-07 Chong Yidong <cyd@gnu.org>
1875
1876 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1877 (tabulated-list-use-header-line): New var.
1878 (tabulated-list-init-header): Use it.
1879 (tabulated-list-print-fake-header): New function.
1880 (tabulated-list-print): Use it.
1881 (tabulated-list-sort-button-map): Add non-header-line commands.
1882 (tabulated-list-init-header): Add column name property to basic
1883 labels as well.
1884 (tabulated-list-col-sort): Handle non-header-line button case.
1885 (tabulated-list--sort-by-column-name): Fix a corner case.
1886
1887 * buff-menu.el (list-buffers--refresh):
1888 Handle Buffer-menu-use-header-line.
1889
1890 2012-05-06 Chong Yidong <cyd@gnu.org>
1891
1892 * buff-menu.el: Convert to Tabulated List mode.
1893 (Buffer-menu-buffer+size-width): Make obsolete.
1894 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1895 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1896 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1897 documentation into docstring of buffer-menu.
1898 (Buffer-menu-toggle-files-only): Add an informative message.
1899 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1900 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1901 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1902 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1903 (Buffer-menu-execute, Buffer-menu-select)
1904 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1905 (Buffer-menu-bury): Use Tabulated List machinery.
1906 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1907 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
1908 Delete.
1909 (list-buffers--refresh): New function.
1910 (list-buffers-noselect): Use it.
1911 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1912 (Buffer-menu--pretty-file-name): New helper functions.
1913
1914 * loadup.el: Preload tabulated-list.
1915
1916 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1917 tabulated-list-sort-column.
1918 (tabulated-list-init-header): Add the initial aligning space even
1919 if tabulated-list-padding is zero.
1920
1921 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1922
1923 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1924 whose cdr is not a cons cell correctly (bug#11038).
1925
1926 2012-05-06 Chong Yidong <cyd@gnu.org>
1927
1928 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1929 Accept additional plist in column descriptors.
1930 (tabulated-list-init-header): Obey it.
1931 (tabulated-list-get-entry): New function.
1932 (tabulated-list-put-tag): Use it. Use string-width instead of
1933 length.
1934 (tabulated-list--column-number): New function.
1935 (tabulated-list-print): Use it.
1936 (tabulated-list-print-col): New function.
1937 Set `tabulated-list-column-name' property on each column's text.
1938 (tabulated-list-print-entry): Use it.
1939 (tabulated-list-delete-entry, tabulated-list-set-col):
1940 New functions.
1941 (tabulated-list-sort-column): New command (Bug#11337).
1942
1943 * buff-menu.el (list-buffers): Move C-x C-b binding from
1944 buff-menu.el to bindings.el.
1945
1946 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1947 :advertised-binding feature.
1948
1949 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1950
1951 * progmodes/compile.el (compilation-internal-error-properties):
1952 Calculate start position correctly when end-col is set but
1953 end-line is not (Bug#11382).
1954
1955 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1956
1957 * man.el (Man-unindent): Use text-property-default-nonsticky to
1958 prevent untabify from inheriting face properties (Bug#11408).
1959
1960 2012-05-05 Stefan Merten <smerten@oekonux.de>
1961
1962 * textmodes/rst.el: Major merge with upstream development up to
1963 Docutils SVN r7399 / rst.el V1.2.1.
1964
1965 Clarify maintainership and authors.
1966
1967 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1968 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1969 (rst-official-version, rst-official-cvs-rev, rst-version)
1970 (rst-package-emacs-version-alist): New functions and variables
1971 for version information.
1972
1973 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1974 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1975 (rst-mode-syntax-table, rst-mode): New and corrected functions
1976 and variables representing reStructuredText features.
1977
1978 (rst-re): New function for reStructuredText regexes. Use in
1979 many places.
1980
1981 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1982 (rst-mode-map): Rebind keys.
1983
1984 (rst-mode-lazy, rst-font-lock-keywords)
1985 (rst-font-lock-extend-region)
1986 (rst-font-lock-extend-region-internal)
1987 (rst-font-lock-extend-region-extend)
1988 (rst-font-lock-find-unindented-line-limit)
1989 (rst-font-lock-find-unindented-line-match)
1990 (rst-adornment-level, rst-font-lock-adornment-level)
1991 (rst-font-lock-adornment-match)
1992 (rst-font-lock-handle-adornment-pre-match-form)
1993 (rst-font-lock-handle-adornment-matcher): Major revision of
1994 font-locking. Integrate with other code. Use `jit-lock-mode'.
1995
1996 (rst-preferred-adornments, rst-adjust-hook)
1997 (rst-new-adornment-down, rst-preferred-bullets)
1998 (rst-preferred-bullets, rst-indent, rst-indent-width)
1999 (rst-indent-field, rst-indent-literal-normal)
2000 (rst-indent-literal-minimized, rst-indent-comment): Change,
2001 extend and improve customization.
2002
2003 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
2004 (rst-normalize-cursor-position, rst-get-decoration)
2005 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
2006 (rst-rstrip, rst-toc-insert-find-delete-contents)
2007 (rst-shift-fill-region, rst-compute-bullet-tabs)
2008 (rst-debug-print-tabs, rst-debug-mark-found)
2009 (rst-shift-region-guts, rst-shift-region-right)
2010 (rst-shift-region-left, rst-use-char-classes)
2011 (rst-font-lock-keywords-function)
2012 (rst-font-lock-indentation-point)
2013 (rst-font-lock-find-unindented-line-begin)
2014 (rst-font-lock-find-unindented-line-end)
2015 (rst-font-lock-find-unindented-line)
2016 (rst-font-lock-adornment-point, rst-font-lock-level)
2017 (rst-adornment-level-alist): Remove functions and variables.
2018
2019 (rst-compare-adornments, rst-get-adornment-match)
2020 (rst-suggest-new-adornment, rst-get-adornments-around)
2021 (rst-adornment-complete-p, rst-get-next-adornment)
2022 (rst-adjust-adornment, rst-display-adornments-hierarchy)
2023 (rst-straighten-adornments): Standardize function names to
2024 use "adornment" instead of "decoration". Correct callers.
2025 Similar standardizing in many places.
2026
2027 (rst-update-section, rst-adjust, rst-promote-region)
2028 (rst-enumerate-region, rst-bullet-list-region)
2029 (rst-repeat-last-character): Correct use of `interactive'.
2030
2031 (rst-classify-adornment, rst-find-all-adornments)
2032 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
2033 (rst-find-leftmost-column, rst-repeat-last-character):
2034 Refactor functions.
2035
2036 (rst-find-title-line, rst-reset-section-caches)
2037 (rst-get-adornments-around, rst-adjust-adornment-work)
2038 (rst-arabic-to-roman, rst-roman-to-arabic)
2039 (rst-insert-list-pos, rst-insert-list-new-item)
2040 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
2041 New functions.
2042
2043 (rst-all-sections, rst-section-hierarchy)
2044 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
2045 New variables.
2046
2047 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
2048 configuration instead of only buffer. Change where necessary.
2049
2050 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
2051 (rst-shift-region, rst-adaptive-fill): New functions for
2052 indentation and filling.
2053
2054 (rst-comment-line-break, rst-comment-indent)
2055 (rst-comment-insert-comment, rst-comment-region)
2056 (rst-uncomment-region): New functions for handling comments.
2057
2058 (rst-compile): Quote shell arguments.
2059
2060 (rst-compile-pdf-preview, rst-compile-slides-preview):
2061 Delete temporary files after use.
2062
2063 2012-05-05 Glenn Morris <rgm@gnu.org>
2064
2065 * calendar/cal-html.el: Optionally include holidays in the output.
2066 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
2067 (cal-html-holidays): New option.
2068 (cal-html-css-default): Add holiday entry.
2069 (holiday-in-range): Autoload it.
2070 (cal-html-htmlify-entry): Add optional class argument.
2071 (cal-html-htmlify-list): Add optional holidays argument.
2072 (cal-html-insert-agenda-days): Include holidays in the output.
2073 (cal-html-one-month): Maybe include holidays.
2074
2075 * calendar/holidays.el (holiday-in-range):
2076 Move here from cal-tex-list-holidays.
2077 * calendar/cal-tex.el (cal-tex-list-holidays):
2078 Make it an obsolete alias for holiday-in-range. Update all callers.
2079
2080 2012-05-05 Chong Yidong <cyd@gnu.org>
2081
2082 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
2083 Nextstep.
2084
2085 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
2086
2087 * files.el (file-auto-mode-skip): New var.
2088 (set-auto-mode-1): Use it.
2089
2090 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
2091
2092 * repeat.el: Use lexical-binding.
2093 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
2094 (repeat-undo-count): Remove.
2095 (repeat):
2096 * progmodes/octave-mod.el (octave-abbrev-start):
2097 * progmodes/f90.el (f90-abbrev-start):
2098 * face-remap.el (text-scale-adjust):
2099 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
2100
2101 * emacs-lisp/pcase.el (pcase--let*): New function.
2102 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
2103 a bit more.
2104 (pcase--split-pred): Be more clever about ruling out overlap between
2105 a predicate and some constant pattern.
2106 (pcase--q1): Use `null' instead of (eq foo nil).
2107
2108 * subr.el (setq-local, defvar-local): New macros.
2109 (kbd): Redefine as an alias.
2110 (with-selected-window): Leave unrelated frames alone.
2111 (set-temporary-overlay-map): New function.
2112
2113 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * subr.el (user-error): New function.
2116 * window.el (switch-to-buffer):
2117 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
2118 (smerge-match-conflict):
2119 * simple.el (previous-matching-history-element)
2120 (next-matching-history-element, goto-history-element, undo-more)
2121 (undo-start):
2122 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
2123 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
2124 (next-file, tags-loop-scan, list-tags, complete-tag):
2125 * progmodes/compile.el (compilation-loop):
2126 * mouse.el (mouse-minibuffer-check):
2127 * man.el (Man-bgproc-sentinel, Man-goto-page):
2128 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
2129 (Info-history-forward, Info-follow-reference, Info-menu)
2130 (Info-extract-menu-item, Info-extract-menu-counting)
2131 (Info-forward-node, Info-backward-node, Info-next-menu-item)
2132 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
2133 (Info-next-reference, Info-prev-reference, Info-index)
2134 (Info-index-next, Info-follow-nearest-node)
2135 (Info-copy-current-node-name):
2136 * imenu.el (imenu--make-index-alist)
2137 (imenu-default-create-index-function, imenu-add-to-menubar):
2138 * files.el (basic-save-buffer, recover-file):
2139 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2140 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
2141 (checkdoc-message-text, checkdoc-defun):
2142 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
2143 * cus-edit.el (customize-changed-options, customize-rogue)
2144 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
2145 (custom-variable-mark-to-reset-standard)
2146 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
2147 (custom-file):
2148 * completion.el (check-completion-length):
2149 * comint.el (comint-search-arg)
2150 (comint-previous-matching-input-string-position)
2151 (comint-previous-matching-input)
2152 (comint-replace-by-expanded-history-before-point, comint-send-input)
2153 (comint-copy-old-input, comint-backward-matching-input)
2154 (comint-goto-process-mark, comint-set-process-mark):
2155 * calendar/calendar.el (calendar-cursor-to-date): Use it.
2156 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
2157
2158 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2159
2160 * dabbrev.el (dabbrev--ignore-case-p): New function.
2161 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
2162 Use it.
2163
2164 * files.el (automount-dir-prefix): Mark as obsolete.
2165
2166 2012-05-04 Glenn Morris <rgm@gnu.org>
2167
2168 * patcomp.el, play/bruce.el: Move to obsolete/.
2169
2170 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2171
2172 Fix minor Y10k bugs.
2173 * arc-mode.el (archive-unixdate):
2174 * autoinsert.el (auto-insert-alist):
2175 * calc/calc-forms.el (math-this-year):
2176 * emacs-lisp/copyright.el (copyright-current-year)
2177 (copyright-update-year, copyright):
2178 * tar-mode.el (tar-clip-time-string):
2179 * time.el (display-time-update):
2180 Don't assume years have 4 digits.
2181
2182 2012-05-04 Chong Yidong <cyd@gnu.org>
2183
2184 * dos-w32.el (file-name-buffer-file-type-alist)
2185 (direct-print-region-use-command-dot-com):
2186 * ffap.el (ffap-menu-regexp):
2187 * find-file.el (ff-special-constructs):
2188 * follow.el (follow-debug):
2189 * forms.el (forms--debug):
2190 * iswitchb.el (iswitchb-all-frames):
2191 * ido.el (ido-all-frames):
2192 * emacs-lisp/timer.el (timer-max-repeats):
2193 * mail/feedmail.el (feedmail-mail-send-hook)
2194 (feedmail-mail-send-hook-queued):
2195 * mail/footnote.el (footnote-signature-separator):
2196 * mail/mailabbrev.el (mail-alias-separator-string)
2197 (mail-abbrev-mode-regexp):
2198 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
2199 * progmodes/idlwave.el (idlwave-libinfo-file)
2200 (idlwave-default-completion-case-is-down)
2201 (idlwave-library-routines): Convert defvars to defcustoms.
2202
2203 * mail/rmail.el (rmail-decode-mime-charset):
2204 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
2205 (idlwave-shell-fix-inserted-breaks)
2206 (idlwave-shell-activate-alt-keybindings)
2207 (idlwave-shell-use-breakpoint-glyph):
2208 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
2209
2210 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2211
2212 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
2213
2214 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
2215
2216 * progmodes/verilog-mode.el (font-lock-keywords):
2217 Fix mis-highligting auto. Reported by Craig Barner.
2218 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2219 defines from global name space. Reported by Dan Dever.
2220 (verilog-auto-reset, verilog-auto-reset-widths)
2221 (verilog-auto-tieoff): Support using unbased numbers for
2222 AUTORESET and AUTOTIEOFF.
2223 (verilog-submit-bug-report): Update variable list.
2224 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2225 parenthesis from not matching. Reported by Michael Rytting.
2226 (verilog-auto-template-lint): Fix hash error when linting modules
2227 with no used templates.
2228 (verilog-warn, verilog-warn-error)
2229 (verilog-warn-fatal): When non-interactive report multiple
2230 warnings before exiting. Suggested by Brad Dobbie.
2231 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2232 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2233 to report unused template errors. Reported by Brad Dobbie.
2234 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2235 nets, bug438. Reported by Vns Blore.
2236 (verilog-auto-inout-module, verilog-auto-reg)
2237 (verilog-read-decls, verilog-read-sub-decls-sig)
2238 (verilog-signals-edit-wire-reg, verilog-signals-with):
2239 Fix passing of Verilog data types in ANSI input/output ports
2240 such as "output logic" into the AUTOs. Special case "wire" and
2241 "reg" for backwards compatibility presuming Verilog 2001.
2242 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2243 (verilog-preprocess): Fix replication of preprocess output.
2244 Reported by Brad Dobbie.
2245 (verilog-auto-inst-interfaced-ports):
2246 Create verilog-auto-inst-interfaced-ports, bug429.
2247 Reported by Julian Gorfajn.
2248 (verilog-after-save-font-hook)
2249 (verilog-before-save-font-hook): New variable.
2250 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2251 (verilog-save-font-mods): Wrap disabling fontification, reported
2252 by David Rogoff.
2253 (verilog-do-indent, verilog-pretty-declarations-auto)
2254 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2255 Reported by Pierre-David Pfister.
2256 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2257 of class declarations, bug292. Reported by Kevin Heilman.
2258 (verilog-read-decls): Fix 'parameter type' not appearing in
2259 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2260 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2261 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2262 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2263 Reported by David Kravitz.
2264
2265 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
2266
2267 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2268 assignment with tests in ifs and for loops.
2269 (verilog-extended-complete-re, verilog-complete-reg): Change so
2270 that DPI inport functions don't look like fuction declarations.
2271 (verilog-pretty-expr): Don't line up assignment
2272 operations to the test and increment in if and for loops
2273 (verilog-extended-complete-re, verilog-complete-reg): Change so
2274 that DPI inport functions don't look like fuction declarations
2275
2276 2012-05-03 Kenichi Handa <handa@m17n.org>
2277
2278 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
2279 decoding, and show a warning message without signaling an error
2280 (Bug#11282).
2281
2282 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2283
2284 * emacs-lisp/bytecomp.el
2285 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2286 since cconv.el might have introduced :fun-body, internal-make-closure,
2287 and friends for bytecomp to handle (bug#11391).
2288 * custom.el (defcustom): Avoid ((λ ..) ..).
2289
2290 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2291
2292 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2293
2294 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
2295
2296 * notifications.el (dbus-debug):
2297 * term/linux.el (gpm-mouse-enable):
2298 * term/screen.el (xterm-register-default-colors): Declare.
2299
2300 2012-05-02 Chong Yidong <cyd@gnu.org>
2301
2302 * cus-start.el (gc-cons-percentage, exec-suffixes)
2303 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2304 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2305 (make-cursor-line-fully-visible, void-text-area-pointer)
2306 (font-list-limit): Add customization data.
2307
2308 * allout.el (allout-exposure-change-functions)
2309 (allout-structure-added-functions)
2310 (allout-structure-deleted-functions)
2311 (allout-structure-shifted-functions): Rename abnormal hooks from
2312 *-hook, and convert to defcustoms.
2313 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2314 Convert to defcustoms.
2315 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2316
2317 * allout-widgets.el: Hook callers changed.
2318
2319 2012-05-02 Eli Zaretskii <eliz@gnu.org>
2320
2321 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2322 the yanked message in preference to the default value of
2323 buffer-file-coding-system.
2324
2325 2012-05-02 Martin Rudalics <rudalics@gmx.at>
2326
2327 * window.el (display-buffer--action-function-custom-type):
2328 Fix entry.
2329
2330 2012-05-02 Alan Mackenzie <acm@muc.de>
2331
2332 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2333
2334 2012-05-01 Glenn Morris <rgm@gnu.org>
2335
2336 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2337
2338 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2339
2340 * cus-edit.el (custom-variable-documentation): Simplify with format.
2341
2342 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2343 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * simple.el (suggest-key-bindings, execute-extended-command):
2346 Move from keyboard.c.
2347
2348 2012-05-01 Chong Yidong <cyd@gnu.org>
2349
2350 * follow.el: Eliminate advice.
2351 (set-process-filter, process-filter, sit-for): Advice deleted.
2352 (follow-mode-off-hook): Obsolete hook removed.
2353 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2354 Vars deleted.
2355 (follow-auto): Use a :set function.
2356 (follow-mode): Rewritten. Don't advise process filters.
2357 (follow-switch-to-current-buffer-all, follow-scroll-up)
2358 (follow-scroll-down): Assume follow-mode is bound.
2359 (follow-comint-scroll-to-bottom)
2360 (follow-align-compilation-windows): New functions.
2361 (follow--window-sorter): New function.
2362 (follow-all-followers): Use it to explicitly sort windows by their
2363 positions; don't make assumptions about next-window order.
2364 (follow-windows-start-end, follow-delete-other-windows-and-split)
2365 (follow-calc-win-start): Doc fix.
2366 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2367 vertical-motion unnecessarily.
2368 (follow-adjust-window): New function.
2369 (follow-post-command-hook): Use it.
2370 (follow-call-set-process-filter, follow-call-process-filter)
2371 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2372 (follow-stop-intercept-process-output, follow-generic-filter):
2373 Functions deleted.
2374 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
2375 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2376 New functions, replacing advice on scroll-bar-* commands.
2377 (follow-mwheel-scroll): New function (Bug#4112).
2378
2379 * comint.el (comint-adjust-point): New function.
2380 (comint-postoutput-scroll-to-bottom): Use it.
2381 Call follow-comint-scroll-to-bottom for Follow mode buffers.
2382
2383 2012-05-01 Glenn Morris <rgm@gnu.org>
2384
2385 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2386 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2387 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2388 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2389 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2390 Remove no-byte-compile setting.
2391
2392 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2393
2394 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2395 all-completions code to not return a number in the last cdr.
2396
2397 2012-04-30 Leo Liu <sdl.web@gmail.com>
2398
2399 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2400 read-only error.
2401
2402 2012-04-29 Chong Yidong <cyd@gnu.org>
2403
2404 * follow.el (follow-calc-win-end): Rewrite to handle partial
2405 screen lines correctly (Bug#8390).
2406 (follow-avoid-tail-recenter): Minor cleanup.
2407
2408 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2409
2410 Avoid the obsolete `assoc' package.
2411 * speedbar.el (speedbar-refresh): Avoid adelete.
2412 (speedbar-file-lists): Simplify and avoid aput.
2413 * man.el (Man--sections, Man--refpages): New vars, replacing
2414 Man-sections-alist and Man-refpages-alist.
2415 (Man-build-section-alist, Man-build-references-alist):
2416 Use them; avoid aput.
2417 (Man--last-section, Man--last-refpage): New vars.
2418 (Man-follow-manual-reference): Use them.
2419 Use the `default' arg of completing-read.
2420 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2421
2422 2012-04-27 Chong Yidong <cyd@gnu.org>
2423
2424 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2425
2426 * startup.el (x-apply-session-resources): New function.
2427
2428 * term/ns-win.el (ns-initialize-window-system):
2429 * term/w32-win.el (w32-initialize-window-system):
2430 * term/x-win.el (x-initialize-window-system): Use it to properly
2431 set menu-bar-mode and other vars from X resources, even if the
2432 initial frame is not a window-system frame (Bug#2299).
2433
2434 * subr.el (read-key): Avoid running filter function when setting
2435 up temporary tool bar entries (Bug#9922).
2436
2437 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2438
2439 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2440 (Bug#11344)
2441
2442 2012-04-27 Chong Yidong <cyd@gnu.org>
2443
2444 * select.el (xselect--encode-string): New function, split from
2445 xselect-convert-to-string.
2446 (xselect-convert-to-string): Use it.
2447 (xselect-convert-to-filename, xselect-convert-to-os)
2448 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2449 returned strings are properly encoded (Bug#11315).
2450
2451 2012-04-27 Chong Yidong <cyd@gnu.org>
2452
2453 * simple.el (delete-active-region): Move to killing custom group.
2454
2455 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
2456
2457 * progmodes/which-func.el (which-func-current): Quote %
2458 characters for mode-line processing.
2459
2460 2012-04-27 Chong Yidong <cyd@gnu.org>
2461
2462 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2463 reaching eob (Bug#11286).
2464
2465 2012-04-27 Eli Zaretskii <eliz@gnu.org>
2466
2467 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2468 (gdb): Make it buffer-local and init to zero.
2469 (gdb-control-commands-regexp): New variable.
2470 (gdb-send): Don't wrap in "-interpreter-exec console" if
2471 gdb-control-level is positive. Increment gdb-control-level
2472 whenever the command matches gdb-control-commands-regexp, and
2473 decrement it each time the command is "end". (Bug#11279)
2474
2475 2012-04-27 Martin Rudalics <rudalics@gmx.at>
2476
2477 * window.el (adjust-window-trailing-edge, enlarge-window)
2478 (shrink-window, window-resize):
2479 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2480 windows (Bug#11276).
2481
2482 2012-04-27 Chong Yidong <cyd@gnu.org>
2483
2484 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
2485 fix "missing prefix" warning. All callers changed.
2486
2487 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/assoc.el: Move to obsolete/.
2490
2491 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
2494
2495 * term/ns-win.el (ns-define-service):
2496 * progmodes/pascal.el (pascal-goto-defun):
2497 * progmodes/js.el (js--read-tab):
2498 * progmodes/etags.el (tags-lazy-completion-table):
2499 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2500 * emacs-lisp/ewoc.el (ewoc--wrap):
2501 * emacs-lisp/assoc.el (aput, adelete, amake):
2502 * doc-view.el (doc-view-convert-current-doc):
2503 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2504
2505 2012-04-26 Chong Yidong <cyd@gnu.org>
2506
2507 * image.el (image-type-from-buffer): Only return supported image
2508 type (Bug#9045).
2509
2510 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2511 value, for symmetry with diff-end-of-hunk.
2512 (diff-split-hunk, diff-find-source-location)
2513 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2514 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2515 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2516 compute the relevant hunk or file properly (Bug#6005).
2517 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2518
2519 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * vc/vc-mtn.el:
2522 * vc/vc-hg.el:
2523 * vc/vc-git.el:
2524 * vc/vc-dir.el:
2525 * vc/vc-cvs.el:
2526 * vc/vc-bzr.el:
2527 * vc/vc-arch.el:
2528 * vc/vc.el: Replace lexical-let by lexical-binding.
2529 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2530 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2531 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2532
2533 2012-04-26 Chong Yidong <cyd@gnu.org>
2534
2535 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2536 (diff-mode-shared-map): Bind it to / and [remap undo].
2537
2538 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2539 (ediff-window-setup-function): Use it as the default, to set up
2540 windows based on whether the current frame is graphical (Bug#2138).
2541 (ediff-choose-window-setup-function-automatically): Make obsolete.
2542
2543 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2544
2545 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * ffap.el: Remove old code for obsolete package.
2548 (ffap-complete-as-file-p): Remove.
2549
2550 Use completion-table-with-quoting for comint and pcomplete.
2551 * comint.el (comint--unquote&requote-argument)
2552 (comint--unquote-argument, comint--requote-argument): New functions.
2553 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2554 (comint-quote-filename): Use regexp-opt-charset.
2555 (comint--common-suffix, comint--common-quoted-suffix)
2556 (comint--table-subvert): Remove.
2557 (comint-unquote-function, comint-requote-function): New vars.
2558 (comint--complete-file-name-data): Use them with
2559 completion-table-with-quoting.
2560 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2561 * pcomplete.el (pcomplete-arg-quote-list)
2562 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2563 (pcomplete-unquote-argument-function): Default to non-nil.
2564 (pcomplete-unquote-argument): Simplify.
2565 (pcomplete--common-quoted-suffix): Remove.
2566 (pcomplete-requote-argument-function): New var.
2567 (pcomplete--common-suffix): New function.
2568 (pcomplete-completions-at-point): Use completion-table-with-quoting
2569 and completion-table-subvert.
2570
2571 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2572 (minibuffer--double-dollars): Preserve properties.
2573 (completion--sifn-requote): New function.
2574 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2575
2576 * minibuffer.el: Add support for completion of quoted/escaped data.
2577 (completion-table-with-quoting, completion-table-subvert): New funs.
2578 (completion--twq-try, completion--twq-all): New functions.
2579 (completion--nth-completion): New function.
2580 (completion-try-completion, completion-all-completions): Use it.
2581
2582 2012-04-25 Leo Liu <sdl.web@gmail.com>
2583
2584 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2585 Use compilation-message if available to find real filename.
2586
2587 2012-04-25 Chong Yidong <cyd@gnu.org>
2588
2589 * vc/diff-mode.el (diff-setup-whitespace): New function.
2590 (diff-mode): Use it.
2591
2592 * vc/diff.el (diff-sentinel):
2593 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2594 Whitespace mode variables based on diff style (Bug#8612).
2595
2596 2012-04-25 Leo Liu <sdl.web@gmail.com>
2597
2598 * progmodes/python.el (python-send-region): Add suffix .py to the
2599 temp file.
2600
2601 * files.el (auto-mode-alist): Use javascript-mode instead.
2602
2603 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2604
2605 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
2606
2607 * soap-client.el (soap-resolve-references-for-sequence-type)
2608 (soap-resolve-references-for-array-type): Hack to prevent self
2609 references, see Bug#9.
2610 (soap-parse-envelope): Report the contents of the 'detail' node
2611 when receiving a fault reply.
2612 (soap-parse-envelope): Report the contents of the entire 'detail' node.
2613
2614 * soap-inspect.el (soap-sample-value-for-simple-type)
2615 (soap-inspect-simple-type): New function.
2616
2617 * soap-client.el (soap-simple-type): New struct.
2618 (soap-default-xsd-types, soap-default-soapenc-types)
2619 (soap-decode-basic-type, soap-encode-basic-type):
2620 support unsignedInt and double basic types.
2621 (soap-resolve-references-for-simple-type)
2622 (soap-parse-simple-type, soap-encode-simple-type): New function.
2623 (soap-parse-schema): Parse xsd:simpleType declarations.
2624
2625 * soap-client.el (soap-default-xsd-types)
2626 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2627 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2628 the local name of "soapenc:Array".
2629 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
2630 decoding integer, byte and anyURI xsd types.
2631
2632 2012-04-25 Chong Yidong <cyd@gnu.org>
2633
2634 * cus-edit.el (custom-buffer-create-internal): Update header text.
2635
2636 2012-04-25 Eli Zaretskii <eliz@gnu.org>
2637
2638 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2639 settings on 'system-type', not on 'window-system'. On MS-Windows,
2640 set interactive-mode on in GDB.
2641
2642 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2643
2644 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2645 (ruby-syntax-propertize-regexp): Remove.
2646 (ruby-syntax-propertize-function): Split regexp into chunks.
2647 Match following code directly.
2648
2649 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2650
2651 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2652 (ruby-syntax-propertize-regexp): New function.
2653 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2654 by a special keyword.
2655
2656 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2657 (ruby-syntax-general-delimiters-goto-beg)
2658 (ruby-syntax-propertize-general-delimiters): New functions.
2659 (ruby-syntax-propertize-function): Use them to handle GDL.
2660 (ruby-font-lock-keywords): Move old handling of GDL...
2661 (ruby-font-lock-syntactic-keywords): .. to here.
2662 (ruby-calculate-indent): Adjust indentation for GDL.
2663
2664 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
2665
2666 * notifications.el (top): Remove unneeded declarations.
2667 (notifications-specification-version): Change to "1.2".
2668 (notifications-interface, notifications-notify-method)
2669 (notifications-close-notification-method): Fix docstring.
2670 (notifications-get-capabilities-method): New defconst.
2671 (notifications-notify): Add :action-items, :resident and
2672 :transient hints. Change "image_data" to "image-data" and
2673 "image_path" to "image-path".
2674 (notifications-get-capabilities): New defun.
2675
2676 2012-04-24 Leo Liu <sdl.web@gmail.com>
2677
2678 * progmodes/python.el: Move hideshow setup to the end.
2679
2680 2012-04-24 Martin Rudalics <rudalics@gmx.at>
2681
2682 * window.el (handle-select-window): Clear echo area since this is
2683 no more done by read_char (Bug#11304).
2684
2685 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2686
2687 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2688 and `/ M' to filter-derived-mode.
2689 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2690 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2691 (ibuffer-mark-by-mode): Use default rather than initial-input.
2692 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2693
2694 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2695
2696 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2697 (ibuffer-filter-by-derived-mode): New filter.
2698 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2699
2700 2012-04-23 Andreas Politz <politza@fh-trier.de>
2701
2702 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2703
2704 2012-04-23 Chong Yidong <cyd@gnu.org>
2705
2706 * cus-edit.el (customize-apropos, customize-apropos-options):
2707 Disable matching of non-option variables (Bug#11176).
2708 (customize-option, customize-option-other-window)
2709 (customize-changed-options): Doc fix.
2710 (customize-apropos-options, customize-apropos-faces)
2711 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2712
2713 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
2714 Fix word list splitting (Bug#11132).
2715 (apropos-symbol, apropos-keybinding, apropos-label)
2716 (apropos-property, apropos-function-button)
2717 (apropos-variable-button, apropos-misc-button): New faces.
2718 (apropos-symbol-face, apropos-keybinding-face)
2719 (apropos-label-face, apropos-property-face, apropos-match-face):
2720 Variables removed (Bug#8396).
2721 (apropos-library-button, apropos-format-plist, apropos-print)
2722 (apropos-print-doc, apropos-describe-plist): Callers changed.
2723
2724 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
2725
2726 * net/xesam.el (xesam-mode-map): Use let-bound map in
2727 initialization. (Bug#11292)
2728
2729 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2730
2731 Preserve ispell session localwords when switching back to
2732 original buffer.
2733
2734 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2735 variable to hold buffer session localwords.
2736 (ispell-kill-ispell): add option 'clear to delete session
2737 localwords.
2738 (ispell-command-loop, ispell-change-dictionary)
2739 (ispell-buffer-local-words): Preserve session localwords when
2740 needed.
2741
2742 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2743 Preserve session localwords when needed.
2744
2745 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2746
2747 * ispell.el (ispell-insert-word) Remove unneeded function using
2748 obsolete `translation-table-for-input'.
2749 (ispell-word, ispell-process-line, ispell-complete-word):
2750 Use plain `insert' instead of removed `ispell-insert-word'.
2751
2752 2012-04-22 Chong Yidong <cyd@gnu.org>
2753
2754 * cus-edit.el (custom-variable-menu)
2755 (custom-variable-reset-saved, custom-face-menu)
2756 (custom-face-reset-saved): If there is no saved value, make the
2757 "reset-saved" operation bring back the default (Bug#9509).
2758 (custom-face-state): Properly detect themed faces.
2759
2760 * faces.el (face-spec-set): Stop supporting deprecated form of
2761 third arg.
2762
2763 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
2764
2765 Move functions from C to Lisp. Make non-blocking method calls
2766 the default. Implement further D-Bus standard interfaces.
2767
2768 * net/dbus.el (dbus-message-internal): Declare function.
2769 Remove unneeded function declarations.
2770 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2771 (dbus-message-type-method-return, dbus-message-type-error)
2772 (dbus-message-type-signal): Declare variables. Remove local
2773 definitions.
2774 (dbus-interface-dbus, dbus-interface-peer)
2775 (dbus-interface-introspectable, dbus-interface-properties)
2776 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2777 Adapt docstring.
2778 (dbus-interface-objectmanager): New defconst.
2779 (dbus-call-method, dbus-call-method-asynchronously)
2780 (dbus-send-signal, dbus-method-return-internal)
2781 (dbus-method-error-internal, dbus-register-service)
2782 (dbus-register-signal, dbus-register-method): New defuns, moved
2783 from dbusbind.c
2784 (dbus-call-method-handler, dbus-setenv)
2785 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2786 New defuns.
2787 (dbus-call-method-non-blocking): Make it an obsolete function.
2788 (dbus-unregister-object, dbus-unregister-service)
2789 (dbus-handle-event, dbus-register-property)
2790 (dbus-property-handler): Obey the new structure of
2791 `bus-registered-objects'.
2792 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2793 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2794 Use `dbus-call-method'.
2795
2796 2012-04-22 Chong Yidong <cyd@gnu.org>
2797
2798 * cus-edit.el (custom-commands, custom-reset-menu)
2799 (Custom-reset-standard): Tweak labels.
2800 (custom-reset-button-menu): Change default to t.
2801 (custom-buffer-create-internal): For the custom-reset-button-menu
2802 case, put the revert button first.
2803 (custom-group-subtitle): New face.
2804 (custom-group-value-create): Align docstring to a specific column.
2805
2806 * wid-edit.el (widget-documentation-link-add): Don't handle
2807 indentation in this function.
2808 (widget-documentation-string-indent-to): New function.
2809 (widget-documentation-string-value-create): Use it.
2810
2811 * autorevert.el (auto-revert):
2812 * epg-config.el (epg):
2813 * ibuffer.el (ibuffer):
2814 * mpc.el (mpc):
2815 * ses.el (ses):
2816 * eshell/eshell.el (eshell):
2817 * net/ange-ftp.el (ange-ftp):
2818 * progmodes/ebnf2ps.el (postscript):
2819 * progmodes/flymake.el (flymake):
2820 * progmodes/prolog.el (prolog):
2821 * progmodes/verilog-mode.el (verilog-mode):
2822 * progmodes/which-func.el (which-func):
2823 * term/xterm.el (xterm):
2824 * textmodes/picture.el (picture):
2825 * textmodes/tildify.el (tildify):
2826 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2827 customization buffers.
2828
2829 2012-04-22 Alan Mackenzie <acm@muc.de>
2830
2831 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2832 Adding a ) can hide the resulting (..) from searches. Fix it.
2833 Bound the backward search to the position of the existing (.
2834
2835 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
2836
2837 * progmodes/verilog-mode.el (verilog-mode): Check whether
2838 which-func-modes is t before adding verilog-mode.
2839 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2840
2841 2012-04-21 Leo Liu <sdl.web@gmail.com>
2842
2843 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
2844
2845 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2846
2847 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2848 filling of the last column of a table (Bug#5635).
2849 (woman-find-next-control-line): New arg, specifying an additional
2850 regexp component for the control line.
2851 (woman2-roff-buffer): Use it.
2852 (woman-break-table): New function.
2853 (woman2-TS): Use it.
2854
2855 2012-04-21 Chong Yidong <cyd@gnu.org>
2856
2857 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2858 (woman-horizontal-escapes, woman-negative-vertical-space)
2859 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2860 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2861
2862 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2863
2864 * minibuffer.el (completion-file-name-table): Complete user names.
2865
2866 2012-04-20 Leo Liu <sdl.web@gmail.com>
2867
2868 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2869 and pcase-let*.
2870
2871 2012-04-20 Chong Yidong <cyd@gnu.org>
2872
2873 * server.el (server-execute): Respect initial-buffer-choice if it
2874 is a string and there are no files to open (Bug#2825).
2875 (server-create-window-system-frame, server-create-tty-frame):
2876 Don't switch buffers here.
2877 (server-process-filter): Only try to open a window system frame if
2878 compiled with graphical support (Bug#8314).
2879
2880 2012-04-20 Dan Nicolaescu <dann@gnu.org>
2881
2882 * battery.el (battery-echo-area-format): Display remaining time
2883 for sysfs backend too (Bug#11269).
2884 (battery-linux-sysfs): Fix conditional for the charge.
2885
2886 2012-04-20 Chong Yidong <cyd@gnu.org>
2887
2888 * progmodes/gdb-mi.el (gdb): Revert previous change.
2889 (gdb-inferior-io--init-proc): New function.
2890 (gdb-init-1): Use it.
2891 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2892 responsible for allocating a new pty and hooking it to gdb when
2893 the old pty gets an EIO due to process exit.
2894 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2895 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2896 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2897
2898 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2899
2900 * window.el (window-min-size, window-sizable, window-min-delta)
2901 (window-max-delta, window--resizable, window-resizable)
2902 (window-total-size, window-full-height-p, window-full-width-p)
2903 (window-in-direction, window--resize-mini-window, window-resize)
2904 (window--resize-child-windows-normal)
2905 (window--resize-child-windows, window--resize-siblings)
2906 (window--resize-this-window, adjust-window-trailing-edge)
2907 (enlarge-window, shrink-window): Doc fixes.
2908
2909 2012-04-20 Chong Yidong <cyd@gnu.org>
2910
2911 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2912 New function to call delete-process on the gdb-inferior buffer's pty.
2913 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2914 pty process (Bug#11273).
2915 (gdb-update): New arg to suppress talking to the gdb process.
2916 (gdb-done-or-error): Use it.
2917 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2918 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2919 sentinel not being called.
2920
2921 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2922
2923 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2924
2925 2012-04-20 Glenn Morris <rgm@gnu.org>
2926
2927 * net/network-stream.el (open-network-stream): Doc fix.
2928
2929 2012-04-20 Chong Yidong <cyd@gnu.org>
2930
2931 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2932
2933 2012-04-20 Alan Mackenzie <acm@muc.de>
2934
2935 Ensure searching for keywords is case sensitive.
2936
2937 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2938 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2939 (c-defun-name, c-mark-function, c-cpp-define-name)
2940 (c-comment-indent, c-scan-conditionals, c-indent-defun)
2941 (c-context-line-break): Bind case-fold-search to nil.
2942
2943 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2944 Bind case-fold-search to nil.
2945
2946 2012-04-20 Chong Yidong <cyd@gnu.org>
2947
2948 * mail/sendmail.el (mail-bury): Call return action with the right
2949 Rmail buffer (Bug#11242).
2950
2951 * server.el (server-process-filter): Handle corner case where both
2952 tty and nowait options are present (Bug#11102).
2953
2954 2012-04-20 Eli Zaretskii <eliz@gnu.org>
2955
2956 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
2957 (top level): Put into the executable the ident-style '$Id:' tag on
2958 windows-nt as well.
2959
2960 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2961
2962 * electric.el (electric-indent-post-self-insert-function): Check that
2963 electric-indent-mode is enabled in current buffer.
2964
2965 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2966
2967 * imenu.el (imenu-progress-message): Restore; it is "used" in
2968 erc/erc-imenu.el and net/snmp-mode.el.
2969
2970 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
2971
2972 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2973 (mouse-avoidance-nudge-mouse): Remove unused binding.
2974
2975 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2976
2977 * descr-text.el (describe-char):
2978 * progmodes/python.el (python-describe-symbol):
2979 Don't call `toggle-read-only', set `buffer-read-only'.
2980
2981 * imenu.el (imenu-default-goto-function): Mark unused args.
2982 (imenu-progress-message): Remove obsolete macro; all callers changed.
2983
2984 * subr.el (keymap-canonicalize): Remove unused binding.
2985 (read-passwd): Mark unused arg.
2986
2987 * tutorial.el (tutorial--display-changes): Remove unused binding.
2988 (tutorial--save-tutorial-to): Remove unused variable.
2989
2990 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2991 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2992 (package-generate-autoloads, package-menu--generate)
2993 (package-menu--find-upgrades): Remove unused bindings.
2994
2995 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2996 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2997 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2998 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2999 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
3000 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
3001 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
3002 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
3003 (cua-delete-char-rectangle): Mark unused args.
3004 (cua-align-rectangle): Remove unused binding.
3005
3006 * mail/rmail.el (compilation--message->loc)
3007 (epa--find-coding-system-for-mime-charset): Declare.
3008
3009 * net/dbus.el (dbus-register-service): Declare.
3010 (dbus-name-owner-changed-handler): Remove unused binding.
3011
3012 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
3013 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
3014 (nxml-scan-backward-within): Mark unused arg.
3015 (nxml-dynamic-markup-word): Remove unused binding.
3016
3017 * mouse.el (mouse-menu-major-mode-map):
3018 * emacs-lisp/authors.el (authors-scan-change-log)
3019 (authors-add-to-author-list):
3020 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
3021 * emacs-lisp/smie.el (smie-auto-fill):
3022 * mail/sendmail.el (mail-bury):
3023 * mail/unrmail.el (unrmail):
3024 * net/tls.el (open-tls-stream):
3025 * textmodes/picture.el (picture-mouse-set-point):
3026 Remove unused bindings.
3027
3028 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
3029
3030 * net/tramp.el (tramp-action-password): Let-bind
3031 `enable-recursive-minibuffers' to t.
3032
3033 2012-04-18 Sam Steingold <sds@gnu.org>
3034
3035 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
3036 instead of 'string to accommodate values like [f11].
3037 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
3038 * progmodes/gdb-mi.el: Likewise.
3039
3040 2012-04-18 Leo Liu <sdl.web@gmail.com>
3041
3042 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
3043 current buffer.
3044 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
3045 LOCAL is nil.
3046
3047 2012-04-18 Chong Yidong <cyd@gnu.org>
3048
3049 * simple.el (line-move): Use forward-line if in batch mode
3050 (Bug#11053).
3051
3052 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
3053
3054 * files.el (after-find-file): Do not try to add a final newline if
3055 the buffer is read-only (Bug#11156).
3056
3057 2012-04-17 Richard Stallman <rms@gnu.org>
3058
3059 * mail/rmail.el (rmail-start-mail):
3060 Pass (rmail-mail-return...) for the return-action.
3061 Pass (rmail-yank-current-message...) for the yank-action.
3062 (rmail-yank-current-message): New function.
3063 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
3064 (rmail-reply): Likewise.
3065 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
3066
3067 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
3068 buffer, not the last. Reject temp buffers. Use the rmail-mode
3069 buffer, not newbuf.
3070
3071 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
3072
3073 * server.el (server-ensure-safe-dir): Simplify.
3074
3075 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
3076
3077 * emacs-lisp/smie.el: Provide smarter auto-filling.
3078 (smie-auto-fill): New function.
3079 (smie-setup): Use it.
3080
3081 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
3082
3083 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
3084
3085 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
3086 (comment-indent): Use it.
3087
3088 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
3089
3090 * ses.el: The overall change is to add cell renaming, that is
3091 setting fancy names for cell symbols other than name matching
3092 "\\`[A-Z]+[0-9]+\\'" regexp .
3093 (ses-localvars): Add ses--renamed-cell-symb-list.
3094 (ses-create-cell-variable): New defun.
3095 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
3096 (ses-relocate-formula): Relocate formulas only for cells the
3097 symbols of which are not renamed, i.e. symbols whose names do not
3098 match regexp "\\`[A-Z]+[0-9]+\\'".
3099 (ses-relocate-all): Relocate values only for cells the symbols of
3100 which are not renamed.
3101 (ses-load): Create cells variables as the (ses-cell ...) are read,
3102 in order to check row col consistency with cell symbol name only
3103 for cells that are not renamed.
3104 (ses-replace-name-in-formula): New defun.
3105 (ses-rename-cell): New defun.
3106
3107 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
3108
3109 * progmodes/perl-mode.el (perl-indent-parens-as-block):
3110 New option (bug#11118).
3111 (perl-calculate-indent): Respect it.
3112
3113 2012-04-17 Glenn Morris <rgm@gnu.org>
3114
3115 * dired-aux.el (dired-mark-read-string): Doc fix.
3116
3117 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
3118
3119 * dired-aux.el (dired-mark-read-string): Offer optional completion.
3120 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
3121
3122 2012-04-17 Glenn Morris <rgm@gnu.org>
3123
3124 * mouse.el (mouse-drag-track):
3125 * speedbar.el (speedbar-frame-mode):
3126 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
3127
3128 2012-04-16 Leo Liu <sdl.web@gmail.com>
3129
3130 * progmodes/python.el: Trivial cleanup.
3131
3132 2012-04-16 Glenn Morris <rgm@gnu.org>
3133
3134 * vc/vc.el (vc-string-prefix-p):
3135 * vc/pcvs-util.el (cvs-string-prefix-p):
3136 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
3137 * mpc.el (mpc-string-prefix-p):
3138 Make all of these into obsolete aliases for string-prefix-p.
3139 Update callers.
3140 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
3141
3142 * textmodes/two-column.el: Move custom options to the start.
3143 (frame-width): Remove compat definition.
3144 (2C-associate-buffer, 2C-dissociate):
3145 Use with-current-buffer rather than save-excursion.
3146 (2C-dissociate): Force a mode-line update.
3147 (2C-autoscroll): Use ignore-errors.
3148
3149 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
3150 Autoload trivia.
3151
3152 * emacs-lisp/cl-extra.el (*random-state*):
3153 Remove unnecessary declaration.
3154
3155 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
3156
3157 * play/cookie1.el (cookie-snarf):
3158 Give an explicit error if input file cannot be read.
3159
3160 * play/yow.el (yow-file): Use expand-file-name rather than concat.
3161
3162 * progmodes/perl-mode.el (c-macro-expand):
3163 Remove unnecessary autoload (it is in loaddefs.el).
3164
3165 * textmodes/picture.el (picture-desired-column)
3166 (picture-update-desired-column): Convert comments to doc-strings.
3167 (picture-substitute): Remove function.
3168 (picture-mode-map): Initialize in the defvar.
3169
3170 * woman.el: Remove eval-after-load for tar-mode.
3171 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
3172 (woman-tar-extract-file): Autoload it.
3173
3174 * frame.el (automatic-hscrolling): Make this alias obsolete.
3175
3176 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3177
3178 * ispell.el (ispell-set-spellchecker-params): Post-process
3179 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3180 (ispell-dictionary-base-alist): Revert to original XEmacs
3181 friendly version for default. [:alpha:] will be added in
3182 `ispell-set-spellchecker-params' if needed
3183
3184 2012-04-16 Chong Yidong <cyd@gnu.org>
3185
3186 * image.el (imagemagick--extension-regexp): New variable.
3187 (imagemagick-register-types): Use it.
3188 (imagemagick-types-inhibit): Add :set function. Allow new value
3189 of t to inhibit all types.
3190
3191 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
3192 so we can preload it.
3193
3194 * loadup.el (fboundp): Preload regexp-opt, needed by
3195 imagemagick-register-types.
3196
3197 2012-04-15 Chong Yidong <cyd@gnu.org>
3198
3199 * frame.el (scrolling): Remove nearly unused customization group.
3200
3201 * scroll-all.el (scroll-all-mode): Move to windows group.
3202
3203 2012-04-15 Chong Yidong <cyd@gnu.org>
3204
3205 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
3206
3207 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 Avoid the use of ((lambda ...) ...) in lexical-binding code.
3210 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
3211
3212 2012-04-15 Glenn Morris <rgm@gnu.org>
3213
3214 * simple.el (process-file-side-effects): Doc fix.
3215
3216 2012-04-15 Glenn Morris <rgm@gnu.org>
3217
3218 * international/mule-cmds.el (set-language-environment): Doc fix.
3219
3220 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3221
3222 * server.el (server-auth-key, server-generate-key): Doc fixes.
3223 (server-get-auth-key): Doc fix. Use `string-match-p'.
3224 (server-start): Reflow docstring.
3225
3226 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3227
3228 * server.el (server-generate-key): `called-interactively-p'
3229 requires a parameter.
3230
3231 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
3232
3233 * server.el (server-auth-key): New variable.
3234 (server-generate-key, server-get-auth-key): New function.
3235 (server-start): Use the new variable and functions to allow
3236 setting a permanent server key (bug#9423).
3237
3238 2012-04-14 Leo Liu <sdl.web@gmail.com>
3239
3240 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3241
3242 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3243
3244 Spelling fixes.
3245 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3246 Emacs uses American spelling.
3247
3248 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
3249
3250 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3251 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3252 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3253 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3254
3255 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3256
3257 * progmodes/which-func.el (which-func-modes): Change default.
3258
3259 2012-04-14 Kim F. Storm <storm@cua.dk>
3260
3261 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3262 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3263
3264 2012-04-14 Chong Yidong <cyd@gnu.org>
3265
3266 * custom.el (custom-theme-set-variables): Doc fix.
3267
3268 2012-04-14 Glenn Morris <rgm@gnu.org>
3269
3270 * international/mule.el (set-auto-coding-for-load): Doc fix.
3271
3272 2012-04-14 Alan Mackenzie <acm@muc.de>
3273
3274 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3275 imenu work again for Objective C Mode. Correct the *-index values,
3276 these having been disturbed by a previous change in 2011-08.
3277
3278 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3279 Correct two search limits.
3280
3281 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3282
3283 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3284
3285 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
3286
3287 * international/characters.el: Fix sorting.
3288
3289 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3290
3291 * international/characters.el: Add more missing Latin case pairs.
3292
3293 2012-04-14 Glenn Morris <rgm@gnu.org>
3294
3295 * files.el (dir-locals-set-class-variables): Doc fix.
3296
3297 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3298
3299 * international/characters.el: Add set-case-syntax-pair call for
3300 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3301 counterpart. (Bug#11209)
3302
3303 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3304
3305 2012-04-14 Glenn Morris <rgm@gnu.org>
3306
3307 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3308
3309 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3310
3311 * textmodes/ispell.el (ispell-dictionary-base-alist):
3312 Add data for Hebrew.
3313
3314 2012-04-14 Chong Yidong <cyd@gnu.org>
3315
3316 * net/rcirc.el (rcirc-cmd-quit):
3317 Revert 2012-03-18 change (Bug#11192).
3318
3319 2012-04-14 Glenn Morris <rgm@gnu.org>
3320
3321 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3322
3323 2012-04-14 Eli Zaretskii <eliz@gnu.org>
3324
3325 * minibuffer.el (completion-in-region-mode-map):
3326 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
3327
3328 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3329
3330 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3331
3332 2012-04-13 Masatake YAMATO <yamato@redhat.com>
3333
3334 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3335 to allow `C-M-f' and `C-M-b' to move to the nearest path
3336 separator (bug#9511).
3337
3338 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3339
3340 * avoid.el: Require cl when compiling. And also move the
3341 `provide' to the end.
3342
3343 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3344
3345 * avoid.el (mouse-avoidance-banish-position): New variable.
3346 (mouse-avoidance-banish-destination): Use it (bug#10165).
3347
3348 2012-04-13 Leo Liu <sdl.web@gmail.com>
3349
3350 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3351
3352 2012-04-13 Ken Brown <kbrown@cornell.edu>
3353
3354 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
3355 this is no longer needed now that cygstart understands file:// URLs.
3356 (browse-url-filename-alist): For the same reason, don't modify
3357 file:// URLs on Cygwin.
3358
3359 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3360
3361 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3362 the region on shift if the binding is already shifted (bug#11221).
3363
3364 2012-04-12 Glenn Morris <rgm@gnu.org>
3365
3366 * mail/mailpost.el: Move to obsolete/.
3367
3368 2012-04-12 Drew Adams <drew.adams@oracle.com>
3369
3370 * imenu.el (imenu--generic-function): Ignore invisible definitions
3371 (bug#10123).
3372
3373 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3374
3375 * hexl.el (hexl-bits): New variable.
3376 (hexl-options): Mention the variable in the doc string.
3377 (hexl-rulerise, hexl-line-displen): New functions.
3378 (hexl-mode): Mention the new variable.
3379 (hexl-mode, hexl-current-address, hexl-current-address):
3380 Use the displen.
3381 (hexl-ascii-start-column): New function.
3382 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3383 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3384
3385 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3386
3387 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3388 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3389 the encoding, as expected by hunspell.
3390
3391 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * battery.el (battery--linux-sysfs-regexp): New const.
3394 (battery-status-function): Use it. Remove yeeloong special case.
3395 (battery-yeeloong-sysfs): Remove.
3396 (battery-echo-area-format): Remove yeeloong special case.
3397
3398 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3399
3400 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3401 Reported by Noah Friedman.
3402
3403 * subr.el (read-passwd): Use read-string.
3404
3405 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3406
3407 * vcursor.el (vcursor-move): Increase the priority of the overlay
3408 (bug#9663).
3409
3410 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3411
3412 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3413 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3414
3415 2012-04-11 William Stevenson <yhvh2000@gmail.com>
3416
3417 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3418 define-minor-mode (bug#10760).
3419
3420 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
3421
3422 * progmodes/grep.el (rgrep): Tweak the find command line so
3423 that directories matching `grep-find-ignored-files' won't be
3424 pruned (bug#10351).
3425
3426 2012-04-11 Chong Yidong <cyd@gnu.org>
3427
3428 * startup.el (command-line): Remove support for long-obsolete
3429 variable font-lock-face-attributes.
3430
3431 2012-04-11 Glenn Morris <rgm@gnu.org>
3432
3433 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3434
3435 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3436
3437 * window.el (window--state-get-1): Obey window-point-insertion-type.
3438
3439 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3440
3441 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3442 to previous function when point is on the first character of a
3443 function. Take care of that in `narrow-to-defun' (bug#6157).
3444
3445 2012-04-11 Glenn Morris <rgm@gnu.org>
3446
3447 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3448 not just file-errors.
3449
3450 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3451 (vc-bzr-sha1): Use internal sha1.
3452
3453 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3454
3455 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3456
3457 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3458
3459 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3460 that start in the middle of the line (bug#10496).
3461
3462 2012-04-10 Dan Nicolaescu <dann@gnu.org>
3463
3464 * battery.el (battery-linux-proc-acpi): Only one battery is
3465 discharged at a time, but that seems to confuse battery.el when
3466 computing `rate-type' for the battery not being discharged
3467 (bug#10332).
3468
3469 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3470
3471 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3472
3473 * international/quail.el: Use dolist and simplify.
3474 (quail-define-package, quail-update-keyboard-layout)
3475 (quail-define-rules): Use dolist.
3476 (quail-insert-kbd-layout, quail-get-translation): CSE.
3477
3478 * tmm.el: Use dolist, remove left over hook.
3479 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3480 Use dolist.
3481 (calendar-load-hook): Don't mess with it.
3482
3483 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3484 Use derived-mode-p. Run the diff asynchronously.
3485
3486 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3487
3488 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3489
3490 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
3491
3492 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3493 (list-dynamic-libraries--loaded): New function.
3494 (list-dynamic-libraries--refresh): Use it.
3495
3496 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
3497
3498 * progmodes/python.el (python-fill-paragraph):
3499 Make python-fill-region in a multiline string work when font-lock is
3500 disabled (bug#7018).
3501
3502 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3503
3504 * language/european.el (cp775): Add oem/legacy (en)coding on
3505 DOS/MS Windows for the Baltic languages. There are still plenty
3506 of texts written in this encoding/codepage (bug#6519).
3507
3508 2012-04-10 Glenn Morris <rgm@gnu.org>
3509
3510 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3511 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3512
3513 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3514
3515 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
3516 next-line "n" and previous-line "p" in order to make recentf more
3517 consistent with ibuffer, dired or org-mode (bug#9387).
3518
3519 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3520
3521 * image.el (put-image): Return the overlay created instead of the
3522 optional input string (bug#7834). Note that this may break code
3523 that is (for some reason or other) depending on `put-image'
3524 returning the string.
3525
3526 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3527
3528 * simple.el (zap-to-char): Allow zapping using input methods
3529 (bug#1580).
3530
3531 * textmodes/fill.el (fill-region): Leave point and mark where they
3532 were before filling (bug#5399).
3533
3534 2012-04-09 Glenn Morris <rgm@gnu.org>
3535
3536 * version.el (emacs-bzr-get-version):
3537 Handle lightweight checkouts of local branches.
3538
3539 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3540
3541 * international/characters.el: Recover lost case pairs. (Bug#11209)
3542
3543 2012-04-09 Chong Yidong <cyd@gnu.org>
3544
3545 * custom.el (custom-variable-p): Return nil for non-symbol
3546 arguments instead of signaling an error.
3547 (user-variable-p): Obsolete alias for custom-variable-p.
3548
3549 * apropos.el (apropos-variable):
3550 * files-x.el (read-file-local-variable):
3551 * simple.el (set-variable):
3552 * woman.el (woman-mini-help):
3553 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3554
3555 2012-04-09 Glenn Morris <rgm@gnu.org>
3556
3557 * startup.el (normal-top-level): Don't look for leim-list.el
3558 in places where it will not be found. (Bug#910)
3559
3560 * international/mule-cmds.el (set-default-coding-systems):
3561 * files.el (normal-mode):
3562 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3563 This function was removed with ucs-tables.el in 2008.
3564
3565 2012-04-08 Eli Zaretskii <eliz@gnu.org>
3566
3567 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3568 ispell-encoding8-command to "-i", without a trailing space.
3569 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3570 separate command-line arguments, to specify the encoding, since
3571 that's how hunspell expects it.
3572
3573 2012-04-08 Glenn Morris <rgm@gnu.org>
3574
3575 * loadup.el: Load bindings before cus-start.
3576 This reduces somewhat the number of "rogue" settings in emacs -Q.
3577
3578 2012-04-07 Glenn Morris <rgm@gnu.org>
3579
3580 * version.el (emacs-bzr-get-version): New function.
3581 (emacs-bzr-version): New variable.
3582 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3583 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3584
3585 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3586
3587 * international/uni-bidi.el, international/uni-category.el:
3588 * international/uni-combining.el, international/uni-decimal.el:
3589 * international/uni-decomposition.el, international/uni-digit.el:
3590 * international/uni-lowercase.el, international/uni-mirrored.el:
3591 * international/uni-name.el, international/uni-numeric.el:
3592 * international/uni-titlecase.el, international/uni-uppercase.el:
3593 Update for Unicode 6.1.
3594
3595 2012-04-07 Eli Zaretskii <eliz@gnu.org>
3596
3597 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3598
3599 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3600
3601 * window.el (shrink-window): Mention the `window-min-height'
3602 variable in the doc string.
3603
3604 2012-04-05 Bastien Guerry <bzg@altern.org>
3605
3606 * color.el (color-lighten-name): Fix typo.
3607
3608 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3609
3610 * server.el (server--on-display-p): New function.
3611 (server--on-display-p): Use it.
3612
3613 2012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3614
3615 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3616 (bug#11145).
3617
3618 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3619
3620 * comint.el (comint--common-quoted-suffix): Check string boundary
3621 before comparing (bug#11158).
3622 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3623
3624 2012-04-04 Chong Yidong <cyd@gnu.org>
3625
3626 * minibuffer.el (completion-extra-properties): Doc fix.
3627
3628 * subr.el (delayed-warnings-hook): Doc fix.
3629
3630 2012-04-04 Daiki Ueno <ueno@unixuser.org>
3631
3632 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3633 selection (Bug#11159).
3634 (epa-insert-keys): Inform that the default public key will be
3635 exported if no key is selected.
3636
3637 2012-04-04 Richard Stallman <rms@gnu.org>
3638
3639 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3640
3641 2012-04-03 Chong Yidong <cyd@gnu.org>
3642
3643 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3644 mail-insert-file, not its obsolete alias mail-attach-file.
3645
3646 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
3647
3648 * notifications.el (notifications-notify): Fix docstring.
3649
3650 2012-04-02 Glenn Morris <rgm@gnu.org>
3651
3652 * emacs-lisp/authors.el (authors-aliases): Another addition.
3653
3654 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3657 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3658 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3659
3660 2012-04-01 Chong Yidong <cyd@gnu.org>
3661
3662 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3663 Handle root directory properly.
3664 (copy-directory): Caller changed.
3665
3666 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3667 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3668
3669 2012-03-31 Glenn Morris <rgm@gnu.org>
3670
3671 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3672
3673 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3674
3675 * calendar/calendar.el (calendar-window-list)
3676 (calendar-hide-window): Restore. (Bug#11140)
3677 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3678
3679 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3680
3681 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3682
3683 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3684 Check if file is a symlink (Bug#10489).
3685
3686 * files.el (copy-directory): Likewise.
3687
3688 2012-03-30 Chong Yidong <cyd@gnu.org>
3689
3690 * image.el (imagemagick-types-inhibit)
3691 (imagemagick-register-types): Doc fix.
3692
3693 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3694
3695 * ispell.el (ispell-get-extended-character-mode):
3696 Disable extended-char-mode for hunspell. hunspell does not support it
3697 and treats ~word as ordinary words in pipe mode.
3698
3699 2012-03-30 Glenn Morris <rgm@gnu.org>
3700
3701 * tutorial.el (help-with-tutorial): Ensure local variables don't
3702 happen to make the buffer read-only. (Bug#11127)
3703
3704 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3705
3706 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3707 (perl-calculate-indent): Return `noindent' in strings.
3708
3709 2012-03-28 Sam Steingold <sds@gnu.org>
3710
3711 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3712 instead of the broken adhockery which does not prevent calendar
3713 buffers from being displayed at random after exit.
3714 (calendar-window-list, calendar-hide-window): Remove the broken
3715 adhockery.
3716
3717 2012-03-28 Glenn Morris <rgm@gnu.org>
3718
3719 * replace.el (query-replace-map): Doc fix.
3720
3721 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3722
3723 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3724 contents. (Bug#11109)
3725
3726 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3727
3728 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3729 (bug#11077).
3730 (avl-tree--check, avl-tree--check-node): New funs.
3731
3732 2012-03-27 Martin Rudalics <rudalics@gmx.at>
3733
3734 * window.el (switch-to-visible-buffer): New option.
3735 (switch-to-prev-buffer, switch-to-next-buffer):
3736 Observe switch-to-visible-buffer. Make sure that checking for a window
3737 showing a buffer already is done on the same frame.
3738
3739 2012-03-27 Glenn Morris <rgm@gnu.org>
3740
3741 * startup.el (mail-host-address): Doc fix.
3742
3743 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3744
3745 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3746 than 197 variables.
3747
3748 2012-03-26 Ami Fischman <ami@fischman.org>
3749
3750 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3751
3752 2012-03-26 Glenn Morris <rgm@gnu.org>
3753
3754 * files.el (save-buffers-kill-emacs): Doc fix.
3755
3756 * startup.el (normal-top-level, command-line, command-line-1):
3757 Give them doc strings.
3758
3759 2012-03-25 Eli Zaretskii <eliz@gnu.org>
3760
3761 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
3762 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
3763
3764 2012-03-25 Chong Yidong <cyd@gnu.org>
3765
3766 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3767 theme if it was previously enabled before (Bug#11031).
3768
3769 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3770 spec with custom-face-get-current-spec if its :shown-value is not
3771 determined yet (Bug#9337).
3772 (customize-create-theme, custom-theme-revert): Doc fixes.
3773
3774 * button.el (button-at): Minor addition to docstring.
3775
3776 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
3777
3778 * vc/vc.el (vc-merge): Fix a prompt.
3779
3780 2012-03-24 Chong Yidong <cyd@gnu.org>
3781
3782 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3783 point (Bug#9623).
3784
3785 * button.el (button-at): Minor addition to docstring.
3786
3787 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * newcomment.el (comment-choose-indent): No space after BOL.
3790
3791 2012-03-22 Sam Steingold <sds@gnu.org>
3792
3793 * window.el (switch-to-prev-buffer): Revert last patch because the
3794 bug turned out to be an advertised feature (Elisp manual 28.14).
3795
3796 2012-03-22 Glenn Morris <rgm@gnu.org>
3797
3798 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3799 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3800
3801 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3802
3803 * net/network-stream.el (network-stream-open-starttls): Make error
3804 message under Windows be less misleading.
3805
3806 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3807
3808 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3809 understands (bug#9942).
3810
3811 2012-03-22 Chong Yidong <cyd@gnu.org>
3812
3813 * simple.el (end-of-visible-line): Handle return value of
3814 next-single-property-change properly (Bug#9371).
3815
3816 2012-03-22 Kenichi Handa <handa@m17n.org>
3817
3818 * international/quail.el (quail-insert-kbd-layout): Fix previous
3819 change. To avoid unwanted bidi reordering, use
3820 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3821
3822 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3823
3824 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3825 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3826 (ruby-beginning-of-indent): Be more careful with the difference
3827 between word-boundary and symbol boundary.
3828 (ruby-mode-syntax-table): Make : a symbol constituent.
3829
3830 2012-03-21 Andreas Politz <politza@fh-trier.de>
3831
3832 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3833
3834 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3835
3836 * progmodes/etags.el (tags-completion-at-point-function):
3837 Improve last fix.
3838
3839 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3840
3841 2012-03-21 Sam Steingold <sds@gnu.org>
3842
3843 * progmodes/etags.el (tags-completion-at-point-function):
3844 Avoid the error when point is inside the pattern.
3845
3846 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3847
3848 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3849 line (Bug#10855).
3850
3851 2012-03-21 Drew Adams <drew.adams@oracle.com>
3852
3853 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3854
3855 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3856
3857 * ido.el (ido-set-current-directory, ido-read-internal)
3858 (ido-choose-completion-string, ido-completion-help): Handle nil
3859 value of ido-completion-buffer (Bug#11008).
3860
3861 2012-03-21 Sam Steingold <sds@gnu.org>
3862
3863 * window.el (switch-to-prev-buffer): Do not switch to a visible
3864 window previous buffer, just like with the frame previous buffers.
3865
3866 2012-03-21 Chong Yidong <cyd@gnu.org>
3867
3868 * faces.el (make-face, make-empty-face, copy-face):
3869 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3870 Doc fixes.
3871
3872 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3873
3874 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3875 (widget-complete): Remove broken use of it.
3876
3877 2012-03-20 Chong Yidong <cyd@gnu.org>
3878
3879 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3880 Use string-width and truncate-string-width to handle arbitrary
3881 characters.
3882
3883 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3884
3885 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3886 to draw rectangles, not squares. (Regression introduced by revno
3887 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3888
3889 2012-03-18 Chong Yidong <cyd@gnu.org>
3890
3891 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3892 it is not yet defined (for temacs).
3893
3894 2012-03-18 Leo Liu <sdl.web@gmail.com>
3895
3896 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
3897
3898 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3899
3900 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3901 (ispell-choices-win-default-height, ispell-silently-savep)
3902 (ispell-dictionary-alist, ispell-encoding8-command)
3903 (ispell-check-version, ispell-aspell-find-dictionary)
3904 (ispell-valid-dictionary-list, ispell-words-keyword)
3905 (ispell-get-word, ispell-internal-change-dictionary)
3906 (ispell-region, ispell-skip-region-list)
3907 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3908 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3909 (ispell-message-text-end, ispell-message)
3910 (ispell-buffer-local-parsing): Doc fix.
3911
3912 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
3913
3914 * htmlfontify.el: Add support for code block fontification for ODT
3915 export (Bug #9914).
3916 (hfy-optimisations): Define new option
3917 `body-text-only'
3918 (hfy-fontify-buffer): Honor above setting.
3919 (hfy-begin-span, hfy-end-span): New routines factored out form
3920 `hfy-fontify-buffer'.
3921 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3922 that permit insertion of custom tags.
3923 (hfy-fontify-buffer): Use above handlers.
3924 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3925 (hfy-face-to-css): Re-defined to be a variable.
3926 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
3927 over multiple runs. This is made possible by having the caller let
3928 bind a special variable `hfy-user-sheet-assoc'.
3929 (htmlfontify-string): New defun.
3930 (hfy-compile-face-map): Make sure that the last char in the
3931 buffer is correctly fontified.
3932 (hfy-face-resolve-face): Whitespace only change.
3933
3934 2012-03-17 Eli Zaretskii <eliz@gnu.org>
3935
3936 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3937 message more clear.
3938
3939 2012-03-16 Leo Liu <sdl.web@gmail.com>
3940
3941 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3942
3943 2012-03-16 Alan Mackenzie <acm@muc.de>
3944
3945 Further optimise the handling of large macros.
3946
3947 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3948 limit to a call of `c-literal-limits'.
3949 (c-determine-+ve-limit): New function.
3950 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3951 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
3952 In CASE 5B, restrict a search limit to 500.
3953 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3954
3955 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3956 Restrict macro bounds to +-500 from after-change's BEG END.
3957
3958 2012-03-16 Leo Liu <sdl.web@gmail.com>
3959
3960 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3961
3962 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3963
3964 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
3965 `special-mode' setting of `buffer-read-only'. (Bug#11010)
3966
3967 2012-03-16 Glenn Morris <rgm@gnu.org>
3968
3969 * view.el (view-buffer, view-buffer-other-window)
3970 (view-buffer-other-frame): Doc fixes re special mode-class.
3971
3972 * subr.el (eval-after-load): If named feature is provided not from
3973 a file, run after-load forms. (Bug#10946)
3974
3975 * calendar/calendar.el (calendar-insert-at-column):
3976 Handle non-unit-width characters a bit better. (Bug#10978)
3977
3978 2012-03-15 Chong Yidong <cyd@gnu.org>
3979
3980 * emacs-lisp/ring.el (ring-extend): New function.
3981 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3982
3983 * comint.el (comint-read-input-ring)
3984 (comint-add-to-input-history): Grow comint-input-ring lazily.
3985
3986 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3987
3988 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3989 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3990
3991 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3992 (imenu-add-to-menubar): Don't add a redundant index.
3993 (imenu-update-menubar): Handle a dynamically composed keymap.
3994
3995 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3996
3997 * mail/sendmail.el (mail-encode-header):
3998 Bind rfc2047-encode-encoded-words to nil.
3999
4000 2012-03-13 Glenn Morris <rgm@gnu.org>
4001
4002 * calendar/calendar.el (calendar-string-spread):
4003 Handle non-unit-width characters a bit better. (Bug#10978)
4004
4005 2012-03-13 Leo Liu <sdl.web@gmail.com>
4006
4007 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
4008 directory and file as argument (Bug#10822).
4009
4010 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4011
4012 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
4013 For dynamically generated code, follow $PC.
4014 (gdb-disassembly-handler-custom): Handle no function name case.
4015
4016 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
4017
4018 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
4019 * emulation/ws-mode.el (ws-query-replace):
4020 * sort.el (sort-regexp-fields):
4021 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
4022
4023 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4024
4025 * dabbrev.el: Fix cycle completion order (bug#10963).
4026 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
4027 (dabbrev-completion): Don't use an obarray; provide
4028 a cycle-sort-function.
4029
4030 2012-03-12 Leo Liu <sdl.web@gmail.com>
4031
4032 * simple.el (kill-new): Use equal-including-properties for comparison.
4033 (kill-do-not-save-duplicates): Doc fix.
4034
4035 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4036
4037 * dabbrev.el: Fix cycle completion (bug#10963).
4038 Use lexical binding and wrap to 80 columns.
4039 (dabbrev-completion): Delay computing the list of completions.
4040
4041 2012-03-12 Kenichi Handa <handa@m17n.org>
4042
4043 * international/quail.el (quail-insert-kbd-layout): Surround each
4044 row by LRO and PDF instead of inserting many LRMs. Pad the left
4045 and right of each non-spacing marks. Insert invisible space
4046 between lower and upper characters to prevent composition.
4047
4048 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * minibuffer.el (minibuffer-complete): Don't get confused when the
4051 function is run twice via different commands (bug#10958).
4052 (complete-with-action): Fix docstring.
4053
4054 2012-03-12 Chong Yidong <cyd@gnu.org>
4055
4056 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
4057 (nxml-completion-at-point-function): New function.
4058 (nxml-mode): Use it.
4059 (nxml-bind-meta-tab-to-complete-flag): Default to t.
4060
4061 * emacs-lisp/package.el (package-unpack, package-unpack-single):
4062 Load generated autoloads file before byte compiling (Bug#10970).
4063 (package--make-autoloads-and-compile): New helper fun.
4064
4065 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
4066
4067 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
4068
4069 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
4070
4071 * autorevert.el (auto-revert-handler): Ensure, that
4072 file-readable-p is applied only for local files or in
4073 auto-revert-tail-mode.
4074
4075 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
4076
4077 * server.el (server-eval-at): Handle non-tcp connections.
4078 Decode result string.
4079
4080 * server.el (server-msg-size): New constant.
4081 (server-reply-print): New function.
4082 (server-eval-and-print): Use it.
4083 (server-eval-at): Use server-quote-arg and server-unquote-arg.
4084 Handle -print-nonl.
4085
4086 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
4087
4088 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
4089 (Bug#10987).
4090
4091 2012-03-11 Chong Yidong <cyd@gnu.org>
4092
4093 * simple.el (goto-line): Doc fix (Bug#9938).
4094
4095 * subr.el (save-window-excursion): Doc fix (Bug#9979).
4096
4097 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
4098 when finished (Bug#10963).
4099
4100 2012-03-11 Martin Rudalics <rudalics@gmx.at>
4101
4102 * window.el (split-window-below): Fix bug in case where
4103 split-window-keep-point is nil (Bug#10971).
4104
4105 2012-03-11 Juri Linkov <juri@jurta.org>
4106
4107 * replace.el (replace-highlight): Set isearch-word to nil
4108 unconditionally. (Bug#10887)
4109
4110 2012-03-10 Eli Zaretskii <eliz@gnu.org>
4111
4112 * net/mairix.el (mairix-replace-invalid-chars): Rename from
4113 mairix-replace-illegal-chars; all callers changed. Don't remove
4114 ^, ~, and = characters: they are meaningful in mairix search specs.
4115 (mairix-widget-create-query): Add usage information about mairix
4116 search forms: negating words, searching for substrings, etc.
4117
4118 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
4119
4120 * international/fontset.el (font-encoding-alist): Add an entry for
4121 ksx1001 (Bug#5667).
4122
4123 2012-03-10 Richard Stallman <rms@gnu.org>
4124
4125 * mail/sendmail.el (mail-encode-header):
4126 Set rfc2047-encode-encoded-words.
4127
4128 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
4129
4130 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
4131 view buffer means not swapped.
4132 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
4133 (rmail-write-region-annotate): Error if real text has disappeared.
4134
4135 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
4136
4137 2012-03-10 Chong Yidong <cyd@gnu.org>
4138
4139 * emulation/cua-rect.el (cua--init-rectangles):
4140 * emulation/cua-base.el (cua--init-keymaps):
4141 Add delete-forward-char to remappings (Bug#9666).
4142
4143 2012-03-10 Martin Rudalics <rudalics@gmx.at>
4144
4145 * speedbar.el (speedbar-unhighlight-one-tag-line):
4146 Avoid unhighlighting due to frame switching (Bug#10275).
4147
4148 2012-03-10 Chong Yidong <cyd@gnu.org>
4149
4150 * minibuffer.el (completion-in-region, completion-help-at-point):
4151 Give the completion field overlay a high priority (Bug#6830).
4152
4153 * dired.el (dired-goto-file): Recognize absolute file name
4154 listings (Bug#7126).
4155 (dired-goto-file-1): New helper function.
4156 (dired-toggle-read-only): Inhibit warnings.
4157
4158 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/dbus.el (dbus-property-handler): Return empty array if
4161 there are no properties.
4162
4163 2012-03-09 Leo Liu <sdl.web@gmail.com>
4164
4165 * savehist.el (savehist-printable): Stricter check for string
4166 value (Bug#10937).
4167
4168 2012-03-09 Eli Zaretskii <eliz@gnu.org>
4169
4170 * mail/smtpmail.el (smtpmail-send-it):
4171 Bind coding-system-for-write to *-unix, so that FCC files are kept in
4172 valid mbox format.
4173
4174 2012-03-09 Glenn Morris <rgm@gnu.org>
4175
4176 * files.el (dir-locals-find-file):
4177 Don't check result is regular, readable.
4178 (dir-locals-read-from-file): Demote errors.
4179
4180 2012-03-08 Eli Zaretskii <eliz@gnu.org>
4181
4182 * international/quail.el (quail-insert-kbd-layout):
4183 Insert invisible LRM characters before each character in a keyboard
4184 layout cell, to prevent their reordering by bidi display engine.
4185 For details, see the discussion in
4186 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
4187
4188 2012-03-08 Alan Mackenzie <acm@muc.de>
4189
4190 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
4191 the starting position; make it extend the marked region when
4192 invoked repeatedly - all under appropriate circumstances.
4193 Fixes bugs #5525, #10906.
4194
4195 2012-03-08 Glenn Morris <rgm@gnu.org>
4196
4197 * files.el (locate-dominating-file, dir-locals-find-file):
4198 Undo 2012-03-06 change.
4199
4200 2012-03-07 Eli Zaretskii <eliz@gnu.org>
4201
4202 * international/quail.el (quail-help):
4203 Force bidi-paragraph-direction be left-to-right. See discussion in
4204 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
4205 for the reason.
4206
4207 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
4208
4209 Avoid superfluous registering of signals. (Bug#10807)
4210
4211 * notifications.el (notifications-on-action-object)
4212 (notifications-on-close-object): New defvars.
4213 (notifications-on-action-signal, notifications-on-closed-signal):
4214 Unregister the signal if not needed any longer.
4215 (notifications-notify): Register `notifications-action-signal' or
4216 `notifications-closed-signal', if :on-action or :on-close has been
4217 passed as argument.
4218
4219 2012-03-07 Chong Yidong <cyd@gnu.org>
4220
4221 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4222 non-X platforms.
4223
4224 2012-03-06 Glenn Morris <rgm@gnu.org>
4225
4226 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4227 (x-disown-selection-internal, x-get-selection-internal):
4228 Doc fix (add arglist signatures). (Bug#10783)
4229
4230 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4231
4232 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4233 Handle breakpoints with no "type".
4234
4235 2012-03-06 Glenn Morris <rgm@gnu.org>
4236
4237 * files.el (locate-dominating-file): Add optional predicate argument.
4238 (dir-locals-find-file): Make use of above change.
4239
4240 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4241
4242 * info.el (Info-insert-dir): Also try "dir.gz".
4243
4244 2012-03-06 Glenn Morris <rgm@gnu.org>
4245
4246 * files.el (dir-locals-find-file):
4247 Ignore non-readable or non-regular files. (Bug#10928)
4248
4249 * files.el (locate-dominating-file): Doc fix.
4250
4251 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4252
4253 * calendar/calendar.el (calendar-set-mode-line):
4254 `getenv' returns a string. (Bug#10951)
4255
4256 2012-03-05 Leo Liu <sdl.web@gmail.com>
4257
4258 * simple.el (backward-delete-char-untabify): Constrain point to
4259 field (Bug#10939).
4260
4261 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4262
4263 2012-03-05 Chong Yidong <cyd@gnu.org>
4264
4265 * simple.el (count-words): If called from Lisp, return the word
4266 count, for symmetry with `count-lines'. Arglist changed.
4267 (count-words--message): Args changed. Consolidate counting code
4268 from count-words and count-words-region.
4269 (count-words-region): Caller changed.
4270 (count-lines-region): Make it an obsolete alias.
4271
4272 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4273
4274 * saveplace.el (save-place-to-alist)
4275 (save-place-ignore-files-regexp): Allow value nil to disable this
4276 feature.
4277
4278 2012-03-04 Chong Yidong <cyd@gnu.org>
4279
4280 * faces.el (face-spec-reset-face): For the default face, reset the
4281 attributes to default values (Bug#10748).
4282
4283 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4284
4285 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4286 previous patch: Check `message-send-mail-function', and not the
4287 default function (bug#10897).
4288
4289 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
4290
4291 * notifications.el (notifications-on-action-signal)
4292 (notifications-on-closed-signal): Check for unique service name of
4293 incoming event. Fix error in removing entry.
4294 (top): Register for signals with wildcard service name.
4295 (notifications-notify): Use daemon unique service name for map entries.
4296
4297 2012-03-04 Chong Yidong <cyd@gnu.org>
4298
4299 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
4300
4301 2012-03-04 Glenn Morris <rgm@gnu.org>
4302
4303 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4304 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4305 (expand-abbrev, define-abbrev-table): Doc fixes.
4306
4307 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4308
4309 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4310 `message-default-send-mail-function' and not `send-mail-function'
4311 when doing the prompting for `sendmail-query-once' before sending
4312 in Message buffers (bug#10897).
4313
4314 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4315 This is inconsistent with all the other stream functions, which leave
4316 the setting up to the higher levels (if so wanted) (bug#10931).
4317
4318 2012-03-02 Alan Mackenzie <acm@muc.de>
4319
4320 Depessimize the handling of very large macros.
4321
4322 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4323 (c-macro-cache-syntactic): New variables to implement a one
4324 element macro cache.
4325 (c-invalidate-macro-cache): New function.
4326 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4327 Adapt to use the new cache.
4328 (c-state-safe-place): Use better the cache of safe positions.
4329 (c-state-semi-nonlit-pos-cache)
4330 (c-state-semi-nonlit-pos-cache-limit):
4331 New variables for...
4332 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4333 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
4334 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4335 Use c-state-semi-safe-place.
4336
4337 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4338 Add c-invalidate-macro-cache to the C, C++, Obj entries.
4339
4340 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
4341
4342 * jka-compr.el (jka-compr-call-process):
4343 Apply `file-accessible-directory-p' only when the default directory is
4344 not remote.
4345
4346 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
4347
4348 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4349 access of FILE2, if FILE1 does not exist.
4350
4351 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4352 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4353
4354 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4355 Add "PAGER=" to `process-environment'.
4356
4357 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4358
4359 * progmodes/sql.el: Bug fix
4360 (sql-get-login-ext): Save login values in globals.
4361 (sql-get-login): Use new version of `sql-get-login-ext'.
4362 (sql-interactive-mode): Set global `sql-connection' to nil.
4363 (sql-connect): Set global values for connection.
4364 (sql-product-interactive): Save global values as buffer local.
4365
4366 2012-02-29 Leo Liu <sdl.web@gmail.com>
4367
4368 * abbrev.el (define-abbrevs): Reset sys to nil.
4369
4370 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4371
4372 * files.el (file-equal-p): Rename from `files-equal-p'.
4373 Return nil when one or both files don't exist.
4374 (file-subdir-of-p): Now only top directory must exists,
4375 return nil if it doesn't.
4376 (copy-directory): No need to test with `file-subdir-of-p' after
4377 creating dir.
4378 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4379 to `file-equal-p'.
4380
4381 2012-02-28 Glenn Morris <rgm@gnu.org>
4382
4383 * shell.el (shell-mode):
4384 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4385 * play/landmark.el (landmark-font-lock-face-O):
4386 * play/handwrite.el (handwrite):
4387 * play/gomoku.el (gomoku-O):
4388 * net/browse-url.el (browse-url-browser-display):
4389 * international/mule.el (define-charset):
4390 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4391 * filesets.el (filesets-find-file-delay):
4392 * eshell/em-xtra.el (eshell-xtra):
4393 * eshell/em-unix.el (eshell-grep):
4394 * emulation/viper.el (viper-mode):
4395 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4396 * emacs-lisp/easymenu.el (easy-menu-define):
4397 * calendar/timeclock.el (timeclock-use-display-time):
4398 * bs.el (bs-mode):
4399 * bookmark.el (bookmark-save-flag):
4400 Doc fix (standardize possessive apostrophe usage).
4401
4402 2012-02-27 Chong Yidong <cyd@gnu.org>
4403
4404 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4405 Fix key-binding lookup for ESC key (Bug#9146).
4406
4407 * font-lock.el (font-lock-specified-p): Rename from
4408 font-lock-spec-present. Callers changed.
4409
4410 2012-02-27 Daniel Hackney <dan@haxney.org>
4411
4412 * emacs-lisp/package.el (package-compute-transaction):
4413 Handle holding a package version to t in package-load-list.
4414
4415 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
4416
4417 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4418 (tramp-get-inode, tramp-get-device): Use cached values.
4419
4420 2012-02-26 Alan Mackenzie <acm@muc.de>
4421
4422 Check there is a font-lock specification before doing initial
4423 fontification.
4424
4425 * font-core.el (font-lock-mode): Move the conditional from
4426 :after-hook to font-lock-initial-fontify.
4427 (font-lock-default-function): Move the check for a specification
4428 to font-lock-spec-present.
4429
4430 * font-lock.el (font-lock-initial-fontify): Call ...
4431 (font-lock-spec-present): New function.
4432
4433 2012-02-26 Jim Blandy <jimb@red-bean.com>
4434
4435 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4436 (gdb-send): Apply it to the operand of the '-interpreter-exec
4437 console' command, so that we can pass arguments with (say) quotes
4438 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4439
4440 2012-02-26 Chong Yidong <cyd@gnu.org>
4441
4442 * help-fns.el (describe-function-1): Clarify description of
4443 remapping (Bug#10844).
4444
4445 * files.el (files-equal-p): Doc fix.
4446 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4447 and quit the loop once a mismatch is found.
4448
4449 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
4450
4451 * bs.el (bs--show-with-configuration): Don't throw an error
4452 if the window cannot be split; otherwise, subsequent calls to
4453 bs-show fail, restoring a stale window config. (Bug#10882)
4454
4455 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4456
4457 * term/ns-win.el (global-map): Bind ns-drag-file to
4458 ns-find-file (Bug#5855, Bug#10050).
4459
4460 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4461
4462 * calendar/parse-time.el (parse-time-string): Allow extractor to
4463 return nil.
4464
4465 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
4466
4467 * net/tramp.el (tramp-file-name-for-operation):
4468 Add `files-equal-p' and `file-subdir-of-p'.
4469
4470 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4471 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4472 Add COPY-CONTENTS argument.
4473
4474 2012-02-25 Chong Yidong <cyd@gnu.org>
4475
4476 Add custom groups for VC backends, for consistency with vc-bzr.
4477
4478 * vc/vc-arch.el (vc-arch):
4479 * vc/vc-cvs.el (vc-cvs):
4480 * vc/vc-git.el (vc-git):
4481 * vc/vc-hg.el (vc-hg):
4482 * vc/vc-mtn.el (vc-mtn):
4483 * vc/vc-rcs.el (vc-rcs):
4484 * vc/vc-sccs.el (vc-sccs):
4485 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4486 All relevant defcustoms reassigned.
4487
4488 2012-02-25 Chong Yidong <cyd@gnu.org>
4489
4490 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4491
4492 * term/x-win.el (x-initialize-window-system): Reduce default for
4493 x-selection-timeout to 5 seconds (Bug#8869).
4494
4495 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4496
4497 * files.el (files-equal-p, file-subdir-of-p): New functions.
4498 (copy-directory): Error when trying to copy a directory on itself.
4499 Add missing copy-contents arg to tramp handler.
4500 * dired-aux.el (dired-copy-file-recursive): Same.
4501 (dired-create-files): Modify destination when source is equal to
4502 dest when copying files.
4503 Return also when dest is a subdir of source. (Bug#10489)
4504
4505 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
4506
4507 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4508 (Bug#10874)
4509
4510 2012-02-23 Alan Mackenzie <acm@muc.de>
4511
4512 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4513 parameter "after-hook:" to allow the expansion to run code after
4514 the execution of the mode hooks.
4515
4516 * font-lock.el (font-lock-initial-fontify): New function extracted
4517 from font-lock-mode-internal.
4518
4519 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
4520 :after-hook.
4521
4522 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4525 (completion--cache-all-sorted-completions): New function.
4526 (completion-all-sorted-completions): Use it.
4527 (completion--do-completion, minibuffer-force-complete):
4528 Use it to re-instate the flush hook.
4529
4530 * icomplete.el (icomplete-completions): Replace last fix with a better
4531 one (bug#10850).
4532
4533 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4534
4535 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4536 when it might call us back infinitely (bug#10797).
4537
4538 2012-02-23 Glenn Morris <rgm@gnu.org>
4539
4540 * minibuffer.el (completion-category-overrides): Doc fix.
4541
4542 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4543
4544 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4545 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4546
4547 2012-02-23 Glenn Morris <rgm@gnu.org>
4548
4549 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
4550 (authors-obsolete-files-regexps, authors-ignored-files)
4551 (authors-ambiguous-files, authors-renamed-files-alist):
4552 Add more entries.
4553
4554 2012-02-23 Juri Linkov <juri@jurta.org>
4555
4556 * isearch.el (isearch-occur): Sync interactive spec with occur's
4557 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4558
4559 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4560
4561 2012-02-22 Juri Linkov <juri@jurta.org>
4562
4563 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4564 (ucs-insert): Doc fix. Check for hex digits in the string.
4565 Don't display `nil' in the error message. (Bug#10857)
4566
4567 2012-02-22 Alan Mackenzie <acm@muc.de>
4568
4569 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
4570
4571 2012-02-22 Glenn Morris <rgm@gnu.org>
4572
4573 * ffap.el (ffap-c-path):
4574 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4575
4576 2012-02-22 Chong Yidong <cyd@gnu.org>
4577
4578 * custom.el (load-theme): Doc fix.
4579
4580 2012-02-22 Glenn Morris <rgm@gnu.org>
4581
4582 * dired-x.el (dired-guess-shell-alist-default):
4583 Remove escape sequences from nroff output. (Bug#172)
4584
4585 2012-02-21 Glenn Morris <rgm@gnu.org>
4586
4587 * vc/emerge.el (emerge-defvar-local):
4588 Set `permanent-local' property rather than unused `preserved'.
4589
4590 * textmodes/picture.el (picture-delete-char): New alias.
4591 (picture-mode-map): Use it. (Bug#10860)
4592 (picture-mode): Doc fix.
4593
4594 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
4595
4596 * newcomment.el (uncomment-region-default): Remove unused binding.
4597
4598 2012-02-21 Glenn Morris <rgm@gnu.org>
4599
4600 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4601 (picture-self-insert, picture-tab-chars): Doc fix.
4602 (picture-mode-map): Fix C-a, C-e.
4603
4604 2012-02-20 Glenn Morris <rgm@gnu.org>
4605
4606 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4607
4608 2012-02-20 Leo Liu <sdl.web@gmail.com>
4609
4610 * icomplete.el (icomplete-completions): Check FROM arg before
4611 passing to substring (Bug#10850).
4612
4613 2012-02-19 Chong Yidong <cyd@gnu.org>
4614
4615 * comint.el: Require ansi-color.
4616 (comint-output-filter-functions): Add ansi-color-process-output.
4617
4618 * ansi-color.el: Don't set comint-output-filter-functions; it is
4619 now in the initial value defined in comint.el.
4620 (ansi-color-apply-face-function): New variable.
4621 (ansi-color-apply-on-region): Use it.
4622 (ansi-color-apply-overlay-face): New function.
4623
4624 * shell.el (shell): No need to require ansi-color.
4625 (shell-mode): Use ansi-color-apply-face-function to highlight
4626 color escapes using font-lock-face property (Bug#10835).
4627
4628 2012-02-19 Chong Yidong <cyd@gnu.org>
4629
4630 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4631 mode-line formats (Bug#10839).
4632
4633 2012-02-18 Glenn Morris <rgm@gnu.org>
4634
4635 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4636
4637 * mail/undigest.el (unforward-rmail-message): Doc fix.
4638
4639 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4640
4641 2012-02-18 Eli Zaretskii <eliz@gnu.org>
4642
4643 * international/characters.el (script-list): Sync with the latest
4644 Unicode Character Database.
4645
4646 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 * international/titdic-cnv.el: Remove duplicate coding tag.
4649 * language/cham.el: Likewise.
4650 * language/tai-viet.el: Likewise.
4651
4652 2012-02-18 Glenn Morris <rgm@gnu.org>
4653
4654 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4655 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4656 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4657 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4658 * calendar/holidays.el (holiday-bahai-holidays)
4659 (calendar-holidays, list-holidays):
4660 Use utf-8 Bahá'í in doc-strings, menus, etc.
4661
4662 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4663
4664 * saveplace.el (save-place-ignore-files-regexp): New variable
4665 allowing for excluding files from saving their location of point.
4666 The default value matches the temporary commit message editing
4667 files from Git, SVN, Bazaar, and Mercurial.
4668 (save-place-to-alist): Use it.
4669
4670 2012-02-17 Lawrence Mitchell <wence@gmx.li>
4671 Stefan Monnier <monnier@iro.umontreal.ca>
4672
4673 * newcomment.el (uncomment-region-default): Don't leave extra space
4674 when an arg is provided (bug#8150).
4675
4676 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4677
4678 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
4679
4680 2012-02-17 Glenn Morris <rgm@gnu.org>
4681
4682 * net/socks.el: Require network-stream. (Bug#10599)
4683
4684 2012-02-17 Kenichi Handa <handa@m17n.org>
4685
4686 * international/charprop.el:
4687 * international/uni-name.el:
4688 * international/uni-old-name.el:
4689 * international/uni-comment.el: Regenerate.
4690
4691 2012-02-16 Glenn Morris <rgm@gnu.org>
4692
4693 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4694 Interactively in calendar buffer, give an error if not on a date.
4695
4696 2012-02-15 Glenn Morris <rgm@gnu.org>
4697
4698 * shell.el (shell-delimiter-argument-list):
4699 Revert 2011-02-17 change. (Bug#8027)
4700
4701 2012-02-15 Chong Yidong <cyd@gnu.org>
4702
4703 * minibuffer.el (completion-at-point-functions): Doc fix.
4704
4705 * custom.el (defcustom): Doc fix; note use of defvar.
4706
4707 2012-02-15 Glenn Morris <rgm@gnu.org>
4708
4709 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4710 Doc fixes.
4711
4712 2012-02-14 Glenn Morris <rgm@gnu.org>
4713
4714 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4715
4716 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4717
4718 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4719 way the ports list is computed.
4720 (smtpmail-query-smtp-server): Prompt the user for a port number if
4721 we can't connect to any of the standard ports (bug#10810).
4722
4723 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4724
4725 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4726
4727 2012-02-13 Glenn Morris <rgm@gnu.org>
4728
4729 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4730
4731 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4732
4733 * net/gnutls.el (gnutls-trustfiles): New variable.
4734 (gnutls-negotiate): Use it.
4735
4736 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4737
4738 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4739 does its stuff if Gnus is running.
4740
4741 2012-02-13 Alan Mackenzie <acm@muc.de>
4742
4743 Fix a loop in c-set-fl-decl-start.
4744
4745 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
4746 c-backward-syntactic-ws actually moves backwards.
4747
4748 2012-02-13 Leo Liu <sdl.web@gmail.com>
4749
4750 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4751 beginning so that all \C-o chars are removed.
4752
4753 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4754
4755 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
4756
4757 2012-02-12 Alan Mackenzie <acm@muc.de>
4758
4759 Fix infinite loop with long macros.
4760 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
4761
4762 2012-02-12 Chong Yidong <cyd@gnu.org>
4763
4764 * window.el (display-buffer): Doc fix (Bug#10785).
4765
4766 2012-02-12 Glenn Morris <rgm@gnu.org>
4767
4768 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4769 (x-disown-selection-internal, x-get-selection-internal):
4770 Sync docs with the xselect.c versions.
4771
4772 * allout-widgets.el: Add missing license notice.
4773
4774 2012-02-11 Glenn Morris <rgm@gnu.org>
4775
4776 * select.el (x-get-selection-internal, x-own-selection-internal)
4777 (x-disown-selection-internal):
4778 * x-dnd.el (x-get-selection-internal): Update declarations.
4779
4780 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4781
4782 * window.el (window-sides-slots):
4783 * tool-bar.el (tool-bar-position):
4784 * term/xterm.el (xterm-extra-capabilities):
4785 * ses.el (ses-self-reference-early-detection):
4786 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4787 (verilog-auto-wire-type)
4788 (verilog-auto-delete-trailing-whitespace)
4789 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4790 (verilog-auto-tieoff-declaration):
4791 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4792 (sql-oracle-statement-starters, sql-oracle-scan-on):
4793 * progmodes/prolog.el (prolog-align-comments-flag)
4794 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4795 (prolog-left-indent-regexp, prolog-paren-indent-p)
4796 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4797 (prolog-types, prolog-mode-specificators)
4798 (prolog-determinism-specificators, prolog-directives)
4799 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4800 (prolog-electric-dot-flag)
4801 (prolog-electric-dot-full-predicate-template)
4802 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4803 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4804 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4805 (prolog-program-switches, prolog-prompt-regexp)
4806 (prolog-debug-on-string, prolog-debug-off-string)
4807 (prolog-trace-on-string, prolog-trace-off-string)
4808 (prolog-zip-on-string, prolog-zip-off-string)
4809 (prolog-use-standard-consult-compile-method-flag)
4810 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4811 (prolog-imenu-max-lines, prolog-info-predicate-index)
4812 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4813 (prolog-char-quote-workaround):
4814 * progmodes/cc-vars.el (c-defun-tactic):
4815 * net/tramp.el (tramp-encoding-command-interactive)
4816 (tramp-local-end-of-line):
4817 * net/soap-client.el (soap-client):
4818 * net/netrc.el (netrc-file):
4819 * net/gnutls.el (gnutls):
4820 * minibuffer.el (completion-category-overrides)
4821 (completion-cycle-threshold)
4822 (completion-pcm-complete-word-inserts-delimiters):
4823 * man.el (Man-name-local-regexp):
4824 * mail/feedmail.el (feedmail-display-full-frame):
4825 * international/characters.el (glyphless-char-display-control):
4826 * eshell/em-ls.el (eshell-ls-date-format):
4827 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4828 (lisp-lambda-list-keyword-parameter-indentation)
4829 (lisp-lambda-list-keyword-parameter-alignment):
4830 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4831 * dired-x.el (dired-omit-verbose):
4832 * cus-theme.el (custom-theme-allow-multiple-selections):
4833 * calc/calc.el (calc-highlight-selections-with-faces)
4834 (calc-lu-field-reference, calc-lu-power-reference)
4835 (calc-note-threshold):
4836 * battery.el (battery-mode-line-limit):
4837 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4838 (archive-7z-update):
4839 * allout.el (allout-prefixed-keybindings)
4840 (allout-unprefixed-keybindings)
4841 (allout-inhibit-auto-fill-on-headline)
4842 (allout-flattened-numbering-abbreviation):
4843 * allout-widgets.el (allout-widgets-auto-activation)
4844 (allout-widgets-icons-dark-subdir)
4845 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4846 (allout-widgets-theme-dark-background)
4847 (allout-widgets-theme-light-background)
4848 (allout-widgets-item-image-properties-emacs)
4849 (allout-widgets-item-image-properties-xemacs)
4850 (allout-widgets-run-unit-tests-on-load)
4851 (allout-widgets-time-decoration-activity)
4852 (allout-widgets-hook-error-post-time)
4853 (allout-widgets-track-decoration):
4854 Add missing :version tags to new defcustoms and defgroups.
4855
4856 * progmodes/sql.el (sql-ansi-statement-starters)
4857 (sql-oracle-statement-starters): Add custom type.
4858
4859 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4860 (prolog-system-version): Give it a type.
4861
4862 2012-02-11 Eli Zaretskii <eliz@gnu.org>
4863
4864 * term/pc-win.el (x-select-text, x-selection-owner-p)
4865 (x-own-selection-internal, x-disown-selection-internal)
4866 (x-get-selection-internal): Sync doc strings and argument lists
4867 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4868
4869 2012-02-11 Leo Liu <sdl.web@gmail.com>
4870
4871 * progmodes/python.el (python-end-of-statement): Fix infinite
4872 loop. (Bug#10788)
4873
4874 2012-02-10 Glenn Morris <rgm@gnu.org>
4875
4876 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4877 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4878
4879 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4880
4881 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4882 about SMTP before checking the From header.
4883
4884 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
4885 into own function for reuse by emacsbug.el.
4886
4887 2012-02-10 Leo Liu <sdl.web@gmail.com>
4888
4889 * subr.el (condition-case-unless-debug): Rename from
4890 condition-case-no-debug. All callers changed.
4891 (with-demoted-errors): Fix caller.
4892
4893 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4894 * nxml/rng-valid.el (rng-do-some-validation):
4895 * emacs-lisp/package.el (package-refresh-contents)
4896 (package-menu-execute):
4897 * desktop.el (desktop-create-buffer):
4898 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
4899
4900 2012-02-10 Glenn Morris <rgm@gnu.org>
4901
4902 * textmodes/bibtex.el:
4903 Add missing :version tags for new/changed defcustoms.
4904
4905 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4906
4907 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
4908
4909 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4910 (smtpmail-via-smtp): Use it, or fall back on the From address.
4911 (smtpmail-send-it): Ditto.
4912
4913 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4914
4915 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4916 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4917 (byte-compile-tmp-var): New const.
4918 (byte-compile-defvar): Use it to minimize .elc size.
4919 Just use `defvar' rather than simulate it (bug#10761).
4920
4921 2012-02-09 Glenn Morris <rgm@gnu.org>
4922
4923 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4924
4925 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4926 Add :version tags.
4927
4928 * progmodes/compile.el (compilation-error-screen-columns)
4929 (compilation-first-column, compilation-filter-start): Doc fixes.
4930
4931 * vc/log-view.el (log-view-toggle-entry-display):
4932 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4933
4934 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4935 (report-emacs-bug-can-use-xdg-email):
4936 (report-emacs-bug-insert-to-mailer): Doc fixes.
4937 (report-emacs-bug): Message fix.
4938
4939 * net/browse-url.el (browse-url-can-use-xdg-open)
4940 (browse-url-xdg-open): Doc fixes.
4941
4942 * electric.el (electric-indent-mode, electric-pair-mode)
4943 (electric-layout-rules, electric-layout-mode): Doc fixes.
4944 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4945
4946 2012-02-08 Martin Rudalics <rudalics@gmx.at>
4947
4948 * server.el (server-unselect-display): Don't inadvertently kill
4949 the current buffer. (Bug#10729)
4950
4951 2012-02-08 Glenn Morris <rgm@gnu.org>
4952
4953 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4954 (sql-list-table): Doc fixes.
4955
4956 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4957 Comment out (does nothing).
4958
4959 * completion.el (dynamic-completion-mode):
4960 * dirtrack.el (dirtrack-debug-mode):
4961 * electric.el (electric-layout-mode):
4962 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4963 * face-remap.el (text-scale-mode, buffer-face-mode):
4964 * iimage.el (iimage-mode):
4965 * image-mode.el (image-transform-mode):
4966 * minibuffer.el (completion-in-region-mode):
4967 * scroll-lock.el (scroll-lock-mode):
4968 * simple.el (next-error-follow-minor-mode):
4969 * tar-mode.el (tar-subfile-mode):
4970 * tooltip.el (tooltip-mode):
4971 * vcursor.el (vcursor-use-vcursor-map):
4972 * wid-browse.el (widget-minor-mode):
4973 * emulation/tpu-edt.el (tpu-edt-mode):
4974 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4975 * international/iso-ascii.el (iso-ascii-mode):
4976 * language/thai-util.el (thai-word-mode):
4977 * mail/supercite.el (sc-minor-mode):
4978 * net/goto-addr.el (goto-address-mode):
4979 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4980 * progmodes/cwarn.el (cwarn-mode):
4981 * progmodes/flymake.el (flymake-mode):
4982 * progmodes/glasses.el (glasses-mode):
4983 * progmodes/hideshow.el (hs-minor-mode):
4984 * progmodes/pascal.el (pascal-outline-mode):
4985 * textmodes/enriched.el (enriched-mode):
4986 * vc/smerge-mode.el (smerge-mode):
4987 Doc fixes (minor mode argument).
4988
4989 2012-02-07 Eli Zaretskii <eliz@gnu.org>
4990
4991 * ls-lisp.el (ls-lisp-sanitize): New function.
4992 (ls-lisp-insert-directory): Use it to fix or remove any elements
4993 in file-alist with missing attributes. (Bug#4673)
4994
4995 2012-02-07 Alan Mackenzie <acm@muc.de>
4996
4997 Fix spurious recognition of c-in-knr-argdecl.
4998
4999 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
5000 putative K&R region.
5001
5002 2012-02-07 Alan Mackenzie <acm@muc.de>
5003
5004 * progmodes/cc-engine.el (c-forward-objc-directive):
5005 Prevent looping in "#pragma mark @implementation".
5006
5007 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
5008
5009 * notifications.el (notifications-on-closed-signal): Make `reason'
5010 optional. (Bug#10744)
5011
5012 2012-02-07 Glenn Morris <rgm@gnu.org>
5013
5014 * emacs-lisp/easy-mmode.el (define-minor-mode):
5015 Doc fixes for the macro and the mode it defines.
5016
5017 * image.el (imagemagick-types-inhibit): Doc fix.
5018
5019 * cus-start.el (imagemagick-render-type): Add it.
5020
5021 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
5022
5023 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
5024 Set the default at load time, too, so that `font-lock-fontify-buffer'
5025 can be called without setting up the entire mode first. This fixes
5026 a bug in `mm-inline-text' with C MIME parts.
5027
5028 2012-02-06 Chong Yidong <cyd@gnu.org>
5029
5030 * simple.el (list-processes--refresh): Delete exited processes
5031 (Bug#8094).
5032
5033 * comint.el (comint-next-prompt): next-single-char-property-change
5034 and prev-single-char-property-change never return nil (Bug#8657).
5035
5036 * custom.el (defcustom): Doc fix (Bug#9711).
5037
5038 2012-02-05 Chong Yidong <cyd@gnu.org>
5039
5040 * cus-edit.el (custom-variable-reset-backup): Quote the value
5041 before storing it in the customized-value property (Bug#6712).
5042 (custom-display): Add a customization type tag.
5043 (custom-buffer-create-internal): Improve tooltip message.
5044
5045 * wid-edit.el (widget-field-value-get): New optional arg to
5046 suppress trailing whitespace truncation.
5047 (character): Use it (Bug#2689).
5048
5049 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
5050
5051 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
5052 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
5053
5054 2012-02-05 Chong Yidong <cyd@gnu.org>
5055
5056 * cus-edit.el (custom-variable-value-create): For mismatched
5057 types, show the current value (Bug#7600).
5058
5059 * custom.el (defcustom): Doc fix.
5060
5061 2012-02-05 Glenn Morris <rgm@gnu.org>
5062
5063 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
5064
5065 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
5066
5067 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
5068 (pp-buffer): Use `ignore-errors', `looking-at-p'.
5069 (pp-last-sexp): Use `looking-at-p'.
5070
5071 2012-02-04 Glenn Morris <rgm@gnu.org>
5072
5073 * files.el (revert-buffer):
5074 Doc fix (mention revert-buffer-in-progress-p).
5075
5076 * emacs-lisp/ert-x.el (ert-simulate-command):
5077 Check deferred-action-list (which is obsolete) is bound.
5078
5079 * subr.el (with-wrapper-hook): Doc fixes.
5080
5081 * simple.el (filter-buffer-substring-functions)
5082 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
5083
5084 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
5085
5086 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
5087 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
5088
5089 2012-02-04 Leo Liu <sdl.web@gmail.com>
5090
5091 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
5092
5093 2012-02-04 Glenn Morris <rgm@gnu.org>
5094
5095 * image.el (image-extension-data): Add obsolete alias.
5096
5097 * isearch.el (isearch-update): Doc fix.
5098
5099 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
5100
5101 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
5102
5103 2012-02-03 Glenn Morris <rgm@gnu.org>
5104
5105 * image.el (image-animated-p): Doc fix. Use image-animated-types.
5106 (image-animate-timeout): Doc fix.
5107
5108 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
5109
5110 2012-02-02 Glenn Morris <rgm@gnu.org>
5111
5112 * server.el (server-auth-dir): Doc fix.
5113 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
5114
5115 * subr.el (run-mode-hooks): Doc fix.
5116
5117 2012-02-02 Juri Linkov <juri@jurta.org>
5118
5119 * image-mode.el (image-toggle-display-image): Remove tautological
5120 `major-mode' from the `derived-mode-p' test.
5121
5122 2012-02-02 Kenichi Handa <handa@m17n.org>
5123
5124 * composite.el (compose-region): Cancel previous change.
5125
5126 2012-02-02 Kenichi Handa <handa@m17n.org>
5127
5128 * composite.el (compose-region, compose-string): Signal error for
5129 a null string component (Bug#6988).
5130
5131 2012-02-01 Chong Yidong <cyd@gnu.org>
5132
5133 * view.el (view-buffer-other-window, view-buffer-other-frame):
5134 Handle special modes like view-buffer (Bug#10650).
5135 (view-buffer): Simplify.
5136
5137 * frame.el (set-frame-font): Tweak meaning of third argument.
5138
5139 * dynamic-setting.el (font-setting-change-default-font):
5140 Use set-frame-font (Bug#9982).
5141
5142 2012-02-01 Glenn Morris <rgm@gnu.org>
5143
5144 * progmodes/compile.el (compilation-internal-error-properties):
5145 Respect compilation-first-column in the "*compilation*" buffer.
5146
5147 * emacs-lisp/easy-mmode.el (define-minor-mode):
5148 Relax :variable's test for a named function.
5149
5150 2012-01-31 Alan Mackenzie <acm@muc.de>
5151
5152 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
5153 off by one error.
5154
5155 2012-01-31 Chong Yidong <cyd@gnu.org>
5156
5157 * frame.el (set-frame-font): New arg ALL-FRAMES.
5158
5159 * menu-bar.el (menu-set-font): Use set-frame-font.
5160
5161 * faces.el (face-spec-reset-face): Don't apply unspecified
5162 attribute values to the default face.
5163
5164 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
5165
5166 * progmodes/cwarn.el (cwarn): Remove dead link.
5167 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
5168 Remove * from defcustom docstrings.
5169 (turn-on-cwarn-mode): Make obsolete.
5170 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
5171 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
5172
5173 2012-01-31 Glenn Morris <rgm@gnu.org>
5174
5175 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
5176 Fix :variable handling of mode a symbol not equal to modefun.
5177 Allow named functions to be used as the cdr of :variable.
5178
5179 2012-01-30 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/authors.el (authors-fixed-entries):
5182 Remove reference to deleted file rnewspost.el.
5183
5184 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * window.el (window-with-parameter): Remove unused variable `windows'.
5187 (window--side-check): Remove unused variable `code'.
5188 (window--resize-siblings): Remove unused variable `first'.
5189 (adjust-window-trailing-edge): Remove unused variable `failed'.
5190 (window-deletable-p, window--delete): Remove unused variable `buffer'.
5191 Use `let', not `let*'.
5192 (balance-windows-2): Remove unused variable `found'.
5193 (window--state-put-2): Remove unused variable `splits'.
5194 (window-state-put): Remove unused variable `selected'.
5195 (same-window-p): Use `string-match-p'.
5196 (display-buffer-assq-regexp): Remove unused variable `value'.
5197 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5198 Mark argument ALIST as ignored.
5199 (pop-to-buffer): Remove unused variable `old-window'.
5200
5201 2012-01-29 Eli Zaretskii <eliz@gnu.org>
5202
5203 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
5204 and .lzma compressed files.
5205
5206 2012-01-29 Chong Yidong <cyd@gnu.org>
5207
5208 * frame.el (window-system-default-frame-alist): Doc fix.
5209
5210 * dynamic-setting.el (font-setting-change-default-font): Don't
5211 change the default face if SET-FONT argument is non-nil (Bug#9982).
5212
5213 2012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
5214
5215 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
5216
5217 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
5218
5219 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5220 breakpoints in files outside current directory (Bug#6098).
5221
5222 2012-01-29 Chong Yidong <cyd@gnu.org>
5223
5224 * progmodes/python.el: Require ansi-color at top-level.
5225
5226 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5227 Define and use in Emacs Lisp mode (Bug#9360).
5228 (lisp-mode-abbrev-table): Add doc.
5229 (lisp-mode-variables): Don't set local-abbrev-table.
5230 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5231
5232 2012-01-28 Roland Winkler <winkler@gnu.org>
5233
5234 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5235
5236 2012-01-28 Roland Winkler <winkler@gnu.org>
5237
5238 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5239 (bibtex-set-dialect): Use it. Either set global values of
5240 dialect-dependent variables or bind these variables buffer-locally
5241 (Bug#10254).
5242 (bibtex-mode): Call bibtex-set-dialect via
5243 hack-local-variables-hook.
5244 (bibtex-dialect): Update docstring.
5245 Add safe-local-variable predicate.
5246 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5247 bibtex-set-dialect.
5248 (bibtex-mode-map): Define menu for each dialect.
5249 (bibtex-entry): Fix docstring.
5250
5251 2012-01-28 Chong Yidong <cyd@gnu.org>
5252
5253 * eshell/esh-arg.el (eshell-quote-argument): New function.
5254
5255 * eshell/esh-ext.el (eshell-invoke-batch-file):
5256 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5257 first arg to eshell-parse-command (Bug#10523).
5258
5259 2012-01-28 Drew Adams <drew.adams@oracle.com>
5260
5261 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5262 `default-directory' is non-nil.
5263
5264 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5265
5266 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5267 line that displays system-configuration-options. (Bug#9924)
5268
5269 2012-01-28 Drew Adams <drew.adams@oracle.com>
5270
5271 * descr-text.el (describe-char): Show information about POS, in
5272 addition to information about the character at POS. Improve and
5273 update the doc string. Change "code point" to "code point in
5274 charset", to avoid confusion with the character's Unicode code
5275 point shown above that. (Bug#10129)
5276
5277 2012-01-28 Eli Zaretskii <eliz@gnu.org>
5278
5279 * descr-text.el (describe-char): Show the raw character, not only
5280 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5281 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5282 for the reasons.
5283
5284 2012-01-28 Phil Hagelberg <phil@hagelb.org>
5285
5286 * emacs-lisp/package.el (package-install):
5287 Run package-refresh-contents if there is no archive yet (Bug#9798).
5288
5289 2012-01-28 Chong Yidong <cyd@gnu.org>
5290
5291 * emacs-lisp/package.el (package-maybe-load-descriptor):
5292 New function, split from package-maybe-load-descriptor.
5293 (package-maybe-load-descriptor): Use it.
5294 (package-download-transaction): Fully load required packages
5295 inside the loop, so that `require' calls work (Bug#10593).
5296 (package-install): No need to call package-initialize now.
5297
5298 2012-01-28 Chong Yidong <cyd@gnu.org>
5299
5300 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5301
5302 * tooltip.el (tooltip-mode): Doc fix.
5303 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5304
5305 * frame.el (set-cursor-color): Doc fix (Bug#352).
5306
5307 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5308 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5309
5310 * cus-edit.el (custom-buffer-create-internal): Fix search button
5311 action (Bug#10542).
5312 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
5313
5314 2012-01-27 Eduard Wiebe <usenet@pusto.de>
5315
5316 * dired.el (dired-mark-files-regexp):
5317 Include any subdirectory components. (Bug#10445)
5318
5319 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5320
5321 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5322 Handle [host]:port syntax. (Bug#10533)
5323
5324 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
5325
5326 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5327
5328 2012-01-26 Glenn Morris <rgm@gnu.org>
5329
5330 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5331 * term.el (term-raw-escape-map): Use Control-X-prefix.
5332 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5333
5334 2012-01-25 Martin Rudalics <rudalics@gmx.at>
5335
5336 * window.el (window-state-get, window--state-get-1): Don't deal
5337 with fixed-sizeness of windows. Simplify code.
5338
5339 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5340
5341 * window.el (window--state-get-1, window--state-put-2):
5342 Don't save and restore the mark.
5343
5344 2012-01-25 Chong Yidong <cyd@gnu.org>
5345
5346 * custom.el (custom-variable-p): Doc fix.
5347
5348 2012-01-25 Glenn Morris <rgm@gnu.org>
5349
5350 * dired.el (dired-goto-file): Handle some of the more common
5351 characters that `ls -b' escapes. (Bug#10596)
5352
5353 * progmodes/compile.el (compilation-next-error-function):
5354 Respect compilation-first-column in the "*compilation*" buffer.
5355 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5356
5357 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5358
5359 2012-01-24 Glenn Morris <rgm@gnu.org>
5360
5361 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5362
5363 2012-01-24 Julien Danjou <julien@danjou.info>
5364
5365 * color.el (color-rgb-to-hsl): Fix value computing.
5366 (color-hue-to-rgb): New function.
5367 (color-hsl-to-rgb): New function.
5368 (color-clamp, color-saturate-hsl, color-saturate-name)
5369 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5370 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5371
5372 2012-01-24 Glenn Morris <rgm@gnu.org>
5373
5374 * vc/vc-rcs.el (vc-rcs-create-tag):
5375 * vc/vc-sccs.el (vc-sccs-create-tag):
5376 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5377
5378 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5379
5380 * eshell/esh-util.el (eshell-read-hosts-file):
5381 Skip comment lines. (Bug#10549)
5382
5383 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5384
5385 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
5386
5387 * subr.el (display-delayed-warnings): Doc fix.
5388 (collapse-delayed-warnings): New function to collapse identical
5389 adjacent warnings.
5390 (delayed-warnings-hook): Add it.
5391
5392 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5395
5396 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5397 (tramp-default-user-alist): Don't add "pscp".
5398 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5399 property "login-as", if set. (Bug#10530)
5400
5401 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
5402
5403 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5404 "plink1" and "psftp". (Bug#10530)
5405
5406 2012-01-21 Kenichi Handa <handa@m17n.org>
5407
5408 * international/mule-cmds.el (prefer-coding-system): Show a
5409 warning message if the default value of file-name-coding-system
5410 was not changed.
5411
5412 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5413
5414 * windmove.el (windmove-reference-loc):
5415 Fix windmove-reference-loc miscalculation.
5416
5417 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5418
5419 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5420 default unit.
5421
5422 2012-01-21 Glenn Morris <rgm@gnu.org>
5423
5424 * international/mule.el (auto-coding-alist): Add .tbz.
5425
5426 * files.el (local-enable-local-variables): Doc fix.
5427 (inhibit-local-variables-regexps): Rename from
5428 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5429 Doc fix. Add some extensions from auto-coding-alist.
5430 (inhibit-local-variables-suffixes):
5431 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5432 (inhibit-local-variables-p):
5433 New function, extracted from set-auto-mode-1.
5434 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5435 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5436 (hack-local-variables): Doc fix. Make the mode-only case
5437 respect enable-local-variables and friends.
5438 Respect inhibit-local-variables-regexps for file-locals, but
5439 not for directory-locals.
5440 (set-visited-file-name):
5441 Take account of inhibit-local-variables-regexps.
5442 Whether it applies may change as the file name is changed.
5443 * jka-cmpr-hook.el (jka-compr-install):
5444 * jka-compr.el (jka-compr-uninstall):
5445 Update for inhibit-first-line-modes-suffixes name change.
5446
5447 2012-01-20 Martin Rudalics <rudalics@gmx.at>
5448
5449 * help-macro.el (make-help-screen): Temporarily restore original
5450 binding for minor-mode-map-alist (Bug#10454).
5451
5452 2012-01-19 Julien Danjou <julien@danjou.info>
5453
5454 * color.el (color-name-to-rgb): Use the white color to find the max
5455 color component value and return correctly computed values.
5456 (color-name-to-rgb): Add missing float conversion for max value.
5457
5458 2012-01-19 Martin Rudalics <rudalics@gmx.at>
5459
5460 * window.el (window--state-get-1, window-state-get): Do not use
5461 special state value for window-persistent-parameters.
5462 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
5463 (window--state-put-2): Reset all window parameters to nil before
5464 assigning values of persistent parameters.
5465
5466 2012-01-18 Alan Mackenzie <acm@muc.de>
5467
5468 Eliminate sluggishness and hangs in fontification of "semicolon
5469 deserts".
5470
5471 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5472 Change value 10000 -> 3000.
5473 (c-state-safe-place): Reformulate so it doesn't stack up an
5474 infinite number of wrong entries in c-state-nonlit-pos-cache.
5475 (c-determine-limit-get-base, c-determine-limit): New functions to
5476 determine backward search limits disregarding literals.
5477 (c-find-decl-spots): Amend commenting.
5478 (c-cheap-inside-bracelist-p): New function which detects "={".
5479
5480 * progmodes/cc-fonts.el
5481 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5482 backward search.
5483 (c-font-lock-declarations): Fix an occurrence of point being
5484 undefined. Check additionally for point being in a bracelist or
5485 near a macro invocation without a semicolon so as to avoid a
5486 fruitless time consuming search for a declarator. Give a more
5487 precise search limit for declarators using the new
5488 c-determine-limit.
5489
5490 2012-01-18 Glenn Morris <rgm@gnu.org>
5491
5492 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5493 (set-auto-mode): Doc fixes.
5494
5495 2012-01-17 Glenn Morris <rgm@gnu.org>
5496
5497 * isearch.el (search-nonincremental-instead): Fix doc typo.
5498
5499 * dired.el (dired-insert-directory): Handle newlines in directory name.
5500 (dired-build-subdir-alist): Unescape newlines in directory name.
5501
5502 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
5503
5504 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5505 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5506 (tramp-action-terminal): Use it. (Bug#10530)
5507
5508 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5509
5510 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5511
5512 2012-01-16 Martin Rudalics <rudalics@gmx.at>
5513
5514 * window.el (window-state-ignored-parameters): Remove variable.
5515 (window--state-get-1): Rename argument MARKERS to IGNORE.
5516 Handle persistent window parameters. Make copy of clone-of
5517 parameter only if requested. (Bug#10348)
5518 (window--state-put-2): Install a window parameter only if it has
5519 a non-nil value or an existing parameter shall be overwritten.
5520
5521 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
5522
5523 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5524
5525 2012-01-14 Eli Zaretskii <eliz@gnu.org>
5526
5527 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5528 don't pass the (nil) value of `upnode' to string-match.
5529
5530 2012-01-14 Chong Yidong <cyd@gnu.org>
5531
5532 * startup.el (command-line): Fix X resource class for cursorColor.
5533 Fix values recognized by the cursorBlink resource.
5534
5535 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5536
5537 * epg.el (epg--make-temp-file): Avoid permission race condition
5538 when running on old Emacs versions (bug#10403).
5539
5540 2012-01-14 Glenn Morris <rgm@gnu.org>
5541
5542 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5543
5544 2012-01-13 Alan Mackenzie <acm@muc.de>
5545
5546 Fix filling for when filladapt mode is enabled.
5547
5548 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5549 c-mask-paragraph, pass in `fill-paragraph' rather than
5550 `fill-region-as-paragraph'. (This is a reversion of a previous
5551 change.)
5552 * progmodes/cc-mode.el (c-basic-common-init):
5553 Make fill-paragraph-handle-comment buffer local and set it to nil.
5554
5555 2012-01-13 Glenn Morris <rgm@gnu.org>
5556
5557 * dired.el (dired-switches-escape-p): New function.
5558 (dired-insert-directory): Use dired-switches-escape-p.
5559 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5560
5561 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5562
5563 2012-01-12 Glenn Morris <rgm@gnu.org>
5564
5565 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5566 changes in adaptive-fill-regexp. (Bug#10276)
5567
5568 2012-01-11 Alan Mackenzie <acm@muc.de>
5569
5570 Fix Emacs bug #10463 - put `widen's around the critical spots.
5571
5572 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
5573 widen around each invocation of c-state-pp-to-literal. Remove an
5574 unused let variable.
5575
5576 2012-01-11 Glenn Morris <rgm@gnu.org>
5577
5578 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
5579 Doc fix.
5580
5581 2012-01-10 Chong Yidong <cyd@gnu.org>
5582
5583 * net/network-stream.el (network-stream-open-starttls):
5584 Avoid emitting a confusing error message when the server gives a bad
5585 response to the capability command.
5586
5587 2012-01-10 Glenn Morris <rgm@gnu.org>
5588
5589 * mail/unrmail.el (unrmail): Tweak previous change.
5590
5591 2012-01-09 Chong Yidong <cyd@gnu.org>
5592
5593 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5594
5595 2012-01-08 Alan Mackenzie <acm@muc.de>
5596
5597 Optimise font locking in long enum definitions.
5598
5599 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5600 arm to a cond form to handle enums.
5601 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5602 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5603
5604 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
5605
5606 * files.el (move-file-to-trash): Preserve default file modes on error.
5607 (Bug#10401)
5608
5609 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5610
5611 * faces.el (set-face-attribute): Clarify the meaning of the nil
5612 frame (bug#10294).
5613
5614 * subr.el (with-selected-frame): Mention that the selected frame
5615 is restored (bug#9980).
5616
5617 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5618 (bug#9759).
5619
5620 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
5621 (password-read): Don't autoload unused function.
5622
5623 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
5624
5625 * progmodes/which-func.el (which-func-mode): Turn into a
5626 non-interactive function and mark as obsolete (bug#10428).
5627
5628 2012-01-06 Chong Yidong <cyd@gnu.org>
5629
5630 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5631 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5632 functions, along with 1 and -1.
5633
5634 2012-01-06 Eli Zaretskii <eliz@gnu.org>
5635
5636 * time.el (display-time-load-average)
5637 (display-time-default-load-average): Doc fixes. See the thread
5638 starting at
5639 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5640 for the details.
5641
5642 2012-01-06 Glenn Morris <rgm@gnu.org>
5643
5644 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5645 has no messages. (Bug#10377)
5646
5647 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5648 than Info-edit. (Bug#10385)
5649
5650 * time.el (display-time-load-average, display-time-next-load-average):
5651 Doc fixes.
5652
5653 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5654 local setting of buffer-read-only to the input buffer. (Bug#10419)
5655
5656 * calendar/calendar.el (calendar-mode):
5657 Locally set scroll-margin to 0. (Bug#10379)
5658
5659 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
5660
5661 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5662
5663 2012-01-05 Glenn Morris <rgm@gnu.org>
5664
5665 * eshell/em-unix.el (diff-no-select): Autoload it.
5666 (eshell/diff): Use diff-no-select. (Bug#10420)
5667
5668 2012-01-05 Chong Yidong <cyd@gnu.org>
5669
5670 * shell.el (shell-dynamic-complete-functions): Revert last change.
5671 (shell-command-completion-function): New function.
5672 (shell-completion-vars): Use it to implement
5673 shell-completion-execonly (Bug#10417).
5674
5675 * custom.el (enable-theme): Don't set custom-safe-themes.
5676
5677 * cus-theme.el (custom-theme-merge-theme):
5678 Ignore custom-enabled-themes and custom-safe-themes.
5679
5680 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5681
5682 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5683 first prompt in `sql-interacive-mode'.
5684 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
5685 keywords.
5686 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
5687 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5688 context of original buffer. Invoke `sql-login-hook'.
5689
5690 2012-01-04 Eli Zaretskii <eliz@gnu.org>
5691
5692 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5693 letters in cite-prefix.
5694
5695 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5696
5697 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5698
5699 2012-01-03 Chong Yidong <cyd@gnu.org>
5700
5701 * shell.el (shell-dynamic-complete-functions):
5702 Put pcomplete-completions-at-point, so as to try
5703 comint-filename-completion first (Bug#10417).
5704
5705 2012-01-02 Richard Stallman <rms@gnu.org>
5706
5707 * battery.el (battery-status-function):
5708 Detect when to use battery-yeeloong-sysfs.
5709 (battery-echo-area-format): Add string for Yeeloong.
5710 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5711 (battery-yeeloong-sysfs): New function.
5712
5713 2012-01-02 Chong Yidong <cyd@gnu.org>
5714
5715 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5716 (dirtrack): Merge code for handling relative filenames in prompt
5717 from shell-dir-cookie-watcher.
5718 (dirtrack-debug-message): New arg to avoid excess format calls.
5719
5720 * shell.el (shell-dir-cookie-re): Variable deleted.
5721 (shell-dir-cookie-watcher): Function deleted.
5722 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5723 with dirtrack-mode.
5724
5725 2012-01-01 Eli Zaretskii <eliz@gnu.org>
5726
5727 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5728 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
5729 libgnutls-26.dll.
5730
5731 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5732
5733 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5734
5735 2011-12-31 Eli Zaretskii <eliz@gnu.org>
5736
5737 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5738 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5739
5740 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
5741
5742 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5743 also for alternative shells.
5744 (tramp-open-connection-setup-interactive-shell): Check, whether
5745 the shell is a busybox.
5746 (tramp-send-command): Don't suppress multiple prompts for
5747 busyboxes, it hurts.
5748
5749 2011-12-28 Chong Yidong <cyd@gnu.org>
5750
5751 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5752 (gdb-get-source-file): Move mode line update to
5753 gdb-get-source-file (Bug#10087).
5754
5755 2011-12-25 Chong Yidong <cyd@gnu.org>
5756
5757 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5758 gud-gdb-marker-filter without taking it as an argument.
5759 (gud-gdb-run-command-fetch-lines): Caller changed.
5760 (gud-gdb-completion-function): New variable.
5761 (gud-gdb-completion-at-point): Use it.
5762 (gud-gdb-completions-1): Split from gud-gdb-completions.
5763
5764 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5765 function as separate arguments.
5766 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5767 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5768 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5769 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5770 (gdb-stopped, def-gdb-auto-update-trigger)
5771 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
5772 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5773 Callers changed.
5774 (gud-gdbmi-completions): New function.
5775 (gdb): Use it for generating the completion table.
5776
5777 2011-12-24 Alan Mackenzie <acm@muc.de>
5778
5779 Introduce a mechanism to widen the region used in context font
5780 locking. Use this to protect declarations from losing their contexts.
5781
5782 * progmodes/cc-langs.el (c-before-font-lock-functions):
5783 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
5784 (c-before-context-fontification-functions): New defvar, a list of
5785 functions to be run just before context (etc.) font locking.
5786
5787 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
5788 New, functionality extracted from
5789 c-neutralize-syntax-in-and-mark-CPP.
5790 (c-in-after-change-fontification): New variable.
5791 (c-after-change): Set c-in-after-change-fontification.
5792 (c-set-fl-decl-start): Rejig its interface, so it can be called
5793 from both after-change and context fontifying.
5794 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5795 New functions.
5796 (c-standard-font-lock-fontify-region-function): New variable.
5797 (c-font-lock-fontify-region): New function.
5798
5799 2011-12-24 Juri Linkov <juri@jurta.org>
5800
5801 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5802 (Bug#10348)
5803
5804 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
5805
5806 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5807 existence of source file. (Bug#10325)
5808
5809 2011-12-23 Alan Mackenzie <acm@muc.de>
5810
5811 Fix unstable fontification inside templates.
5812
5813 * progmodes/cc-langs.el (c-before-font-lock-functions):
5814 Newly created from the singular version. The (c c++ objc) entry now
5815 additionally has c-set-fl-decl-start. The other languages (apart
5816 from AWK) have that as a single entry.
5817
5818 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5819 The functionality for "local" declarations has been extracted to
5820 c-set-fl-decl-start.
5821
5822 * progmodes/cc-mode.el (c-common-init, c-after-change):
5823 Changes due to pluralisation of c-before-font-lock-functions.
5824 (c-set-fl-decl-start): New function, extracted from
5825 c-font-lock-enclosing-decls and enhanced.
5826
5827 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
5828
5829 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5830
5831 2011-12-22 Juri Linkov <juri@jurta.org>
5832
5833 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5834
5835 2011-12-22 Chong Yidong <cyd@gnu.org>
5836
5837 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5838
5839 2011-12-21 Drew Adams <drew.adams@oracle.com>
5840
5841 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5842
5843 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5844
5845 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5846
5847 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5848
5849 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5850 highlighting and support. Fix up comments for capitalization.
5851 (cfengine-mode-debug): New var.
5852 (cfengine3-mode): Change the modeline indicator to "CFE3".
5853 (cfengine3-font-lock-keywords): Improve defun highlighting.
5854 (cfengine2-actions): Rename from `cfengine-actions'.
5855 (cfengine2-font-lock-keywords): Rename from
5856 `cfengine-font-lock-keywords'.
5857 (cfengine2-imenu-expression): Rename from
5858 `cfengine-imenu-expression'.
5859 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5860 (cfengine2-beginning-of-defun): Rename from
5861 `cfengine-beginning-of-defun'.
5862 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5863 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5864 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5865 modeline indicator to "CFE2".
5866 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5867 (cfengine-mode-abbrevs): Mark obsolete.
5868
5869 2011-12-21 Chong Yidong <cyd@gnu.org>
5870
5871 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5872 filename argument.
5873
5874 2011-12-20 Martin Rudalics <rudalics@gmx.at>
5875
5876 * window.el (window-normalize-buffer-to-display): Remove.
5877 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5878
5879 2011-12-19 Chong Yidong <cyd@gnu.org>
5880
5881 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5882 Don't signal an error in a predicate function; return non-nil.
5883 (vc-dir-mark-file): Move the error here.
5884 (vc-dir-mark-unmark): If acting on the region, keep going if one
5885 of the entries cannot be marked/unmarked.
5886 (vc-dir-mark-all-files): If current entry is a directory, mark
5887 only child files, as documented.
5888
5889 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5890
5891 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5892 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5893 addition.
5894
5895 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5896
5897 * term/ns-win.el (ns-get-selection-internal)
5898 (ns-store-selection-internal): Declare.
5899 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5900 Declare as obsolete.
5901 (ns-get-pasteboard, ns-paste-secondary):
5902 Use ns-get-selection-internal.
5903 (ns-set-pasteboard, ns-copy-including-secondary):
5904 Use ns-store-selection-internal.
5905
5906 2011-12-17 Chong Yidong <cyd@gnu.org>
5907
5908 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
5909 (vc-deduce-fileset): Doc fix.
5910
5911 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5912
5913 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5914
5915 2011-12-13 Sam Steingold <sds@gnu.org>
5916
5917 * man.el (Man-getpage-in-background): When running under a
5918 window-system, ignore $MANWIDTH and $COLUMNS.
5919
5920 2011-12-15 Kenichi Handa <handa@m17n.org>
5921
5922 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5923 (setup-ethiopic-environment-internal): Comment out key-binding for
5924 ethio-toggle-punctuation.
5925
5926 2011-12-13 Alan Mackenzie <acm@muc.de>
5927
5928 Add the switch statement to AWK Mode.
5929
5930 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
5931 "default" to the keywords regexp.
5932
5933 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
5934 expression as the rest.
5935 (c-nonlabel-token-key): Allow string literals for AWK.
5936 Refactor for the other modes.
5937
5938 Large brace-block initialisation makes CC Mode slow: Fix.
5939 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
5940 routines. Limit backward searching in c-font-lock-enclosing.decl.
5941
5942 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5943 pp-state and literal type in addition to the limits.
5944 (c-state-safe-place): New defun, extracted from c-state-literal-at.
5945 (c-state-literal-at): Use the above new defun.
5946 (c-slow-in-literal, c-fast-in-literal): Remove.
5947 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
5948
5949 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5950 being in a literal. Add a limit for backward searching.
5951
5952 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5953 c-slow-in-literal.
5954
5955 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5956
5957 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5958
5959 2011-12-13 Martin Rudalics <rudalics@gmx.at>
5960
5961 * window.el (delete-other-windows): Use correct frame in call to
5962 window-with-parameter.
5963
5964 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5965
5966 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5967 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5968 (makefile-gmake-statements, makefile-makepp-statements):
5969 Use it and add new makepp keywords.
5970 (makefile-makepp-font-lock-keywords): Add new patterns.
5971 (makefile-match-function-end): Match new [...] and [[...]].
5972
5973 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
5974
5975 * ses.el (ses-call-printer-return, ses-cell-property-get)
5976 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5977 (ses-create-cell-variable, ses-reset-header-string)
5978 (ses-cell-set-formula, ses-repair-cell-reference-all)
5979 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5980 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5981 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5982 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5983 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5984 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5985 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5986 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5987 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5988 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5989 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5990 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5991
5992 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5993
5994 * ses.el: The overall change is to add cell renaming, that is
5995 setting fancy names for cell symbols other than name matching
5996 "\\`[A-Z]+[0-9]+\\'" regexp .
5997 (ses-create-cell-variable): New defun.
5998 (ses-relocate-formula): Relocate formulas only for cells the
5999 symbols of which are not renamed, i.e. symbols whose names do not
6000 match regexp "\\`[A-Z]+[0-9]+\\'".
6001 (ses-relocate-all): Relocate values only for cells the symbols of
6002 which are not renamed.
6003 (ses-load): Create cells variables as the (ses-cell ...) are read,
6004 in order to check row col consistency with cell symbol name only
6005 for cells that are not renamed.
6006 (ses-replace-name-in-formula): New defun.
6007 (ses-rename-cell): New defun.
6008
6009 2011-12-11 Chong Yidong <cyd@gnu.org>
6010
6011 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
6012 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
6013
6014 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
6015
6016 * window.el (other-window): Fix docstring.
6017
6018 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6019
6020 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
6021 `from' or `to' address before taking its substring.
6022 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
6023 encoded name is chopped in the middle of the encoded string, and
6024 thus displayed encoded.
6025
6026 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
6027
6028 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
6029
6030 2011-12-10 Eli Zaretskii <eliz@gnu.org>
6031
6032 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
6033 to use texinfo-update-node and commands that call it if the
6034 Texinfo file uses @node lines without next/prev/up pointers.
6035 Correct outdated description about texinfo-master-menu.
6036 (texinfo-all-menus-update, texinfo-master-menu)
6037 (texinfo-update-node, texinfo-every-node-update)
6038 (texinfo-multiple-files-update): Doc fix. Warn against updating
6039 all the @node lines.
6040 (texinfo-master-menu): Only call texinfo-update-node if the prefix
6041 argument is numeric. Explain better in the doc string what the
6042 function really does.
6043 (texinfo-insert-master-menu-list): Improve the error message
6044 displayed if there's no menu in the Top node.
6045 (Bug#2975) See also this thread:
6046 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
6047
6048 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
6049
6050 * speedbar.el (speedbar-supported-extension-expressions):
6051 Add .adb and .ads, commonly used for Ada source code (bug#10256).
6052
6053 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
6054
6055 * printing.el (pr-mode-alist):
6056 * simple.el (filter-buffer-substring-functions)
6057 (completion-list-insert-choice-function):
6058 * window.el (window-with-parameter, window-atom-root)
6059 (window-sides-slots, window-size-fixed, window-min-delta)
6060 (window-max-delta, window--resize-mini-window)
6061 (window--resize-child-windows-normal, window-tree)
6062 (delete-other-windows, quit-window, split-window)
6063 (display-buffer-record-window, special-display-buffer-names)
6064 (special-display-regexps, special-display-popup-frame)
6065 (same-window-p, split-window-sensibly)
6066 (display-buffer-overriding-action, display-buffer-alist)
6067 (display-buffer-base-action, display-buffer, switch-to-buffer)
6068 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
6069 (fit-window-to-buffer, recenter-positions)
6070 (mouse-autoselect-window-state, mouse-autoselect-window-select):
6071 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
6072 and remove unneeded backslashes in docstrings.
6073
6074 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6075
6076 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
6077
6078 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
6079 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
6080 end in ".mk".
6081 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
6082 when reading the makefile (bug#10116).
6083
6084 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
6085
6086 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
6087 (bug#10116).
6088
6089 2011-12-06 Glenn Morris <rgm@gnu.org>
6090
6091 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
6092
6093 2011-12-06 Chong Yidong <cyd@gnu.org>
6094
6095 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
6096
6097 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
6098
6099 * textmodes/table.el (table-shorten-cell): Fix typo.
6100
6101 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
6102
6103 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
6104
6105 2011-12-05 Eli Zaretskii <eliz@gnu.org>
6106
6107 * descr-text.el (describe-char): Fix display of strong
6108 right-to-left characters and directional embeddings and overrides.
6109
6110 * simple.el (what-cursor-position): Fix display of codepoints of
6111 strong right-to-left characters.
6112
6113 2011-12-05 Chong Yidong <cyd@gnu.org>
6114
6115 * faces.el (read-color): Doc fix.
6116
6117 2011-12-05 Glenn Morris <rgm@gnu.org>
6118
6119 * align.el (align--set-marker): Add doc-string.
6120 Don't try to move something that is not a marker. (Bug#10216)
6121
6122 2011-12-04 Glenn Morris <rgm@gnu.org>
6123
6124 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
6125 overly zealous deletion of trailing whitespace.
6126
6127 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
6128
6129 * server.el (server-delete-client): On Windows, do not try to delete
6130 the only terminal.
6131 (server-process-filter): On Windows, treat requests for a tty frame as
6132 if they were for a GUI frame if the running server is in GUI mode.
6133
6134 2011-12-03 Glenn Morris <rgm@gnu.org>
6135
6136 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
6137
6138 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
6139
6140 * electric.el: Streamline electric-indent's hook.
6141 (electric-indent-chars): Revert to simple list.
6142 (electric-indent-functions): New var.
6143 (electric-indent-post-self-insert-function): Use it.
6144
6145 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
6146 there's no inferior buffer (bug#10196).
6147 (prolog-consult-compile): Don't use toggle-read-only.
6148
6149 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
6152 interrupt. (Bug#10187)
6153
6154 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
6157 (bug#9160).
6158
6159 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
6160 (bug#10191).
6161
6162 2011-12-02 Juri Linkov <juri@jurta.org>
6163
6164 * info.el (Info-search): Display "end of manual" when Isearch
6165 reaches the end of single-file Info manual. (Bug#9918)
6166
6167 2011-12-02 Eli Zaretskii <eliz@gnu.org>
6168
6169 * isearch.el (isearch-message-prefix): Run the input method part
6170 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
6171
6172 2011-12-02 Juri Linkov <juri@jurta.org>
6173
6174 * isearch.el (isearch-occur): Use `word-search-regexp' for
6175 `isearch-word'.
6176 (isearch-search-and-update): Add condition for `isearch-word' and
6177 call `word-search-regexp'. (Bug#10145)
6178
6179 2011-12-01 Glenn Morris <rgm@gnu.org>
6180
6181 * eshell/em-hist.el (eshell-hist-initialize):
6182 Handle eshell-history-size nil and HISTSIZE set or unset.
6183 (eshell-history-file-name, eshell-history-size): Fix custom type.
6184
6185 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6186
6187 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
6188
6189 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
6190
6191 * progmodes/verilog-mode.el (verilog-pretty-expr):
6192 Rework verilog-pretty-expr to handle new assignment operators in system
6193 verilog, such as += *= and the like.
6194 (verilog-assignment-operator-re): Regular expression to find the
6195 assigment operator in a verilog assignment.
6196 (verilog-assignment-operation-re): Regular expression to find an
6197 assignment statement for pretty-expr.
6198 (verilog-in-attribute-p): Query returns true if point is in an
6199 attribute context; used to skip these for expression line up from
6200 pretty-expr.
6201 (verilog-in-parameter-p): Query returns true if point is in an
6202 parameter definition context; used to skip these for expression
6203 line up from pretty-expr.
6204 (verilog-in-parenthesis-p): Query returns true if point is in a
6205 parenthetical expression, specifically ( ) but not [ ] or { };
6206 used by pretty-expr.
6207 (verilog-just-one-space): If there is no space, don't add one.
6208 (verilog-get-lineup-indent-2): Specifically skip just attribute
6209 contexts for expression lineup, rather than skipping all
6210 parenthetical expressions.
6211 (verilog-calculate-indent): Fix comment, and fix indent.
6212 (verilog-do-indent): Indent declarations in lists (suggested by
6213 Joachim Lechner).
6214 (verilog-mode-abbrev-table): Populate abbrev mode with the various
6215 skeleton items.
6216 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
6217 by Alain Mellan).
6218
6219 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6220
6221 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6222 parameters with embedded comments. Reported by Ray Stevens.
6223 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6224 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6225 Reported by Tim Holt.
6226 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6227 instantiated by upper module causing wrong expansion until AUTOed a
6228 second time. Reported by K C Buckenmaier.
6229 (verilog-diff-auto): Fix showing .* as a difference when
6230 `verilog-auto-star-save' off. Reported by Dan Dever.
6231 (verilog-auto-reset, verilog-read-always-signals)
6232 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6233 temporary signals in reset list if
6234 verilog-auto-reset-blocking-in-non is nil, and match assignment
6235 style to each signal's assignment type, bug381.
6236 Reported by Thomas Esposito.
6237 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6238 (verilog-uvm-statement-re): Support UVM indentation and
6239 highlighting, with old OVM keywords only.
6240 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
6241 Support AUTOTIEOFF creating non-wire data types.
6242 Suggested by Jonathan Greenlaw.
6243 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6244 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6245 (verilog-inject-sense, verilog-read-inst-pins)
6246 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6247 Fix mismatching parenthesis inside commented out code when deleting
6248 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6249 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6250 non-numeric vector width. Reported by Alex Reed.
6251 (verilog-auto-ascii-enum): Add "onehot" option to work around not
6252 detecting signals with parameter widths. Reported by Alex Reed.
6253 (verilog-auto-delete-trailing-whitespace):
6254 With `verilog-auto-delete-trailing-whitespace' remove trailing
6255 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6256 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6257 Fix verilog-scan-cache corruption when running user AUTO expansion
6258 hooks that call indentation routines.
6259 (verilog-simplify-range-expression): Fix typo ignoring lower case
6260 identifiers.
6261 (verilog-delete-auto): Fix delete-autos to also remove user created
6262 automatics, as long as they start with AUTO.
6263 (verilog-batch-diff-auto, verilog-diff-auto)
6264 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6265 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6266 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6267 (verilog-in-paren-quick, verilog-re-search-backward-quick)
6268 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6269 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6270 is disabled and its cache will get corrupt, causing AUTOS not to
6271 expand. Instead use only -quick functions.
6272 (verilog-scan-region): Fix scanning over escaped quotes.
6273 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6274 (verilog-re-search-backward-quick)
6275 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6276 related functions now ignore strings, to fix misparsing of strings
6277 with magic comments embedded in them.
6278 (verilog-read-auto-template):
6279 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6280 Reported by Brad Dobbie.
6281 (verilog-read-auto-template):
6282 Fix 'verilog-auto-inst-template-numbers' with comments.
6283 Reported by Brad Dobbie.
6284 (verilog-auto-inst, verilog-auto-inst-param)
6285 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6286 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6287 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
6288 debugging templates without merge conflicts, bug357.
6289 Reported by Brad Dobbie.
6290 (verilog-read-auto-template):
6291 Fix verilog-auto-inst-template-numbers with multiple templates.
6292 Reported by Brad Dobbie.
6293 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6294 abbrevs so user won't be asked to save.
6295 (verilog-read-auto-lisp-present): Fix to start at beginning of
6296 buffer in case called outside of verilog-auto.
6297 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6298 to "X-2". Reported by Matthew Myers.
6299 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6300 all inputs from module templates. Reported by Leith Johnson.
6301 (verilog-module-inside-filename-p): Fix locating programs as with
6302 modules.
6303 (verilog-auto-inst-port): Fix vl-width expressions when using
6304 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6305 (verilog-decls-get-regs, verilog-decls-get-signals,
6306 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6307 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6308 verilog-read-decls): Combine reg and wire structures into one var
6309 structure to represent SystemVerilog concepts.
6310 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6311 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
6312 (verilog-auto-wire-type, verilog-insert-definition):
6313 Add verilog-auto-wire-type and AUTOLOGIC to support using
6314 SystemVerilog "logic" keyword instead of "wire"/"reg".
6315 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6316 to declares outputs that also have assignments (presumably in an
6317 ifdef or generate if so there's not a driver conflict).
6318 Reported by Matthew Myers.
6319 (verilog-auto-declare-nettype, verilog-insert-definition):
6320 Add verilog-auto-declare-nettype to fix declarations using
6321 `default_nettype none. Reported by Julian Gorfajn.
6322 (verilog-read-always-signals-recurse, verilog-read-decls)
6323 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6324 malformed end statement, bug325. Reported by Joshua Wise and
6325 Andrew Drake.
6326 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6327 (verilog-inst-comment-re): Fix not deleting Interfaced comment
6328 when expanding .* in interfaces, bug320.
6329 Reported by Pierre-David Pfister.
6330 (verilog-read-module-name): Fix import statements between module
6331 name and open parenthesis, bug317.
6332 Reported by Pierre-David Pfister.
6333 (verilog-simplify-range-expression): Fix simplification of
6334 multiplications inside AUTOWIRE connections, bug303.
6335 (verilog-auto-inst-port): Support parameter expansion in
6336 multidimensional arrays.
6337 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6338 after "assert property". Reported by Julian Gorfajn.
6339 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6340 with multiplication, bug303.
6341 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6342 Reported by Jan Frode Lonnum.
6343
6344 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
6345
6346 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6347 (hfy-shell-file-name, hfy-shell):
6348 * international/fontset.el (x-decompose-font-name): Fix typos.
6349
6350 2011-11-29 Ken Brown <kbrown@cornell.edu>
6351
6352 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6353 (gdb-version): Remove defvar.
6354 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6355 (gdb-gud-context-command, gdb-non-stop-handler)
6356 (gdb-current-context-command, gdb-stopped): Use it.
6357 (gdb-init-1): Enable pretty printing here.
6358 (gdb-non-stop-handler): Don't enable pretty-printing here.
6359 Check to see if the target supports non-stop mode; if not, turn off
6360 non-stop mode. Use the following.
6361 (gdb-check-target-async): New defun.
6362 (gud-watch, gdb-stopped): Fix whitespace.
6363 (gdb-get-source-file): Don't try to display the source file if
6364 `gdb-main-file' is nil.
6365
6366 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6367
6368 * align.el: Try to generate fewer markers (bug#10047).
6369 (align--set-marker): New macro.
6370 (align-region): Use it.
6371
6372 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6373
6374 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6375
6376 2011-11-29 Chong Yidong <cyd@gnu.org>
6377
6378 * indent.el (indent-for-tab-command, indent-according-to-mode):
6379 Doc fix.
6380 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6381
6382 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
6383
6384 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6385 aware of remote file names. (Bug#10124)
6386
6387 2011-11-29 Chong Yidong <cyd@gnu.org>
6388
6389 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6390
6391 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6392
6393 * files.el (find-file): Don't use force-same-window (bug#10144).
6394 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6395 use pop-to-buffer if the selected window can't be used.
6396 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6397
6398 2011-11-28 Eli Zaretskii <eliz@gnu.org>
6399
6400 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6401 special-mode-map.
6402
6403 2011-11-28 Chong Yidong <cyd@gnu.org>
6404
6405 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6406
6407 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
6408
6409 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6410 gdb-get-source-file-list on gdb-create-source-file-list.
6411
6412 2011-11-26 Eli Zaretskii <eliz@gnu.org>
6413
6414 * whitespace.el (whitespace-newline): Use a different foreground
6415 color for 16-color light-background displays.
6416
6417 2011-11-24 Chong Yidong <cyd@gnu.org>
6418
6419 * window.el (display-buffer--special-action): Doc fix.
6420
6421 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6424 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6425 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6426 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6427 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6428 (avl-tree-stack-first):
6429 * emacs-lisp/cconv.el (cconv--analyse-use):
6430 * net/gnutls.el (gnutls-negotiate): Fix typos.
6431
6432 2011-11-24 Glenn Morris <rgm@gnu.org>
6433
6434 * lpr.el (lpr-windows-system, lpr-lp-system):
6435 * mail/binhex.el (binhex-begin-line):
6436 * progmodes/grep.el (grep-history, grep-find-history):
6437 * textmodes/flyspell.el:
6438 * vc/pcvs-defs.el (cvs-global-menu):
6439 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6440 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6441 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6442
6443 * net/tls.el: Fix case of "GnuTLS".
6444
6445 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6446
6447 * version.el (emacs-build-system): Give it a doc-string.
6448
6449 2011-11-24 Juri Linkov <juri@jurta.org>
6450
6451 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6452
6453 2011-11-24 Glenn Morris <rgm@gnu.org>
6454
6455 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6456 if called on a non-mime message just toggle the headers. (Bug#8006)
6457
6458 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
6459
6460 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6461 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6462 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6463 (allout-rebullet-heading, allout-open-sibtopic)
6464 (allout-toggle-current-subtree-encryption)
6465 (allout-toggle-subtree-encryption, allout-encrypt-string)
6466 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6467 (allout-distinctive-bullets-string, allout-auto-activation):
6468 * window.el (window-normalize-buffer-to-display):
6469 * progmodes/verilog-mode.el (verilog-batch-indent):
6470 * textmodes/bibtex.el (bibtex-field-braces-opt)
6471 (bibtex-field-strings-opt):
6472 * vc/cvs-status.el (cvs-tree-merge):
6473 Fix typos.
6474
6475 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
6476
6477 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6478 `non-essential' to t, in order to avoid remote connections.
6479
6480 2011-11-23 Eli Zaretskii <eliz@gnu.org>
6481
6482 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6483 On MS-DOS and MS-Windows, compare with loaddefs.el
6484 case-insensitively.
6485
6486 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6487
6488 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6489
6490 2011-11-23 Glenn Morris <rgm@gnu.org>
6491
6492 * paths.el (rmail-file-name): Reformat the doc-string so that it
6493 is picked up.
6494
6495 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6496 (rmail-auto-file): Ignore case in the "special" field names,
6497 as mail-fetch-field does for all others.
6498
6499 * mail/rmail.el (rmail-forward):
6500 * mail/rmailkwd.el (rmail-set-label):
6501 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6502 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6503
6504 * mail/rmail.el (rmail-current-message): Doc fix.
6505
6506 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6507
6508 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6511
6512 2011-11-22 Glenn Morris <rgm@gnu.org>
6513
6514 * mail/rmailmm.el (test-rmail-mime-handler)
6515 (test-rmail-mime-bulk-handler)
6516 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6517
6518 2011-11-21 Juri Linkov <juri@jurta.org>
6519
6520 * calc/calc.el (calc-read-key-sequence):
6521 Let-bind `input-method-function' to nil. (Bug#10018)
6522
6523 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6524
6525 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6526 Tell the caller that the next line needs recomputation, even
6527 though it doesn't start a sexp (bug#10094).
6528
6529 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6532
6533 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6536 Use force-same-window.
6537
6538 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6539
6540 * descr-text.el (describe-char-unicode-data):
6541 * json.el (json-string-escape):
6542 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6543 (Footnote-unicode, Footnote-style-p):
6544 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6545
6546 2011-11-20 Chong Yidong <cyd@gnu.org>
6547
6548 * window.el (replace-buffer-in-windows): Restore interactive spec.
6549
6550 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6551
6552 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6553
6554 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6555 (byte-compile-global-not-obsolete-vars): New var.
6556 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6557 Use it.
6558 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6559
6560 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
6561
6562 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6563 * progmodes/pascal.el (electric-pascal-equal):
6564 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6565 * xml.el (xml-substitute-special): Fix typos.
6566
6567 2011-11-20 Glenn Morris <rgm@gnu.org>
6568
6569 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6570 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6571 Doc fixes.
6572 (rmail-decode-mime-charset): Mark as obsolete.
6573
6574 * mail/rmailsum.el (rmail-message-regexp-p-1):
6575 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6576 Before using mime functions, check they are set. (Bug#10077)
6577
6578 2011-11-19 Juri Linkov <juri@jurta.org>
6579
6580 * info.el (Info-finder-find-node): Use `package--builtins' instead
6581 of `package-alist'. Use node names formed by the pattern "Keyword "
6582 and the keyword name.
6583
6584 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6585
6586 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
6587
6588 2011-11-19 Juri Linkov <juri@jurta.org>
6589
6590 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6591 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6592 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6593 `old-history', `old-history-forward'. Add let-binding
6594 `window-selected'. Remove calls to `kill-buffer',
6595 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6596 before calling `Info-find-node', so `Info-find-node-2' will reread
6597 the Info file. Restore window positions only when `window-selected'
6598 is non-nil.
6599
6600 2011-11-19 Juri Linkov <juri@jurta.org>
6601
6602 * isearch.el (isearch-lazy-highlight-new-loop):
6603 Remove condition `(not isearch-error)'. (Bug#9918)
6604
6605 * misearch.el (multi-isearch-search-fun): Add condition
6606 `(not bound)' to ignore lazy-highlighting search.
6607 Add the search-failed message "end of multi" when the end of
6608 multi-sequence is reached. Uncapitalize the search-failed
6609 message "Repeat for next buffer".
6610
6611 * info.el (Info-search): Add the search-failed message
6612 "end of the manual" when the end of the manual is reached
6613 in Isearch mode.
6614
6615 2011-11-19 Juri Linkov <juri@jurta.org>
6616
6617 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6618 Use non-destructive `remove' instead of `delete' because
6619 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6620 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6621
6622 2011-11-19 Juri Linkov <juri@jurta.org>
6623
6624 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6625 to nil instead of binding `search-ring' and `regexp-search-ring'.
6626 (Bug#9185)
6627
6628 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6629
6630 * simple.el (line-move): Force movement by logical lines for any
6631 hscrolled window, not only when auto-hscroll-mode is on.
6632 (line-move-visual): Update doc string to that effect. (Bug#10076)
6633
6634 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6635
6636 * language/european.el (macintosh): Define as alias for mac-roman.
6637
6638 2011-11-19 Eli Zaretskii <eliz@gnu.org>
6639
6640 * mail/rmailmm.el (rmail-mime-display-header)
6641 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6642 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6643 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6644 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6645 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6646 of a raw aref.
6647 (rmail-mime-entity-segment): To get past the tagline, move forward
6648 2 more lines, to account for the 2 empty lines that precede and
6649 follow the line with the buttons.
6650 (rmail-mime-update-tagline): Move one more line, to get past the
6651 empty line that follows the buttons in the tagline. (Bug#9520)
6652
6653 2011-11-19 Martin Rudalics <rudalics@gmx.at>
6654
6655 * window.el (window-max-delta-1, window-min-delta-1)
6656 (window-min-size-1, window-state-get-1, window-state-put-1)
6657 (window-state-put-2): Use "window--" prefix.
6658
6659 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6662 (smie-warning-count): New var.
6663 (smie-set-prec2tab): Use it.
6664 (smie-bnf->prec2): Improve warnings. Add docstring.
6665 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6666 (smie-bnf--set-class): New function.
6667 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6668 corner case.
6669
6670 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6671 (compilation-error-properties, compilation-move-to-column):
6672 Handle compilation-first-column while in the target buffer.
6673
6674 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6675 Don't hardcode point-min==1.
6676
6677 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6678 (eshell-rewrite-for-command): Remove workaround.
6679 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6680 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6681 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6682
6683 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6684
6685 2011-11-17 Glenn Morris <rgm@gnu.org>
6686
6687 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6688 Ignore buffer-local generated-autoload-file if it is the same
6689 as the global value. (Bug#10049)
6690
6691 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
6692
6693 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6694 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6695 (reftex-toc-previous-heading, reftex-toc-max-level)
6696 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6697 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6698 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6699 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6700 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6701 (reftex-toc-rename-label, reftex-toc-visit-location)
6702 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6703 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6704 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6705 leaving "*toc*" only for references to the buffer.
6706
6707 2011-11-17 Martin Rudalics <rudalics@gmx.at>
6708
6709 * window.el (window-resize, delete-window, split-window):
6710 Replace window-splits by window-combination-resize.
6711 * cus-start.el (window-splits): Replace by window-combination-resize.
6712
6713 2011-11-17 Glenn Morris <rgm@gnu.org>
6714
6715 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6716 Make bash entry derive from sh entry, not shell entry.
6717
6718 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
6719
6720 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6721 local file name.
6722
6723 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6724
6725 * menu-bar.el (menu-bar-file-menu):
6726 * printing.el (pr-ps-utility):
6727 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6728 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6729 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6730 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6731 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6732 (icalendar--convert-cyclic-to-ical)
6733 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6734 (icalendar--convert-ical-to-diary)
6735 (icalendar--convert-recurring-to-diary)
6736 (icalendar--convert-non-recurring-all-day-to-diary)
6737 (icalendar-import-format-sample):
6738 * progmodes/idlw-shell.el (idlwave-shell-mode):
6739 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6740 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6741 (vhdl-ps-print-init): Fix typos.
6742
6743 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6744
6745 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6746 FSF and collapse date sequence, obscure author/maintainer email address
6747 better, remove extra version line, track relocation of author's webpage.
6748
6749 * progmodes/python.el (python-pdbtrack-input-prompt)
6750 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6751 regular python pdb prompts. Adjustments shamelessly taken exactly as
6752 suggested in EmacsWiki page (tiny change):
6753 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
6754
6755 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
6756
6757 * expand.el (expand-pos, expand-index, expand-point):
6758 Remove redundant info from docstring.
6759 (expand-add-abbrevs): Doc fix.
6760 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6761 (expand-sample-perl-mode-expand-list): Fix typos.
6762
6763 * net/dbus.el (dbus-event-member-name):
6764 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6765 * term/pc-win.el (msdos-create-frame-with-faces):
6766 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6767
6768 2011-11-16 Martin Rudalics <rudalics@gmx.at>
6769
6770 * window.el (split-window, window-state-get-1)
6771 (window-state-put-1, window-state-put-2): Rename occurrences of
6772 window-nest to window-combination-limit.
6773 * cus-start.el (window-nest): Rename to window-combination-limit.
6774
6775 2011-11-16 Chong Yidong <cyd@gnu.org>
6776
6777 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6778 regexp (Bug#10033).
6779
6780 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6783 `completing-read' will remove *Completions* and will preserve
6784 current-buffer for us.
6785 (tmm-add-prompt): Users of *Completions* will always (re)set its
6786 major mode.
6787 (tmm-old-comp-map): Remove.
6788
6789 2011-11-16 Glenn Morris <rgm@gnu.org>
6790
6791 * mail/rmailedit.el: Require rmailmm when compiling.
6792 (rmail-old-mime-state): New declaration.
6793 (rmail-edit-current-message): If editing a mime message,
6794 edit the "raw" message from the mbox buffer.
6795 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6796
6797 2011-11-15 Glenn Morris <rgm@gnu.org>
6798
6799 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6800 which wasn't being used. Add optional arg to force given state.
6801 (rmail-mime): Add optional arg to force given state.
6802
6803 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6804
6805 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6806 * frame.el (display-mm-dimensions-alist):
6807 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6808 (outline-move-subtree-down):
6809 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6810 (newsticker--treeview-do-get-node):
6811 * net/quickurl.el (quickurl-list-buffer-name):
6812 * progmodes/dcl-mode.el (dcl-mode):
6813 * progmodes/gdb-mi.el (gdb-mapcar*):
6814 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6815
6816 2011-11-15 Glenn Morris <rgm@gnu.org>
6817
6818 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6819 in a boolean sense, so just make it a boolean, and fix the doc.
6820 (rmail-show-mime-function, rmail-mime-feature)
6821 (rmail-require-mime-maybe): Doc fixes.
6822 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6823
6824 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6825
6826 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
6827
6828 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6829 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6830 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6831 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6832
6833 2011-11-15 Glenn Morris <rgm@gnu.org>
6834
6835 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6836 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6837 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6838 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6839 (rmail-mime, rmail-show-mime): Doc fixes.
6840
6841 * term/ns-win.el (mode-line-frame-identification):
6842 Leave it alone. (Bug#10051)
6843
6844 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6845
6846 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6847 Handle empty buffers. (Bug#9978)
6848
6849 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
6850
6851 * international/mule.el (define-charset):
6852 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6853 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6854 * progmodes/verilog-mode.el (verilog-backward-token):
6855 * textmodes/ispell.el (lookup-words):
6856 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6857
6858 2011-11-14 Glenn Morris <rgm@gnu.org>
6859
6860 * progmodes/executable.el
6861 (executable-make-buffer-file-executable-if-script-p):
6862 Handle file-modes returning nil.
6863
6864 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6865 message - not necessary, and causes problems. (Bug#9831)
6866
6867 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6868
6869 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6870
6871 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6872 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6873 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6874
6875 2011-11-12 Martin Rudalics <rudalics@gmx.at>
6876
6877 * window.el (window-resize, delete-window): Use window-splits
6878 variable instead of function.
6879 (window-state-get-1, window-state-put-2, window-state-put):
6880 Don't deal with windows' splits status.
6881
6882 2011-11-12 Glenn Morris <rgm@gnu.org>
6883
6884 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6885 (apropos-documentation): Doc fixes.
6886
6887 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
6888
6889 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6890 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6891
6892 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6893
6894 * electric.el (electric-indent-post-self-insert-function): Make it
6895 possible for a char to only indent in some circumstances.
6896 (electric-indent-mode): Simplify.
6897
6898 2011-11-11 Martin Rudalics <rudalics@gmx.at>
6899
6900 * window.el (windows-with-parameter): Remove unused function.
6901 (windows-at-side): Rename to window-at-side-list.
6902 (window-check, window-atom-check, window-atom-check-1)
6903 (window-side-check, window-size-ignore, window-size-fixed-1)
6904 (window-in-direction-2): Prefix with "window--".
6905 (window-tree-1): Rename to window--subtree, fix doc-string.
6906
6907 2011-11-11 Glenn Morris <rgm@gnu.org>
6908
6909 * subr.el (eval-after-load): If FILE is already loaded,
6910 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6911
6912 2011-11-10 Glenn Morris <rgm@gnu.org>
6913
6914 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6915 Call svn via vc-svn-command rather than vc-do-command.
6916 (vc-svn-command): Add --non-interactive. (Bug#9993)
6917 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6918
6919 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6920 Add toggle-read-only. (Bug#7292)
6921 * files.el (toggle-read-only): Mention that it should only
6922 be used interactively. (Bug#10006)
6923
6924 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6925
6926 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6927 Adjust regexp for OCaml warnings.
6928
6929 * electric.el (electric-pair-post-self-insert-function): Let user
6930 turn it off buffer-locally (bug#9932).
6931
6932 * progmodes/python.el (python-beginning-of-statement):
6933 Rewrite (bug#2703).
6934
6935 * progmodes/compile.el: Better handle TABs (bug#9749).
6936 (compilation-internal-error-properties)
6937 (compilation-next-error-function): Obey the target buffer's
6938 compilation-error-screen-columns.
6939
6940 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
6941
6942 * progmodes/meta-mode.el: Remove obsolete comments.
6943 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6944 Fix typos in docstrings.
6945
6946 2011-11-09 Martin Rudalics <rudalics@gmx.at>
6947
6948 * window.el (window-size-fixed-p): Rewrite doc-string.
6949 (window-resizable-p): Rename to window--resizable-p. Update callers.
6950 (window--resizable): New function. Make all callers of
6951 window-resizable call window--resizable instead.
6952 (window-resizable): Rewrite in terms of window--resizable.
6953
6954 2011-11-08 Glenn Morris <rgm@gnu.org>
6955
6956 * progmodes/delphi.el (delphi-mode-syntax-table):
6957 Let define-derived-mode define a proper syntax table. (Bug#9994)
6958
6959 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * window.el: Stay away from defsubst.
6962 (window-list-no-nils): Remove.
6963 (window-state-get-1, window-state-get): Use backquote instead.
6964
6965 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6966
6967 * emacs-lisp/find-func.el (find-function-read):
6968 Fix incorrect use of default argument in `completing-read'.
6969
6970 2011-11-08 Martin Rudalics <rudalics@gmx.at>
6971
6972 * window.el (display-buffer-function, special-display-function):
6973 Mention display-buffer-record-window but do not mention
6974 help-setup parameter in doc-strings.
6975 (window-min-delta): Fix doc-string typo.
6976
6977 2011-11-08 Chong Yidong <cyd@gnu.org>
6978
6979 * window.el (window-total-height, window-total-width): Doc fix.
6980 (window-body-size): Move from C.
6981 (window-body-height, window-body-width): Move to C.
6982
6983 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * window.el: Make special-display like display-buffer-alist (bug#9532).
6986 (display-buffer--special-action): New function, morphed
6987 from display-buffer--special.
6988 (display-buffer): Use it to handle special-display-buffers at higher
6989 priority (just after display-buffer-alist).
6990 (display-buffer-fallback-action, display-buffer--other-frame-action)
6991 (pop-to-buffer-same-window): Remove display-buffer--special.
6992
6993 2011-11-07 Glenn Morris <rgm@gnu.org>
6994
6995 * calendar/cal-menu.el (cal-menu-set-date-title):
6996 Do nothing if not in a calendar. (Bug#9976)
6997
6998 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6999
7000 * files.el (find-file): Always use selected-window.
7001
7002 2011-11-07 Martin Rudalics <rudalics@gmx.at>
7003
7004 * window.el (window-combinations): Make WINDOW argument
7005 mandatory. Rewrite doc-string.
7006 (walk-window-subtree, window-atom-check, window-min-delta)
7007 (window-max-delta, window--resize-this-window)
7008 (window--resize-root-window-vertically, window-tree)
7009 (balance-windows, window-state-put): Rewrite doc-strings as to
7010 not mention the term "subwindow".
7011 (window--resize-subwindows-skip-p): Rename to
7012 window--resize-child-windows-skip-p.
7013 (window--resize-subwindows-normal): Rename to
7014 window--resize-child-windows-normal.
7015 (window--resize-subwindows): Rename to
7016 window--resize-child-windows.
7017 (window-or-subwindow-p): Rename to window--in-subtree-p.
7018
7019 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7020
7021 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
7022 Ensure that mbox format messages end in two newlines (Bug#9974).
7023
7024 2011-11-06 Chong Yidong <cyd@gnu.org>
7025
7026 * window.el (window-combination-p): Function deleted; its
7027 side-effect is not used in any existing code.
7028 (window-combinations, window-combined-p): Call window-*-child
7029 directly.
7030
7031 2011-11-05 Chong Yidong <cyd@gnu.org>
7032
7033 * window.el (window-valid-p): Rename from window-any-p.
7034 (window-size-ignore, window-state-get): Callers changed.
7035 (window-normalize-window): Rename from window-normalize-any-window.
7036 New arg LIVE-ONLY, replacing window-normalize-live-window.
7037 (window-normalize-live-window): Delete.
7038 (window-combination-p, window-combined-p, window-combinations)
7039 (walk-window-subtree, window-atom-root, window-min-size)
7040 (window-sizable, window-sizable-p, window-size-fixed-p)
7041 (window-min-delta, window-max-delta, window-resizable)
7042 (window-resizable-p, window-full-height-p, window-full-width-p)
7043 (window-current-scroll-bars, window-point-1, set-window-point-1)
7044 (window-at-side-p, window-in-direction, window-resize)
7045 (adjust-window-trailing-edge, maximize-window, minimize-window)
7046 (window-deletable-p, delete-window, delete-other-windows)
7047 (record-window-buffer, unrecord-window-buffer)
7048 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
7049 (quit-window, split-window, window-state-put)
7050 (set-window-text-height, fit-window-to-buffer)
7051 (shrink-window-if-larger-than-buffer): Callers changed.
7052
7053 2011-11-04 Eli Zaretskii <eliz@gnu.org>
7054
7055 * mail/rmail.el (rmail-simplified-subject): Decode subject with
7056 rfc2047-decode-string.
7057 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
7058 warnings.
7059
7060 * window.el (window-body-height, window-body-width): Mention in
7061 the doc string that the return values are in frame's canonical
7062 units. (Bug#9949)
7063
7064 2011-11-03 Alan Mackenzie <acm@muc.de>
7065
7066 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
7067 change in cc-engine.el.
7068
7069 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * window.el (switch-to-buffer): Use `force-same-window' interactively.
7072
7073 2011-11-02 Martin Rudalics <rudalics@gmx.at>
7074
7075 * window.el (quit-window): Call unrecord-window-buffer after
7076 showing another buffer in the window. (Bug#9937)
7077 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
7078
7079 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
7080
7081 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
7082 Accept status with more than 9 shelves. (Bug#9935)
7083 Reported by Colin D Bennett <colin@gibibit.com>.
7084
7085 2011-11-01 Martin Rudalics <rudalics@gmx.at>
7086
7087 * help.el (with-help-window): Don't reference
7088 temp-buffer-show-specifiers in doc-string.
7089
7090 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
7091
7092 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
7093 menu-item.
7094
7095 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
7096
7097 * whitespace.el: New version 13.2.2.
7098 (whitespace-newline-mode): Disable properly. Reported by Sarah
7099 <EmacsWiki>.
7100
7101 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
7102
7103 * net/newst-treeview.el: Remove "Time-stamp".
7104 (newsticker--group-manage-orphan-feeds): Do not call
7105 newsticker--treeview-tree-update.
7106 (newsticker-treeview-update, newsticker-treeview):
7107 Call newsticker--treeview-tree-update if necessary.
7108
7109 2011-10-30 Martin Rudalics <rudalics@gmx.at>
7110
7111 * window.el (window-iso-combination-p, window-iso-combined-p)
7112 (window-iso-combinations): Remove "iso-" infix.
7113 Suggested by Chong Yidong.
7114 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
7115 (window-max-delta-1, window-resize, window--resize-siblings)
7116 (window--resize-this-window, adjust-window-trailing-edge)
7117 (split-window, balance-windows-1)
7118 (shrink-window-if-larger-than-buffer):
7119 * calendar/calendar.el (calendar-generate-window):
7120 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
7121
7122 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7123
7124 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
7125 in place (bug#9907).
7126 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
7127 (eshell-rewrite-if-command, eshell-rewrite-for-command)
7128 (eshell-structure-basic-command, eshell-rewrite-while-command)
7129 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
7130 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
7131 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
7132 (eshell-do-pipelines-synchronously, eshell-eval-command):
7133 Use backquotes and prefer setq to set.
7134 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
7135 (eshell-macrop): Use functionp.
7136 (eshell-do-eval): Handle multiple expressions in `while' body.
7137
7138 2011-10-30 Chong Yidong <cyd@gnu.org>
7139
7140 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
7141 instead of set-mark (Bug#9810).
7142
7143 2011-10-30 Chong Yidong <cyd@gnu.org>
7144
7145 * window.el (split-window-below, split-window-right): Rename from
7146 split-window-above-each-other and split-window-side-by-side
7147 respectively. All callers changed.
7148 (split-window-sensibly, split-window-sensibly): Use them.
7149 (split-window-keep-point): Doc fix.
7150
7151 * isearch.el: Add isearch-scroll property to split-window-below
7152 and split-window-right.
7153
7154 * follow.el (follow-mode):
7155 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
7156 * progmodes/ada-xref.el (ada-gdb-application):
7157 * emulation/vip.el (vip-buffer-in-two-windows):
7158 * image-dired.el (image-dired-dired-with-window-configuration):
7159 * dired-x.el (dired-do-find-marked-files):
7160 * dired.el (dired-pop-to-buffer):
7161 * bs.el (bs--show-with-configuration):
7162 * vc/emerge.el (emerge-setup-windows):
7163 * textmodes/two-column.el (2C-two-columns):
7164 * textmodes/reftex-toc.el (reftex-toc):
7165 * progmodes/gdb-mi.el (gdb-setup-windows):
7166 * progmodes/fortran.el (fortran-window-create):
7167 * net/newst-treeview.el (newsticker--treeview-window-init):
7168 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
7169 * emulation/tpu-edt.el (tpu-gold-map):
7170 * emulation/crisp.el (crisp-mode-map):
7171 * calendar/calendar.el (calendar-basic-setup): Callers changed.
7172
7173 2011-10-29 Chong Yidong <cyd@gnu.org>
7174
7175 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
7176
7177 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
7178
7179 * textmodes/flyspell.el (flyspell-word): Fix char offset for
7180 forged Ispell output (Bug#7904).
7181
7182 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
7183
7184 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7185
7186 * doc-view.el: Avoid ugly errors about not finding nil.
7187 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
7188 (doc-view-dvipdf-program, doc-view-unoconv-program)
7189 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
7190 Avoid nil or absolute file name as default value.
7191 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
7192
7193 2011-10-28 Alan Mackenzie <acm@muc.de>
7194
7195 * progmodes/cc-defs.el (c-version): -> 5.32.2.
7196
7197 2011-10-28 Alan Mackenzie <acm@muc.de>
7198
7199 Amend the handling of c-beginning/end-of-defun in nested declaration
7200 scopes.
7201
7202 * progmodes/cc-vars.el (c-defun-tactic): Move here from
7203 cc-langs.el. Change it to a defcustom.
7204
7205 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
7206 cc-vars.el.
7207
7208 * progmodes/cc-engine.el (c-beginning-of-statement-1):
7209 Prevent "class foo : bar" being spuriously recognized as a label.
7210
7211 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
7212 Add parameter `inclusive' (to include enclosing braces in the region).
7213 (c-widen-to-enclosing-decl-scope): New function.
7214 (c-while-widening-to-decl-block): New macro.
7215 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
7216 outward for defun boundaries, and correspondingly change symbol
7217 `respect-enclosure' to `go-outward'.
7218 (c-declaration-limits): Change algorithm to report only the "innermost"
7219 defun's boundaries.
7220
7221 2011-10-28 Deniz Dogan <deniz@dogan.se>
7222
7223 * net/rcirc.el (rcirc-mode): Use hard newlines.
7224
7225 2011-10-28 Alan Mackenzie <acm@muc.de>
7226
7227 Amend to indent and fontify macros "which include their own semicolon"
7228 correctly, using the "virtual semicolon" mechanism.
7229
7230 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
7231
7232 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7233 Recode to scan one line at a time rather than having \n and \r
7234 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
7235 (c-forward-label): Amend for virtual semicolons.
7236 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
7237
7238 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7239 of the new C macros.
7240
7241 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
7242 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7243 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
7244 (c-opt-cpp-macro-define): Make into a full language variable.
7245 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7246 AWK Mode (including \n, \r) removed, no longer needed.
7247
7248 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7249 Invoke c-make-macro-with-semi-re.
7250
7251 * progmodes/cc-vars.el (c-macro-with-semi-re):
7252 (c-macro-names-with-semicolon): New variables.
7253 (c-make-macro-with-semi-re): New function.
7254
7255 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7256
7257 * vc/log-edit.el: Fill empty field rather than adding new one.
7258 (log-edit-add-field): New function.
7259 (log-edit-insert-changelog): Use it.
7260
7261 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7262
7263 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7264
7265 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7266
7267 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7268 (gdb--check-interpreter): New function.
7269 (gdb): Use it.
7270
7271 2011-10-27 Glenn Morris <rgm@gnu.org>
7272
7273 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7274 (least-positive-float, least-negative-float)
7275 (least-positive-normalized-float, least-negative-normalized-float)
7276 (float-epsilon, float-negative-epsilon):
7277 Remove unnecessary declarations.
7278
7279 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7280 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7281 (least-positive-float, least-negative-float)
7282 (least-positive-normalized-float, least-negative-normalized-float)
7283 (float-epsilon, float-negative-epsilon): Add doc-strings,
7284 based on those in cl.texi.
7285
7286 * files.el (set-visited-file-name): If the major-mode changed,
7287 reload the local variables. (Bug#9796)
7288
7289 2011-10-27 Chong Yidong <cyd@gnu.org>
7290
7291 * subr.el (change-major-mode-after-body-hook): New hook.
7292 (run-mode-hooks): Run it.
7293
7294 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7295 Use change-major-mode-before-body-hook.
7296
7297 * simple.el (fundamental-mode):
7298 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7299 change introducing fundamental-mode-hook.
7300
7301 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
7302
7303 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
7304
7305 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
7306
7307 * ido.el (ido-file-name-all-completions-1): Do not require
7308 tramp.el explicitly. (Bug#7583)
7309
7310 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * progmodes/octave-mod.el:
7313 * progmodes/octave-inf.el: Update maintainer.
7314
7315 2011-10-26 Chong Yidong <cyd@gnu.org>
7316
7317 * subr.el (with-wrapper-hook): Rewrite doc.
7318
7319 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
7320
7321 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
7322 filenames "/method:foo:". (Bug#9793)
7323
7324 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7325
7326 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7327 (bug#9865).
7328
7329 2011-10-24 Glenn Morris <rgm@gnu.org>
7330
7331 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7332
7333 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
7334
7335 * notifications.el: Add the requirement of a running D-Bus session
7336 bus to the Commentary.
7337
7338 2011-10-24 Juri Linkov <juri@jurta.org>
7339
7340 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7341 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7342 (Bug#9364)
7343
7344 2011-10-24 Juri Linkov <juri@jurta.org>
7345
7346 * info.el (Info-following-node-name-re): Add newline to the list
7347 of allowed characters for leading space. (Bug#9824)
7348
7349 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7350
7351 * progmodes/octave-inf.el (inferior-octave-mode-map):
7352 Fix C-c C-h binding.
7353 * progmodes/octave-mod.el (octave-help): Remove.
7354
7355 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
7356
7357 Sync with Tramp 2.2.3.
7358
7359 * net/tramp-cache.el (top): Pacify byte-compiler using
7360 `init-file-user' and `site-run-file'.
7361
7362 * net/trampver.el: Update release number.
7363
7364 2011-10-23 Chong Yidong <cyd@gnu.org>
7365
7366 * files.el (toggle-read-only): Remove obsolete comment about
7367 version control.
7368
7369 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7370 for toggle-read-only. Note that this hasn't called vc-next-action
7371 since 2008-05-02, though it wasn't documented at the time.
7372
7373 * vc/ediff-init.el (ediff-toggle-read-only-function):
7374 Use toggle-read-only.
7375
7376 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7377
7378 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7379 of c-parse-state.
7380
7381 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7382 correct faulty logical expression.
7383 (c-parse-state-state, c-record-parse-state-state):
7384 (c-replay-parse-state-state): New defvar/defuns.
7385 (c-debug-parse-state): Use new functions.
7386
7387 2011-10-22 Martin Rudalics <rudalics@gmx.at>
7388
7389 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
7390 last fix. Use window-in-direction correctly.
7391
7392 2011-10-21 Chong Yidong <cyd@gnu.org>
7393
7394 * progmodes/idlwave.el (idlwave-mode):
7395 * progmodes/vera-mode.el (vera-mode): No need to set
7396 require-final-newline; that's done in prog-mode.
7397 Suggested by Stefan Monnier.
7398
7399 2011-10-21 Martin Rudalics <rudalics@gmx.at>
7400
7401 * mouse.el (mouse-drag-window-above)
7402 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7403 (mouse-drag-mode-line-1, mouse-drag-header-line)
7404 (mouse-drag-vertical-line-rightward-window): Remove.
7405 (mouse-drag-line): New function.
7406 (mouse-drag-mode-line, mouse-drag-header-line)
7407 (mouse-drag-vertical-line): Call mouse-drag-line.
7408 * window.el (window-at-side-p, windows-at-side): New functions.
7409
7410 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
7411
7412 * tar-mode.el (tar-grind-file-mode):
7413 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7414
7415 2011-10-21 Chong Yidong <cyd@gnu.org>
7416
7417 * progmodes/idlwave.el (idlwave-mode):
7418 * progmodes/vera-mode.el (vera-mode):
7419 Use mode-require-final-newline.
7420
7421 2011-10-20 Glenn Morris <rgm@gnu.org>
7422
7423 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
7424
7425 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7426
7427 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7428
7429 2011-10-20 Chong Yidong <cyd@gnu.org>
7430
7431 * emulation/cua-base.el (cua-mode):
7432 * mail/footnote.el (footnote-mode):
7433 * mail/mailabbrev.el (mail-abbrevs-mode):
7434 * net/xesam.el (xesam-minor-mode):
7435 * progmodes/bug-reference.el (bug-reference-mode):
7436 * progmodes/cap-words.el (capitalized-words-mode):
7437 * progmodes/compile.el (compilation-minor-mode)
7438 (compilation-shell-minor-mode):
7439 * progmodes/gud.el (gud-tooltip-mode):
7440 * progmodes/hideif.el (hide-ifdef-mode):
7441 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7442 * progmodes/subword.el (subword-mode):
7443 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7444 * progmodes/which-func.el (which-function-mode):
7445 * term/tvi970.el (tvi970-set-keypad-mode):
7446 * term/vt100.el (vt100-wide-mode):
7447 * textmodes/flyspell.el (flyspell-mode):
7448 * textmodes/ispell.el (ispell-minor-mode):
7449 * textmodes/nroff-mode.el (nroff-electric-mode):
7450 * textmodes/paragraphs.el (use-hard-newlines):
7451 * textmodes/refill.el (refill-mode):
7452 * textmodes/reftex.el (reftex-mode):
7453 * textmodes/rst.el (rst-minor-mode):
7454 * textmodes/sgml-mode.el (html-autoview-mode)
7455 (sgml-electric-tag-pair-mode):
7456 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7457 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7458 * emulation/crisp.el (crisp-mode):
7459 * emacs-lisp/eldoc.el (eldoc-mode):
7460 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7461 minor mode behavior.
7462
7463 2011-10-19 Juri Linkov <juri@jurta.org>
7464
7465 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7466 the list of hard-coded chars with escape-glyph face.
7467
7468 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7469
7470 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7471
7472 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
7473
7474 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7475 running process.
7476
7477 2011-10-19 Glenn Morris <rgm@gnu.org>
7478
7479 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7480 Ignore ignored files. (Bug#9726)
7481
7482 2011-10-19 Chong Yidong <cyd@gnu.org>
7483
7484 Doc fix for minor modes, stating that an omitted argument enables
7485 the mode unconditionally when called from Lisp.
7486
7487 * abbrev.el (abbrev-mode):
7488 * allout.el (allout-mode):
7489 * autoinsert.el (auto-insert-mode):
7490 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7491 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7492 (global-auto-revert-mode):
7493 * battery.el (display-battery-mode):
7494 * composite.el (global-auto-composition-mode)
7495 (auto-composition-mode):
7496 * delsel.el (delete-selection-mode):
7497 * desktop.el (desktop-save-mode):
7498 * dired-x.el (dired-omit-mode):
7499 * dirtrack.el (dirtrack-mode):
7500 * doc-view.el (doc-view-minor-mode):
7501 * double.el (double-mode):
7502 * electric.el (electric-indent-mode, electric-pair-mode):
7503 * emacs-lock.el (emacs-lock-mode):
7504 * epa-hook.el (auto-encryption-mode):
7505 * follow.el (follow-mode):
7506 * font-core.el (font-lock-mode):
7507 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7508 * help.el (temp-buffer-resize-mode):
7509 * hilit-chg.el (highlight-changes-mode)
7510 (highlight-changes-visible-mode):
7511 * hi-lock.el (hi-lock-mode):
7512 * hl-line.el (hl-line-mode, global-hl-line-mode):
7513 * icomplete.el (icomplete-mode):
7514 * ido.el (ido-everywhere):
7515 * image-file.el (auto-image-file-mode):
7516 * image-mode.el (image-minor-mode):
7517 * iswitchb.el (iswitchb-mode):
7518 * jka-cmpr-hook.el (auto-compression-mode):
7519 * linum.el (linum-mode):
7520 * longlines.el (longlines-mode):
7521 * master.el (master-mode):
7522 * mb-depth.el (minibuffer-depth-indicate-mode):
7523 * menu-bar.el (menu-bar-mode):
7524 * minibuf-eldef.el (minibuffer-electric-default-mode):
7525 * mouse-sel.el (mouse-sel-mode):
7526 * msb.el (msb-mode):
7527 * mwheel.el (mouse-wheel-mode):
7528 * outline.el (outline-minor-mode):
7529 * paren.el (show-paren-mode):
7530 * recentf.el (recentf-mode):
7531 * reveal.el (reveal-mode, global-reveal-mode):
7532 * rfn-eshadow.el (file-name-shadow-mode):
7533 * ruler-mode.el (ruler-mode):
7534 * savehist.el (savehist-mode):
7535 * scroll-all.el (scroll-all-mode):
7536 * scroll-bar.el (scroll-bar-mode):
7537 * server.el (server-mode):
7538 * shell.el (shell-dirtrack-mode):
7539 * simple.el (auto-fill-mode, transient-mark-mode)
7540 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7541 (line-number-mode, column-number-mode, size-indication-mode)
7542 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7543 * strokes.el (strokes-mode):
7544 * time.el (display-time-mode):
7545 * t-mouse.el (gpm-mouse-mode):
7546 * tool-bar.el (tool-bar-mode):
7547 * tooltip.el (tooltip-mode):
7548 * type-break.el (type-break-mode-line-message-mode)
7549 (type-break-query-mode):
7550 * view.el (view-mode):
7551 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7552 (global-whitespace-mode, global-whitespace-newline-mode):
7553 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7554
7555 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7556 Fix autogenerated docstring.
7557
7558 2011-10-19 Juri Linkov <juri@jurta.org>
7559
7560 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7561 by checking environment variables "DESKTOP_SESSION" and
7562 "XDG_CURRENT_DESKTOP". (Bug#9779)
7563
7564 2011-10-19 Juri Linkov <juri@jurta.org>
7565
7566 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7567 (browse-url-chromium-program, browse-url-chromium-arguments):
7568 New defcustoms.
7569 (browse-url-default-browser): Check for `browse-url-chromium' and
7570 call `browse-url-chromium-program'.
7571 (browse-url-chromium): New command. (Bug#9779)
7572
7573 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
7574
7575 * facemenu.el (list-colors-duplicates): On Windows, detect more
7576 duplicates by assuming that only colors matching "^System" are
7577 special "system colors". (Bug#9722)
7578
7579 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7580
7581 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7582 to distinguish the author from the committer.
7583
7584 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
7585
7586 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7587
7588 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7589
7590 * international/mule.el (sgml-html-meta-auto-coding-function):
7591 Add support for detecting encoding in HTML5 specified only as
7592 <meta charset="UTF-8">. Implementation just makes http-equiv and
7593 content-type parts from HTML4 encoding string optional. (Bug#9716)
7594
7595 2011-10-18 Glenn Morris <rgm@gnu.org>
7596
7597 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7598
7599 2011-10-18 Chong Yidong <cyd@gnu.org>
7600
7601 * faces.el (cursor): Doc fix.
7602
7603 2011-10-17 Chong Yidong <cyd@gnu.org>
7604
7605 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7606
7607 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
7608
7609 * dirtrack.el (dirtrack): Support shell buffers with path
7610 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7611
7612 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7613
7614 * json.el: Bump version to 1.3 and note change in History.
7615 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7616
7617 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * comint.el (comint-insert-input, comint-send-input)
7620 (comint-get-old-input-default, comint-backward-matching-input)
7621 (comint-next-prompt): Use nil instead of `input' for field property of
7622 past user input (bug#114).
7623
7624 * minibuffer.el (completion--replace): Inherit surrounding properties
7625 (bug#114).
7626 (minibuffer-complete-and-exit): Use it.
7627
7628 * comint.el (comint--table-subvert): Quote the all-completions output
7629 (bug#9160).
7630
7631 2011-10-17 Martin Rudalics <rudalics@gmx.at>
7632
7633 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
7634
7635 * menu-bar.el (menu-bar-file-menu): Add entry for making new
7636 window on right of selected. (Bug#9350) Reword other window
7637 entries and separate them from frame entries.
7638
7639 2011-10-15 Glenn Morris <rgm@gnu.org>
7640
7641 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7642 Doc fixes.
7643
7644 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
7645
7646 * net/network-stream.el (network-stream-open-starttls):
7647 Improve detection of failure due to lack of TLS support.
7648
7649 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7650 putting the input text in front and in bold.
7651
7652 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7653
7654 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7655
7656 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7657 empty buffer.
7658
7659 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7660 unread-command-events rather than pushing yet-another event.
7661
7662 2011-10-14 Eli Zaretskii <eliz@gnu.org>
7663
7664 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7665 the explanation of the possible choices. Make the options passed
7666 to completing-read shorter.
7667
7668 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7669
7670 * textmodes/flyspell.el (flyspell-large-region): Make sure
7671 extended character mode is used if defined (Bug#1339).
7672
7673 2011-10-13 Eli Zaretskii <eliz@gnu.org>
7674
7675 * simple.el (what-cursor-position): Fix the display of the
7676 character info for LRE, LRO, RLE, and RLO characters by appending
7677 an invisible PDF.
7678
7679 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7680
7681 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7682 even in case of error; add debug spec; simplify data flow.
7683 (with-timeout-handler): Remove.
7684
7685 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
7686
7687 Fix Bug#6019, Bug#9315.
7688
7689 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7690 complete `buffer-file-name', the local file name part could look
7691 remotely (for example on VMS).
7692
7693 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7694 `tramp-run-real-handler'.
7695 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7696 already quoted by '"'.
7697
7698 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7699 Let `file-name-handler-alist' be nil, the local file name part
7700 could look remotely (for example on VMS).
7701
7702 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7703
7704 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7705 from here...
7706 (flyspell-post-command-hook): ...to here.
7707
7708 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7711 if not needed.
7712 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7713 using completion. Protect against "slow" callers.
7714 Remove the "message hack".
7715
7716 2011-10-11 Juri Linkov <juri@jurta.org>
7717
7718 * isearch.el (isearch-lazy-highlight-word): New variable.
7719 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7720 Use it. (Bug#9727)
7721
7722 2011-10-11 Glenn Morris <rgm@gnu.org>
7723
7724 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7725 like f90-previous-statement does.
7726
7727 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7728
7729 * eshell/eshell.el (eshell-command): History should be saved
7730 only in interactive use, to avoid error.
7731
7732 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7733
7734 * minibuffer.el (completion-file-name-table): Fix last change,
7735 i.e. ignore normal errors but not the other ones.
7736
7737 2011-10-10 Martin Rudalics <rudalics@gmx.at>
7738
7739 * window.el (special-display-buffer-names)
7740 (special-display-regexps): Remove some remnants of earlier
7741 changes from doc-strings.
7742 (quit-windows-on): New function.
7743
7744 * vc/vc.el (vc-revert, vc-rollback):
7745 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7746 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
7747 (Bug#6183) (Bug#7074) (Bug#7447)
7748
7749 2011-10-09 Martin Rudalics <rudalics@gmx.at>
7750
7751 * window.el (frame-auto-hide-function): Add version tag.
7752 (Bug#9699)
7753
7754 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
7755
7756 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7757 condition.
7758
7759 2011-10-09 Leo Liu <sdl.web@gmail.com>
7760
7761 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7762 (Bug#9701)
7763
7764 2011-10-08 Glenn Morris <rgm@gnu.org>
7765
7766 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7767 before the first code statement zero indent. (Bug#9690)
7768
7769 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
7770
7771 * simple.el (count-words-region): Always count in the region.
7772 Report the number of lines and characters too.
7773 (count-words): New command, which counts in the buffer if the
7774 region is inactive, as count-words-region used to.
7775 (count-words--message): New function. Handle plurals.
7776 (count-lines-region): Make it an alias for count-words-region.
7777
7778 * bindings.el (esc-map): Replace count-lines-region with
7779 count-words-region.
7780
7781 2011-10-08 Martin Rudalics <rudalics@gmx.at>
7782
7783 * window.el (window--delete): Delete dedicated frame
7784 unconditionally when argument KILL is non-nil. (Bug#9699)
7785 (switch-to-buffer): Fix doc-string typo.
7786
7787 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7788
7789 * eshell/eshell.el (eshell-command): Avoid using hooks.
7790
7791 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
7792
7793 * bindings.el ([M-left],[M-right]): Bind to left-word and
7794 right-word respectively.
7795
7796 2011-10-07 Glenn Morris <rgm@gnu.org>
7797
7798 * cus-start.el (debug-on-quit): Fix custom type.
7799
7800 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7801
7802 * subr.el (define-key-after): Clarify that the function is not
7803 useful for non-menu keymaps.
7804
7805 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7806
7807 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7808
7809 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
7810 in current minibuffer (Fix bug with recursive minibuffers).
7811
7812 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
7813
7814 * progmodes/gdb-mi.el (gdb): Doc fix.
7815
7816 2011-10-05 Martin Rudalics <rudalics@gmx.at>
7817
7818 * window.el (frame-auto-hide-function): New option replacing
7819 frame-auto-delete. Suggested by Stefan Monnier.
7820 (window--delete): Call frame-auto-hide-function instead of
7821 investigating frame-auto-delete.
7822 (window-point-1, set-window-point-1): New functions.
7823 (window-in-direction, record-window-buffer, window-state-get-1)
7824 (display-buffer-record-window): Use window-point-1 instead of
7825 window-point.
7826 (set-window-buffer-start-and-point): Use set-window-point-1.
7827
7828 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7831
7832 2011-10-05 Glenn Morris <rgm@gnu.org>
7833
7834 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7835 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7836
7837 2011-10-05 Leo Liu <sdl.web@gmail.com>
7838
7839 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7840 works with buffer object.
7841
7842 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7843
7844 * mpc.el (mpc-tool-bar-map): Add labels.
7845
7846 2011-10-04 Glenn Morris <rgm@gnu.org>
7847
7848 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7849
7850 2011-10-04 Martin Rudalics <rudalics@gmx.at>
7851
7852 * window.el (window--delete): New function.
7853 (frame-auto-delete): Resuscitate option.
7854 (bury-buffer, replace-buffer-in-windows)
7855 (quit-window): Rewrite using window--delete.
7856 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7857 Pass display-buffer-mark-dedicated to window--display-buffer-2
7858 (Bug#9639).
7859
7860 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7863 returns a list (bug#9554). Add remote file name completion.
7864 * comint.el (comint--table-subvert): Curry and get quote&unquote
7865 functions as arguments.
7866 (comint--complete-file-name-data): Adjust call accordingly.
7867 * pcomplete.el (pcomplete--table-subvert): Remove.
7868 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7869
7870 * minibuffer.el (completion-table-case-fold): Use currying.
7871 (completion--styles-type, completion--cycling-threshold-type):
7872 New constants.
7873 (completion-styles, completion-category-overrides)
7874 (completion-cycle-threshold): Use them.
7875 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7876 completion-table-case-fold.
7877
7878 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
7879
7880 * minibuffer.el (completion-category-overrides): Fix type of styles
7881 and add more user friendly tags (bug#9660).
7882
7883 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7884
7885 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7886 (mule-input-method-string): New widget.
7887 (default-input-method, language-info-custom-alist): Use it.
7888
7889 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7890
7891 * pcomplete.el: Require comint.
7892 (pcomplete--common-suffix): Remove.
7893 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7894 (pcomplete--table-subvert): Sync with comint--table-subvert.
7895 (pcomplete--entries): Use comint-completion-file-name-table.
7896 * comint.el (comint-unquote-filename): Simplify.
7897 (comint-completion-file-name-table): New function (bug#9616).
7898 (comint--complete-file-name-data): Use it.
7899
7900 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7901 (pcmpl-gnu-tar-buffer): Remove.
7902 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
7903 around. Make sure pcomplete-suffix-list is only changed temporarily.
7904 Don't look inside the tar's file if it's too large.
7905
7906 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
7907
7908 * cus-edit.el (custom-mode-map):
7909 * epa.el (epa-key-list-mode-map):
7910 * man.el (Man-mode-map):
7911 * startup.el (splash-screen-keymap):
7912 * simple.el (special-mode-map): Use scroll-up-command and
7913 scroll-down-command.
7914
7915 * progmodes/idlw-help.el (idlwave-help-mode-map):
7916 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7917 * net/newst-plainview.el (newsticker-mode-map):
7918 * emulation/ws-mode.el (wordstar-mode-map):
7919 * emulation/vi.el (vi-com-map):
7920 * calc/calc-graph.el (calc-graph-show-dumb):
7921 * term/sun.el (terminal-init-sun):
7922 * term/ns-win.el (global-map):
7923 * progmodes/grep.el (grep-mode-map):
7924 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7925 * mail/rmail.el (rmail-mode-map):
7926 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7927
7928 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7929 custom-safe-themes as special.
7930
7931 2011-10-01 Julien Danjou <julien@danjou.info>
7932
7933 * notifications.el (notifications-notify): Fix docstring.
7934
7935 2011-10-01 Per Starbäck <per@starback.se>
7936
7937 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7938
7939 2011-09-30 Martin Rudalics <rudalics@gmx.at>
7940
7941 * startup.el (command-line-1): Fix last fix by inserting
7942 initial-scratch-message into *scratch* before displaying it.
7943 (Bug#9605) and (Bug#9636)
7944
7945 2011-09-29 Eli Zaretskii <eliz@gnu.org>
7946
7947 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7948 window is hscrolled, move by logical lines. (Bug#9607)
7949 (line-move-visual): Update the doc string to the above effect.
7950
7951 2011-09-29 Martin Rudalics <rudalics@gmx.at>
7952
7953 * window.el (display-buffer-record-window): When WINDOW is the
7954 selected window use `point' instead of `window-point'. (Bug#9626)
7955
7956 * startup.el (command-line-1): Use insert-before-markers when
7957 inserting initial-scratch-message. (Bug#9605)
7958
7959 * help.el (help-window): Remove variable.
7960
7961 2011-09-29 Glenn Morris <rgm@gnu.org>
7962
7963 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7964
7965 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
7966
7967 * descr-text.el (describe-char-categories): Accept category
7968 descriptions more than one line long.
7969
7970 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7971
7972 * simple.el (delete-trailing-whitespace): Fix last change.
7973
7974 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7975 Don't confuse "y => 3" as the beginning of a `y' operation.
7976
7977 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7978 object has more than 4 slots (bug#9613).
7979
7980 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
7981
7982 * subr.el (with-output-to-temp-buffer):
7983 * net/quickurl.el (quickurl, quickurl-browse-url):
7984 Fix typos in docstrings.
7985
7986 2011-09-27 Eli Zaretskii <eliz@gnu.org>
7987
7988 * minibuffer.el (completion-styles)
7989 (completion-category-overrides): Cross reference each other in doc
7990 strings.
7991
7992 2011-09-27 Glenn Morris <rgm@gnu.org>
7993
7994 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7995 to split-string. (Bug#9606)
7996
7997 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7998
7999 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
8000 (bug#9615).
8001
8002 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
8003
8004 * emacs-lisp/package.el (list-packages): Fix echo area message.
8005
8006 2011-09-27 Leo Liu <sdl.web@gmail.com>
8007
8008 * ido.el (ido-read-internal): Accept cons cell HIST arg.
8009
8010 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
8011
8012 * net/dbus.el (dbus-unregister-object): Don't release services for
8013 registered signals. (Bug#9581)
8014
8015 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
8016
8017 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
8018 function that picks between cfengine 2 and 3 support
8019 automatically. Update docs accordingly.
8020
8021 2011-09-22 Kenichi Handa <handa@m17n.org>
8022
8023 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
8024 ZERO.
8025 (indian-itrans-v5-table-for-tamil): New variable.
8026 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
8027
8028 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
8029
8030 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
8031 that's true if the current command involved collapsing of text.
8032 It's reset to false at the beginning of the next command.
8033 (allout-post-command-business): Move the cursor to the beginning
8034 of entry if the cursor is hidden and collapsing activity just
8035 happened.
8036
8037 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
8038
8039 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
8040 tracking (Bug#9541).
8041
8042 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
8043
8044 * net/newst-reader.el (newsticker-html-renderer)
8045 (newsticker-show-news): Automatically load html rendering package
8046 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
8047 because w3m-fill-column is let-bound" and the error "Symbol's value
8048 as variable is void: w3m-fill-column".
8049
8050 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
8051
8052 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
8053 Release services only if they are defined. (Bug#9581)
8054
8055 2011-09-23 Richard Stallman <rms@gnu.org>
8056
8057 * textmodes/paragraphs.el (forward-sentence): For backwards case,
8058 distinguish start of paragraph from start of its text.
8059
8060 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
8061
8062 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
8063 (rmail-generate-viewer-buffer): Put that hook on view buffer.
8064 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
8065
8066 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
8067
8068 * international/mule-diag.el (mule-diag): Insert a newline after
8069 each fontset description.
8070
8071 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8072
8073 * simple.el (delete-trailing-whitespace):
8074 Document last change; simplify.
8075
8076 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
8077
8078 * simple.el (delete-trailing-whitespace): Also delete
8079 extra newlines at the end of the buffer.
8080
8081 * textmodes/picture.el: Make motion commands obey shift-select-mode.
8082 (picture-newline): Use forward-line so as to ignore fields.
8083
8084 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8085
8086 * subr.el (with-wrapper-hook): Fix edebug spec.
8087
8088 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8089
8090 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
8091 (bug#4538).
8092
8093 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
8094
8095 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
8096 Fix nasty bug using wrong cached values.
8097
8098 2011-09-23 Alan Mackenzie <acm@muc.de>
8099
8100 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
8101
8102 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
8103
8104 * window.el (pop-to-buffer): Ensure right window is selected if we
8105 chose another frame.
8106
8107 2011-09-22 Eli Zaretskii <eliz@gnu.org>
8108
8109 * simple.el (what-cursor-position): Use get-char-property-change
8110 and next-single-char-property-change, to be able to show display
8111 properties that come from overlays as well as text properties.
8112
8113 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
8114
8115 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
8116
8117 * cmuscheme.el (run-scheme, switch-to-scheme):
8118 * cus-edit.el (customize-group, custom-buffer-create)
8119 (customize-browse):
8120 * info.el (info):
8121 * shell.el (shell):
8122 * mail/sendmail.el (mail):
8123 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
8124
8125 2011-09-22 Richard Stallman <rms@gnu.org>
8126
8127 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
8128 move back only to line beg, don't move back over blank lines.
8129
8130 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
8131
8132 * files.el (copy-directory): Set directory attributes only in case
8133 they could be retrieved from the source directory. (Bug#9565)
8134
8135 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
8136
8137 * progmodes/hideshow.el (hs-looking-at-block-start-p)
8138 (hs-find-block-beginning, hs-hide-level-recursive):
8139 Ignore strings as well as comments. (Bug#9502)
8140
8141 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
8142
8143 * progmodes/sql.el (sql-comint-postgres):
8144 Convert port number to a string. (Bug#9566)
8145
8146 2011-09-22 Martin Rudalics <rudalics@gmx.at>
8147
8148 * window.el (quit-window): Undedicate window when switching to
8149 previous buffer. Reported by Thierry Volpiatto
8150 <thierry.volpiatto@gmail.com>.
8151 (special-display-popup-frame): When popping up a new frame reset
8152 its previous buffers to nil. Simplify code.
8153
8154 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
8155
8156 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
8157 and process filter, as done also in `shell-command'.
8158
8159 2011-09-21 Martin Rudalics <rudalics@gmx.at>
8160
8161 * window.el (set-window-buffer-start-and-point):
8162 Call set-window-start with NOFORCE argument t.
8163 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
8164 (quit-window): Reword doc-string. Handle new format of
8165 quit-restore parameter. Don't delete window if it has a
8166 previous buffer we can show instead of the present one.
8167 (display-buffer-record-window): Rewrite using a new format for
8168 the quit-restore window parameter
8169 (special-display-popup-frame, display-buffer-same-window)
8170 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8171 (display-buffer-pop-up-window, display-buffer-use-some-window):
8172 Adapt symbol passed to display-buffer-record-window.
8173 * help.el (help-window-setup): Handle new format of quit-restore
8174 parameter.
8175
8176 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
8177
8178 * faces.el (face-list): Fix docstring (bug#9564).
8179
8180 * window.el (display-buffer--action-function-custom-type):
8181 Don't include internal functions in the Custom interface.
8182
8183 2011-09-20 Juri Linkov <juri@jurta.org>
8184
8185 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
8186 (Info-forward-node, Info-backward-node, Info-next-preorder)
8187 (Info-last-preorder): Use it. (Bug#9528)
8188
8189 2011-09-20 Juri Linkov <juri@jurta.org>
8190
8191 * info.el (Info-last-preorder): Visit last menu item only when
8192 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
8193
8194 2011-09-20 Julien Danjou <julien@danjou.info>
8195
8196 * password-cache.el (password-cache-remove): Remove entries even if the
8197 value is nil, so that password with a nil value (negative caching) is
8198 possible to invalidate.
8199
8200 2011-09-20 Lawrence Mitchell <wence@gmx.li>
8201
8202 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
8203 all whitespace around breakpoint. (Bug#9553)
8204 (f90-find-breakpoint): Only break at whitespace inside a comment.
8205
8206 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8207
8208 * minibuffer.el (completion-file-name-table): Keep track of errors.
8209 (completion-table-with-predicate): Handle the case where pred1 is nil.
8210 * pcomplete.el (pcomplete-completions-at-point): Simplify.
8211
8212 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
8215 (debugger-return-value): Signal an error if the debugging context does
8216 not await any return value.
8217
8218 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8219 * image-mode.el (image-toggle-display-text)
8220 (image-toggle-display-image): Stay away from evil `intangible'.
8221
8222 2011-09-19 Leo Liu <sdl.web@gmail.com>
8223
8224 * replace.el (occur-revert-arguments): Make it permanent-local.
8225 (occur-mode): Don't call font-lock-defontify.
8226
8227 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
8228
8229 * net/ldap.el (ldap-search-internal): Don't push empty search
8230 result (Bug#9508).
8231
8232 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8235
8236 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
8237
8238 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8239 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8240
8241 2011-09-18 Juri Linkov <juri@jurta.org>
8242
8243 * buff-menu.el (Buffer-menu-mode-map):
8244 * dired.el (dired-mode-map):
8245 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8246 (lisp-interaction-mode-map):
8247 * emacs-lisp/package.el (package-menu-mode-map):
8248 * epa.el (epa-key-list-mode-map):
8249 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8250 (menu-bar-options-menu):
8251 * outline.el (outline-mode-menu-bar-map):
8252 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8253 * vc/vc-dir.el (vc-dir-menu-map):
8254 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8255 Capitalize non-function content words in menu item strings.
8256
8257 * dired.el (dired-mode-map): Add menu item for
8258 `image-dired-dired-toggle-marked-thumbs'.
8259
8260 2011-09-18 Juri Linkov <juri@jurta.org>
8261
8262 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8263 to `isearch-case-fold-search' and restore its original value
8264 after the `isearch-mode' call.
8265
8266 2011-09-18 Juri Linkov <juri@jurta.org>
8267
8268 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8269 because `zgrep' returns 1 for successful matches (bug#9226).
8270
8271 2011-09-18 Juri Linkov <juri@jurta.org>
8272
8273 * info.el (Info-extract-menu-node-name): Check the second match
8274 for empty string (second test-case of bug#9528).
8275 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8276 intermediate nodes to the history (first test-case of bug#9528).
8277
8278 2011-09-18 Juri Linkov <juri@jurta.org>
8279
8280 * info.el (Info-mode-syntax-table): New variable.
8281 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
8282
8283 2011-09-18 Juri Linkov <juri@jurta.org>
8284
8285 * info.el (Info-file-supports-index-cookies):
8286 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8287 outputs one more line for long file names (bug#4142).
8288
8289 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8290
8291 * newcomment.el (comment-normalize-vars): If prompting for
8292 comment-start, set comment-start-skip too (Bug#8424).
8293
8294 2011-09-18 Johan Bockgård <bojohan@gnu.org>
8295
8296 * icomplete.el: Fix previous fix of Bug#5849.
8297 (icomplete-mode): Don't set completion-show-inline-help.
8298 (icomplete-minibuffer-setup): Set completion-show-inline-help
8299 locally during icompletion.
8300
8301 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
8302
8303 * woman.el (woman2-process-escapes): Don't delete unrecognized
8304 escapes (Bug#7843).
8305
8306 * files.el (inhibit-first-line-modes-regexps): Add image files.
8307 (hack-local-variables-prop-line): Return nil for malformed
8308 prop-lines (Bug#9044).
8309
8310 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
8311
8312 * net/tramp.el (top): Don't require 'shell.
8313 (tramp-methods): Fix docstring.
8314 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8315 Return complete remote file name. Handle "smb" case.
8316 Use `tramp-tmpdir', if defined for the respective method.
8317 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8318
8319 * net/tramp-compat.el (top): Require 'shell.
8320
8321 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8322 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8323 `tramp-current-host'.
8324 (tramp-get-remote-tmpdir): Remove.
8325
8326 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8327 `tramp-tmpdir' entries.
8328 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8329 (tramp-smb-handle-file-attributes): Ignore errors.
8330 (tramp-smb-wait-for-output): Check also for process end.
8331
8332 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8333
8334 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8335 when sending QUIT (bug#9312).
8336
8337 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
8338
8339 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8340 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8341 occur-mode-display-occurrence.
8342 (occur-edit-mode): Add usage message.
8343 (occur-cease-edit): New command.
8344 (occur-after-change-function): Use text properties to find the
8345 position of the prefix text.
8346 (occur-engine): Set stickiness of prefix text properties.
8347
8348 2011-09-17 Glenn Morris <rgm@gnu.org>
8349
8350 * progmodes/etags.el (complete-tag):
8351 Fix call to completion-in-region. (Bug#9526)
8352
8353 2011-09-17 Juri Linkov <juri@jurta.org>
8354
8355 * textmodes/ispell.el (ispell-word): Add to the error message
8356 the word, ispell program name and current dictionary (bug#9121).
8357 (ispell-tex-arg-end): Capitalize "error" in the error message.
8358
8359 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8360
8361 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8362 check. (Bug#4251)
8363
8364 2011-09-17 Juri Linkov <juri@jurta.org>
8365
8366 * window.el (window-safe-min-height, window-safe-min-width):
8367 Fix typos (followup to bug#9522).
8368
8369 2011-09-17 Sven Joachim <svenjoac@gmx.de>
8370
8371 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8372
8373 2011-09-16 Eli Zaretskii <eliz@gnu.org>
8374
8375 * simple.el (line-move): If goal-column is set, move by logical
8376 lines, not by display lines. (Bug#971)
8377 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8378 to reflect the above change.
8379
8380 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8381
8382 * image.el (imagemagick-register-types): Use regexp-opt.
8383
8384 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8385
8386 * window.el (display-buffer-base-action): Rename from
8387 display-buffer-default-action. Make default value empty.
8388 (display-buffer-overriding-action): Convert to defvar.
8389 (display-buffer-fallback-action): New var.
8390
8391 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
8392
8393 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8394 declaration.
8395 (package--add-to-archive-contents): If there is a duplicate entry
8396 with an older version, remove it.
8397 (package-menu-mark-delete, package-menu-mark-install)
8398 (package-menu-mark-unmark): Make unused args optional.
8399 (package-menu-mark-obsolete-for-deletion):
8400 Use package-menu-get-status instead of a regexp search.
8401 (package-menu-get-status): Use tabulated-list-entry.
8402 (package-menu-mark-upgrades): New command.
8403 (package-menu-mode-map): Bind it to U. Add it to menu bar.
8404 (package-menu-execute): Do installation before deletion.
8405 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8406 instead of checking major-mode.
8407 (package-menu--find-upgrades): New function.
8408
8409 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8410
8411 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8412 passwords in the log buffer.
8413 (smtpmail-process-filter): Update the process marker so that the
8414 "broken by peer" status message is inserted in the right place.
8415
8416 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8417
8418 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8419 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8420 bibtex-completion-at-point-function.
8421 (bibtex-completion-at-point-function): Use them.
8422
8423 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8424
8425 * mpc.el (mpc-constraints-tag-lookup): New function.
8426 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8427 also to browser "album|playlist".
8428
8429 2011-09-14 Juri Linkov <juri@jurta.org>
8430
8431 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8432 (isearch-edit-string): Use length of `isearch-string' when
8433 `isearch-fail-pos' returns nil.
8434 (isearch-message): Remove duplicate code and call
8435 `isearch-fail-pos' with arg `t'.
8436
8437 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
8438
8439 * replace.el (occur-mode-goto-occurrence): Don't force using other
8440 window (Bug#9499).
8441
8442 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8443
8444 2011-09-14 Martin Rudalics <rudalics@gmx.at>
8445
8446 * window.el (display-buffer-window): Remove.
8447 (display-buffer-record-window): Use help-setup window parameter
8448 instead of variable display-buffer-window.
8449 (display-buffer-function, special-display-buffer-names)
8450 (special-display-function): Mention help-setup parameter instead
8451 of display-buffer-window in doc-string.
8452 * help.el (help-window-setup): New argument help-window.
8453 Use help-window-setup parameter instead of display-buffer-window.
8454 Reword some messages.
8455 (with-help-window): Pass window used for displaying the buffer
8456 to help-window-setup. Don't set display-buffer-window.
8457
8458 2011-09-13 Glenn Morris <rgm@gnu.org>
8459
8460 * emacs-lisp/debug.el (debugger-make-xrefs):
8461 Preserve point. (Bug#9462)
8462
8463 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8464
8465 * window.el (window-deletable-p): Use next-frame.
8466
8467 2011-09-13 Martin Rudalics <rudalics@gmx.at>
8468
8469 * window.el (window-auto-delete): Remove.
8470 (window-deletable-p): Remove argument FORCE. Don't deal with
8471 dedication and previous buffers.
8472 (switch-to-prev-buffer): Don't delete window.
8473 (delete-windows-on): Delete a window's frame if and only if the
8474 window is dedicated.
8475 (replace-buffer-in-windows): Delete buffer's window or frame if
8476 and only if window is dedicated.
8477 (quit-window): Handle quit-restore as before last change.
8478 (bury-buffer): Delete window only if window-deletable-p returns t.
8479
8480 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
8481
8482 * window.el (window-deletable-p): Never delete the last frame on a
8483 given terminal.
8484
8485 2011-09-13 Glenn Morris <rgm@gnu.org>
8486
8487 * help.el (describe-key-briefly): Copy previous standard-output change.
8488
8489 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
8490
8491 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8492
8493 2011-09-13 Glenn Morris <rgm@gnu.org>
8494
8495 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8496 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8497
8498 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
8499
8500 * dired-aux.el (dired-mark-read-string): Don't return default
8501 value on empty input (Bug#9361).
8502 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8503 Omit initial minibuffer contents.
8504 (dired-do-chmod): Signal an error on empty input.
8505 (dired-mark-read-string): Don't return default on empty input.
8506
8507 * files.el (file-modes-symbolic-to-number): Doc fix.
8508
8509 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * international/mule-cmds.el (ucs-completions): Remove.
8512 (read-char-by-name): Use complete-with-action instead; add metadata.
8513
8514 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8515
8516 * window.el (display-buffer--action-function-custom-type)
8517 (display-buffer--action-custom-type): New vars.
8518 (display-buffer-alist, display-buffer-default-action)
8519 (display-buffer-overriding-action): Add defcustom types.
8520
8521 * frame.el (delete-other-frames): Doc fix (Bug#276).
8522
8523 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8524
8525 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8526
8527 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
8528
8529 Change modes that used same-window-* vars to use switch-to-buffer.
8530
8531 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8532 Use switch-to-buffer.
8533
8534 * cus-edit.el (customize-group, custom-buffer-create)
8535 (customize-browse, custom-buffer-create-other-window):
8536 Use switch-to-buffer or switch-to-buffer-other-window.
8537
8538 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8539 (Info-prev, Info-up, Info-speedbar-goto-node)
8540 (info-display-manual): Use switch-to-buffer.
8541 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8542
8543 * mail/sendmail.el (mail): Use switch-to-buffer.
8544 (mail-recover): Use switch-to-buffer-other-window.
8545
8546 * cmuscheme.el (run-scheme, switch-to-scheme):
8547 * ielm.el (ielm):
8548 * shell.el (shell):
8549 * net/rlogin.el (rlogin):
8550 * net/telnet.el (telnet, rsh):
8551 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8552
8553 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8554
8555 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8556
8557 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8558
8559 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8560 so don't mention it (bug#9301).
8561 (dired-sort-toggle-or-edit): Clarify string further.
8562
8563 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8564 match `x', `w32' and `ns', like the manual says (bug#9029).
8565
8566 * subr.el (eval-after-load): Doc string clarification (bug#9125).
8567 (process-kill-buffer-query-function): Mention the buffer name in
8568 the query.
8569
8570 * image-mode.el (image-next-line): The line parameter is mandatory
8571 (bug#9258).
8572
8573 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8574 which can be useful (bug#9301).
8575
8576 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8577
8578 * subr.el (match-string): Mention that the current buffer should
8579 be the same as the search was done in (bug#9282).
8580
8581 * facemenu.el: Disable the remove-* commands if the mark isn't
8582 active (bug#9162).
8583
8584 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8585
8586 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8587 of display-buffer.
8588 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8589
8590 * replace.el (occur-mode-goto-occurrence)
8591 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8592 and display-buffer.
8593
8594 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8595 display-buffer.
8596
8597 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8598 special-display and same-window variables.
8599 (mail-other-window): Use switch-to-buffer-other-window.
8600 (mail-other-frame): USe switch-to-buffer-other-frame.
8601
8602 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8603 Use display-buffer-other-frame.
8604 (gdb-display-gdb-buffer): Use pop-to-buffer.
8605
8606 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8607
8608 * progmodes/python.el: Don't set same-window-buffer-names.
8609
8610 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8611
8612 * window.el (display-buffer-alist): Add *Python*.
8613
8614 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
8615
8616 * window.el (display-buffer-alist): Add entry for buffers
8617 previously handled same-window-*.
8618 (display-buffer-alist, display-buffer-default-action)
8619 (display-buffer-overriding-action): Mark as risky.
8620 (display-buffer-alist): Document action function changes.
8621 (display-buffer--same-window-action)
8622 (display-buffer--other-frame-action): New variables.
8623 (switch-to-buffer, display-buffer-other-frame): Use them.
8624 (display-buffer): Rename reuse-frame entry to reusable-frames.
8625 (display-buffer-reuse-selected-window): Function deleted.
8626 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8627 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8628 (display-buffer-special): New function.
8629 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8630 display-buffer-reuse-or-pop-window. Split off special-display
8631 part into display-buffer-special.
8632 (display-buffer-use-some-window): Don't perform any special
8633 pop-up-frames handling.
8634 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
8635 (display-buffer--maybe-same-window): Rename from
8636 display-buffer-maybe-same-window.
8637
8638 * info.el: Don't set same-window-regexps.
8639 (info-setup): New function.
8640 (info-other-window, info): Call it.
8641
8642 * cus-edit.el: Don't set same-window-regexps.
8643 (customize-group): New argument.
8644 (customize-group-other-window): Use it.
8645 (customize-face, customize-face-other-window): Likewise.
8646 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8647
8648 * net/rlogin.el:
8649 * net/telnet.el:
8650 * progmodes/gud.el: Don't set same-window-regexps.
8651
8652 * cmuscheme.el:
8653 * ielm.el:
8654 * shell.el:
8655 * mail/sendmail.el:
8656 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8657
8658 2011-09-10 Juri Linkov <juri@jurta.org>
8659
8660 * isearch.el (isearch-edit-string): Remove obsolete mention of
8661 `C-w' (`isearch-yank-word-or-char') from docstring.
8662 (isearch-query-replace): Fix typo in docstring (bug#9466).
8663
8664 2011-09-10 Juri Linkov <juri@jurta.org>
8665
8666 * paren.el (show-paren-function): Don't show escaped parens.
8667 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8668
8669 2011-09-10 Eli Zaretskii <eliz@gnu.org>
8670
8671 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8672 (mm-default-file-encoding): Remove autoload forms, they are
8673 replaced with autoload cookies in mml.el and mm-encode.el.
8674 (mail-add-attachment): New command.
8675 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8676 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8677 the doc string.
8678 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8679
8680 2011-09-10 Reuben Thomas <rrt@sc3d.org>
8681
8682 * simple.el (count-words-region): Use buffer if there's no region
8683 (bug#9429).
8684
8685 2011-09-09 Juri Linkov <juri@jurta.org>
8686
8687 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8688 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8689 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8690
8691 2011-09-09 Alan Mackenzie <acm@muc.de>
8692
8693 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8694 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8695
8696 2011-09-09 Eli Zaretskii <eliz@gnu.org>
8697
8698 Fix for Savannah bug#9392.
8699 * simple.el (mail-encode-mml): New defvar.
8700
8701 * mail/rmail.el (mail-encode-mml): Add a defvar.
8702 (rmail-enable-mime-composing): Default to t.
8703 (rmail-forward): Use MIME method of forwarding only if both
8704 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8705 Set mail-encode-mml non-nil if the MIME method was used.
8706
8707 * mail/sendmail.el (mml-to-mime): Add autoload form.
8708 (mail-encode-mml): Add a defvar.
8709 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8710 to nil.
8711 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8712 message through mml-to-mime, and reset mail-encode-mml to nil.
8713
8714 2011-09-09 Glenn Morris <rgm@gnu.org>
8715
8716 * woman.el (woman-if-body): When processing an .el block,
8717 do not delete the next .el block as well. (Bug#9447)
8718 (woman-special-characters): Add oq, cq, and hy characters.
8719
8720 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8721
8722 * window.el (window-deletable-p): Make sure window is live before
8723 invoking window-prev-buffers.
8724
8725 2011-09-08 Leo Liu <sdl.web@gmail.com>
8726
8727 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8728
8729 2011-09-08 Juri Linkov <juri@jurta.org>
8730
8731 * progmodes/compile.el (compilation-environment): Make it
8732 a defcustom (bug#8340).
8733
8734 2011-09-08 Martin Rudalics <rudalics@gmx.at>
8735
8736 * window.el (frame-auto-delete): Rename to window-auto-delete.
8737 Make it control auto-deletion of windows and/or frames.
8738 (window-deletable-p): New argument FORCE. Rewrite conditions
8739 for deleting window/frame. (Bug#9419)
8740 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8741 Rewrite handling of case when window/frame can be deleted.
8742 (delete-windows-on): Call window-deletable-p with new FORCE
8743 argument t. (Bug#9456)
8744
8745 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
8746
8747 * help-mode.el (help-mode): Restore autoload.
8748
8749 2011-09-07 Juri Linkov <juri@jurta.org>
8750
8751 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8752 `compilation-environment'. Set buffer-local
8753 `compilation-environment' to `thisenv' later after (funcall mode).
8754 (Bug#8340)
8755
8756 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8757 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8758 instead of replacing its value. (Bug#8340)
8759
8760 2011-09-07 Juri Linkov <juri@jurta.org>
8761
8762 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8763 based on text properties put by `grep-filter' instead of matching
8764 escape sequences.
8765 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8766 to the value of `grep-error-screen-columns' (bug#9438).
8767
8768 2011-09-07 Juri Linkov <juri@jurta.org>
8769
8770 * simple.el (next-error-highlight, next-error-highlight-no-select):
8771 Doc fix (bug#9432).
8772
8773 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8774
8775 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8776 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8777
8778 2011-09-07 Leo Liu <sdl.web@gmail.com>
8779
8780 * net/rcirc.el (rcirc-mode): Conditionally initialize
8781 rcirc-input-ring.
8782
8783 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * emacs-lisp/find-func.el (find-function-C-source): Only set
8786 find-function-C-source-directory after checking that we found a source
8787 file there (bug#9440).
8788
8789 2011-09-06 Alan Mackenzie <acm@muc.de>
8790
8791 * isearch.el (isearch-other-meta-char): Wherever a key list is
8792 unread, "unread" the prefix arg, too. This fixes bug #8901.
8793
8794 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8795
8796 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8797
8798 2011-09-05 Juri Linkov <juri@jurta.org>
8799
8800 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8801
8802 2011-09-05 Juri Linkov <juri@jurta.org>
8803
8804 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8805 keeping point where processing of grep matches begins, and
8806 continue to delete remaining escape sequences from the same point.
8807 (grep-filter): Make leading zero optional in "0?1;31m" because
8808 git-grep emits "\033[1;31m" escape sequences unlike expected
8809 "\033[01;31m" as GNU Grep does (bug#9408).
8810 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8811
8812 2011-09-05 Juri Linkov <juri@jurta.org>
8813
8814 * subr.el (y-or-n-p): Capitalize "yes".
8815
8816 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8819 `tramp-cache-unload-hook' where appropriate.
8820 (tramp-methods): Rename `tramp-remote-sh' to
8821 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8822 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8823
8824 * net/tramp-sh.el (top): Don't require 'shell.
8825 (tramp-methods): Add `tramp-remote-shell' and
8826 `tramp-remote-shell-args' entries.
8827 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8828 (tramp-sh-handle-shell-command): Remove.
8829 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8830 Use `tramp-remote-shell'.
8831
8832 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
8833
8834 * mail/sendmail.el (sendmail-query-once-function): Delete.
8835 (sendmail-query-once): Save directly to send-mail-function.
8836 Update message-send-mail-function too.
8837
8838 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8839
8840 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8841
8842 * progmodes/python.el (python-mode-map): Use correct function to
8843 start python interpreter from menu-bar (as reported by Geert
8844 Kloosterman).
8845 (inferior-python-mode-map): Fix typo.
8846 (python-shell-map): Remove.
8847
8848 2011-09-03 Deniz Dogan <deniz@dogan.se>
8849
8850 * net/rcirc.el (rcirc-print): Simplify code for
8851 rcirc-scroll-show-maximum-output. There is no need to walk
8852 through all windows to find the right one.
8853
8854 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8855
8856 * help.el (help-return-method): Doc fix.
8857
8858 2011-09-03 Martin Rudalics <rudalics@gmx.at>
8859
8860 * window.el (window-deletable-p): Don't return a non-nil value
8861 when there's a buffer that was shown in the window before.
8862 (Bug#9419)
8863 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8864 Set window's previous buffers to nil.
8865
8866 2011-09-03 Eli Zaretskii <eliz@gnu.org>
8867
8868 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8869 newline before and after the tag line, so it doesn't interfere
8870 with determining the paragraph direction of bidirectional text.
8871
8872 2011-09-03 Leo Liu <sdl.web@gmail.com>
8873
8874 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8875
8876 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8877
8878 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
8879 (pop-to-buffer): Change interactive spec. Pass second argument
8880 directly to display-buffer.
8881 (display-buffer): Fix interactive spec. Use functionp to
8882 distinguish between a function and a list of functions.
8883
8884 * abbrev.el (edit-abbrevs):
8885 * arc-mode.el (archive-extract):
8886 * autoinsert.el (auto-insert):
8887 * bookmark.el (bookmark-bmenu-list):
8888 * files.el (find-file):
8889 * view.el (view-buffer):
8890 * progmodes/compile.el (compilation-goto-locus):
8891 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8892
8893 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
8894
8895 * window.el (display-buffer-alist): Doc fix.
8896 (display-buffer): Add docstring. Don't treat
8897 display-buffer-default specially.
8898 (display-buffer-reuse-selected-window)
8899 (display-buffer-same-window, display-buffer-maybe-same-window)
8900 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8901 (display-buffer-pop-up-window)
8902 (display-buffer-reuse-or-pop-window)
8903 (display-buffer-use-some-window): New functions.
8904 (display-buffer-default-action): Use them.
8905 (display-buffer-default): Delete.
8906 (pop-to-buffer-1): Fix choice of actions.
8907
8908 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8909
8910 * minibuffer.el (completion--insert-strings): Don't get confused by
8911 completion entries that end with an LF char.
8912
8913 2011-09-01 Eli Zaretskii <eliz@gnu.org>
8914
8915 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8916
8917 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
8918
8919 * window.el (display-buffer): Restore interactive spec.
8920 (display-buffer-same-window, display-buffer-other-window):
8921 New functions.
8922 (pop-to-buffer-1): New function. Use the above.
8923 (pop-to-buffer, pop-to-buffer-same-window): Use it.
8924 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
8925
8926 * view.el (view-buffer-other-window, view-buffer-other-frame):
8927 Just use pop-to-buffer.
8928
8929 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8930
8931 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8932
8933 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8934
8935 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8936
8937 2011-08-31 Richard Stallman <rms@gnu.org>
8938
8939 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8940 of the separation of rmail-view-buffer from rmail-buffer.
8941 If you say no to "replace original", the decrypt is in the
8942 view buffer. If you say yes, the decrypt goes into the
8943 rmail buffer also.
8944
8945 2011-08-31 Martin Rudalics <rudalics@gmx.at>
8946
8947 * window.el (display-buffer-window): Rewrite doc-string.
8948 (display-buffer-record-window): New function.
8949 (display-buffer-macro-specifiers)
8950 (display-buffer-even-window-sizes, display-buffer-set-height)
8951 (display-buffer-set-width, display-buffer-in-window)
8952 (display-buffer-reuse-window, display-buffer-split-specifiers)
8953 (display-buffer-side-specifiers, display-buffer-split-window-1)
8954 (display-buffer-split-window, display-buffer-split-atom-window)
8955 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8956 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8957 (display-buffer-other-window-means-other-frame)
8958 (display-buffer-normalize-special)
8959 (display-buffer-normalize-default)
8960 (display-buffer-normalize-argument)
8961 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8962 (display-buffer-normalize-specifiers, display-buffer-frame)
8963 (display-buffer-same-window, display-buffer-same-frame)
8964 (display-buffer-other-window)
8965 (display-buffer-same-frame-other-window)
8966 (display-buffer-other-frame, pop-to-buffer-same-window)
8967 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8968 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8969 (switch-to-buffer-same-frame)
8970 (switch-to-buffer-other-window-same-frame)
8971 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8972 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8973 (display-buffer-alist-set): Remove.
8974 (display-buffer-function, special-display-buffer-names)
8975 (special-display-regexps, special-display-function):
8976 In doc-string refer to display-buffer-window and quit-restore
8977 parameter.
8978 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8979 (special-display-frame-alist, special-display-popup-frame)
8980 (same-window-buffer-names, same-window-regexps, same-window-p)
8981 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8982 (split-window-preferred-function, split-height-threshold)
8983 (split-width-threshold, window-splittable-p)
8984 (split-window-sensibly, window--try-to-split-window)
8985 (window--frame-usable-p, even-window-heights)
8986 (window--even-window-heights, window--display-buffer-1)
8987 (window--display-buffer-2, display-buffer-other-frame):
8988 Restore old Emacs 23 code, order and doc-strings where applicable.
8989 (display-buffer-default, display-buffer-assq-regexp): New functions.
8990 (display-buffer-alist): Rewrite doc-string.
8991 (display-buffer-default-action)
8992 (display-buffer-overriding-action): New variables.
8993 (display-buffer, switch-to-buffer): Rewrite.
8994 (pop-to-buffer): Restore Emacs 23 behavior but use
8995 window-normalize-buffer-to-display.
8996 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8997 Restore Emacs 23 behavior but use
8998 window-normalize-buffer-to-switch-to.
8999 (pop-to-buffer-same-window): Rewrite.
9000 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
9001 Rewrite using Emacs 23 options.
9002
9003 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
9004
9005 * net/tramp.el (tramp-root-regexp): Remove.
9006 (tramp-completion-file-name-regexp-unified)
9007 (tramp-completion-file-name-regexp-separate)
9008 (tramp-completion-file-name-regexp-url): Don't use leading volume
9009 letter on win32 systems. (Bug#5303, Bug#9311)
9010 (tramp-drop-volume-letter): Simplify definition.
9011 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
9012
9013 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
9014
9015 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
9016 (bug#9356).
9017
9018 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
9019
9020 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
9021
9022 2011-08-29 Juri Linkov <juri@jurta.org>
9023
9024 * isearch.el (isearch-done): Don't display message "Mark saved"
9025 when arg `edit' is non-nil to prevent its flicker in the echo area.
9026
9027 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9028
9029 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
9030 obsolete packages for deletion.
9031
9032 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
9033
9034 * help-mode.el (help-mode-map): Add special-mode-map to parent.
9035 (help-mode): Derive help-mode from special-mode. Don't invoke
9036 view-mode from help-mode.
9037 (help-xref-override-view-map): Remove.
9038 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
9039 view-mode is not used anymore.
9040
9041 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
9042
9043 * server.el (server-port): Doc fix.
9044
9045 * cus-theme.el (custom-theme-choose-mode): Inherit from
9046 special-mode (Bug#9124).
9047 (custom-theme-choose-mode-map): Add special-mode to parent.
9048
9049 2011-08-28 Alan Mackenzie <acm@muc.de>
9050
9051 * progmodes/cc-fonts.el
9052 (c-make-font-lock-BO-decl-search-function): New function.
9053 (c-basic-matchers-after - "Fontify the clauses after various
9054 keywords"): Extract the three keyword lists for the 3 erroneous
9055 constructs from the list of four, and use the new function above
9056 in place of an old one.
9057
9058 2011-08-28 Deniz Dogan <deniz@dogan.se>
9059
9060 * net/rcirc.el (rcirc-insert-prev-input)
9061 (rcirc-insert-next-input): Remove unused argument.
9062
9063 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9064
9065 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
9066
9067 2011-08-27 Alan Mackenzie <acm@muc.de>
9068
9069 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
9070 handle function pointer parameters properly.
9071
9072 2011-08-27 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (display-buffer-reuse-window): Fix case where
9075 selected window was reused with non-nil OTHER-WINDOW argument.
9076 (Bug#9381)
9077
9078 2011-08-27 Deniz Dogan <deniz@dogan.se>
9079
9080 * net/rcirc.el (rcirc-check-auth-status): Adding support for
9081 oftc's NickServ messages.
9082
9083 2011-08-27 Glenn Morris <rgm@gnu.org>
9084
9085 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
9086
9087 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
9088
9089 * emacs-lisp/package.el (package-install): Call package-initialize
9090 if called interactively.
9091
9092 2011-08-26 Leo Liu <sdl.web@gmail.com>
9093
9094 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
9095
9096 2011-08-25 Juri Linkov <juri@jurta.org>
9097
9098 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9099 `search-whitespace-regexp' (bug#9364).
9100
9101 2011-08-25 Juri Linkov <juri@jurta.org>
9102
9103 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
9104 `regexp-search-ring' to their global values to protect from
9105 updating by `read-from-minibuffer' (bug#9185).
9106
9107 2011-08-25 Juri Linkov <juri@jurta.org>
9108
9109 * textmodes/ispell.el (ispell-command-loop): Add newline
9110 at the end of the "Use option `i'..." line.
9111
9112 2011-08-25 Juri Linkov <juri@jurta.org>
9113
9114 * battery.el (display-battery-mode): If `battery-status-function'
9115 or `battery-mode-line-format' is nil, display the message and set
9116 `display-battery-mode' to nil (bug#9363).
9117
9118 2011-08-25 Eli Zaretskii <eliz@gnu.org>
9119
9120 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
9121 bidi-string-mark-left-to-right; they are unnecessary now.
9122
9123 2011-08-25 Deniz Dogan <deniz@dogan.se>
9124
9125 * net/quickurl.el: Documentation typo fixes.
9126
9127 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
9128
9129 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
9130
9131 2011-08-25 Glenn Morris <rgm@gnu.org>
9132
9133 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
9134
9135 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
9136 (smtpmail-via-smtp): Handle nil response from smtp.
9137
9138 2011-08-24 Juri Linkov <juri@jurta.org>
9139
9140 * proced.el (proced-marked): Inherit from `error' instead of
9141 `font-lock-warning-face'.
9142
9143 * ibuffer.el (ibuffer-marked-face): Change default face from
9144 `font-lock-warning-face' to `warning'.
9145 (ibuffer-deletion-face): Change default face from
9146 `font-lock-type-face' to `error'.
9147
9148 * battery.el (battery-update): Use the face `error' instead of
9149 `font-lock-warning-face' (bug#6117).
9150
9151 2011-08-24 Juri Linkov <juri@jurta.org>
9152
9153 * faces.el (success): Change face color from "Green3" to
9154 "ForestGreen" on light background (bug#9353).
9155
9156 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
9157
9158 * window.el (quit-window): Rename from quit-restore-window.
9159 Use same arglist as old quit-window.
9160 (frame-auto-delete): Doc fix.
9161
9162 * view.el (view-mode-exit): Use quit-window.
9163
9164 2011-08-24 Juri Linkov <juri@jurta.org>
9165
9166 * isearch.el (isearch-ring-adjust1): Start visiting previous
9167 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
9168 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
9169 for empty search string (when the last search string is reused
9170 automatically) to adjust the isearch ring to the last element and
9171 prepare the correct index for further M-p commands (bug#9185).
9172
9173 2011-08-24 Kenichi Handa <handa@m17n.org>
9174
9175 * international/ucs-normalize.el: If decomposition property of
9176 CHAR is the default one (i.e. a list of CHAR itself), treat it as
9177 nil.
9178 (nfd, nfkd): Likewise.
9179
9180 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
9181
9182 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
9183 from process filters aren't reliably transmitted to the surrounding
9184 accept-process-output.
9185 (mpc-proc-check): New function.
9186 (mpc-proc-sync): Use it (bug#8293)
9187
9188 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9189
9190 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
9191 Add compatibility functions (bug#9313).
9192
9193 2011-08-23 Eli Zaretskii <eliz@gnu.org>
9194
9195 * cus-start.el (all): Add entry for bidi-paragraph-direction.
9196
9197 * international/uni-bidi.el: Regenerate.
9198
9199 2011-08-23 Kenichi Handa <handa@m17n.org>
9200
9201 * international/charprop.el:
9202 * international/uni-bidi.el:
9203 * international/uni-category.el:
9204 * international/uni-combining.el:
9205 * international/uni-comment.el:
9206 * international/uni-decimal.el:
9207 * international/uni-decomposition.el:
9208 * international/uni-digit.el:
9209 * international/uni-lowercase.el:
9210 * international/uni-mirrored.el:
9211 * international/uni-name.el:
9212 * international/uni-numeric.el:
9213 * international/uni-old-name.el:
9214 * international/uni-titlecase.el:
9215 * international/uni-uppercase.el: Regenerate.
9216
9217 2011-08-23 Martin Rudalics <rudalics@gmx.at>
9218
9219 * help.el (help-window-setup): Fix message displayed when other
9220 window is reused. (Bug#9341)
9221
9222 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9225 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9226
9227 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9228 Mark obsolete.
9229 * shell.el (shell-parse-pcomplete-arguments): New function.
9230 (shell-completion-vars): Use it instead (bug#9160).
9231
9232 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9235 strings and comments (bug#9333).
9236
9237 * emacs-lisp/debug.el (debug-arglist): New function.
9238 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9239 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9240
9241 2011-08-22 Juri Linkov <juri@jurta.org>
9242
9243 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9244 Revert regexp that highlights output switches to its old
9245 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9246
9247 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9248 to check for empty output (bug#9226).
9249
9250 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
9251
9252 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9253 symbol-constituent as the default, as that stops font-lock from
9254 working properly (Bug#8843).
9255
9256 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9257
9258 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9259 `coding-system-for-*' around the process open call to avoid
9260 auth-source side effects.
9261 (smtpmail-try-auth-methods): Expand the secret password.
9262 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9263 probe hangs.
9264
9265 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9266
9267 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9268
9269 * emacs-lisp/find-func.el (find-function-noselect): New arg
9270 lisp-only.
9271
9272 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9273 signal an error for built-in functions (Bug#6664).
9274
9275 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9276
9277 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9278 (smtpmail-try-auth-methods): Use it.
9279
9280 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
9281
9282 * font-lock.el (font-lock-fontify-region)
9283 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9284 (font-lock-default-unfontify-buffer)
9285 (font-lock-default-fontify-region)
9286 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9287
9288 * progmodes/compile.el (compilation-error-properties):
9289 Fix confusion between file struct and message struct (Bug#9319).
9290 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9291 `ant' regexp.
9292
9293 * net/browse-url.el (browse-url-firefox): Don't call
9294 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9295
9296 2011-08-20 Glenn Morris <rgm@gnu.org>
9297
9298 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9299
9300 * tutorial.el (tutorial--default-keys): Update some default bindings.
9301
9302 * files.el (hack-local-variables): Fully ignore case for "mode:".
9303
9304 2011-08-20 Alan Mackenzie <acm@muc.de>
9305
9306 Resolve invalid use of a regexp in regexp-opt.
9307
9308 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9309 detection for a java annotation.
9310
9311 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
9312 detection for a java annotation.
9313
9314 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9315 handling for java.
9316 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9317
9318 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
9319
9320 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9321 (Bug#9274).
9322
9323 2011-08-20 Alan Mackenzie <acm@muc.de>
9324
9325 Fontify CPP expressions correctly when starting in the middle of
9326 such a construct. Mainly for when jit-lock etc. starts a chunk
9327 here.
9328
9329 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
9330 variable.
9331 (c-make-font-lock-search-form): New function, extracted from
9332 c-make-font-lock-search-function.
9333 (c-make-font-lock-search-function): Use the above function.
9334 (c-make-font-lock-context-search-function): New function.
9335 (c-cpp-matchers): Enhance the preprocessor expression case with
9336 the above function
9337 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9338 which takes an expression.
9339
9340 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9341
9342 2011-08-20 Martin Rudalics <rudalics@gmx.at>
9343
9344 * window.el (display-buffer-reuse-window)
9345 (display-buffer-pop-up-window): Don't reuse or split a side
9346 window.
9347
9348 2011-08-19 Glenn Morris <rgm@gnu.org>
9349
9350 * files.el (hack-local-variables-prop-line, hack-local-variables):
9351 Downcase "Mode:". (Bug#9331)
9352
9353 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
9354
9355 * international/characters.el: Add L and R categories.
9356
9357 * subr.el (bidi-string-mark-left-to-right): Rename from
9358 string-mark-left-to-right. Use category search.
9359
9360 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9361
9362 2011-08-18 Juri Linkov <juri@jurta.org>
9363
9364 * faces.el (error, warning, success): New faces with definitions
9365 copied from old default values of `font-lock-warning-face',
9366 `compilation-warning', `compilation-info' (bug#6117).
9367
9368 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9369
9370 * progmodes/compile.el (compilation-error): Inherit from `error'.
9371 (compilation-warning): Inherit from `warning'.
9372 (compilation-info): Inherit from `success'.
9373
9374 * dired.el (dired-marked): Inherit from `warning'.
9375 (dired-flagged): Inherit from `error'.
9376
9377 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378
9379 * mail/smtpmail.el (auth-source): Require to avoid problems with
9380 binding variables (bug#9298). Also clean up some unused
9381 autoloads.
9382
9383 * net/network-stream.el (network-stream-open-starttls):
9384 Support using starttls.el without using gnutls-cli.
9385
9386 2011-08-17 Juri Linkov <juri@jurta.org>
9387
9388 * progmodes/grep.el (rgrep): Handle the case when
9389 `grep-find-command' is a cons cell (bug#9278).
9390
9391 2011-08-17 Martin Rudalics <rudalics@gmx.at>
9392
9393 * window.el (display-buffer-pop-up-frame): Run frame creation
9394 function with BUFFER current (as special-display-popup-frame
9395 does). Reported by Drew Adams.
9396
9397 2011-08-17 Daiki Ueno <ueno@unixuser.org>
9398
9399 * epa-mail.el: Simplify GnuPG group expansion using
9400 epg-expand-group.
9401 (epa-mail-group-alist, epa-mail-group-modtime)
9402 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9403 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9404 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9405 Remove.
9406
9407 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
9408
9409 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9410
9411 2011-08-16 Alan Mackenzie <acm@muc.de>
9412
9413 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9414 Correct, to avoid the inside of macros.
9415
9416 2011-08-16 Richard Stallman <rms@gnu.org>
9417
9418 * epa-mail.el: Handle GnuPG group definitions.
9419 (epa-mail-group-alist, epa-mail-group-modtime)
9420 (epa-mail-gnupg-conf-file): New variables.
9421 (epa-mail-parse-groups, epa-mail-sync-groups)
9422 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9423 (epa-mail-expand-recipients): New functions.
9424 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9425
9426 * mail/rmail.el (rmail-epa-decrypt): New command.
9427
9428 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9429 Don't bind buffer-read-only, just inhibit-read-only.
9430 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9431 (epa-decrypt-armor-in-region): Make error message clearer.
9432
9433 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9436 and "a2b" to "ab" for `prefix'.
9437
9438 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
9439
9440 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9441 filter groups.
9442 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9443 Fourquet (Bug#8804).
9444
9445 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
9446
9447 * startup.el (argi): Declare as global variable (bug#9275).
9448
9449 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
9450
9451 * subr.el (string-mark-left-to-right): Search the entire string
9452 for RTL script, not just the terminating character. Doc fix.
9453
9454 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9455
9456 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9457 New function.
9458 (js--regexp-literal, js-syntax-propertize-function): Remove.
9459 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9460 (js-mode-map): Don't rebind electric keys.
9461 (js-insert-and-indent): Remove.
9462 (js-mode): Setup electric-layout and electric-indent instead.
9463
9464 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9465
9466 2011-08-12 Daiki Ueno <ueno@unixuser.org>
9467
9468 * epa.el (epa-progress-callback-function): Fix the logic of
9469 displaying progress.
9470 * epa-file.el (epa-file-insert-file-contents): Make progress
9471 display more user-friendly.
9472 (epa-file-write-region): Ditto.
9473
9474 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
9475
9476 * subr.el (string-mark-left-to-right): New function.
9477
9478 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9479 Use string-mark-left-to-right.
9480 (list-buffers-noselect): Caller changed.
9481
9482 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9483 Use string-mark-left-to-right.
9484 (tabulated-list-print): Recenter after moving point.
9485
9486 2011-08-10 Juri Linkov <juri@jurta.org>
9487
9488 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9489 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9490 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9491
9492 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
9493
9494 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9495 (Bug#7554).
9496
9497 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
9498
9499 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9500 character. (Bug#6594)
9501
9502 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
9503
9504 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9505 (image-dired--with-db-file): New macro.
9506 (image-dired-write-tags, image-dired-remove-tag)
9507 (image-dired-create-gallery-lists, image-dired-write-comments)
9508 (image-dired-get-comment, image-dired-mark-tagged-files)
9509 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9510 (image-dired-gallery-generate): Use insert-file-contents.
9511
9512 * time.el (display-time-world-list, display-time-world-display):
9513 * time-stamp.el (time-stamp-string):
9514 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9515 set-time-zone-rule (Bug#7337).
9516
9517 2011-08-08 Daiki Ueno <ueno@unixuser.org>
9518
9519 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9520 (epg-error-to-string, epg-errors-to-string): New function.
9521 (epg-wait-for-completion): Reverse errors list.
9522 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9523 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9524 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9525 (epg-sign-keys, epg-generate-key-from-file)
9526 (epg-generate-key-from-string): Format errors by using
9527 epg-errors-to-string (bug#9255).
9528 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9529
9530 2011-08-07 Juri Linkov <juri@jurta.org>
9531
9532 * faces.el (list-faces-display): Remove extra angle bracket
9533 from `help-mode-map'.
9534
9535 * info.el (Info-history-toc-nodes): Doc fix.
9536
9537 * longlines.el (longlines-mode): Doc fix.
9538
9539 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9540
9541 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9542 of statements and in a few more cases (bug#9183).
9543
9544 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9545 New functions.
9546 (cl-transform-lambda): Use them (bug#9239).
9547
9548 2011-08-05 Martin Rudalics <rudalics@gmx.at>
9549
9550 * window.el (display-buffer-same-window)
9551 (display-buffer-same-frame, display-buffer-other-window)
9552 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9553 (pop-to-buffer-other-window)
9554 (pop-to-buffer-same-frame-other-window)
9555 (pop-to-buffer-other-frame): Make them defuns.
9556 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9557
9558 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9559
9560 * subr.el (make-composed-keymap): Move from C. Change calling
9561 convention, and improve docstring to bring attention to a subtle point.
9562 * minibuffer.el (completing-read-default): Adjust accordingly.
9563
9564 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
9565
9566 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9567 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9568
9569 * net/trampver.el: Update release number.
9570
9571 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9574 "in" (bug#9190).
9575
9576 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9577
9578 * mail/sendmail.el (sendmail-query-once): Restore the current
9579 buffer after querying (bug#9074).
9580
9581 * dired.el (dired-flagged): Use different faces for marked and
9582 flagged files (bug#6117).
9583
9584 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9585 (bug#4433).
9586
9587 * ido.el (ido-mode): Switch off the message if called
9588 non-interactively.
9589
9590 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9591 before 587, since it appears that that's more likely to work for
9592 more people.
9593
9594 * cus-edit.el (custom-file): When running under emacs -q, always
9595 refuse to save the customizations, even if the .emacs file doesn't
9596 exist.
9597
9598 * info.el: Remove the `Info-beginning-of-buffer' function
9599 (bug#8325).
9600
9601 * net/network-stream.el (network-stream-open-starttls):
9602 Use `starttls-available-p' to see whether starttls.el can be used.
9603
9604 2011-08-01 Martin Rudalics <rudalics@gmx.at>
9605
9606 * window.el (display-buffer-in-window): Don't set dedicated status
9607 of window here (Bug#9215).
9608 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9609 (display-buffer-pop-up-side-window)
9610 (display-buffer-in-side-window): Set dedicated status of window here.
9611
9612 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9613
9614 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9615 before binding generated-autoload-file.
9616
9617 2011-08-01 Deniz Dogan <deniz@dogan.se>
9618
9619 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9620
9621 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
9622
9623 Sync with Tramp 2.2.2.
9624
9625 * net/trampver.el: Update release number.
9626
9627 2011-07-30 Juri Linkov <juri@jurta.org>
9628
9629 * dired-aux.el (dired-touch-initial): Remove function.
9630 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9631 current time, and `default' to the last modification time of the
9632 current marked file (bug#6887).
9633
9634 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9635
9636 * simple.el (goto-line): Use string-to-number to provide a
9637 numeric argument to read-number (bug#9163).
9638
9639 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
9640
9641 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9642 connection process, it could be nil.
9643
9644 2011-07-27 Leo Liu <sdl.web@gmail.com>
9645
9646 Simplify url handling in rcirc-mode.
9647
9648 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9649 (rcirc-browse-url-at-mouse): Remove.
9650 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9651
9652 2011-07-26 Alan Mackenzie <acm@muc.de>
9653
9654 Fontify bitfield declarations properly.
9655
9656 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9657 (c-symbol-chars): Now exported as a lang variable.
9658 (c-not-primitive-type-keywords): New lang variable.
9659
9660 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9661 QT keyword "more" to prevent "more slots: ...." being spuriously
9662 parsed as a bitfield declaration.
9663
9664 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9665 Refactor and enhance to handle bitfield declarations.
9666 (c-punctuation-in): New function.
9667 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9668 declarations properly.
9669
9670 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
9671
9672 * calendar/icalendar.el (icalendar--all-events): Take care of
9673 multiple vcalendars in a single file.
9674 (icalendar--convert-float-to-ical): Checkdoc fixes.
9675
9676 2011-07-25 Deniz Dogan <deniz@dogan.se>
9677
9678 * image.el (insert-image): Clarifying docstring.
9679
9680 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
9681
9682 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9683 `tramp-send-command-and-check' if there is no error.
9684 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9685
9686 2011-07-22 Alan Mackenzie <acm@muc.de>
9687
9688 Prevent cc-langs.elc being loaded at run time.
9689
9690 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9691 cc-langs.
9692
9693 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
9694 "(require 'cc-langs)". Quote a form so it will evaluate at
9695 (cc-mode's) compilation time.
9696
9697 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
9698
9699 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9700 loading. (Bug#9114)
9701
9702 2011-07-21 Martin Rudalics <rudalics@gmx.at>
9703
9704 * window.el (display-buffer-pop-up-window)
9705 (display-buffer-pop-up-side-window)
9706 (display-buffer-in-side-window): Call display-buffer-set-height
9707 and display-buffer-set-width after setting the new window's
9708 buffer so `fit-window-to-buffer' and friends work on the right buffer.
9709
9710 2011-07-20 Sam Steingold <sds@gnu.org>
9711
9712 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9713 (etags-tags-included-tables): Call `convert-standard-filename' on
9714 the file names contained in TAGS so that windows Emacs can handle
9715 TAGS files created by cygwin ctags.
9716
9717 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9718
9719 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9720 which apparently didn't work.
9721
9722 2011-07-19 Roland Winkler <winkler@gnu.org>
9723
9724 * proced.el (proced-send-signal): For *Marked Processes* buffer
9725 put point at beginning of buffer.
9726
9727 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
9728
9729 * proced.el (proced-format): Make header lines align with the text
9730 (bug#1779).
9731
9732 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9733
9734 * view.el (view-buffer): Allow running in `special' modes if we're
9735 visiting a file (bug#8615).
9736
9737 2011-07-19 Martin Rudalics <rudalics@gmx.at>
9738
9739 * window.el (display-buffer-alist-of-strings-p)
9740 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9741 New functions.
9742 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9743 more accurately.
9744
9745 2011-07-18 Alan Mackenzie <acm@muc.de>
9746
9747 Fontify declarators properly when, e.g., a jit-lock chunk begins
9748 inside a declaration.
9749
9750 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9751
9752 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9753 New function.
9754 (c-complex-decl-matchers): Insert reference to
9755 c-font-lock-enclosing-decls.
9756
9757 * progmodes/cc-engine.el (c-backward-single-comment):
9758 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9759 to nil around calls to (forward-comment -1).
9760
9761 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9762
9763 * image.el (put-image): Doc typo fix.
9764
9765 * progmodes/etags.el (tags-search): Doc typo fix.
9766
9767 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9768 password if we get errors 550 to 554.
9769
9770 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9771
9772 * net/gnutls.el (gnutls-log-level): Remove.
9773
9774 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9775 indentation character (bug#6380).
9776
9777 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9778
9779 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9780 to clarify what the problem is (bug#4291).
9781
9782 * simple.el (current-kill): Clarify what
9783 `interprogram-paste-function' does (bug#7500).
9784 (auto-fill-mode): Document `auto-fill-function' in relation to
9785 `auto-fill-mode' (bug#2470).
9786
9787 2011-07-16 Lawrence Mitchell <wence@gmx.li>
9788
9789 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9790 method if slot is read-only (bug#9035).
9791
9792 2011-07-16 Martin Rudalics <rudalics@gmx.at>
9793
9794 * frame.el (select-frame-set-input-focus): New argument NORECORD.
9795 * window.el (pop-to-buffer): Select window used even if it was
9796 selected before, see discussion of (Bug#8615), (Bug#6954).
9797 Pass argument NORECORD on to select-frame-set-input-focus.
9798
9799 2011-07-15 Glenn Morris <rgm@gnu.org>
9800
9801 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
9802 Respect help-form.
9803
9804 2011-07-09 Lawrence Mitchell <wence@gmx.li>
9805
9806 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9807 (gnutls-negotiate): Use it.
9808
9809 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9810
9811 * net/gnutls.el (gnutls-negotiate):
9812 Upcase `gnutls-algorithm-priority'.
9813
9814 2011-07-15 Glenn Morris <rgm@gnu.org>
9815
9816 * jka-compr.el (jka-compr-verbose): Move from here...
9817 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9818 Add missing :version tag.
9819 * info.el: No need to require jka-compr when compiling.
9820
9821 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
9823 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9824 (gnutls-negotiate): Use it.
9825
9826 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9827
9828 * info.el (Info-beginning-of-buffer): New command.
9829 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9830 announcing `b' as the key (bug#8325).
9831 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
9832
9833 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9834
9835 * international/mule-cmds.el
9836 (describe-specified-language-support): Make the error message
9837 clearer (bug#8905).
9838
9839 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9840
9841 * isearch.el (isearch-barrier): Add a doc string, since it's
9842 mentioned in a function doc string (bug#8678).
9843
9844 2011-07-15 Martin Rudalics <rudalics@gmx.at>
9845
9846 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9847 buffer argument (Bug#9083) and self-identifying label argument.
9848
9849 2011-07-15 Glenn Morris <rgm@gnu.org>
9850
9851 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9852
9853 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9854
9855 * man.el (Man-fontify-manpage): Fix message when formatting the
9856 man page (bug#7929).
9857
9858 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9859
9860 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9861 argument LRM; if non-nil, append an invisible LRM character to the
9862 buffer name.
9863 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9864 last argument non-nil, when formatting buffer names.
9865 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9866 paragraph direction.
9867
9868 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9869
9870 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9871 the man page name (bug#7929).
9872
9873 * image.el (put-image): Mention the `put-image' overlay property
9874 (bug#7834).
9875
9876 * scroll-bar.el (set-scroll-bar-mode): Mention that
9877 `scroll-bar-mode' lists the values (bug#7772).
9878
9879 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9880 command (bug#7729).
9881
9882 * rect.el (apply-on-rectangle): Return the point after the last
9883 operation.
9884 (string-rectangle): Go to the point after the last operation
9885 (bug#7522).
9886
9887 * printing.el (pr-toggle-region): Clarify the documentation
9888 slightly (bug#7493).
9889
9890 * time.el (display-time-update):
9891 Allow `display-time-mail-function' to return nil (bug#7158).
9892 Fix suggested by Detlev Zundel.
9893
9894 * vc/diff.el (diff): Clarify the order the file names are read
9895 (bug#7111).
9896
9897 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9898 the doc string (bug#7015).
9899
9900 * font-lock.el (font-lock-maximum-decoration): Mention what
9901 numeric levels mean (bug#6935).
9902
9903 * startup.el (initial-buffer-choice): Don't mention the `none'
9904 selection, which is against policy.
9905
9906 2011-07-14 Martin Rudalics <rudalics@gmx.at>
9907
9908 * window.el (display-buffer-normalize-special):
9909 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
9910
9911 2011-07-14 Eli Zaretskii <eliz@gnu.org>
9912
9913 * subr.el (version<, version<=, version=): Mention "-CVS" and
9914 "-12345" alpha version numbers.
9915
9916 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9917
9918 * bindings.el: Add advertised binding for set-mark-command
9919 (Bug#5772).
9920
9921 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
9922
9923 * bindings.el (mode-line-other-buffer):
9924 * bookmark.el (bookmark-bmenu-2-window):
9925 * bs.el (bs-cycle-next, bs-cycle-previous):
9926 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9927 switch-to-buffer.
9928
9929 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
9930 Delete.
9931
9932 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * follow.el (follow-debug-message, follow-redisplay):
9935 * jka-cmpr-hook.el (with-auto-compression-mode):
9936 Fix typos in docstrings.
9937
9938 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9939
9940 * subr.el (with-silent-modifications): Clarify somewhat what the
9941 macro inhibits (bug#6525).
9942
9943 * simple.el (eval-expression): Note what it does if called
9944 interactively (bug#6495).
9945
9946 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9947
9948 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9949 Use pop-to-buffer buffer-or-name if it is nil.
9950
9951 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9952 Remove switch-to-buffer.
9953
9954 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9955
9956 * files.el (make-directory): Clarify that an error will be raised
9957 if there's an error (bug#6397).
9958
9959 * startup.el (initial-buffer-choice): Add `none' as a choice
9960 (bug#6234).
9961
9962 * subr.el (add-hook): Clarify section about buffer-local hooks
9963 (bug#6218).
9964
9965 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9966
9967 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
9968
9969 * tabify.el (untabify): Preserve the current column so that point
9970 doesn't move (bug#6032).
9971
9972 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9973
9974 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9975 Rewrite to avoid awkward possessive "s" (bug#5986).
9976
9977 2011-07-13 Glenn Morris <rgm@gnu.org>
9978
9979 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9980 (dired-insert-directory): Give a message the first time
9981 if ls is found not to support --dired.
9982
9983 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9984
9985 * simple.el (toggle-truncate-lines): Clarify what is toggled
9986 (bug#5580). Text by Drew Adams.
9987
9988 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
9989
9990 * simple.el (blink-matching-open): Make the error message from the
9991 last change less verbose.
9992
9993 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9994
9995 * font-lock.el (font-lock-comment-face): Use the high contrast
9996 "yellow" color for font-lock-comment-face on low color terminals
9997 using a dark background color (bug#4221).
9998
9999 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10000
10001 * dired.el (dired-insert-set-properties): Make the doc string
10002 reflect what it does now (bug#5325).
10003
10004 * simple.el (blink-matching-open): Say that we were unable to find
10005 the match within the limit, if we're limited (bug#5122).
10006
10007 * international/mule-cmds.el (prefer-coding-system): Add an
10008 example (bug#4869).
10009
10010 * progmodes/etags.el (tags-search): Document `file-list-form'
10011 (bug#4731).
10012
10013 2011-07-13 Lawrence Mitchell <wence@gmx.li>
10014
10015 * net/browse-url.el (browse-url-default-browser)
10016 (browse-url-browser-function): Make the default browser choice a
10017 bit more logical (bug#4300). Also clean up the doc string.
10018
10019 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
10020
10021 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
10022 binary endings (bug#4440).
10023
10024 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10025
10026 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
10027 which can be pretty annoying (bug#8971).
10028
10029 * jka-compr.el (jka-compr-verbose): New variable, and use
10030 throughout (bug#8971).
10031
10032 * info.el (Info-find-file): Fall back on the installation
10033 directory if we can't find the info node anywhere else.
10034
10035 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
10036
10037 * vc/vc.el (vc-revert-file):
10038 Don't set file time-stamp in the past. (Bug#5181)
10039
10040 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10041
10042 * files.el (after-find-file): Give a better error message when
10043 trying to find a symlink that points to a file that doesn't exist
10044 (bug#4398).
10045
10046 * progmodes/cc-vars.el: Remove (probably) misleading comment
10047 (bug#4396).
10048
10049 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10050
10051 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
10052
10053 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10054
10055 * mouse-sel.el: Hack restoring functionality, while keeping
10056 compatibility with 2010-07-03 changes to mouse selection.
10057 (mouse-sel-primary-overlay): New var.
10058 (mouse-sel-selection-alist): Use it.
10059 (mouse-sel-mode): Doc fix; remove points that are default features
10060 of mouse.el.
10061
10062 2011-07-12 Johan Bockgård <bojohan@gnu.org>
10063
10064 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10065 Fix previous fix (bug#2490).
10066
10067 2011-07-12 Roland Winkler <winkler@gnu.org>
10068
10069 * textmodes/bibtex.el (bibtex-initialize):
10070 Use pop-to-buffer-same-window.
10071 (bibtex-search-entries): Fix interactive call.
10072
10073 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
10074
10075 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10076 Fontise bytecomp Error lines more correctly (bug#2490).
10077 Fix suggested by Johan Bockgård.
10078
10079 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
10080
10081 * dired-x.el (dired-guess-default): Use `delete-dups'.
10082
10083 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
10084
10085 * dired.el (dired-mark-prompt):
10086 * dired-aux.el (dired-read-shell-command): Doc fix.
10087
10088 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10089
10090 * mail/sendmail.el (sendmail-query-once):
10091 Use `customize-save-variable' unconditionally, now that it works under
10092 emacs -Q.
10093
10094 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10095
10096 * cus-edit.el (custom-file): Take an optional no-error variable.
10097 (customize-save-variable): Set the variable, and give a warning if
10098 running under "emacs -q".
10099
10100 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
10101
10102 * loadhist.el (unload-feature-special-hooks):
10103 Add `auto-coding-functions', `fill-nobreak-predicate' and
10104 `find-directory-functions' (bug#5327).
10105
10106 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10107
10108 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
10109
10110 * cus-edit.el (custom-guess-name-alist): -alist variables should
10111 use the `alist' type (bug#3120). Suggested by Drew Adams.
10112
10113 * printing.el: Add documentation to all the `pr-toggle-' commands.
10114
10115 2011-07-11 Leo Liu <sdl.web@gmail.com>
10116
10117 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
10118 backends where it makes sense (bug#2623).
10119
10120 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10121
10122 * dired-x.el (dired-guess-default): Remove duplicate shell command
10123 entries (bug#2028).
10124 (dired-guess-default): Fix grammar in doc string (bug#2028).
10125 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
10126
10127 * subr.el (remove-duplicates): New conveniency function.
10128
10129 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
10130
10131 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
10132 (bug#1526).
10133
10134 2011-07-10 Martin Rudalics <rudalics@gmx.at>
10135
10136 * window.el (display-buffer-normalize-default): Don't invert
10137 meaning of even-window-heights. Reported by Eli Zaretskii
10138 <eliz@gnu.org>.
10139
10140 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
10141
10142 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
10143
10144 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
10145
10146 * window.el (display-buffer): Fix arguments to
10147 display-buffer-reuse-window in last change.
10148
10149 * faces.el (link): Use a less saturated blue on light backgrounds.
10150
10151 * startup.el (fancy-startup-text, fancy-about-text)
10152 (fancy-startup-tail): Use font-lock faces, for background safety.
10153
10154 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
10155
10156 * emulation/viper-cmd.el (viper-change-state-to-vi):
10157 Limit triggering of abbrev expansion (Bug#9038).
10158
10159 2011-07-09 Martin Rudalics <rudalics@gmx.at>
10160
10161 * window.el (display-buffer-default-specifiers): Remove.
10162 (display-buffer-macro-specifiers): Remove default specifiers.
10163 (display-buffer-alist): Default to nil.
10164 (display-buffer-reuse-window): New optional argument other-window.
10165 (display-buffer-pop-up-window): Allow splitting internal
10166 windows. Check whether a live window was created.
10167 (display-buffer-other-window-means-other-frame)
10168 (display-buffer-normalize-arguments): Rename to
10169 display-buffer-normalize-argument and rewrite. Set the
10170 other-window specifier.
10171 (display-buffer-normalize-special): New function.
10172 (display-buffer-normalize-options): Rename to
10173 display-buffer-normalize-default and rewrite.
10174 (display-buffer-normalize-options-inhibit): Remove.
10175 (display-buffer-normalize-specifiers): Rewrite.
10176 (display-buffer): Process other-window specifier and call
10177 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
10178 more faithfully.
10179 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
10180 (display-buffer-alist-set): Don't handle 'unset default values.
10181 (display-buffer-in-window, display-buffer-alist-set):
10182 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
10183 <tassilo@member.fsf.org>.
10184
10185 2011-07-09 Leo Liu <sdl.web@gmail.com>
10186
10187 * register.el (insert-register): Restore accidental change on
10188 2011-06-26. (Bug#9028)
10189
10190 2011-07-09 Glenn Morris <rgm@gnu.org>
10191
10192 * subr.el (remq): Handle the empty list. (Bug#9024)
10193
10194 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
10195
10196 * mail/sendmail.el (send-mail-function): No longer delay custom
10197 initialization.
10198 * custom.el (custom-initialize-delay): Doc fix.
10199
10200 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10201
10202 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
10203
10204 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
10205
10206 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
10207 human-friendly prompt.
10208
10209 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
10212 provided by a particular plugin.
10213
10214 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10215
10216 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
10217 save customizations (with "emacs -Q"), just set the variable
10218 instead of erroring out.
10219
10220 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10221
10222 2011-07-08 Juri Linkov <juri@jurta.org>
10223
10224 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10225 (archive-zip-update-case): Use 7z if found by `executable-find'.
10226 The order of searching the available programs is the same as in
10227 `archive-zip-extract' (bug#8968).
10228
10229 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10230
10231 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10232 (menu-bar-options-menu): Tweak descriptions.
10233
10234 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10235
10236 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10237 menu items into verb phrases (bug#1421). Also refill to fit under
10238 80 columns.
10239
10240 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10241
10242 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10243 (Info-read-node-name): Doc fix (Bug#1084).
10244
10245 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10246 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10247 (end-of-sexp, beginning-of-sexp)
10248 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10249 (forward-symbol, forward-same-syntax, word-at-point)
10250 (sentence-at-point): Doc fix (Bug#1144).
10251
10252 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10253
10254 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10255 should cover it (bug#1281).
10256
10257 * cus-edit.el (custom-show): Mark as obsolete.
10258
10259 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
10260 negotiation fails, then possibly try again with a non-encrypted
10261 connection (bug#9017).
10262
10263 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10264 be used.
10265
10266 2011-07-07 Richard Stallman <rms@gnu.org>
10267
10268 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10269 property, and handle its changed format.
10270 Look for the correct line number.
10271 Use file's line contents (but not past first =) to find
10272 correct line in message.
10273
10274 2011-07-07 Kenichi Handa <handa@m17n.org>
10275
10276 * international/characters.el (build-unicode-category-table):
10277 Delete it.
10278 (unicode-category-table): Set it by unicode-property-table-internal.
10279
10280 * international/mule-cmds.el (char-code-property-alist): Move to
10281 to src/chartab.c.
10282 (get-char-code-property): Call unicode-property-table-internal to
10283 load a file. Call get-unicode-property-internal where necessary.
10284 (put-char-code-property): Call unicode-property-table-internal to
10285 load a file. Call put-unicode-property-internal where necessary.
10286 put-unicode-property-internal where necessary.
10287 (char-code-property-description):
10288 Call unicode-property-table-internal to load a file.
10289
10290 * international/charprop.el:
10291 * international/uni-bidi.el:
10292 * international/uni-category.el:
10293 * international/uni-combining.el:
10294 * international/uni-comment.el:
10295 * international/uni-decimal.el:
10296 * international/uni-decomposition.el:
10297 * international/uni-digit.el:
10298 * international/uni-lowercase.el:
10299 * international/uni-mirrored.el:
10300 * international/uni-name.el:
10301 * international/uni-numeric.el:
10302 * international/uni-old-name.el:
10303 * international/uni-titlecase.el:
10304 * international/uni-uppercase.el: Regenerate.
10305
10306 * loadup.el: Load international/charprop.el before
10307 international/characters.
10308
10309 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
10310
10311 * window.el (next-buffer, previous-buffer): Signal an error if
10312 called from a minibuffer window.
10313
10314 * bindings.el: Revert 2011-07-04 change.
10315
10316 2011-07-06 Richard Stallman <rms@gnu.org>
10317
10318 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10319 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10320 Treat markers like ints.
10321 (rmail-mime-entity): Doc fix.
10322
10323 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10324
10325 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10326 defcustom again for backwards compatibility.
10327
10328 * simple.el (shell-command-on-region): Fill.
10329
10330 * dired-aux.el (dired-kill-line): Add a doc string.
10331
10332 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10333 to "\\sw\\|\\s_" (bug#358).
10334
10335 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10336 (dired-unmark-backward): Ditto.
10337 (dired-flag-backup-files): Ditto.
10338
10339 * dired-x.el (dired-mark-sexp): Ditto.
10340
10341 2011-07-06 Richard Stallman <rms@gnu.org>
10342
10343 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10344 (rmail-mime-entity): New arg TRUNCATED.
10345 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10346 New functions.
10347 (rmail-mime-save): Warn if entity is truncated.
10348 (rmail-mime-toggle-hidden): Likewise, for showing.
10349 (rmail-mime-process-multipart): Record when an entity is truncated.
10350
10351 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10352 if ENTITY is a string.
10353
10354 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10355
10356 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
10357 of faces when `M-C-x'-ing their definitions (bug#8378).
10358 Also clean up the code slightly.
10359
10360 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
10361 because that makes the colors go away.
10362
10363 * mail/sendmail.el (send-mail-function): Change the default to
10364 `sendmail-query-once'.
10365 (sendmail-query-once): Add an autoload cookie.
10366
10367 * net/network-stream.el (network-stream-open-starttls): Try using
10368 a plain connection even if the server offered STARTTLS, and we
10369 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10370 capability. This should make smtpmail.el work in slightly more
10371 configurations.
10372
10373 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
10374
10375 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10376 New defun.
10377 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10378
10379 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10380
10381 * progmodes/sql.el: Version 3.0
10382 (sql-product-alist): Add product :completion-object,
10383 :completion-column, and :statement attributes.
10384 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
10385 (sql-mode-syntax-table): Mark all punctuation.
10386 (sql-font-lock-keywords-builder): Temporarily remove fallback on
10387 ansi keywords.
10388 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
10389 (sql-mode-oracle-font-lock-keywords): Improve.
10390 (sql-oracle-show-reserved-words): New function for development.
10391 (sql-product-font-lock): Simplify for source code buffers.
10392 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10393 New functions.
10394 (sql-highlight-product): Set product specific syntax table.
10395 (sql-mode-map): Add statement movement functions.
10396 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10397 New variable.
10398 (sql-statement-regexp, sql-beginning-of-statement)
10399 (sql-end-of-statement, sql-signum): New functions.
10400 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
10401 (sql-show-sqli-buffer): Bug fix.
10402 (sql-interactive-mode): Store connection data as buffer local.
10403 (sql-connect): Add NEW-NAME parameter. Redesign interaction
10404 with sql-interactive-mode.
10405 (sql-save-connection): Save buffer local settings.
10406 (sql-connection-menu-filter): Change menu entry name.
10407 (sql-product-interactive): Bug fix.
10408 (sql-preoutput-hold): New variable.
10409 (sql-interactive-remove-continuation-prompt): Bug fixes.
10410 (sql-debug-redirect): New variable.
10411 (sql-str-literal): New function.
10412 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
10413 Redesign.
10414 (sql-oracle-save-settings, sql-oracle-restore-settings)
10415 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10416 (sql-completion-object, sql-completion-column)
10417 (sql-completion-sqlbuf): New variables.
10418 (sql-build-completions-1, sql-build-completions)
10419 (sql-try-completion): New functions.
10420 (sql-read-table-name): Use them.
10421 (sql-contains-names): New buffer local variable.
10422 (sql-list-all, sql-list-table): Use it.
10423 (sql-oracle-completion-types): New variable.
10424 (sql-oracle-completion-object, sql-sqlite-completion-object)
10425 (sql-postgres-completion-object): New functions.
10426
10427 2011-07-06 Glenn Morris <rgm@gnu.org>
10428
10429 * window.el (pop-to-buffer): Doc fix.
10430
10431 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
10432
10433 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10434
10435 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
10438
10439 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
10440
10441 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
10442
10443 * button.el (button): Inherit from link face. Suggested by Dan
10444 Nicolaescu.
10445
10446 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10447
10448 * progmodes/gdb-mi.el: Fit in 80 columns.
10449 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10450 switch-to-buffer.
10451
10452 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10453 if imenu is simply not configured (bug#8941).
10454
10455 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10456
10457 * allout.el (allout-post-undo-hook): New allout outline-change
10458 event hook to signal undo activity.
10459 (allout-post-command-business): Run allout-post-undo-hook if an
10460 undo just occurred.
10461 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10462 * allout-widgets.el (allout-widgets-after-undo-function):
10463 Ensure the integrity of the current item's decoration after it has been
10464 in the vicinity of an undo.
10465 (allout-widgets-mode): Include allout-widgets-after-undo-function
10466 on the new allout-post-undo-hook.
10467
10468 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10469
10470 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10471 Let define-derived-mode define it.
10472 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10473 cycles of abbrev-table inheritance (bug#8998).
10474
10475 2011-07-05 Roland Winkler <winkler@gnu.org>
10476
10477 * textmodes/bibtex.el: Add support for biblatex.
10478 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10479 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10480 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10481 (bibtex-entry-alist, bibtex-field-alist): New variables.
10482 (bibtex-entry-field-alist): Obsolete alias for
10483 bibtex-BibTeX-entry-alist.
10484 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10485 (bibtex-set-dialect): New command.
10486 (bibtex-entry-type, bibtex-entry-head)
10487 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10488 Bind via bibtex-set-dialect.
10489 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10490 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10491 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10492 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10493 Define via bibtex-set-dialect.
10494 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10495 Obey bibtex-no-opt-remove-re.
10496 (bibtex-vec-push, bibtex-vec-incr): New functions.
10497 (bibtex-format-entry, bibtex-field-list)
10498 (bibtex-print-help-message, bibtex-validate)
10499 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10500
10501 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * progmodes/compile.el (compilation-goto-locus):
10504 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10505 * bs.el (bs-cycle-next, bs-cycle-previous):
10506 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10507 * bindings.el (mode-line-other-buffer):
10508 * autoinsert.el (auto-insert):
10509 * arc-mode.el (archive-extract):
10510 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10511
10512 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10515 Fix check of `emacs-lock-unlockable-modes'.
10516 Coerce true values of `emacs-lock--try-unlocking' to t.
10517
10518 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10519
10520 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10521 * emacs-lock.el: New file.
10522
10523 2011-07-05 Julien Danjou <julien@danjou.info>
10524
10525 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10526 than `boundp' to check if face is set.
10527
10528 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
10529
10530 * register.el (registerv-make):
10531 * window.el (window-min-height): Fix typos in docstrings.
10532
10533 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10534
10535 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
10536 Update doc string.
10537
10538 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10539
10540 * server.el (server-execute): Catch quit and call
10541 `server-return-error' to pass the error back to emacsclient and
10542 close the connection (bug#8942).
10543
10544 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10545
10546 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10547 insecure exception for current topic. Also note that auto-saves
10548 are handled differently.
10549
10550 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
10551 State variables for tracking auto-save inhibition situation.
10552
10553 (allout-write-contents-hook-handler): Rename from
10554 'allout-write-file-hook-handler', and describe how it depends on
10555 write-contents-functions sensitivity to non-nil value to prevent
10556 file write.
10557
10558 (allout-auto-save-hook-handler): Remove. auto-save does not check
10559 this in individual buffers, only in the starting buffer, so this
10560 is not the right way for us to inhibit auto-save in a buffer
10561 according to its condition.
10562
10563 (allout-mode): Use new allout-write-contents-hook-handler, and
10564 only with write-contents-functions. Remove auto-save provisions -
10565 they're implemented elsewhere.
10566
10567 (allout-before-change-handler): If undo is in progress, note that
10568 for attention of allout-post-command-business.
10569
10570 (allout-post-command-business): If the command we're following was
10571 an undo, check for change in the status of encrypted items and
10572 adjust auto-save inhibitions accordingly.
10573
10574 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10575 according to whether there are or aren't any plain-text topics
10576 pending encryption.
10577
10578 (allout-inhibit-auto-save-info-for-decryption):
10579 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10580 if there are plain-text topics pending encryption.
10581
10582 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10583 buffer-saved-size and some allout state to not inhibit auto-saves
10584 if there are no longer any plain-text topics pending encryption.
10585
10586 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10587 No longer provide for exemption of the current topic.
10588
10589 2011-07-04 Juri Linkov <juri@jurta.org>
10590
10591 Add 7z operations to delete and save changed members (bug#8968).
10592 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10593 New defcustoms.
10594 (archive-7z-write-file-member): New function.
10595 (archive-7z-summarize): Fix the number of dashes in the
10596 listing output.
10597
10598 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10599
10600 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10601 (bug#8958).
10602
10603 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
10604
10605 * bindings.el: Ignore next-buffer and previous-buffer in
10606 minibuffer-local-map.
10607
10608 * font-lock.el (font-lock-builtin-face): Change light background
10609 color to dark slate blue (Bug#6693).
10610
10611 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10612
10613 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10614
10615 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10616
10617 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10618 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10619 Add switch-to-buffer.
10620
10621 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10622
10623 * isearch.el (isearch-search-fun-function): Clarify further the
10624 meaning of the function returned.
10625
10626 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
10627
10628 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10629
10630 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10631 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10632 Use it.
10633 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10634 `tramp-default-remote-path' does not exist.
10635 (tramp-send-command-and-read): New optional argument NOERROR.
10636 (tramp-open-connection-setup-interactive-shell)
10637 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10638 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10639 (tramp-process-sentinel): Flush also process' connection property.
10640 (tramp-sh-handle-start-file-process): Do not set process
10641 sentinel. It is done now ...
10642 (tramp-maybe-open-connection): ... here. (Bug#8929)
10643
10644 2011-07-04 MON KEY <monkey@sandpframing.com>
10645
10646 * play/animate.el (animate-string): Doc fixes and allow changing
10647 the buffer name (bug#5417).
10648
10649 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10650
10651 * play/animate.el (animation-buffer-name): Rename from *animate*.
10652
10653 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10654
10655 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10656 This is simpler and helps future-proof the code.
10657 (timer-until): Use time-subtract and float-time.
10658 (timer--time-less-p): Use time-less-p.
10659
10660 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
10661
10662 * type-break.el (timep): Use the value of `float-time' to avoid a
10663 byte-compiler warning.
10664
10665 * server.el (server-eval-and-print): Return any result, even nil.
10666
10667 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10668
10669 * type-break.el: Accept time formats that the builtins accept.
10670 (timep, type-break-time-difference): Accept any format that
10671 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10672 This is simpler and helps future-proof the code.
10673 (type-break-time-difference): Round rather than ignoring
10674 subseconds components.
10675
10676 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10677
10678 * info.el (Info-apropos-matches): Make non-interactive, since it
10679 doesn't seem to do anything useful as a command (bug#8829).
10680
10681 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
10682
10683 * frame.el (frame-background-mode, frame-set-background-mode):
10684 Move from faces.el.
10685 (frame-default-terminal-background): New function.
10686
10687 * custom.el (custom-push-theme): Don't record faces in `changed'
10688 theme; this doesn't work correctly for per-frame face settings.
10689 (disable-theme): Use face-set-after-frame-default to reset faces.
10690 (custom--frame-color-default): New function.
10691
10692 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10693
10694 * dired.el (dired-flagging-regexp): Remove unused variable
10695 (bug#8769).
10696
10697 2011-03-29 Kevin Ryde <user42@zip.com.au>
10698
10699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10700 `perl-Test2' extend to match possible "fail #N" rep count
10701 (bug#8377).
10702
10703 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10704
10705 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10706 `smtpmail-via-smtp' now returns the error instead of nil.
10707
10708 * isearch.el (isearch-search-fun-function): Clarify the doc string
10709 (bug#8101).
10710
10711 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
10712
10713 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10714 unnecessary spaces (bug#8987).
10715
10716 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10717
10718 * net/network-stream.el (open-network-stream): Use the
10719 :end-of-capability command thoughout.
10720
10721 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10722
10723 * net/network-stream.el (open-network-stream): Add the
10724 :end-of-capability command parameter, used by pop3.el.
10725
10726 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10727
10728 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10729
10730 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10731 for list)" (bug#6475).
10732
10733 * files.el (file-expand-wildcards): Ignore non-readable
10734 sub-directories while trying to find matches instead of signaling
10735 an error (bug#6297).
10736
10737 * man.el (Man-reference-regexp): Allow matching possible
10738 word-wrapped references (bug#6289).
10739
10740 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10741 for consistency with the other vc buffers (bug#6197).
10742 (vc-checkin): Ditto.
10743
10744 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10745
10746 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10747
10748 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10749
10750 * custom.el (defcustom): Clarify that :set is only used in the
10751 Customize user interface (bug#6089).
10752
10753 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10754 associated with a file, refuse to run instead of erroring out
10755 (bug#6084).
10756
10757 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10758 the doc string, since it appears that using `fill-column' always
10759 controls the width (bug#7845).
10760
10761 * simple.el (shell-command-on-region): Say where the error output
10762 went if `shell-command-default-error-buffer' is set (bug#6857).
10763
10764 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10765
10766 * allout.el (allout-yank-processing): Adjust cursor position for
10767 backwards-deleted space.
10768
10769 (allout-rebullet-heading): Register changes with
10770 allout-exposure-changed-hook, so the modified topic is properly
10771 decorated.
10772
10773 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10774
10775 * minibuffer.el (completion-in-region): Document PREDICATE
10776 (bug#7136).
10777
10778 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10779 of keyword/argument pairs (bug#6904).
10780
10781 * replace.el (multi-occur):
10782 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
10783
10784 2011-07-02 Drew Adams <drew.adams@oracle.com>
10785
10786 * dired.el (dired-mark-if): Make the message about whether it's
10787 marking or unmarking clearer (bug#8523).
10788
10789 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10790
10791 * disp-table.el (display-table-print-array): New function.
10792 (describe-display-table): Use it to print the vectors more pretty
10793 (Bug#8859).
10794
10795 2011-07-02 Martin Rudalics <rudalics@gmx.at>
10796
10797 * window.el (window-state-get-1): Don't assign clone numbers.
10798 Add clone-of item to list of window parameters.
10799 (window-state-put-2): Don't process clone numbers.
10800 (display-buffer-alist): Fix doc-string.
10801
10802 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10803
10804 * subr.el (remq): Don't allocate if it's not needed.
10805 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10806 (keymap--merge-bindings): New functions.
10807 (keymap-canonicalize): Use them to refine the canonicalization.
10808 * minibuffer.el (minibuffer-local-completion-map)
10809 (minibuffer-local-must-match-map): Move initialization from C.
10810 (minibuffer-local-filename-completion-map): Move initialization from C;
10811 don't inherit from anything here.
10812 (minibuffer-local-filename-must-match-map): Make obsolete.
10813 (completing-read-default): Use make-composed-keymap to combine
10814 minibuffer-local-filename-completion-map with either
10815 minibuffer-local-must-match-map or
10816 minibuffer-local-filename-completion-map.
10817
10818 2011-07-01 Glenn Morris <rgm@gnu.org>
10819
10820 * type-break.el (type-break-time-sum): Use dolist.
10821
10822 * textmodes/flyspell.el (flyspell-word-search-backward):
10823 Replace CL function.
10824
10825 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10826
10827 * mouse.el (mouse--strip-first-event): New function.
10828 (function-key-map): Use it to map fringe clicks to normal clicks
10829 by default.
10830
10831 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10832 (vc-bzr-revision-completion-table): Add support for annotate and date.
10833
10834 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10835 inherit from parent.
10836
10837 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10838
10839 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
10840 (dired-show-file-type): Doc fixup (bug#8818).
10841
10842 * dired.el (dired-mode): Fix up the doc string as suggested by
10843 Drew Adams (bug#8817).
10844
10845 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10846 cookie, since the manual says that it should be possible to add
10847 this function to `find-file-hook' (bug#8709).
10848
10849 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10850
10851 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10852 here. Noted Ted Zlatanov as the maintainer.
10853 (cfengine-common-settings, cfengine-common-syntax): New functions
10854 to set up common things between `cfengine-mode' and
10855 `cfengine3-mode'.
10856 (cfengine3-mode): New mode.
10857 (cfengine3-defuns cfengine3-defuns-regex
10858 (cfengine3-class-selector-regex cfengine3-category-regex)
10859 (cfengine3-vartypes cfengine3-font-lock-keywords)
10860 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
10861 (cfengine3-indent-line): Add from cfengine3.el.
10862
10863 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
10864
10865 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10866
10867 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10868
10869 2011-07-01 Martin Rudalics <rudalics@gmx.at>
10870
10871 * window.el (same-window-buffer-names, same-window-regexps)
10872 (same-window-p, special-display-frame-alist)
10873 (special-display-popup-frame, special-display-function)
10874 (special-display-buffer-names, special-display-regexps)
10875 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10876 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10877 (split-window-preferred-function, split-height-threshold)
10878 (split-width-threshold, even-window-heights)
10879 (display-buffer-mark-dedicated, window-splittable-p)
10880 (split-window-sensibly, window-safely-shrinkable-p):
10881 Un-obsolete.
10882 (display-buffer): Don't spread args with function specifier
10883 because special-display-popup-frame won't like it.
10884
10885 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10886
10887 Time-stamp simplifications and fixes.
10888 These improve accuracy slightly, and future-proof the code
10889 against some potential changes to current-time format.
10890
10891 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10892 by using time-since and float-time.
10893
10894 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10895 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10896 + NNN microseconds".
10897
10898 * type-break.el (type-break-time-sum): Rewrite using time-add.
10899
10900 * play/hanoi.el (hanoi-current-time-float): Remove.
10901 All uses replaced by float-time.
10902
10903 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10904 This yields a more-accurate answer.
10905 (rng-time-to-float): Remove; no longer needed.
10906
10907 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10908
10909 * calendar/timeclock.el (timeclock-seconds-to-time):
10910 Defalias to seconds-to-time, since they're the same thing.
10911
10912 * emacs-lisp/elp.el (elp-elapsed-time):
10913 * emacs-lisp/benchmark.el (benchmark-elapse):
10914 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10915
10916 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10917
10918 * window.el (bury-buffer): Don't iconify the only frame.
10919 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10920 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10921
10922 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
10923
10924 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10925 Add mouse-yank-primary.
10926
10927 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10928
10929 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10930
10931 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10932
10933 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10934 (find-library-name): Use it to find relative load names when provided
10935 absolute file name (bug#8803).
10936
10937 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10938
10939 * textmodes/flyspell.el (flyspell-word): Consider words that
10940 differ only in case as potential doublons (bug#5687).
10941
10942 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10943 Remove two rather uninteresting debugging-like messages to make
10944 debbugs.el more silent.
10945
10946 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10947 a password-like phrase.
10948
10949 2011-06-30 Masatake YAMATO <yamato@redhat.com>
10950
10951 * progmodes/cc-guess.el: New file.
10952
10953 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
10954
10955 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10956 derived from `c-basic-common-init'.
10957
10958 * progmodes/cc-mode.el (top-level): Require cc-guess.
10959 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10960
10961 2011-06-30 Lawrence Mitchell <wence@gmx.li>
10962
10963 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10964
10965 2011-06-30 Alan Mackenzie <acm@muc.de>
10966
10967 * progmodes/cc-engine.el (c-guess-continued-construct):
10968 Correct the handling of template-args-cont, particularly for when font
10969 lock is disabled. Name this case as "CASE G".
10970
10971 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10972
10973 * allout.el (allout-yank-processing): Fix injection of extra space
10974 between bullet and non-whitespace character in first topic when
10975 pasting, ensuring that the actual spacing in the pasted topic
10976 following the bullet char is preserved. This extra space was
10977 causing pasted encrypted topics to get a decrypted status even
10978 when the content was actually still encrypted. Now the decryption
10979 status from before the paste is preserved.
10980
10981 (allout-flag-region): Set all allout overlays so they evaporate
10982 when reduced to zero length (evanescent), to prevent overlay
10983 leakage.
10984
10985 2011-06-30 Glenn Morris <rgm@gnu.org>
10986
10987 * w32-fns.el (w32-charset-info-alist): Declare.
10988
10989 * find-dired.el (find-grep-options): Simplify.
10990
10991 * term/ns-win.el (ns-set-resource): Declare.
10992
10993 * ses.el (row, col): Declare dynamic variables honestly.
10994
10995 * textmodes/reftex-parse.el (index-tags): Declare.
10996
10997 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
10998
10999 * cus-edit.el (customize-push-and-save): New function.
11000
11001 * files.el (hack-local-variables-confirm): Use it.
11002
11003 * custom.el (load-theme): New arg NO-CONFIRM.
11004 Use customize-push-and-save (Bug#8720).
11005 (custom-enabled-themes): Doc fix.
11006
11007 * cus-theme.el (customize-create-theme)
11008 (custom-theme-merge-theme): Callers to load-theme changed.
11009
11010 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11011
11012 * thingatpt.el (thing-at-point-short-url-regexp): Require that
11013 short URLs have at least one dot in them (bug #7614).
11014
11015 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
11016 nil, because using a pty is apparently too slow (bug #895).
11017
11018 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
11019
11020 * mail/sendmail.el (sendmail-query-once): New function.
11021 (sendmail-query-once-function): New variable.
11022
11023 2011-06-29 Glenn Morris <rgm@gnu.org>
11024
11025 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
11026
11027 * ses.el (top-level): Require cl when compiling.
11028 (ses-set-localvars): Fix error statement.
11029 Call it at compile time to silence a storm of warnings.
11030
11031 2011-06-29 Martin Rudalics <rudalics@gmx.at>
11032
11033 * window.el (normalize-live-buffer): Rename to
11034 window-normalize-buffer.
11035 (normalize-live-frame): Rename to window-normalize-frame.
11036 (normalize-any-window): Rename to window-normalize-any-window.
11037 (normalize-live-window): Rename to window-normalize-live-window.
11038 (make-window-atom): Rename to window-make-atom.
11039 (window-resize-reset): Rename to window--resize-reset.
11040 (window-resize-reset-1): Rename to window--resize-reset-1.
11041 (resize-mini-window): Rename to window--resize-mini-window.
11042 (resize-subwindows-skip-p): Rename to
11043 window--resize-subwindows-skip-p.
11044 (resize-subwindows-normal): Rename to
11045 window--resize-subwindows-normal.
11046 (resize-subwindows): Rename to window--resize-subwindows.
11047 (resize-other-windows): Rename to window--resize-siblings.
11048 (resize-this-window): Rename to window--resize-this-window.
11049 (resize-root-window): Rename to window--resize-root-window.
11050 (resize-root-window-vertically): Rename to
11051 window--resize-root-window-vertically.
11052 (normalize-buffer-to-display): Rename to
11053 window-normalize-buffer-to-display.
11054 (normalize-buffer-to-switch-to): Rename to
11055 window-normalize-buffer-to-switch-to.
11056 Correspondingly update all callers of the functions listed
11057 above.
11058 (display-buffer-alist, display-buffer-normalize-arguments)
11059 (display-buffer-normalize-options, display-buffer)
11060 (display-buffer-alist-set): Use "function" instead of
11061 "fun-with-args".
11062
11063 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
11064
11065 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
11066 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
11067 debbugs.gnu.org. Mention acknowledgment email.
11068
11069 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
11070
11071 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
11072 buffer multibyteness, since it shouldn't matter.
11073
11074 2011-06-28 Martin Rudalics <rudalics@gmx.at>
11075
11076 * window.el (display-buffer-in-side-window): Handle dedicated
11077 windows as in display-buffer-reuse-window.
11078 (display-buffer-normalize-alist): Use value of override
11079 specifier.
11080 (display-buffer-normalize-specifiers): Use value of
11081 other-window-means-other-frame specifier.
11082 (display-buffer-alist): Rewrite some texts in widgets.
11083 (display-buffer): Spread arguments when calling function
11084 specified by fun-with-args.
11085
11086 2011-06-28 Deniz Dogan <deniz@dogan.se>
11087
11088 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
11089 Unnest `let'.
11090
11091 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
11092 selectors (Bug#5732).
11093 (css-proprietary-nmstart-re): Use `regexp-opt'.
11094
11095 2011-06-27 Jari Aalto <jari.aalto@cante.net>
11096
11097 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
11098 (eshell-ls-date-format): New defcustom.
11099 (eshell-ls-file): Use it.
11100
11101 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11102
11103 * help-fns.el (describe-variable): Fix message for terminal-local vars.
11104
11105 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
11106
11107 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
11108 (ange-ftp-make-tmp-name): New arg.
11109 (ange-ftp-file-local-copy): Use it.
11110
11111 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
11112
11113 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
11114 no-conversion (Bug#8870).
11115
11116 2011-06-27 Martin Rudalics <rudalics@gmx.at>
11117
11118 * window.el (window-right, window-left, window-child)
11119 (window-child-count, window-last-child)
11120 (window-iso-combination-p, walk-window-tree-1)
11121 (window-atom-check-1, window-tree-1, delete-window)
11122 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
11123 new naming conventions - window-vchild, window-hchild,
11124 window-next and window-prev are now called window-top-child,
11125 window-left-child, window-next-sibling and window-prev-sibling
11126 respectively.
11127 (resize-window-reset): Rename to window-resize-reset.
11128 (resize-window-reset-1): Rename to window-resize-reset-1.
11129 (resize-window): Rename to window-resize.
11130 (window-min-height, window-min-width)
11131 (resize-mini-window, resize-this-window, resize-root-window)
11132 (resize-root-window-vertically, adjust-window-trailing-edge)
11133 (enlarge-window, shrink-window, maximize-window)
11134 (minimize-window, delete-window, quit-restore-window)
11135 (split-window, balance-windows, balance-windows-area-adjust)
11136 (balance-windows-area, window-state-put-2)
11137 (display-buffer-even-window-sizes, display-buffer-set-height)
11138 (display-buffer-set-width, set-window-text-height)
11139 (fit-window-to-buffer): Rename all "resize-window" prefixed
11140 calls to use the "window-resize" prefix convention.
11141 (display-buffer-alist): Fix symbol for label specifier.
11142 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
11143 corresponding specifier.
11144 Reported by Juanma Barranquero <lekktu@gmail.com>.
11145
11146 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11147
11148 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
11149 convention.
11150 (ses-call-printer): Does not pass an empty string to formatter when the
11151 cell is empty to keep from barking printer Calc math-format-value.
11152
11153 2011-06-27 Richard Stallman <rms@gnu.org>
11154
11155 * battery.el (battery-mode-line-limit): New variable.
11156 (battery-update): Handle it.
11157
11158 * mail/rmailmm.el (rmail-mime-process-multipart):
11159 Handle truncated messages.
11160
11161 2011-06-27 Glenn Morris <rgm@gnu.org>
11162
11163 * progmodes/flymake.el (flymake-err-line-patterns):
11164 Allow for column numbers in the ant/javac pattern. (Bug#8866)
11165
11166 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
11167
11168 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
11169 (ses--clean-!, ses--clean-_): New functions.
11170 (ses-range): Add configurability of readout order, and conversion
11171 to Calc vector.
11172
11173 * ses.el (ses-repair-cell-reference-all): New function.
11174 (ses-cell-symbol): Set macro as safe, so that it can be used in
11175 formulas.
11176
11177 * ses.el: Update cycle detection algorithm.
11178 (ses-localvars): Add ses--Dijkstra-attempt-nb and
11179 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
11180 (ses-set-localvars): New function.
11181 (ses-make-cell): Add property-list as a cell element.
11182 (ses-cell-property-get-fun, ses-cell-property-get)
11183 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
11184 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
11185 New functions.
11186 (ses-cell-property-set, ses-cell-property-pop)
11187 (ses-cell-property-get-handle): New macro.
11188 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
11189 New aliases, used for code readability.
11190 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
11191 cycle detection.
11192 (ses-self-reference-early-detection): New defcustom.
11193 (ses-formula-references): Robustify against self-referring cells.
11194 (ses-mode): Use ses-set-localvars.
11195 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
11196 before lauching the update processing.
11197 (ses-initialize-Dijkstra-attempt): New function.
11198 (ses-recalculate-cell): Update for cycle detection based on
11199 Dijkstra algorithm.
11200
11201 * ses.el: Fix commenting and indenting convention.
11202
11203 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
11204
11205 * bs.el (bs-cycle-next): Complete last change.
11206
11207 2011-06-27 Drew Adams <drew.adams@oracle.com>
11208
11209 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
11210
11211 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11212
11213 * net/network-stream.el (network-stream-open-starttls):
11214 Don't re-get capabilities unless we've reestablished connection.
11215 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
11216
11217 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11218 to binary to possibly avoid line encoding issues on Windows (among
11219 other things).
11220
11221 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11222
11223 * net/network-stream.el (open-network-stream): Return an :error
11224 saying what the problem was, if possible.
11225
11226 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11227 server.
11228
11229 * net/network-stream.el (network-stream-open-starttls): If we
11230 wanted to use STARTTLS, and the server offered it, but we weren't
11231 able to because we had no STARTTLS support, then close the connection.
11232 (open-network-stream): Return an :error element, if present.
11233
11234 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11235
11236 * hl-line.el (hl-line-sticky-flag): Doc fix.
11237 (global-hl-line-sticky-flag): New option (Bug#8323).
11238 (global-hl-line-highlight): Obey it.
11239
11240 * vc/vc.el (vc-revert-show-diff): Default to t.
11241
11242 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11243
11244 * allout-widgets.el (allout-widgets-post-command-business):
11245 Stop decorating intermediate isearch matches. They're not being
11246 undecorated when an isearch is continued past, and isearch
11247 automatically collapses them. This leads to "widget leaks", where
11248 decorated items accumulate in collapsed areas. Lines with lots of
11249 hidden widgets can slow down cursor travel, substantially.
11250 Too much complicated machinery would be needed to ensure undecoration,
11251 so we're doing without this nicety.
11252
11253 (allout-widgets-tally-string): Don't try to do a hash-table-count
11254 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11255 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11256 *Messages* when allout-widgets-maintain-tally is t.
11257
11258 2011-06-26 Martin Rudalics <rudalics@gmx.at>
11259
11260 * window.el (display-buffer-normalize-argument): Rename to
11261 display-buffer-normalize-arguments. Handle special meaning of
11262 LABEL argument. Respect special-display-function when popping up
11263 a new frame. Fix code searching for a window showing the buffer
11264 on another frame.
11265 (display-buffer-normalize-specifiers):
11266 Call display-buffer-normalize-arguments.
11267 (display-buffer-in-window): Don't undedicate the window if its
11268 buffer remains the same.
11269 Reported by Drew Adams <drew.adams@oracle.com>.
11270 (display-buffer-alist): Add choice for same-window macro
11271 specfier.
11272 (display-buffer): Mention special meaning of LABEL argument in
11273 doc-string. Fix quoting. Don't pop up a new frame even as
11274 fallback.
11275
11276 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
11277
11278 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11279 avoid deleting the current window in some cases (bug#8911).
11280
11281 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11282
11283 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11284 (Bug#8934)
11285
11286 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11287
11288 * net/network-stream.el (network-stream-open-starttls):
11289 Use built-in TLS support if `gnutls-available-p' is true.
11290 (network-stream-open-tls): Ditto.
11291
11292 2011-06-26 Leo Liu <sdl.web@gmail.com>
11293
11294 * register.el (registerv): New struct.
11295 (registerv-make): New function.
11296 (jump-to-register, describe-register-1, insert-register):
11297 Support the jump-func, print-func and insert-func slot of a registerv
11298 struct. (Bug#8415)
11299
11300 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
11301
11302 * vc/vc.el (vc-revert-show-diff): New defcustom.
11303 (vc-diff-internal): New arg specifying diff buffer.
11304 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11305 reuse an existing *vc-diff* buffer (Bug#8927).
11306
11307 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11308
11309 2011-06-26 Glenn Morris <rgm@gnu.org>
11310
11311 * progmodes/f90.el (f90-critical-indent): New option.
11312 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11313 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11314 (f90-mode): Doc fix.
11315 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11316 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11317 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11318 (f90-match-end): Handle block, critical.
11319
11320 2011-06-25 Glenn Morris <rgm@gnu.org>
11321
11322 * calendar/diary-lib.el (diary-included-files): Doc fix.
11323 (diary-include-files): New function, extracted from
11324 diary-include-other-diary-files and diary-mark-included-diary-files.
11325 (diary-include-other-diary-files, diary-mark-included-diary-files):
11326 Just call diary-include-files.
11327 (diary-mark-entries): Reset diary-included-files on first call.
11328
11329 * calendar/diary-lib.el (diary-mark-entries)
11330 (diary-mark-included-diary-files):
11331 Visit included diary-files in temp buffers.
11332
11333 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11334 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11335 (f90-start-block-re, f90-imenu-generic-expression)
11336 (f90-looking-at-program-block-start, f90-no-block-limit):
11337 Add support for submodules.
11338
11339 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11340 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
11341
11342 2011-06-25 Eli Zaretskii <eliz@gnu.org>
11343
11344 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11345 buffer-file-type before setting its value, to avoid disastrous
11346 global effects on decoding files for DOS/Windows systems. (Bug#8780)
11347
11348 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11349
11350 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11351
11352 * ses.el (ses-unload-function):
11353 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11354
11355 * proced.el (proced-unload-function):
11356 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11357
11358 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11359
11360 * server.el (server-create-window-system-frame): Add parameters arg.
11361 (server-process-filter): Doc fix. Handle frame-parameters.
11362
11363 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
11364
11365 Fix bug#8730, bug#8781.
11366
11367 * loadhist.el (unload--set-major-mode): New function.
11368 (unload-feature): Use it.
11369
11370 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11371 (python-unload-function): New function.
11372
11373 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11376
11377 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11378
11379 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11380 the candidates list.
11381
11382 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
11383
11384 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11385
11386 2011-06-23 Richard Stallman <rms@gnu.org>
11387
11388 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11389 (rmail-variables): Set next-error-move-function.
11390 (rmail-what-message): Take argument POS.
11391 (rmail-next-error-move): New function.
11392
11393 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11394
11395 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11396 messages for adjacent non-terminals.
11397
11398 2011-06-23 Richard Stallman <rms@gnu.org>
11399
11400 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
11401 (rmail-show-message-1): Preserve buffer modified flag.
11402 (rmail-start-mail): Don't specify use of rmail-mail-return;
11403 that's done by mail-bury now.
11404 (rmail-mail-return): Handle arg NEWBUF.
11405
11406 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
11407
11408 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11409 SIZE is a number.
11410
11411 2011-06-23 Martin Rudalics <rudalics@gmx.at>
11412
11413 * window.el (get-lru-window, get-mru-window)
11414 (get-largest-window): Never return a minibuffer window.
11415 (display-buffer-pop-up-window): Fix a bug that could lead to
11416 reusing the minibuffer window.
11417 (display-buffer): Pass original specifier argument to
11418 display-buffer-function instead of the normalized one.
11419 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11420
11421 2011-06-22 Leo Liu <sdl.web@gmail.com>
11422
11423 * minibuffer.el (completing-read-function)
11424 (completing-read-default): Move from minibuf.c
11425
11426 2011-06-22 Richard Stallman <rms@gnu.org>
11427
11428 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11429 to Rmail even if not started by a special Rmail command.
11430
11431 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11432 Copy the buffer currently showing just one message.
11433
11434 2011-06-22 Roland Winkler <winkler@gnu.org>
11435
11436 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11437 (bibtex-clean-entry): First delete the old key so that a
11438 customized algorithm for generating the new key does not get
11439 confused by the old key.
11440 (bibtex-url): Obey regexp of first step.
11441 (bibtex-search-entries): Do not use add-to-list with local
11442 list-var.
11443
11444 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11445
11446 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11447 stored a user name, then query for the password first, instead of
11448 waiting for SMTP to give an error message and the trying again.
11449
11450 2011-06-22 Lawrence Mitchell <wence@gmx.li>
11451
11452 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11453 BUFFER in call-process.
11454
11455 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11456
11457 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11458 QUIT twice.
11459 (smtpmail-try-auth-methods): Require user name and password from
11460 auth-source.
11461
11462 2011-06-22 Martin Rudalics <rudalics@gmx.at>
11463
11464 * window.el (display-buffer-default-specifiers)
11465 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11466 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
11467 (split-window): Normalize SIDE argument (Bug#8916).
11468
11469 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11470 (special-display-frame-alist, special-display-popup-frame):
11471 Remove duplicate declarations. These are now in window.el.
11472
11473 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11474
11475 * mail/smtpmail.el (smtpmail-via-smtp):
11476 Set :use-starttls-if-possible so that we always use STARTTLS if the
11477 server supports it. SMTP servers that support STARTTLS commonly
11478 require it.
11479
11480 * net/network-stream.el (network-stream-open-starttls): Support
11481 upgrading to STARTTLS always, even if we don't have built-in support.
11482 (open-network-stream): Add the :always-query-capabilities keyword.
11483
11484 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11485 upgrades with `open-network-stream', and rely solely on
11486 auth-source for all credentials. Big changes throughout the file,
11487 but in particular:
11488 (smtpmail-auth-credentials): Remove.
11489 (smtpmail-starttls-credentials): Remove.
11490 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11491 MAIL FROM, too.
11492
11493 * net/network-stream.el (network-stream-open-starttls):
11494 Provide support for client certificates both for external and built-in
11495 STARTTLS.
11496 (auth-source): Require.
11497 (open-network-stream): Document the :client-certificate keyword.
11498 (network-stream-certificate): Change cert-cert to cert and
11499 cert-key to key.
11500
11501 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
11502
11503 * net/tramp-cache.el (top): Don't load the persistency file when
11504 "emacs -Q" has been called.
11505
11506 2011-06-21 Tim Harper <timcharper@gmail.com>
11507
11508 * term/ns-win.el (ns-initialize-window-system):
11509 Set application-specific `ApplePressAndHoldEnabled' system
11510 resource to NO as it is not yet supported by the NS port.
11511
11512 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
11513
11514 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11515 (list-dynamic-libraries): ...not here.
11516
11517 2011-06-21 Leo Liu <sdl.web@gmail.com>
11518
11519 * subr.el (sha1): Implement sha1 using secure-hash.
11520
11521 2011-06-21 Martin Rudalics <rudalics@gmx.at>
11522
11523 * window.el (display-buffer-alist): In default value do not
11524 enforce searching a window on any but the selected frame.
11525 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11526 (display-buffer-select-window): Remove function.
11527 (display-buffer-in-window): When a window on another frame gets
11528 reused, do not select it any more but just raise its frame if
11529 necessary (Bug#8851) and (Bug#8856).
11530 (display-buffer-normalize-options): Handle pop-up-frames related
11531 options more faithfully.
11532 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11533 window if it is on another frame.
11534 (display-buffer-alist, display-buffer-default-specifiers):
11535 Don't make new frame unsplittable by default.
11536 (display-buffer-normalize-argument): Fix doc-string typo and use
11537 'same-frame-other-window instead of 'other-window when associating
11538 with display-buffer-macro-specifiers.
11539
11540 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11541
11542 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11543 New functions.
11544 (5x5-mode-map, 5x5-mode-menu): Bind them.
11545 (5x5-draw-grid): Tweak the solver's rendering.
11546
11547 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11550 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11551
11552 2011-06-21 Drew Adams <drew.adams@oracle.com>
11553
11554 * menu-bar.el: Use function variable instead of switch-to-buffer.
11555 (menu-bar-select-buffer-function): New variable.
11556 (menu-bar-update-buffers): Use it (bug#8876).
11557
11558 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11559
11560 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11561 variable's status.
11562
11563 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11564
11565 * x-dnd.el (x-dnd-version-from-flags)
11566 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11567 and long as number (Bug#8899).
11568 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11569
11570 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
11573 (completion-try-completion, completion-all-completions): Compute the
11574 metadata argument if it's missing; make it optional (bug#8795).
11575
11576 * wid-edit.el: Use lex-bind and move towards completion-at-point.
11577 (widget-complete): Use new :completion-function property.
11578 (widget-completions-at-point): New function.
11579 (default): Use :completion-function instead of :complete.
11580 (widget-default-completions): Rename from widget-default-complete;
11581 Rewrite.
11582 (widget-string-complete, widget-file-complete, widget-color-complete):
11583 Remove functions.
11584 (file, symbol, function, variable, coding-system, color):
11585 * international/mule-cmds.el (default-input-method, charset)
11586 (language-info-custom-alist):
11587 * cus-edit.el (face): Use new property :completions.
11588
11589 * progmodes/pascal.el (pascal-completions-at-point): New function.
11590 (pascal-mode): Use it.
11591 (pascal-mode-map): Use completion-at-point.
11592 (pascal-toggle-completions): Make obsolete.
11593 (pascal-complete-word, pascal-show-completions):
11594 * progmodes/octave-mod.el (octave-complete-symbol):
11595 Redefine as obsolete alias.
11596 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11597 Signal absence of completion info for old Octave,
11598 (inferior-octave-complete): Redefine as obsolete alias.
11599 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11600 (meta-completions-at-point): Rename from meta-complete-symbol and
11601 adapt it for use on completion-at-point-functions.
11602 (meta-common-mode): Use it.
11603 (meta-looking-at-backward, meta-match-buffer): Remove.
11604 (meta-complete-symbol): Redefine as obsolete alias.
11605 (meta-common-mode-map): Use completion-at-point.
11606 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11607 (makefile-mode-map): Use completion-at-point.
11608 (makefile-completions-at-point): Rename from makefile-complete and
11609 adapt it for use on completion-at-point-functions.
11610 (makefile-mode): Use it.
11611 (makefile-complete): Redefine as obsolete alias.
11612
11613 2011-06-20 Deniz Dogan <deniz@dogan.se>
11614
11615 * net/rcirc.el: Delete trailing whitespaces once and for all.
11616
11617 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11618
11619 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11620
11621 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
11622
11623 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11624
11625 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11626
11627 2011-06-19 Martin Rudalics <rudalics@gmx.at>
11628
11629 * window.el (display-buffer-other-window-means-other-frame):
11630 Call display-buffer-normalize-alist.
11631 (display-buffer-normalize-specifiers-1): Rename to
11632 display-buffer-normalize-argument. New argument other-frame.
11633 Rewrite.
11634 (display-buffer-normalize-specifiers-2): Rename to
11635 display-buffer-normalize-options.
11636 (display-buffer-normalize-alist-1): New function.
11637 (display-buffer-normalize-specifiers-3): Rename to
11638 display-buffer-normalize-alist.
11639 Call display-buffer-normalize-alist-1.
11640 (display-buffer-normalize-options-inhibit): New variable.
11641 (display-buffer-normalize-specifiers): Rewrite calling
11642 display-buffer-normalize-alist,
11643 display-buffer-normalize-argument, and
11644 display-buffer-normalize-options. Don't call the latter if
11645 display-buffer-normalize-options-inhibit is non-nil.
11646 (frame-auto-delete): New option.
11647 (window-deletable-p): Use frame-auto-delete.
11648 (window-list-no-nils, window-state-ignored-parameters)
11649 (window-state-get-1, window-state-get, window-state-put-list)
11650 (window-state-put-1, window-state-put-2, window-state-put):
11651 New functions.
11652 (display-buffer-normalize-options): Move special-display-p group
11653 after pop-up-frame group (Bug#8851) and (Bug#8856).
11654
11655 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
11656
11657 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11658 groups (Bug#8776).
11659 (rx-submatch-n): New function.
11660 (rx): Document it.
11661
11662 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11663 (Bug#8768).
11664
11665 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11666
11667 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11668
11669 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11670 anytime existing face settings are present (Bug#8889).
11671
11672 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11673 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11674 Remove unused argument.
11675
11676 2011-06-18 Martin Rudalics <rudalics@gmx.at>
11677
11678 * window.el (display-buffer-default-specifiers):
11679 Remove pop-up-frame. Add pop-up-window-min-height,
11680 pop-up-window-min-width, and another reuse-window specifier
11681 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
11682 (display-buffer-normalize-specifiers-2):
11683 Handle split-height-threshold and split-width-threshold also when
11684 pop-up-windows is unset. Add a reuse-window specifier for the
11685 case popping up a new window fails.
11686 (special-display-popup-frame): Remove double quoting.
11687 (display-buffer-normalize-specifiers-1): Fix thinko.
11688
11689 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11690
11691 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11692 according to comint-completion-addsuffix.
11693
11694 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11695 (pcomplete-suffix-list): Mark as obsolete.
11696 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11697 pcomplete-seen in the closure.
11698 (pcomplete-comint-setup): Setup completion-at-point as well.
11699 (pcomplete--entries): New function.
11700 (pcomplete--env-regexp): New var.
11701 (pcomplete-entries): Rewrite to work with partial-completion and
11702 without relying on pcomplete-suffix-list.
11703 (pcomplete-pare-list): Remove, unused.
11704
11705 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11706
11707 * window.el (display-buffer-alist): Set pop-up-window-min-height
11708 and pop-up-window-min-width in default value. Reported by
11709 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11710 other-window-means-other-frame.
11711 (display-buffer-macro-specifiers): Comment out entry for
11712 other-window specifier.
11713 (display-buffer-other-window-means-other-frame): New function.
11714 (display-buffer-normalize-specifiers-1): New arguments
11715 buffer-name and label. Treat other-window case specially.
11716 (display-buffer-normalize-specifiers-2): Treat other-window case
11717 specially.
11718 (display-buffer-normalize-specifiers-3): New function.
11719 (display-buffer-normalize-specifiers):
11720 Call display-buffer-normalize-specifiers-3.
11721
11722 2011-06-17 Martin Rudalics <rudalics@gmx.at>
11723
11724 * window.el (same-window-p): Fix two typos introduced when
11725 adding with-no-warnings.
11726 (display-buffer-normalize-specifiers-1): Don't check
11727 pop-up-frames for 'unset initialization.
11728 (display-buffer-normalize-specifiers-2): Major rewrite using
11729 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11730 (pop-up-frames, display-buffer-reuse-frames)
11731 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11732 Suggested by David Engster <deng@randomsample.de>.
11733 (even-window-heights): Initialize to 'unset.
11734 (display-buffer-alist-set): Handle new 'unset initializations.
11735 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11736 other window case.
11737
11738 2011-06-16 Martin Rudalics <rudalics@gmx.at>
11739
11740 * window.el (display-buffer-normalize-specifiers-1):
11741 Respect current value of pop-up-frames for most reasonable values of
11742 second argument of display-buffer (Bug#8865).
11743 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11744 (switch-to-buffer-other-window-same-frame)
11745 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11746 Adams (Bug#8875).
11747 (display-buffer): Don't check noninteractive when calling
11748 display-buffer-pop-up-frame.
11749 (display-buffer-pop-up-frame): Never pop up a frame in
11750 noninteractive mode (Bug#8857).
11751 (enlarge-window, shrink-window): Don't report an error when the
11752 window can't be resized as requested (Bug#8862).
11753
11754 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11757
11758 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11759
11760 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11761
11762 2011-06-15 Alan Mackenzie <acm@muc.de>
11763
11764 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11765 for declarators, disable knr checking to speed up for normal files.
11766 2: Refactor, replacing a sequence of nested if forms by a cond form.
11767
11768 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11769
11770 * net/network-stream.el (open-network-stream): Add the keyword
11771 :always-query-capabilities for the case where you want to force a
11772 `plain' network connection, but the protocol still requires the
11773 capabilitiy command (i.e., SMTP and EHLO).
11774
11775 * subr.el (process-live-p): Rename from `process-alive-p' for
11776 consistency with other `-live-p' functions.
11777
11778 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11779
11780 * window.el (same-window-buffer-names, same-window-regexps)
11781 (special-display-frame-alist, special-display-popup-frame)
11782 (special-display-function, special-display-buffer-names)
11783 (special-display-regexps, pop-up-frame-alist)
11784 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11785 (pop-up-windows, split-window-preferred-function)
11786 (split-height-threshold, split-width-threshold, even-window-heights)
11787 (display-buffer-mark-dedicated): Don't encourage the use of
11788 display-buffer-alist from Elisp code.
11789
11790 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11791
11792 * progmodes/python.el (python-mode): Derive from prog-mode.
11793 * progmodes/ps-mode.el (ps-mode):
11794 * progmodes/mixal-mode.el (mixal-mode):
11795 * progmodes/cfengine.el (cfengine-mode):
11796 * progmodes/ld-script.el (ld-script-mode): Likewise.
11797
11798 2011-06-15 Martin Rudalics <rudalics@gmx.at>
11799
11800 * window.el (display-buffer-alist): Trim default value to avoid
11801 popping up a new frame (Bug#8857) or reusing an arbitrary window
11802 on another frame.
11803 (display-buffer): Do not fall back on popping up a new frame in
11804 batch mode (Bug#8857).
11805
11806 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
11807
11808 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11809 (custom-theme-summary): New function.
11810 (customize-themes): Use it.
11811
11812 2011-06-13 Glenn Morris <rgm@gnu.org>
11813
11814 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11815
11816 2011-06-13 Martin Rudalics <rudalics@gmx.at>
11817
11818 * help.el (help-window): Remove variable.
11819 (help-window-point-marker, temp-buffer-max-height)
11820 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11821 (help-print-return-message): Don't set help-window.
11822 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11823 (help-window-setup-finish): Remove.
11824 (help-window-display-message, help-window-setup)
11825 (with-help-window): Major rewrite based on new
11826 display-buffer-window variable.
11827
11828 * help-mode.el (help-mode-finish): Remove help-window related
11829 code.
11830
11831 * view.el (view-exits-all-viewing-windows): Remove reference to
11832 view-return-to-alist in doc-string.
11833 (view-return-to-alist): Make obsolete.
11834 (view-buffer): Call pop-to-buffer-same-window and remove
11835 undo-window code.
11836 (view-buffer-other-window): Call pop-to-buffer-other-window and
11837 simplify code. Ignore second argument.
11838 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11839 simplify code. Ignore second argument.
11840 (view-return-to-alist-update): Make obsolete.
11841 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11842 Rewrite using quit-restore window parameters.
11843 (view-mode-exit): Rename second argument to EXIT-ONLY.
11844 Rewrite using quit-restore-window.
11845 (View-exit, View-exit-and-edit, View-leave, View-quit)
11846 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11847 appropriate arguments.
11848 (view-end-message): Use quit-restore window parameter.
11849
11850 * window.el (display-buffer-function): Rewrite doc-string.
11851 (display-buffer-window, display-buffer-alist): New variables.
11852 (display-buffer-split-specifiers)
11853 (display-buffer-side-specifiers)
11854 (display-buffer-macro-specifiers): New constants.
11855 (display-buffer-even-window-sizes, display-buffer-set-height)
11856 (display-buffer-set-width, display-buffer-select-window)
11857 (display-buffer-in-window, display-buffer-reuse-window)
11858 (display-buffer-split-window-1, display-buffer-split-window)
11859 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11860 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11861 (display-buffer-in-side-window, normalize-buffer-to-display)
11862 (display-buffer-normalize-specifiers-1)
11863 (display-buffer-normalize-specifiers-2)
11864 (display-buffer-normalize-specifiers, display-buffer-frame):
11865 New functions.
11866 (display-buffer): Major rewrite.
11867 (display-buffer-other-window, display-buffer-other-frame)
11868 (pop-to-buffer, switch-to-buffer-other-window)
11869 (switch-to-buffer-other-frame): Rewrite.
11870 (display-buffer-same-window, display-buffer-same-frame)
11871 (display-buffer-same-frame-other-window)
11872 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11873 (pop-to-buffer-other-window)
11874 (pop-to-buffer-same-frame-other-window)
11875 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11876 (switch-to-buffer-other-window-same-frame): New functions.
11877 (same-window-p, special-display-p): Rewrite disabling warnings.
11878 Make obsolete.
11879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11880 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11881 Make obsolete
11882 (same-window-buffer-names, same-window-regexps)
11883 (special-display-frame-alist, special-display-popup-frame)
11884 (special-display-function, special-display-buffer-names)
11885 (special-display-regexps, pop-up-frame-alist)
11886 (pop-up-frame-function, split-window-preferred-function)
11887 (split-height-threshold, split-width-threshold)
11888 (even-window-heights): Make obsolete.
11889
11890 2011-06-12 Glenn Morris <rgm@gnu.org>
11891
11892 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
11893 Misc simplifications.
11894
11895 2011-06-12 Martin Rudalics <rudalics@gmx.at>
11896
11897 * window.el (window-safely-shrinkable-p): Restore function which
11898 was inadvertently removed in change from 2011-06-11. Declare as
11899 obsolete.
11900
11901 * calendar/calendar.el (calendar-generate-window):
11902 Use window-iso-combined-p instead of combination of one-window-p and
11903 window-safely-shrinkable-p.
11904
11905 2011-06-12 Glenn Morris <rgm@gnu.org>
11906
11907 * progmodes/fortran.el (fortran-mode-syntax-table):
11908 * progmodes/f90.el (f90-mode-syntax-table):
11909 Set % to punctuation. (Bug#8820)
11910 (f90-find-tag-default): Remove, no longer needed.
11911
11912 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11913
11914 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11915
11916 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
11917
11918 * image.el (image-animated-p): Return animation delay in seconds.
11919 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11920 (image-animate-timeout): Remove DELAY argument. Don't assume
11921 every subimage has the same delay; get it from image-animated-p.
11922 (image-animate): Caller changed.
11923
11924 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
11925
11926 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11927 to ignored backtrace functions.
11928
11929 2011-06-11 Glenn Morris <rgm@gnu.org>
11930
11931 * calendar/appt.el (appt-disp-window-function): Doc fix.
11932 (appt-check): Handle overlapping appointments. (Bug#8337)
11933
11934 2011-06-11 Martin Rudalics <rudalics@gmx.at>
11935
11936 * window.el (window-tree-1, window-tree): New functions, moving
11937 the latter to window.el.
11938 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11939 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11940 (bw-refresh-edges): Remove.
11941 (balance-windows-1, balance-windows-2): New functions.
11942 (balance-windows): Rewrite in terms of window tree functions,
11943 balance-windows-1 and balance-windows-2.
11944 (bw-adjust-window): Remove.
11945 (balance-windows-area-adjust): New function with functionality of
11946 bw-adjust-window but using resize-window.
11947 (set-window-text-height): Rewrite doc-string.
11948 Use normalize-live-window and resize-window.
11949 (enlarge-window-horizontally, shrink-window-horizontally):
11950 Rename argument to DELTA.
11951 (window-buffer-height): New function.
11952 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11953 Rewrite using new window resize routines.
11954 (kill-buffer-and-window, mouse-autoselect-window-select):
11955 Use ignore-errors instead of condition-case.
11956 (quit-window): Call delete-frame instead of delete-windows-on
11957 for the only buffer on frame.
11958
11959 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11960
11961 * loadup.el (top-level): Load window before files for the sake
11962 of replace-buffer-in-windows.
11963
11964 * files.el (read-buffer-to-switch)
11965 (switch-to-buffer-other-window)
11966 (switch-to-buffer-other-frame, display-buffer-other-frame):
11967 Move to window.el.
11968
11969 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11970 (previous-buffer): Move to window.el.
11971
11972 * bindings.el (unbury-buffer): Move to window.el.
11973
11974 * window.el (delete-other-windows-vertically): Move after
11975 definition of delete-other-windows.
11976 (other-window, delete-windows-on, replace-buffer-in-windows):
11977 Move here from window.c.
11978 (record-window-buffer, unrecord-window-buffer)
11979 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11980 (switch-to-next-buffer): New functions.
11981 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11982 from simple.el. Call switch-to-next-buffer.
11983 (previous-buffer): Move here from simple.el.
11984 Call switch-to-prev-buffer.
11985 (bury-buffer): Move here from buffer.c. Switch to previous
11986 buffer when window cannot be deleted.
11987 (unbury-buffer): Move here from bindings.el.
11988 (ctl-x-map): Move binding for other-window from window.c to
11989 here.
11990 (read-buffer-to-switch, switch-to-buffer-other-window)
11991 (switch-to-buffer-other-frame): Move here from files.el.
11992 (normalize-buffer-to-switch-to): New functions.
11993 (switch-to-buffer): Move here from buffer.c.
11994 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
11995
11996 2011-06-10 Martin Rudalics <rudalics@gmx.at>
11997
11998 * window.el (window-min-height, window-min-width): Move here
11999 from window.c. Add defcustoms and rewrite doc-strings.
12000 (resize-mini-window, resize-window): New functions.
12001 (adjust-window-trailing-edge, enlarge-window, shrink-window):
12002 Move here from window.c.
12003 (maximize-window, minimize-window): New functions.
12004 (delete-window, delete-other-windows, split-window): Move here
12005 from window.c.
12006 (window-split-min-size): New function.
12007 (split-window-keep-point): Mention split-window-above-each-other
12008 instead of split-window-vertically.
12009 (split-window-above-each-other, split-window-vertically):
12010 Rename split-window-vertically to split-window-above-each-other
12011 and provide defalias for old definition.
12012 (split-window-side-by-side, split-window-horizontally):
12013 Rename split-window-horizontally to split-window-side-by-side
12014 and provide defalias for the old definition.
12015 (ctl-x-map): Move bindings for delete-window,
12016 delete-other-windows and enlarge-window here from window.c.
12017 Replace bindings for split-window-vertically and
12018 split-window-horizontally by bindings for
12019 split-window-above-each-other and split-window-side-by-side.
12020
12021 * cus-start.el (all): Remove entries for window-min-height and
12022 window-min-width. Add entries for window-splits and
12023 window-nest.
12024
12025 2011-06-09 Glenn Morris <rgm@gnu.org>
12026
12027 * calendar/appt.el (appt-mode-line): New function.
12028 (appt-check, appt-disp-window): Use it.
12029
12030 * files.el (hack-one-local-variable-eval-safep):
12031 Allow minor-modes with explicit +/-1 arguments.
12032
12033 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
12034
12035 * term/xterm.el (xterm): Add defgroup.
12036 (xterm-extra-capabilities): Add defcustom to supply known xterm
12037 capabilities, skip querying them, or query them (default).
12038 (terminal-init-xterm): Use it.
12039 (terminal-init-xterm-modify-other-keys): New function to set up
12040 modifyOtherKeys support to simplify `terminal-init-xterm'.
12041
12042 2011-06-09 Martin Rudalics <rudalics@gmx.at>
12043
12044 * window.el (resize-window-reset, resize-window-reset-1)
12045 (resize-subwindows-skip-p, resize-subwindows-normal)
12046 (resize-subwindows, resize-other-windows, resize-this-window)
12047 (resize-root-window, resize-root-window-vertically)
12048 (window-deletable-p, window-or-subwindow-p)
12049 (frame-root-window-p): New functions.
12050
12051 2011-06-09 Glenn Morris <rgm@gnu.org>
12052
12053 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
12054 (ange-ftp-get-files): Use it.
12055
12056 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
12057
12058 * mail/sendmail.el (mail-recover-1, mail-recover):
12059 * files.el (recover-file, recover-session):
12060 Handle dired-listing-switches not being just a single short option.
12061
12062 2011-06-09 Glenn Morris <rgm@gnu.org>
12063
12064 * calendar/appt.el (appt-display-message, appt-disp-window):
12065 Handle lists of appointments.
12066
12067 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12068
12069 * window.el (one-window-p): Move down in code.
12070 Rewrite doc-string.
12071 (window-current-scroll-bars): Rewrite doc-string.
12072 Normalize live window argument.
12073 (walk-windows, get-window-with-predicate, count-windows):
12074 Rewrite doc-string. Use window-list-1.
12075 (window-in-direction-2, window-in-direction, get-mru-window):
12076 New functions.
12077
12078 2011-06-08 Reuben Thomas <rrt@sc3d.org>
12079
12080 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
12081 Doc fix (Bug#8713).
12082
12083 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
12084
12085 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
12086
12087 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
12088
12089 * loadhist.el (unload-feature-special-hooks):
12090 Add `comint-output-filter-functions'.
12091
12092 2011-06-08 Ivan Kanis <gnu@kanis.fr>
12093
12094 * calendar/appt.el (appt-check): Move some initializations into the let.
12095
12096 2011-06-08 Martin Rudalics <rudalics@gmx.at>
12097
12098 * window.el (window-height): Defalias to window-total-height.
12099 (window-width): Defalias to window-body-width.
12100
12101 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * image-mode.el (image-toggle-animation): New command.
12104 (image-mode-map): Bind it to RET.
12105 (image-mode): Update message.
12106 (image-toggle-display-image): Avoid a spurious cache flush.
12107 (image-transform-rotation): Doc fix.
12108 (image-transform-properties): Return quickly in the normal case.
12109 (image-animate-loop): Rename from image-animate-max-time.
12110
12111 * image.el (image-animate-max-time): Move to image-mode.el.
12112 (create-animated-image): Remove unnecessary function.
12113 (image-animate): Rename from image-animate-start. New arg.
12114 (image-animate-stop): Remove; just use image-animate-timer.
12115 (image-animate-timer): Use car-safe.
12116 (image-animate-timeout): Rename argument.
12117
12118 2011-06-07 Martin Rudalics <rudalics@gmx.at>
12119
12120 * window.el (get-lru-window, get-largest-window): Move here from
12121 window.c. Rename first argument to ALL-FRAMES.
12122 Rephrase doc-strings.
12123 (get-buffer-window-list): Rewrite using window-list-1.
12124 Rephrase doc-string.
12125 (window-safe-min-height, window-safe-min-width): New constants.
12126 (window-size-ignore, window-min-size, window-min-size-1)
12127 (window-sizable, window-sizable-p, window-size-fixed-1)
12128 (window-size-fixed-p, window-min-delta-1, window-min-delta)
12129 (window-max-delta-1, window-max-delta, window-resizable)
12130 (window-resizable-p, window-total-height, window-total-width)
12131 (window-body-width): New functions.
12132 (window-full-height-p, window-full-width-p): Rewrite using
12133 window-total-size.
12134 (window-body-height): Rewrite using window-body-size.
12135
12136 2011-06-06 Martin Rudalics <rudalics@gmx.at>
12137
12138 * window.el (window-right, window-left, window-child)
12139 (window-child-count, window-last-child, window-any-p)
12140 (normalize-live-buffer, normalize-live-frame)
12141 (normalize-any-window, normalize-live-window)
12142 (window-iso-combination-p, window-iso-combined-p)
12143 (window-iso-combinations)
12144 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
12145 (windows-with-parameter, window-with-parameter)
12146 (window-atom-root, make-window-atom, window-atom-check-1)
12147 (window-atom-check, window-side-check, window-check):
12148 New functions.
12149 (ignore-window-parameters, window-sides, window-sides-vertical)
12150 (window-sides-slots): New variables.
12151 (window-size-fixed): Move down in code. Minor doc-string fix.
12152
12153 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
12154
12155 * comint.el (comint-dynamic-complete-as-filename)
12156 (comint-dynamic-complete-filename): Correctly call
12157 completion-in-region.
12158
12159 2011-06-05 Deniz Dogan <deniz@dogan.se>
12160
12161 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
12162 in last change.
12163
12164 2011-06-05 Deniz Dogan <deniz@dogan.se>
12165
12166 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
12167 (rcirc): Use it to prompt for encryption.
12168
12169 2011-06-05 Roland Winkler <winkler@gnu.org>
12170
12171 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
12172 (bibtex-search-entries): New command bound to C-c C-a.
12173 (bibtex-display-entries): New function.
12174
12175 2011-06-05 Roland Winkler <winkler@gnu.org>
12176
12177 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
12178 (bibtex-insert-kill): After yanking insert newline if necessary.
12179 (bibtex-initialize): Call bibtex-string-files-init only once.
12180 (bibtex-mode): Do not call easy-menu-add.
12181 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
12182 (bibtex-yank): Set arg properly if nil.
12183
12184 2011-06-05 Roland Winkler <winkler@gnu.org>
12185
12186 * textmodes/bibtex.el (bibtex-search-entry-globally):
12187 New variable.
12188 (bibtex-search-entry): Use it.
12189
12190 2011-06-05 Roland Winkler <winkler@gnu.org>
12191
12192 * textmodes/bibtex.el (bibtex-entry-format): New option
12193 sort-fields.
12194 (bibtex-format-entry, bibtex-reformat): Honor this option.
12195 (bibtex-parse-entry): Return fields in proper order.
12196
12197 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
12198
12199 * doc-view.el (doc-view-remove-if): Move computation of result out
12200 of `dolist' to silence misleading lexical-binding warning.
12201
12202 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
12203
12204 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
12205 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
12206
12207 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
12210 "SunOS 5.10".
12211
12212 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
12213
12214 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
12215 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
12216 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
12217 (tramp-parse-putty):
12218 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12219 (tramp-completion-function-alist-ssh)
12220 (tramp-completion-function-alist-telnet)
12221 (tramp-completion-function-alist-su)
12222 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12223 cookie.
12224
12225 * net/tramp-ftp.el:
12226 * net/tramp-sh.el:
12227 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12228 load "tramp.el" `tramp-set-completion-function'.
12229
12230 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12231
12232 * shell.el: Require and use pcomplete.
12233 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12234 (shell-completion-vars): Set pcomplete-default-completion-function.
12235
12236 2011-06-04 Deniz Dogan <deniz@dogan.se>
12237
12238 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12239 `memq' (Bug#8799).
12240
12241 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12244
12245 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
12246
12247 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12248 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12249 * vc/log-view.el (log-view-beginning-of-defun):
12250 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12251 (smerge-refine-forward, smerge-refine-chopup-region):
12252 Silence warning for unused `dotimes' counter variables.
12253
12254 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12255
12256 * net/tramp.el (tramp-with-progress-reporter): Rename from
12257 with-progress-reporter. Use `declare'.
12258 * net/tramp-smb.el:
12259 * net/tramp-sh.el:
12260 * net/tramp-gvfs.el: Update all uses.
12261
12262 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12263
12264 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12265 buffer isn't killed before making it current.
12266
12267 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12268
12269 Silence various byte-compiler warnings.
12270 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12271 `access-type' and new obsolescence format.
12272 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12273 new format.
12274 (byte-compile-check-variable): New `access-type' argument.
12275 Only warn if the access-type is obsolete.
12276 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12277 (byte-compile-variable-set): Adjust callers.
12278 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12279 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12280 setting it as obsolete.
12281 * simple.el (minibuffer-completing-symbol):
12282 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12283 access as obsolete.
12284 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12285 obsolete yet.
12286 * international/quail.el (quail-mouse-choose-completion): Remove unused
12287 code referring to obsolete var.
12288 (quail-choose-completion-string): Remove.
12289 * server.el (server-clients-with, server-kill-buffer-query-function)
12290 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12291 * proced.el (proced-send-signal):
12292 * emacs-lisp/lisp.el (lisp-complete-symbol):
12293 Replace completion-annotate-function with completion-extra-properties.
12294
12295 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12296
12297 * simple.el (goto-line): Use read-number.
12298 (overriding-map-is-bound): Remove.
12299 (saved-overriding-map): Change default.
12300 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12301 Take the map as argument.
12302 (universal-argument, negative-argument, digit-argument): Use it.
12303 (restore-overriding-map): Adjust.
12304 (do-auto-fill): Use fill-forward-paragraph.
12305 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12306
12307 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12308 (minibuffer-inactive-mode): New major mode.
12309 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12310 the *Messages* buffer" hack.
12311 (mouse-popup-menubar): Don't burp if the event is a normal key.
12312
12313 Miscellaneous tweaks.
12314 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12315 lexical scoping as in subr.el's dolist and dotimes.
12316 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12317 Silence compiler warning.
12318 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12319 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12320 * international/ccl.el (ccl-compile): Trivial simplification.
12321 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12322 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12323 `printflag' argument.
12324 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12325 Purecopy the whole obsolescence data.
12326
12327 2011-06-01 Leo Liu <sdl.web@gmail.com>
12328
12329 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12330 improve doc-string as suggested by Marco Pessotto
12331 <melmothx@gmail.com>.
12332 (rcirc-print): Fix last change.
12333
12334 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * minibuffer.el (complete-with-action): Return nil for the metadata and
12337 boundaries of non-functional tables.
12338 (completion-table-dynamic): Return nil for the metadata.
12339 (completion-table-with-terminator): Add default case, using
12340 complete-with-action.
12341 (completion--metadata): New function.
12342 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12343 to try and avoid pathological performance problems.
12344 (completion--embedded-envvar-table): Return `category' metadata.
12345
12346 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12347
12348 * subr.el (process-alive-p): New tiny convenience function.
12349
12350 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12351
12352 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12353 content but also its previous major mode.
12354
12355 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
12356
12357 * emacs-lisp/debug.el (debug): Restore the previous content of the
12358 *Backtrace* buffer when we exit with C-M-c.
12359
12360 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12361
12362 * minibuffer.el: Add metadata method to completion tables.
12363 (completion-category-overrides): New defcustom.
12364 (completion-metadata, completion--field-metadata)
12365 (completion-metadata-get, completion--styles)
12366 (completion--cycle-threshold): New functions.
12367 (completion-try-completion, completion-all-completions):
12368 Add `metadata' argument to choose completion-styles.
12369 (completion--do-completion): Use metadata to choose cycling.
12370 (completion-all-sorted-completions): Use metadata for sorting.
12371 Remove :completion-cycle-penalty which is not needed any more.
12372 (completion--try-word-completion): Add `metadata' argument.
12373 (minibuffer-completion-help): Check metadata for annotation function
12374 and sorting.
12375 (completion-file-name-table): Return `category' metadata.
12376 (minibuffer-completing-file-name): Make obsolete.
12377 * simple.el (minibuffer-completing-symbol): Make obsolete.
12378 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12379 completion-try-completion.
12380
12381 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12384
12385 2011-05-30 Leo Liu <sdl.web@gmail.com>
12386
12387 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
12388 (rcirc-print): Decode all incoming messages (bug#8744).
12389 (rcirc-decode-coding-system): Allow value nil for automatic coding
12390 system detection.
12391
12392 2011-06-01 Glenn Morris <rgm@gnu.org>
12393
12394 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12395
12396 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12397
12398 * image.el (image-animate-max-time): Allow nil and t values.
12399 Default to nil.
12400 (create-animated-image): Doc fix.
12401 (image-animate-start): Remove second arg; just use
12402 image-animate-max-time.
12403 (image-animate-timeout): Doc fix. Args changed.
12404
12405 * image-mode.el (image-toggle-display-image): Ensure that the
12406 image spec passed to the animate timer is the same object as in
12407 the buffer's display property (Bug#6981).
12408 (image-transform-properties): Doc fix.
12409
12410 * image.el (image-animate-max-time): Default to nil.
12411
12412 2011-05-29 Martin Rudalics <rudalics@gmx.at>
12413
12414 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12415 entire buffer list (Bug#8184).
12416
12417 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12418
12419 * image.el (imagemagick-types-inhibit)
12420 (imagemagick-register-types): Doc fix.
12421
12422 2011-05-29 Deniz Dogan <deniz@dogan.se>
12423
12424 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12425 default.
12426
12427 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
12428
12429 * select.el: Don't perform clipboard-manager saving in hooks;
12430 leave the hooks empty.
12431
12432 2011-05-28 Leo Liu <sdl.web@gmail.com>
12433
12434 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12435 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12436 (occur-edit-mode): New major mode (Bug#8463).
12437 (occur-after-change-function): New function.
12438 (occur-engine): Give Occur tags a read-only property.
12439
12440 2011-05-28 Kevin Ryde <user42@zip.com.au>
12441
12442 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12443
12444 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12445
12446 * bindings.el (help-echo): Make the initial non-indicator dash
12447 empty on graphical terminals (Bug#7295).
12448
12449 * files.el (auto-mode-alist): Move config rule after the
12450 in-stripping one (Bug#8547).
12451
12452 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12453
12454 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12455 setting (Bug#8740).
12456
12457 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12458
12459 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12460 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12461 (Bug#8539).
12462
12463 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12464
12465 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12466
12467 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12468
12469 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12470 (hs-hide-block-at-point, hs-find-block-beginning)
12471 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12472 (Bug#8279).
12473
12474 2011-05-28 Glenn Morris <rgm@gnu.org>
12475
12476 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12477
12478 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
12479
12480 * help-fns.el (describe-function-1): If the function is a derived
12481 major mode, print the parent mode.
12482
12483 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12484 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12485
12486 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * minibuffer.el (completion--capf-wrapper): Check applicability before
12489 returning non-nil for non-exclusive completion data.
12490 * progmodes/etags.el (tags-completion-at-point-function):
12491 * info-look.el (info-lookup-completions-at-point): Mark as
12492 non-exclusive.
12493 (info-complete): Adjust accordingly.
12494
12495 * info-look.el: Convert to lexical-binding and completion-at-point.
12496 (info-lookup-completions-at-point): New function.
12497 (info-complete): Use it and completion-in-region.
12498
12499 2011-05-28 Drew Adams <drew.adams@oracle.com>
12500
12501 * isearch.el: Let M-e start with point at the first mismatched char.
12502 (isearch-fail-pos): New function.
12503 (isearch-edit-string): Use it.
12504
12505 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12506
12507 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12508
12509 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
12510
12511 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12512 traversal functions for avl-trees.
12513 (avl-tree--stack): New struct.
12514 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12515 (avl-tree-enter): Add optional `updatefun' arg.
12516 (avl-tree--do-enter): Add optional `updatefun' arg.
12517 Change return value.
12518 (avl-tree-delete): Add optional `test' and `nilflag' args.
12519 (avl-tree--do-delete): Add `test' and `nilflag' args.
12520 Change return value.
12521 (avl-tree-member): Add optional `nilflag'
12522 (avl-tree-member-p): New function.
12523 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12524 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12525 (avl-tree-stack-empty-p): New functions.
12526
12527 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12528 avl-tree--del-balance1 and make it work both ways.
12529 (avl-tree--del-balance2): Remove.
12530 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12531 make it work both ways.
12532 (avl-tree--enter-balance2): Remove.
12533 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12534 New macros.
12535 (avl-tree--mapc, avl-tree-map): Add direction argument.
12536
12537 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
12538
12539 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12540
12541 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
12542
12543 * select.el: Support clipboard managers with built-in function
12544 x-clipboard-manager-save, via delete-frame-functions and
12545 kill-emacs-hook.
12546 (xselect-convert-to-targets): Add MULTIPLE target to list.
12547 (xselect-convert-to-save-targets): New function.
12548
12549 2011-05-27 Kenichi Handa <handa@m17n.org>
12550
12551 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12552 let-binding rfc2047-encode-encoded-words to nil.
12553
12554 2011-05-27 Glenn Morris <rgm@gnu.org>
12555
12556 * mail/emacsbug.el: Don't require url-util.
12557
12558 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12559
12560 * files.el (set-auto-mode):
12561 Also respect mode: entries at the end of the file. (Bug#8586)
12562
12563 2011-05-26 Glenn Morris <rgm@gnu.org>
12564
12565 * files.el (hack-local-variables-prop-line, hack-local-variables):
12566 Downcase mode names, as seems to be traditional.
12567 (hack-local-variables, hack-local-variables-apply): Doc fixes.
12568
12569 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12570 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12571
12572 2011-05-25 Julien Danjou <julien@danjou.info>
12573
12574 * textmodes/rst.el (rst-define-level-faces): Do not define face
12575 symbol if it is already defined.
12576
12577 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12578
12579 * play/5x5.el (5x5-new-game, 5x5-randomize):
12580 Reset 5x5-solver-output to nil when a new grid is cast.
12581 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12582 these debugging traces, as defmacro breaks the compiled code.
12583
12584 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12585
12586 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12587
12588 2011-05-24 Leo Liu <sdl.web@gmail.com>
12589
12590 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12591 (vc-bzr-sha1): Adapt.
12592
12593 * sha1.el: Remove. Function `sha1' is now builtin.
12594
12595 * bindings.el: Provide sha1 feature.
12596
12597 2011-05-24 Kenichi Handa <handa@m17n.org>
12598
12599 * mail/sendmail.el: Require `rfc2047'.
12600 (mail-insert-from-field): Do not perform RFC2047 encoding.
12601 (mail-encode-header): New function.
12602 (sendmail-send-it): Set buffer-file-coding-system of the work
12603 buffer to the return value of select-message-coding-system.
12604 Call mail-encode-header.
12605
12606 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12607
12608 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
12609
12610 * mail/supercite.el (sc-default-cite-frame):
12611 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
12612
12613 2011-05-24 Glenn Morris <rgm@gnu.org>
12614
12615 * progmodes/python.el (brm-menu): Declare.
12616
12617 * emulation/viper.el (viper-set-hooks): Declare.
12618
12619 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12620 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12621 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12622 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12623 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12624 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12625
12626 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12627
12628 Add an :exit-function for completion-at-point.
12629
12630 * minibuffer.el (completion--done): New fun.
12631 (completion--do-completion): Use it. New arg `expect-exact'.
12632 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12633 since completion--do-completion does it for us now.
12634 (minibuffer-force-complete): Use completion--done and
12635 completion--replace. Handle sole-completion case with more care.
12636 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12637 (completion-extra-properties): New var.
12638 (completion-annotate-function): Make obsolete.
12639 (minibuffer-completion-help): Adjust accordingly.
12640 Use completion-list-insert-choice-function.
12641 (completion-at-point, completion-help-at-point):
12642 Bind completion-extra-properties.
12643 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12644 * simple.el (completion-list-insert-choice-function): New var.
12645 (completion-setup-function): Preserve it.
12646 (choose-completion): Pay attention to it, shuffle the code a bit.
12647 (choose-completion-string): New arg `insert-function'.
12648
12649 * textmodes/bibtex.el: Convert to lexical binding.
12650 (bibtex-mode-map): Use completion-at-point.
12651 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12652 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12653 (bibtex-complete): Define as obsolete alias.
12654 (bibtex-complete-internal): Remove.
12655 (bibtex-format-entry): Remove unused sub-group in regexp.
12656 * shell.el (shell--command-completion-data)
12657 (shell-environment-variable-completion):
12658 * pcomplete.el (pcomplete-completions-at-point):
12659 * comint.el (comint--complete-file-name-data): Use :exit-function
12660 instead of completion-table-with-terminator so it also works for
12661 choose-completion.
12662
12663 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12664
12665 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12666
12667 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12668 (bug#8710).
12669
12670 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12671
12672 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12673
12674 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12675 customization variable and implement: If non-nil, auto-fill will
12676 be inhibited while on topic's header line.
12677
12678 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12679
12680 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
12681 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
12682 always have a solution in grid size = 5 cases.
12683 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12684 (5x5-solver-output, 5x5-log-buffer): New vars.
12685 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12686 Make these variables buffer local to achieve 5x5 multi-session-ness.
12687 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12688 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12689 (5x5-solve-suggest): New funs.
12690 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12691 randomize a grid so that we ensure that there is always a solution.
12692 (5x5-make-random-grid): Allow other movement than flipping.
12693
12694 2011-05-23 Kevin Ryde <user42@zip.com.au>
12695
12696 * emacs-lisp/advice.el (ad-read-advised-function):
12697 Use `function-called-at-point' as the default, if it has
12698 advice and passes PREDICATE.
12699
12700 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12701
12702 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12703 byte-compile-lambda if it's actually a lambda.
12704
12705 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12706 Fix function quoting. Use backquote better.
12707
12708 2011-05-22 Yuanle Song <sylecn@gmail.com>
12709
12710 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12711 matching (Bug#8516).
12712
12713 2011-01-22 Jari Aalto <jari.aalto@cante.net>
12714
12715 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12716 different face (Bug#8178).
12717
12718 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
12719
12720 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12721 defface (Bug#8144).
12722
12723 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12724
12725 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12726 funcall as well (bug#8712). Warn when performing those conversions.
12727 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12728
12729 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12730
12731 2011-05-22 Glenn Morris <rgm@gnu.org>
12732
12733 * files.el (hack-local-variables-prop-line): Small simplifications.
12734 (hack-local-variables, hack-local-variables-prop-line):
12735 If MODE-ONLY, return the mode, rather than just `t'.
12736
12737 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12738
12739 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12740
12741 2011-05-21 Glenn Morris <rgm@gnu.org>
12742
12743 * files.el (hack-local-variables-prop-line, hack-local-variables):
12744 If only interested in the mode, don't bother doing the other stuff.
12745
12746 * image-mode.el (image-after-revert-hook):
12747 Redraw all frames on which the image is visible. (Bug#8567)
12748
12749 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12750
12751 * wid-edit.el (widget-checklist-match-inline):
12752 Fix 2011-04-19 change. (Bug#8649)
12753
12754 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12757 Also allow singlespace after single-letter capitals followed by a dot.
12758
12759 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12760 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12761
12762 2011-05-20 Nix <nix@esperi.org.uk>
12763
12764 * files.el (basic-save-buffer-2):
12765 Fix handling of break-hardlink-on-save with non-existent files.
12766
12767 2011-05-19 Deniz Dogan <deniz@dogan.se>
12768
12769 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
12770 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
12771
12772 2011-05-19 Glenn Morris <rgm@gnu.org>
12773
12774 * progmodes/f90.el (f90-type-def-re):
12775 Handle "type, bind(c)". (Bug#8691)
12776
12777 * emacs-lisp/autoload.el (batch-update-autoloads):
12778 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12779
12780 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
12781
12782 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12783 property for the correct connection in case of multihops.
12784
12785 2011-05-18 Glenn Morris <rgm@gnu.org>
12786
12787 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
12788 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12789
12790 Rationalize calendar handling of day and month abbrev-arrays.
12791 * calendar/calendar.el (calendar-customized-p): New function.
12792 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12793 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12794 Add :set function.
12795 (calendar-abbrev-length, calendar-day-abbrev-array)
12796 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12797 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12798 Elements may no longer be nil.
12799 (calendar-day-name, calendar-month-name):
12800 Update for changed nature of abbrev arrays.
12801 * calendar/diary-lib.el (diary-name-pattern):
12802 Update for changed nature of abbrev arrays.
12803 (diary-mark-entries-1): Update calendar-make-alist calls.
12804 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12805 * calendar/cal-html.el (cal-html-day-abbrev-array):
12806 Simply inherit from calendar-day-abbrev-array.
12807
12808 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12809
12810 * progmodes/grep.el (grep-mode): Disable default
12811 compilation-directory-matcher setting (bug#8684).
12812
12813 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
12814
12815 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12816 instead of "head" and "tail". There were problems with SunOS 5.9,
12817 and it performs better.
12818
12819 2011-05-17 Glenn Morris <rgm@gnu.org>
12820
12821 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12822
12823 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12824 Replace obsolete function.
12825
12826 * shell.el (pcomplete-parse-arguments-function): Declare.
12827
12828 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12829 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12830 (appt-check): Doc fixes.
12831 (appt-disp-window-function, appt-delete-window-function):
12832 Remove needless special case in custom :type.
12833 (appt-display-count): Default to 0, not nil.
12834 (appt-check): Reset appt-display-count to 0, not nil.
12835
12836 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
12837
12838 * progmodes/python.el (python-font-lock-keywords):
12839 Add the Python 3.X keyword "nonlocal" (bug#8639).
12840
12841 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12844
12845 2011-05-16 Kevin Ryde <user42@zip.com.au>
12846
12847 * info-look.el (makefile-automake-mode): New setups, looking in
12848 automake manual, then makefile-mode.
12849 (makefile-mode): Remove automake manual, have it just in
12850 makefile-automake-mode since there's various things different or
12851 not relevant to plain make.
12852 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12853 believe a hypothetical automake-mode would go to makefile-mode,
12854 not the other way around.
12855
12856 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
12857
12858 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12859 hunk-end tags (Bug#8672).
12860
12861 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12862 vc-annotate-show-diff-revision-at-line (Bug#8671).
12863
12864 2011-05-14 Glenn Morris <rgm@gnu.org>
12865
12866 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12867 in the middle of an existing one with multiple authors. (Bug#8645)
12868 (change-log-font-lock-keywords): Also handle multiple author lines
12869 with leading tabs. (Bug#8644)
12870
12871 * calendar/appt.el (appt-check): Rename some local variables.
12872 Some simplification/reordering.
12873
12874 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12875 (feedmail-sendmail-f-doesnt-sell-me-out)
12876 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12877 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12878 (feedmail-queue-runner-message-sender): Set :version.
12879 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12880 (bbdb-dwim-net-address, vm-mail): Declare.
12881 (feedmail-binmail-gnulinuxish-template):
12882 Rename from feedmail-binmail-linuxish-template.
12883 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12884 Use insert-buffer-substring.
12885
12886 2011-05-14 Bill Carpenter <bill@carpenter.org>
12887
12888 * mail/feedmail.el (feedmail-patch-level): Increase.
12889 (feedmail-debug): New custom group.
12890 (feedmail-confirm-outgoing-timeout)
12891 (feedmail-sendmail-f-doesnt-sell-me-out)
12892 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12893 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12894 (feedmail-sender-line, feedmail-from-line)
12895 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
12896 (feedmail-spray-this-address)
12897 (feedmail-spray-address-fiddle-plex-list)
12898 (feedmail-queue-use-send-time-for-date)
12899 (feedmail-queue-use-send-time-for-message-id)
12900 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12901 (feedmail-buffer-eating-function):
12902 Doc fixes.
12903 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12904 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12905 (feedmail-message-action-scroll-down): New functions.
12906 (feedmail-queue-directory, feedmail-queue-draft-directory):
12907 Use expand-file-name.
12908 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12909 Remove C-v help entry.
12910 (feedmail-queue-buffer-file-name): New variable.
12911 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12912 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12913 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12914 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12915 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12916 (feedmail-message-action-toggle-spray)
12917 (feedmail-run-the-queue-no-prompts)
12918 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12919 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12920 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12921 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12922 (feedmail-envelope-deducer, feedmail-fiddle-from)
12923 (feedmail-fiddle-sender, feedmail-default-date-generator)
12924 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12925 (feedmail-fiddle-spray-address)
12926 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12927 (feedmail-fiddle-list-of-fiddle-plexes)
12928 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12929 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12930 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12931 Change default. Doc fix.
12932 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12933 (feedmail-binmail-linuxish-template): New constant.
12934 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12935 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12936 (feedmail-send-it): Add debug call.
12937 Use feedmail-queue-buffer-file-name, and
12938 feedmail-send-it-immediately-wrapper.
12939 (feedmail-message-action-send): Add debug call.
12940 Use feedmail-send-it-immediately-wrapper.
12941 (feedmail-queue-express-to-queue): Add debug call.
12942 Run feedmail-queue-express-hook.
12943 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12944 (feedmail-message-action-help-blat):
12945 Rename from feedmail-queue-send-edit-prompt-help-first.
12946 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12947 Check line-endings. Handle errors better.
12948 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12949 Doc fix. Add debug call.
12950 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12951 Use feedmail-queue-send-edit-prompt-inner.
12952 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12953 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12954 from feedmail-queue-send-edit-prompt.
12955 (feedmail-queue-send-edit-prompt-help)
12956 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12957 (feedmail-tidy-up-slug): Add debug call.
12958 Respect feedmail-queue-slug-suspect-regexp.
12959 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12960 (feedmail-dump-message-to-queue): Add debug call.
12961 Expand queue-directory.
12962 (feedmail-dump-message-to-queue): Change message slightly.
12963 Use feedmail-say-chatter.
12964 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12965 (feedmail-send-it-immediately-wrapper): New function.
12966 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12967 Insert empty string rather than newline. Handle full-frame case.
12968 Use catch/throw. Use feedmail-say-chatter.
12969 (feedmail-fiddle-from): Try mail-host-address.
12970 (feedmail-default-message-id-generator): Doc fix.
12971 Bind system-time-locale. Handle missing end.
12972 (feedmail-fiddle-x-mailer): Add debug call.
12973 Handle feedmail-x-mailer-line being nil.
12974 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12975 Add debug call. Use buffer-substring-no-properties.
12976 (feedmail-say-debug, feedmail-say-chatter): New functions.
12977 (feedmail-find-eoh): Give an explicit error.
12978
12979 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
12980
12981 * net/newst-treeview.el (newsticker-treeview-face): Change default
12982 family from helvetica to sans.
12983 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
12984 etc/images/newsticker.
12985
12986 * net/newst-reader.el (newsticker-feed-face): Change default
12987 family from helvetica to sans.
12988
12989 * net/newst-plainview.el (newsticker-new-item-face)
12990 (newsticker-old-item-face, newsticker-immortal-item-face)
12991 (newsticker-obsolete-item-face, newsticker-date-face)
12992 (newsticker-statistics-face): Change default family from
12993 helvetica to sans.
12994 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
12995 etc/images/newsticker.
12996
12997 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12998 (newsticker--process-auto-mark-filter-match): Tell user about
12999 auto-marking.
13000
13001 2011-05-13 Didier Verna <didier@xemacs.org>
13002
13003 Common Lisp indentation improvements on defmethod and lambda-lists.
13004 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
13005 TODO entries.
13006 (lisp-lambda-list-keyword-parameter-indentation)
13007 (lisp-lambda-list-keyword-parameter-alignment)
13008 (lisp-lambda-list-keyword-alignment): New customizable user options.
13009 (lisp-indent-defun-method): Improve docstring.
13010 (extended-loop-p): Fix comment.
13011 (lisp-indent-lambda-list-keywords-regexp): New variable.
13012 (lisp-indent-lambda-list): New function.
13013 (lisp-indent-259): Use it.
13014 (lisp-indent-defmethod): Support for more than one
13015 method qualifier and properly indent methods lambda-lists.
13016 (defgeneric): Provide a missing common-lisp-indent-function property.
13017
13018 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
13021 bounds for the empty string (bug#8667).
13022
13023 2011-05-13 Glenn Morris <rgm@gnu.org>
13024
13025 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
13026
13027 * mail/sendmail.el (sendmail-program): Try executable-find first.
13028 (sendmail-send-it): `sendmail-program' cannot be unbound.
13029
13030 * calendar/appt.el (appt-make-list): Simplify.
13031 (appt-time-msg-list): Doc fix.
13032 (appt-check): Change mode-line message at the time of the appointment.
13033
13034 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
13035
13036 * progmodes/ld-script.el (ld-script-keywords)
13037 (ld-script-builtins): Update keywords list.
13038
13039 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13040
13041 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
13042
13043 * shell.el (shell-completion-vars): New function.
13044 (shell-mode):
13045 * simple.el (read-shell-command): Use it.
13046 (blink-matching-open): No need for " [...]" in minibuffer-message.
13047
13048 2011-05-12 Glenn Morris <rgm@gnu.org>
13049
13050 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
13051 (appt-check): Simplify.
13052
13053 2011-05-12 Eli Zaretskii <eliz@gnu.org>
13054
13055 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
13056 literal "/dev/null".
13057
13058 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13059
13060 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
13061 Fix typo.
13062
13063 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
13064
13065 * progmodes/which-func.el (which-function):
13066 Use add-log-current-defun instead of add-log-current-defun-function,
13067 which might not be defined (Bug#8260).
13068
13069 2011-05-12 Glenn Morris <rgm@gnu.org>
13070
13071 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
13072 Let byte-compile-initial-macro-environment always take precedence.
13073
13074 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
13075
13076 * net/rcirc.el: Add support for SSL/TLS connections.
13077 (rcirc-server-alist): New field `encryption'.
13078 (rcirc): Check `encryption' settings.
13079 (rcirc-connect): New arg `encryption'. Use open-network-stream.
13080 Merge make-local-variable into `set'.
13081 (rcirc--connection-open-p): New function.
13082 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
13083 the process is not a network process (e.g. running gnutls-cli).
13084 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
13085 Make rcirc-(en|de)code-coding-system local here.
13086 (rcirc-mode): Merge make-local-variable into `set'.
13087 (rcirc-parent-buffer): Make permanent buffer-local.
13088 (rcirc-multiline-minor-mode): Don't do it here.
13089 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
13090 there's no server buffer.
13091
13092 2011-05-11 Glenn Morris <rgm@gnu.org>
13093
13094 * newcomment.el (comment-kill): Prefix "unused" local.
13095
13096 * term/w32console.el (get-screen-color): Declare.
13097
13098 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
13099 Handle symbol elements of byte-compile-initial-macro-environment.
13100
13101 2011-05-10 Leo Liu <sdl.web@gmail.com>
13102
13103 * bookmark.el (bookmark-bmenu-mode-map):
13104 Bind bookmark-bmenu-search to `/'.
13105
13106 * mail/footnote.el: Convert to utf-8 encoding.
13107 (footnote-unicode-string, footnote-unicode-regexp): New variable.
13108 (Footnote-unicode): New function.
13109 (footnote-style-alist): Add unicode style to the list.
13110 (footnote-style): Doc fix.
13111
13112 2011-05-10 Jim Meyering <meyering@redhat.com>
13113
13114 Fix doubled-word typos.
13115 * international/quail.el (quail-insert-kbd-layout): and and -> and
13116 * kermit.el: and and -> and
13117 * net/ldap.el (ldap-search-internal): to to -> to
13118 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
13119 * progmodes/js.el (js-mode): and and -> and
13120 * textmodes/artist.el (artist-move-to-xy): at at -> at
13121 (artist-draw-region-trim-line-endings): if if -> if
13122 And Safetyc -> Safety.
13123 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
13124
13125 2011-05-10 Glenn Morris <rgm@gnu.org>
13126 Stefan Monnier <monnier@iro.umontreal.ca>
13127
13128 * files.el (hack-one-local-variable-eval-safep):
13129 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
13130
13131 2011-05-10 Glenn Morris <rgm@gnu.org>
13132
13133 * calendar/diary-lib.el (diary-list-entries-hook)
13134 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
13135 (diary-nongregorian-marking-hook, diary-list-entries)
13136 (diary-include-other-diary-files, diary-mark-entries)
13137 (diary-mark-included-diary-files): Doc fixes.
13138
13139 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13140
13141 * misc.el: Require tabulated-list.el during compilation.
13142
13143 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13144
13145 * progmodes/compile.el (compilation-start):
13146 Run compilation-filter-hook for the async case too.
13147 (compilation-filter-hook): Doc fix.
13148
13149 2011-05-09 Deniz Dogan <deniz@dogan.se>
13150
13151 * wdired.el: Remove outdated installation comment. Fix usage
13152 comment.
13153
13154 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
13155
13156 * misc.el: Implement new command `list-dynamic-libraries'.
13157 (list-dynamic-libraries--loaded-only-p): New variable.
13158 (list-dynamic-libraries--refresh): New function.
13159 (list-dynamic-libraries): New command.
13160
13161 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
13162
13163 * progmodes/compile.el (compilation-error-regexp-alist-alist):
13164 Fix the ant regexp to handle end-line and end-column info from jikes.
13165 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
13166 higher priority to avoid clobbering by gnu.
13167
13168 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13169
13170 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
13171 if the face has existing theme settings (Bug#8454).
13172
13173 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
13174
13175 * progmodes/perl-mode.el (perl-imenu-generic-expression):
13176 Only match variables declared via `my' or `our' (Bug#8261).
13177
13178 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
13179 special file names `.' and `..' (Bug#8259).
13180
13181 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
13182
13183 * progmodes/grep.el (grep-mode-font-lock-keywords):
13184 Remove buffer-changing entries.
13185 (grep-filter): New function.
13186 (grep-mode): Add it to compilation-filter-hook.
13187
13188 * progmodes/compile.el (compilation-filter-hook)
13189 (compilation-filter-start): New defvars.
13190 (compilation-filter): Call compilation-filter-hook prior to
13191 updating the process mark.
13192
13193 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13194
13195 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
13196
13197 2011-05-07 Eli Zaretskii <eliz@gnu.org>
13198
13199 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
13200 mailclient-send-it even if window-system is nil. (Bug#8595)
13201
13202 * term/w32console.el (terminal-init-w32console):
13203 Call get-screen-color and use its output to set the frame
13204 background-mode. (Bug#8597)
13205
13206 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 Make bytecomp.el understand that defmethod defines funs (bug#8631).
13209 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
13210 New functions.
13211 (defgeneric, eieio--defmethod): Use them.
13212 (eieio-defgeneric): Remove.
13213 (defmethod): Call defgeneric in a way visible to the byte-compiler.
13214
13215 2011-05-07 Glenn Morris <rgm@gnu.org>
13216
13217 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13218 Use let rather than let*.
13219 (timeclock-find-discrep): Remove unused local.
13220
13221 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13222
13223 * calendar/appt.el (appt-time-msg-list): Doc fix.
13224
13225 2011-05-06 Noah Friedman <friedman@splode.com>
13226
13227 * apropos.el (apropos-print-doc): Only use
13228 emacs-lisp-docstring-fill-column when it is bound to an integer,
13229 per that variable's documentation.
13230
13231 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13232
13233 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
13234 and warnings are not silently discarded (e.g. use -d instead of -P).
13235
13236 2011-05-06 Glenn Morris <rgm@gnu.org>
13237
13238 * calendar/appt.el (appt-message-warning-time): Doc fix.
13239 (appt-warning-time-regexp): New option.
13240 (appt-make-list): Respect appt-message-warning-time.
13241
13242 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13243 New options.
13244 (diary-add-to-list): Strip comments from the displayed string.
13245 (diary-mode): Set comment-start and comment-end.
13246
13247 * vc/diff-mode.el (smerge-refine-subst): Declare.
13248 (diff-refine-hunk): Don't require smerge-mode when compiling.
13249
13250 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
13251
13252 * simple.el (list-processes): Return nil as the docstring says.
13253
13254 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13255
13256 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13257 to "".
13258 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13259 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13260 determining of binary transfer. (Bug#7383)
13261
13262 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
13263
13264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13265 Fix port computation bug. (Bug#8618)
13266
13267 2011-05-05 Glenn Morris <rgm@gnu.org>
13268
13269 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13270
13271 * simple.el (shell-dynamic-complete-functions)
13272 (comint-dynamic-complete-functions): Declare.
13273
13274 * net/network-stream.el (gnutls-negotiate):
13275 * simple.el (tabulated-list-print): Fix declarations.
13276
13277 * progmodes/gud.el (syntax-symbol, syntax-point):
13278 Remove unnecessary and incorrect declarations.
13279
13280 * emacs-lisp/check-declare.el (check-declare-scan):
13281 Handle byte-compile-initial-macro-environment in bytecomp.el
13282
13283 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13284
13285 Fix earlier half-done eieio-defmethod change (bug#8338).
13286 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13287 Streamline and change calling convention.
13288 (defmethod): Adjust accordingly and simplify.
13289 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13290 new eieio--defmethod.
13291 (slot-boundp): Minor CSE simplification.
13292
13293 2011-05-05 Milan Zamazal <pdm@zamazal.org>
13294
13295 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13296 (glasses-make-readable): Use glasses-separate-capital-groups.
13297
13298 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
13299
13300 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13301 (warning-series): Doc fix.
13302 (display-warning): Don't try to create the buffer if we just found it.
13303
13304 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
13305
13306 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13307 (autoload-find-generated-file): New function.
13308 (generate-file-autoloads): Bind generated-autoload-file to
13309 buffer-file-name.
13310 (update-file-autoloads, update-directory-autoloads):
13311 Use autoload-find-generated-file. If called interactively, prompt for
13312 output file (Bug#7989).
13313 (batch-update-autoloads): Doc fix.
13314
13315 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
13316
13317 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13318
13319 2011-05-04 Glenn Morris <rgm@gnu.org>
13320
13321 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13322 function, so it follows changes in calendar-date-style.
13323 (diary-fancy-date-matcher): New function.
13324 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13325 (diary-fancy-font-lock-fontify-region-function):
13326 Use diary-fancy-date-pattern as a function.
13327
13328 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13329 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13330
13331 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13332
13333 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13334 instead of positional arguments. Allow :keylist and :crlfiles
13335 arguments.
13336 (open-gnutls-stream): Call it.
13337
13338 * net/network-stream.el (network-stream-open-starttls): Adjust to
13339 call `gnutls-negotiate' with :process and :hostname arguments.
13340
13341 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13342
13343 * minibuffer.el (completion--message): New function.
13344 (completion--do-completion, minibuffer-complete)
13345 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13346 (completion--do-completion): Don't ignore completion-auto-help when in
13347 icomplete-mode.
13348
13349 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13350 internal encoding (e.g. tibetan zero is not whitespace).
13351 (global-whitespace-mode): Prefer save-current-buffer.
13352 (whitespace-trailing-regexp): Remove useless save-match-data.
13353 (whitespace-empty-at-bob-regexp): Minor simplification.
13354
13355 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
13356
13357 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13358
13359 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13360
13361 * textmodes/ispell.el (ispell-add-per-file-word-list):
13362 Use `concat' to create string for insertion.
13363
13364 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13365
13366 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13367 Avoid open-line which runs post-self-insert-hook.
13368 (bibtex-fill-entry): Remove unused `end' var.
13369
13370 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13371
13372 * textmodes/ispell.el (ispell-add-per-file-word-list):
13373 Protect against `nil' value of `comment-start' (Bug#8579).
13374
13375 2011-05-03 Leo Liu <sdl.web@gmail.com>
13376
13377 * isearch.el (isearch-yank-pop): New command.
13378 (isearch-mode-map): Bind it to `M-y'.
13379 (isearch-forward): Mention it.
13380
13381 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13382
13383 * simple.el (minibuffer-complete-shell-command): Remove.
13384 (minibuffer-local-shell-command-map): Use completion-at-point.
13385 (read-shell-command): Setup completion vars here instead.
13386 (read-expression-map): Bind TAB to symbol completion.
13387
13388 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13389 error directly rather via storing it into `results'.
13390
13391 2011-05-02 Leo Liu <sdl.web@gmail.com>
13392
13393 * vc/diff.el: Fix description.
13394
13395 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13396
13397 * server.el (server-eval-at): New function.
13398
13399 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13400
13401 * net/network-stream.el (open-network-stream): Take a :nowait
13402 parameter and pass it on to `make-network-process'.
13403 (network-stream-open-plain): Ditto.
13404
13405 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13406
13407 * faces.el (face-spec-set-match-display): Don't match toolkit
13408 options on terminal frames.
13409
13410 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13411
13412 * progmodes/pascal.el: Use lexical binding.
13413 (pascal-mode-map): Remove author preferences.
13414
13415 * pcomplete.el (pcomplete-std-complete): Don't abuse
13416 completion-at-point.
13417
13418 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13419
13420 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13421 removing code that has been dead since 1991 or so.
13422
13423 * startup.el (command-line): When warning about "_emacs", use a
13424 delayed warning to allow the user to filter it out.
13425
13426 2011-04-28 Deniz Dogan <deniz@dogan.se>
13427
13428 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13429 user has not joined.
13430
13431 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13432
13433 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13434 aren't any completions at point.
13435
13436 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
13437
13438 * subr.el (display-delayed-warnings): New function.
13439 (delayed-warnings-hook): New variable.
13440
13441 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13442
13443 * minibuffer.el (completion-at-point, completion-help-at-point):
13444 Don't presume that a given completion-at-point-function will always
13445 use the same calling convention.
13446
13447 * pcomplete.el (pcomplete-completions-at-point):
13448 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13449 pcomplete-seen is non-nil.
13450 (pcomplete-comint-setup): Also recognize the new comint/shell
13451 completion functions.
13452 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13453 pcomplete-seen is non-nil.
13454
13455 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
13456
13457 * calendar/icalendar.el (diary-lib): Add require statement.
13458 (icalendar--create-uid): Read out a uid from a text-property on
13459 the first character in the entry. This allows for code to add its
13460 own uid to the entry.
13461 (icalendar--convert-float-to-ical): Add export of
13462 `diary-float'-entries save for those with the optional DAY
13463 argument.
13464
13465 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13466
13467 * subr.el (shell-quote-argument): Use alternate escaping strategy
13468 when we spot a variable reference in a string.
13469
13470 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13471
13472 * cus-start.el (all): Define customization for debug-on-event.
13473
13474 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13475
13476 * subr.el (shell-quote-argument): Escape correctly under Windows.
13477
13478 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13479
13480 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13481
13482 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
13483
13484 * net/tramp.el (tramp-process-actions): Add POS argument.
13485 Delete region between POS and (pos).
13486
13487 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13488 Use `nil' position in `tramp-process-actions' call.
13489 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13490
13491 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13492 position in `tramp-process-actions' call.
13493
13494 * net/trampver.el: Update release number.
13495
13496 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13497
13498 * custom.el (defcustom): Obey lexical-binding.
13499
13500 Fix octave-inf completion problems reported by Alexander Klimov.
13501 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13502 Inherit from octave-mode-syntax-table.
13503 (inferior-octave-mode): Set info-lookup-mode.
13504 (inferior-octave-completion-at-point): New function.
13505 (inferior-octave-complete): Use it and completion-in-region.
13506 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13507 comint-filename-completion.
13508 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13509 symbol elements which shouldn't be word elements.
13510 (octave-font-lock-keywords, octave-beginning-of-defun)
13511 (octave-function-header-regexp): Adjust regexps accordingly.
13512 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13513
13514 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
13515
13516 * net/gnutls.el (gnutls-errorp): Declare before first use.
13517
13518 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13519
13520 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13521 verify-error, and verify-hostname-error parameters. Check whether
13522 default trustfile exists before going to use it. Add missing
13523 argument to gnutls-message-maybe call. Return value.
13524 Reported by Claudio Bley <claudio.bley@gmail.com>.
13525 (open-gnutls-stream): Add usage example.
13526
13527 * net/network-stream.el (network-stream-open-starttls): Give host
13528 parameter to `gnutls-negotiate'.
13529 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
13530 * subr.el (shell-quote-argument): Escape correctly under Windows.
13531
13532 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
13533
13534 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13535 Use correct match group (bug#8438).
13536
13537 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13538
13539 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13540 (package-menu--generate): New arg specifying packages to show.
13541 (package-menu-refresh, package-menu-execute, list-packages):
13542 Callers changed.
13543 (package-show-package-list): New function, replacing deleted
13544 package--list-packages (renamed because it is non-internal).
13545
13546 * finder.el (finder-list-matches): Use package-show-package-list
13547 instead of deleted package--list-packages.
13548
13549 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13550 Based on a previous implementation by Juanma Barranquero (Bug#8366).
13551 (vc-annotate-mode-map): Bind it to RET.
13552
13553 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13554
13555 * progmodes/etags.el (next-file): Don't use set-buffer to change
13556 buffers (Bug#8478).
13557
13558 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
13559
13560 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13561
13562 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13563 (apropos-accumulator): Doc fix.
13564 (apropos-function, apropos-macro, apropos-command)
13565 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13566 (apropos-plist): Add face property.
13567 (apropos-symbols-internal): Fix indentation.
13568 (apropos-print): Simplify help, and recognize apropos-multi-type.
13569 (apropos-print-doc): Use button-type-get to extract the button's
13570 face property. Fill docstring (Bug#8352).
13571
13572 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
13573
13574 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13575
13576 * play/mpuz.el (mpuz-silent): Doc fix.
13577 (mpuz-mode-map): Use mapc.
13578 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13579 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13580 Fix typos in docstrings.
13581
13582 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13583 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13584
13585 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13586
13587 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
13588
13589 * minibuffer.el (completion--do-completion): Avoid the "Next char
13590 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13591
13592 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13593 mouse-2 into unread-command-events, it is interpreted correctly.
13594
13595 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
13596 (image-toggle-display): Doc fix.
13597
13598 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
13599
13600 * textmodes/page.el (what-page): Use line-number-at-pos to
13601 calculate line number (Bug#6825).
13602
13603 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13604
13605 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13606 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13607 Pass argument NO-DEFAULT to `find-tag-interactive'.
13608
13609 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
13610
13611 Lexical-binding cleanup.
13612
13613 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13614 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13615 * progmodes/ada-prj.el (ada-prj-initialize-values)
13616 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13617 (ada-prj-show-value):
13618 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13619 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13620 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13621 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13622 * progmodes/bug-reference.el (bug-reference-push-button):
13623 * progmodes/fortran.el (fortran-line-length):
13624 * progmodes/glasses.el (glasses-change):
13625 * progmodes/octave-mod.el (octave-fill-paragraph):
13626 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13627 (python-pdbtrack-grub-for-buffer, python-sentinel):
13628 * progmodes/sql.el (sql-save-connection):
13629 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13630 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13631 Mark unused parameters.
13632
13633 * progmodes/compile.el (compilation--flush-directory-cache)
13634 (compilation--flush-parse, compile-internal): Mark unused parameters.
13635 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13636 (compilation-next-error-function): Remove unused variable `timestamp'.
13637
13638 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13639 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13640
13641 * progmodes/dcl-mode.el (dcl-end-of-command):
13642 Remove unused variable `start'.
13643 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13644 (dcl-option-value-basic, dcl-option-value-offset)
13645 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13646 Mark unused parameters.
13647 (dcl-save-local-variable): Remove unused variable `val'.
13648 (mode): Declare.
13649
13650 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13651 Mark unused parameters.
13652 (delphi-ignore-changes): Move before first use.
13653 (delphi-charset-token-at): Remove unused variable `start'.
13654 (delphi-else-start): Remove unused variable `if-count'.
13655 (delphi-comment-block-start, delphi-comment-block-end):
13656 Remove unused variable `kind'.
13657 (delphi-indent-line): Remove unused variable `new-point'.
13658
13659 * progmodes/ebrowse.el (ebrowse-files-list)
13660 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13661 Mark unused parameters. Don't quote `lambda'.
13662 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13663 Don't quote `lambda'.
13664 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13665 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13666 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13667 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13668 Use `ignore-errors'.
13669 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13670 (ebrowse-view/find-file-and-search-pattern)
13671 (ebrowse-view/find-member-declaration/definition):
13672 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13673 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13674 Rename parameter PREFIX-ARG to PREFIX.
13675 (ebrowse-tags-read-name): Remove unused variables `start' and
13676 `member-info'.
13677 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13678 to `tags-file'.
13679
13680 * progmodes/etags.el (local-find-tag-hook): Declare.
13681 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13682 Mark unused parameters.
13683
13684 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13685 (executable-interpret): Mark unused parameter.
13686
13687 * progmodes/flymake.el (flymake-process-sentinel)
13688 (flymake-after-change-function)
13689 (flymake-create-temp-with-folder-structure)
13690 (flymake-get-include-dirs-dot): Mark unused parameters.
13691 (flymake-safe-delete-directory): Remove unused variable `err'.
13692
13693 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13694 (speedbar-timer-fn, speedbar-line-text)
13695 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13696 (speedbar-center-buffer-smartly): Declare functions.
13697 (gdb-find-watch-expression): Remove unused variable `array'.
13698 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13699 (gdb-starting): Mark unused parameters.
13700 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13701 (gdb-table-string): Remove unused variable `res'.
13702 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13703 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13704 (gdb-display-buffer): Remove unused variable `cur-size'.
13705
13706 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13707 allow lexical-binding compilation.
13708 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13709 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13710 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13711 Mark unused parameters.
13712 (gud-gdb-marker-filter): Remove unused variable `match'.
13713 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13714 lambda expressions and funcall them, instead of using `fset'.
13715
13716 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13717 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13718
13719 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13720 variable `header-beg'; use `let'.
13721
13722 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13723 `restart', `last-sexp' and `at-do'.
13724
13725 * progmodes/js.el (js--debug): Mark unused parameter.
13726 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13727 (js--splice-into-items): Remove unused variable `item'.
13728 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13729
13730 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13731 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13732 (makefile-complete): Remove unused variable `try'.
13733 (makefile-fill-paragraph, makefile-match-function-end):
13734 Mark unused parameters.
13735
13736 * progmodes/octave-inf.el (inferior-octave-complete):
13737 Remove unused variable `proc'.
13738 (inferior-octave-output-digest): Mark unused parameter.
13739
13740 * progmodes/perl-mode.el (perl-calculate-indent):
13741 Remove unused variable `err'.
13742
13743 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13744 (prolog-indent-line): Mark unused parameters.
13745 (prolog-indent-line): Remove unused variable `beg'.
13746
13747 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13748 (reporter-dont-compact-list): Declare.
13749
13750 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13751 Remove unused variable `char'.
13752 (sh-debug): Mark unused parameter.
13753 (sh-get-indent-info): Remove unused variable `start'.
13754 (sh-calculate-indent): Remove unused variable `var'.
13755
13756 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13757 (simula-electric-keyword): Remove unused variable `null'.
13758 (simula-search-backward, simula-search-forward): Remove unused
13759 variables `begin' and `end'.
13760
13761 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13762 Remove unused variable `pos'.
13763 (vera-electric-tab, vera-comment-uncomment-region):
13764 Mark unused parameters.
13765 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13766
13767 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
13768
13769 * emacs-lisp/package.el (package--builtins, package-alist)
13770 (package-load-descriptor, package-built-in-p, package-activate)
13771 (define-package, package-installed-p)
13772 (package-compute-transaction, package-buffer-info)
13773 (package--push): Doc fix. Distinguish more clearly between
13774 version strings and version lists.
13775
13776 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
13777
13778 Lexical-binding cleanup.
13779
13780 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13781 (5x5-make-mutate-best):
13782 * play/fortune.el (fortune-in-buffer):
13783 * play/gomoku.el (gomoku-init-display):
13784 * play/solitaire.el (solitaire, solitaire-do-check):
13785 * play/tetris.el (tetris-default-update-speed-function):
13786 Mark unused parameters.
13787
13788 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13789 (bubbles--shift): Remove unused variable `char-org'.
13790 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13791 (bubbles--show-images): Remove unused variable `char'.
13792
13793 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13794 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13795 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13796 (decipher-analyze-buffer): Use ?\s.
13797 (decipher-make-checkpoint): Remove unused variable `mapping'.
13798
13799 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13800
13801 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13802 Remove unused variable `result'; use `let'.
13803
13804 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13805 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13806 (gametree-children-shown-p, gametree-compute-reduced-score):
13807 Use `ignore-errors'.
13808
13809 * play/handwrite.el (ps-lpr-switches): Declare.
13810 (handwrite): Remove unused variables `pmin' and `lastp'.
13811
13812 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13813
13814 * play/landmark.el (landmark-init-display)
13815 (landmark-update-naught-weights): Mark unused parameters.
13816 (landmark-y): Remove unused variable `noise'. Simplify.
13817 (landmark-human-plays): Remove unused variable `score'.
13818
13819 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13820 (mpuz-try-proposal): Remove unused variable `game'.
13821
13822 * play/zone.el (life-patterns): Declare.
13823
13824 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
13825
13826 * vc/vc.el (ediff-vc-internal): Declare function.
13827
13828 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13829
13830 * shell.el: Use lexical-binding and std completion UI.
13831 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13832 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13833 comint-preoutput-filter-functions rather than on
13834 comint-output-filter-functions.
13835 (shell-command-completion, shell--command-completion-data)
13836 (shell-filename-completion, shell-environment-variable-completion)
13837 (shell-c-a-p-replace-by-expanded-directory): New functions.
13838 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13839 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13840 (shell-dynamic-complete-environment-variable): Use them.
13841 (shell-dynamic-complete-as-environment-variable)
13842 (shell-dynamic-complete-as-command): Remove.
13843 (shell-match-partial-variable): Match past point.
13844 * comint.el: Clean up use of completion-at-point-functions.
13845 (comint-completion-at-point): New function.
13846 (comint-mode): Use it completion-at-point-functions.
13847 (comint-dynamic-complete): Make it obsolete.
13848 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13849 (comint-c-a-p-replace-by-expanded-history): New function.
13850 (comint-dynamic-complete-functions)
13851 (comint-replace-by-expanded-history): Use it.
13852 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13853 termination strings. Try harder to avoid second try-completion.
13854 (completion-in-region-mode-map): Disable bindings that don't work yet.
13855
13856 * comint.el: Use lexical-binding. Require CL.
13857 (comint-dynamic-complete-functions): Use comint-filename-completion.
13858 (comint-completion-addsuffix): Tweak custom type.
13859 (comint-filename-completion, comint--common-suffix)
13860 (comint--common-quoted-suffix, comint--table-subvert)
13861 (comint--complete-file-name-data): New functions.
13862 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13863 (comint-dynamic-list-filename-completions): Use them.
13864 (comint-dynamic-simple-complete): Make obsolete.
13865
13866 * minibuffer.el (completion-in-region-mode):
13867 Keep completion-in-region-mode--predicate global.
13868 (completion-in-region--postch):
13869 Assume completion-in-region-mode--predicate is not null.
13870
13871 * progmodes/flymake.el (flymake-start-syntax-check-process):
13872 Obey `dir'. Simplify.
13873
13874 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13875 we're in VC after all.
13876
13877 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13878
13879 * vc/vc.el (vc-diff-build-argument-list-internal)
13880 (vc-version-ediff, vc-ediff): New commands.
13881 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13882
13883 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13884
13885 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13886 add sanity check.
13887
13888 * obsolete/erc-hecomplete.el: Make obsolete.
13889 * obsolete/: Standardize obsolescence info in the header.
13890
13891 2011-04-20 Glenn Morris <rgm@gnu.org>
13892
13893 * calendar/solar.el (solar-horizontal-coordinates):
13894 Use the longitude argument rather than `calendar-longitude'.
13895 (solar-date-next-longitude): Remove unused locals.
13896
13897 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13898
13899 * whitespace.el: New version 13.2.1.
13900
13901 2011-04-20 felix <EmacsWiki> (tiny change)
13902
13903 * whitespace.el (global-whitespace-mode): Keep highlight when
13904 switching between major modes on a file.
13905
13906 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13907
13908 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13909 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13910 multi-line comments as well.
13911
13912 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
13913
13914 Lexical-binding cleanup.
13915
13916 * arc-mode.el (archive-mode-revert):
13917 * cmuscheme.el (scheme-interactively-start-process):
13918 * custom.el (custom-initialize-delay):
13919 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13920 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13921 * emacs-lock.el (emacs-lock-clear-sentinel):
13922 * ezimage.el (defezimage):
13923 * follow.el (follow-avoid-tail-recenter):
13924 * fringe.el (set-fringe-mode-1):
13925 * generic-x.el (bat-generic-mode-compile):
13926 * help-mode.el (help-info-variable, help-do-xref)
13927 (help-mode-revert-buffer):
13928 * help.el (view-emacs-todo):
13929 * iswitchb.el (iswitchb-completion-help):
13930 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13931 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13932 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13933 * locate.el (locate-update):
13934 * longlines.el (longlines-encode-region)
13935 (longlines-after-change-function):
13936 * outline.el (outline-isearch-open-invisible):
13937 * ps-def.el (declare-function, charset-dimension, char-width)
13938 (encode-char):
13939 * ps-mule.el (ps-mule-plot-string):
13940 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13941 (recentf-edit-list-select, recentf-edit-list-validate)
13942 (recentf-open-files-action):
13943 * rect.el (delete-whitespace-rectangle-line)
13944 (rectangle-number-line-callback):
13945 * register.el (window-configuration-to-register)
13946 (frame-configuration-to-register):
13947 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13948 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13949 (xselect-convert-to-targets, xselect-convert-to-delete)
13950 (xselect-convert-to-filename, xselect-convert-to-charpos)
13951 (xselect-convert-to-lineno, xselect-convert-to-colno)
13952 (xselect-convert-to-os, xselect-convert-to-host)
13953 (xselect-convert-to-user, xselect-convert-to-class)
13954 (xselect-convert-to-name, xselect-convert-to-integer)
13955 (xselect-convert-to-atom, xselect-convert-to-identity):
13956 * subr.el (declare, ignore, process-kill-without-query)
13957 (text-clone-maintain):
13958 * terminal.el (te-get-char, te-tic-sentinel):
13959 * tool-bar.el (tool-bar-make-keymap):
13960 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13961 * type-break.el (type-break-mode, type-break-noninteractive-query):
13962 * view.el (View-back-to-mark):
13963 * wid-browse.el (widget-browse-action, widget-browse-widget)
13964 (widget-browse-widgets, widget-browse-sexp):
13965 * widget.el (define-widget-keywords):
13966 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13967 Mark unused parameters.
13968
13969 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13970 (align-areas): Remove unused variable `look'.
13971 (align-region): Remove unused variables `real-end' and `pos-list'.
13972
13973 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13974
13975 * bindings.el (mode-line-modified, mode-line-remote):
13976 Mark unused parameters.
13977 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13978
13979 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13980 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13981
13982 * comint.el (comint-history-isearch-pop-state)
13983 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13984 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13985 (comint-substitute-in-file-name): Doc fix.
13986
13987 * completion.el (cmpl-statistics-block): Mark unused parameter.
13988 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13989 (save-completions-to-file, load-completions-from-file):
13990 Remove unused local variable `e'.
13991
13992 * composite.el (compose-chars): Remove unused variable `len'.
13993 (lgstring-insert-glyph): Remove unused variable `g'.
13994 (compose-glyph-string): Remove unused variables `ascent',
13995 `descent', `lbearing' and `rbearing'.
13996 (compose-glyph-string-relative): Remove unused variables
13997 `lbearing', `rbearing' and `wadjust'.
13998 (compose-gstring-for-graphic): Remove unused variables `header',
13999 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
14000 (compose-gstring-for-terminal): Remove unused variables `header'
14001 and `nchars'. Use `let', not `let*'.
14002
14003 * cus-edit.el (Custom-set, Custom-save, custom-reset)
14004 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
14005 (Custom-buffer-done, custom-buffer-create-internal)
14006 (custom-browse-visibility-action, custom-browse-group-tag-action)
14007 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
14008 (widget-magic-mouse-down-action, custom-toggle-parent)
14009 (custom-add-parent-links, custom-toggle-hide-variable)
14010 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
14011 (custom-toggle-hide-face, face, hook, custom-group-link-action)
14012 (custom-face-menu-create, custom-variable-menu-create, get)
14013 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
14014 (custom-reset-standard-save-and-update): Remove unused variable `value'.
14015 (customize-apropos): Remove unused variable `tests'.
14016 (custom-group-value-create): Remove unused variable `hidden-p'.
14017 (sort-fold-case): Declare.
14018
14019 * cus-theme.el (custom-reset-standard-faces-list)
14020 (custom-reset-standard-variables-list): Declare.
14021 (customize-create-theme, custom-theme-revert, custom-theme-write)
14022 (custom-theme-choose-mode, customize-themes, custom-theme-save):
14023 Mark unused parameters.
14024
14025 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
14026
14027 * delim-col.el (delimit-columns-max): Move defvar before first use.
14028
14029 * descr-text.el (describe-char-categories): Don't quote `lambda'.
14030 (describe-char): Don't quote `lambda'. Mark unused parameter.
14031
14032 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
14033 (auto-insert): Declare.
14034 (desktop-restore-file-buffer): Rename desktop-* parameters;
14035 mark unused ones.
14036 (desktop-create-buffer): Rename desktop-* parameters and bind them.
14037 (desktop-buffer): Rename desktop-* parameters.
14038
14039 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
14040 (dframe-reposition-frame-xemacs, dframe-help-echo)
14041 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
14042 Mark unused parameters.
14043
14044 * dired-aux.el (backup-extract-version-start, overwrite-query)
14045 (overwrite-backup-query, rename-regexp-query)
14046 (rename-non-directory-query): Declare.
14047 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
14048 (dired-add-entry): Remove unused variable `orig-file-name'.
14049 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
14050 Use parameter PRESERVE-TIME instead of accessing dynamic variable
14051 `dired-copy-preserve-time' directly.
14052 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
14053 (dired-insert-subdir-newpos): Rename unused variable `pos'.
14054
14055 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
14056 (dired-virtual-revert, dired-make-relative-symlink):
14057 Mark unused parameters.
14058 (manual-program): Declare.
14059 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
14060 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
14061 wrapped in `with-no-warnings' to avoid replacing one warning by another.
14062
14063 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
14064
14065 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
14066
14067 * echistory.el (electric-history-in-progress, Helper-return-blurb):
14068 Declare.
14069
14070 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
14071
14072 * electric.el (Electric-command-loop): Rename parameter
14073 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
14074
14075 * expand.el (expand-in-literal): Remove unused variable `here'.
14076
14077 * facemenu.el (facemenu-add-new-color):
14078 Remove unused variable `docstring'.
14079
14080 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
14081 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
14082 (face-attr-construct): Mark unused parameter. Doc fix.
14083 (read-color): Remove unused variable `hex-string'.
14084
14085 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
14086 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
14087 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
14088 (display-buffer-other-frame): Remove unused variable `old-window'.
14089 (kill-buffer-hook): Declare.
14090 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
14091 Mark unused parameters.
14092 (after-find-file): Pass 1 to `auto-save-mode', not t.
14093
14094 * files-x.el (auto-insert): Declare.
14095 (modify-file-local-variable-prop-line): Remove unused variable `val'.
14096
14097 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
14098 variable `buf'. Mark unused parameter.
14099 (find-lisp-insert-directory): Mark unused parameter.
14100
14101 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
14102 (format-encode-region): Remove unused variables `cur-buf' and `result'.
14103 (format-common-tail): Remove, unused.
14104 (format-deannotate-region): Remove unused variable `loc'.
14105 (format-annotate-region): Remove unused variable `p'.
14106 (format-annotate-single-property-change): Remove unused variables
14107 `default' and `tail'.
14108
14109 * forms.el (read-file-filter): Declare.
14110 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
14111
14112 * frame.el (frame-creation-function-alist): Mark unused parameter.
14113 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
14114
14115 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
14116 Remove unused parameters.
14117 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
14118 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
14119
14120 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
14121 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
14122 (hfy-prepare-tag-map): Mark unused parameters.
14123 (htmlfontify-buffer): Use `called-interactively-p'.
14124
14125 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
14126 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
14127 (ibuffer-do-occur): Mark unused parameters.
14128 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
14129 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
14130
14131 * ibuffer.el: Don't quote `lambda'.
14132 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
14133 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
14134 Mark unused parameters.
14135
14136 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
14137 (ido-completing-read): Mark unused parameters.
14138 (ido-copy-current-word): Mark unused parameters;
14139 remove unused variable `name'.
14140 (ido-sort-merged-list): Remove unused parameter `dirs'.
14141
14142 * ielm.el (ielm-input-sender): Mark unused parameter.
14143 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
14144 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
14145 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
14146 `ielm-string' as a dynamic variable accessible from the IELM prompt.
14147 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
14148
14149 * image-dired.el (image-dired-display-thumbs): Remove unused
14150 variables `curr-file' and `count'.
14151 (image-dired-remove-tag): Remove unused variable `start'.
14152 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
14153 variable `curr-file'
14154 (image-dired-rotate-original): Remove unused variable `temp-file'.
14155 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
14156 Remove unused variable `file'.
14157 (image-dired-gallery-generate): Remove unused variable `curr'.
14158 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
14159
14160 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
14161
14162 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
14163
14164 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
14165
14166 * isearch.el (minibuffer-history-symbol): Declare.
14167 (isearch-edit-string): Remove unused variable `err'.
14168 (isearch-message-prefix, isearch-message-suffix):
14169 Mark unused parameters.
14170
14171 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
14172
14173 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
14174
14175 * makesum.el (double-column): Remove unused variable `cnt'.
14176
14177 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
14178 (ido-ignore-item-temp-list): Declare.
14179
14180 * mouse-drag.el (mouse-drag-throw): Remove unused variables
14181 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
14182 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
14183 (mouse-drag-drag): Remove unused variables `mouse-delta' and
14184 `mouse-col-delta'.
14185
14186 * mouse-sel.el (mouse-extend-internal):
14187 Remove unused variable `orig-window-frame'.
14188
14189 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
14190 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
14191 Move declarations before first use.
14192 (pcomplete-opt): Mark unused parameters; doc fix.
14193
14194 * proced.el (proced-revert): Mark unused parameter.
14195 (proced-send-signal): Remove unused variable `err'.
14196
14197 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
14198 Rename parameter PREFIX-ARG to ARG.
14199 (ps-basic-plot-string, ps-basic-plot-whitespace):
14200 Mark unused parameters.
14201
14202 * replace.el (replace-count): Define.
14203 (occur-revert-function): Mark unused parameters.
14204 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
14205 (isearch-case-fold-search, isearch-string): Declare.
14206 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
14207 bind `case-fold-search'. Remove unused variables `beg' and `end',
14208 and simplify.
14209 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
14210 COUNT and bind `replace-count'.
14211 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
14212 to COUNT.
14213
14214 * savehist.el (print-readably, print-string-length): Declare.
14215
14216 * shadowfile.el (shadow-expand-cluster-in-file-name):
14217 Remove unused variable `cluster'.
14218 (shadow-copy-file): Remove unused variable `i'.
14219 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14220 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14221 (shadow-define-literal-group, shadow-define-regexp-group)
14222 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14223
14224 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14225 (shell): Use `called-interactively-p'.
14226 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14227
14228 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14229 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14230 (delete-backward-char): Remove unused variable `ocol'.
14231 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14232 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14233 (event-apply-hyper-modifier, event-apply-shift-modifier)
14234 (event-apply-control-modifier, event-apply-meta-modifier):
14235 Mark unused parameters.
14236 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14237 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14238
14239 * speedbar.el (speedbar-ignored-directory-expressions)
14240 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14241 (speedbar-find-file, speedbar-dir-follow)
14242 (speedbar-directory-buttons-follow, speedbar-tag-find)
14243 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14244 (speedbar-buffers-line-directory, speedbar-buffer-click):
14245 Mark unused parameters.
14246 (speedbar-tag-file): Remove unused variable `mode'.
14247 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14248
14249 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14250
14251 * talk.el (talk): Remove unused variable `display'.
14252
14253 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14254 (tar-write-region-annotate): Mark unused parameter.
14255
14256 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14257 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14258 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14259 warning by another.
14260
14261 * time-stamp.el (time-stamp-string-preprocess):
14262 Remove unused variable `require-padding'.
14263
14264 * tree-widget.el (widget-glyph-enable): Declare.
14265 (tree-widget-action): Mark unused parameter.
14266
14267 * w32-fns.el (x-get-selection): Mark unused parameter.
14268 (autoload-make-program, generated-autoload-file): Declare.
14269
14270 * wdired.el (wdired-revert): Mark unused parameters.
14271 (wdired-xcase-word): Remove unused variable `err'.
14272
14273 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14274 (whitespace-help-scroll): Remove unused variable `data-help'.
14275
14276 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14277 (widget-image-insert, widget-after-change, default)
14278 (widget-default-format-handler, widget-default-notify)
14279 (widget-default-prompt-value, widget-info-link-action)
14280 (widget-url-link-action, widget-function-link-action)
14281 (widget-variable-link-action, widget-file-link-action)
14282 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14283 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14284 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14285 (widget-insert-button-action, widget-delete-button-action, visibility)
14286 (widget-documentation-link-action, widget-documentation-string-action)
14287 (widget-const-prompt-value, widget-regexp-match, symbol)
14288 (widget-coding-system-prompt-value)
14289 (widget-key-sequence-value-to-external, sexp)
14290 (widget-sexp-value-to-internal, character, vector, cons)
14291 (widget-choice-prompt-value, widget-boolean-prompt-value)
14292 (widget-color--choose-action): Mark unused parameters.
14293 (widget-item-match-inline, widget-choice-match-inline)
14294 (widget-checklist-match, widget-checklist-match-inline)
14295 (widget-group-match): Rename parameter VALUES to VALS.
14296 (widget-field-value-set): Remove unused variable `size'.
14297 (widget-color-action): Remove unused variables `value' and `start'.
14298
14299 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
14300 variable `dir'. Doc fix.
14301 (windmove-find-other-window): Don't pass it.
14302
14303 * window.el (count-windows): Mark unused parameter.
14304 (bw-adjust-window): Remove unused variable `err'.
14305
14306 * woman.el (woman-file-name): Remove unused variable `default'.
14307 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14308 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14309 (global-font-lock-mode): Declare.
14310 (woman-decode-region): Mark unused parameter.
14311 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14312
14313 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14314 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14315 (x-dnd-handle-moz-url): Remove unused variable `title'.
14316 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14317
14318 * xml.el (xml-parse-tag, xml-parse-attlist):
14319 Remove unused variable `pos'.
14320
14321 2011-04-19 Glenn Morris <rgm@gnu.org>
14322
14323 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14324 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14325 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14326 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14327 * calendar/cal-html.el (cal-html-insert-minical):
14328 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14329 (calendar-mark-date-pattern):
14330 Prefix "unused" locals.
14331
14332 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14333 optional argument `style'.
14334
14335 * calendar/appt.el (appt-make-list):
14336 * calendar/cal-china.el (calendar-chinese-date-string):
14337 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14338 (diary-hebrew-yahrzeit):
14339 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14340 * calendar/calendar.el (calendar-generate-window):
14341 * calendar/time-date.el (time-to-days):
14342 Remove unused local variables.
14343
14344 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
14345
14346 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14347 glyphless-char-display table.
14348 (tabulated-list-glyphless-char-display): New var.
14349
14350 2011-04-18 Sam Steingold <sds@gnu.org>
14351
14352 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14353 to acknowledgments.
14354
14355 2011-04-17 Glenn Morris <rgm@gnu.org>
14356
14357 * calendar/diary-lib.el (diary-sexp-entry):
14358 * calendar/holidays.el (holiday-sexp):
14359 Set debug-on-error rather than the removed stack-trace-on-error.
14360
14361 2011-04-16 Glenn Morris <rgm@gnu.org>
14362
14363 * progmodes/f90.el: Use lexical-binding.
14364 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14365
14366 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14367
14368 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14369 (mail-mode): Setup mailalias completion here instead.
14370 * mail/mailalias.el: Use lexical-binding.
14371 (pattern, mailalias-done): Declare dynamic.
14372 (mail-completion-at-point-function): New function, from mail-complete.
14373 (mail-complete): Use it.
14374 (mail-completion-expand): New function.
14375 (mail-get-names): Use it.
14376 (mail-directory, mail-directory-process, mail-directory-stream):
14377 Don't use `pattern' for lexically bound arg.
14378
14379 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14380
14381 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14382 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14383 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14384
14385 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14386 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14387 (byte-interactive-p): Define them again, for use when inlining
14388 old code.
14389
14390 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
14391
14392 * loadup.el: Use `string-to-number', not `string-to-int'.
14393
14394 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14395
14396 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14397 gud-gdb-complete-command.
14398 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14399 (gud-gdb-completion-at-point): New function.
14400 (gud-gdb-completions): Remove.
14401
14402 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
14403
14404 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14405 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14406 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14407 whether `executable-find' is bound.
14408
14409 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14410
14411 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14412
14413 * minibuffer.el (completion-in-region-mode-predicate)
14414 (completion-in-region-mode--predicate): New vars.
14415 (completion-in-region, completion-in-region--postch)
14416 (completion-in-region-mode): Use them.
14417 (completion--capf-wrapper): Also return the hook function.
14418 (completion-at-point, completion-help-at-point):
14419 Adjust and provide a predicate.
14420
14421 Preserve arg names for advice of subr and lexical functions (bug#8457).
14422 * help-fns.el (help-function-arglist): Consolidate the subr and
14423 new-byte-code cases. Add argument `preserve-names' to extract names
14424 from the docstring when needed.
14425 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14426 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14427 (ad-arglist): Use help-function-arglist's new arg.
14428 (ad-definition-type): Use cond.
14429
14430 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
14431
14432 * autorevert.el (auto-revert-handler):
14433 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14434 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14435 Don't quote lambda.
14436
14437 * image-mode.el (image-transform-set-scale):
14438 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14439
14440 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14441
14442 * net/network-stream.el (network-stream-open-starttls): Only do
14443 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
14444 Upgrades via gnutls-cli are too slow to be done opportunistically.
14445
14446 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
14447
14448 * dframe.el (dframe-current-frame): Remove spurious quote.
14449
14450 2011-04-12 Glenn Morris <rgm@gnu.org>
14451
14452 * calendar/cal-tex.el (cal-tex-end-document):
14453 Try to automatically use latin1 input if needed.
14454
14455 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14456 Don't try to cons a mark onto an empty element.
14457
14458 2011-04-11 Leo Liu <sdl.web@gmail.com>
14459
14460 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14461 buffers.
14462 (ido-kill-buffer-at-head): Support killing virtual buffers.
14463
14464 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
14465
14466 * minibuffer.el (completion-show-inline-help): New var.
14467 (completion--do-completion, minibuffer-complete)
14468 (minibuffer-force-complete, minibuffer-complete-word):
14469 Inhibit minibuffer messages if completion-show-inline-help is nil.
14470
14471 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14472 to avoid interference from inline help (Bug#5849).
14473
14474 2011-04-10 Leo Liu <sdl.web@gmail.com>
14475
14476 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14477 Fix typo.
14478
14479 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
14480
14481 * image-mode.el (image-toggle-display-image): Signal an error if
14482 not in Image mode.
14483 (image-transform-mode, image-transform-resize)
14484 (image-transform-set-rotation): Doc fix.
14485 (image-transform-set-resize): Delete.
14486 (image-transform-set-scale, image-transform-fit-to-height)
14487 (image-transform-fit-to-width): Handle image-toggle-display-image
14488 and image-transform-resize directly.
14489
14490 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
14491
14492 * doc-view.el (doc-view-fit-width-to-window)
14493 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14494 New functions for fitting the shown image to the Emacs window size.
14495 (doc-view-mode-map): Add bindings for the new functions.
14496
14497 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
14498
14499 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
14500 Fix typo in docstring.
14501
14502 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14503
14504 * files.el (file-size-human-readable): Produce one digit after
14505 decimal, like "ls -lh" does.
14506
14507 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14508 the file size representation.
14509
14510 * simple.el (list-processes): If async subprocesses are not
14511 available, error out with a clear error message.
14512
14513 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
14514
14515 * help.el (help-form-show): New function, to be called from C.
14516 Put help-form output in a buffer named differently than *Help*.
14517
14518 2011-04-08 Eli Zaretskii <eliz@gnu.org>
14519
14520 * files.el (file-size-human-readable): New function.
14521
14522 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14523 computing the representation inline. Don't require `cl'.
14524
14525 2011-04-08 Glenn Morris <rgm@gnu.org>
14526
14527 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14528
14529 * net/browse-url.el (browse-url-firefox):
14530 Test system-type, not system-configuration.
14531
14532 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14533 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14534 Use log-edit-empty-buffer-p. (Bug#7598)
14535
14536 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14537 (rlogin-mode-map): Initialize in the defvar.
14538 (rlogin): Use ignore-errors.
14539
14540 * replace.el (occur-mode-map): Some fixes for menu items.
14541
14542 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14543
14544 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14545
14546 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14547
14548 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14549 issuing unused warnings.
14550
14551 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14552 macro directly.
14553
14554 * simple.el: Lisp reimplement of list-processes. Based on an
14555 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14556 (process-menu-mode): New major mode.
14557 (list-processes--refresh, list-processes):
14558 (process-menu-visit-buffer): New functions.
14559
14560 * files.el (save-buffers-kill-emacs): Don't assume any return
14561 value of list-processes, which is undocumented anyway.
14562
14563 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
14564
14565 * emacs-lisp/tabulated-list.el: New file.
14566
14567 * emacs-lisp/package.el: Use Tabulated List mode.
14568 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14569 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14570 table format using Tabulated List mode variables.
14571 (package--push): New macro, replacing package-list-maybe-add.
14572 (package-menu--generate): Use package--push. Renamed from
14573 package--generate-package-list.
14574 (package-menu-refresh, list-packages): Use it.
14575 (package-menu--print-info): Rename from package-print-package.
14576 Return insertion data instead of inserting it directly.
14577 (package-menu-describe-package, package-menu-execute):
14578 Use tabulated-list-get-id.
14579 (package-menu-mark-delete, package-menu-mark-install)
14580 (package-menu-mark-unmark, package-menu-backup-unmark)
14581 (package-menu-mark-obsolete-for-deletion):
14582 Use tabulated-list-put-tag.
14583 (package--list-packages, package-menu-revert)
14584 (package-menu-get-package, package-menu-get-version)
14585 (package-menu-sort-by-column): Functions deleted.
14586 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14587 (package-menu--status-predicate, package-menu--version-predicate)
14588 (package-menu--name-predicate)
14589 (package-menu--description-predicate): Handle arguments in the
14590 Tabulated List format.
14591 (package-list-packages-no-fetch): Call list-packages.
14592
14593 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
14594
14595 * files.el (after-find-file-from-revert-buffer): Remove variable.
14596 (after-find-file): Don't bind it.
14597 (revert-buffer-in-progress-p): New variable.
14598 (revert-buffer): Bind it.
14599 Pass nil for `after-find-file-from-revert-buffer'.
14600
14601 * saveplace.el (save-place-find-file-hook): Use new variable
14602 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14603
14604 2011-04-06 Glenn Morris <rgm@gnu.org>
14605
14606 * Makefile.in (AUTOGEN_VCS): New variable.
14607 (autoloads): Use $AUTOGEN_VCS.
14608
14609 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14610 * calendar/calendar.el (calendar-mode-map):
14611 Check for toolkit scroll bars. (Bug#8305)
14612
14613 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14614
14615 * minibuffer.el (completion-in-region--postch)
14616 (completion-in-region-mode): Remove unnecessary messages.
14617
14618 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
14619
14620 * font-lock.el (font-lock-refresh-defaults):
14621 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14622 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14623
14624 * info.el (Info-directory-list, Info-read-node-name-2)
14625 (Info-split-parameter-string): Doc fixes.
14626 (Info-virtual-nodes): Reflow docstring.
14627 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14628 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14629 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14630 Fix typos in docstrings.
14631 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14632 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14633 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14634 (Info-restore-desktop-buffer): Mark unused parameters.
14635 (Info-directory-find-file, Info-directory-find-node)
14636 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14637 (Info-virtual-index-find-node, Info-apropos-find-file)
14638 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
14639 Mark unused parameters; fix typos in docstrings.
14640 (Info-virtual-index): Remove unused local variable `nodename'.
14641
14642 2011-04-05 Deniz Dogan <deniz@dogan.se>
14643
14644 * net/rcirc.el: Update my e-mail address.
14645 (rcirc-mode-map): Remove M-o binding.
14646
14647 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
14648
14649 * startup.el (command-line): Save the cursor's theme-face
14650 directly, instead of using face-override-spec.
14651
14652 * custom.el (load-theme): Minor optimization in assigning faces.
14653
14654 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14655
14656 * help-fns.el (describe-variable): Complete all variables having
14657 documentation, including keywords.
14658 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14659
14660 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
14661
14662 Convert to lexical-binding.
14663
14664 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14665 (bs--get-marked-string, bs--get-modified-string)
14666 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14667 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14668 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14669
14670 * ehelp.el (electric-help-execute-extended)
14671 (electric-help-ctrl-x-prefix):
14672 * hexl.el (hexl-revert-buffer-function):
14673 * linum.el (linum-after-change, linum-after-scroll):
14674 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14675
14676 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14677
14678 2011-04-04 Daiki Ueno <ueno@unixuser.org>
14679
14680 * epa-dired.el:
14681 * epa-mail.el:
14682 * epa-hook.el:
14683 * epa-file.el:
14684 * epa.el:
14685 * epg.el: Use lexical binding.
14686
14687 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
14688
14689 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14690
14691 * textmodes/flyspell.el (flyspell-word): Recognize default
14692 dictionary case for flyspell-mark-duplications-exceptions.
14693 Use regexp matching for languages.
14694 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14695 default dictionary (Bug#7926).
14696
14697 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
14698
14699 * emacs-lisp/package.el (package--with-work-buffer):
14700 Recognize https URLs.
14701
14702 * net/network-stream.el: Move from gnus/proto-stream.el.
14703 Change prefix to network-stream throughout.
14704 (open-protocol-stream): Merge into open-network-stream, leaving
14705 open-protocol-stream as an alias. Handle nil BUFFER args.
14706
14707 * subr.el (open-network-stream): Move to net/network-stream.el.
14708
14709 2011-04-02 Glenn Morris <rgm@gnu.org>
14710
14711 * find-dired.el (find-exec-terminator): New option.
14712 (find-ls-option): Test for -ls support.
14713 (find-ls-subdir-switches): Test for -b in find-ls-option.
14714 (find-dired, find-grep-dired): Doc fixes.
14715 (find-dired): Use find-exec-terminator.
14716
14717 * find-dired.el (find-ls-option, find-ls-subdir-switches)
14718 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14719 (find-name-arg): Remove purecopy.
14720
14721 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14722 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14723 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14724 accordingly. Don't add the null-device if not needed.
14725
14726 * files.el (save-some-buffers): Doc fix.
14727
14728 2011-04-02 Eli Zaretskii <eliz@gnu.org>
14729
14730 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14731
14732 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
14733
14734 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14735 Use `dolist' rather than `mapcar'.
14736
14737 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14738
14739 Add lexical binding.
14740
14741 * subr.el (apply-partially): Use new closures rather than CL.
14742 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14743 (dolist, dotimes): Use slightly different expansion for lexical code.
14744 (functionp): Move to C.
14745 (letrec): New macro.
14746 (with-wrapper-hook): Use it and apply-partially instead of CL.
14747 (eval-after-load): Preserve lexical-binding.
14748 (save-window-excursion, with-output-to-temp-buffer): Turn them
14749 into macros.
14750
14751 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14752
14753 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14754 than the arglist.
14755 (help-add-fundoc-usage): Don't add `Not documented'.
14756 (help-function-arglist): Handle closures, subroutines, and new
14757 byte-code-functions.
14758 (help-make-usage): Remove leading underscores.
14759 (describe-function-1): Handle closures.
14760 (describe-variable): Use special-variable-p for completion.
14761
14762 * files.el (lexical-binding): Declare safe.
14763
14764 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14765 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14766 (pcase): Add `let' pattern.
14767 Change memoization so it actually works.
14768 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14769 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14770 <let>: New case.
14771
14772 * emacs-lisp/macroexp.el: Use lexical binding.
14773 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14774 Don't convert ' to #' without checking that it's indeed quoting
14775 a lambda.
14776
14777 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
14778 Use eval-sexp-add-defvars.
14779 (eval-sexp-add-defvars): New fun.
14780
14781 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14782
14783 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14784 Don't autoload.
14785 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14786 than the internal `byte-compile-lambda'.
14787 (defmethod): Don't hide code under quotes.
14788 (eieio-defmethod): New `code' argument.
14789
14790 * emacs-lisp/eieio-comp.el: Remove.
14791
14792 * emacs-lisp/edebug.el (edebug-eval-defun)
14793 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14794 (edebug-toggle): Avoid `eval'.
14795
14796 * emacs-lisp/disass.el (disassemble-internal): Handle new
14797 `closure' objects.
14798 (disassemble-1): Handle new byte codes.
14799
14800 * emacs-lisp/cl.el (pushnew): Silence warning.
14801
14802 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14803 (cl-byte-compile-throw): Remove.
14804 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14805
14806 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14807 closures.
14808
14809 * emacs-lisp/cconv.el: New file.
14810
14811 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14812 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14813 (byte-compile-initial-macro-environment):
14814 Handle declare-function here.
14815 (byte-compile--lexical-environment): New var.
14816 (byte-stack-ref, byte-stack-set, byte-discardN)
14817 (byte-discardN-preserve-tos): New lap codes.
14818 (byte-interactive-p): Don't use any more.
14819 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14820 New macros.
14821 (byte-compile-lapcode): Use them and handle new lap codes.
14822 (byte-compile-obsolete): Remove.
14823 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14824 (byte-compile-arglist-warn): Check late def of inlinable funs.
14825 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14826 since they should have been expanded by now.
14827 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14828 (byte-compile-from-buffer): Remove unused second arg.
14829 (byte-compile-preprocess): New function.
14830 (byte-compile-toplevel-file-form): New function to distinguish
14831 file-form calls from outside from file-form calls from hunk-handlers.
14832 (byte-compile-file-form): Simplify.
14833 (byte-compile-file-form-defsubst): Remove.
14834 (byte-compile-file-form-defmumble): Simplify now that
14835 byte-compile-lambda always returns a byte-code-function.
14836 (byte-compile): Preprocess.
14837 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14838 Remove, not used any more.
14839 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14840 (byte-compile-make-args-desc): New funs.
14841 (byte-compile-lambda): Handle lexical functions. Always return
14842 a byte-code-function.
14843 (byte-compile-reserved-constants): New var, to make up room for
14844 closed-over variables.
14845 (byte-compile-constants-vector): Obey it.
14846 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14847 (byte-compile-macroexpand-declare-function): New function.
14848 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14849 byte-code-functions.
14850 (byte-compile-form): Check obsolescence here.
14851 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14852 (byte-compile-variable-ref): Remove.
14853 (byte-compile-dynamic-variable-op): New fun.
14854 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14855 (byte-compile-variable-set): New funs.
14856 (byte-compile-discard): Add 2 args.
14857 (byte-compile-stack-ref, byte-compile-stack-set)
14858 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14859 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14860 macroexpand-all instead.
14861 (byte-compile-quote-form): Remove.
14862 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14863 (byte-compile-bind, byte-compile-unbind): New funs.
14864 (byte-compile-let): Handle let* and lexical binding.
14865 (byte-compile-let*): Remove.
14866 (byte-compile-catch, byte-compile-unwind-protect)
14867 (byte-compile-track-mouse, byte-compile-condition-case):
14868 Handle a new :fun-body form, used for lexical scoping.
14869 (byte-compile-save-window-excursion)
14870 (byte-compile-with-output-to-temp-buffer): Remove.
14871 (byte-compile-defun): Simplify.
14872 (byte-compile-stack-adjustment): New fun.
14873 (byte-compile-out): Use it.
14874 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14875
14876 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14877 handler any more.
14878
14879 * emacs-lisp/byte-opt.el: Use lexical binding.
14880 (byte-inline-lapcode): Remove (to bytecomp).
14881 (byte-compile-inline-expand): Pay attention to inlining to/from
14882 lexically bound code.
14883 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14884 any more.
14885 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14886 any more and don't call compiler-macros.
14887 (byte-compile-splice-in-already-compiled-code): Remove.
14888 (byte-code): Don't inline any more.
14889 (disassemble-offset): Receive `bytes' as argument rather than via
14890 dynamic scoping.
14891 (byte-compile-tag-number): Declare before first use.
14892 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14893 `return' even if make-spliceable.
14894 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14895 obsolete interactive-p.
14896 (byte-optimize-lapcode): Optimize new lap-codes.
14897 Don't trip up on new form of `byte-constant' lap code.
14898
14899 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14900
14901 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14902
14903 * custom.el (custom-initialize-default, custom-declare-variable):
14904 Use `defvar'.
14905
14906 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14907 New variables.
14908 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14909 (COMPILE_FIRST): Add macroexp and cconv.
14910 * makefile.w32-in: Mirror changes in Makefile.in.
14911
14912 * vc/cvs-status.el:
14913 * vc/diff-mode.el:
14914 * vc/log-edit.el:
14915 * vc/log-view.el:
14916 * vc/smerge-mode.el:
14917 * textmodes/bibtex-style.el:
14918 * textmodes/css.el:
14919 * startup.el:
14920 * uniquify.el:
14921 * minibuffer.el:
14922 * newcomment.el:
14923 * reveal.el:
14924 * server.el:
14925 * mpc.el:
14926 * emacs-lisp/smie.el:
14927 * doc-view.el:
14928 * dired.el:
14929 * abbrev.el: Use lexical binding.
14930
14931 2011-04-01 Eli Zaretskii <eliz@gnu.org>
14932
14933 * info.el (info-display-manual): New function.
14934
14935 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14936
14937 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14938
14939 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14940
14941 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
14942 an entry for that server in rcirc-authinfo. (Bug#8385)
14943
14944 2011-03-31 Glenn Morris <rgm@gnu.org>
14945
14946 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14947
14948 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14949
14950 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14951
14952 * progmodes/python.el (python-default-interpreter)
14953 (python-python-command-args, python-jython-command-args)
14954 (python-which-shell, python-which-args, python-which-bufname)
14955 (python-file-queue, python-comint-output-filter-function)
14956 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14957 variables and functions.
14958
14959 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14960
14961 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14962 (completion-in-region-mode): New minor mode.
14963 (completion-in-region): Use it.
14964 (completion-in-region--data, completion-in-region-mode-map): New vars.
14965 (completion-in-region--postch): New function.
14966 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14967 New vars.
14968 (completion--capf-wrapper): New function.
14969 (completion-at-point): Use it to track well-behavedness of
14970 hook functions.
14971 (completion-help-at-point): New command.
14972
14973 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14974
14975 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14976 syntax class to search for whitespace on a single line
14977 (Message-ID: <4D938140.4030905@redhat.com>).
14978
14979 2011-03-30 Leo Liu <sdl.web@gmail.com>
14980
14981 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14982 New commands.
14983 (edit-abbrevs-map): Bind them here.
14984 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14985
14986 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14987
14988 * allout.el (allout-hide-by-annotation, allout-flag-region):
14989 Reduce possibility of overlay leakage by making them volatile.
14990
14991 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14992 hash is not shared between buffers. Mode initialization is
14993 responsible for giving it a useful starting value.
14994 (allout-item-span): Reduce possibility of overlay leakage by
14995 making them volatile.
14996 (allout-widgets-count-buttons-in-region): Add diagnostic function
14997 for tracking down button overlay leaks.
14998
14999 2011-03-29 Leo Liu <sdl.web@gmail.com>
15000
15001 * ido.el (ido-read-internal): Use the default history var
15002 minibuffer-history if no HISTORY is specified.
15003
15004 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
15005
15006 * net/imap.el (imap-shell-open, imap-process-connection-type):
15007 Use imap-process-connection-type for 'shell' streams as well as
15008 Kerberos, SSL, other subprocesses.
15009
15010 2011-03-28 Leo Liu <sdl.web@gmail.com>
15011
15012 * abbrev.el (abbrev-table-empty-p): New function.
15013 (prepare-abbrev-list-buffer): Place empty abbrev tables after
15014 nonempty ones. (Bug#5937)
15015
15016 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
15017
15018 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
15019
15020 2011-03-27 Leo Liu <sdl.web@gmail.com>
15021
15022 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
15023 for foreground and background colors.
15024 (ansi-color-make-color-map): Adapt.
15025
15026 2011-03-25 Leo Liu <sdl.web@gmail.com>
15027
15028 * midnight.el (midnight-time-float): Remove. Note it calculates
15029 the microsecond component incorrectly and seconds-to-time does the
15030 same job.
15031 Remove redundant (require 'timer).
15032
15033 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
15034 (ido-completions): Remove unused arguments. (Bug#8329)
15035
15036 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * minibuffer.el (completion--flush-all-sorted-completions):
15039 Remove itself from hook.
15040 (completion-at-point): Let the functions perform the completion
15041 immediately and return nil or t.
15042 * comint.el (comint-dynamic-complete-functions): Now identical to
15043 completion-at-point-functions.
15044 (comint-dynamic-list-input-ring): Remove unused var `index'.
15045 (comint--match-partial-filename, comint--unquote&expand-filename):
15046 New funs, split from comint-match-partial-filename.
15047 (comint-dynamic-complete): Use completion-at-point.
15048 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
15049
15050 2011-03-24 Drew Adams <drew.adams@oracle.com>
15051
15052 * thingatpt.el: Support `defun'.
15053
15054 2011-03-23 Leo Liu <sdl.web@gmail.com>
15055
15056 * abbrevlist.el: Move to obsolete/abbrevlist.el.
15057
15058 * help-mode.el (help-mode-finish): Tweak regexp.
15059
15060 2011-03-23 Glenn Morris <rgm@gnu.org>
15061
15062 * eshell/esh-opt.el (eshell-eval-using-options):
15063 Do not bind unused local variable `eshell-option-stub'.
15064
15065 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
15066
15067 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15068
15069 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
15070 keymap variable in `with-no-warnings' to avoid a warning when the
15071 keymap has been already `defconst'ed.
15072
15073 2011-03-22 Leo Liu <sdl.web@gmail.com>
15074
15075 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
15076 encode all chars in abbrevs; otherwise use emacs-mule or
15077 utf-8-emacs. (Bug#8308)
15078
15079 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
15080
15081 * simple.el (backward-delete-char-untabify):
15082 Avoid warning about using `delete-backward-char'.
15083
15084 * image.el (image-type-file-name-regexps): Make it variable.
15085 `imagemagick-register-types' modifies it, and the user may want
15086 to add new extensions for known image types.
15087 (imagemagick-register-types): Throw error if not using ImageMagick.
15088
15089 2011-03-22 Leo Liu <sdl.web@gmail.com>
15090
15091 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
15092 located before rcirc-prompt-end-marker.
15093 (rcirc-complete): Error if point is not after rcirc prompt.
15094 Handle the case when table is nil.
15095 (rcirc-user-authenticated): Define to fix compiler warning.
15096
15097 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
15098
15099 * custom.el (custom--inhibit-theme-enable): Make it affect only
15100 custom-theme-set-variables and custom-theme-set-faces.
15101 (provide-theme): Ignore custom--inhibit-theme-enable.
15102 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
15103 (custom-enabling-themes): Delete variable.
15104 (enable-theme): Accept only loaded themes as arguments.
15105 Ignore the special custom-enabled-themes variable.
15106 (custom-enabled-themes): Forbid themes from setting this.
15107 Eliminate use of custom-enabling-themes.
15108 (custom-push-theme): Quote "changed" custom var entry.
15109
15110 2011-03-21 Leo Liu <sdl.web@gmail.com>
15111
15112 * ido.el (ido-read-internal): Add ido-selected to history instead
15113 of user input.
15114
15115 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
15116
15117 * subr.el (deferred-action-list, deferred-action-function):
15118 Mark obsolete.
15119
15120 2011-03-21 Leo Liu <sdl.web@gmail.com>
15121
15122 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
15123 change on 2011-02-13 (bug#8309).
15124
15125 * minibuffer.el (read-file-name-function): Change default value.
15126 (read-file-name--defaults): Rename from read-file-name-defaults.
15127 (read-file-name-default): Rename from read-file-name.
15128 (read-file-name): Call read-file-name-function.
15129
15130 2011-03-21 Glenn Morris <rgm@gnu.org>
15131
15132 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
15133 Doc fixes.
15134
15135 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
15136
15137 * cus-theme.el: Add missing provide statement.
15138 (customize-create-theme): Extract theme value correctly.
15139 (custom-theme-visit-theme): Autoload.
15140 (customize-create-theme): Prompt before inserting default faces.
15141
15142 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
15143
15144 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
15145 units and musical notes.
15146
15147 2011-03-20 Leo Liu <sdl.web@gmail.com>
15148
15149 * ido.el (ido-read-internal): Use completing-read-default.
15150 (ido-completing-read): Fix compatibility with completing-read.
15151
15152 2011-03-20 Christian Ohler <ohler@gnu.org>
15153
15154 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
15155 (ert-delete-all-tests): Use `called-interactively-p' rather than
15156 `interactive-p'.
15157 (ert--make-xrefs-region): Respect END.
15158
15159 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15160
15161 * dired-aux.el (dired-create-directory): Signal an error if the
15162 directory already exists (Bug#8246).
15163
15164 * facemenu.el (list-colors-display): Call list-faces-display
15165 inside with-help-window.
15166 (list-colors-print): Use display property to align the final
15167 column, instead of checking window-width.
15168
15169 2011-03-19 Eli Zaretskii <eliz@gnu.org>
15170
15171 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
15172 windows-nt systems.
15173 (emerge-protect-metachars): Quote correctly for ms-dos and
15174 windows-nt systems.
15175
15176 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
15177
15178 * info.el (info-initialize): Replace all uses of `:' with
15179 path-separator for compatibility with non-Unix systems.
15180 Cache quoting of path-separator. (Bug#8258)
15181
15182 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
15183
15184 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
15185 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
15186 (mouse-avoidance-mode): Fix typos in docstrings.
15187
15188 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
15189
15190 * startup.el (package-subdirectory-regexp): Move from package.el.
15191 Omit \\` and \\', and let callers add them.
15192
15193 * emacs-lisp/package.el (package-strip-version)
15194 (package-load-all-descriptors): Add \\` and \\' to
15195 package-subdirectory-regexp before using it.
15196 (package-untar-buffer): New arg DIR; ensure that file untars only
15197 into this expected directory. Remove superfluous delete-region.
15198 (package-unpack): Caller changed.
15199 (package-tar-file-info): Use package-subdirectory-regexp.
15200
15201 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15202
15203 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
15204 diff-mode-shared-map (bug#8284).
15205 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
15206
15207 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
15208
15209 * calendar/time-date.el (format-seconds): Use assoc instead of
15210 assoc-string, since assoc-string doesn't exist in XEmacs.
15211
15212 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
15213
15214 * custom.el (custom-known-themes): Reflow docstring.
15215 (custom-theme-load-path): Fix typo in docstring.
15216 (load-theme): Fix typo in error message.
15217 (custom-available-themes, custom-variable-theme-value):
15218 Use `let', not `let*'.
15219
15220 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15221
15222 * calc/README: Mention inclusion of musical notes.
15223
15224 * calc/calc-units.el (calc-lu-quant): Rename from
15225 `calc-logunits-quantity'.
15226 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15227 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15228 (calc-db): Rename from `calc-dblevel'.
15229 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15230 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15231 (calc-np): Rename from `calc-nplevel'.
15232 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15233 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15234 (calc-lu-plus): Rename from `calc-logunits-add'.
15235 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15236 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15237 (calc-lu-minus): Rename from `calc-logunits-sub'.
15238 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15239 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15240 (calc-lu-times): Rename from `calc-logunits-mul'.
15241 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15242 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15243 (calc-lu-divide): Rename from `calc-logunits-div'.
15244 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15245 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15246
15247 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15248 functions being autoloaded.
15249
15250 * calc/calc.el (calc-lu-power-reference): Rename from
15251 `calc-logunits-power-reference'.
15252 (calc-lu-field-reference): Rename from
15253 `calc-logunits-field-reference'.
15254
15255 * calc/calc-help.el (calc-l-prefix-help):
15256 Mention musical note functions.
15257
15258 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15259
15260 * minibuffer.el (completion-all-sorted-completions):
15261 Use :completion-cycle-penalty text property if present.
15262
15263 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15264
15265 * allout.el (allout-yank-processing): Adjust for new rebulleting
15266 regime so bullet being yanked is used without prompting the user
15267 for a choice.
15268
15269 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15270
15271 * startup.el (command-line): Warn the user that _emacs is deprecated.
15272
15273 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
15274
15275 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15276 (delphi-verbose, delphi-comment-face, delphi-string-face)
15277 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15278 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15279 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15280 (delphi-new-comment-line, delphi-font-lock-defaults)
15281 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15282 Fix typos in docstrings.
15283
15284 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15285
15286 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
15287 Invert the roles of character and string values for INSTEAD, so a
15288 string is used for the more common case of a defaulting prompt.
15289
15290 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15291
15292 * progmodes/ruby-mode.el (ruby-backward-sexp):
15293 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15294 * play/gamegrid.el (gamegrid-make-face):
15295 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15296 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15297 * notifications.el (notifications-notify):
15298 * net/xesam.el (xesam-search-engines):
15299 * net/quickurl.el (quickurl-list-insert):
15300 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15301
15302 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
15303
15304 * startup.el (command-line): Update package subdirectory regexp.
15305
15306 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * allout.el (allout-abbreviate-flattened-numbering)
15309 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15310
15311 * subr.el (read-char-choice): Only show the cursor after the prompt,
15312 not after the answer.
15313
15314 2011-03-15 Kevin Ryde <user42@zip.com.au>
15315
15316 * help-fns.el (variable-at-point): Skip leading quotes, if any
15317 (bug#8253).
15318
15319 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15322 warning message.
15323
15324 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
15325
15326 * shell.el (shell): When called interactively, offer to change the
15327 shell file name on remote hosts.
15328
15329 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15330
15331 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15332 integration for LDAP parameters. The host, base, user or binddn,
15333 and secret tokens can be specified in a netrc file, for instance.
15334 This is optional because an `auth-source' parameter must be
15335 specified in the search attributes.
15336
15337 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
15338
15339 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15340
15341 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15342
15343 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15344 into declaration. Remove redundant and harmful binding.
15345
15346 2011-03-12 Eli Zaretskii <eliz@gnu.org>
15347
15348 * files.el (file-ownership-preserved-p): Pass `integer' as an
15349 explicit 2nd argument to `file-attributes'. If the file's owner
15350 is the Administrators group on Windows, and the current user is
15351 Administrator, consider that a match.
15352
15353 * server.el (server-ensure-safe-dir): Consider server directory
15354 safe on MS-Windows if its owner is the Administrators group while
15355 the current Emacs user is Administrator. Use `=' to compare
15356 numerical UIDs, since they could be integers or floats.
15357
15358 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
15359
15360 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15361
15362 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
15363
15364 Sync with Tramp 2.2.1.
15365
15366 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15367
15368 * net/trampver.el: Update release number.
15369
15370 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15371
15372 * progmodes/compile.el (compilation--previous-directory): Fix up
15373 various nil/dead-marker mismatches (bug#8014).
15374 (compilation-directory-properties, compilation-error-properties):
15375 Don't call it at a position past the one we're about to change.
15376
15377 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15378 Disable obsolescence warnings in the file that declares it.
15379
15380 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15381
15382 * allout-widgets.el (allout-widgets-tally):
15383 Initialize allout-widgets-tally as a hash table rather than nil to
15384 prevent mode-line redisplay warnings. Also, clarify the module
15385 description and fix a comment typo.
15386
15387 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
15388
15389 * help-fns.el (describe-variable): Don't complete keywords.
15390 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15391
15392 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
15393
15394 * emacs-lisp/package.el (package-version-join): Impose a standard
15395 string representation for pre/alpha/beta version lists.
15396 (package-unpack-single): Standardize the directory name by passing
15397 it through package-version-join.
15398 (package-strip-rcs-id): Accept any version string that does not
15399 signal an error in version-to-list.
15400
15401 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
15402
15403 * simple.el (delete-trailing-whitespace): Return nil for the
15404 benefit of `write-file-functions'.
15405
15406 2011-03-10 Glenn Morris <rgm@gnu.org>
15407
15408 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15409
15410 * vc/vc-git.el (vc-git-program): New option.
15411 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15412 (vc-git--call): Use it.
15413
15414 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15415
15416 * cus-edit.el (Custom-newline): If no button at point, look
15417 for a subgroup button at start-of-line. (Bug#2298)
15418
15419 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15420
15421 2011-03-10 Julien Danjou <julien@danjou.info>
15422
15423 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15424 `cursor-type' is nil.
15425
15426 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15427
15428 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15429
15430 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15431
15432 * allout.el: Change so yank of distinctive-bullet items
15433 preserves the existing header prefix, rebulleting it if necessary,
15434 rather than replacing it. This is necessary for proper operation
15435 of cooperative addons like allout-widgets.
15436 (allout-make-topic-prefix, allout-rebullet-heading):
15437 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15438 value as alternate bullet to be used, instead of prompting the user
15439 for a bullet character.
15440
15441 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
15442
15443 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15444 Do not use `tramp-file-name-port', because this returns also
15445 `tramp-default-port'.
15446
15447 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15448
15449 * net/rcirc.el (rcirc-handler-001): Remove useless
15450 with-rcirc-process-buffer.
15451 (rcirc-check-auth-status): Swap arguments to string-match.
15452
15453 2011-03-09 Glenn Morris <rgm@gnu.org>
15454
15455 * shell.el (shell-mode):
15456 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15457
15458 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15459 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15460
15461 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15462
15463 * emacs-lisp/package.el (package-refresh-contents)
15464 (package-menu-execute): Use condition-case-no-debug.
15465
15466 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
15467
15468 * simple.el (shell-command-to-string): Use `process-file'.
15469
15470 * emacs-lisp/package.el (package-tar-file-info): Handle also
15471 remote files.
15472
15473 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15474 Use `equal' for upload base check.
15475
15476 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15477
15478 * textmodes/texinfo.el (texinfo-environments):
15479 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15480
15481 2011-03-08 Glenn Morris <rgm@gnu.org>
15482
15483 * cus-start.el (cursor-in-non-selected-windows):
15484 Fix :set quoting oddness. (Bug#8192)
15485
15486 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15487 in some setf expressions. (Bug#2159)
15488
15489 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
15490
15491 * custom.el (custom-available-themes): Return themes in
15492 alphabetical order.
15493
15494 See ChangeLog.15 for earlier changes.
15495
15496 ;; Local Variables:
15497 ;; coding: utf-8
15498 ;; End:
15499
15500 Copyright (C) 2011-2012 Free Software Foundation, Inc.
15501
15502 This file is part of GNU Emacs.
15503
15504 GNU Emacs is free software: you can redistribute it and/or modify
15505 it under the terms of the GNU General Public License as published by
15506 the Free Software Foundation, either version 3 of the License, or
15507 (at your option) any later version.
15508
15509 GNU Emacs is distributed in the hope that it will be useful,
15510 but WITHOUT ANY WARRANTY; without even the implied warranty of
15511 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15512 GNU General Public License for more details.
15513
15514 You should have received a copy of the GNU General Public License
15515 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.