Remove HAVE_SYSV_SIGPAUSE unused remnants
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
ad4d226c
SM
12012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
4 conversion to backquotes.
5
f1a4e679
CY
62012-06-12 Chong Yidong <cyd@gnu.org>
7
8 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9 Rename from gud-inhibit-global-bindings.
10
11 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
12
13 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
14 hook from nxml-glyph-set-hook.
15
16 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
17 declaration.
18
19 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
20
21 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
22 Convert to defcustom.
23
0c9e42b5
DA
242012-06-12 Drew Adams <drew.adams@oracle.com>
25
26 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
27 New functions.
28 (help-mode): Use them.
29
09e06855
GM
302012-06-11 Glenn Morris <rgm@gnu.org>
31
32 * progmodes/fortran.el (fortran-font-lock-keywords-3):
33 Use preprocessor face for directives.
34 (fortran-directive-re): Doc fix.
35
71adb94b
SM
362012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
37
2eb87922
SM
38 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
39 conversion to backquotes (bug#11652).
40
71adb94b
SM
41 Fix compiler-expansion of CL's cXXr functions (bug#11673).
42 * emacs-lisp/cl-lib.el (cl--defalias): New function.
43 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
44 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
45 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
46 (cl-ninth, cl-tenth): Mark them as inlinable.
47 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
48 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
49 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
50 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
51 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
52 (cl-list*, cl-adjoin): Don't put an autoload manually.
53 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
54 (cl--compiler-macro-list*): Add autoload cookie.
55 (cl--compiler-macro-cXXr): New function.
2eb87922 56
71adb94b
SM
57 * help-fns.el (help-fns--compiler-macro): New function extracted from
58 describe-function-1; follow aliases and use `compiler-macro' property.
59 (describe-function-1): Use it.
60
a6674402
CY
612012-06-11 Chong Yidong <cyd@gnu.org>
62
63 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
64 is uninstalled, if imagemagick is installed.
65
bb3faf5b
SM
662012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
67
68 * emacs-lisp/cl-lib.el: Use lexical-binding.
69 (cl-map-extents, cl-maclisp-member): Remove.
70 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
71 (cl--set-substring, cl--block-wrapper, cl--block-throw)
72 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
73 * emacs-lisp/cl-extra.el: Use lexical-binding.
74 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
75 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
76 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
77 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
78 * emacs-lisp/cl-seq.el: Use lexical-binding.
79 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
80 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
81 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
82 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
83 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
84 CL's internals.
85
2fe4b125
MA
862012-06-11 Michael Albinus <michael.albinus@gmx.de>
87
88 Sync with Tramp 2.2.6-pre.
89
90 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
91 `print-length' and `print-level' to nil, in order to avoid
92 truncation. Reported by Christopher Schmidt
93 <christopher@ristopher.com>.
94
95 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
96
97 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
98 New defmacro.
99 (tramp-compat-copy-directory): Add optional argument
100 COPY-CONTENTS. It is not handled yet.
101
102 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
103 (tramp-ftp-file-name-p): Simplify.
104
105 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
106 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
107 connection vector.
108
109 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
110 (tramp-methods): Do not use `tramp-password-end-of-line'.
111 (tramp-completion-function-alist-putty): Handle UNIX case.
112 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
113 (tramp-do-file-attributes-with-stat)
114 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
115 gid as real numbers. They could run out of integer range on cygwin.
116 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
117 (tramp-sh-handle-expand-file-name): Handle hops.
118 (tramp-open-connection-setup-interactive-shell): Use
119 `tramp-cleanup'. Move check for busyboxes ...
120 (tramp-find-shell): ... here. Simplify implementation. Set
121 "remote-shell" property also for alternative shells.
122 (tramp-remote-coding-commands): Check "test -c /dev/stdout". If
123 failing, a regular file would be written otherwise. Reported by
124 Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
125 (tramp-find-inline-encoding): Cache the coding commands in the
126 process cache. Apply test command on the remote side, if defined.
127 (tramp-find-inline-compress): Cache the compress commands in the
128 process cache.
129 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
130 when requested. Handle hops.
131 (tramp-current-connection): New defvar.
132 (tramp-maybe-open-connection): Use `tramp-cleanup'. Throw
133 `suppress', if there was a failed connection shortly before.
134 Handle user interrupt. (Bug#10187)
135 (tramp-get-inline-compress, tramp-get-inline-coding): Read
136 connection properties from the process cache.
137
138 * net/tramp-smb.el (tramp-smb-server-version)
139 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar): New
140 defconsts.
141 (tramp-smb-prompt): Extend for powershell prompt.
142 (tramp-smb-file-name-handler-alist): Add handlers for
143 `process-file', `shell-command' and `start-file-process'.
144 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
145 (tramp-smb-winexe-shell-command-switch): New defcustoms.
146 (tramp-smb-file-name-p): Simplify.
147 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
148 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
149 (tramp-smb-shell-quote-argument): New defuns.
150 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
151 Implement using "tar". By this, time-stamps are preserved.
152 (tramp-smb-handle-copy-file): Handle also the case of directories.
153 (tramp-smb-do-file-attributes-with-stat)
154 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities): Use
155 `tramp-get-connection-buffer').
156 (tramp-smb-handle-rename-file): Use "rename", when source and
157 target are on the same share.
158 (tramp-smb-maybe-open-connection): Handle wrong passwords. Use
159 `tramp-smb-server-version'.
160 (tramp-smb-wait-for-output): Remove prompt.
161
162 * net/tramp.el (top): Require 'cl.
163 (tramp-methods, tramp-rsh-end-of-line): Remove
164 `tramp-password-end-of-line' from docstring.
165 (tramp-save-ad-hoc-proxies): New defcustom.
166 (tramp-completion-function-alist): Adapt docstring.
167 (tramp-default-password-end-of-line): Remove defcustom.
168 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
169 (tramp-user-regexp, tramp-file-name-regexp-unified)
170 (tramp-file-name-regexp-url): Extend regexp by hop separator.
171 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
172 (tramp-remote-file-name-spec-regexp): New defconst.
173 (tramp-file-name-structure): Extend structure for hops.
174 (tramp-get-method-parameter): Move up.
175 (tramp-file-name-p, tramp-dissect-file-name)
176 (with-parsed-tramp-file-name): Handle hops.
177 (tramp-file-name-hop): New defun.
178 (tramp-make-tramp-file-name): New optional arg HOP.
179 (tramp-message-show-progress-reporter-message): New defvar.
180 (tramp-with-progress-reporter): Use it. We cannot use
181 `tramp-message-show-message' here, because this suppresses also
182 error buffers.
183 (tramp-error-with-buffer): Suppress buffer view, if
184 `tramp-message-show-message' is nil. Use
185 `tramp-get-connection-buffer'.
186 (tramp-cleanup): New defun.
187 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
188 (tramp-file-name-handler): If `debug-on-error' is set, propagate
189 an error unchanged.
190 (tramp-completion-handle-file-name-all-completions): Handle hops.
191 Fix an error when called from ido.
192 (tramp-completion-dissect-file-name): Use better local variable
193 name. Add hop to the vector.
194 (tramp-handle-insert-file-contents): Use progress-reporter for the
195 whole scenario.
196 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
197 to `t'.
198 (tramp-check-for-regexp): Simplify search.
199 (tramp-enter-password): Remove it. Move implementation ...
200 (tramp-action-password): ... here.
201 (tramp-mode-string-to-int, tramp-local-host-p)
202 (tramp-make-tramp-temp-file, tramp-read-passwd)
203 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff): Set
204 tramp-autoload cookie.
205
206 * net/trampver.el: Update release number.
207
2082012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
209 Michael Albinus <michael.albinus@gmx.de>
210
211 * net/tramp.el (tramp-set-completion-function): Fix docstring.
212 (tramp-parse-group, tramp-parse-file)
213 (tramp-parse-shostkeys-sknownhosts): New defuns.
214 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
215 (tramp-parse-shosts-group, tramp-parse-sconfig)
216 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
217 (tramp-parse-sknownhosts, tramp-parse-hosts)
218 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
219 Use them.
220 (tramp-parse-passwd-group, tramp-parse-netrc-group)
221 (tramp-parse-putty-group): Don't narrow.
222 (tramp-parse-putty): Make a loop.
223 (tramp-file-name-handler): Catch the `suppress' signal.
224
72834e10
CY
2252012-06-11 Chong Yidong <cyd@gnu.org>
226
227 * image.el (imagemagick-register-types): Put the ImageMagick entry
228 at the end of image-type-file-name-regexps.
229
a4712e11
JB
2302012-06-11 Johan Bockgård <bojohan@gnu.org>
231
232 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
233 (pcase, pcase-let*, pcase-dolist): Use them.
234
82ad98e3
SM
2352012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * emacs-lisp/pcase.el (pcase--let*): New function.
238 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
239 (pcase--expand): Use macroexp-let².
240
f80efb86
SM
2412012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
242
243 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
244 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
245 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
246 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
247 * emacs-lisp/derived.el: Use pcase instead of `cl'.
248 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
249
31ca4639 2502012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 251
31ca4639
CY
252 * mail/rmail.el (rmail-yank-current-message): Leave point at
253 correct position. (Bug#11660)
94f0aa34 254
31ca4639 2552012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 256
31ca4639 257 * allout-widgets.el: Fix code header.
9e1b8ec4 258
31ca4639 2592012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 260
f80efb86
SM
261 * cus-edit.el (customize-changed-options-previous-release):
262 Bump to 24.1.
31ca4639 263
642b6d30
AS
2642012-06-09 Andreas Schwab <schwab@linux-m68k.org>
265
266 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
267
4f5d2ba1
CY
2682012-06-09 Chong Yidong <cyd@gnu.org>
269
270 * ebuff-menu.el (electric-buffer-list): Preserve header line.
271
e75852fd
MR
2722012-06-09 Martin Rudalics <rudalics@gmx.at>
273
274 * window.el (special-display-popup-frame): Don't use
275 window--display-buffer (Bug#11651).
276
1e48e282
EZ
2772012-06-09 Eli Zaretskii <eliz@gnu.org>
278
8a26b487
EZ
279 Fix parallel builds: make sure loaddefs.el is not being written
280 while Lisp files are compiled.
281 (compile): Don't depend on 'mh-autoloads'.
282 (compile-CMD, compile-SH): Depend on 'autoloads'.
283 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
284
1e48e282
EZ
285 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
286
6175e34b
CY
2872012-06-09 Chong Yidong <cyd@gnu.org>
288
289 * face-remap.el (face-remap-add-relative, face-remap-set-base)
290 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
291 Doc fixes (Bug#11225).
292
d9857e53
SM
2932012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
296 a function if there's a clear indication that it has a compiler-macro.
297 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
298 (macro-declarations-alist): Add arglist to declaration functions.
299 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
300 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
301 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
302 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
303 Also add autoload to find the compiler macro.
304 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
305 (cl--compiler-macro-member, cl--compiler-macro-assoc)
306 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
307 (cl--compiler-macro-get): New functions, replacing calls to
308 cl-define-compiler-macro.
309 (cl-typep) [compiler-macro]: Use macroexp-let².
310
f81298f8 3112012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
312
313 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
314 string properly, fixes Bug#11473.
315
4b56d0fe
CY
3162012-06-08 Chong Yidong <cyd@gnu.org>
317
318 * faces.el (set-face-attribute): Doc fix.
319 (modify-face): Don't use :bold and :italic.
320 (error, warning, success): Tweak definitions.
321
322 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
323 (custom-modified, custom-set, custom-changed, custom-themed)
324 (custom-saved, custom-button, custom-button-mouse)
325 (custom-button-pressed, custom-state, custom-comment-tag)
326 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
327 (custom-group-subtitle): Use new-style face specs.
328 (custom-invalid-face, custom-rogue-face, custom-modified-face)
329 (custom-set-face, custom-changed-face, custom-saved-face)
330 (custom-button-face, custom-button-pressed-face)
331 (custom-documentation-face, custom-state-face)
332 (custom-comment-face, custom-comment-tag-face)
333 (custom-variable-tag-face, custom-variable-button-face)
334 (custom-face-tag-face, custom-group-tag-face-1)
335 (custom-group-tag-face): Remove obsolete face alias.
336
337 * epa.el (epa-validity-high, epa-validity-medium)
338 (epa-validity-low, epa-mark, epa-field-name, epa-string)
339 (epa-field-name, epa-field-body):
340 * font-lock.el (font-lock-comment-face, font-lock-string-face)
341 (font-lock-keyword-face, font-lock-builtin-face)
342 (font-lock-function-name-face, font-lock-variable-name-face)
343 (font-lock-type-face, font-lock-constant-face):
344 * ido.el (ido-first-match, ido-only-match, ido-subdir)
345 (ido-virtual, ido-indicator, ido-incomplete-regexp):
346 * speedbar.el (speedbar-button-face, speedbar-file-face)
347 (speedbar-directory-face, speedbar-tag-face)
348 (speedbar-selected-face, speedbar-highlight-face)
349 (speedbar-separator-face):
350 * whitespace.el (whitespace-newline, whitespace-space)
351 (whitespace-hspace, whitespace-tab, whitespace-trailing)
352 (whitespace-line, whitespace-space-before-tab)
353 (whitespace-space-after-tab, whitespace-indentation)
354 (whitespace-empty):
355 * emulation/cua-base.el (cua-global-mark):
356 * eshell/em-prompt.el (eshell-prompt):
357 * net/newst-plainview.el (newsticker-new-item-face)
358 (newsticker-old-item-face, newsticker-immortal-item-face)
359 (newsticker-obsolete-item-face, newsticker-date-face)
360 (newsticker-statistics-face, newsticker-default-face):
361 * net/newst-reader.el (newsticker-feed-face)
362 (newsticker-extra-face, newsticker-enclosure-face):
363 * net/newst-treeview.el (newsticker-treeview-face)
364 (newsticker-treeview-new-face, newsticker-treeview-old-face)
365 (newsticker-treeview-immortal-face)
366 (newsticker-treeview-obsolete-face)
367 (newsticker-treeview-selection-face):
368 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
369 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
370 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
371 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
372 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
373 (nxml-outline-active-indicator, nxml-outline-ellipsis):
374 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
375 (mpuz-text):
376 * progmodes/vera-mode.el (vera-font-lock-number)
377 (vera-font-lock-function, vera-font-lock-interface):
378 * textmodes/table.el (table-cell): Use new-style face specs, and
379 don't use the old :bold and :italic attributes.
380
381 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
382 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
383 (ebrowse-member-class, ebrowse-progress): Likewise.
384 (ebrowse-tree-mark-face, ebrowse-root-class-face)
385 (ebrowse-file-name-face, ebrowse-default-face)
386 (ebrowse-member-attribute-face, ebrowse-member-class-face)
387 (ebrowse-progress-face): Remove obsolete faces.
388
389 * progmodes/flymake.el (flymake-errline, flymake-warnline):
390 Inherit from error and warning faces respectively.
391
392 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
393 Likewise.
f80efb86
SM
394 (flyspell-incorrect-face, flyspell-duplicate-face):
395 Remove obsolete aliases.
4b56d0fe 396
03310646
MA
3972012-06-08 Michael Albinus <michael.albinus@gmx.de>
398
399 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
400 Avoid infloop.
401
513749ee
SM
4022012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * startup.el (argv, argi): Make lexically scoped.
405 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
406 * emacs-lisp/cl-macs.el: Use lexical-binding.
407 Rename cl-bind-* to cl--bind-*.
408 * files.el: Don't require `cl' since it doesn't use it.
409 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
410
595ef4ad
JB
4112012-06-08 Juanma Barranquero <lekktu@gmail.com>
412
413 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
414 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
415 instead of calling external sort utility.
416 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
417
e9f66fcb
EZ
4182012-06-08 Eli Zaretskii <eliz@gnu.org>
419
420 * descr-text.el (describe-char): Mention how to insert the
421 character, if the current input method doesn't support it.
422 See the discussion in this thread for the details:
423 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
424
3d10db47
SS
4252012-06-08 Sam Steingold <sds@gnu.org>
426
427 * bindings.el (global-map): Bind XF86Forward to next-buffer and
428 XF86Back to previous-buffer.
429 (minibuffer-local-map): Bind them to next-history-element and
430 previous-history-element respectively.
431 * help-mode.el (help-mode-map): Bind them to help-go-forward and
432 help-go-back respectively.
433 * info.el (Info-mode-map): Bind them to Info-history-forward and
434 Info-history-back respectively.
435 These are the keys next to Up on the ThinkPad keyboard.
436
de7e2b36
SM
4372012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
438
439 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
440 * emacs-lisp/cl-macs.el: Provide itself.
441 (cl--labels-convert-cache): New var.
442 (cl--labels-convert): New function.
443 (cl-flet, cl-labels): New implementation with new semantics, relying on
444 lexical-binding.
445 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
446 (cl-closure-vars, cl--function-convert-cache)
447 (cl--function-convert): Move from cl-macs.el.
448 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
449 rename by removing the "cl-" prefix.
450 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
451
6fa6c4ae
SM
4522012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
455 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
456 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
457 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
458 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
459 (cl-hash-table-count): Add old compatibility aliases.
460
461 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
462 Use macroexpand-all-environment instead.
463 (cl--old-macroexpand): New var.
464 (cl--sm-macroexpand): New function.
465 (cl-symbol-macrolet): Use it during macro expansion.
466 (cl--function-convert-cache): New var.
467 (cl--function-convert): New function, extracted from
468 cl-macroexpand-all.
469 (cl-lexical-let): Use it.
470
471 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
472 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
473 (cl-member): Remove old alias.
474
475 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
476 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
477 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
478 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
479 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
480 (cl-macroexpand-cmacs): Remove var.
481 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
482 Use macroexpand-all instead.
483
4dd1c416
SM
4842012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
485
486 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
487 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
488 (macroexp-copyable-p): New functions and macros.
489 * emacs-lisp/edebug.el (edebug-unwrap):
490 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
491 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
492 (pcase--let*): Remove.
493 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
494 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
495 macroexp-const-p instead.
496 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
497
498 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
499 instead of "cl-" for internal definitions. Use macroexp-const-p.
500 (cl-old-bc-file-form): Remove var.
501 (cl-const-exprs-p): Remove fun.
502 (cl-labels, cl-macrolet): Use backquote.
503 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
504 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
505 (cl-define-setf-expander): Rename from cl-define-setf-method.
506 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
507
508 * international/mule-cmds.el: Don't require CL.
509 (view-hello-file): Don't use `letf'.
510
ed8bd4d7
SM
5112012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
512
7287f2f3
SM
513 * tmm.el (tmm-prompt): Use string-prefix-p.
514 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
515 (tmm-add-prompt): Use minibuffer-completion-help.
516 (tmm-delete-map): Remove.
517
ed8bd4d7
SM
518 * subr.el (kbd): Make it its own function.
519
7b4cdbf4
SM
5202012-06-07 Stefan Merten <smerten@oekonux.de>
521
522 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
523 Silence compiler warnings. Fix versions.
ed8bd4d7 524 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 525 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 526 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
527 (rst-package-emacs-version-alist): Correct Emacs version to
528 represent major merge with upstream.
ed8bd4d7 529 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 530
2b48d721
GM
5312012-06-06 Glenn Morris <rgm@gnu.org>
532
533 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
534 Only print environment variables if set.
535
fa779ab0
SM
5362012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
537
538 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
539 (macroexp--cons): Rename from maybe-cons.
540 (macroexp--accumulate): Rename from macroexp-accumulate.
541 (macroexp--all-forms): Rename from macroexpand-all-forms.
542 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
543 (macroexp--expand-all): Rename from macroexpand-all-1.
544
628299e0
SS
5452012-06-06 Sam Steingold <sds@gnu.org>
546
547 * calendar/calendar.el (calendar-in-read-only-buffer):
548 Call `special-mode' to enable the standard read-only keybindings.
549
b7bb5838
SM
5502012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
551
552 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
553 with "loading" messages (bug#11635).
554
dfb308ba
MA
5552012-06-06 Michael Albinus <michael.albinus@gmx.de>
556
557 * files.el (enable-remote-dir-locals): New option.
558 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
559
0372ee92
MA
560 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
561 Ensure, that the temp directory is local.
562
563 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
564 `temporary-file-directory'.
565
eed0bb91
MA
566 * progmodes/python.el (python-send-region): Ensure, that the
567 temporary file is created also in the remote case.
568
7a58f64d
GM
5692012-06-06 Glenn Morris <rgm@gnu.org>
570
f7dd4e98
GM
571 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
572 (vc-rcs-update-changelog): Use it.
573
276d5f5d
GM
574 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
575
7a58f64d
GM
576 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
577 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
578 (vc-sccs-diff): Replace use of the external vcdiff script.
579
daed4003
GM
5802012-06-05 Glenn Morris <rgm@gnu.org>
581
582 * ledit.el: Move to obsolete/.
583
48c455c7
SS
5842012-06-05 Sam Steingold <sds@gnu.org>
585
586 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
587 patch (Bug#11140).
588
57a7d507
SM
5892012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
590
d32926ff
SM
591 * emacs-list/cust-print.el: Move to obsolete.
592
53aacf21
SM
593 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
594 compiler-macro expansion.
595
57a7d507
SM
596 Add native compiler-macro support.
597 * emacs-lisp/macroexp.el (macroexpand-all-1):
598 Support compiler-macros directly. Properly follow aliases and apply
599 the compiler macros more thoroughly.
600 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
601 macroexpand now properly follows aliases.
602 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
603 (cl-compiler-macroexpand): Use new prop.
604 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
605
606 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
607
51a5f9d8
MR
6082012-06-05 Martin Rudalics <rudalics@gmx.at>
609
610 * window.el (get-lru-window, get-mru-window, get-largest-window):
611 New argument NOT-SELECTED to avoid picking the selected window.
612 (window--display-buffer-1, window--display-buffer-2): Replace by
613 new function window--display-buffer
614 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
615 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
616 Use window--display-buffer.
51a5f9d8
MR
617 (display-buffer-use-some-window): Remove temporary dedication
618 hack by calling get-lru-window and get-largest-window with
619 NOT-SELECTED argument non-nil. Call window--display-buffer.
620
08f9f738
GM
6212012-06-05 Glenn Morris <rgm@gnu.org>
622
623 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
624 Replace external vcdiff script.
625
e364a2b7
SM
6262012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
627
628 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
629
041df390
CY
6302012-06-04 Chong Yidong <cyd@gnu.org>
631
e364a2b7
SM
632 * image.el (imagemagick-types-inhibit): Revert last change.
633 Add INFO and M.
47b36b94 634 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 635
7c1898a7
SM
6362012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/cl-lib.el: Rename from cl.el.
639 * emacs-lisp/cl.el: New compatibility file.
640 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
641 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
642 to obey the "cl-" prefix.
643 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
644
0c3461de
GM
6452012-06-03 Glenn Morris <rgm@gnu.org>
646
1e266c88
GM
647 * emacs-lisp/authors.el (authors-aliases): Addition.
648
0c3461de
GM
649 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
650 Fix :version.
651
d8a52e15
SM
6522012-06-03 Stefan Merten <smerten@oekonux.de>
653
654 * textmodes/rst.el: Add comments.
655 (rst-transition, rst-adornment): New faces.
656 (rst-adornment-faces-alist): Make default safe to reevaluate.
657 Fixes
658 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
659 Improve customization tags.
660 (rst-define-level-faces): Clarify meaning.
661
5205d6f6
CY
6622012-06-03 Chong Yidong <cyd@gnu.org>
663
664 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
665 (compilation-mode-line-run, compilation-mode-line-exit):
666 New faces.
5205d6f6
CY
667 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
668
757ee657
JD
6692012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
670
7c1898a7
SM
671 * progmodes/which-func.el (which-func-update-ediff-windows):
672 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 673
5f2c76c6
CY
6742012-06-03 Chong Yidong <cyd@gnu.org>
675
676 * bindings.el: Remove explicit help text from format-mode-line.
677 It is now supplied by mode-line-default-help-echo.
678 (mode-line-front-space, mode-line-end-spaces)
679 (mode-line-misc-info): New variables.
680 (mode-line-modes, mode-line-position): Move the default value to
681 the variable definition.
682 (mode-line-default-help-echo): New defcustom.
383f7350
CY
683 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
684 (mode-line-modified-help-echo): New functions.
685 (mode-line-mule-info, mode-line-modified): Use them.
686 (mode-line-eol-desc, propertized-buffer-identification):
687 Consistency fixes for help text.
cbe46e5f
CY
688 (mode-line-coding-system-map): Allow using mouse-3 to invoke
689 set-buffer-file-coding-system (Bug#289).
690 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 691
f2d6a3df
SM
6922012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
693
694 * simple.el (execute-extended-command): Set real-this-command
695 (bug#11506).
696
37269466
CY
6972012-06-02 Chong Yidong <cyd@gnu.org>
698
699 Remove incorrect uses of "modeline" in comments, docstrings, and
700 function/variable names (Bug#10329).
701
702 * cus-edit.el (mode-line):
703 * dframe.el (dframe-mouse-hscroll):
704 * emacs-lisp/re-builder.el:
705 * emacs-lisp/easy-mmode.el (define-minor-mode):
706 * frame.el (set-frame-name):
707 * help.el (lookup-minor-mode-from-indicator):
708 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
709 * progmodes/cc-cmds.el (c-toggle-auto-newline)
710 (c-toggle-hungry-state):
711 * progmodes/antlr-mode.el (antlr-language-alist):
712 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
713 * progmodes/vhdl-mode.el (vhdl-mode):
714 * progmodes/which-func.el (which-func, which-func-cleanup-function):
715 * term/ns-win.el (ns-face-at-pos):
716 * term/sup-mouse.el (sup-mouse-report):
717 * textmodes/flyspell.el (flyspell-mode-line-string):
718 * textmodes/ispell.el (ispell-highlight-face):
719 * textmodes/reftex-global.el:
720 * vc/vc-arch.el (vc-arch-mode-line-string):
721 * vc/vc-cvs.el (vc-cvs-mode-line-string):
722 * vc/vc-git.el (vc-git-mode-line-string):
723 * vc/vc-hooks.el (vc-display-status)
724 (vc-default-mode-line-string):
725 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
726
727 * ansi-color.el (ansi-color-faces-vector): Change default faces.
728
729 * dired.el (dired-sort-set-mode-line): Rename from
730 dired-sort-set-modeline. All callers changed.
731
732 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
733 eshell-status-in-modeline.
734
735 * foldout.el (foldout-mode-line-string): Rename from
736 foldout-modeline-string. All callers changed.
737 (foldout-update-mode-line): Rename from foldout-update-modeline.
738
739 * subr.el (redraw-modeline): Make into obsolete alias.
740
741 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
742 timeclock-modeline-display. Make old name an alias.
743 (timeclock-update-mode-line): Likewise. All callers changed.
744 (timeclock-mode-line-display): No need to check before using
745 add-hook.
746 (timeclock-relative, timeclock-day-over-hook)
747 (timeclock-use-elapsed, timeclock-mode-string)
748 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
749
750 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
751 crisp-mode-modeline-string.
752
753 * play/solitaire.el (solitaire-build-mode-line): Rename from
754 solitaire-build-modeline. All callers changed.
755
756 * play/zone.el (zone-hiding-mode-line): Rename from
757 zone-hiding-modeline. All callers changed.
758 (zone): Remove unusued `modeline-hidden-level' property.
759
760 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
761 xscheme-modeline-initialize. All callers changed.
762
763 * strokes.el (strokes-lighter): Rename from
764 strokes-modeline-string.
765
766 * textmodes/sgml-mode.el (html-face-tag-alist)
767 (html-tag-face-alist): Use mode-line face instead of obsolete
768 alias modeline.
769
42152ee4
SM
7702012-06-02 Stefan Merten <smerten@oekonux.de>
771
772 * textmodes/rst.el: Always require `cl'.
4cf9b38d 773 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 774
95f520b5
CY
7752012-06-02 Chong Yidong <cyd@gnu.org>
776
777 * image.el (imagemagick-enabled-types): Rename from
778 imagemagick-types-enable. Add many more types.
779 (imagemagick-types-inhibit): Change default to nil.
780 (imagemagick-filter-types): Caller changed.
781
4a5f187a
SM
7822012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
783
03fef3e6
SM
784 * emacs-lisp/cl-macs.el: Use backquotes.
785 (cl-transform-function-property): Use eval-and-compile rather than
786 abusing `require'.
787 (defstruct): Use declare-function instead of with-no-warnings.
788
4a5f187a
SM
789 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
790 (byte-compile-output-docform): Re-add the print-circle bindings.
791 (byte-compile-fix-header): Use #$ just because it's shorter.
792 (byte-compile-output-file-form): Remove defun/defmacro.
793
bd56924f
MR
7942012-06-01 Martin Rudalics <rudalics@gmx.at>
795
796 * simple.el (choose-completion): Remove now obsolete binding for
797 owindow.
798
046e38ce
MA
7992012-06-01 Michael Albinus <michael.albinus@gmx.de>
800
801 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
802 in order to avoid "Stack overflow in regexp matcher".
803
32d72c2f
GM
8042012-05-31 Glenn Morris <rgm@gnu.org>
805
806 * image.el: For clarity, call imagemagick-register-types at
807 top-level, rather than relying on a custom :initialize.
808 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
809 (imagemagick-filter-types): New function. (Bug#7406)
810 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
811 If disabling support, remove elements altogether rather
812 than using an impossible regexp.
813 (imagemagick-types-inhibit): Give it the default init function.
814
dd41169b
SM
8152012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
816
4a5f187a
SM
817 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
818 Handle arbitrary file name lengths (Bug#11585).
dd41169b 819
efc00ab1 8202012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
821
822 * desktop.el (desktop-read): Clear previous and next buffers for
823 all windows and bury *Messages* buffer (bug#11556).
824
500fcedc
SM
8252012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 Add `declare' for `defun'. Align `defmacro's with it.
828 * emacs-lisp/easy-mmode.el (define-minor-mode)
829 (define-globalized-minor-mode): Don't autoload the var definitions.
830 * emacs-lisp/byte-run.el: Use lexical-binding.
831 (defun-declarations-alist, macro-declarations-alist): New vars.
832 (defmacro, defun): Use them.
833 (make-obsolete, define-obsolete-function-alias)
834 (make-obsolete-variable, define-obsolete-variable-alias):
835 Use `declare'.
836 (macro-declaration-function): Mark obsolete.
837 * emacs-lisp/autoload.el: Use lexical-binding.
838 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
839
6e8a1786
AM
8402012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
841
842 * textmodes/ispell.el (ispell-with-no-warnings):
843 Define as a macro.
500fcedc
SM
844 (ispell-kill-ispell, ispell-change-dictionary):
845 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
846 `interactive-p'.
847
61b108cc
SM
8482012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
851 (macro-declaration-function): Move var from C code.
852 (macro-declaration-function): Define function with defalias.
853 * emacs-lisp/macroexp.el (macroexpand-all-1):
854 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
855 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
856 defun/defmacro any more.
857 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
858 Provide fallback for unknown arglist.
859 (byte-compile-arglist-warn): Change calling convention.
860 (byte-compile-output-file-form): Move print-vars binding.
861 (byte-compile-output-docform): Simplify accordingly.
862 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
863 (byte-compile-defmacro-declaration): Remove.
864 (byte-compile-file-form-defmumble): Generalize to defalias.
865 (byte-compile-output-as-comment): Return byte-positions.
866 Simplify callers accordingly.
867 (byte-compile-lambda): Use `assert'.
868 (byte-compile-defun, byte-compile-defmacro): Remove.
869 (byte-compile-file-form-defalias):
870 Use byte-compile-file-form-defmumble.
871 (byte-compile-defalias-warn): Remove.
872
6d3f7c2f
SM
8732012-05-29 Stefan Merten <smerten@oekonux.de>
874
875 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 876 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
877
878 (rst-mode-abbrev-table): Merge definition.
879 (rst-mode): Make sure `font-lock-defaults' is buffer local.
880 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
881
6dbaa1c7
UJ
8822012-05-29 Ulf Jasper <ulf.jasper@web.de>
883
884 * calendar/icalendar.el
885 (icalendar-export-region): Export UID properly.
886
8872012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
888 * calendar/icalendar.el (icalendar-import-format):
889 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
890 (icalendar-import-format-uid): New.
891 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
892 Export UID.
893
6876a58d
SM
8942012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
895
896 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
897 different alternative patterns.
898 (pcase-codegen): Be more careful to preserve identity.
899 (pcase--u1): Don't forget to mark vars as used.
900
901 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
902 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
903 (byte-compile-from-buffer): ...rather than here.
904
905 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
906 functions from byte-compile-function-environment.
907
46b7967e
TN
9082012-05-29 Troels Nielsen <bn.troels@gmail.com>
909
910 * window.el (window-deletable-p): Avoid deleting the root window
911 of a frame with an active minibuffer.
912
69d565e2
MR
9132012-05-29 Martin Rudalics <rudalics@gmx.at>
914
915 * simple.el (choose-completion): Use quit-window (Bug#11567).
916
a149fa51
CY
9172012-05-29 Chong Yidong <cyd@gnu.org>
918
919 * whitespace.el (whitespace-cleanup): Fix usage of
920 whitespace-empty-at-bob-regexp (Bug#11492).
921
2b311310
AH
9222012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
923
924 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
925 revert (Bug#11488).
926
b9cb2387
JL
9272012-05-29 Juri Linkov <juri@jurta.org>
928
929 * isearch.el (isearch-mode-map): Bind `M-s _' to
930 `isearch-toggle-symbol'. Bind `M-s c' to
931 `isearch-toggle-case-fold'.
932 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
933 (isearch-forward): Add `M-s _' to the docstring.
934 (isearch-forward-symbol, isearch-toggle-case-fold)
935 (isearch-symbol-regexp): New functions. (Bug#11381)
936
d5e61c1c
JL
9372012-05-29 Juri Linkov <juri@jurta.org>
938
939 * isearch.el (isearch-word): Add docstring. (Bug#11381)
940 (isearch-occur, isearch-search-and-update): If `isearch-word' is
941 a function, call it to get the regexp.
942 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
943 property `isearch-message-prefix' instead of the string "word ".
944 (isearch-search-fun-default): For the case of `isearch-word',
945 return a lambda that calls re-search-forward/re-search-backward
946 with a regexp returned by `word-search-regexp' or by the function
947 in `isearch-word'.
948
8cbd80f7
JL
9492012-05-29 Juri Linkov <juri@jurta.org>
950
951 * isearch.el (isearch-search-fun-default): New function.
952 (isearch-search-fun): Move default part to the new function
953 `isearch-search-fun-default'.
954 (isearch-search-fun-function): Set the default value to
955 `isearch-search-fun-default'. (Bug#11381)
956
957 * comint.el (comint-history-isearch-end):
958 Use `isearch-search-fun-default'.
959 (comint-history-isearch-search): Use `isearch-search-fun-default'
960 and remove spacial case for `isearch-word'.
961 (comint-history-isearch-wrap): Remove spacial case for
962 `isearch-word'.
963
964 * hexl.el (hexl-isearch-search-function):
965 Use `isearch-search-fun-default'.
966
967 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
968 Use `word-search-regexp' for `isearch-word'.
969
970 * misearch.el (multi-isearch-search-fun):
971 Use `isearch-search-fun-default'.
972
973 * simple.el (minibuffer-history-isearch-search):
974 Use `isearch-search-fun-default' and remove spacial case for
975 `isearch-word'.
976 (minibuffer-history-isearch-wrap): Remove spacial case for
977 `isearch-word'.
978
979 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
980 Remove spacial case for `isearch-word'.
981 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
982
85c8c5b6
AM
9832012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
984
985 Decrease XEmacs incompatibilities.
986 * textmodes/flyspell.el (flyspell-check-pre-word-p):
987 Use `string-match'.
988 (flyspell-delete-region-overlays): Use alternative definition for
989 XEmacs.
990 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
991 (flyspell-word): Use `process-kill-without-query' if XEmacs.
992 (flyspell-mode-on): Use `interactive-p' if XEmacs.
993 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
994 `define-obsolete-face-alias' under XEmacs, but old method.
995
996 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
997 `with-no-warnings' definition or Emacs alias.
998 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
999 (ispell-word): Do not use `region-p' if XEmacs.
1000
8cab9efc
AM
10012012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1002
1003 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1004 Check for `ispell-dictionary-base-alist' instead of full
1005 `ispell-dictionary-alist'.
1006 (ispell-init-process): Show spellchecker when starting new Ispell
1007 process.
1008
fda91268
RZ
10092012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1010
1011 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1012 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1013
694ea8e3
JB
10142012-05-27 Juanma Barranquero <lekktu@gmail.com>
1015
1016 * version.el (motif-version-string, gtk-version-string)
1017 (ns-version-string): Declare.
1018
e4d4f539
JL
10192012-05-27 Juri Linkov <juri@jurta.org>
1020
1021 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1022 after the `eval-defun-1' specialcaseing
1023 like in `edebug-eval-defun' (bug#10181).
1024
1025 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1026 like in `eval-defun-1'.
1027
33017faf 10282012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1029
fda91268
RZ
1030 * mail/sendmail.el (mail-yank-region):
1031 Recognize rmail-yank-current-message in addition to insert-buffer.
1032 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1033 a *mail* buffer created through rmail-start-mail with sendmail as
1034 mail-user-agent.
1035
33017faf
GM
10362012-05-27 Chong Yidong <cyd@gnu.org>
1037
1038 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1039 Default to 256 (Bug#11267).
1040
1041 * help.el (describe-mode): Doc fix.
1042
04188bb9
GM
10432012-05-26 Glenn Morris <rgm@gnu.org>
1044
38264cc9
GM
1045 * w32-fns.el (w32-init-info): Remove.
1046 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1047
eb7afdad
GM
1048 * info.el (info-initialize): For self-contained NS builds, put the
1049 included info/ directory at the front. (Bug#2791)
1050
04188bb9
GM
1051 * paths.el (Info-default-directory-list): Make it a defcustom,
1052 mainly so that we can use custom-initialize-delay.
1053
a179e3f7
SM
10542012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1055
43416392
SM
1056 * subr.el (buffer-has-markers-at): Mark obsolete.
1057
a179e3f7 1058 * subr.el (lambda): Use declare.
43416392 1059
a179e3f7
SM
1060 * emacs-lisp/lisp-mode.el (lambda):
1061 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1062
34a008d9
AH
10632012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1064
1065 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1066
0a3b289f
GM
10672012-05-26 Glenn Morris <rgm@gnu.org>
1068
1069 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1070
758c81e8
GM
10712012-05-25 Glenn Morris <rgm@gnu.org>
1072
f9f334f0
GM
1073 * paths.el: Remove no-byte-compile.
1074 * loadup.el: No need to load paths.el uncompiled.
1075
87eb79c2
GM
1076 * image.el (imagemagick-types-inhibit): Doc fix.
1077
758c81e8
GM
1078 * version.el: Remove no-byte-compile and associated formatting.
1079 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1080 is ancient code from when there was an "inc-vers.el".
1081
e7e85dc0
SM
10822012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * progmodes/gdb-mi.el: Minor style changes.
1085 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1086 Turn into minor modes.
1087 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1088 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1089 (gdb-shell): Remove unneeded let-binding.
1090 (gdb-get-many-fields): Eliminate O(n²) behavior.
1091
f31237a4
EZ
10922012-05-25 Eli Zaretskii <eliz@gnu.org>
1093
1094 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1095 platforms that don't link in fontset.c.
1096
bc1b21bb
JL
10972012-05-25 Juri Linkov <juri@jurta.org>
1098
1099 Use the same diff color scheme as in modern VCSes (bug#10181).
1100
1101 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1102 to avoid confusion with `diff-added' that now uses green colors.
1103 (diff-removed): Use shades of red.
1104 (diff-added): Use shades of green.
1105 (diff-changed): Leave just the yellow color.
1106 (diff-use-changed-face): New variable.
1107 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1108 how to highlight context diff changes.
1109 (diff-refine-change): Use shades of yellow.
1110 (diff-refine-removed): New face that uses shades of red.
1111 (diff-refine-added): New face that uses shades of green.
1112 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1113 `diff-refine-removed' in the call to `smerge-refine-subst'
1114 depending on the value of `diff-use-changed-face'.
1115
1116 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1117 (smerge-other): Use shades of green.
1118 (smerge-base): Use shades of yellow.
1119 (smerge-refined-change): Empty face.
1120 (smerge-refined-removed): New face that uses shades of red.
1121 (smerge-refined-added): New face that uses shades of green.
1122 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1123 args `props-r' and `props-a', and use them. Doc fix.
1124 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1125 on its value use different faces `smerge-refined-change',
1126 `smerge-refined-removed', `smerge-refined-added' in the call to
1127 `smerge-refine-subst'.
1128
1129 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1130 Add face condition `min-colors 88' with shades of red.
1131 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1132 `min-colors 88' with shades of green.
1133 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1134 `min-colors 88' with shades of yellow.
1135
6df9112c
GM
11362012-05-24 Glenn Morris <rgm@gnu.org>
1137
ead5edc0
GM
1138 * paths.el (prune-directory-list, remote-shell-program): Move to...
1139 * files.el (prune-directory-list, remote-shell-program): ...here.
1140 For the latter, delay initialization, prefer ssh, just search PATH.
1141
f18b81e6
GM
1142 * paths.el (term-file-prefix): Move to faces.el (the only user).
1143 * faces.el (term-file-prefix): Move here, make it a defcustom.
1144
ee2f89a6
GM
1145 * paths.el (news-directory, news-path, news-inews-program):
1146 Move to gnus/nnspool.el.
61a583ca 1147
f8815e4c
GM
1148 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1149
c8f3b42c
GM
1150 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1151 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1152 Make the latter a defcustom, with a delayed initialization.
1153
6df9112c
GM
1154 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1155 These were deleted from Gnus itself late 2010.
1156
5dadff36
JB
11572012-05-22 Juanma Barranquero <lekktu@gmail.com>
1158
9e1701c6
JB
1159 * progmodes/which-func.el (which-func-ff-hook):
1160 Check against user-error, not error.
1161
bd7239f5 1162 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1163 cl-specs.el, which no longer exists.
1164
3290526d
GM
11652012-05-22 Glenn Morris <rgm@gnu.org>
1166
1167 * info.el (info-emacs-bug): New command.
1168 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1169 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1170
ff0c3cfb
GM
11712012-05-21 Glenn Morris <rgm@gnu.org>
1172
1173 * makefile.w32-in (update-subdirs-SH):
1174 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1175
5814f126
SM
11762012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1177
a52c0aa0
SM
1178 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1179
5814f126
SM
1180 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1181 Simplify Maven regexp, and make sure the file can't start with a space
1182 (bug#11517).
1183
b847032c
GM
11842012-05-21 Glenn Morris <rgm@gnu.org>
1185
1186 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1187 Scrap superfluous subshells.
1188
3858bfe7
SM
11892012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1190
1191 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1192 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1193
d14b0029
JB
11942012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1195
1196 * calc/calc.el (calc-ensure-consistent-units): New variable.
1197
a52c0aa0
SM
1198 * calc/calc-units.el (math-consistent-units-p)
1199 (math-check-unit-consistency): New functions.
1200 (calc-quick-units, calc-convert-units):
1201 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1202 is non-nil.
d14b0029
JB
1203 (calc-extract-units): Fix typo.
1204
60c4db3a
SM
12052012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1206
77f3b62e
SM
1207 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1208
60c4db3a
SM
1209 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1210 (flyspell-default-deplacement-commands): Don't spell check after
1211 repeated window/frame switches (e.g. triggered by mouse-movement).
1212 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1213 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1214 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1215 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1216 Remove unused vars.
1217 (flyspell-get-casechars, flyspell-get-not-casechars):
1218 Simplify; Don't bother removing a ] just to add it back.
1219 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1220
b1a10716
RS
12212012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1222
1223 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1224 New functions.
bd7239f5 1225 (math-function-table): Add support for more C functions.
b1a10716 1226
3f1b25b5
AM
12272012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1228
1229 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1230 (flyspell-debug-signal-word-checked): Protect delay handling for
1231 otherchars against empty otherchars.
1232
b581bb5c
SM
12332012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1234
1235 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1236 their respective macro declarations.
1237 * skeleton.el (define-skeleton):
1238 * progmodes/compile.el (define-compilation-mode):
1239 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1240 (define-ibuffer-filter):
1241 * emacs-lisp/generic.el (define-generic-mode):
1242 * emacs-lisp/easy-mmode.el (define-minor-mode)
1243 (define-globalized-minor-mode):
1244 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1245 * emacs-lisp/byte-run.el (defsubst):
1246 * custom.el (deftheme): Add doc-string metadata.
1247
70b8ef8f
SM
12482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1249
1250 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1251
b1198e17
SM
12522012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1253
9abdc45d
SM
1254 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1255
b1198e17
SM
1256 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1257 * emacs-lisp/cl-macs.el: Idem.
1258 * emacs-lisp/cl-specs.el: Remove.
1259
4735906a
SM
12602012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1261
1262 Minor renaming of internal CL functions and variables.
1263 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1264 (cl--position): Rename from cl-position.
1265 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1266 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1267 (cl--random-state): Rename from *random-state*.
1268
ac348012
SM
12692012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1270
1271 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1272 parens around the arg list (bug#11499).
1273
a0a79cde
JL
12742012-05-17 Juri Linkov <juri@jurta.org>
1275
1276 * isearch.el (word-search-regexp, word-search-backward)
1277 (word-search-forward, word-search-backward-lax)
1278 (word-search-forward-lax): Move functions from search.c
1279 (bug#10145, bug#11381).
1280
65034a51
AM
12812012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1282
1283 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1284 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1285 normal word components.
1286
1a72a195
SM
12872012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1288
1289 * minibuffer.el (completion--sifn-requote): Fix last change.
1290 (minibuffer-local-must-match-filename-map):
1291 Move define-obsolete-variable-alias before its var.
1292
fdb058c2
SM
12932012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1294
c41045e6
SM
1295 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1296
036dfb8b
SM
1297 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1298 behavior.
1299 (completion--string-equal-p): New function.
1300 (completion--twq-all): Use it to get better assertion failure data.
1301
2473256d
SM
1302 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1303 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1304 (shell--requote-argument): New functions.
1305 (shell-completion-vars): Use them.
1306 (shell--parse-pcomplete-arguments): Rename from
1307 shell-parse-pcomplete-arguments.
1308 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1309 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1310 Obey comint-file-name-quote-list.
1311
fdb058c2
SM
1312 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1313 (smie-indent-keyword): Use it.
1314
51fa99f1
SM
13152012-05-14 Stefan Merten <smerten@oekonux.de>
1316
1317 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1318
e18afed7 13192012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1320
1321 * net/rlogin.el (rlogin-mode-map): Fix last change.
1322
e18afed7 13232012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1324
1325 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1326 the following \r\n using a single `process-send-string', since the
1327 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1328 with two `process-send-string's (Bug#11444).
8633b1f4 1329
e18afed7 13302012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1331
fdb058c2
SM
1332 * shell.el (shell-parse-pcomplete-arguments):
1333 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1334
2d21d7f6
WJ
13352012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1336
e18afed7 1337 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1338 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1339 (image-transform-width, image-transform-fit-width): New functions.
1340 (image-transform-properties): Use them.
1341 (image-transform-check-size): New function.
1342 (image-toggle-display-image): Use it (for testing).
1343 (image-transform-set-rotation): Reduce angle mod 360.
1344 Delete obsolete comment.
1345
7102e6d0
WJ
13462012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1347
1348 * image-mode.el: Fix scaling (bug#11399).
1349 (image-transform-resize): Doc fix.
1350 (image-transform-properties): Default scale is 1 and height should
1351 be an integer.
1352
06bc5e6e
SM
13532012-05-13 Johan Bockgård <bojohan@gnu.org>
1354
1355 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1356 than hard-coding `car', to fix misbehavior when moving forward.
1357
0ae03b6a
CY
13582012-05-13 Chong Yidong <cyd@gnu.org>
1359
1360 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1361 (tabulated-list-entries, tabulated-list-padding)
1362 (tabulated-list-sort-key): Make permanent-local.
1363
1364 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1365 (electric-buffer-list): Put electric buffer menu
1366 command descriptions in this docstring, instead of the docstring
1367 of electric-buffer-menu-mode. Code cleanups.
1368 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1369 Electric-buffer-menu-mode.
1370 (electric-buffer-update-highlight): Minor code cleanup.
1371
205a7391
MA
13722012-05-13 Michael Albinus <michael.albinus@gmx.de>
1373
1374 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1375 (Bug#11447)
1376
e5bd0a28
SM
13772012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1378
1379 Move define-obsolete-variable-alias before the var's definition.
1380 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1381 * tooltip.el (tooltip-hook):
1382 * textmodes/reftex-toc.el (reftex-toc-map):
1383 * textmodes/reftex-sel.el (reftex-select-label-map)
1384 (reftex-select-bib-map):
1385 * textmodes/reftex-index.el (reftex-index-map)
1386 (reftex-index-phrases-map):
1387 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1388 * progmodes/meta-mode.el (meta-mode-map):
1389 * novice.el (disabled-command-hook):
1390 * loadhist.el (unload-hook-features-list):
1391 * frame.el (blink-cursor):
1392 * files.el (find-file-not-found-hooks, write-file-hooks)
1393 (write-contents-hooks):
1394 * emulation/tpu-edt.el (GOLD-map):
1395 * emacs-lock.el (emacs-lock-from-exiting):
1396 * emacs-lisp/generic.el (generic-font-lock-defaults):
1397 * emacs-lisp/chart.el (chart-map):
1398 * dos-fns.el (register-name-alist):
1399 * dired-x.el (dired-omit-files-p):
1400 * desktop.el (desktop-enable):
1401 * cus-edit.el (custom-mode-hook):
1402 * buff-menu.el (buffer-menu-mode-hook):
1403 * bookmark.el (bookmark-read-annotation-text-func)
1404 (bookmark-exit-hooks):
1405 * allout.el (allout-mode-deactivate-hook)
1406 (allout-exposure-change-hook, allout-structure-added-hook)
1407 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1408 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1409 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1410 comes before the corresponding variable's definition.
1411
ac59c2f6
CY
14122012-05-12 Chong Yidong <cyd@gnu.org>
1413
1414 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1415 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1416 (Buffer-menu-mode-map): Bind it.
1417 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1418
dee6c9a3
SM
14192012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1420
2171cea5
SM
1421 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1422 (prolog-upper-case-string, prolog-lower-case-string)
1423 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1424 (prolog-use-smie, prolog-smie-grammar): New vars.
1425 (prolog-smie-forward-token, prolog-smie-backward-token)
1426 (prolog-smie-rules): New funs.
1427 (prolog-comment-indent): Remove.
1428 (prolog-mode-variables): Use default comment indentation instead.
1429 Setup SMIE.
1430 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1431 (prolog-mode): Don't call them any more.
1432 (prolog-electric-colon, prolog-electric-dash)
1433 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1434
aa0382bd
SM
1435 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1436
dbacb4bd
SM
1437 * minibuffer.el (completion--twq-all): Again, allow case differences.
1438
13bdd94c
SM
1439 * term.el: Move keymap initialization code to be more idiomatic.
1440 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1441 (term-terminal-menu): Move initialization into declaration.
1442 (term-escape-char): Let the user set it in her .emacs.
1443
ff46c759
SM
1444 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1445 Provide SMIE-based indentation (not enabled by default yet).
1446 (sh-mode-map): Don't bind electric keys.
1447 Use electric-pair-mode instead of skeleton-pair.
1448 (sh-assignment-regexp): Fit within 80 columns.
1449 (sh-indent-supported): Specify actual shell name instead of boolean.
1450 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1451 (sh-maybe-here-document): Use it. Make obsolete.
1452 (sh-electric-here-document-mode) New minor mode.
1453 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1454 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1455 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1456 (sh-smie-rc-grammar, sh-use-smie): New vars.
1457 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1458 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1459 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1460 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1461 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1462 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1463 (sh-set-shell): Use smie-setup if requested.
1464
dee6c9a3
SM
1465 * term.el (term-set-escape-char): Properly set term-escape-char.
1466 See http://stackoverflow.com/questions/10524656.
1467
9f9aa044
CY
14682012-05-10 Chong Yidong <cyd@gnu.org>
1469
1470 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1471 Use url-generic-parse-url, and handle host names and Windows
1472 filenames properly.
1473 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1474 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1475 URL schemes to work on.
1476 (ffap--toggle-read-only): New function.
1477 (ffap-read-only, ffap-read-only-other-window)
1478 (ffap-read-only-other-frame): Use it.
1479 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1480 necessary for ffap-url-unwrap-remote.
1481
836d29b3
DA
14822012-05-10 Dave Abrahams <dave@boostpro.com>
1483
1484 * cus-start.el (create-lockfiles): Add it.
1485
00fd78ed
CY
14862012-05-09 Chong Yidong <cyd@gnu.org>
1487
1488 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1489 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1490
666b903b 14912012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1492
1493 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1494
666b903b 14952012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1496
1497 * ansi-color.el (ansi-color-process-output): Check for validity of
1498 comint-last-output-start before using it. This avoids a bad
1499 interaction with gdb-mi's input/output buffer.
1500
666b903b 15012012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1502
1503 * files.el (dir-locals-read-from-file):
1504 Mention dir-locals in any error message.
1505
666b903b 15062012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1507
1508 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1509 package (Bug#11410).
1510
f677562b
CY
1511 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1512 variables into description.
1513
666b903b 15142012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1515
1516 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1517 shell-delimiter-argument-list (bug#11348).
1518 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1519
b499d8d0
JB
15202012-05-09 Juanma Barranquero <lekktu@gmail.com>
1521
8f6b6da8
JB
1522 * textmodes/rst.el: Silence byte-compiler warnings.
1523 (rst-re-alist, rst-reset-section-caches): Move around.
1524 (rst-re): Use `characterp', not `char-valid-p'.
1525 (font-lock-beg, font-lock-end): Declare.
1526
4824146a
JB
1527 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1528 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1529
b499d8d0
JB
1530 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1531
ad89bb83
GM
15322012-05-08 Glenn Morris <rgm@gnu.org>
1533
1534 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1535
8bba5a75
SM
15362012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1537
49ed9c8e
SM
1538 * vc/log-edit.el: Add GNU coding standards highlighting.
1539 (log-edit-font-lock-gnu-style)
1540 (log-edit-font-lock-gnu-keywords): New vars.
1541 (log-edit-font-lock-keywords): New fun.
1542 (log-edit-mode): Don't fold case in font-lock.
1543 (log-edit-font-lock-keywords): Do not assume case-folding.
1544
07d00b56
SM
1545 * imenu.el: Misc cleanup. Make docstrings out of comments.
1546 Use lexical-binding.
1547 (imenu--index-alist, imenu--last-menubar-index-alist)
1548 (imenu-menubar-modified-tick): Use defvar-local.
1549 (imenu--split-menu): Remove unused var.
1550 (imenu--cleanup-seen): Declare as global.
1551 (imenu--cleanup): Use dolist.
1552
8bba5a75
SM
1553 * subr.el (defvar-local): Add debug spec and doc-string position.
1554
5075bdb5
GM
15552012-05-08 Glenn Morris <rgm@gnu.org>
1556
c052c904
GM
1557 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1558 * language/english.el, language/georgian.el, language/greek.el:
1559 * language/japanese.el, language/khmer.el, language/korean.el:
1560 * language/lao.el, language/misc-lang.el, language/romanian.el:
1561 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1562 * language/thai.el, language/utf-8-lang.el:
1563 Remove no-byte-compile setting.
1564
5075bdb5
GM
1565 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1566
06f679a7
AH
15672012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1568
1569 * progmodes/make-mode.el (makefile-browse):
1570 Remove unnecessary interactive. (Bug#11324)
1571
03794570
GM
15722012-05-07 Glenn Morris <rgm@gnu.org>
1573
af8630f4
GM
1574 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1575
03794570
GM
1576 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1577
f0809a9d
SM
15782012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1579
28be5ce7
SM
1580 * loadup.el: Preload newcomment.el.
1581 * newcomment.el: Move autoload-only code to toplevel.
1582
f0809a9d
SM
1583 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1584 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1585 Handle new :right-align column property.
1586 (tabulated-list-print-col): Idem, plus use `display' text-property to
1587 try and preserve alignment for variable pitch fonts.
1588
1241b724
CY
15892012-05-07 Chong Yidong <cyd@gnu.org>
1590
1591 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1592 (tabulated-list-use-header-line): New var.
1593 (tabulated-list-init-header): Use it.
1594 (tabulated-list-print-fake-header): New function.
1595 (tabulated-list-print): Use it.
1596 (tabulated-list-sort-button-map): Add non-header-line commands.
1597 (tabulated-list-init-header): Add column name property to basic
1598 labels as well.
1599 (tabulated-list-col-sort): Handle non-header-line button case.
1600 (tabulated-list--sort-by-column-name): Fix a corner case.
1601
f0809a9d
SM
1602 * buff-menu.el (list-buffers--refresh):
1603 Handle Buffer-menu-use-header-line.
1241b724 1604
e5f9458f
CY
16052012-05-06 Chong Yidong <cyd@gnu.org>
1606
1607 * buff-menu.el: Convert to Tabulated List mode.
1608 (Buffer-menu-buffer+size-width): Make obsolete.
1609 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1610 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1611 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1612 documentation into docstring of buffer-menu.
1613 (Buffer-menu-toggle-files-only): Add an informative message.
1614 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1615 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1616 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1617 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1618 (Buffer-menu-execute, Buffer-menu-select)
1619 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1620 (Buffer-menu-bury): Use Tabulated List machinery.
1621 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1622 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1623 Delete.
e5f9458f
CY
1624 (list-buffers--refresh): New function.
1625 (list-buffers-noselect): Use it.
1626 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1627 (Buffer-menu--pretty-file-name): New helper functions.
1628
1629 * loadup.el: Preload tabulated-list.
1630
1631 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1632 tabulated-list-sort-column.
1633 (tabulated-list-init-header): Add the initial aligning space even
1634 if tabulated-list-padding is zero.
1635
e129292c
CS
16362012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1637
1638 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1639 whose cdr is not a cons cell correctly (bug#11038).
1640
6632d361
CY
16412012-05-06 Chong Yidong <cyd@gnu.org>
1642
e129292c
CS
1643 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1644 Accept additional plist in column descriptors.
6632d361
CY
1645 (tabulated-list-init-header): Obey it.
1646 (tabulated-list-get-entry): New function.
1647 (tabulated-list-put-tag): Use it. Use string-width instead of
1648 length.
1649 (tabulated-list--column-number): New function.
1650 (tabulated-list-print): Use it.
e129292c
CS
1651 (tabulated-list-print-col): New function.
1652 Set `tabulated-list-column-name' property on each column's text.
6632d361 1653 (tabulated-list-print-entry): Use it.
e129292c
CS
1654 (tabulated-list-delete-entry, tabulated-list-set-col):
1655 New functions.
6632d361
CY
1656 (tabulated-list-sort-column): New command (Bug#11337).
1657
3cc99f68
CY
1658 * buff-menu.el (list-buffers): Move C-x C-b binding from
1659 buff-menu.el to bindings.el.
1660
1661 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1662 :advertised-binding feature.
1663
52b61776
TN
16642012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1665
1666 * progmodes/compile.el (compilation-internal-error-properties):
1667 Calculate start position correctly when end-col is set but
1668 end-line is not (Bug#11382).
1669
ebfe2597
WJ
16702012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1671
1672 * man.el (Man-unindent): Use text-property-default-nonsticky to
1673 prevent untabify from inheriting face properties (Bug#11408).
1674
6d3f7c2f
SM
16752012-05-05 Stefan Merten <smerten@oekonux.de>
1676
1677 * textmodes/rst.el: Major merge with upstream development up to
1678 Docutils SVN r7399 / rst.el V1.2.1.
1679
1680 Clarify maintainership and authors.
1681
1682 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1683 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1684 (rst-official-version, rst-official-cvs-rev, rst-version)
1685 (rst-package-emacs-version-alist): New functions and variables
1686 for version information.
1687
1688 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1689 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1690 (rst-mode-syntax-table, rst-mode): New and corrected functions
1691 and variables representing reStructuredText features.
1692
1693 (rst-re): New function for reStructuredText regexes. Use in
1694 many places.
1695
1696 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1697 (rst-mode-map): Rebind keys.
1698
1699 (rst-mode-lazy, rst-font-lock-keywords)
1700 (rst-font-lock-extend-region)
1701 (rst-font-lock-extend-region-internal)
1702 (rst-font-lock-extend-region-extend)
1703 (rst-font-lock-find-unindented-line-limit)
1704 (rst-font-lock-find-unindented-line-match)
1705 (rst-adornment-level, rst-font-lock-adornment-level)
1706 (rst-font-lock-adornment-match)
1707 (rst-font-lock-handle-adornment-pre-match-form)
1708 (rst-font-lock-handle-adornment-matcher): Major revision of
1709 font-locking. Integrate with other code. Use `jit-lock-mode'.
1710
1711 (rst-preferred-adornments, rst-adjust-hook)
1712 (rst-new-adornment-down, rst-preferred-bullets)
1713 (rst-preferred-bullets, rst-indent, rst-indent-width)
1714 (rst-indent-field, rst-indent-literal-normal)
1715 (rst-indent-literal-minimized, rst-indent-comment): Change,
1716 extend and improve customization.
1717
1718 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1719 (rst-normalize-cursor-position, rst-get-decoration)
1720 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1721 (rst-rstrip, rst-toc-insert-find-delete-contents)
1722 (rst-shift-fill-region, rst-compute-bullet-tabs)
1723 (rst-debug-print-tabs, rst-debug-mark-found)
1724 (rst-shift-region-guts, rst-shift-region-right)
1725 (rst-shift-region-left, rst-use-char-classes)
1726 (rst-font-lock-keywords-function)
1727 (rst-font-lock-indentation-point)
1728 (rst-font-lock-find-unindented-line-begin)
1729 (rst-font-lock-find-unindented-line-end)
1730 (rst-font-lock-find-unindented-line)
1731 (rst-font-lock-adornment-point, rst-font-lock-level)
1732 (rst-adornment-level-alist): Remove functions and variables.
1733
1734 (rst-compare-adornments, rst-get-adornment-match)
1735 (rst-suggest-new-adornment, rst-get-adornments-around)
1736 (rst-adornment-complete-p, rst-get-next-adornment)
1737 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1738 (rst-straighten-adornments): Standardize function names to
1739 use "adornment" instead of "decoration". Correct callers.
1740 Similar standardizing in many places.
1741
1742 (rst-update-section, rst-adjust, rst-promote-region)
1743 (rst-enumerate-region, rst-bullet-list-region)
1744 (rst-repeat-last-character): Correct use of `interactive'.
1745
1746 (rst-classify-adornment, rst-find-all-adornments)
1747 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1748 (rst-find-leftmost-column, rst-repeat-last-character):
1749 Refactor functions.
1750
1751 (rst-find-title-line, rst-reset-section-caches)
1752 (rst-get-adornments-around, rst-adjust-adornment-work)
1753 (rst-arabic-to-roman, rst-roman-to-arabic)
1754 (rst-insert-list-pos, rst-insert-list-new-item)
1755 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1756 New functions.
1757
1758 (rst-all-sections, rst-section-hierarchy)
1759 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1760 New variables.
1761
1762 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1763 configuration instead of only buffer. Change where necessary.
1764
1765 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1766 (rst-shift-region, rst-adaptive-fill): New functions for
1767 indentation and filling.
1768
1769 (rst-comment-line-break, rst-comment-indent)
1770 (rst-comment-insert-comment, rst-comment-region)
1771 (rst-uncomment-region): New functions for handling comments.
1772
1773 (rst-compile): Quote shell arguments.
1774
1775 (rst-compile-pdf-preview, rst-compile-slides-preview):
1776 Delete temporary files after use.
1777
a43f98b3
GM
17782012-05-05 Glenn Morris <rgm@gnu.org>
1779
48176e8b
GM
1780 * calendar/cal-html.el: Optionally include holidays in the output.
1781 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1782 (cal-html-holidays): New option.
1783 (cal-html-css-default): Add holiday entry.
1784 (holiday-in-range): Autoload it.
1785 (cal-html-htmlify-entry): Add optional class argument.
1786 (cal-html-htmlify-list): Add optional holidays argument.
1787 (cal-html-insert-agenda-days): Include holidays in the output.
1788 (cal-html-one-month): Maybe include holidays.
1789
a43f98b3
GM
1790 * calendar/holidays.el (holiday-in-range):
1791 Move here from cal-tex-list-holidays.
1792 * calendar/cal-tex.el (cal-tex-list-holidays):
1793 Make it an obsolete alias for holiday-in-range. Update all callers.
1794
fef9d149 17952012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1796
1797 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1798 Nextstep.
1799
248da2f4
RW
18002012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1801
1802 * files.el (file-auto-mode-skip): New var.
1803 (set-auto-mode-1): Use it.
1804
f95e9344
SM
18052012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1806
df96ab1e
SM
1807 * repeat.el: Use lexical-binding.
1808 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1809 (repeat-undo-count): Remove.
1810 (repeat):
1811 * progmodes/octave-mod.el (octave-abbrev-start):
1812 * progmodes/f90.el (f90-abbrev-start):
1813 * face-remap.el (text-scale-adjust):
1814 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1815
5342bb06
SM
1816 * emacs-lisp/pcase.el (pcase--let*): New function.
1817 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1818 a bit more.
1819 (pcase--split-pred): Be more clever about ruling out overlap between
1820 a predicate and some constant pattern.
1821 (pcase--q1): Use `null' instead of (eq foo nil).
1822
f95e9344
SM
1823 * subr.el (setq-local, defvar-local): New macros.
1824 (kbd): Redefine as an alias.
1825 (with-selected-window): Leave unrelated frames alone.
1826 (set-temporary-overlay-map): New function.
1827
71873e2b
SM
18282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1829
1830 * subr.el (user-error): New function.
1831 * window.el (switch-to-buffer):
1832 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1833 (smerge-match-conflict):
1834 * simple.el (previous-matching-history-element)
1835 (next-matching-history-element, goto-history-element, undo-more)
1836 (undo-start):
1837 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1838 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1839 (next-file, tags-loop-scan, list-tags, complete-tag):
1840 * progmodes/compile.el (compilation-loop):
1841 * mouse.el (mouse-minibuffer-check):
1842 * man.el (Man-bgproc-sentinel, Man-goto-page):
1843 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1844 (Info-history-forward, Info-follow-reference, Info-menu)
1845 (Info-extract-menu-item, Info-extract-menu-counting)
1846 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1847 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1848 (Info-next-reference, Info-prev-reference, Info-index)
1849 (Info-index-next, Info-follow-nearest-node)
1850 (Info-copy-current-node-name):
1851 * imenu.el (imenu--make-index-alist)
1852 (imenu-default-create-index-function, imenu-add-to-menubar):
1853 * files.el (basic-save-buffer, recover-file):
1854 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1855 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1856 (checkdoc-message-text, checkdoc-defun):
1857 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1858 * cus-edit.el (customize-changed-options, customize-rogue)
1859 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1860 (custom-variable-mark-to-reset-standard)
1861 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1862 (custom-file):
1863 * completion.el (check-completion-length):
1864 * comint.el (comint-search-arg)
1865 (comint-previous-matching-input-string-position)
1866 (comint-previous-matching-input)
1867 (comint-replace-by-expanded-history-before-point, comint-send-input)
1868 (comint-copy-old-input, comint-backward-matching-input)
1869 (comint-goto-process-mark, comint-set-process-mark):
1870 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1871 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1872
8a61ee22
SM
18732012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1874
66408d1e
SM
1875 * dabbrev.el (dabbrev--ignore-case-p): New function.
1876 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1877 Use it.
1878
8a61ee22
SM
1879 * files.el (automount-dir-prefix): Mark as obsolete.
1880
3c74813a
GM
18812012-05-04 Glenn Morris <rgm@gnu.org>
1882
1883 * patcomp.el, play/bruce.el: Move to obsolete/.
1884
0bfcf5c5
PE
18852012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1886
1887 Fix minor Y10k bugs.
1888 * arc-mode.el (archive-unixdate):
1889 * autoinsert.el (auto-insert-alist):
1890 * calc/calc-forms.el (math-this-year):
1891 * emacs-lisp/copyright.el (copyright-current-year)
1892 (copyright-update-year, copyright):
1893 * tar-mode.el (tar-clip-time-string):
1894 * time.el (display-time-update):
1895 Don't assume years have 4 digits.
1896
78f3273a
CY
18972012-05-04 Chong Yidong <cyd@gnu.org>
1898
1899 * dos-w32.el (file-name-buffer-file-type-alist)
1900 (direct-print-region-use-command-dot-com):
1901 * ffap.el (ffap-menu-regexp):
1902 * find-file.el (ff-special-constructs):
1903 * follow.el (follow-debug):
1904 * forms.el (forms--debug):
1905 * iswitchb.el (iswitchb-all-frames):
1906 * ido.el (ido-all-frames):
1907 * emacs-lisp/timer.el (timer-max-repeats):
1908 * mail/feedmail.el (feedmail-mail-send-hook)
1909 (feedmail-mail-send-hook-queued):
1910 * mail/footnote.el (footnote-signature-separator):
1911 * mail/mailabbrev.el (mail-alias-separator-string)
1912 (mail-abbrev-mode-regexp):
1913 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1914 * progmodes/idlwave.el (idlwave-libinfo-file)
1915 (idlwave-default-completion-case-is-down)
1916 (idlwave-library-routines): Convert defvars to defcustoms.
1917
1918 * mail/rmail.el (rmail-decode-mime-charset):
1919 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1920 (idlwave-shell-fix-inserted-breaks)
1921 (idlwave-shell-activate-alt-keybindings)
1922 (idlwave-shell-use-breakpoint-glyph):
1923 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1924
f7ae6719
SM
19252012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1926
1927 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1928
47086495
WS
19292012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1930
1931 * progmodes/verilog-mode.el (font-lock-keywords):
1932 Fix mis-highligting auto. Reported by Craig Barner.
1933 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1934 defines from global name space. Reported by Dan Dever.
1935 (verilog-auto-reset, verilog-auto-reset-widths)
1936 (verilog-auto-tieoff): Support using unbased numbers for
1937 AUTORESET and AUTOTIEOFF.
1938 (verilog-submit-bug-report): Update variable list.
1939 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1940 parenthesis from not matching. Reported by Michael Rytting.
1941 (verilog-auto-template-lint): Fix hash error when linting modules
1942 with no used templates.
1943 (verilog-warn, verilog-warn-error)
1944 (verilog-warn-fatal): When non-interactive report multiple
1945 warnings before exiting. Suggested by Brad Dobbie.
1946 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
1947 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
1948 to report unused template errors. Reported by Brad Dobbie.
1949 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
1950 nets, bug438. Reported by Vns Blore.
1951 (verilog-auto-inout-module, verilog-auto-reg)
1952 (verilog-read-decls, verilog-read-sub-decls-sig)
1953 (verilog-signals-edit-wire-reg, verilog-signals-with):
1954 Fix passing of Verilog data types in ANSI input/output ports
1955 such as "output logic" into the AUTOs. Special case "wire" and
1956 "reg" for backwards compatibility presuming Verilog 2001.
1957 (verilog-auto-ascii-enum): Add "auto enum" as alias.
1958 (verilog-preprocess): Fix replication of preprocess output.
1959 Reported by Brad Dobbie.
1960 (verilog-auto-inst-interfaced-ports):
1961 Create verilog-auto-inst-interfaced-ports, bug429.
1962 Reported by Julian Gorfajn.
1963 (verilog-after-save-font-hook)
1964 (verilog-before-save-font-hook): New variable.
1965 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
1966 (verilog-save-font-mods): Wrap disabling fontification, reported
1967 by David Rogoff.
1968 (verilog-do-indent, verilog-pretty-declarations-auto)
1969 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
1970 Reported by Pierre-David Pfister.
1971 (verilog-set-auto-endcomments): Fix endtask auto comments outside
1972 of class declarations, bug292. Reported by Kevin Heilman.
1973 (verilog-read-decls): Fix 'parameter type' not appearing in
1974 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
1975 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
1976 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
1977 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
1978 Reported by David Kravitz.
1979
19802012-05-03 Michael McNamara <mac@mail.brushroad.com>
1981
1982 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
1983 assignment with tests in ifs and for loops.
1984 (verilog-extended-complete-re, verilog-complete-reg): Change so
1985 that DPI inport functions don't look like fuction declarations.
1986 (verilog-pretty-expr): Don't line up assignment
1987 operations to the test and increment in if and for loops
1988 (verilog-extended-complete-re, verilog-complete-reg): Change so
1989 that DPI inport functions don't look like fuction declarations
1990
2e51d4b5
KH
19912012-05-03 Kenichi Handa <handa@m17n.org>
1992
1993 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 1994 decoding, and show a warning message without signaling an error
2e51d4b5
KH
1995 (Bug#11282).
1996
2bd785a2
SM
19972012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1998
1999 * emacs-lisp/bytecomp.el
2000 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2001 since cconv.el might have introduced :fun-body, internal-make-closure,
2002 and friends for bytecomp to handle (bug#11391).
2003 * custom.el (defcustom): Avoid ((λ ..) ..).
2004
99d27583
SM
20052012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2006
2007 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2008
55a71479
JB
20092012-05-02 Juanma Barranquero <lekktu@gmail.com>
2010
2011 * notifications.el (dbus-debug):
2012 * term/linux.el (gpm-mouse-enable):
2013 * term/screen.el (xterm-register-default-colors): Declare.
2014
7b97c764
CY
20152012-05-02 Chong Yidong <cyd@gnu.org>
2016
2bc356d7
CY
2017 * cus-start.el (gc-cons-percentage, exec-suffixes)
2018 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2019 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2020 (make-cursor-line-fully-visible, void-text-area-pointer)
2021 (font-list-limit): Add customization data.
2022
7b97c764
CY
2023 * allout.el (allout-exposure-change-functions)
2024 (allout-structure-added-functions)
2025 (allout-structure-deleted-functions)
2026 (allout-structure-shifted-functions): Rename abnormal hooks from
2027 *-hook, and convert to defcustoms.
5d3385a0
JB
2028 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2029 Convert to defcustoms.
7b97c764
CY
2030 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2031
2032 * allout-widgets.el: Hook callers changed.
2033
90207a15 20342012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2035
2036 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2037 the yanked message in preference to the default value of
2038 buffer-file-coding-system.
2039
90207a15 20402012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2041
5d3385a0
JB
2042 * window.el (display-buffer--action-function-custom-type):
2043 Fix entry.
d9558cad 2044
90207a15 20452012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2046
2047 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2048
d80ac57b
GM
20492012-05-01 Glenn Morris <rgm@gnu.org>
2050
976f7668
GM
2051 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2052
beb83b5a
GM
2053 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2054
d80ac57b
GM
2055 * cus-edit.el (custom-variable-documentation): Simplify with format.
2056
b593d6a9
AH
20572012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2058 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * simple.el (suggest-key-bindings, execute-extended-command):
2061 Move from keyboard.c.
2062
782fbf2a
CY
20632012-05-01 Chong Yidong <cyd@gnu.org>
2064
2065 * follow.el: Eliminate advice.
2066 (set-process-filter, process-filter, sit-for): Advice deleted.
2067 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2068 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2069 Vars deleted.
782fbf2a
CY
2070 (follow-auto): Use a :set function.
2071 (follow-mode): Rewritten. Don't advise process filters.
2072 (follow-switch-to-current-buffer-all, follow-scroll-up)
2073 (follow-scroll-down): Assume follow-mode is bound.
2074 (follow-comint-scroll-to-bottom)
2075 (follow-align-compilation-windows): New functions.
2076 (follow--window-sorter): New function.
2077 (follow-all-followers): Use it to explicitly sort windows by their
2078 positions; don't make assumptions about next-window order.
2079 (follow-windows-start-end, follow-delete-other-windows-and-split)
2080 (follow-calc-win-start): Doc fix.
2081 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2082 vertical-motion unnecessarily.
2083 (follow-adjust-window): New function.
2084 (follow-post-command-hook): Use it.
2085 (follow-call-set-process-filter, follow-call-process-filter)
2086 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2087 (follow-stop-intercept-process-output, follow-generic-filter):
2088 Functions deleted.
2089 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2090 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2091 New functions, replacing advice on scroll-bar-* commands.
87233a14 2092 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2093
2094 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2095 (comint-postoutput-scroll-to-bottom): Use it.
2096 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2097
290af740
GM
20982012-05-01 Glenn Morris <rgm@gnu.org>
2099
2100 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2101 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2102 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2103 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2104 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2105 Remove no-byte-compile setting.
2106
6eac8dc9
SM
21072012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2108
2109 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2110 all-completions code to not return a number in the last cdr.
2111
9cc7819c
LL
21122012-04-30 Leo Liu <sdl.web@gmail.com>
2113
2114 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2115 read-only error.
2116
c93b886f
CY
21172012-04-29 Chong Yidong <cyd@gnu.org>
2118
2119 * follow.el (follow-calc-win-end): Rewrite to handle partial
2120 screen lines correctly (Bug#8390).
2121 (follow-avoid-tail-recenter): Minor cleanup.
2122
8b6c19f4
SM
21232012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2124
2125 Avoid the obsolete `assoc' package.
2126 * speedbar.el (speedbar-refresh): Avoid adelete.
2127 (speedbar-file-lists): Simplify and avoid aput.
2128 * man.el (Man--sections, Man--refpages): New vars, replacing
2129 Man-sections-alist and Man-refpages-alist.
2130 (Man-build-section-alist, Man-build-references-alist):
2131 Use them; avoid aput.
2132 (Man--last-section, Man--last-refpage): New vars.
2133 (Man-follow-manual-reference): Use them.
2134 Use the `default' arg of completing-read.
2135 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2136
c5bb7569
CY
21372012-04-27 Chong Yidong <cyd@gnu.org>
2138
d1d2e2e8
CY
2139 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2140
15cd8efd
CY
2141 * startup.el (x-apply-session-resources): New function.
2142
2143 * term/ns-win.el (ns-initialize-window-system):
2144 * term/w32-win.el (w32-initialize-window-system):
2145 * term/x-win.el (x-initialize-window-system): Use it to properly
2146 set menu-bar-mode and other vars from X resources, even if the
2147 initial frame is not a window-system frame (Bug#2299).
2148
c5bb7569
CY
2149 * subr.el (read-key): Avoid running filter function when setting
2150 up temporary tool bar entries (Bug#9922).
2151
a8e7d6d7 21522012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2153
2154 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2155 (Bug#11344)
2156
a8e7d6d7 21572012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2158
2159 * select.el (xselect--encode-string): New function, split from
2160 xselect-convert-to-string.
2161 (xselect-convert-to-string): Use it.
2162 (xselect-convert-to-filename, xselect-convert-to-os)
2163 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2164 returned strings are properly encoded (Bug#11315).
2165
a8e7d6d7 21662012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2167
2168 * simple.el (delete-active-region): Move to killing custom group.
2169
a8e7d6d7 21702012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2171
2172 * progmodes/which-func.el (which-func-current): Quote %
2173 characters for mode-line processing.
2174
578c1d4b 21752012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2176
2177 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2178 reaching eob (Bug#11286).
2179
a8e7d6d7 21802012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2181
2182 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2183 (gdb): Make it buffer-local and init to zero.
2184 (gdb-control-commands-regexp): New variable.
2185 (gdb-send): Don't wrap in "-interpreter-exec console" if
2186 gdb-control-level is positive. Increment gdb-control-level
2187 whenever the command matches gdb-control-commands-regexp, and
2188 decrement it each time the command is "end". (Bug#11279)
2189
a8e7d6d7 21902012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2191
2192 * window.el (adjust-window-trailing-edge, enlarge-window)
2193 (shrink-window, window-resize):
2194 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2195 windows (Bug#11276).
2196
b3608390
CY
21972012-04-27 Chong Yidong <cyd@gnu.org>
2198
2199 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2200 fix "missing prefix" warning. All callers changed.
b3608390 2201
797e6e88
SM
22022012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2203
2204 * emacs-lisp/assoc.el: Move to obsolete/.
2205
e95a67dc
SM
22062012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2207
657c21e4 2208 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2209
2210 * term/ns-win.el (ns-define-service):
2211 * progmodes/pascal.el (pascal-goto-defun):
2212 * progmodes/js.el (js--read-tab):
2213 * progmodes/etags.el (tags-lazy-completion-table):
2214 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2215 * emacs-lisp/ewoc.el (ewoc--wrap):
2216 * emacs-lisp/assoc.el (aput, adelete, amake):
2217 * doc-view.el (doc-view-convert-current-doc):
2218 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2219
cb3e7ae0
CY
22202012-04-26 Chong Yidong <cyd@gnu.org>
2221
dce04f7f
CY
2222 * image.el (image-type-from-buffer): Only return supported image
2223 type (Bug#9045).
2224
cb3e7ae0
CY
2225 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2226 value, for symmetry with diff-end-of-hunk.
2227 (diff-split-hunk, diff-find-source-location)
2228 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2229 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2230 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2231 compute the relevant hunk or file properly (Bug#6005).
2232 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2233
0d42eb3e
SM
22342012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2235
2236 * vc/vc-mtn.el:
2237 * vc/vc-hg.el:
2238 * vc/vc-git.el:
2239 * vc/vc-dir.el:
2240 * vc/vc-cvs.el:
2241 * vc/vc-bzr.el:
2242 * vc/vc-arch.el:
2243 * vc/vc.el: Replace lexical-let by lexical-binding.
2244 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2245 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2246 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2247
f08ae1c9
CY
22482012-04-26 Chong Yidong <cyd@gnu.org>
2249
8b71081d
CY
2250 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2251 (diff-mode-shared-map): Bind it to / and [remap undo].
2252
f08ae1c9
CY
2253 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2254 (ediff-window-setup-function): Use it as the default, to set up
2255 windows based on whether the current frame is graphical (Bug#2138).
2256 (ediff-choose-window-setup-function-automatically): Make obsolete.
2257
2258 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2259
ef24141c
SM
22602012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2261
cc356a5d
SM
2262 * ffap.el: Remove old code for obsolete package.
2263 (ffap-complete-as-file-p): Remove.
2264
b4ff4f1f
SM
2265 Use completion-table-with-quoting for comint and pcomplete.
2266 * comint.el (comint--unquote&requote-argument)
2267 (comint--unquote-argument, comint--requote-argument): New functions.
2268 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2269 (comint-quote-filename): Use regexp-opt-charset.
2270 (comint--common-suffix, comint--common-quoted-suffix)
2271 (comint--table-subvert): Remove.
2272 (comint-unquote-function, comint-requote-function): New vars.
2273 (comint--complete-file-name-data): Use them with
2274 completion-table-with-quoting.
2275 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2276 * pcomplete.el (pcomplete-arg-quote-list)
2277 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2278 (pcomplete-unquote-argument-function): Default to non-nil.
2279 (pcomplete-unquote-argument): Simplify.
2280 (pcomplete--common-quoted-suffix): Remove.
2281 (pcomplete-requote-argument-function): New var.
2282 (pcomplete--common-suffix): New function.
2283 (pcomplete-completions-at-point): Use completion-table-with-quoting
2284 and completion-table-subvert.
2285
79c4eeb4
SM
2286 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2287 (minibuffer--double-dollars): Preserve properties.
2288 (completion--sifn-requote): New function.
2289 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2290
ef24141c
SM
2291 * minibuffer.el: Add support for completion of quoted/escaped data.
2292 (completion-table-with-quoting, completion-table-subvert): New funs.
2293 (completion--twq-try, completion--twq-all): New functions.
2294 (completion--nth-completion): New function.
2295 (completion-try-completion, completion-all-completions): Use it.
2296
784e7d6e
LL
22972012-04-25 Leo Liu <sdl.web@gmail.com>
2298
dd2ac746
SM
2299 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2300 Use compilation-message if available to find real filename.
784e7d6e 2301
07875ee7
CY
23022012-04-25 Chong Yidong <cyd@gnu.org>
2303
2304 * vc/diff-mode.el (diff-setup-whitespace): New function.
2305 (diff-mode): Use it.
2306
2307 * vc/diff.el (diff-sentinel):
2308 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2309 Whitespace mode variables based on diff style (Bug#8612).
2310
5055880d
LL
23112012-04-25 Leo Liu <sdl.web@gmail.com>
2312
daf75653
LL
2313 * progmodes/python.el (python-send-region): Add suffix .py to the
2314 temp file.
2315
5055880d
LL
2316 * files.el (auto-mode-alist): Use javascript-mode instead.
2317
db9b177b
AH
23182012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2319
ef24141c 2320 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2321
2322 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2323 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2324 references, see Bug#9.
ef24141c 2325 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2326 when receiving a fault reply.
ef24141c 2327 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2328
2329 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2330 (soap-inspect-simple-type): New function.
db9b177b 2331
ef24141c 2332 * soap-client.el (soap-simple-type): New struct.
db9b177b 2333 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2334 (soap-decode-basic-type, soap-encode-basic-type):
2335 support unsignedInt and double basic types.
db9b177b 2336 (soap-resolve-references-for-simple-type)
ef24141c
SM
2337 (soap-parse-simple-type, soap-encode-simple-type): New function.
2338 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2339
2340 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2341 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2342 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2343 the local name of "soapenc:Array".
2344 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2345 decoding integer, byte and anyURI xsd types.
2346
1fc6097b
CY
23472012-04-25 Chong Yidong <cyd@gnu.org>
2348
2349 * cus-edit.el (custom-buffer-create-internal): Update header text.
2350
afc6df87
EZ
23512012-04-25 Eli Zaretskii <eliz@gnu.org>
2352
2353 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2354 settings on 'system-type', not on 'window-system'. On MS-Windows,
2355 set interactive-mode on in GDB.
2356
dfbd787f
SM
23572012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2358
2359 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2360 (ruby-syntax-propertize-regexp): Remove.
2361 (ruby-syntax-propertize-function): Split regexp into chunks.
2362 Match following code directly.
2363
85222d44
DG
23642012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2365
51a8ea2a
DG
2366 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2367 (ruby-syntax-propertize-regexp): New function.
2368 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2369 by a special keyword.
2370
85222d44
DG
2371 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2372 (ruby-syntax-general-delimiters-goto-beg)
2373 (ruby-syntax-propertize-general-delimiters): New functions.
2374 (ruby-syntax-propertize-function): Use them to handle GDL.
2375 (ruby-font-lock-keywords): Move old handling of GDL...
2376 (ruby-font-lock-syntactic-keywords): .. to here.
2377 (ruby-calculate-indent): Adjust indentation for GDL.
2378
b613912b
MA
23792012-04-24 Michael Albinus <michael.albinus@gmx.de>
2380
b5380639
MA
2381 * notifications.el (top): Remove unneeded declarations.
2382 (notifications-specification-version): Change to "1.2".
e43042fe 2383 (notifications-interface, notifications-notify-method)
b613912b
MA
2384 (notifications-close-notification-method): Fix docstring.
2385 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2386 (notifications-notify): Add :action-items, :resident and
2387 :transient hints. Change "image_data" to "image-data" and
2388 "image_path" to "image-path".
b613912b
MA
2389 (notifications-get-capabilities): New defun.
2390
257440aa
LL
23912012-04-24 Leo Liu <sdl.web@gmail.com>
2392
2393 * progmodes/python.el: Move hideshow setup to the end.
2394
b1bac16e
MR
23952012-04-24 Martin Rudalics <rudalics@gmx.at>
2396
2397 * window.el (handle-select-window): Clear echo area since this is
2398 no more done by read_char (Bug#11304).
2399
d81bd059
SM
24002012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2403 and `/ M' to filter-derived-mode.
2404 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2405 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2406 (ibuffer-mark-by-mode): Use default rather than initial-input.
2407 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2408
c4cf6d91
IA
24092012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2410
2411 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2412 (ibuffer-filter-by-derived-mode): New filter.
2413 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2414
7511ded8
CY
24152012-04-23 Andreas Politz <politza@fh-trier.de>
2416
2417 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2418
775c916b
CY
24192012-04-23 Chong Yidong <cyd@gnu.org>
2420
2421 * cus-edit.el (customize-apropos, customize-apropos-options):
2422 Disable matching of non-option variables (Bug#11176).
2423 (customize-option, customize-option-other-window)
2424 (customize-changed-options): Doc fix.
2425 (customize-apropos-options, customize-apropos-faces)
2426 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2427
2428 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2429 Fix word list splitting (Bug#11132).
46c71e23
CY
2430 (apropos-symbol, apropos-keybinding, apropos-label)
2431 (apropos-property, apropos-function-button)
2432 (apropos-variable-button, apropos-misc-button): New faces.
2433 (apropos-symbol-face, apropos-keybinding-face)
2434 (apropos-label-face, apropos-property-face, apropos-match-face):
2435 Variables removed (Bug#8396).
2436 (apropos-library-button, apropos-format-plist, apropos-print)
2437 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2438
2df41f9c
MA
24392012-04-23 Michael Albinus <michael.albinus@gmx.de>
2440
2441 * net/xesam.el (xesam-mode-map): Use let-bound map in
2442 initialization. (Bug#11292)
2443
da00640a
AM
24442012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2445
2446 Preserve ispell session localwords when switching back to
2447 original buffer.
2448
2449 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2450 variable to hold buffer session localwords.
2451 (ispell-kill-ispell): add option 'clear to delete session
2452 localwords.
2453 (ispell-command-loop, ispell-change-dictionary)
2454 (ispell-buffer-local-words): Preserve session localwords when
2455 needed.
2456
2457 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2458 Preserve session localwords when needed.
2459
f621ccf5
AM
24602012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2461
2462 * ispell.el (ispell-insert-word) Remove unneeded function using
2463 obsolete `translation-table-for-input'.
ef24141c
SM
2464 (ispell-word, ispell-process-line, ispell-complete-word):
2465 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2466
c2d1019e
CY
24672012-04-22 Chong Yidong <cyd@gnu.org>
2468
2469 * cus-edit.el (custom-variable-menu)
2470 (custom-variable-reset-saved, custom-face-menu)
2471 (custom-face-reset-saved): If there is no saved value, make the
2472 "reset-saved" operation bring back the default (Bug#9509).
2473 (custom-face-state): Properly detect themed faces.
2474
eeddc531
CY
2475 * faces.el (face-spec-set): Stop supporting deprecated form of
2476 third arg.
2477
dcbf5805
MA
24782012-04-22 Michael Albinus <michael.albinus@gmx.de>
2479
2480 Move functions from C to Lisp. Make non-blocking method calls
2481 the default. Implement further D-Bus standard interfaces.
2482
ef24141c
SM
2483 * net/dbus.el (dbus-message-internal): Declare function.
2484 Remove unneeded function declarations.
dcbf5805
MA
2485 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2486 (dbus-message-type-method-return, dbus-message-type-error)
2487 (dbus-message-type-signal): Declare variables. Remove local
2488 definitions.
2489 (dbus-interface-dbus, dbus-interface-peer)
2490 (dbus-interface-introspectable, dbus-interface-properties)
2491 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2492 Adapt docstring.
2493 (dbus-interface-objectmanager): New defconst.
2494 (dbus-call-method, dbus-call-method-asynchronously)
2495 (dbus-send-signal, dbus-method-return-internal)
2496 (dbus-method-error-internal, dbus-register-service)
2497 (dbus-register-signal, dbus-register-method): New defuns, moved
2498 from dbusbind.c
2499 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2500 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2501 New defuns.
dcbf5805
MA
2502 (dbus-call-method-non-blocking): Make it an obsolete function.
2503 (dbus-unregister-object, dbus-unregister-service)
2504 (dbus-handle-event, dbus-register-property)
2505 (dbus-property-handler): Obey the new structure of
2506 `bus-registered-objects'.
2507 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2508 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2509 Use `dbus-call-method'.
2510
cf20dee0
CY
25112012-04-22 Chong Yidong <cyd@gnu.org>
2512
2513 * cus-edit.el (custom-commands, custom-reset-menu)
2514 (Custom-reset-standard): Tweak labels.
2515 (custom-reset-button-menu): Change default to t.
2516 (custom-buffer-create-internal): For the custom-reset-button-menu
2517 case, put the revert button first.
2518 (custom-group-subtitle): New face.
2519 (custom-group-value-create): Align docstring to a specific column.
2520
2521 * wid-edit.el (widget-documentation-link-add): Don't handle
2522 indentation in this function.
2523 (widget-documentation-string-indent-to): New function.
2524 (widget-documentation-string-value-create): Use it.
2525
2526 * autorevert.el (auto-revert):
2527 * epg-config.el (epg):
2528 * ibuffer.el (ibuffer):
2529 * mpc.el (mpc):
2530 * ses.el (ses):
2531 * eshell/eshell.el (eshell):
2532 * net/ange-ftp.el (ange-ftp):
2533 * progmodes/ebnf2ps.el (postscript):
2534 * progmodes/flymake.el (flymake):
2535 * progmodes/prolog.el (prolog):
2536 * progmodes/verilog-mode.el (verilog-mode):
2537 * progmodes/which-func.el (which-func):
2538 * term/xterm.el (xterm):
2539 * textmodes/picture.el (picture):
2540 * textmodes/tildify.el (tildify):
2541 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2542 customization buffers.
2543
583e23bd
AM
25442012-04-22 Alan Mackenzie <acm@muc.de>
2545
2546 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2547 Adding a ) can hide the resulting (..) from searches. Fix it.
2548 Bound the backward search to the position of the existing (.
2549
7dd51bf1
JB
25502012-04-21 Juanma Barranquero <lekktu@gmail.com>
2551
2552 * progmodes/verilog-mode.el (verilog-mode): Check whether
2553 which-func-modes is t before adding verilog-mode.
2554 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2555
d64a438f
LL
25562012-04-21 Leo Liu <sdl.web@gmail.com>
2557
7dd51bf1 2558 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2559
081e8d65
MV
25602012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2561
2562 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2563 filling of the last column of a table (Bug#5635).
2564 (woman-find-next-control-line): New arg, specifying an additional
2565 regexp component for the control line.
2566 (woman2-roff-buffer): Use it.
2567 (woman-break-table): New function.
2568 (woman2-TS): Use it.
2569
25702012-04-21 Chong Yidong <cyd@gnu.org>
2571
2572 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2573 (woman-horizontal-escapes, woman-negative-vertical-space)
2574 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2575 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2576
ed571ccb
SM
25772012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * minibuffer.el (completion-file-name-table): Complete user names.
2580
39773899
LL
25812012-04-20 Leo Liu <sdl.web@gmail.com>
2582
2583 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2584 and pcase-let*.
2585
de6ff46d
CY
25862012-04-20 Chong Yidong <cyd@gnu.org>
2587
2588 * server.el (server-execute): Respect initial-buffer-choice if it
2589 is a string and there are no files to open (Bug#2825).
2590 (server-create-window-system-frame, server-create-tty-frame):
2591 Don't switch buffers here.
2d0e8e61
CY
2592 (server-process-filter): Only try to open a window system frame if
2593 compiled with graphical support (Bug#8314).
de6ff46d 2594
54071013
DN
25952012-04-20 Dan Nicolaescu <dann@gnu.org>
2596
2597 * battery.el (battery-echo-area-format): Display remaining time
2598 for sysfs backend too (Bug#11269).
2599 (battery-linux-sysfs): Fix conditional for the charge.
2600
f30d612a
CY
26012012-04-20 Chong Yidong <cyd@gnu.org>
2602
c07a4c0b 2603 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2604 (gdb-inferior-io--init-proc): New function.
2605 (gdb-init-1): Use it.
2606 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2607 responsible for allocating a new pty and hooking it to gdb when
2608 the old pty gets an EIO due to process exit.
2609 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2610 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2611 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2612
2116e93c
EZ
26132012-04-20 Eli Zaretskii <eliz@gnu.org>
2614
2615 * window.el (window-min-size, window-sizable, window-min-delta)
2616 (window-max-delta, window--resizable, window-resizable)
2617 (window-total-size, window-full-height-p, window-full-width-p)
2618 (window-in-direction, window--resize-mini-window, window-resize)
2619 (window--resize-child-windows-normal)
2620 (window--resize-child-windows, window--resize-siblings)
2621 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2622 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2623
c07a4c0b 26242012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2625
ef24141c
SM
2626 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2627 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2628 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2629 pty process (Bug#11273).
2630 (gdb-update): New arg to suppress talking to the gdb process.
2631 (gdb-done-or-error): Use it.
2632 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2633 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2634 sentinel not being called.
2635
2636 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2637
d02766ab
CY
2638 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2639
c07a4c0b 26402012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2641
2642 * net/network-stream.el (open-network-stream): Doc fix.
2643
c07a4c0b 26442012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2645
2646 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2647
c07a4c0b 26482012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2649
2650 Ensure searching for keywords is case sensitive.
2651
2652 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2653 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2654 (c-defun-name, c-mark-function, c-cpp-define-name)
2655 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2656 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2657
ef24141c
SM
2658 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2659 Bind case-fold-search to nil.
f0f6bc35 2660
c07a4c0b 26612012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2662
2663 * mail/sendmail.el (mail-bury): Call return action with the right
2664 Rmail buffer (Bug#11242).
2665
9a864fa2
CY
2666 * server.el (server-process-filter): Handle corner case where both
2667 tty and nowait options are present (Bug#11102).
2668
539aa513
EZ
26692012-04-20 Eli Zaretskii <eliz@gnu.org>
2670
2671 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2672 (top level): Put into the executable the ident-style '$Id:' tag on
2673 windows-nt as well.
539aa513 2674
cfc7d5da
SM
26752012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2676
2677 * electric.el (electric-indent-post-self-insert-function): Check that
2678 electric-indent-mode is enabled in current buffer.
2679
5b01685c
JB
26802012-04-19 Juanma Barranquero <lekktu@gmail.com>
2681
2682 * imenu.el (imenu-progress-message): Restore; it is "used" in
2683 erc/erc-imenu.el and net/snmp-mode.el.
2684
4d6769e1
JB
26852012-04-19 Juanma Barranquero <lekktu@gmail.com>
2686
2687 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2688 (mouse-avoidance-nudge-mouse): Remove unused binding.
2689
2690 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2691
2692 * descr-text.el (describe-char):
2693 * progmodes/python.el (python-describe-symbol):
2694 Don't call `toggle-read-only', set `buffer-read-only'.
2695
2696 * imenu.el (imenu-default-goto-function): Mark unused args.
2697 (imenu-progress-message): Remove obsolete macro; all callers changed.
2698
2699 * subr.el (keymap-canonicalize): Remove unused binding.
2700 (read-passwd): Mark unused arg.
2701
2702 * tutorial.el (tutorial--display-changes): Remove unused binding.
2703 (tutorial--save-tutorial-to): Remove unused variable.
2704
2705 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2706 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2707 (package-generate-autoloads, package-menu--generate)
2708 (package-menu--find-upgrades): Remove unused bindings.
2709
2710 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2711 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2712 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2713 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2714 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2715 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2716 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2717 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2718 (cua-delete-char-rectangle): Mark unused args.
2719 (cua-align-rectangle): Remove unused binding.
2720
2721 * mail/rmail.el (compilation--message->loc)
2722 (epa--find-coding-system-for-mime-charset): Declare.
2723
2724 * net/dbus.el (dbus-register-service): Declare.
2725 (dbus-name-owner-changed-handler): Remove unused binding.
2726
2727 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2728 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2729 (nxml-scan-backward-within): Mark unused arg.
2730 (nxml-dynamic-markup-word): Remove unused binding.
2731
2732 * mouse.el (mouse-menu-major-mode-map):
2733 * emacs-lisp/authors.el (authors-scan-change-log)
2734 (authors-add-to-author-list):
2735 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2736 * emacs-lisp/smie.el (smie-auto-fill):
2737 * mail/sendmail.el (mail-bury):
2738 * mail/unrmail.el (unrmail):
2739 * net/tls.el (open-tls-stream):
2740 * textmodes/picture.el (picture-mouse-set-point):
2741 Remove unused bindings.
2742
8c8fc5df
MA
27432012-04-19 Michael Albinus <michael.albinus@gmx.de>
2744
2745 * net/tramp.el (tramp-action-password): Let-bind
2746 `enable-recursive-minibuffers' to t.
2747
a77b0ac9
SS
27482012-04-18 Sam Steingold <sds@gnu.org>
2749
2750 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2751 instead of 'string to accommodate values like [f11].
2752 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2753 * progmodes/gdb-mi.el: Likewise.
2754
12a106a9
LL
27552012-04-18 Leo Liu <sdl.web@gmail.com>
2756
2757 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2758 current buffer.
2759 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2760 LOCAL is nil.
2761
bc6494ef
CY
27622012-04-18 Chong Yidong <cyd@gnu.org>
2763
2764 * simple.el (line-move): Use forward-line if in batch mode
2765 (Bug#11053).
2766
c09c46b2
CS
27672012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2768
2769 * files.el (after-find-file): Do not try to add a final newline if
2770 the buffer is read-only (Bug#11156).
2771
5f6530ea
RS
27722012-04-17 Richard Stallman <rms@gnu.org>
2773
2774 * mail/rmail.el (rmail-start-mail):
2775 Pass (rmail-mail-return...) for the return-action.
2776 Pass (rmail-yank-current-message...) for the yank-action.
2777 (rmail-yank-current-message): New function.
2778 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2779 (rmail-reply): Likewise.
2780 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2781
2782 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2783 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2784 buffer, not newbuf.
2785
197b6f3c
JB
27862012-04-17 Juanma Barranquero <lekktu@gmail.com>
2787
2788 * server.el (server-ensure-safe-dir): Simplify.
2789
2311d8e5 27902012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2791
2311d8e5
GM
2792 * emacs-lisp/smie.el: Provide smarter auto-filling.
2793 (smie-auto-fill): New function.
2794 (smie-setup): Use it.
98fb480e 2795
2311d8e5
GM
2796 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2797
27982012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2799
2800 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2801 (comment-indent): Use it.
2802
2311d8e5 28032012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2804
2805 * ses.el: The overall change is to add cell renaming, that is
2806 setting fancy names for cell symbols other than name matching
2807 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2808 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2809 (ses-create-cell-variable): New defun.
2311d8e5 2810 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2811 (ses-relocate-formula): Relocate formulas only for cells the
2812 symbols of which are not renamed, i.e. symbols whose names do not
2813 match regexp "\\`[A-Z]+[0-9]+\\'".
2814 (ses-relocate-all): Relocate values only for cells the symbols of
2815 which are not renamed.
2816 (ses-load): Create cells variables as the (ses-cell ...) are read,
2817 in order to check row col consistency with cell symbol name only
2818 for cells that are not renamed.
2819 (ses-replace-name-in-formula): New defun.
2820 (ses-rename-cell): New defun.
4bdf2ad2 2821
fc72b15c
PO
28222012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2823
2824 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2825 New option (bug#11118).
2826 (perl-calculate-indent): Respect it.
2827
12e10e61
GM
28282012-04-17 Glenn Morris <rgm@gnu.org>
2829
2830 * dired-aux.el (dired-mark-read-string): Doc fix.
2831
30009afd
DA
28322012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2833
2834 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2835 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2836
41f03f4d
GM
28372012-04-17 Glenn Morris <rgm@gnu.org>
2838
2839 * mouse.el (mouse-drag-track):
2840 * speedbar.el (speedbar-frame-mode):
2841 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2842
f45f90f3
LL
28432012-04-16 Leo Liu <sdl.web@gmail.com>
2844
2845 * progmodes/python.el: Trivial cleanup.
2846
94ee8db5
GM
28472012-04-16 Glenn Morris <rgm@gnu.org>
2848
121b8917
GM
2849 * vc/vc.el (vc-string-prefix-p):
2850 * vc/pcvs-util.el (cvs-string-prefix-p):
2851 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2852 * mpc.el (mpc-string-prefix-p):
2853 Make all of these into obsolete aliases for string-prefix-p.
2854 Update callers.
2855 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2856
1197ecfa
GM
2857 * textmodes/two-column.el: Move custom options to the start.
2858 (frame-width): Remove compat definition.
2859 (2C-associate-buffer, 2C-dissociate):
2860 Use with-current-buffer rather than save-excursion.
2861 (2C-dissociate): Force a mode-line update.
2862 (2C-autoscroll): Use ignore-errors.
2863
099e7202
GM
2864 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2865 Autoload trivia.
2866
bf350d6a
GM
2867 * emacs-lisp/cl-extra.el (*random-state*):
2868 Remove unnecessary declaration.
2869
0e829eab
GM
2870 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2871
e3ad7552
GM
2872 * play/cookie1.el (cookie-snarf):
2873 Give an explicit error if input file cannot be read.
2874
68892d27
GM
2875 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2876
20f0c46d
GM
2877 * progmodes/perl-mode.el (c-macro-expand):
2878 Remove unnecessary autoload (it is in loaddefs.el).
2879
5a0978ce
GM
2880 * textmodes/picture.el (picture-desired-column)
2881 (picture-update-desired-column): Convert comments to doc-strings.
2882 (picture-substitute): Remove function.
2883 (picture-mode-map): Initialize in the defvar.
2884
6b955486
GM
2885 * woman.el: Remove eval-after-load for tar-mode.
2886 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2887 (woman-tar-extract-file): Autoload it.
2888
94ee8db5
GM
2889 * frame.el (automatic-hscrolling): Make this alias obsolete.
2890
177eca34
AM
28912012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2892
2893 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2894 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2895 (ispell-dictionary-base-alist): Revert to original XEmacs
2896 friendly version for default. [:alpha:] will be added in
2897 `ispell-set-spellchecker-params' if needed
177eca34 2898
c505aaeb
CY
28992012-04-16 Chong Yidong <cyd@gnu.org>
2900
2901 * image.el (imagemagick--extension-regexp): New variable.
2902 (imagemagick-register-types): Use it.
2903 (imagemagick-types-inhibit): Add :set function. Allow new value
2904 of t to inhibit all types.
2905
2906 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2907 so we can preload it.
2908
2909 * loadup.el (fboundp): Preload regexp-opt, needed by
2910 imagemagick-register-types.
2911
60efac0f
CY
29122012-04-15 Chong Yidong <cyd@gnu.org>
2913
2914 * frame.el (scrolling): Remove nearly unused customization group.
2915
2916 * scroll-all.el (scroll-all-mode): Move to windows group.
2917
5dd1713e
CY
29182012-04-15 Chong Yidong <cyd@gnu.org>
2919
2920 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2921
e6fd457e
CY
29222012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2923
2924 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2925 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2926
e153c136
GM
29272012-04-15 Glenn Morris <rgm@gnu.org>
2928
2929 * simple.el (process-file-side-effects): Doc fix.
2930
e6fd457e 29312012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2932
2933 * international/mule-cmds.el (set-language-environment): Doc fix.
2934
3603c3b1
JB
29352012-04-14 Juanma Barranquero <lekktu@gmail.com>
2936
2937 * server.el (server-auth-key, server-generate-key): Doc fixes.
2938 (server-get-auth-key): Doc fix. Use `string-match-p'.
2939 (server-start): Reflow docstring.
2940
e6de100c
LI
29412012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
2942
2943 * server.el (server-generate-key): `called-interactively-p'
2944 requires a parameter.
2945
29734c21
MN
29462012-04-14 Michal Nazarewicz <mina86@mina86.com>
2947
2948 * server.el (server-auth-key): New variable.
75f1671a 2949 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
2950 (server-start): Use the new variable and functions to allow
2951 setting a permanent server key (bug#9423).
2952
d65c9521
LL
29532012-04-14 Leo Liu <sdl.web@gmail.com>
2954
2955 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
2956
5ae255c7
PE
29572012-04-14 Paul Eggert <eggert@cs.ucla.edu>
2958
2959 Spelling fixes.
2960 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
2961 Emacs uses American spelling.
2962
d5e6342e
JB
29632012-04-14 Juanma Barranquero <lekktu@gmail.com>
2964
2965 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
2966 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
2967 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
2968 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
2969
ab036cd7
SM
29702012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2971
2972 * progmodes/which-func.el (which-func-modes): Change default.
2973
35dc09a1 29742012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
2975
2976 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
2977 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
2978
35dc09a1 29792012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
2980
2981 * custom.el (custom-theme-set-variables): Doc fix.
2982
35dc09a1 29832012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
2984
2985 * international/mule.el (set-auto-coding-for-load): Doc fix.
2986
35dc09a1 29872012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 2988
35dc09a1
GM
2989 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
2990 imenu work again for Objective C Mode. Correct the *-index values,
2991 these having been disturbed by a previous change in 2011-08.
57f845ee 2992
0de3da9f
AM
2993 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
2994 Correct two search limits.
2995
35dc09a1 29962012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
2997
2998 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
2999
35dc09a1 30002012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3001
3002 * international/characters.el: Fix sorting.
3003
35dc09a1 30042012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3005
3006 * international/characters.el: Add more missing Latin case pairs.
3007
35dc09a1 30082012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3009
3010 * files.el (dir-locals-set-class-variables): Doc fix.
3011
35dc09a1 30122012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3013
3f1b5bf8
EZ
3014 * international/characters.el: Add set-case-syntax-pair call for
3015 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3016 counterpart. (Bug#11209)
3017
9f847f41
EZ
3018 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3019
35dc09a1 30202012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3021
3022 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3023
35dc09a1 30242012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3025
35dc09a1
GM
3026 * textmodes/ispell.el (ispell-dictionary-base-alist):
3027 Add data for Hebrew.
e2627d21 3028
35dc09a1 30292012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3030
35dc09a1
GM
3031 * net/rcirc.el (rcirc-cmd-quit):
3032 Revert 2012-03-18 change (Bug#11192).
5c14e333 3033
35dc09a1 30342012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3035
3036 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3037
35dc09a1 30382012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3039
4517fe3a
SM
3040 * minibuffer.el (completion-in-region-mode-map):
3041 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3042
b472a594
VD
30432012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3044
3045 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3046
09b95ce3
MY
30472012-04-13 Masatake YAMATO <yamato@redhat.com>
3048
3049 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3050 to allow `C-M-f' and `C-M-b' to move to the nearest path
3051 separator (bug#9511).
3052
4b63a9ca
LI
30532012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3054
3055 * avoid.el: Require cl when compiling. And also move the
3056 `provide' to the end.
3057
7b55b8bf
TV
30582012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3059
3060 * avoid.el (mouse-avoidance-banish-position): New variable.
3061 (mouse-avoidance-banish-destination): Use it (bug#10165).
3062
adedaa1f
LL
30632012-04-13 Leo Liu <sdl.web@gmail.com>
3064
3065 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3066
70e74021
KB
30672012-04-13 Ken Brown <kbrown@cornell.edu>
3068
3069 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3070 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3071 (browse-url-filename-alist): For the same reason, don't modify
3072 file:// URLs on Cygwin.
3073
e75e89ba
SM
30742012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3075
3076 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3077 the region on shift if the binding is already shifted (bug#11221).
3078
82f289a4
GM
30792012-04-12 Glenn Morris <rgm@gnu.org>
3080
3081 * mail/mailpost.el: Move to obsolete/.
3082
d333dc4c
DA
30832012-04-12 Drew Adams <drew.adams@oracle.com>
3084
3085 * imenu.el (imenu--generic-function): Ignore invisible definitions
3086 (bug#10123).
3087
0d15b5ba
VD
30882012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3089
3090 * hexl.el (hexl-bits): New variable.
3091 (hexl-options): Mention the variable in the doc string.
75f1671a 3092 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3093 (hexl-mode): Mention the new variable.
75f1671a
JB
3094 (hexl-mode, hexl-current-address, hexl-current-address):
3095 Use the displen.
0d15b5ba
VD
3096 (hexl-ascii-start-column): New function.
3097 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3098 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3099
64a440db
AM
31002012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3101
3102 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3103 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3104 the encoding, as expected by hunspell.
3105
6decb6c2
SM
31062012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3107
3108 * battery.el (battery--linux-sysfs-regexp): New const.
3109 (battery-status-function): Use it. Remove yeeloong special case.
3110 (battery-yeeloong-sysfs): Remove.
3111 (battery-echo-area-format): Remove yeeloong special case.
3112
088be6fb
SM
31132012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3114
6622e416
SM
3115 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3116 Reported by Noah Friedman.
3117
088be6fb
SM
3118 * subr.el (read-passwd): Use read-string.
3119
b49f886e
LMI
31202012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3121
3122 * vcursor.el (vcursor-move): Increase the priority of the overlay
3123 (bug#9663).
3124
a63067fc
DD
31252012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3126
3127 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3128 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3129
ac3cf14a
WS
31302012-04-11 William Stevenson <yhvh2000@gmail.com>
3131
3132 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3133 define-minor-mode (bug#10760).
3134
c4fc691b 31352012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3136
4d6769e1 3137 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3138 that directories matching `grep-find-ignored-files' won't be
3139 pruned (bug#10351).
3140
af23e2e5
CY
31412012-04-11 Chong Yidong <cyd@gnu.org>
3142
3143 * startup.el (command-line): Remove support for long-obsolete
3144 variable font-lock-face-attributes.
3145
ab7ce8c1
GM
31462012-04-11 Glenn Morris <rgm@gnu.org>
3147
3148 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3149
de8c03dc
SM
31502012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3151
3152 * window.el (window--state-get-1): Obey window-point-insertion-type.
3153
050cc68b
LB
31542012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3155
3156 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3157 to previous function when point is on the first character of a
75f1671a 3158 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3159
a38c310c
GM
31602012-04-11 Glenn Morris <rgm@gnu.org>
3161
effed0c2
GM
3162 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3163 not just file-errors.
3164
a38c310c
GM
3165 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3166 (vc-bzr-sha1): Use internal sha1.
3167
0221e323
SM
31682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3169
3170 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3171
43956923
SG
31722012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3173
3174 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3175 that start in the middle of the line (bug#10496).
3176
6a8c9eaf
DN
31772012-04-10 Dan Nicolaescu <dann@gnu.org>
3178
3179 * battery.el (battery-linux-proc-acpi): Only one battery is
3180 discharged at a time, but that seems to confuse battery.el when
3181 computing `rate-type' for the battery not being discharged
3182 (bug#10332).
3183
1930bf5d
SM
31842012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3185
2a718f6f
SM
3186 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3187
599430d0
SM
3188 * international/quail.el: Use dolist and simplify.
3189 (quail-define-package, quail-update-keyboard-layout)
3190 (quail-define-rules): Use dolist.
3191 (quail-insert-kbd-layout, quail-get-translation): CSE.
3192
a2754b6c
SM
3193 * tmm.el: Use dolist, remove left over hook.
3194 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3195 Use dolist.
3196 (calendar-load-hook): Don't mess with it.
3197
1930bf5d
SM
3198 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3199 Use derived-mode-p. Run the diff asynchronously.
3200
9f67961c
LMI
32012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3202
3203 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3204
2a8ce227
JB
32052012-04-10 Juanma Barranquero <lekktu@gmail.com>
3206
3207 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3208 (list-dynamic-libraries--loaded): New function.
3209 (list-dynamic-libraries--refresh): Use it.
3210
8f33b5f8
NW
32112012-04-10 Nathan Weizenbaum <nweiz@google.com>
3212
1930bf5d
SM
3213 * progmodes/python.el (python-fill-paragraph):
3214 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3215 disabled (bug#7018).
3216
b12f0439
L
32172012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
3218
1930bf5d 3219 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3220 DOS/MS Windows for the Baltic languages. There are still plenty
3221 of texts written in this encoding/codepage (bug#6519).
b12f0439 3222
57c3bd01
GM
32232012-04-10 Glenn Morris <rgm@gnu.org>
3224
3225 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3226 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3227
6c3eab30
FA
32282012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3229
1930bf5d 3230 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3231 next-line "n" and previous-line "p" in order to make recentf more
3232 consistent with ibuffer, dired or org-mode (bug#9387).
3233
24d78a88
LMI
32342012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3235
bc72b5d9
LMI
3236 * image.el (put-image): Return the overlay created instead of the
3237 optional input string (bug#7834). Note that this may break code
3238 that is (for some reason or other) depending on `put-image'
3239 returning the string.
3240
bd2dba5a
LMI
3241 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3242
74beb59f
LMI
3243 * simple.el (zap-to-char): Allow zapping using input methods
3244 (bug#1580).
3245
24d78a88
LMI
3246 * textmodes/fill.el (fill-region): Leave point and mark where they
3247 were before filling (bug#5399).
3248
263f20cd
GM
32492012-04-09 Glenn Morris <rgm@gnu.org>
3250
3251 * version.el (emacs-bzr-get-version):
3252 Handle lightweight checkouts of local branches.
3253
58d1f797
AS
32542012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3255
263f20cd 3256 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3257
b4d3bc10
CY
32582012-04-09 Chong Yidong <cyd@gnu.org>
3259
3260 * custom.el (custom-variable-p): Return nil for non-symbol
3261 arguments instead of signaling an error.
3262 (user-variable-p): Obsolete alias for custom-variable-p.
3263
3264 * apropos.el (apropos-variable):
3265 * files-x.el (read-file-local-variable):
3266 * simple.el (set-variable):
3267 * woman.el (woman-mini-help):
3268 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3269
fd06db5d
GM
32702012-04-09 Glenn Morris <rgm@gnu.org>
3271
e5fcdb5e
GM
3272 * startup.el (normal-top-level): Don't look for leim-list.el
3273 in places where it will not be found. (Bug#910)
3274
fd06db5d
GM
3275 * international/mule-cmds.el (set-default-coding-systems):
3276 * files.el (normal-mode):
3277 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3278 This function was removed with ucs-tables.el in 2008.
3279
b39bb7e1
EZ
32802012-04-08 Eli Zaretskii <eliz@gnu.org>
3281
3282 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3283 ispell-encoding8-command to "-i", without a trailing space.
3284 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3285 separate command-line arguments, to specify the encoding, since
3286 that's how hunspell expects it.
3287
5c5b8e23
GM
32882012-04-08 Glenn Morris <rgm@gnu.org>
3289
3290 * loadup.el: Load bindings before cus-start.
3291 This reduces somewhat the number of "rogue" settings in emacs -Q.
3292
a1ed8b05
GM
32932012-04-07 Glenn Morris <rgm@gnu.org>
3294
3295 * version.el (emacs-bzr-get-version): New function.
dfae128a 3296 (emacs-bzr-version): New variable.
a1ed8b05
GM
3297 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3298 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3299
b142f158
EZ
33002012-04-07 Eli Zaretskii <eliz@gnu.org>
3301
dfae128a
GM
3302 * international/uni-bidi.el, international/uni-category.el:
3303 * international/uni-combining.el, international/uni-decimal.el:
3304 * international/uni-decomposition.el, international/uni-digit.el:
3305 * international/uni-lowercase.el, international/uni-mirrored.el:
3306 * international/uni-name.el, international/uni-numeric.el:
3307 * international/uni-titlecase.el, international/uni-uppercase.el:
3308 Update for Unicode 6.1.
b142f158 3309
9078ead6
EZ
33102012-04-07 Eli Zaretskii <eliz@gnu.org>
3311
3312 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3313
f23d2c7d
LMI
33142012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3315
3316 * window.el (shrink-window): Mention the `window-min-height'
3317 variable in the doc string.
3318
0a0a3573
BG
33192012-04-05 Bastien Guerry <bzg@altern.org>
3320
3321 * color.el (color-lighten-name): Fix typo.
3322
e5248ac9
SM
33232012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3324
3325 * server.el (server--on-display-p): New function.
3326 (server--on-display-p): Use it.
3327
b4243e22
GV
33282012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3329
3330 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3331 (bug#11145).
3332
305d9f44
SM
33332012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3334
3335 * comint.el (comint--common-quoted-suffix): Check string boundary
3336 before comparing (bug#11158).
3337 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3338
3d439cd1
CY
33392012-04-04 Chong Yidong <cyd@gnu.org>
3340
321cc491
CY
3341 * minibuffer.el (completion-extra-properties): Doc fix.
3342
3d439cd1
CY
3343 * subr.el (delayed-warnings-hook): Doc fix.
3344
2d562c0f
DU
33452012-04-04 Daiki Ueno <ueno@unixuser.org>
3346
3347 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3348 selection (Bug#11159).
3349 (epa-insert-keys): Inform that the default public key will be
3350 exported if no key is selected.
3351
4443f204
RS
33522012-04-04 Richard Stallman <rms@gnu.org>
3353
3354 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3355
529c06b6
CY
33562012-04-03 Chong Yidong <cyd@gnu.org>
3357
3358 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3359 mail-insert-file, not its obsolete alias mail-attach-file.
3360
66b907dc
MA
33612012-04-03 Michael Albinus <michael.albinus@gmx.de>
3362
3363 * notifications.el (notifications-notify): Fix docstring.
3364
c0ea195d
GM
33652012-04-02 Glenn Morris <rgm@gnu.org>
3366
3367 * emacs-lisp/authors.el (authors-aliases): Another addition.
3368
5ca64e00
MA
33692012-04-02 Michael Albinus <michael.albinus@gmx.de>
3370
3371 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3372 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3373 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3374
42ee526b
CY
33752012-04-01 Chong Yidong <cyd@gnu.org>
3376
3377 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3378 Handle root directory properly.
3379 (copy-directory): Caller changed.
3380
3381 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3382 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3383
0b021094
GM
33842012-03-31 Glenn Morris <rgm@gnu.org>
3385
40f86458
GM
3386 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3387
7019c177
GM
3388 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3389
a1daddd6
GM
3390 * calendar/calendar.el (calendar-window-list)
3391 (calendar-hide-window): Restore. (Bug#11140)
3392 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3393
0b021094
GM
3394 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3395
40311efc
TV
33962012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3397
3398 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3399 Check if file is a symlink (Bug#10489).
3400
3401 * files.el (copy-directory): Likewise.
3402
5319014e
CY
34032012-03-30 Chong Yidong <cyd@gnu.org>
3404
3405 * image.el (imagemagick-types-inhibit)
3406 (imagemagick-register-types): Doc fix.
3407
935d1290
AM
34082012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3409
ef24141c
SM
3410 * ispell.el (ispell-get-extended-character-mode):
3411 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3412 and treats ~word as ordinary words in pipe mode.
935d1290 3413
61c6e8fd
GM
34142012-03-30 Glenn Morris <rgm@gnu.org>
3415
3416 * tutorial.el (help-with-tutorial): Ensure local variables don't
3417 happen to make the buffer read-only. (Bug#11127)
3418
81fdff00
SM
34192012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3420
3421 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3422 (perl-calculate-indent): Return `noindent' in strings.
3423
6e7a6ec0
SS
34242012-03-28 Sam Steingold <sds@gnu.org>
3425
3426 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3427 instead of the broken adhockery which does not prevent calendar
3428 buffers from being displayed at random after exit.
3429 (calendar-window-list, calendar-hide-window): Remove the broken
3430 adhockery.
3431
fee88ca0
GM
34322012-03-28 Glenn Morris <rgm@gnu.org>
3433
3434 * replace.el (query-replace-map): Doc fix.
3435
38de3354
AS
34362012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3437
3438 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3439 contents. (Bug#11109)
3440
b973155e
SM
34412012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3444 (bug#11077).
3445 (avl-tree--check, avl-tree--check-node): New funs.
3446
dcb6e7b3
MR
34472012-03-27 Martin Rudalics <rudalics@gmx.at>
3448
3449 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3450 (switch-to-prev-buffer, switch-to-next-buffer):
3451 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3452 showing a buffer already is done on the same frame.
3453
b4fa35fa
GM
34542012-03-27 Glenn Morris <rgm@gnu.org>
3455
3456 * startup.el (mail-host-address): Doc fix.
3457
f9210e18
SM
34582012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3459
3460 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3461 than 197 variables.
3462
c0bf7753
AF
34632012-03-26 Ami Fischman <ami@fischman.org>
3464
3465 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3466
33da7b16
GM
34672012-03-26 Glenn Morris <rgm@gnu.org>
3468
02243d9d
GM
3469 * files.el (save-buffers-kill-emacs): Doc fix.
3470
33da7b16
GM
3471 * startup.el (normal-top-level, command-line, command-line-1):
3472 Give them doc strings.
3473
e5a69fd0
EZ
34742012-03-25 Eli Zaretskii <eliz@gnu.org>
3475
3476 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3477 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3478
9a69676a
CY
34792012-03-25 Chong Yidong <cyd@gnu.org>
3480
4125cb8b
CY
3481 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3482 theme if it was previously enabled before (Bug#11031).
3483
dd470960
CY
3484 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3485 spec with custom-face-get-current-spec if its :shown-value is not
3486 determined yet (Bug#9337).
4125cb8b 3487 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3488
9a69676a
CY
3489 * button.el (button-at): Minor addition to docstring.
3490
6e7e90fa
SL
34912012-03-24 Simon Leinen <simon.leinen@gmail.com>
3492
3493 * vc/vc.el (vc-merge): Fix a prompt.
3494
f06e2758
CY
34952012-03-24 Chong Yidong <cyd@gnu.org>
3496
3497 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3498 point (Bug#9623).
3499
6e7e90fa
SL
3500 * button.el (button-at): Minor addition to docstring.
3501
b9d0879b
SM
35022012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3503
3504 * newcomment.el (comment-choose-indent): No space after BOL.
3505
e71cebb3
SS
35062012-03-22 Sam Steingold <sds@gnu.org>
3507
3508 * window.el (switch-to-prev-buffer): Revert last patch because the
3509 bug turned out to be an advertised feature (Elisp manual 28.14).
3510
335aff35
GM
35112012-03-22 Glenn Morris <rgm@gnu.org>
3512
3513 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3514 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3515
c676576a
LMI
35162012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3517
3518 * net/network-stream.el (network-stream-open-starttls): Make error
3519 message under Windows be less misleading.
3520
126f3d39
LW
35212012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3522
3523 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3524 understands (bug#9942).
3525
64fee311
CY
35262012-03-22 Chong Yidong <cyd@gnu.org>
3527
3528 * simple.el (end-of-visible-line): Handle return value of
3529 next-single-property-change properly (Bug#9371).
3530
a640d29a
KH
35312012-03-22 Kenichi Handa <handa@m17n.org>
3532
3533 * international/quail.el (quail-insert-kbd-layout): Fix previous
3534 change. To avoid unwanted bidi reordering, use
3535 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3536
39675016
DG
35372012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3538
3539 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3540 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3541 (ruby-beginning-of-indent): Be more careful with the difference
3542 between word-boundary and symbol boundary.
3543 (ruby-mode-syntax-table): Make : a symbol constituent.
3544
0a6934fc 35452012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3546
3d008e4f
SM
3547 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3548
0a6934fc
SM
35492012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3550
af67c9d7
SM
3551 * progmodes/etags.el (tags-completion-at-point-function):
3552 Improve last fix.
3553
1acad97c
SM
3554 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3555
e298b5da
SS
35562012-03-21 Sam Steingold <sds@gnu.org>
3557
3558 * progmodes/etags.el (tags-completion-at-point-function):
3559 Avoid the error when point is inside the pattern.
3560
91d82a70
JY
35612012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3562
3563 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3564 line (Bug#10855).
3565
69188b79
CY
35662012-03-21 Drew Adams <drew.adams@oracle.com>
3567
3568 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3569
99fc91fe
AK
35702012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3571
3572 * ido.el (ido-set-current-directory, ido-read-internal)
3573 (ido-choose-completion-string, ido-completion-help): Handle nil
3574 value of ido-completion-buffer (Bug#11008).
3575
087bbb4c
SS
35762012-03-21 Sam Steingold <sds@gnu.org>
3577
3578 * window.el (switch-to-prev-buffer): Do not switch to a visible
3579 window previous buffer, just like with the frame previous buffers.
3580
fb5b8aca
CY
35812012-03-21 Chong Yidong <cyd@gnu.org>
3582
3583 * faces.el (make-face, make-empty-face, copy-face):
3584 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3585 Doc fixes.
3586
dc9924b8
SM
35872012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3590 (widget-complete): Remove broken use of it.
3591
f0bcceb9
CY
35922012-03-20 Chong Yidong <cyd@gnu.org>
3593
dc9924b8
SM
3594 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3595 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3596 characters.
3597
ee52ebf3
TH
35982012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3599
3600 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3601 to draw rectangles, not squares. (Regression introduced by revno
3602 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3603
4c5779ab
CY
36042012-03-18 Chong Yidong <cyd@gnu.org>
3605
3606 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3607 it is not yet defined (for temacs).
3608
15360934
LL
36092012-03-18 Leo Liu <sdl.web@gmail.com>
3610
dc9924b8 3611 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3612
d9a8eb66
EZ
36132012-03-17 Eli Zaretskii <eliz@gnu.org>
3614
3615 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3616 (ispell-choices-win-default-height, ispell-silently-savep)
3617 (ispell-dictionary-alist, ispell-encoding8-command)
3618 (ispell-check-version, ispell-aspell-find-dictionary)
3619 (ispell-valid-dictionary-list, ispell-words-keyword)
3620 (ispell-get-word, ispell-internal-change-dictionary)
3621 (ispell-region, ispell-skip-region-list)
3622 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3623 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3624 (ispell-message-text-end, ispell-message)
3625 (ispell-buffer-local-parsing): Doc fix.
3626
f02ff80d
J
36272012-03-13 Jambunathan K <kjambunathan@gmail.com>
3628
3629 * htmlfontify.el: Add support for code block fontification for ODT
3630 export (Bug #9914).
3631 (hfy-optimisations): Define new option
3632 `body-text-only'
3633 (hfy-fontify-buffer): Honor above setting.
3634 (hfy-begin-span, hfy-end-span): New routines factored out form
3635 `hfy-fontify-buffer'.
3636 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3637 that permit insertion of custom tags.
3638 (hfy-fontify-buffer): Use above handlers.
3639 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3640 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3641 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3642 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3643 bind a special variable `hfy-user-sheet-assoc'.
3644 (htmlfontify-string): New defun.
3645 (hfy-compile-face-map): Make sure that the last char in the
3646 buffer is correctly fontified.
3647 (hfy-face-resolve-face): Whitespace only change.
3648
9ac7a13f
EZ
36492012-03-17 Eli Zaretskii <eliz@gnu.org>
3650
3651 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3652 message more clear.
3653
e2b5bdd7
LL
36542012-03-16 Leo Liu <sdl.web@gmail.com>
3655
3656 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3657
2e492df3
AM
36582012-03-16 Alan Mackenzie <acm@muc.de>
3659
3660 Further optimise the handling of large macros.
3661
3662 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3663 limit to a call of `c-literal-limits'.
3664 (c-determine-+ve-limit): New function.
dc9924b8
SM
3665 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3666 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3667 In CASE 5B, restrict a search limit to 500.
3668 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3669
3670 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3671 Restrict macro bounds to +-500 from after-change's BEG END.
3672
50e94f0c
LL
36732012-03-16 Leo Liu <sdl.web@gmail.com>
3674
3675 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3676
6f09f6ed
AH
36772012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3678
3679 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3680 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3681
c7e73d51
GM
36822012-03-16 Glenn Morris <rgm@gnu.org>
3683
da986230
GM
3684 * view.el (view-buffer, view-buffer-other-window)
3685 (view-buffer-other-frame): Doc fixes re special mode-class.
3686
0835f01e
GM
3687 * subr.el (eval-after-load): If named feature is provided not from
3688 a file, run after-load forms. (Bug#10946)
3689
c7e73d51
GM
3690 * calendar/calendar.el (calendar-insert-at-column):
3691 Handle non-unit-width characters a bit better. (Bug#10978)
3692
3f2eafd1
CY
36932012-03-15 Chong Yidong <cyd@gnu.org>
3694
3695 * emacs-lisp/ring.el (ring-extend): New function.
3696 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3697
3698 * comint.el (comint-read-input-ring)
3699 (comint-add-to-input-history): Grow comint-input-ring lazily.
3700
103af3fe
SM
37012012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3702
663b1677
SM
3703 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3704 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3705
103af3fe
SM
3706 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3707 (imenu-add-to-menubar): Don't add a redundant index.
3708 (imenu-update-menubar): Handle a dynamically composed keymap.
3709
899cb7cb
KY
37102012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3711
3712 * mail/sendmail.el (mail-encode-header):
3713 Bind rfc2047-encode-encoded-words to nil.
3714
3809f91d
GM
37152012-03-13 Glenn Morris <rgm@gnu.org>
3716
3717 * calendar/calendar.el (calendar-string-spread):
3718 Handle non-unit-width characters a bit better. (Bug#10978)
3719
9e345a01
LL
37202012-03-13 Leo Liu <sdl.web@gmail.com>
3721
3722 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3723 directory and file as argument (Bug#10822).
3724
4a07df36
KS
37252012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3726
3727 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3728 For dynamically generated code, follow $PC.
3729 (gdb-disassembly-handler-custom): Handle no function name case.
3730
4aaa9356
TL
37312012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3732
3733 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3734 * emulation/ws-mode.el (ws-query-replace):
3735 * sort.el (sort-regexp-fields):
3736 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3737
225979da
SM
37382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3739
3740 * dabbrev.el: Fix cycle completion order (bug#10963).
3741 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3742 (dabbrev-completion): Don't use an obarray; provide
3743 a cycle-sort-function.
3744
e2f1fdab
LL
37452012-03-12 Leo Liu <sdl.web@gmail.com>
3746
dc9924b8 3747 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3748 (kill-do-not-save-duplicates): Doc fix.
3749
b19490ed
SM
37502012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3751
3752 * dabbrev.el: Fix cycle completion (bug#10963).
3753 Use lexical binding and wrap to 80 columns.
3754 (dabbrev-completion): Delay computing the list of completions.
3755
4b05d722
KH
37562012-03-12 Kenichi Handa <handa@m17n.org>
3757
3758 * international/quail.el (quail-insert-kbd-layout): Surround each
3759 row by LRO and PDF instead of inserting many LRMs. Pad the left
3760 and right of each non-spacing marks. Insert invisible space
3761 between lower and upper characters to prevent composition.
3762
dbbc2e69
SM
37632012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3764
3765 * minibuffer.el (minibuffer-complete): Don't get confused when the
3766 function is run twice via different commands (bug#10958).
3767 (complete-with-action): Fix docstring.
3768
292112ed
CY
37692012-03-12 Chong Yidong <cyd@gnu.org>
3770
5d1ac394
CY
3771 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3772 (nxml-completion-at-point-function): New function.
3773 (nxml-mode): Use it.
3774 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3775
292112ed
CY
3776 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3777 Load generated autoloads file before byte compiling (Bug#10970).
3778 (package--make-autoloads-and-compile): New helper fun.
3779
4098f8f7
CS
37802012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3781
3782 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3783
8f754691
MA
37842012-03-11 Michael Albinus <michael.albinus@gmx.de>
3785
3786 * autorevert.el (auto-revert-handler): Ensure, that
3787 file-readable-p is applied only for local files or in
3788 auto-revert-tail-mode.
3789
e29ab36b
AS
37902012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3791
dbbc2e69
SM
3792 * server.el (server-eval-at): Handle non-tcp connections.
3793 Decode result string.
ad0bf5b6 3794
e29ab36b
AS
3795 * server.el (server-msg-size): New constant.
3796 (server-reply-print): New function.
3797 (server-eval-and-print): Use it.
3798 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3799 Handle -print-nonl.
3800
de5939ba
CS
38012012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3802
3803 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3804 (Bug#10987).
3805
0c93eabf
CY
38062012-03-11 Chong Yidong <cyd@gnu.org>
3807
397a688f
CY
3808 * simple.el (goto-line): Doc fix (Bug#9938).
3809
2cc775f9
CY
3810 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3811
0c93eabf
CY
3812 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3813 when finished (Bug#10963).
3814
c491fa41
MR
38152012-03-11 Martin Rudalics <rudalics@gmx.at>
3816
3817 * window.el (split-window-below): Fix bug in case where
3818 split-window-keep-point is nil (Bug#10971).
3819
300e8fa5
JL
38202012-03-11 Juri Linkov <juri@jurta.org>
3821
3822 * replace.el (replace-highlight): Set isearch-word to nil
3823 unconditionally. (Bug#10887)
3824
dbf6c5a1
EZ
38252012-03-10 Eli Zaretskii <eliz@gnu.org>
3826
3827 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3828 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3829 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3830 (mairix-widget-create-query): Add usage information about mairix
3831 search forms: negating words, searching for substrings, etc.
3832
b9e501de
JP
38332012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3834
3835 * international/fontset.el (font-encoding-alist): Add an entry for
3836 ksx1001 (Bug#5667).
3837
92795c91
RS
38382012-03-10 Richard Stallman <rms@gnu.org>
3839
1694e6c1
RS
3840 * mail/sendmail.el (mail-encode-header):
3841 Set rfc2047-encode-encoded-words.
3842
607e8555
RS
3843 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3844
de3bc99a
RS
3845 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3846 view buffer means not swapped.
3847 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3848 (rmail-write-region-annotate): Error if real text has disappeared.
3849
92795c91
RS
3850 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3851
699bd04e
CY
38522012-03-10 Chong Yidong <cyd@gnu.org>
3853
3854 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3855 * emulation/cua-base.el (cua--init-keymaps):
3856 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3857
570a1714
MR
38582012-03-10 Martin Rudalics <rudalics@gmx.at>
3859
dbbc2e69
SM
3860 * speedbar.el (speedbar-unhighlight-one-tag-line):
3861 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3862
82dcf4e4
CY
38632012-03-10 Chong Yidong <cyd@gnu.org>
3864
7a2c7ca7
CY
3865 * minibuffer.el (completion-in-region, completion-help-at-point):
3866 Give the completion field overlay a high priority (Bug#6830).
3867
82dcf4e4
CY
3868 * dired.el (dired-goto-file): Recognize absolute file name
3869 listings (Bug#7126).
3870 (dired-goto-file-1): New helper function.
3871 (dired-toggle-read-only): Inhibit warnings.
3872
052e28ac
MA
38732012-03-09 Michael Albinus <michael.albinus@gmx.de>
3874
75f1671a 3875 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3876 there are no properties.
3877
95d5e396
LL
38782012-03-09 Leo Liu <sdl.web@gmail.com>
3879
3880 * savehist.el (savehist-printable): Stricter check for string
3881 value (Bug#10937).
3882
3f018d6d
EZ
38832012-03-09 Eli Zaretskii <eliz@gnu.org>
3884
dbbc2e69
SM
3885 * mail/smtpmail.el (smtpmail-send-it):
3886 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3887 valid mbox format.
3888
f7fd3d79
GM
38892012-03-09 Glenn Morris <rgm@gnu.org>
3890
3891 * files.el (dir-locals-find-file):
3892 Don't check result is regular, readable.
3893 (dir-locals-read-from-file): Demote errors.
3894
6ff6e72f
EZ
38952012-03-08 Eli Zaretskii <eliz@gnu.org>
3896
dbbc2e69
SM
3897 * international/quail.el (quail-insert-kbd-layout):
3898 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3899 layout cell, to prevent their reordering by bidi display engine.
3900 For details, see the discussion in
3901 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3902
9cec7834
AM
39032012-03-08 Alan Mackenzie <acm@muc.de>
3904
3905 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3906 the starting position; make it extend the marked region when
3907 invoked repeatedly - all under appropriate circumstances.
3908 Fixes bugs #5525, #10906.
3909
9a40b8d4
GM
39102012-03-08 Glenn Morris <rgm@gnu.org>
3911
3912 * files.el (locate-dominating-file, dir-locals-find-file):
3913 Undo 2012-03-06 change.
3914
7a08ed35
EZ
39152012-03-07 Eli Zaretskii <eliz@gnu.org>
3916
dbbc2e69
SM
3917 * international/quail.el (quail-help):
3918 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3919 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3920 for the reason.
3921
5aca4f71 39222012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3923
3924 Avoid superfluous registering of signals. (Bug#10807)
3925
3926 * notifications.el (notifications-on-action-object)
3927 (notifications-on-close-object): New defvars.
3928 (notifications-on-action-signal, notifications-on-closed-signal):
3929 Unregister the signal if not needed any longer.
3930 (notifications-notify): Register `notifications-action-signal' or
3931 `notifications-closed-signal', if :on-action or :on-close has been
3932 passed as argument.
3933
78e8b10a
CY
39342012-03-07 Chong Yidong <cyd@gnu.org>
3935
3936 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3937 non-X platforms.
3938
69481eb8
GM
39392012-03-06 Glenn Morris <rgm@gnu.org>
3940
3941 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3942 (x-disown-selection-internal, x-get-selection-internal):
3943 Doc fix (add arglist signatures). (Bug#10783)
3944
133b8e11
KS
39452012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3946
3947 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
3948 Handle breakpoints with no "type".
3949
99a83064
GM
39502012-03-06 Glenn Morris <rgm@gnu.org>
3951
3952 * files.el (locate-dominating-file): Add optional predicate argument.
3953 (dir-locals-find-file): Make use of above change.
3954
17798e78
TTN
39552012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
3956
3957 * info.el (Info-insert-dir): Also try "dir.gz".
3958
eb182446
GM
39592012-03-06 Glenn Morris <rgm@gnu.org>
3960
8f2114ee
GM
3961 * files.el (dir-locals-find-file):
3962 Ignore non-readable or non-regular files. (Bug#10928)
3963
eb182446
GM
3964 * files.el (locate-dominating-file): Doc fix.
3965
24679323
AS
39662012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
3967
3968 * calendar/calendar.el (calendar-set-mode-line):
3969 `getenv' returns a string. (Bug#10951)
3970
01d972a9
LL
39712012-03-05 Leo Liu <sdl.web@gmail.com>
3972
109aa8a9
LL
3973 * simple.el (backward-delete-char-untabify): Constrain point to
3974 field (Bug#10939).
3975
01d972a9
LL
3976 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
3977
10607bea
CY
39782012-03-05 Chong Yidong <cyd@gnu.org>
3979
3980 * simple.el (count-words): If called from Lisp, return the word
3981 count, for symmetry with `count-lines'. Arglist changed.
3982 (count-words--message): Args changed. Consolidate counting code
3983 from count-words and count-words-region.
3984 (count-words-region): Caller changed.
3985 (count-lines-region): Make it an obsolete alias.
3986
5dd11cfe
TH
39872012-03-04 Tassilo Horn <tassilo@member.fsf.org>
3988
3989 * saveplace.el (save-place-to-alist)
3990 (save-place-ignore-files-regexp): Allow value nil to disable this
3991 feature.
3992
c349f4e6
CY
39932012-03-04 Chong Yidong <cyd@gnu.org>
3994
3995 * faces.el (face-spec-reset-face): For the default face, reset the
3996 attributes to default values (Bug#10748).
3997
e627be4c
LMI
39982012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
3999
4000 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4001 previous patch: Check `message-send-mail-function', and not the
4002 default function (bug#10897).
4003
ebeabff4
MA
40042012-03-04 Michael Albinus <michael.albinus@gmx.de>
4005
a41a6cf4
MA
4006 * notifications.el (notifications-on-action-signal)
4007 (notifications-on-closed-signal): Check for unique service name of
4008 incoming event. Fix error in removing entry.
ebeabff4 4009 (top): Register for signals with wildcard service name.
a41a6cf4 4010 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4011
c1ca42b4
CY
40122012-03-04 Chong Yidong <cyd@gnu.org>
4013
dc9924b8 4014 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4015
ea16568d
GM
40162012-03-04 Glenn Morris <rgm@gnu.org>
4017
4018 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4019 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4020 (expand-abbrev, define-abbrev-table): Doc fixes.
4021
fbae4637
LMI
40222012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4023
4024 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4025 `message-default-send-mail-function' and not `send-mail-function'
4026 when doing the prompting for `sendmail-query-once' before sending
4027 in Message buffers (bug#10897).
4028
a1e7225c
LMI
4029 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4030 This is inconsistent with all the other stream functions, which leave
4031 the setting up to the higher levels (if so wanted) (bug#10931).
4032
56d093a9
AM
40332012-03-02 Alan Mackenzie <acm@muc.de>
4034
4035 Depessimize the handling of very large macros.
4036
4037 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4038 (c-macro-cache-syntactic): New variables to implement a one
4039 element macro cache.
4040 (c-invalidate-macro-cache): New function.
4041 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4042 Adapt to use the new cache.
4043 (c-state-safe-place): Use better the cache of safe positions.
4044 (c-state-semi-nonlit-pos-cache)
4045 (c-state-semi-nonlit-pos-cache-limit):
4046 New variables for...
4047 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4048 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4049 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4050 Use c-state-semi-safe-place.
56d093a9 4051
dbbc2e69
SM
4052 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4053 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4054
817e5c3d
MA
40552012-03-02 Michael Albinus <michael.albinus@gmx.de>
4056
dbbc2e69
SM
4057 * jka-compr.el (jka-compr-call-process):
4058 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4059 not remote.
4060
a032a702
MA
40612012-03-01 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4064 access of FILE2, if FILE1 does not exist.
4065
99a54f21
MA
4066 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4067 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4068
4069 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4070 Add "PAGER=" to `process-environment'.
4071
f6561e1f
MM
40722012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4073
4074 * progmodes/sql.el: Bug fix
4075 (sql-get-login-ext): Save login values in globals.
4076 (sql-get-login): Use new version of `sql-get-login-ext'.
4077 (sql-interactive-mode): Set global `sql-connection' to nil.
4078 (sql-connect): Set global values for connection.
4079 (sql-product-interactive): Save global values as buffer local.
4080
2d44d9cc
LL
40812012-02-29 Leo Liu <sdl.web@gmail.com>
4082
4083 * abbrev.el (define-abbrevs): Reset sys to nil.
4084
96b49301 40852012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4086
bf7f9bc5
JB
4087 * files.el (file-equal-p): Rename from `files-equal-p'.
4088 Return nil when one or both files don't exist.
96b49301 4089 (file-subdir-of-p): Now only top directory must exists,
4090 return nil if it doesn't.
bf7f9bc5
JB
4091 (copy-directory): No need to test with `file-subdir-of-p' after
4092 creating dir.
4093 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4094 to `file-equal-p'.
96b49301 4095
44e97401
GM
40962012-02-28 Glenn Morris <rgm@gnu.org>
4097
4098 * shell.el (shell-mode):
4099 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4100 * play/landmark.el (landmark-font-lock-face-O):
4101 * play/handwrite.el (handwrite):
4102 * play/gomoku.el (gomoku-O):
4103 * net/browse-url.el (browse-url-browser-display):
4104 * international/mule.el (define-charset):
4105 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4106 * filesets.el (filesets-find-file-delay):
4107 * eshell/em-xtra.el (eshell-xtra):
4108 * eshell/em-unix.el (eshell-grep):
4109 * emulation/viper.el (viper-mode):
4110 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4111 * emacs-lisp/easymenu.el (easy-menu-define):
4112 * calendar/timeclock.el (timeclock-use-display-time):
4113 * bs.el (bs-mode):
4114 * bookmark.el (bookmark-save-flag):
4115 Doc fix (standardize possessive apostrophe usage).
4116
c98c6276
CY
41172012-02-27 Chong Yidong <cyd@gnu.org>
4118
bf7f9bc5
JB
4119 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4120 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4121
c98c6276
CY
4122 * font-lock.el (font-lock-specified-p): Rename from
4123 font-lock-spec-present. Callers changed.
4124
9c62cd04 41252012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4126
bf7f9bc5
JB
4127 * emacs-lisp/package.el (package-compute-transaction):
4128 Handle holding a package version to t in package-load-list.
8ac9e529 4129
530739c9
MA
41302012-02-26 Michael Albinus <michael.albinus@gmx.de>
4131
4132 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4133 (tramp-get-inode, tramp-get-device): Use cached values.
4134
487915d7
AM
41352012-02-26 Alan Mackenzie <acm@muc.de>
4136
4137 Check there is a font-lock specification before doing initial
4138 fontification.
4139
4140 * font-core.el (font-lock-mode): Move the conditional from
4141 :after-hook to font-lock-initial-fontify.
4142 (font-lock-default-function): Move the check for a specification
4143 to font-lock-spec-present.
4144
dc9924b8 4145 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4146 (font-lock-spec-present): New function.
4147
4fd96557
JB
41482012-02-26 Jim Blandy <jimb@red-bean.com>
4149
4150 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4151 (gdb-send): Apply it to the operand of the '-interpreter-exec
4152 console' command, so that we can pass arguments with (say) quotes
4153 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4154
9a4888c0
CY
41552012-02-26 Chong Yidong <cyd@gnu.org>
4156
07498861
CY
4157 * help-fns.el (describe-function-1): Clarify description of
4158 remapping (Bug#10844).
4159
9a4888c0
CY
4160 * files.el (files-equal-p): Doc fix.
4161 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4162 and quit the loop once a mismatch is found.
4163
ea8fb88d
JB
41642012-02-25 Juanma Barranquero <lekktu@gmail.com>
4165
4166 * bs.el (bs--show-with-configuration): Don't throw an error
4167 if the window cannot be split; otherwise, subsequent calls to
4168 bs-show fail, restoring a stale window config. (Bug#10882)
4169
525795c1
JD
41702012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4171
4172 * term/ns-win.el (global-map): Bind ns-drag-file to
4173 ns-find-file (Bug#5855, Bug#10050).
4174
f008086f
AS
41752012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4176
4177 * calendar/parse-time.el (parse-time-string): Allow extractor to
4178 return nil.
4179
a3fcfa99
MA
41802012-02-25 Michael Albinus <michael.albinus@gmx.de>
4181
91027d08
JB
4182 * net/tramp.el (tramp-file-name-for-operation):
4183 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4184
4185 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4186 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4187 Add COPY-CONTENTS argument.
a3fcfa99 4188
67b0de11
CY
41892012-02-25 Chong Yidong <cyd@gnu.org>
4190
4191 Add custom groups for VC backends, for consistency with vc-bzr.
4192
4193 * vc/vc-arch.el (vc-arch):
4194 * vc/vc-cvs.el (vc-cvs):
4195 * vc/vc-git.el (vc-git):
4196 * vc/vc-hg.el (vc-hg):
4197 * vc/vc-mtn.el (vc-mtn):
4198 * vc/vc-rcs.el (vc-rcs):
4199 * vc/vc-sccs.el (vc-sccs):
4200 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4201 All relevant defcustoms reassigned.
4202
3c9dfce6
CY
42032012-02-25 Chong Yidong <cyd@gnu.org>
4204
1339bf43
CY
4205 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4206
3c9dfce6
CY
4207 * term/x-win.el (x-initialize-window-system): Reduce default for
4208 x-selection-timeout to 5 seconds (Bug#8869).
4209
25b2e303 42102012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4211
ec70a47d
GM
4212 * files.el (files-equal-p, file-subdir-of-p): New functions.
4213 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4214 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4215 * dired-aux.el (dired-copy-file-recursive): Same.
4216 (dired-create-files): Modify destination when source is equal to
4217 dest when copying files.
53a46cd0 4218 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4219
914260cd
MA
42202012-02-24 Michael Albinus <michael.albinus@gmx.de>
4221
4222 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4223 (Bug#10874)
4224
2cb228f7
AM
42252012-02-23 Alan Mackenzie <acm@muc.de>
4226
4227 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4228 parameter "after-hook:" to allow the expansion to run code after
4229 the execution of the mode hooks.
4230
4231 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4232 from font-lock-mode-internal.
2cb228f7 4233
91027d08 4234 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4235 :after-hook.
4236
8f0fde21
SM
42372012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4238
3e88618b
SM
4239 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4240 (completion--cache-all-sorted-completions): New function.
4241 (completion-all-sorted-completions): Use it.
4242 (completion--do-completion, minibuffer-force-complete):
4243 Use it to re-instate the flush hook.
4244
8f0fde21
SM
4245 * icomplete.el (icomplete-completions): Replace last fix with a better
4246 one (bug#10850).
4247
8e911f6f
DG
42482012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4249
4250 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4251 when it might call us back infinitely (bug#10797).
4252
49fe4321
GM
42532012-02-23 Glenn Morris <rgm@gnu.org>
4254
4255 * minibuffer.el (completion-category-overrides): Doc fix.
4256
b291b572
SM
42572012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4260 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4261
31a9ef2e
GM
42622012-02-23 Glenn Morris <rgm@gnu.org>
4263
5e6e6794 4264 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4265 (authors-obsolete-files-regexps, authors-ignored-files)
4266 (authors-ambiguous-files, authors-renamed-files-alist):
4267 Add more entries.
4268
0bd1e074
JL
42692012-02-23 Juri Linkov <juri@jurta.org>
4270
4271 * isearch.el (isearch-occur): Sync interactive spec with occur's
4272 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4273
b617673c
JL
4274 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4275
19e9789e
JL
42762012-02-22 Juri Linkov <juri@jurta.org>
4277
4278 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4279 (ucs-insert): Doc fix. Check for hex digits in the string.
4280 Don't display `nil' in the error message. (Bug#10857)
4281
f41ce09d
AM
42822012-02-22 Alan Mackenzie <acm@muc.de>
4283
7a71b18d 4284 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4285
ac2eceee
GM
42862012-02-22 Glenn Morris <rgm@gnu.org>
4287
4288 * ffap.el (ffap-c-path):
4289 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4290
abd1f678
CY
42912012-02-22 Chong Yidong <cyd@gnu.org>
4292
4293 * custom.el (load-theme): Doc fix.
4294
f25aef2e
GM
42952012-02-22 Glenn Morris <rgm@gnu.org>
4296
4297 * dired-x.el (dired-guess-shell-alist-default):
4298 Remove escape sequences from nroff output. (Bug#172)
4299
5f8dc2ca
GM
43002012-02-21 Glenn Morris <rgm@gnu.org>
4301
6ff86ec4
GM
4302 * vc/emerge.el (emerge-defvar-local):
4303 Set `permanent-local' property rather than unused `preserved'.
4304
be3223a3 4305 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4306 (picture-mode-map): Use it. (Bug#10860)
4307 (picture-mode): Doc fix.
4308
3fe58f4f
JB
43092012-02-21 Juanma Barranquero <lekktu@gmail.com>
4310
4311 * newcomment.el (uncomment-region-default): Remove unused binding.
4312
f9a998c3
GM
43132012-02-21 Glenn Morris <rgm@gnu.org>
4314
4315 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4316 (picture-self-insert, picture-tab-chars): Doc fix.
4317 (picture-mode-map): Fix C-a, C-e.
4318
c6029348
GM
43192012-02-20 Glenn Morris <rgm@gnu.org>
4320
4321 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4322
ab1ce9d7
LL
43232012-02-20 Leo Liu <sdl.web@gmail.com>
4324
4325 * icomplete.el (icomplete-completions): Check FROM arg before
4326 passing to substring (Bug#10850).
4327
0fd40f89
CY
43282012-02-19 Chong Yidong <cyd@gnu.org>
4329
4330 * comint.el: Require ansi-color.
4331 (comint-output-filter-functions): Add ansi-color-process-output.
4332
4333 * ansi-color.el: Don't set comint-output-filter-functions; it is
4334 now in the initial value defined in comint.el.
4335 (ansi-color-apply-face-function): New variable.
4336 (ansi-color-apply-on-region): Use it.
4337 (ansi-color-apply-overlay-face): New function.
4338
4339 * shell.el (shell): No need to require ansi-color.
4340 (shell-mode): Use ansi-color-apply-face-function to highlight
4341 color escapes using font-lock-face property (Bug#10835).
4342
20af2394
CY
43432012-02-19 Chong Yidong <cyd@gnu.org>
4344
4345 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4346 mode-line formats (Bug#10839).
4347
e23a3fbe
GM
43482012-02-18 Glenn Morris <rgm@gnu.org>
4349
b474519e
GM
4350 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4351
4352 * mail/undigest.el (unforward-rmail-message): Doc fix.
4353
e23a3fbe
GM
4354 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4355
57939ff4
EZ
43562012-02-18 Eli Zaretskii <eliz@gnu.org>
4357
4358 * international/characters.el (script-list): Sync with the latest
4359 Unicode Character Database.
4360
0c23686e
AS
43612012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4362
4363 * international/titdic-cnv.el: Remove duplicate coding tag.
4364 * language/cham.el: Likewise.
4365 * language/tai-viet.el: Likewise.
4366
6818b449
GM
43672012-02-18 Glenn Morris <rgm@gnu.org>
4368
4369 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4370 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4371 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4372 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4373 * calendar/holidays.el (holiday-bahai-holidays)
4374 (calendar-holidays, list-holidays):
4375 Use utf-8 Bahá'í in doc-strings, menus, etc.
4376
0311a3fc
TH
43772012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4378
4379 * saveplace.el (save-place-ignore-files-regexp): New variable
4380 allowing for excluding files from saving their location of point.
4381 The default value matches the temporary commit message editing
4382 files from Git, SVN, Bazaar, and Mercurial.
4383 (save-place-to-alist): Use it.
4384
eb864a71
LM
43852012-02-17 Lawrence Mitchell <wence@gmx.li>
4386 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * newcomment.el (uncomment-region-default): Don't leave extra space
4389 when an arg is provided (bug#8150).
4390
ee0ce425
TZ
43912012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4392
eb864a71 4393 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4394
95ddf442
GM
43952012-02-17 Glenn Morris <rgm@gnu.org>
4396
4397 * net/socks.el: Require network-stream. (Bug#10599)
4398
48dd1e39 43992012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4400
4401 * international/charprop.el:
4402 * international/uni-name.el:
4403 * international/uni-old-name.el:
4404 * international/uni-comment.el: Regenerate.
4405
d68cd087
GM
44062012-02-16 Glenn Morris <rgm@gnu.org>
4407
4408 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4409 Interactively in calendar buffer, give an error if not on a date.
4410
13932042
GM
44112012-02-15 Glenn Morris <rgm@gnu.org>
4412
4413 * shell.el (shell-delimiter-argument-list):
4414 Revert 2011-02-17 change. (Bug#8027)
4415
c3a70e2b
CY
44162012-02-15 Chong Yidong <cyd@gnu.org>
4417
60236b0d
CY
4418 * minibuffer.el (completion-at-point-functions): Doc fix.
4419
c3a70e2b
CY
4420 * custom.el (defcustom): Doc fix; note use of defvar.
4421
9f26dc24
GM
44222012-02-15 Glenn Morris <rgm@gnu.org>
4423
4424 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4425 Doc fixes.
4426
6546b134
GM
44272012-02-14 Glenn Morris <rgm@gnu.org>
4428
4429 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4430
d29b2b4c
LI
44312012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4432
4433 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4434 way the ports list is computed.
835bdcba
LI
4435 (smtpmail-query-smtp-server): Prompt the user for a port number if
4436 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4437
08dcdbc9
TZ
44382012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4439
4440 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4441
2605051a
GM
44422012-02-13 Glenn Morris <rgm@gnu.org>
4443
4444 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4445
7ee99f32
TZ
44462012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4447
4448 * net/gnutls.el (gnutls-trustfiles): New variable.
4449 (gnutls-negotiate): Use it.
4450
5f0af64f
LI
44512012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4452
4453 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4454 does its stuff if Gnus is running.
4455
c14fcc95
AM
44562012-02-13 Alan Mackenzie <acm@muc.de>
4457
4458 Fix a loop in c-set-fl-decl-start.
4459
7a71b18d 4460 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4461 c-backward-syntactic-ws actually moves backwards.
4462
142b4d90
LL
44632012-02-13 Leo Liu <sdl.web@gmail.com>
4464
4465 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4466 beginning so that all \C-o chars are removed.
4467
fa9958a6
TZ
44682012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4469
dc9924b8 4470 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4471
0bc5886a
AM
44722012-02-12 Alan Mackenzie <acm@muc.de>
4473
4474 Fix infinite loop with long macros.
4d6769e1 4475 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4476
d4bd55e7
CY
44772012-02-12 Chong Yidong <cyd@gnu.org>
4478
4479 * window.el (display-buffer): Doc fix (Bug#10785).
4480
66f3fe22
GM
44812012-02-12 Glenn Morris <rgm@gnu.org>
4482
bd7da63e
GM
4483 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4484 (x-disown-selection-internal, x-get-selection-internal):
4485 Sync docs with the xselect.c versions.
4486
66f3fe22
GM
4487 * allout-widgets.el: Add missing license notice.
4488
3e0d2fa7
GM
44892012-02-11 Glenn Morris <rgm@gnu.org>
4490
cfecdf09
GM
4491 * select.el (x-get-selection-internal, x-own-selection-internal)
4492 (x-disown-selection-internal):
4493 * x-dnd.el (x-get-selection-internal): Update declarations.
4494
6d216d7f
GM
4495 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4496
2bed3f04
GM
4497 * window.el (window-sides-slots):
4498 * tool-bar.el (tool-bar-position):
4499 * term/xterm.el (xterm-extra-capabilities):
4500 * ses.el (ses-self-reference-early-detection):
4501 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4502 (verilog-auto-wire-type)
4503 (verilog-auto-delete-trailing-whitespace)
4504 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4505 (verilog-auto-tieoff-declaration):
4506 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4507 (sql-oracle-statement-starters, sql-oracle-scan-on):
4508 * progmodes/prolog.el (prolog-align-comments-flag)
4509 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4510 (prolog-left-indent-regexp, prolog-paren-indent-p)
4511 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4512 (prolog-types, prolog-mode-specificators)
4513 (prolog-determinism-specificators, prolog-directives)
4514 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4515 (prolog-electric-dot-flag)
4516 (prolog-electric-dot-full-predicate-template)
4517 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4518 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4519 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4520 (prolog-program-switches, prolog-prompt-regexp)
4521 (prolog-debug-on-string, prolog-debug-off-string)
4522 (prolog-trace-on-string, prolog-trace-off-string)
4523 (prolog-zip-on-string, prolog-zip-off-string)
4524 (prolog-use-standard-consult-compile-method-flag)
4525 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4526 (prolog-imenu-max-lines, prolog-info-predicate-index)
4527 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4528 (prolog-char-quote-workaround):
4529 * progmodes/cc-vars.el (c-defun-tactic):
4530 * net/tramp.el (tramp-encoding-command-interactive)
4531 (tramp-local-end-of-line):
4532 * net/soap-client.el (soap-client):
4533 * net/netrc.el (netrc-file):
4534 * net/gnutls.el (gnutls):
4535 * minibuffer.el (completion-category-overrides)
4536 (completion-cycle-threshold)
4537 (completion-pcm-complete-word-inserts-delimiters):
4538 * man.el (Man-name-local-regexp):
4539 * mail/feedmail.el (feedmail-display-full-frame):
4540 * international/characters.el (glyphless-char-display-control):
4541 * eshell/em-ls.el (eshell-ls-date-format):
4542 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4543 (lisp-lambda-list-keyword-parameter-indentation)
4544 (lisp-lambda-list-keyword-parameter-alignment):
4545 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4546 * dired-x.el (dired-omit-verbose):
4547 * cus-theme.el (custom-theme-allow-multiple-selections):
4548 * calc/calc.el (calc-highlight-selections-with-faces)
4549 (calc-lu-field-reference, calc-lu-power-reference)
4550 (calc-note-threshold):
4551 * battery.el (battery-mode-line-limit):
4552 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4553 (archive-7z-update):
4554 * allout.el (allout-prefixed-keybindings)
4555 (allout-unprefixed-keybindings)
4556 (allout-inhibit-auto-fill-on-headline)
4557 (allout-flattened-numbering-abbreviation):
4558 * allout-widgets.el (allout-widgets-auto-activation)
4559 (allout-widgets-icons-dark-subdir)
4560 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4561 (allout-widgets-theme-dark-background)
4562 (allout-widgets-theme-light-background)
4563 (allout-widgets-item-image-properties-emacs)
4564 (allout-widgets-item-image-properties-xemacs)
4565 (allout-widgets-run-unit-tests-on-load)
4566 (allout-widgets-time-decoration-activity)
4567 (allout-widgets-hook-error-post-time)
4568 (allout-widgets-track-decoration):
4569 Add missing :version tags to new defcustoms and defgroups.
4570
5fec1b8e
GM
4571 * progmodes/sql.el (sql-ansi-statement-starters)
4572 (sql-oracle-statement-starters): Add custom type.
4573
3e0d2fa7
GM
4574 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4575 (prolog-system-version): Give it a type.
4576
90b671e2
EZ
45772012-02-11 Eli Zaretskii <eliz@gnu.org>
4578
4579 * term/pc-win.el (x-select-text, x-selection-owner-p)
4580 (x-own-selection-internal, x-disown-selection-internal)
4581 (x-get-selection-internal): Sync doc strings and argument lists
4582 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4583
5eac0c02
LL
45842012-02-11 Leo Liu <sdl.web@gmail.com>
4585
4586 * progmodes/python.el (python-end-of-statement): Fix infinite
4587 loop. (Bug#10788)
4588
f82cb659
GM
45892012-02-10 Glenn Morris <rgm@gnu.org>
4590
4591 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4592 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4593
cc26d239
LI
45942012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4595
4596 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4597 about SMTP before checking the From header.
4598
91027d08 4599 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4600 into own function for reuse by emacsbug.el.
4601
1be3ca5a
LL
46022012-02-10 Leo Liu <sdl.web@gmail.com>
4603
4604 * subr.el (condition-case-unless-debug): Rename from
4605 condition-case-no-debug. All callers changed.
4606 (with-demoted-errors): Fix caller.
4607
4608 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4609 * nxml/rng-valid.el (rng-do-some-validation):
4610 * emacs-lisp/package.el (package-refresh-contents)
4611 (package-menu-execute):
4612 * desktop.el (desktop-create-buffer):
91027d08 4613 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4614
b011fbfe
GM
46152012-02-10 Glenn Morris <rgm@gnu.org>
4616
b2096d72
GM
4617 * textmodes/bibtex.el:
4618 Add missing :version tags for new/changed defcustoms.
4619
b011fbfe
GM
4620 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4621
4c7e65bf
LI
46222012-02-09 Lars Ingebrigtsen <larsi@rusty>
4623
4624 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4625 (smtpmail-via-smtp): Use it, or fall back on the From address.
4626 (smtpmail-send-it): Ditto.
4627
f3934f6f
SM
46282012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4629
4630 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4631 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4632 (byte-compile-tmp-var): New const.
4633 (byte-compile-defvar): Use it to minimize .elc size.
4634 Just use `defvar' rather than simulate it (bug#10761).
4635
a075a2c5
GM
46362012-02-09 Glenn Morris <rgm@gnu.org>
4637
cf3aa21b
GM
4638 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4639
354998cd
GM
4640 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4641 Add :version tags.
4642
dc9924b8
SM
4643 * progmodes/compile.el (compilation-error-screen-columns)
4644 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4645
dab3703d
GM
4646 * vc/log-view.el (log-view-toggle-entry-display):
4647 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4648
3f88cd72
GM
4649 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4650 (report-emacs-bug-can-use-xdg-email):
4651 (report-emacs-bug-insert-to-mailer): Doc fixes.
4652 (report-emacs-bug): Message fix.
4653
d95b247d
GM
4654 * net/browse-url.el (browse-url-can-use-xdg-open)
4655 (browse-url-xdg-open): Doc fixes.
4656
a075a2c5
GM
4657 * electric.el (electric-indent-mode, electric-pair-mode)
4658 (electric-layout-rules, electric-layout-mode): Doc fixes.
4659 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4660
ffb6157e
MR
46612012-02-08 Martin Rudalics <rudalics@gmx.at>
4662
4663 * server.el (server-unselect-display): Don't inadvertently kill
4664 the current buffer. (Bug#10729)
4665
e1ac4066
GM
46662012-02-08 Glenn Morris <rgm@gnu.org>
4667
34e8a2da
GM
4668 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4669 (sql-list-table): Doc fixes.
4670
b4ac6e8c
GM
4671 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4672 Comment out (does nothing).
4673
e1ac4066
GM
4674 * completion.el (dynamic-completion-mode):
4675 * dirtrack.el (dirtrack-debug-mode):
4676 * electric.el (electric-layout-mode):
4677 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4678 * face-remap.el (text-scale-mode, buffer-face-mode):
4679 * iimage.el (iimage-mode):
4680 * image-mode.el (image-transform-mode):
4681 * minibuffer.el (completion-in-region-mode):
4682 * scroll-lock.el (scroll-lock-mode):
4683 * simple.el (next-error-follow-minor-mode):
4684 * tar-mode.el (tar-subfile-mode):
4685 * tooltip.el (tooltip-mode):
4686 * vcursor.el (vcursor-use-vcursor-map):
4687 * wid-browse.el (widget-minor-mode):
4688 * emulation/tpu-edt.el (tpu-edt-mode):
4689 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4690 * international/iso-ascii.el (iso-ascii-mode):
4691 * language/thai-util.el (thai-word-mode):
4692 * mail/supercite.el (sc-minor-mode):
4693 * net/goto-addr.el (goto-address-mode):
4694 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4695 * progmodes/cwarn.el (cwarn-mode):
4696 * progmodes/flymake.el (flymake-mode):
4697 * progmodes/glasses.el (glasses-mode):
4698 * progmodes/hideshow.el (hs-minor-mode):
4699 * progmodes/pascal.el (pascal-outline-mode):
4700 * textmodes/enriched.el (enriched-mode):
4701 * vc/smerge-mode.el (smerge-mode):
4702 Doc fixes (minor mode argument).
4703
5e0d957f
EZ
47042012-02-07 Eli Zaretskii <eliz@gnu.org>
4705
4706 * ls-lisp.el (ls-lisp-sanitize): New function.
4707 (ls-lisp-insert-directory): Use it to fix or remove any elements
4708 in file-alist with missing attributes. (Bug#4673)
4709
98d7371e
AM
47102012-02-07 Alan Mackenzie <acm@muc.de>
4711
4712 Fix spurious recognition of c-in-knr-argdecl.
4713
4714 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4715 putative K&R region.
4716
667ced3a
AM
47172012-02-07 Alan Mackenzie <acm@muc.de>
4718
eb864a71
LM
4719 * progmodes/cc-engine.el (c-forward-objc-directive):
4720 Prevent looping in "#pragma mark @implementation".
667ced3a 4721
5b77774d
MA
47222012-02-07 Michael Albinus <michael.albinus@gmx.de>
4723
4724 * notifications.el (notifications-on-closed-signal): Make `reason'
4725 optional. (Bug#10744)
4726
af008560
GM
47272012-02-07 Glenn Morris <rgm@gnu.org>
4728
60d47423
GM
4729 * emacs-lisp/easy-mmode.el (define-minor-mode):
4730 Doc fixes for the macro and the mode it defines.
4731
dd605cc4
GM
4732 * image.el (imagemagick-types-inhibit): Doc fix.
4733
af008560
GM
4734 * cus-start.el (imagemagick-render-type): Add it.
4735
5cc59a37
LI
47362012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4737
4d6769e1
JB
4738 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4739 Set the default at load time, too, so that `font-lock-fontify-buffer'
4740 can be called without setting up the entire mode first. This fixes
4741 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4742
9a6dd747
CY
47432012-02-06 Chong Yidong <cyd@gnu.org>
4744
2d16b285
CY
4745 * simple.el (list-processes--refresh): Delete exited processes
4746 (Bug#8094).
4747
171e9b6e
CY
4748 * comint.el (comint-next-prompt): next-single-char-property-change
4749 and prev-single-char-property-change never return nil (Bug#8657).
4750
9a6dd747
CY
4751 * custom.el (defcustom): Doc fix (Bug#9711).
4752
aa4589a7
CY
47532012-02-05 Chong Yidong <cyd@gnu.org>
4754
5c2a252f
CY
4755 * cus-edit.el (custom-variable-reset-backup): Quote the value
4756 before storing it in the customized-value property (Bug#6712).
4aab9006 4757 (custom-display): Add a customization type tag.
983b9602 4758 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4759
aa4589a7
CY
4760 * wid-edit.el (widget-field-value-get): New optional arg to
4761 suppress trailing whitespace truncation.
4762 (character): Use it (Bug#2689).
4763
1ff980ae
AS
47642012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4765
4766 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4767 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4768
03988c98
CY
47692012-02-05 Chong Yidong <cyd@gnu.org>
4770
eeb6cc88
CY
4771 * cus-edit.el (custom-variable-value-create): For mismatched
4772 types, show the current value (Bug#7600).
4773
03988c98
CY
4774 * custom.el (defcustom): Doc fix.
4775
f8cdeef0
GM
47762012-02-05 Glenn Morris <rgm@gnu.org>
4777
4778 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4779
0696d255
JB
47802012-02-05 Juanma Barranquero <lekktu@gmail.com>
4781
4782 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4783 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4784 (pp-last-sexp): Use `looking-at-p'.
4785
34c99998
GM
47862012-02-04 Glenn Morris <rgm@gnu.org>
4787
8f05da42
GM
4788 * files.el (revert-buffer):
4789 Doc fix (mention revert-buffer-in-progress-p).
4790
f160676e
GM
4791 * emacs-lisp/ert-x.el (ert-simulate-command):
4792 Check deferred-action-list (which is obsolete) is bound.
4793
c7291ad9
GM
4794 * subr.el (with-wrapper-hook): Doc fixes.
4795
34c99998
GM
4796 * simple.el (filter-buffer-substring-functions)
4797 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4798
6283a7d3
LL
47992012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4800
4801 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4802 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4803
e96e3013
LL
48042012-02-04 Leo Liu <sdl.web@gmail.com>
4805
4806 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4807
8ded50f2
GM
48082012-02-04 Glenn Morris <rgm@gnu.org>
4809
82ff1d13
GM
4810 * image.el (image-extension-data): Add obsolete alias.
4811
987a0a16
GM
4812 * isearch.el (isearch-update): Doc fix.
4813
ea32ef46
GM
4814 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4815
8ded50f2
GM
4816 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4817
eea14f31
GM
48182012-02-03 Glenn Morris <rgm@gnu.org>
4819
4820 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4821 (image-animate-timeout): Doc fix.
4822
4823 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4824
12f381b7
GM
48252012-02-02 Glenn Morris <rgm@gnu.org>
4826
953cebf5
GM
4827 * server.el (server-auth-dir): Doc fix.
4828 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4829
12f381b7
GM
4830 * subr.el (run-mode-hooks): Doc fix.
4831
953a8c3b
JL
48322012-02-02 Juri Linkov <juri@jurta.org>
4833
4834 * image-mode.el (image-toggle-display-image): Remove tautological
4835 `major-mode' from the `derived-mode-p' test.
4836
c5d3843c
KH
48372012-02-02 Kenichi Handa <handa@m17n.org>
4838
9f6e692e 4839 * composite.el (compose-region): Cancel previous change.
c5d3843c 4840
159462d4 48412012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4842
4843 * composite.el (compose-region, compose-string): Signal error for
4844 a null string component (Bug#6988).
4845
9f562668
CY
48462012-02-01 Chong Yidong <cyd@gnu.org>
4847
e2cef717
CY
4848 * view.el (view-buffer-other-window, view-buffer-other-frame):
4849 Handle special modes like view-buffer (Bug#10650).
4850 (view-buffer): Simplify.
4851
9f562668
CY
4852 * frame.el (set-frame-font): Tweak meaning of third argument.
4853
9f6e692e
JB
4854 * dynamic-setting.el (font-setting-change-default-font):
4855 Use set-frame-font (Bug#9982).
9f562668 4856
781acb9f
GM
48572012-02-01 Glenn Morris <rgm@gnu.org>
4858
6035be52
GM
4859 * progmodes/compile.el (compilation-internal-error-properties):
4860 Respect compilation-first-column in the "*compilation*" buffer.
4861
781acb9f
GM
4862 * emacs-lisp/easy-mmode.el (define-minor-mode):
4863 Relax :variable's test for a named function.
4864
abbceb00
AM
48652012-01-31 Alan Mackenzie <acm@muc.de>
4866
4867 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4868 off by one error.
4869
fce3fdeb
CY
48702012-01-31 Chong Yidong <cyd@gnu.org>
4871
4872 * frame.el (set-frame-font): New arg ALL-FRAMES.
4873
4874 * menu-bar.el (menu-set-font): Use set-frame-font.
4875
4876 * faces.el (face-spec-reset-face): Don't apply unspecified
4877 attribute values to the default face.
4878
47893581
JB
48792012-01-31 Juanma Barranquero <lekktu@gmail.com>
4880
4881 * progmodes/cwarn.el (cwarn): Remove dead link.
4882 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4883 Remove * from defcustom docstrings.
4884 (turn-on-cwarn-mode): Make obsolete.
4885 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4886 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4887
e58e988a
GM
48882012-01-31 Glenn Morris <rgm@gnu.org>
4889
60dc2671 4890 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4891 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4892 Allow named functions to be used as the cdr of :variable.
e58e988a 4893
7a3f511d
GM
48942012-01-30 Glenn Morris <rgm@gnu.org>
4895
4896 * emacs-lisp/authors.el (authors-fixed-entries):
4897 Remove reference to deleted file rnewspost.el.
4898
cb882333
JB
48992012-01-29 Juanma Barranquero <lekktu@gmail.com>
4900
4901 * window.el (window-with-parameter): Remove unused variable `windows'.
4902 (window--side-check): Remove unused variable `code'.
4903 (window--resize-siblings): Remove unused variable `first'.
4904 (adjust-window-trailing-edge): Remove unused variable `failed'.
4905 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4906 Use `let', not `let*'.
4907 (balance-windows-2): Remove unused variable `found'.
4908 (window--state-put-2): Remove unused variable `splits'.
4909 (window-state-put): Remove unused variable `selected'.
4910 (same-window-p): Use `string-match-p'.
4911 (display-buffer-assq-regexp): Remove unused variable `value'.
4912 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4913 Mark argument ALIST as ignored.
4914 (pop-to-buffer): Remove unused variable `old-window'.
4915
907201af
EZ
49162012-01-29 Eli Zaretskii <eliz@gnu.org>
4917
4918 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4919 and .lzma compressed files.
4920
ea162670
CY
49212012-01-29 Chong Yidong <cyd@gnu.org>
4922
5b95ee8a
CY
4923 * frame.el (window-system-default-frame-alist): Doc fix.
4924
ea162670
CY
4925 * dynamic-setting.el (font-setting-change-default-font): Don't
4926 change the default face if SET-FONT argument is non-nil (Bug#9982).
4927
d6e6f4b1
SB
49282012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4929
4930 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4931
0f29fa41 49322012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4933
4934 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4935 breakpoints in files outside current directory (Bug#6098).
4936
db174434
CY
49372012-01-29 Chong Yidong <cyd@gnu.org>
4938
6b25e4e2
SE
4939 * progmodes/python.el: Require ansi-color at top-level.
4940
6df6ae42
JB
4941 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
4942 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
4943 (lisp-mode-abbrev-table): Add doc.
4944 (lisp-mode-variables): Don't set local-abbrev-table.
4945 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
4946
e70ee681
RW
49472012-01-28 Roland Winkler <winkler@gnu.org>
4948
4949 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
4950
ace88aa2
RW
49512012-01-28 Roland Winkler <winkler@gnu.org>
4952
4953 * textmodes/bibtex.el (bibtex-entry-alist): New function.
4954 (bibtex-set-dialect): Use it. Either set global values of
4955 dialect-dependent variables or bind these variables buffer-locally
4956 (Bug#10254).
4957 (bibtex-mode): Call bibtex-set-dialect via
4958 hack-local-variables-hook.
eb864a71
LM
4959 (bibtex-dialect): Update docstring.
4960 Add safe-local-variable predicate.
ace88aa2
RW
4961 (bibtex-entry-alist, bibtex-field-alist): Initialize via
4962 bibtex-set-dialect.
4963 (bibtex-mode-map): Define menu for each dialect.
4964 (bibtex-entry): Fix docstring.
4965
93376c5b
CY
49662012-01-28 Chong Yidong <cyd@gnu.org>
4967
4968 * eshell/esh-arg.el (eshell-quote-argument): New function.
4969
4970 * eshell/esh-ext.el (eshell-invoke-batch-file):
4971 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
4972 first arg to eshell-parse-command (Bug#10523).
4973
4372494f
DA
49742012-01-28 Drew Adams <drew.adams@oracle.com>
4975
4976 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
4977 `default-directory' is non-nil.
4978
4d4ec1f8
EZ
49792012-01-28 Eli Zaretskii <eliz@gnu.org>
4980
4981 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
4982 line that displays system-configuration-options. (Bug#9924)
4983
7c188927
DA
49842012-01-28 Drew Adams <drew.adams@oracle.com>
4985
4986 * descr-text.el (describe-char): Show information about POS, in
4987 addition to information about the character at POS. Improve and
4988 update the doc string. Change "code point" to "code point in
4989 charset", to avoid confusion with the character's Unicode code
4990 point shown above that. (Bug#10129)
4991
e0da685a
EZ
49922012-01-28 Eli Zaretskii <eliz@gnu.org>
4993
4994 * descr-text.el (describe-char): Show the raw character, not only
4995 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
4996 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
4997 for the reasons.
4998
70550acf
PH
49992012-01-28 Phil Hagelberg <phil@hagelb.org>
5000
eb864a71
LM
5001 * emacs-lisp/package.el (package-install):
5002 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5003
0ce8e868
CY
50042012-01-28 Chong Yidong <cyd@gnu.org>
5005
cb882333
JB
5006 * emacs-lisp/package.el (package-maybe-load-descriptor):
5007 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5008 (package-maybe-load-descriptor): Use it.
5009 (package-download-transaction): Fully load required packages
5010 inside the loop, so that `require' calls work (Bug#10593).
5011 (package-install): No need to call package-initialize now.
5012
2e7f3bea
CY
50132012-01-28 Chong Yidong <cyd@gnu.org>
5014
6e9bad14
CY
5015 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5016
f823b8ca
CY
5017 * tooltip.el (tooltip-mode): Doc fix.
5018 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5019
2680c309
CY
5020 * frame.el (set-cursor-color): Doc fix (Bug#352).
5021
d7a9e63b
CY
5022 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5023 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5024
2e7f3bea
CY
5025 * cus-edit.el (custom-buffer-create-internal): Fix search button
5026 action (Bug#10542).
2ae01800 5027 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5028
fc4f7a23
EW
50292012-01-27 Eduard Wiebe <usenet@pusto.de>
5030
5031 * dired.el (dired-mark-files-regexp):
5032 Include any subdirectory components. (Bug#10445)
5033
7dd37071
ML
50342012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5035
5036 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5037 Handle [host]:port syntax. (Bug#10533)
5038
a268160b
AH
50392012-01-27 Alex Harsanyi <harsanyi@mac.com>
5040
5041 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5042
e43273ef
GM
50432012-01-26 Glenn Morris <rgm@gnu.org>
5044
5045 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5046 * term.el (term-raw-escape-map): Use Control-X-prefix.
5047 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5048
1edf595d
MR
50492012-01-25 Martin Rudalics <rudalics@gmx.at>
5050
5051 * window.el (window-state-get, window--state-get-1): Don't deal
5052 with fixed-sizeness of windows. Simplify code.
5053
fa8eafef
JC
50542012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5055
6df6ae42
JB
5056 * window.el (window--state-get-1, window--state-put-2):
5057 Don't save and restore the mark.
fa8eafef 5058
0b21c100
CY
50592012-01-25 Chong Yidong <cyd@gnu.org>
5060
5061 * custom.el (custom-variable-p): Doc fix.
5062
5ae1a6c8
GM
50632012-01-25 Glenn Morris <rgm@gnu.org>
5064
40047858
GM
5065 * dired.el (dired-goto-file): Handle some of the more common
5066 characters that `ls -b' escapes. (Bug#10596)
5067
5ddce96c
GM
5068 * progmodes/compile.el (compilation-next-error-function):
5069 Respect compilation-first-column in the "*compilation*" buffer.
5070 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5071
5ae1a6c8
GM
5072 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5073
b559f1a9
GM
50742012-01-24 Glenn Morris <rgm@gnu.org>
5075
5076 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5077
6725d21a
JD
50782012-01-24 Julien Danjou <julien@danjou.info>
5079
5080 * color.el (color-rgb-to-hsl): Fix value computing.
5081 (color-hue-to-rgb): New function.
5082 (color-hsl-to-rgb): New function.
5083 (color-clamp, color-saturate-hsl, color-saturate-name)
5084 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5085 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5086
70df4bbe
GM
50872012-01-24 Glenn Morris <rgm@gnu.org>
5088
5089 * vc/vc-rcs.el (vc-rcs-create-tag):
5090 * vc/vc-sccs.el (vc-sccs-create-tag):
5091 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5092
802a2ae2
ML
50932012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5094
5095 * eshell/esh-util.el (eshell-read-hosts-file):
5096 Skip comment lines. (Bug#10549)
5097
d7128bb1
ML
5098 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5099
d1a5c3b4
JB
51002012-01-23 Juanma Barranquero <lekktu@gmail.com>
5101
2724d9c7
JB
5102 * subr.el (display-delayed-warnings): Doc fix.
5103 (collapse-delayed-warnings): New function to collapse identical
5104 adjacent warnings.
5105 (delayed-warnings-hook): Add it.
d1a5c3b4 5106
a5509865
MA
51072012-01-22 Michael Albinus <michael.albinus@gmx.de>
5108
5109 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5110
a5509865
MA
5111 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5112 (tramp-default-user-alist): Don't add "pscp".
5113 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5114 property "login-as", if set. (Bug#10530)
5115
cc6d5805
MA
51162012-01-21 Michael Albinus <michael.albinus@gmx.de>
5117
5118 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5119 "plink1" and "psftp". (Bug#10530)
5120
51212012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5122
5123 * international/mule-cmds.el (prefer-coding-system): Show a
5124 warning message if the default value of file-name-coding-system
5125 was not changed.
5126
f0960428
JC
51272012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5128
cb882333
JB
5129 * windmove.el (windmove-reference-loc):
5130 Fix windmove-reference-loc miscalculation.
f0960428 5131
dd6f2a63
JB
51322012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5133
5134 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5135 default unit.
5136
7b447e9b
GM
51372012-01-21 Glenn Morris <rgm@gnu.org>
5138
117a9ea1
GM
5139 * international/mule.el (auto-coding-alist): Add .tbz.
5140
7b447e9b
GM
5141 * files.el (local-enable-local-variables): Doc fix.
5142 (inhibit-local-variables-regexps): Rename from
5143 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5144 Doc fix. Add some extensions from auto-coding-alist.
5145 (inhibit-local-variables-suffixes):
5146 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5147 (inhibit-local-variables-p):
5148 New function, extracted from set-auto-mode-1.
5149 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5150 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5151 (hack-local-variables): Doc fix. Make the mode-only case
5152 respect enable-local-variables and friends.
5153 Respect inhibit-local-variables-regexps for file-locals, but
5154 not for directory-locals.
5155 (set-visited-file-name):
5156 Take account of inhibit-local-variables-regexps.
5157 Whether it applies may change as the file name is changed.
5158 * jka-cmpr-hook.el (jka-compr-install):
5159 * jka-compr.el (jka-compr-uninstall):
5160 Update for inhibit-first-line-modes-suffixes name change.
5161
dd6e3cdd
MR
51622012-01-20 Martin Rudalics <rudalics@gmx.at>
5163
5164 * help-macro.el (make-help-screen): Temporarily restore original
5165 binding for minor-mode-map-alist (Bug#10454).
5166
0d0deb38
JD
51672012-01-19 Julien Danjou <julien@danjou.info>
5168
5169 * color.el (color-name-to-rgb): Use the white color to find the max
5170 color component value and return correctly computed values.
5171 (color-name-to-rgb): Add missing float conversion for max value.
5172
34a02f46
MR
51732012-01-19 Martin Rudalics <rudalics@gmx.at>
5174
5175 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5176 special state value for window-persistent-parameters.
5177 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5178 (window--state-put-2): Reset all window parameters to nil before
5179 assigning values of persistent parameters.
5180
606c44c4
AM
51812012-01-18 Alan Mackenzie <acm@muc.de>
5182
5183 Eliminate sluggishness and hangs in fontification of "semicolon
5184 deserts".
5185
cb882333
JB
5186 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5187 Change value 10000 -> 3000.
606c44c4
AM
5188 (c-state-safe-place): Reformulate so it doesn't stack up an
5189 infinite number of wrong entries in c-state-nonlit-pos-cache.
5190 (c-determine-limit-get-base, c-determine-limit): New functions to
5191 determine backward search limits disregarding literals.
5192 (c-find-decl-spots): Amend commenting.
5193 (c-cheap-inside-bracelist-p): New function which detects "={".
5194
5195 * progmodes/cc-fonts.el
5196 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5197 backward search.
5198 (c-font-lock-declarations): Fix an occurrence of point being
5199 undefined. Check additionally for point being in a bracelist or
5200 near a macro invocation without a semicolon so as to avoid a
5201 fruitless time consuming search for a declarator. Give a more
5202 precise search limit for declarators using the new
5203 c-determine-limit.
5204
f3860cea
GM
52052012-01-18 Glenn Morris <rgm@gnu.org>
5206
5207 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5208 (set-auto-mode): Doc fixes.
5209
1db03b16
GM
52102012-01-17 Glenn Morris <rgm@gnu.org>
5211
0e6038be
GM
5212 * isearch.el (search-nonincremental-instead): Fix doc typo.
5213
1db03b16
GM
5214 * dired.el (dired-insert-directory): Handle newlines in directory name.
5215 (dired-build-subdir-alist): Unescape newlines in directory name.
5216
4cb0aa75
MA
52172012-01-17 Michael Albinus <michael.albinus@gmx.de>
5218
5219 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5220 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5221 (tramp-action-terminal): Use it. (Bug#10530)
5222
1d00653d
SM
52232012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5226
6a6ee00d
MR
52272012-01-16 Martin Rudalics <rudalics@gmx.at>
5228
5229 * window.el (window-state-ignored-parameters): Remove variable.
5230 (window--state-get-1): Rename argument MARKERS to IGNORE.
5231 Handle persistent window parameters. Make copy of clone-of
5232 parameter only if requested. (Bug#10348)
5233 (window--state-put-2): Install a window parameter only if it has
5234 a non-nil value or an existing parameter shall be overwritten.
5235
97912def
MA
52362012-01-15 Michael Albinus <michael.albinus@gmx.de>
5237
5238 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5239
688070a5
EZ
52402012-01-14 Eli Zaretskii <eliz@gnu.org>
5241
5242 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5243 don't pass the (nil) value of `upnode' to string-match.
5244
301afadc
CY
52452012-01-14 Chong Yidong <cyd@gnu.org>
5246
5247 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5248 Fix values recognized by the cursorBlink resource.
301afadc 5249
9e5788aa
PE
52502012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5251
5252 * epg.el (epg--make-temp-file): Avoid permission race condition
5253 when running on old Emacs versions (bug#10403).
5254
3cdb7f5a
GM
52552012-01-14 Glenn Morris <rgm@gnu.org>
5256
5257 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5258
8c82b1b4
AM
52592012-01-13 Alan Mackenzie <acm@muc.de>
5260
5261 Fix filling for when filladapt mode is enabled.
5262
5263 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5264 c-mask-paragraph, pass in `fill-paragraph' rather than
5265 `fill-region-as-paragraph'. (This is a reversion of a previous
5266 change.)
eb864a71
LM
5267 * progmodes/cc-mode.el (c-basic-common-init):
5268 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5269
e517eda4
GM
52702012-01-13 Glenn Morris <rgm@gnu.org>
5271
1498536e
GM
5272 * dired.el (dired-switches-escape-p): New function.
5273 (dired-insert-directory): Use dired-switches-escape-p.
5274 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5275
e517eda4
GM
5276 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5277
328f984d
GM
52782012-01-12 Glenn Morris <rgm@gnu.org>
5279
5280 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5281 changes in adaptive-fill-regexp. (Bug#10276)
5282
2cc769a8
AM
52832012-01-11 Alan Mackenzie <acm@muc.de>
5284
5285 Fix Emacs bug #10463 - put `widen's around the critical spots.
5286
1d00653d 5287 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5288 widen around each invocation of c-state-pp-to-literal. Remove an
5289 unused let variable.
5290
e52c37fa
GM
52912012-01-11 Glenn Morris <rgm@gnu.org>
5292
5293 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5294 Doc fix.
e52c37fa 5295
96f8741e
CY
52962012-01-10 Chong Yidong <cyd@gnu.org>
5297
1d00653d
SM
5298 * net/network-stream.el (network-stream-open-starttls):
5299 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5300 response to the capability command.
5301
b09a806e
GM
53022012-01-10 Glenn Morris <rgm@gnu.org>
5303
5304 * mail/unrmail.el (unrmail): Tweak previous change.
5305
7655cb66
CY
53062012-01-09 Chong Yidong <cyd@gnu.org>
5307
5308 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5309
9d5a8f0b
AM
53102012-01-08 Alan Mackenzie <acm@muc.de>
5311
5312 Optimise font locking in long enum definitions.
5313
5314 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5315 arm to a cond form to handle enums.
5316 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5317 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5318
9a0115ab 53192012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5320
5321 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5322 (Bug#10401)
6bb72cbd 5323
f186bb95
LMI
53242012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5325
29232a68
LMI
5326 * faces.el (set-face-attribute): Clarify the meaning of the nil
5327 frame (bug#10294).
5328
4e5d086d
LMI
5329 * subr.el (with-selected-frame): Mention that the selected frame
5330 is restored (bug#9980).
5331
8e66aebe
LMI
5332 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5333 (bug#9759).
5334
cd394be1 5335 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5336 (password-read): Don't autoload unused function.
5337
adf4e762
JB
53382012-01-07 Juanma Barranquero <lekktu@gmail.com>
5339
5340 * progmodes/which-func.el (which-func-mode): Turn into a
5341 non-interactive function and mark as obsolete (bug#10428).
5342
89bd9ccd
CY
53432012-01-06 Chong Yidong <cyd@gnu.org>
5344
5345 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5346 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5347 functions, along with 1 and -1.
5348
4afee9d5
EZ
53492012-01-06 Eli Zaretskii <eliz@gnu.org>
5350
5351 * time.el (display-time-load-average)
5352 (display-time-default-load-average): Doc fixes. See the thread
5353 starting at
5354 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5355 for the details.
5356
536aea70
GM
53572012-01-06 Glenn Morris <rgm@gnu.org>
5358
665ae865
GM
5359 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5360 has no messages. (Bug#10377)
5361
c869783d
GM
5362 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5363 than Info-edit. (Bug#10385)
5364
2bb4227e
GM
5365 * time.el (display-time-load-average, display-time-next-load-average):
5366 Doc fixes.
5367
7d5944b9
GM
5368 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5369 local setting of buffer-read-only to the input buffer. (Bug#10419)
5370
536aea70
GM
5371 * calendar/calendar.el (calendar-mode):
5372 Locally set scroll-margin to 0. (Bug#10379)
5373
7dccca16
UM
53742012-01-06 Ulrich Mueller <ulm@gentoo.org>
5375
5376 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5377
afbb7930
GM
53782012-01-05 Glenn Morris <rgm@gnu.org>
5379
5380 * eshell/em-unix.el (diff-no-select): Autoload it.
5381 (eshell/diff): Use diff-no-select. (Bug#10420)
5382
04482335
CY
53832012-01-05 Chong Yidong <cyd@gnu.org>
5384
7baca3bc
CY
5385 * shell.el (shell-dynamic-complete-functions): Revert last change.
5386 (shell-command-completion-function): New function.
5387 (shell-completion-vars): Use it to implement
5388 shell-completion-execonly (Bug#10417).
5389
04482335
CY
5390 * custom.el (enable-theme): Don't set custom-safe-themes.
5391
1d00653d
SM
5392 * cus-theme.el (custom-theme-merge-theme):
5393 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5394
bb5aa5d6
MM
53952012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5396
5397 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5398 first prompt in `sql-interacive-mode'.
5399 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5400 keywords.
6df6ae42 5401 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5402 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5403 context of original buffer. Invoke `sql-login-hook'.
5404
a7183d7c
EZ
54052012-01-04 Eli Zaretskii <eliz@gnu.org>
5406
5407 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5408 letters in cite-prefix.
5409
a1eacd1e
LMI
54102012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5411
5412 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5413
787cdb34
CY
54142012-01-03 Chong Yidong <cyd@gnu.org>
5415
1d00653d
SM
5416 * shell.el (shell-dynamic-complete-functions):
5417 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5418 comint-filename-completion first (Bug#10417).
5419
30710442
RS
54202012-01-02 Richard Stallman <rms@gnu.org>
5421
5422 * battery.el (battery-status-function):
5423 Detect when to use battery-yeeloong-sysfs.
5424 (battery-echo-area-format): Add string for Yeeloong.
5425 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5426 (battery-yeeloong-sysfs): New function.
5427
f75bfc33
CY
54282012-01-02 Chong Yidong <cyd@gnu.org>
5429
5430 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5431 (dirtrack): Merge code for handling relative filenames in prompt
5432 from shell-dir-cookie-watcher.
5433 (dirtrack-debug-message): New arg to avoid excess format calls.
5434
5435 * shell.el (shell-dir-cookie-re): Variable deleted.
5436 (shell-dir-cookie-watcher): Function deleted.
5437 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5438 with dirtrack-mode.
5439
651e947e
EZ
54402012-01-01 Eli Zaretskii <eliz@gnu.org>
5441
1d00653d
SM
5442 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5443 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5444 libgnutls-26.dll.
5445
94d4c7dc
AS
54462011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5447
5448 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5449
8d43f3cd
EZ
54502011-12-31 Eli Zaretskii <eliz@gnu.org>
5451
5452 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5453 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5454
98c8795a
MA
54552011-12-29 Michael Albinus <michael.albinus@gmx.de>
5456
5457 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5458 also for alternative shells.
5459 (tramp-open-connection-setup-interactive-shell): Check, whether
5460 the shell is a busybox.
5461 (tramp-send-command): Don't suppress multiple prompts for
5462 busyboxes, it hurts.
5463
51281b32
CY
54642011-12-28 Chong Yidong <cyd@gnu.org>
5465
5466 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5467 (gdb-get-source-file): Move mode line update to
5468 gdb-get-source-file (Bug#10087).
5469
2170cb53
CY
54702011-12-25 Chong Yidong <cyd@gnu.org>
5471
5472 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5473 gud-gdb-marker-filter without taking it as an argument.
5474 (gud-gdb-run-command-fetch-lines): Caller changed.
5475 (gud-gdb-completion-function): New variable.
5476 (gud-gdb-completion-at-point): Use it.
5477 (gud-gdb-completions-1): Split from gud-gdb-completions.
5478
5479 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5480 function as separate arguments.
5481 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5482 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5483 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5484 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5485 (gdb-stopped, def-gdb-auto-update-trigger)
5486 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5487 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5488 Callers changed.
2170cb53
CY
5489 (gud-gdbmi-completions): New function.
5490 (gdb): Use it for generating the completion table.
5491
be8b11bb
AM
54922011-12-24 Alan Mackenzie <acm@muc.de>
5493
5494 Introduce a mechanism to widen the region used in context font
1d00653d 5495 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5496
1d00653d
SM
5497 * progmodes/cc-langs.el (c-before-font-lock-functions):
5498 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5499 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5500 functions to be run just before context (etc.) font locking.
5501
5502 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5503 New, functionality extracted from
be8b11bb 5504 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5505 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5506 (c-after-change): Set c-in-after-change-fontification.
5507 (c-set-fl-decl-start): Rejig its interface, so it can be called
5508 from both after-change and context fontifying.
b81d40f0
JB
5509 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5510 New functions.
5511 (c-standard-font-lock-fontify-region-function): New variable.
5512 (c-font-lock-fontify-region): New function.
be8b11bb 5513
341cf6ac
JL
55142011-12-24 Juri Linkov <juri@jurta.org>
5515
5516 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5517 (Bug#10348)
5518
bffcee0a
MA
55192011-12-23 Michael Albinus <michael.albinus@gmx.de>
5520
5521 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5522 existence of source file. (Bug#10325)
5523
cb5e207c
AM
55242011-12-23 Alan Mackenzie <acm@muc.de>
5525
5526 Fix unstable fontification inside templates.
5527
b81d40f0
JB
5528 * progmodes/cc-langs.el (c-before-font-lock-functions):
5529 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5530 additionally has c-set-fl-decl-start. The other languages (apart
5531 from AWK) have that as a single entry.
5532
b81d40f0
JB
5533 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5534 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5535 c-set-fl-decl-start.
5536
b81d40f0
JB
5537 * progmodes/cc-mode.el (c-common-init, c-after-change):
5538 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5539 (c-set-fl-decl-start): New function, extracted from
5540 c-font-lock-enclosing-decls and enhanced.
5541
60ff536c
JB
55422011-12-23 Juanma Barranquero <lekktu@gmail.com>
5543
5544 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5545
1c4757d6
JL
55462011-12-22 Juri Linkov <juri@jurta.org>
5547
5548 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5549
d031f2c7
CY
55502011-12-22 Chong Yidong <cyd@gnu.org>
5551
5552 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5553
bace743a
DA
55542011-12-21 Drew Adams <drew.adams@oracle.com>
5555
5556 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5557
728a1f2b
JC
55582011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5559
5560 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5561
0d373f73
TZ
55622011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5563
fec0aaa4
TZ
5564 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5565 highlighting and support. Fix up comments for capitalization.
5566 (cfengine-mode-debug): New var.
5567 (cfengine3-mode): Change the modeline indicator to "CFE3".
5568 (cfengine3-font-lock-keywords): Improve defun highlighting.
5569 (cfengine2-actions): Rename from `cfengine-actions'.
5570 (cfengine2-font-lock-keywords): Rename from
5571 `cfengine-font-lock-keywords'.
5572 (cfengine2-imenu-expression): Rename from
5573 `cfengine-imenu-expression'.
5574 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5575 (cfengine2-beginning-of-defun): Rename from
5576 `cfengine-beginning-of-defun'.
5577 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5578 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5579 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5580 modeline indicator to "CFE2".
5581 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5582 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5583
bc86f573
CY
55842011-12-21 Chong Yidong <cyd@gnu.org>
5585
5586 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5587 filename argument.
5588
d45ba96b
MR
55892011-12-20 Martin Rudalics <rudalics@gmx.at>
5590
5591 * window.el (window-normalize-buffer-to-display): Remove.
5592 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5593
a6198c90
CY
55942011-12-19 Chong Yidong <cyd@gnu.org>
5595
5596 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5597 Don't signal an error in a predicate function; return non-nil.
5598 (vc-dir-mark-file): Move the error here.
5599 (vc-dir-mark-unmark): If acting on the region, keep going if one
5600 of the entries cannot be marked/unmarked.
5601 (vc-dir-mark-all-files): If current entry is a directory, mark
5602 only child files, as documented.
5603
34c5fb55
VB
56042011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5605
5606 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5607 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5608 addition.
5609
c803b2b7
JD
56102011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5611
5612 * term/ns-win.el (ns-get-selection-internal)
5613 (ns-store-selection-internal): Declare.
1154d12e
JB
5614 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5615 Declare as obsolete.
5616 (ns-get-pasteboard, ns-paste-secondary):
5617 Use ns-get-selection-internal.
5618 (ns-set-pasteboard, ns-copy-including-secondary):
5619 Use ns-store-selection-internal.
c803b2b7 5620
9cff91f8 56212011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5622
5623 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5624 (vc-deduce-fileset): Doc fix.
99a289d9 5625
f16c898a
AS
56262011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5627
5628 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5629
763237c4
SS
56302011-12-13 Sam Steingold <sds@gnu.org>
5631
5632 * man.el (Man-getpage-in-background): When running under a
5633 window-system, ignore $MANWIDTH and $COLUMNS.
5634
5fc1c122
KH
56352011-12-15 Kenichi Handa <handa@m17n.org>
5636
5637 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5638 (setup-ethiopic-environment-internal): Comment out key-binding for
5639 ethio-toggle-punctuation.
5640
13d49cbb
AM
56412011-12-13 Alan Mackenzie <acm@muc.de>
5642
898169a2
AM
5643 Add the switch statement to AWK Mode.
5644
7a71b18d 5645 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5646 "default" to the keywords regexp.
5647
7a71b18d 5648 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5649 expression as the rest.
1d00653d
SM
5650 (c-nonlabel-token-key): Allow string literals for AWK.
5651 Refactor for the other modes.
898169a2 5652
13d49cbb 5653 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5654 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5655 routines. Limit backward searching in c-font-lock-enclosing.decl.
5656
5657 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5658 pp-state and literal type in addition to the limits.
1d00653d 5659 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5660 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5661 (c-slow-in-literal, c-fast-in-literal): Remove.
5662 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5663
5664 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5665 being in a literal. Add a limit for backward searching.
5666
5667 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5668 c-slow-in-literal.
5669
15e0efc7
SM
56702011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5671
5672 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5673
454592a6
MR
56742011-12-13 Martin Rudalics <rudalics@gmx.at>
5675
5676 * window.el (delete-other-windows): Use correct frame in call to
5677 window-with-parameter.
5678
87393f26
DP
56792011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5680
5681 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5682 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5683 (makefile-gmake-statements, makefile-makepp-statements):
5684 Use it and add new makepp keywords.
5685 (makefile-makepp-font-lock-keywords): Add new patterns.
5686 (makefile-match-function-end): Match new [...] and [[...]].
5687
11636b22
JB
56882011-12-11 Juanma Barranquero <lekktu@gmail.com>
5689
5690 * ses.el (ses-call-printer-return, ses-cell-property-get)
5691 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5692 (ses-create-cell-variable, ses-reset-header-string)
5693 (ses-cell-set-formula, ses-repair-cell-reference-all)
5694 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5695 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5696 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5697 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5698 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5699 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5700 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5701 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5702 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5703 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5704 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5705 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5706
cf018193
VB
57072011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5708
5709 * ses.el: The overall change is to add cell renaming, that is
5710 setting fancy names for cell symbols other than name matching
5711 "\\`[A-Z]+[0-9]+\\'" regexp .
5712 (ses-create-cell-variable): New defun.
5713 (ses-relocate-formula): Relocate formulas only for cells the
5714 symbols of which are not renamed, i.e. symbols whose names do not
5715 match regexp "\\`[A-Z]+[0-9]+\\'".
5716 (ses-relocate-all): Relocate values only for cells the symbols of
5717 which are not renamed.
5718 (ses-load): Create cells variables as the (ses-cell ...) are read,
5719 in order to check row col consistency with cell symbol name only
5720 for cells that are not renamed.
5721 (ses-replace-name-in-formula): New defun.
5722 (ses-rename-cell): New defun.
5723
ee957461
CY
57242011-12-11 Chong Yidong <cyd@gnu.org>
5725
5726 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5727 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5728
9a9e9ef0
MR
57292011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5730
5731 * window.el (other-window): Fix docstring.
5732
92a8eba5
EZ
57332011-12-10 Eli Zaretskii <eliz@gnu.org>
5734
5735 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5736 `from' or `to' address before taking its substring.
5737 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5738 encoded name is chopped in the middle of the encoded string, and
5739 thus displayed encoded.
5740
e152e577
JB
57412011-12-10 Juanma Barranquero <lekktu@gmail.com>
5742
5743 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5744
e5d84bfe
EZ
57452011-12-10 Eli Zaretskii <eliz@gnu.org>
5746
5747 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5748 to use texinfo-update-node and commands that call it if the
5749 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5750 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5751 (texinfo-all-menus-update, texinfo-master-menu)
5752 (texinfo-update-node, texinfo-every-node-update)
5753 (texinfo-multiple-files-update): Doc fix. Warn against updating
5754 all the @node lines.
5755 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5756 argument is numeric. Explain better in the doc string what the
5757 function really does.
5758 (texinfo-insert-master-menu-list): Improve the error message
5759 displayed if there's no menu in the Top node.
5760 (Bug#2975) See also this thread:
e5d84bfe
EZ
5761 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5762
1d84e9bb
MG
57632011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5764
5765 * speedbar.el (speedbar-supported-extension-expressions):
5766 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5767
382c953b
JB
57682011-12-09 Juanma Barranquero <lekktu@gmail.com>
5769
5770 * printing.el (pr-mode-alist):
5771 * simple.el (filter-buffer-substring-functions)
5772 (completion-list-insert-choice-function):
5773 * window.el (window-with-parameter, window-atom-root)
5774 (window-sides-slots, window-size-fixed, window-min-delta)
5775 (window-max-delta, window--resize-mini-window)
5776 (window--resize-child-windows-normal, window-tree)
5777 (delete-other-windows, quit-window, split-window)
5778 (display-buffer-record-window, special-display-buffer-names)
5779 (special-display-regexps, special-display-popup-frame)
5780 (same-window-p, split-window-sensibly)
5781 (display-buffer-overriding-action, display-buffer-alist)
5782 (display-buffer-base-action, display-buffer, switch-to-buffer)
5783 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5784 (fit-window-to-buffer, recenter-positions)
5785 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5786 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5787 and remove unneeded backslashes in docstrings.
5788
39c9faef
SM
57892011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5790
98449af8
SM
5791 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5792
39c9faef
SM
5793 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5794 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5795 end in ".mk".
5796 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5797 when reading the makefile (bug#10116).
5798
86ed9fdc
SM
57992011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5800
5801 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5802 (bug#10116).
5803
5580f89d
GM
58042011-12-06 Glenn Morris <rgm@gnu.org>
5805
5806 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5807
28d3917c
CY
58082011-12-06 Chong Yidong <cyd@gnu.org>
5809
5810 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5811
a98edce9
JB
58122011-12-06 Juanma Barranquero <lekktu@gmail.com>
5813
5814 * textmodes/table.el (table-shorten-cell): Fix typo.
5815
e65adfac
CG
58162011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5817
5818 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5819
71cc0b74
EZ
58202011-12-05 Eli Zaretskii <eliz@gnu.org>
5821
5822 * descr-text.el (describe-char): Fix display of strong
5823 right-to-left characters and directional embeddings and overrides.
5824
5825 * simple.el (what-cursor-position): Fix display of codepoints of
5826 strong right-to-left characters.
5827
315bc30d
CY
58282011-12-05 Chong Yidong <cyd@gnu.org>
5829
5830 * faces.el (read-color): Doc fix.
5831
58a70b94
GM
58322011-12-05 Glenn Morris <rgm@gnu.org>
5833
5834 * align.el (align--set-marker): Add doc-string.
5835 Don't try to move something that is not a marker. (Bug#10216)
5836
5158face
GM
58372011-12-04 Glenn Morris <rgm@gnu.org>
5838
5839 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5840 overly zealous deletion of trailing whitespace.
5841
520fca41
JB
58422011-12-04 Juanma Barranquero <lekktu@gmail.com>
5843
5844 * server.el (server-delete-client): On Windows, do not try to delete
5845 the only terminal.
5846 (server-process-filter): On Windows, treat requests for a tty frame as
5847 if they were for a GUI frame if the running server is in GUI mode.
5848
5e605a2e
GM
58492011-12-03 Glenn Morris <rgm@gnu.org>
5850
5851 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5852
5c3fe83f
SM
58532011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5854
6f5e57e7
SM
5855 * electric.el: Streamline electric-indent's hook.
5856 (electric-indent-chars): Revert to simple list.
5857 (electric-indent-functions): New var.
5858 (electric-indent-post-self-insert-function): Use it.
5859
5c3fe83f
SM
5860 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5861 there's no inferior buffer (bug#10196).
5862 (prolog-consult-compile): Don't use toggle-read-only.
5863
6bdac736
MA
58642011-12-02 Michael Albinus <michael.albinus@gmx.de>
5865
5866 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5867 interrupt. (Bug#10187)
5868
6131ba7f
SM
58692011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5870
99c79fee
SM
5871 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5872 (bug#9160).
5873
6131ba7f
SM
5874 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5875 (bug#10191).
5876
cb0a02ea
JL
58772011-12-02 Juri Linkov <juri@jurta.org>
5878
5879 * info.el (Info-search): Display "end of manual" when Isearch
5880 reaches the end of single-file Info manual. (Bug#9918)
5881
66e0570c
EZ
58822011-12-02 Eli Zaretskii <eliz@gnu.org>
5883
5884 * isearch.el (isearch-message-prefix): Run the input method part
5885 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5886
02b16839
JL
58872011-12-02 Juri Linkov <juri@jurta.org>
5888
5889 * isearch.el (isearch-occur): Use `word-search-regexp' for
5890 `isearch-word'.
5891 (isearch-search-and-update): Add condition for `isearch-word' and
5892 call `word-search-regexp'. (Bug#10145)
5893
0b950688
GM
58942011-12-01 Glenn Morris <rgm@gnu.org>
5895
5896 * eshell/em-hist.el (eshell-hist-initialize):
5897 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5898 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5899
9505c3c7
SM
59002011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5903
1bbe96b2 59042011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5905
a1beca85
SM
5906 * progmodes/verilog-mode.el (verilog-pretty-expr):
5907 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5908 verilog, such as += *= and the like.
5909 (verilog-assignment-operator-re): Regular expression to find the
5910 assigment operator in a verilog assignment.
5911 (verilog-assignment-operation-re): Regular expression to find an
5912 assignment statement for pretty-expr.
5913 (verilog-in-attribute-p): Query returns true if point is in an
5914 attribute context; used to skip these for expression line up from
5915 pretty-expr.
5916 (verilog-in-parameter-p): Query returns true if point is in an
5917 parameter definition context; used to skip these for expression
5918 line up from pretty-expr.
5919 (verilog-in-parenthesis-p): Query returns true if point is in a
5920 parenthetical expression, specifically ( ) but not [ ] or { };
5921 used by pretty-expr.
5922 (verilog-just-one-space): If there is no space, don't add one.
5923 (verilog-get-lineup-indent-2): Specifically skip just attribute
5924 contexts for expression lineup, rather than skipping all
5925 parenthetical expressions.
5926 (verilog-calculate-indent): Fix comment, and fix indent.
5927 (verilog-do-indent): Indent declarations in lists (suggested by
5928 Joachim Lechner).
5929 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5930 skeleton items.
5931 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5932 by Alain Mellan).
5933
1bbe96b2 59342011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5935
5936 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5937 parameters with embedded comments. Reported by Ray Stevens.
5938 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5939 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5940 Reported by Tim Holt.
5941 (verilog-auto): Fix AUTOing a upper module then AUTOing module
5942 instantiated by upper module causing wrong expansion until AUTOed a
5943 second time. Reported by K C Buckenmaier.
5944 (verilog-diff-auto): Fix showing .* as a difference when
5945 `verilog-auto-star-save' off. Reported by Dan Dever.
5946 (verilog-auto-reset, verilog-read-always-signals)
5947 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
5948 temporary signals in reset list if
5949 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
5950 style to each signal's assignment type, bug381.
5951 Reported by Thomas Esposito.
6288f0ca
WS
5952 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
5953 (verilog-uvm-statement-re): Support UVM indentation and
5954 highlighting, with old OVM keywords only.
a1beca85 5955 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
5956 Support AUTOTIEOFF creating non-wire data types.
5957 Suggested by Jonathan Greenlaw.
6288f0ca
WS
5958 (verilog-auto-insert-lisp, verilog-delete-to-paren)
5959 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
5960 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
5961 (verilog-read-sub-decls, verilog-read-sub-decls-line):
5962 Fix mismatching parenthesis inside commented out code when deleting
382c953b 5963 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
5964 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
5965 non-numeric vector width. Reported by Alex Reed.
5966 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 5967 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
5968 (verilog-auto-delete-trailing-whitespace):
5969 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
5970 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
5971 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
5972 Fix verilog-scan-cache corruption when running user AUTO expansion
5973 hooks that call indentation routines.
5974 (verilog-simplify-range-expression): Fix typo ignoring lower case
5975 identifiers.
5976 (verilog-delete-auto): Fix delete-autos to also remove user created
5977 automatics, as long as they start with AUTO.
5978 (verilog-batch-diff-auto, verilog-diff-auto)
5979 (verilog-diff-function): Add `verilog-diff-auto' and bind to
5980 "C-c?" to report differences in AUTO expansion, ignoring spaces.
5981 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
5982 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
5983 (verilog-re-search-forward-quick, verilog-syntax-ppss):
5984 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
5985 is disabled and its cache will get corrupt, causing AUTOS not to
5986 expand. Instead use only -quick functions.
5987 (verilog-scan-region): Fix scanning over escaped quotes.
5988 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
5989 (verilog-re-search-backward-quick)
5990 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
5991 related functions now ignore strings, to fix misparsing of strings
5992 with magic comments embedded in them.
a1beca85
SM
5993 (verilog-read-auto-template):
5994 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
5995 Reported by Brad Dobbie.
5996 (verilog-read-auto-template):
5997 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 5998 Reported by Brad Dobbie.
6288f0ca
WS
5999 (verilog-auto-inst, verilog-auto-inst-param)
6000 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6001 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6002 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6003 debugging templates without merge conflicts, bug357.
6004 Reported by Brad Dobbie.
6005 (verilog-read-auto-template):
6006 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6007 Reported by Brad Dobbie.
6008 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6009 abbrevs so user won't be asked to save.
6010 (verilog-read-auto-lisp-present): Fix to start at beginning of
6011 buffer in case called outside of verilog-auto.
6012 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6013 to "X-2". Reported by Matthew Myers.
6014 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6015 all inputs from module templates. Reported by Leith Johnson.
6016 (verilog-module-inside-filename-p): Fix locating programs as with
6017 modules.
6018 (verilog-auto-inst-port): Fix vl-width expressions when using
6019 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6020 (verilog-decls-get-regs, verilog-decls-get-signals,
6021 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6022 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6023 verilog-read-decls): Combine reg and wire structures into one var
6024 structure to represent SystemVerilog concepts.
6025 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6026 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6027 (verilog-auto-wire-type, verilog-insert-definition):
6028 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6029 SystemVerilog "logic" keyword instead of "wire"/"reg".
6030 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6031 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6032 ifdef or generate if so there's not a driver conflict).
6033 Reported by Matthew Myers.
6034 (verilog-auto-declare-nettype, verilog-insert-definition):
6035 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6036 `default_nettype none. Reported by Julian Gorfajn.
6037 (verilog-read-always-signals-recurse, verilog-read-decls)
6038 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6039 malformed end statement, bug325. Reported by Joshua Wise and
6040 Andrew Drake.
6041 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6042 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6043 when expanding .* in interfaces, bug320.
6044 Reported by Pierre-David Pfister.
6288f0ca 6045 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6046 name and open parenthesis, bug317.
6047 Reported by Pierre-David Pfister.
6288f0ca
WS
6048 (verilog-simplify-range-expression): Fix simplification of
6049 multiplications inside AUTOWIRE connections, bug303.
6050 (verilog-auto-inst-port): Support parameter expansion in
6051 multidimensional arrays.
6052 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6053 after "assert property". Reported by Julian Gorfajn.
6054 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6055 with multiplication, bug303.
6056 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6057 Reported by Jan Frode Lonnum.
6058
1bbe96b2
GM
60592011-11-30 Juanma Barranquero <lekktu@gmail.com>
6060
6061 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6062 (hfy-shell-file-name, hfy-shell):
6063 * international/fontset.el (x-decompose-font-name): Fix typos.
6064
60652011-11-29 Ken Brown <kbrown@cornell.edu>
6066
6067 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6068 (gdb-version): Remove defvar.
6069 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6070 (gdb-gud-context-command, gdb-non-stop-handler)
6071 (gdb-current-context-command, gdb-stopped): Use it.
6072 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6073 (gdb-non-stop-handler): Don't enable pretty-printing here.
6074 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6075 non-stop mode. Use the following.
6076 (gdb-check-target-async): New defun.
6077 (gud-watch, gdb-stopped): Fix whitespace.
6078 (gdb-get-source-file): Don't try to display the source file if
6079 `gdb-main-file' is nil.
6080
60812011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6082
6083 * align.el: Try to generate fewer markers (bug#10047).
6084 (align--set-marker): New macro.
6085 (align-region): Use it.
6086
c935221f
SM
60872011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6090
e70b5064
CY
60912011-11-29 Chong Yidong <cyd@gnu.org>
6092
6093 * indent.el (indent-for-tab-command, indent-according-to-mode):
6094 Doc fix.
6095 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6096
f3af92b7
MA
60972011-11-29 Michael Albinus <michael.albinus@gmx.de>
6098
6099 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6100 aware of remote file names. (Bug#10124)
6101
ed472be9
CY
61022011-11-29 Chong Yidong <cyd@gnu.org>
6103
6104 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6105
24510c22
SM
61062011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6107
6108 * files.el (find-file): Don't use force-same-window (bug#10144).
6109 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6110 use pop-to-buffer if the selected window can't be used.
6111 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6112
c60c3703
EZ
61132011-11-28 Eli Zaretskii <eliz@gnu.org>
6114
6115 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6116 special-mode-map.
6117
e95def75
CY
61182011-11-28 Chong Yidong <cyd@gnu.org>
6119
6120 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6121
c3f1c606
NR
61222011-11-27 Nick Roberts <nickrob@snap.net.nz>
6123
6124 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6125 gdb-get-source-file-list on gdb-create-source-file-list.
6126
00db469c
EZ
61272011-11-26 Eli Zaretskii <eliz@gnu.org>
6128
6129 * whitespace.el (whitespace-newline): Use a different foreground
6130 color for 16-color light-background displays.
6131
4ad3bc2a
CY
61322011-11-24 Chong Yidong <cyd@gnu.org>
6133
6134 * window.el (display-buffer--special-action): Doc fix.
6135
e9fce1ac
JB
61362011-11-25 Juanma Barranquero <lekktu@gmail.com>
6137
6138 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6139 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6140 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6141 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6142 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6143 (avl-tree-stack-first):
6144 * emacs-lisp/cconv.el (cconv--analyse-use):
6145 * net/gnutls.el (gnutls-negotiate): Fix typos.
6146
cb825e5d
GM
61472011-11-24 Glenn Morris <rgm@gnu.org>
6148
3adbe224
GM
6149 * lpr.el (lpr-windows-system, lpr-lp-system):
6150 * mail/binhex.el (binhex-begin-line):
6151 * progmodes/grep.el (grep-history, grep-find-history):
6152 * textmodes/flyspell.el:
6153 * vc/pcvs-defs.el (cvs-global-menu):
6154 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6155 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6156 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6157
321decc8
GM
6158 * net/tls.el: Fix case of "GnuTLS".
6159
420b63ad
GM
6160 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6161
cb825e5d
GM
6162 * version.el (emacs-build-system): Give it a doc-string.
6163
a0649f08
JL
61642011-11-24 Juri Linkov <juri@jurta.org>
6165
6166 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6167
c0bc0fd4
GM
61682011-11-24 Glenn Morris <rgm@gnu.org>
6169
6170 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6171 if called on a non-mime message just toggle the headers. (Bug#8006)
6172
20db1522
JB
61732011-11-24 Juanma Barranquero <lekktu@gmail.com>
6174
6175 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6176 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6177 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6178 (allout-rebullet-heading, allout-open-sibtopic)
6179 (allout-toggle-current-subtree-encryption)
6180 (allout-toggle-subtree-encryption, allout-encrypt-string)
6181 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6182 (allout-distinctive-bullets-string, allout-auto-activation):
6183 * window.el (window-normalize-buffer-to-display):
6184 * progmodes/verilog-mode.el (verilog-batch-indent):
6185 * textmodes/bibtex.el (bibtex-field-braces-opt)
6186 (bibtex-field-strings-opt):
6187 * vc/cvs-status.el (cvs-tree-merge):
6188 Fix typos.
6189
7262a87c
MA
61902011-11-23 Michael Albinus <michael.albinus@gmx.de>
6191
6192 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6193 `non-essential' to t, in order to avoid remote connections.
6194
283430a1
EZ
61952011-11-23 Eli Zaretskii <eliz@gnu.org>
6196
a1beca85
SM
6197 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6198 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6199 case-insensitively.
6200
d2992a38
ML
62012011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6202
6203 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6204
50419064
GM
62052011-11-23 Glenn Morris <rgm@gnu.org>
6206
da94eca1
GM
6207 * paths.el (rmail-file-name): Reformat the doc-string so that it
6208 is picked up.
6209
9aac4de2
GM
6210 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6211 (rmail-auto-file): Ignore case in the "special" field names,
6212 as mail-fetch-field does for all others.
6213
8038d2d2
GM
6214 * mail/rmail.el (rmail-forward):
6215 * mail/rmailkwd.el (rmail-set-label):
6216 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6217 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6218
f3fe222a
GM
6219 * mail/rmail.el (rmail-current-message): Doc fix.
6220
50419064
GM
6221 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6222
28109f49
SM
62232011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6224
6225 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6226
394c65f1
GM
62272011-11-22 Glenn Morris <rgm@gnu.org>
6228
6229 * mail/rmailmm.el (test-rmail-mime-handler)
6230 (test-rmail-mime-bulk-handler)
6231 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6232
f2a0aa3a
JL
62332011-11-21 Juri Linkov <juri@jurta.org>
6234
1154d12e
JB
6235 * calc/calc.el (calc-read-key-sequence):
6236 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6237
9c34a344
LMI
62382011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6239
6240 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6241 Tell the caller that the next line needs recomputation, even
6242 though it doesn't start a sexp (bug#10094).
6243
f04a3be9
SM
62442011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6245
6246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6247
7978747f
SM
62482011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6249
f04a3be9
SM
6250 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6251 Use force-same-window.
7978747f 6252
fe7a3057
JB
62532011-11-20 Juanma Barranquero <lekktu@gmail.com>
6254
6255 * descr-text.el (describe-char-unicode-data):
6256 * json.el (json-string-escape):
6257 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6258 (Footnote-unicode, Footnote-style-p):
6259 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6260
24901d61
CY
62612011-11-20 Chong Yidong <cyd@gnu.org>
6262
6263 * window.el (replace-buffer-in-windows): Restore interactive spec.
6264
bac7ff22
SM
62652011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6266
24f3d7b9
SM
6267 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6268
bac7ff22
SM
6269 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6270 (byte-compile-global-not-obsolete-vars): New var.
6271 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6272 Use it.
6273 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6274
cd1181db
JB
62752011-11-20 Juanma Barranquero <lekktu@gmail.com>
6276
6277 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6278 * progmodes/pascal.el (electric-pascal-equal):
6279 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6280 * xml.el (xml-substitute-special): Fix typos.
6281
7fb18e9e
GM
62822011-11-20 Glenn Morris <rgm@gnu.org>
6283
6284 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6285 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6286 Doc fixes.
6287 (rmail-decode-mime-charset): Mark as obsolete.
6288
6289 * mail/rmailsum.el (rmail-message-regexp-p-1):
6290 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6291 Before using mime functions, check they are set. (Bug#10077)
6292
d5a6b3ba
JL
62932011-11-19 Juri Linkov <juri@jurta.org>
6294
6295 * info.el (Info-finder-find-node): Use `package--builtins' instead
6296 of `package-alist'. Use node names formed by the pattern "Keyword "
6297 and the keyword name.
6298
e981b61f
AS
62992011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6300
1d00653d 6301 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6302
3ffbc301
JL
63032011-11-19 Juri Linkov <juri@jurta.org>
6304
6305 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6306 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6307 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6308 `old-history', `old-history-forward'. Add let-binding
6309 `window-selected'. Remove calls to `kill-buffer',
6310 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6311 before calling `Info-find-node', so `Info-find-node-2' will reread
6312 the Info file. Restore window positions only when `window-selected'
6313 is non-nil.
6314
30c62133
JL
63152011-11-19 Juri Linkov <juri@jurta.org>
6316
6317 * isearch.el (isearch-lazy-highlight-new-loop):
6318 Remove condition `(not isearch-error)'. (Bug#9918)
6319
6320 * misearch.el (multi-isearch-search-fun): Add condition
6321 `(not bound)' to ignore lazy-highlighting search.
6322 Add the search-failed message "end of multi" when the end of
6323 multi-sequence is reached. Uncapitalize the search-failed
6324 message "Repeat for next buffer".
6325
6326 * info.el (Info-search): Add the search-failed message
6327 "end of the manual" when the end of the manual is reached
6328 in Isearch mode.
6329
645ca9cf
JL
63302011-11-19 Juri Linkov <juri@jurta.org>
6331
6332 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6333 Use non-destructive `remove' instead of `delete' because
6334 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6335 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6336
df754f66
JL
63372011-11-19 Juri Linkov <juri@jurta.org>
6338
6339 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6340 to nil instead of binding `search-ring' and `regexp-search-ring'.
6341 (Bug#9185)
6342
0e23d96a
EZ
63432011-11-19 Eli Zaretskii <eliz@gnu.org>
6344
6345 * simple.el (line-move): Force movement by logical lines for any
6346 hscrolled window, not only when auto-hscroll-mode is on.
6347 (line-move-visual): Update doc string to that effect. (Bug#10076)
6348
8a6ccb66
AS
63492011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6350
6351 * language/european.el (macintosh): Define as alias for mac-roman.
6352
49ae5b39
EZ
63532011-11-19 Eli Zaretskii <eliz@gnu.org>
6354
6355 * mail/rmailmm.el (rmail-mime-display-header)
6356 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6357 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6358 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6359 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6360 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6361 of a raw aref.
6362 (rmail-mime-entity-segment): To get past the tagline, move forward
6363 2 more lines, to account for the 2 empty lines that precede and
6364 follow the line with the buttons.
6365 (rmail-mime-update-tagline): Move one more line, to get past the
6366 empty line that follows the buttons in the tagline. (Bug#9520)
6367
c56cad4a
MR
63682011-11-19 Martin Rudalics <rudalics@gmx.at>
6369
6370 * window.el (window-max-delta-1, window-min-delta-1)
6371 (window-min-size-1, window-state-get-1, window-state-put-1)
6372 (window-state-put-2): Use "window--" prefix.
6373
cbe71af3
SM
63742011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6375
2ad52c60
SM
6376 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6377 (smie-warning-count): New var.
6378 (smie-set-prec2tab): Use it.
6379 (smie-bnf->prec2): Improve warnings. Add docstring.
6380 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6381 (smie-bnf--set-class): New function.
6382 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6383 corner case.
6384
6944dbc1
SM
6385 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6386 (compilation-error-properties, compilation-move-to-column):
6387 Handle compilation-first-column while in the target buffer.
6388
c400c4d7
SM
6389 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6390 Don't hardcode point-min==1.
6391
6dbe3e96
SM
6392 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6393 (eshell-rewrite-for-command): Remove workaround.
6394 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6395 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6396 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6397
cbe71af3
SM
6398 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6399
a8e1496d
GM
64002011-11-17 Glenn Morris <rgm@gnu.org>
6401
6402 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6403 Ignore buffer-local generated-autoload-file if it is the same
6404 as the global value. (Bug#10049)
6405
df85d315
JB
64062011-11-17 Juanma Barranquero <lekktu@gmail.com>
6407
6408 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6409 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6410 (reftex-toc-previous-heading, reftex-toc-max-level)
6411 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6412 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6413 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6414 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6415 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6416 (reftex-toc-rename-label, reftex-toc-visit-location)
6417 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6418 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6419 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6420 leaving "*toc*" only for references to the buffer.
6421
a0c2d0ae
MR
64222011-11-17 Martin Rudalics <rudalics@gmx.at>
6423
6424 * window.el (window-resize, delete-window, split-window):
6425 Replace window-splits by window-combination-resize.
1d00653d 6426 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6427
35c0bac8
GM
64282011-11-17 Glenn Morris <rgm@gnu.org>
6429
6430 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6431 Make bash entry derive from sh entry, not shell entry.
6432
d0c8fc8a
MA
64332011-11-16 Michael Albinus <michael.albinus@gmx.de>
6434
7262a87c
MA
6435 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6436 local file name.
6437
7877f373
JB
64382011-11-16 Juanma Barranquero <lekktu@gmail.com>
6439
6440 * menu-bar.el (menu-bar-file-menu):
6441 * printing.el (pr-ps-utility):
6442 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6443 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6444 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6445 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6446 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6447 (icalendar--convert-cyclic-to-ical)
6448 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6449 (icalendar--convert-ical-to-diary)
6450 (icalendar--convert-recurring-to-diary)
6451 (icalendar--convert-non-recurring-all-day-to-diary)
6452 (icalendar-import-format-sample):
6453 * progmodes/idlw-shell.el (idlwave-shell-mode):
6454 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6455 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6456 (vhdl-ps-print-init): Fix typos.
6457
10649b82
KM
64582011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6459
9d0cfcd6
GM
6460 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6461 FSF and collapse date sequence, obscure author/maintainer email address
6462 better, remove extra version line, track relocation of author's webpage.
10649b82 6463
9d0cfcd6
GM
6464 * progmodes/python.el (python-pdbtrack-input-prompt)
6465 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6466 regular python pdb prompts. Adjustments shamelessly taken exactly as
6467 suggested in EmacsWiki page (tiny change):
6468 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6469
58179cce
JB
64702011-11-16 Juanma Barranquero <lekktu@gmail.com>
6471
6472 * expand.el (expand-pos, expand-index, expand-point):
6473 Remove redundant info from docstring.
6474 (expand-add-abbrevs): Doc fix.
6475 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6476 (expand-sample-perl-mode-expand-list): Fix typos.
6477
6478 * net/dbus.el (dbus-event-member-name):
6479 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6480 * term/pc-win.el (msdos-create-frame-with-faces):
6481 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6482
b6f67890
MR
64832011-11-16 Martin Rudalics <rudalics@gmx.at>
6484
6485 * window.el (split-window, window-state-get-1)
6486 (window-state-put-1, window-state-put-2): Rename occurrences of
6487 window-nest to window-combination-limit.
1d00653d 6488 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6489
ce7ddba0
CY
64902011-11-16 Chong Yidong <cyd@gnu.org>
6491
6492 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6493 regexp (Bug#10033).
6494
3ae704f4
SM
64952011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6498 `completing-read' will remove *Completions* and will preserve
6499 current-buffer for us.
6500 (tmm-add-prompt): Users of *Completions* will always (re)set its
6501 major mode.
6502 (tmm-old-comp-map): Remove.
6503
6ad1cdde
GM
65042011-11-16 Glenn Morris <rgm@gnu.org>
6505
6506 * mail/rmailedit.el: Require rmailmm when compiling.
6507 (rmail-old-mime-state): New declaration.
6508 (rmail-edit-current-message): If editing a mime message,
6509 edit the "raw" message from the mbox buffer.
6510 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6511
d20faa20
GM
65122011-11-15 Glenn Morris <rgm@gnu.org>
6513
6514 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6515 which wasn't being used. Add optional arg to force given state.
6516 (rmail-mime): Add optional arg to force given state.
6517
c7015153
JB
65182011-11-15 Juanma Barranquero <lekktu@gmail.com>
6519
6520 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6521 * frame.el (display-mm-dimensions-alist):
6522 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6523 (outline-move-subtree-down):
6524 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6525 (newsticker--treeview-do-get-node):
6526 * net/quickurl.el (quickurl-list-buffer-name):
6527 * progmodes/dcl-mode.el (dcl-mode):
6528 * progmodes/gdb-mi.el (gdb-mapcar*):
6529 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6530
45261b50
GM
65312011-11-15 Glenn Morris <rgm@gnu.org>
6532
6533 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6534 in a boolean sense, so just make it a boolean, and fix the doc.
6535 (rmail-show-mime-function, rmail-mime-feature)
6536 (rmail-require-mime-maybe): Doc fixes.
6537 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6538
6539 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6540
0d26e0b6
JB
65412011-11-15 Juanma Barranquero <lekktu@gmail.com>
6542
6543 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6544 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6545 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6546 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6547
447f30f6
GM
65482011-11-15 Glenn Morris <rgm@gnu.org>
6549
672b871d
GM
6550 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6551 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6552 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6553 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6554 (rmail-mime, rmail-show-mime): Doc fixes.
6555
f6aa5bb1
GM
6556 * term/ns-win.el (mode-line-frame-identification):
6557 Leave it alone. (Bug#10051)
6558
947cd66b
GM
6559 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6560
447f30f6
GM
6561 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6562 Handle empty buffers. (Bug#9978)
6563
0b381c7e
JB
65642011-11-14 Juanma Barranquero <lekktu@gmail.com>
6565
6566 * international/mule.el (define-charset):
6567 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6568 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6569 * progmodes/verilog-mode.el (verilog-backward-token):
6570 * textmodes/ispell.el (lookup-words):
6571 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6572
71e027ac
GM
65732011-11-14 Glenn Morris <rgm@gnu.org>
6574
56632ce4
GM
6575 * progmodes/executable.el
6576 (executable-make-buffer-file-executable-if-script-p):
6577 Handle file-modes returning nil.
6578
40500957
GM
6579 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6580 message - not necessary, and causes problems. (Bug#9831)
6581
071c2340
GM
6582 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6583
d3cfca60
GM
6584 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6585
71e027ac
GM
6586 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6587 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6588 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6589
89d61221
MR
65902011-11-12 Martin Rudalics <rudalics@gmx.at>
6591
6592 * window.el (window-resize, delete-window): Use window-splits
6593 variable instead of function.
6594 (window-state-get-1, window-state-put-2, window-state-put):
6595 Don't deal with windows' splits status.
6596
98282f6f
GM
65972011-11-12 Glenn Morris <rgm@gnu.org>
6598
6599 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6600 (apropos-documentation): Doc fixes.
6601
40a8bdf6
JB
66022011-11-11 Juanma Barranquero <lekktu@gmail.com>
6603
6604 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6605 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6606
65bd19ff
SM
66072011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6608
6609 * electric.el (electric-indent-post-self-insert-function): Make it
6610 possible for a char to only indent in some circumstances.
6611 (electric-indent-mode): Simplify.
6612
54f9154c
MR
66132011-11-11 Martin Rudalics <rudalics@gmx.at>
6614
6615 * window.el (windows-with-parameter): Remove unused function.
6616 (windows-at-side): Rename to window-at-side-list.
6617 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6618 (window-side-check, window-size-ignore, window-size-fixed-1)
6619 (window-in-direction-2): Prefix with "window--".
6620 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6621
68cbc58b
GM
66222011-11-11 Glenn Morris <rgm@gnu.org>
6623
6624 * subr.el (eval-after-load): If FILE is already loaded,
6625 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6626
b2621720
GM
66272011-11-10 Glenn Morris <rgm@gnu.org>
6628
9a4de110
GM
6629 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6630 Call svn via vc-svn-command rather than vc-do-command.
6631 (vc-svn-command): Add --non-interactive. (Bug#9993)
6632 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6633
b2621720
GM
6634 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6635 Add toggle-read-only. (Bug#7292)
6636 * files.el (toggle-read-only): Mention that it should only
6637 be used interactively. (Bug#10006)
6638
1dce7193
SM
66392011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6640
d9ac1a1e
SM
6641 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6642 Adjust regexp for OCaml warnings.
6643
0c325082
SM
6644 * electric.el (electric-pair-post-self-insert-function): Let user
6645 turn it off buffer-locally (bug#9932).
6646
90132c14
SM
6647 * progmodes/python.el (python-beginning-of-statement):
6648 Rewrite (bug#2703).
6649
1dce7193
SM
6650 * progmodes/compile.el: Better handle TABs (bug#9749).
6651 (compilation-internal-error-properties)
6652 (compilation-next-error-function): Obey the target buffer's
6653 compilation-error-screen-columns.
6654
c4e7c63a
JB
66552011-11-09 Juanma Barranquero <lekktu@gmail.com>
6656
6657 * progmodes/meta-mode.el: Remove obsolete comments.
6658 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6659 Fix typos in docstrings.
6660
2cffd681
MR
66612011-11-09 Martin Rudalics <rudalics@gmx.at>
6662
6663 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6664 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6665 (window--resizable): New function. Make all callers of
6666 window-resizable call window--resizable instead.
6667 (window-resizable): Rewrite in terms of window--resizable.
6668
0edcba87
GM
66692011-11-08 Glenn Morris <rgm@gnu.org>
6670
6671 * progmodes/delphi.el (delphi-mode-syntax-table):
6672 Let define-derived-mode define a proper syntax table. (Bug#9994)
6673
4b0d61e3
SM
66742011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * window.el: Stay away from defsubst.
6677 (window-list-no-nils): Remove.
6678 (window-state-get-1, window-state-get): Use backquote instead.
6679
cd394be1 66802011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6681
4b0d61e3 6682 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6683 Fix incorrect use of default argument in `completing-read'.
6684
e1c2c6f2
MR
66852011-11-08 Martin Rudalics <rudalics@gmx.at>
6686
6687 * window.el (display-buffer-function, special-display-function):
6688 Mention display-buffer-record-window but do not mention
6689 help-setup parameter in doc-strings.
b3f4a882 6690 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6691
105216ed
CY
66922011-11-08 Chong Yidong <cyd@gnu.org>
6693
6694 * window.el (window-total-height, window-total-width): Doc fix.
6695 (window-body-size): Move from C.
6696 (window-body-height, window-body-width): Move to C.
6697
0a9f9ab5
SM
66982011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6699
6700 * window.el: Make special-display like display-buffer-alist (bug#9532).
6701 (display-buffer--special-action): New function, morphed
6702 from display-buffer--special.
6703 (display-buffer): Use it to handle special-display-buffers at higher
6704 priority (just after display-buffer-alist).
6705 (display-buffer-fallback-action, display-buffer--other-frame-action)
6706 (pop-to-buffer-same-window): Remove display-buffer--special.
6707
a769dd15
GM
67082011-11-07 Glenn Morris <rgm@gnu.org>
6709
6710 * calendar/cal-menu.el (cal-menu-set-date-title):
6711 Do nothing if not in a calendar. (Bug#9976)
6712
05a61ee3
SM
67132011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6714
6715 * files.el (find-file): Always use selected-window.
6716
be7f5545
MR
67172011-11-07 Martin Rudalics <rudalics@gmx.at>
6718
6719 * window.el (window-combinations): Make WINDOW argument
6720 mandatory. Rewrite doc-string.
6721 (walk-window-subtree, window-atom-check, window-min-delta)
6722 (window-max-delta, window--resize-this-window)
6723 (window--resize-root-window-vertically, window-tree)
6724 (balance-windows, window-state-put): Rewrite doc-strings as to
6725 not mention the term "subwindow".
6726 (window--resize-subwindows-skip-p): Rename to
6727 window--resize-child-windows-skip-p.
6728 (window--resize-subwindows-normal): Rename to
6729 window--resize-child-windows-normal.
6730 (window--resize-subwindows): Rename to
6731 window--resize-child-windows.
6732 (window-or-subwindow-p): Rename to window--in-subtree-p.
6733
3c6702ef
ML
67342011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6735
6736 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6737 Ensure that mbox format messages end in two newlines (Bug#9974).
6738
49745b39
CY
67392011-11-06 Chong Yidong <cyd@gnu.org>
6740
6741 * window.el (window-combination-p): Function deleted; its
6742 side-effect is not used in any existing code.
6743 (window-combinations, window-combined-p): Call window-*-child
6744 directly.
6745
24300f5f
CY
67462011-11-05 Chong Yidong <cyd@gnu.org>
6747
6748 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6749 (window-size-ignore, window-state-get): Callers changed.
6750 (window-normalize-window): Rename from window-normalize-any-window.
6751 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6752 (window-normalize-live-window): Delete.
447f16b8
CY
6753 (window-combination-p, window-combined-p, window-combinations)
6754 (walk-window-subtree, window-atom-root, window-min-size)
6755 (window-sizable, window-sizable-p, window-size-fixed-p)
6756 (window-min-delta, window-max-delta, window-resizable)
6757 (window-resizable-p, window-full-height-p, window-full-width-p)
6758 (window-current-scroll-bars, window-point-1, set-window-point-1)
6759 (window-at-side-p, window-in-direction, window-resize)
6760 (adjust-window-trailing-edge, maximize-window, minimize-window)
6761 (window-deletable-p, delete-window, delete-other-windows)
6762 (record-window-buffer, unrecord-window-buffer)
6763 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6764 (quit-window, split-window, window-state-put)
6765 (set-window-text-height, fit-window-to-buffer)
6766 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6767
89bd5ee1
EZ
67682011-11-04 Eli Zaretskii <eliz@gnu.org>
6769
53479029
EZ
6770 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6771 rfc2047-decode-string.
6772 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6773 warnings.
6774
89bd5ee1
EZ
6775 * window.el (window-body-height, window-body-width): Mention in
6776 the doc string that the return values are in frame's canonical
6777 units. (Bug#9949)
6778
bd17fdee
AM
67792011-11-03 Alan Mackenzie <acm@muc.de>
6780
6781 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6782 change in cc-engine.el.
6783
acc825c5
SM
67842011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6785
6786 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6787
1885e5b8
MR
67882011-11-02 Martin Rudalics <rudalics@gmx.at>
6789
6790 * window.el (quit-window): Call unrecord-window-buffer after
6791 showing another buffer in the window. (Bug#9937)
acc825c5 6792 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6793
ebe06da9
JB
67942011-11-02 Juanma Barranquero <lekktu@gmail.com>
6795
6796 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6797 Accept status with more than 9 shelves. (Bug#9935)
6798 Reported by Colin D Bennett <colin@gibibit.com>.
6799
4ee88440
MR
68002011-11-01 Martin Rudalics <rudalics@gmx.at>
6801
6802 * help.el (with-help-window): Don't reference
6803 temp-buffer-show-specifiers in doc-string.
6804
08e1d82c
AS
68052011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6806
6807 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6808 menu-item.
6809
84bd6e9e
VJL
68102011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6811
6812 * whitespace.el: New version 13.2.2.
6813 (whitespace-newline-mode): Disable properly. Reported by Sarah
6814 <EmacsWiki>.
6815
dba0634a
UJ
68162011-10-30 Ulf Jasper <ulf.jasper@web.de>
6817
6818 * net/newst-treeview.el: Remove "Time-stamp".
6819 (newsticker--group-manage-orphan-feeds): Do not call
6820 newsticker--treeview-tree-update.
db22a3c2
JB
6821 (newsticker-treeview-update, newsticker-treeview):
6822 Call newsticker--treeview-tree-update if necessary.
dba0634a 6823
3d8daefe
MR
68242011-10-30 Martin Rudalics <rudalics@gmx.at>
6825
6826 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6827 (window-iso-combinations): Remove "iso-" infix.
6828 Suggested by Chong Yidong.
3d8daefe
MR
6829 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6830 (window-max-delta-1, window-resize, window--resize-siblings)
6831 (window--resize-this-window, adjust-window-trailing-edge)
6832 (split-window, balance-windows-1)
6833 (shrink-window-if-larger-than-buffer):
6834 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6835 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6836
1bc4c3ae
SM
68372011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6838
6839 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6840 in place (bug#9907).
6841 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6842 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6843 (eshell-structure-basic-command, eshell-rewrite-while-command)
6844 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6845 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6846 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6847 (eshell-do-pipelines-synchronously, eshell-eval-command):
6848 Use backquotes and prefer setq to set.
6849 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6850 (eshell-macrop): Use functionp.
c1e2f5fa 6851 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6852
30b65d9c
CY
68532011-10-30 Chong Yidong <cyd@gnu.org>
6854
6855 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6856 instead of set-mark (Bug#9810).
6857
2d197ffb
CY
68582011-10-30 Chong Yidong <cyd@gnu.org>
6859
6860 * window.el (split-window-below, split-window-right): Rename from
6861 split-window-above-each-other and split-window-side-by-side
6862 respectively. All callers changed.
6863 (split-window-sensibly, split-window-sensibly): Use them.
6864 (split-window-keep-point): Doc fix.
6865
6866 * isearch.el: Add isearch-scroll property to split-window-below
6867 and split-window-right.
6868
6869 * follow.el (follow-mode):
6870 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6871 * progmodes/ada-xref.el (ada-gdb-application):
6872 * emulation/vip.el (vip-buffer-in-two-windows):
6873 * image-dired.el (image-dired-dired-with-window-configuration):
6874 * dired-x.el (dired-do-find-marked-files):
6875 * dired.el (dired-pop-to-buffer):
6876 * bs.el (bs--show-with-configuration):
6877 * vc/emerge.el (emerge-setup-windows):
6878 * textmodes/two-column.el (2C-two-columns):
6879 * textmodes/reftex-toc.el (reftex-toc):
6880 * progmodes/gdb-mi.el (gdb-setup-windows):
6881 * progmodes/fortran.el (fortran-window-create):
6882 * net/newst-treeview.el (newsticker--treeview-window-init):
6883 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6884 * emulation/tpu-edt.el (tpu-gold-map):
6885 * emulation/crisp.el (crisp-mode-map):
6886 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6887
38bb2ca8
CY
68882011-10-29 Chong Yidong <cyd@gnu.org>
6889
aa4de341
CY
6890 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6891
e1eb5385
CY
6892 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6893
5d2ece3c
CY
6894 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6895 forged Ispell output (Bug#7904).
6896
38bb2ca8
CY
6897 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6898
d0af9f77
SM
68992011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6900
6901 * doc-view.el: Avoid ugly errors about not finding nil.
6902 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6903 (doc-view-dvipdf-program, doc-view-unoconv-program)
6904 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6905 Avoid nil or absolute file name as default value.
6906 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6907
52bedd34
AM
69082011-10-28 Alan Mackenzie <acm@muc.de>
6909
db22a3c2 6910 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6911
7e43cfa5
AM
69122011-10-28 Alan Mackenzie <acm@muc.de>
6913
6914 Amend the handling of c-beginning/end-of-defun in nested declaration
6915 scopes.
6916
52bedd34
AM
6917 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6918 cc-langs.el. Change it to a defcustom.
7e43cfa5 6919
52bedd34
AM
6920 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6921 cc-vars.el.
7e43cfa5 6922
d0af9f77
SM
6923 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6924 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6925
52bedd34 6926 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6927 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6928 (c-widen-to-enclosing-decl-scope): New function.
6929 (c-while-widening-to-decl-block): New macro.
6930 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6931 outward for defun boundaries, and correspondingly change symbol
6932 `respect-enclosure' to `go-outward'.
6933 (c-declaration-limits): Change algorithm to report only the "innermost"
6934 defun's boundaries.
6935
1a2ce9ee
DD
69362011-10-28 Deniz Dogan <deniz@dogan.se>
6937
6938 * net/rcirc.el (rcirc-mode): Use hard newlines.
6939
bc97a826
AM
69402011-10-28 Alan Mackenzie <acm@muc.de>
6941
6942 Amend to indent and fontify macros "which include their own semicolon"
6943 correctly, using the "virtual semicolon" mechanism.
6944
52bedd34 6945 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 6946
d0af9f77 6947 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 6948 Recode to scan one line at a time rather than having \n and \r
58179cce 6949 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 6950 (c-forward-label): Amend for virtual semicolons.
58179cce 6951 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 6952
52bedd34
AM
6953 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
6954 of the new C macros.
bc97a826 6955
52bedd34 6956 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
6957 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
6958 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
6959 (c-opt-cpp-macro-define): Make into a full language variable.
6960 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
6961 AWK Mode (including \n, \r) removed, no longer needed.
6962
d0af9f77
SM
6963 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
6964 Invoke c-make-macro-with-semi-re.
bc97a826 6965
52bedd34
AM
6966 * progmodes/cc-vars.el (c-macro-with-semi-re):
6967 (c-macro-names-with-semicolon): New variables.
58179cce 6968 (c-make-macro-with-semi-re): New function.
bc97a826 6969
7a6c0941
SM
69702011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6971
6972 * vc/log-edit.el: Fill empty field rather than adding new one.
6973 (log-edit-add-field): New function.
6974 (log-edit-insert-changelog): Use it.
6975
b0c4cdcf
ML
69762011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6977
6978 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
6979
ee1f1da9
SM
69802011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6981
6982 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
6983 (gdb--check-interpreter): New function.
6984 (gdb): Use it.
6985
51bc5f8b
GM
69862011-10-27 Glenn Morris <rgm@gnu.org>
6987
416a2c45
GM
6988 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
6989 (least-positive-float, least-negative-float)
6990 (least-positive-normalized-float, least-negative-normalized-float)
6991 (float-epsilon, float-negative-epsilon):
6992 Remove unnecessary declarations.
6993
6994 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
6995 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
6996 (least-positive-float, least-negative-float)
6997 (least-positive-normalized-float, least-negative-normalized-float)
6998 (float-epsilon, float-negative-epsilon): Add doc-strings,
6999 based on those in cl.texi.
7000
51bc5f8b
GM
7001 * files.el (set-visited-file-name): If the major-mode changed,
7002 reload the local variables. (Bug#9796)
7003
15de15c6
CY
70042011-10-27 Chong Yidong <cyd@gnu.org>
7005
7006 * subr.el (change-major-mode-after-body-hook): New hook.
7007 (run-mode-hooks): Run it.
7008
ee1f1da9
SM
7009 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7010 Use change-major-mode-before-body-hook.
15de15c6
CY
7011
7012 * simple.el (fundamental-mode):
7013 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7014 change introducing fundamental-mode-hook.
7015
5430d399
JB
70162011-10-26 Juanma Barranquero <lekktu@gmail.com>
7017
acc825c5 7018 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7019
ad74a69e
MA
70202011-10-26 Michael Albinus <michael.albinus@gmx.de>
7021
7022 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7023 tramp.el explicitly. (Bug#7583)
ad74a69e 7024
71d4c2a5
SM
70252011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7026
7027 * progmodes/octave-mod.el:
7028 * progmodes/octave-inf.el: Update maintainer.
7029
b1f6fa26
CY
70302011-10-26 Chong Yidong <cyd@gnu.org>
7031
7032 * subr.el (with-wrapper-hook): Rewrite doc.
7033
3f04efd6
MA
70342011-10-25 Michael Albinus <michael.albinus@gmx.de>
7035
7036 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7037 filenames "/method:foo:". (Bug#9793)
3f04efd6 7038
410488d3
SM
70392011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7042 (bug#9865).
7043
c1ebb47e
GM
70442011-10-24 Glenn Morris <rgm@gnu.org>
7045
7046 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7047
7f5c46c7
MA
70482011-10-24 Michael Albinus <michael.albinus@gmx.de>
7049
7050 * notifications.el: Add the requirement of a running D-Bus session
7051 bus to the Commentary.
7052
db2440b6
JL
70532011-10-24 Juri Linkov <juri@jurta.org>
7054
7055 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7056 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7057 (Bug#9364)
7058
feecf435
JL
70592011-10-24 Juri Linkov <juri@jurta.org>
7060
7061 * info.el (Info-following-node-name-re): Add newline to the list
7062 of allowed characters for leading space. (Bug#9824)
7063
a3839de2
SM
70642011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7065
acc825c5
SM
7066 * progmodes/octave-inf.el (inferior-octave-mode-map):
7067 Fix C-c C-h binding.
a3839de2
SM
7068 * progmodes/octave-mod.el (octave-help): Remove.
7069
09388e76
MA
70702011-10-23 Michael Albinus <michael.albinus@gmx.de>
7071
7072 Sync with Tramp 2.2.3.
7073
7074 * net/tramp-cache.el (top): Pacify byte-compiler using
7075 `init-file-user' and `site-run-file'.
7076
7077 * net/trampver.el: Update release number.
7078
86c60681
CY
70792011-10-23 Chong Yidong <cyd@gnu.org>
7080
7081 * files.el (toggle-read-only): Remove obsolete comment about
7082 version control.
7083
7084 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7085 for toggle-read-only. Note that this hasn't called vc-next-action
7086 since 2008-05-02, though it wasn't documented at the time.
7087
a3839de2
SM
7088 * vc/ediff-init.el (ediff-toggle-read-only-function):
7089 Use toggle-read-only.
86c60681 7090
cd5495ff
AM
70912011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7092
7093 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7094 of c-parse-state.
7095
00b77525 7096 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7097 correct faulty logical expression.
cd5495ff
AM
7098 (c-parse-state-state, c-record-parse-state-state):
7099 (c-replay-parse-state-state): New defvar/defuns.
7100 (c-debug-parse-state): Use new functions.
7101
42ee24ed
MR
71022011-10-22 Martin Rudalics <rudalics@gmx.at>
7103
7104 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7105 last fix. Use window-in-direction correctly.
42ee24ed 7106
a7dee7e7
CY
71072011-10-21 Chong Yidong <cyd@gnu.org>
7108
7109 * progmodes/idlwave.el (idlwave-mode):
7110 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7111 require-final-newline; that's done in prog-mode.
7112 Suggested by Stefan Monnier.
a7dee7e7 7113
e07b9a6d
MR
71142011-10-21 Martin Rudalics <rudalics@gmx.at>
7115
7116 * mouse.el (mouse-drag-window-above)
7117 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7118 (mouse-drag-mode-line-1, mouse-drag-header-line)
7119 (mouse-drag-vertical-line-rightward-window): Remove.
7120 (mouse-drag-line): New function.
7121 (mouse-drag-mode-line, mouse-drag-header-line)
7122 (mouse-drag-vertical-line): Call mouse-drag-line.
7123 * window.el (window-at-side-p, windows-at-side): New functions.
7124
7e1361d9
UM
71252011-10-21 Ulrich Mueller <ulm@gentoo.org>
7126
7127 * tar-mode.el (tar-grind-file-mode):
7128 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7129
30fcaf3a
CY
71302011-10-21 Chong Yidong <cyd@gnu.org>
7131
7132 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7133 * progmodes/vera-mode.el (vera-mode):
7134 Use mode-require-final-newline.
30fcaf3a 7135
516eddb0
GM
71362011-10-20 Glenn Morris <rgm@gnu.org>
7137
db22a3c2 7138 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7139
10d5f513
CS
71402011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7141
7142 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7143
ac6c8639
CY
71442011-10-20 Chong Yidong <cyd@gnu.org>
7145
7146 * emulation/cua-base.el (cua-mode):
7147 * mail/footnote.el (footnote-mode):
7148 * mail/mailabbrev.el (mail-abbrevs-mode):
7149 * net/xesam.el (xesam-minor-mode):
7150 * progmodes/bug-reference.el (bug-reference-mode):
7151 * progmodes/cap-words.el (capitalized-words-mode):
7152 * progmodes/compile.el (compilation-minor-mode)
7153 (compilation-shell-minor-mode):
7154 * progmodes/gud.el (gud-tooltip-mode):
7155 * progmodes/hideif.el (hide-ifdef-mode):
7156 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7157 * progmodes/subword.el (subword-mode):
7158 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7159 * progmodes/which-func.el (which-function-mode):
7160 * term/tvi970.el (tvi970-set-keypad-mode):
7161 * term/vt100.el (vt100-wide-mode):
7162 * textmodes/flyspell.el (flyspell-mode):
7163 * textmodes/ispell.el (ispell-minor-mode):
7164 * textmodes/nroff-mode.el (nroff-electric-mode):
7165 * textmodes/paragraphs.el (use-hard-newlines):
7166 * textmodes/refill.el (refill-mode):
7167 * textmodes/reftex.el (reftex-mode):
7168 * textmodes/rst.el (rst-minor-mode):
7169 * textmodes/sgml-mode.el (html-autoview-mode)
7170 (sgml-electric-tag-pair-mode):
7171 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7172 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7173 * emulation/crisp.el (crisp-mode):
7174 * emacs-lisp/eldoc.el (eldoc-mode):
7175 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7176 minor mode behavior.
7177
aa42ab43
JL
71782011-10-19 Juri Linkov <juri@jurta.org>
7179
7180 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7181 the list of hard-coded chars with escape-glyph face.
7182
89400f1d
SM
71832011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7184
7185 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7186
305c07f6
MA
71872011-10-19 Michael Albinus <michael.albinus@gmx.de>
7188
7189 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7190 running process.
7191
13754b54
GM
71922011-10-19 Glenn Morris <rgm@gnu.org>
7193
7194 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7195 Ignore ignored files. (Bug#9726)
7196
06e21633
CY
71972011-10-19 Chong Yidong <cyd@gnu.org>
7198
7199 Doc fix for minor modes, stating that an omitted argument enables
7200 the mode unconditionally when called from Lisp.
7201
7202 * abbrev.el (abbrev-mode):
7203 * allout.el (allout-mode):
7204 * autoinsert.el (auto-insert-mode):
7205 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7206 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7207 (global-auto-revert-mode):
7208 * battery.el (display-battery-mode):
7209 * composite.el (global-auto-composition-mode)
7210 (auto-composition-mode):
7211 * delsel.el (delete-selection-mode):
7212 * desktop.el (desktop-save-mode):
7213 * dired-x.el (dired-omit-mode):
7214 * dirtrack.el (dirtrack-mode):
7215 * doc-view.el (doc-view-minor-mode):
7216 * double.el (double-mode):
7217 * electric.el (electric-indent-mode, electric-pair-mode):
7218 * emacs-lock.el (emacs-lock-mode):
7219 * epa-hook.el (auto-encryption-mode):
7220 * follow.el (follow-mode):
7221 * font-core.el (font-lock-mode):
7222 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7223 * help.el (temp-buffer-resize-mode):
7224 * hilit-chg.el (highlight-changes-mode)
7225 (highlight-changes-visible-mode):
7226 * hi-lock.el (hi-lock-mode):
7227 * hl-line.el (hl-line-mode, global-hl-line-mode):
7228 * icomplete.el (icomplete-mode):
7229 * ido.el (ido-everywhere):
7230 * image-file.el (auto-image-file-mode):
7231 * image-mode.el (image-minor-mode):
7232 * iswitchb.el (iswitchb-mode):
7233 * jka-cmpr-hook.el (auto-compression-mode):
7234 * linum.el (linum-mode):
7235 * longlines.el (longlines-mode):
7236 * master.el (master-mode):
7237 * mb-depth.el (minibuffer-depth-indicate-mode):
7238 * menu-bar.el (menu-bar-mode):
7239 * minibuf-eldef.el (minibuffer-electric-default-mode):
7240 * mouse-sel.el (mouse-sel-mode):
7241 * msb.el (msb-mode):
7242 * mwheel.el (mouse-wheel-mode):
7243 * outline.el (outline-minor-mode):
7244 * paren.el (show-paren-mode):
7245 * recentf.el (recentf-mode):
7246 * reveal.el (reveal-mode, global-reveal-mode):
7247 * rfn-eshadow.el (file-name-shadow-mode):
7248 * ruler-mode.el (ruler-mode):
7249 * savehist.el (savehist-mode):
7250 * scroll-all.el (scroll-all-mode):
7251 * scroll-bar.el (scroll-bar-mode):
7252 * server.el (server-mode):
7253 * shell.el (shell-dirtrack-mode):
7254 * simple.el (auto-fill-mode, transient-mark-mode)
7255 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7256 (line-number-mode, column-number-mode, size-indication-mode)
7257 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7258 * strokes.el (strokes-mode):
7259 * time.el (display-time-mode):
7260 * t-mouse.el (gpm-mouse-mode):
7261 * tool-bar.el (tool-bar-mode):
7262 * tooltip.el (tooltip-mode):
7263 * type-break.el (type-break-mode-line-message-mode)
7264 (type-break-query-mode):
7265 * view.el (view-mode):
7266 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7267 (global-whitespace-mode, global-whitespace-newline-mode):
7268 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7269
a3839de2
SM
7270 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7271 Fix autogenerated docstring.
06e21633 7272
5214e501
JL
72732011-10-19 Juri Linkov <juri@jurta.org>
7274
7275 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7276 by checking environment variables "DESKTOP_SESSION" and
7277 "XDG_CURRENT_DESKTOP". (Bug#9779)
7278
195f8db9
JL
72792011-10-19 Juri Linkov <juri@jurta.org>
7280
7281 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7282 (browse-url-chromium-program, browse-url-chromium-arguments):
7283 New defcustoms.
7284 (browse-url-default-browser): Check for `browse-url-chromium' and
7285 call `browse-url-chromium-program'.
7286 (browse-url-chromium): New command. (Bug#9779)
7287
343a34ff
JB
72882011-10-18 Juanma Barranquero <lekktu@gmail.com>
7289
7290 * facemenu.el (list-colors-duplicates): On Windows, detect more
7291 duplicates by assuming that only colors matching "^System" are
7292 special "system colors". (Bug#9722)
7293
6978a151
SM
72942011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7297 to distinguish the author from the committer.
7298
6a80b297
MA
72992011-10-18 Michael Albinus <michael.albinus@gmx.de>
7300
7301 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7302
b31a5677
JK
73032011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7304
7305 * international/mule.el (sgml-html-meta-auto-coding-function):
7306 Add support for detecting encoding in HTML5 specified only as
7307 <meta charset="UTF-8">. Implementation just makes http-equiv and
7308 content-type parts from HTML4 encoding string optional. (Bug#9716)
7309
80c6d77f
GM
73102011-10-18 Glenn Morris <rgm@gnu.org>
7311
7312 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7313
08b0fee8
CY
73142011-10-18 Chong Yidong <cyd@gnu.org>
7315
7316 * faces.el (cursor): Doc fix.
7317
67e729a5
CY
73182011-10-17 Chong Yidong <cyd@gnu.org>
7319
7320 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7321
343a34ff 73222011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7323
7324 * dirtrack.el (dirtrack): Support shell buffers with path
7325 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7326
0bc06380
TZ
73272011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7328
7329 * json.el: Bump version to 1.3 and note change in History.
7330 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7331
8b79f3e0
SM
73322011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7333
5a7c536b
SM
7334 * comint.el (comint-insert-input, comint-send-input)
7335 (comint-get-old-input-default, comint-backward-matching-input)
7336 (comint-next-prompt): Use nil instead of `input' for field property of
7337 past user input (bug#114).
7338
96a8a0df
SM
7339 * minibuffer.el (completion--replace): Inherit surrounding properties
7340 (bug#114).
7341 (minibuffer-complete-and-exit): Use it.
7342
8b79f3e0
SM
7343 * comint.el (comint--table-subvert): Quote the all-completions output
7344 (bug#9160).
7345
b8f7ff0d
MR
73462011-10-17 Martin Rudalics <rudalics@gmx.at>
7347
8b79f3e0 7348 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7349
b8f7ff0d 7350 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7351 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7352 entries and separate them from frame entries.
7353
c235b555
GM
73542011-10-15 Glenn Morris <rgm@gnu.org>
7355
7356 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7357 Doc fixes.
7358
6bbfa6e1
CY
73592011-10-15 Chong Yidong <cyd@stupidchicken.com>
7360
8b79f3e0
SM
7361 * net/network-stream.el (network-stream-open-starttls):
7362 Improve detection of failure due to lack of TLS support.
ec5c990d 7363
6bbfa6e1
CY
7364 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7365 putting the input text in front and in bold.
7366
98488977
SM
73672011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7368
3d1337be
SM
7369 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7370
ee0b45e4
SM
7371 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7372 empty buffer.
7373
98488977
SM
7374 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7375 unread-command-events rather than pushing yet-another event.
7376
186f4720
EZ
73772011-10-14 Eli Zaretskii <eliz@gnu.org>
7378
7379 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7380 the explanation of the possible choices. Make the options passed
7381 to completing-read shorter.
7382
8b7a997c
AM
73832011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7384
7385 * textmodes/flyspell.el (flyspell-large-region): Make sure
7386 extended character mode is used if defined (Bug#1339).
7387
12587bbb
EZ
73882011-10-13 Eli Zaretskii <eliz@gnu.org>
7389
7390 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7391 character info for LRE, LRO, RLE, and RLO characters by appending
7392 an invisible PDF.
12587bbb 7393
bad41229
SM
73942011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7395
7396 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7397 even in case of error; add debug spec; simplify data flow.
7398 (with-timeout-handler): Remove.
7399
28dbc92f
MA
74002011-10-12 Michael Albinus <michael.albinus@gmx.de>
7401
7402 Fix Bug#6019, Bug#9315.
7403
7404 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7405 complete `buffer-file-name', the local file name part could look
7406 remotely (for example on VMS).
7407
7408 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7409 `tramp-run-real-handler'.
7410 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7411 already quoted by '"'.
7412
7413 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7414 Let `file-name-handler-alist' be nil, the local file name part
7415 could look remotely (for example on VMS).
7416
e1b0b23a
SM
74172011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7418
7419 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7420 from here...
7421 (flyspell-post-command-hook): ...to here.
7422
a120bde9
SM
74232011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7424
7425 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7426 if not needed.
7427 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7428 using completion. Protect against "slow" callers.
7429 Remove the "message hack".
7430
7ce7717b
JL
74312011-10-11 Juri Linkov <juri@jurta.org>
7432
7433 * isearch.el (isearch-lazy-highlight-word): New variable.
7434 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7435 Use it. (Bug#9727)
7436
c02ee9d6
GM
74372011-10-11 Glenn Morris <rgm@gnu.org>
7438
7439 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7440 like f90-previous-statement does.
7441
93e616fd 74422011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7443
1f190e73 7444 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7445 only in interactive use, to avoid error.
7446
af7b6078
SM
74472011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7448
7449 * minibuffer.el (completion-file-name-table): Fix last change,
7450 i.e. ignore normal errors but not the other ones.
7451
0563dae9
MR
74522011-10-10 Martin Rudalics <rudalics@gmx.at>
7453
7454 * window.el (special-display-buffer-names)
7455 (special-display-regexps): Remove some remnants of earlier
7456 changes from doc-strings.
366ca7f3
MR
7457 (quit-windows-on): New function.
7458
7459 * vc/vc.el (vc-revert, vc-rollback):
7460 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7461 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7462 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7463
49677495
MR
74642011-10-09 Martin Rudalics <rudalics@gmx.at>
7465
7466 * window.el (frame-auto-hide-function): Add version tag.
7467 (Bug#9699)
7468
56f2d1e1
MA
74692011-10-09 Michael Albinus <michael.albinus@gmx.de>
7470
7471 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7472 condition.
7473
112a6592
LL
74742011-10-09 Leo Liu <sdl.web@gmail.com>
7475
7476 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7477 (Bug#9701)
7478
0812589b
GM
74792011-10-08 Glenn Morris <rgm@gnu.org>
7480
7481 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7482 before the first code statement zero indent. (Bug#9690)
7483
b2b0776e
CY
74842011-10-08 Chong Yidong <cyd@stupidchicken.com>
7485
7486 * simple.el (count-words-region): Always count in the region.
7487 Report the number of lines and characters too.
7488 (count-words): New command, which counts in the buffer if the
7489 region is inactive, as count-words-region used to.
7490 (count-words--message): New function. Handle plurals.
7491 (count-lines-region): Make it an alias for count-words-region.
7492
7493 * bindings.el (esc-map): Replace count-lines-region with
7494 count-words-region.
7495
c557cd6b
MR
74962011-10-08 Martin Rudalics <rudalics@gmx.at>
7497
7498 * window.el (window--delete): Delete dedicated frame
7499 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7500 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7501
61a57ef4 75022011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7503
3a7d293b 7504 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7505
c3833279
CY
75062011-10-07 Chong Yidong <cyd@stupidchicken.com>
7507
7508 * bindings.el ([M-left],[M-right]): Bind to left-word and
7509 right-word respectively.
7510
21ce8245
GM
75112011-10-07 Glenn Morris <rgm@gnu.org>
7512
7513 * cus-start.el (debug-on-quit): Fix custom type.
7514
6d823bb2
LMI
75152011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7516
0181e193
LMI
7517 * subr.el (define-key-after): Clarify that the function is not
7518 useful for non-menu keymaps.
7519
6d823bb2
LMI
7520 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7521
8e3459ce 75222011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7523
21ce8245 7524 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7525 in current minibuffer (Fix bug with recursive minibuffers).
7526
a1c2d21e
CY
75272011-10-06 Chong Yidong <cyd@stupidchicken.com>
7528
7529 * progmodes/gdb-mi.el (gdb): Doc fix.
7530
5a4cf282
MR
75312011-10-05 Martin Rudalics <rudalics@gmx.at>
7532
7533 * window.el (frame-auto-hide-function): New option replacing
7534 frame-auto-delete. Suggested by Stefan Monnier.
7535 (window--delete): Call frame-auto-hide-function instead of
7536 investigating frame-auto-delete.
c96111ea
MR
7537 (window-point-1, set-window-point-1): New functions.
7538 (window-in-direction, record-window-buffer, window-state-get-1)
7539 (display-buffer-record-window): Use window-point-1 instead of
7540 window-point.
7541 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7542
9854542e
SM
75432011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7544
7545 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7546
8943cfb0
GM
75472011-10-05 Glenn Morris <rgm@gnu.org>
7548
7549 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7550 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7551
647ab967
LL
75522011-10-05 Leo Liu <sdl.web@gmail.com>
7553
7554 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7555 works with buffer object.
7556
3ddfbced
SM
75572011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * mpc.el (mpc-tool-bar-map): Add labels.
7560
bdfa5dd2
GM
75612011-10-04 Glenn Morris <rgm@gnu.org>
7562
7563 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7564
0e2070b5
MR
75652011-10-04 Martin Rudalics <rudalics@gmx.at>
7566
7567 * window.el (window--delete): New function.
7568 (frame-auto-delete): Resuscitate option.
7569 (bury-buffer, replace-buffer-in-windows)
7570 (quit-window): Rewrite using window--delete.
7571 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7572 Pass display-buffer-mark-dedicated to window--display-buffer-2
7573 (Bug#9639).
7574
3dc61a09
SM
75752011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7576
915a9b64
SM
7577 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7578 returns a list (bug#9554). Add remote file name completion.
7579 * comint.el (comint--table-subvert): Curry and get quote&unquote
7580 functions as arguments.
7581 (comint--complete-file-name-data): Adjust call accordingly.
7582 * pcomplete.el (pcomplete--table-subvert): Remove.
7583 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7584
3dc61a09
SM
7585 * minibuffer.el (completion-table-case-fold): Use currying.
7586 (completion--styles-type, completion--cycling-threshold-type):
7587 New constants.
7588 (completion-styles, completion-category-overrides)
7589 (completion-cycle-threshold): Use them.
7590 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7591 completion-table-case-fold.
7592
8ea0a993
SB
75932011-10-03 Stephen Berman <stephen.berman@gmx.net>
7594
7595 * minibuffer.el (completion-category-overrides): Fix type of styles
7596 and add more user friendly tags (bug#9660).
7597
8c24b7f6
SM
75982011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7601 (mule-input-method-string): New widget.
7602 (default-input-method, language-info-custom-alist): Use it.
7603
428fe61a
SM
76042011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7605
32c1fffd
SM
7606 * pcomplete.el: Require comint.
7607 (pcomplete--common-suffix): Remove.
7608 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7609 (pcomplete--table-subvert): Sync with comint--table-subvert.
7610 (pcomplete--entries): Use comint-completion-file-name-table.
7611 * comint.el (comint-unquote-filename): Simplify.
7612 (comint-completion-file-name-table): New function (bug#9616).
7613 (comint--complete-file-name-data): Use it.
7614
428fe61a
SM
7615 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7616 (pcmpl-gnu-tar-buffer): Remove.
7617 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7618 around. Make sure pcomplete-suffix-list is only changed temporarily.
7619 Don't look inside the tar's file if it's too large.
428fe61a 7620
04c52e2f
CY
76212011-10-01 Chong Yidong <cyd@stupidchicken.com>
7622
ce3cefcc
CY
7623 * cus-edit.el (custom-mode-map):
7624 * epa.el (epa-key-list-mode-map):
7625 * man.el (Man-mode-map):
7626 * startup.el (splash-screen-keymap):
7627 * simple.el (special-mode-map): Use scroll-up-command and
7628 scroll-down-command.
7629
7630 * progmodes/idlw-help.el (idlwave-help-mode-map):
7631 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7632 * net/newst-plainview.el (newsticker-mode-map):
7633 * emulation/ws-mode.el (wordstar-mode-map):
7634 * emulation/vi.el (vi-com-map):
7635 * calc/calc-graph.el (calc-graph-show-dumb):
7636 * term/sun.el (terminal-init-sun):
7637 * term/ns-win.el (global-map):
7638 * progmodes/grep.el (grep-mode-map):
7639 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7640 * mail/rmail.el (rmail-mode-map):
7641 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7642
04c52e2f
CY
7643 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7644 custom-safe-themes as special.
7645
79adf8c8
JD
76462011-10-01 Julien Danjou <julien@danjou.info>
7647
7648 * notifications.el (notifications-notify): Fix docstring.
7649
63bd50d3
PS
76502011-10-01 Per Starbäck <per@starback.se>
7651
7652 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7653
199e4c7e
MR
76542011-09-30 Martin Rudalics <rudalics@gmx.at>
7655
7656 * startup.el (command-line-1): Fix last fix by inserting
7657 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7658 (Bug#9605) and (Bug#9636)
199e4c7e 7659
fe5f08dd
EZ
76602011-09-29 Eli Zaretskii <eliz@gnu.org>
7661
7662 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7663 window is hscrolled, move by logical lines. (Bug#9607)
7664 (line-move-visual): Update the doc string to the above effect.
7665
b5516bbd
MR
76662011-09-29 Martin Rudalics <rudalics@gmx.at>
7667
ccee00c0
MR
7668 * window.el (display-buffer-record-window): When WINDOW is the
7669 selected window use `point' instead of `window-point'. (Bug#9626)
7670
b5516bbd
MR
7671 * startup.el (command-line-1): Use insert-before-markers when
7672 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7673
b5516bbd
MR
7674 * help.el (help-window): Remove variable.
7675
52aa0014
GM
76762011-09-29 Glenn Morris <rgm@gnu.org>
7677
7678 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7679
df9a7357
JB
76802011-09-29 Juanma Barranquero <lekktu@gmail.com>
7681
7682 * descr-text.el (describe-char-categories): Accept category
7683 descriptions more than one line long.
7684
a8406c20
SM
76852011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7686
88d9610c
SM
7687 * simple.el (delete-trailing-whitespace): Fix last change.
7688
a5daf810
SM
7689 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7690 Don't confuse "y => 3" as the beginning of a `y' operation.
7691
a8406c20
SM
7692 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7693 object has more than 4 slots (bug#9613).
7694
a239d4e9
JB
76952011-09-28 Juanma Barranquero <lekktu@gmail.com>
7696
7697 * subr.el (with-output-to-temp-buffer):
7698 * net/quickurl.el (quickurl, quickurl-browse-url):
7699 Fix typos in docstrings.
7700
693fbdb6
EZ
77012011-09-27 Eli Zaretskii <eliz@gnu.org>
7702
7703 * minibuffer.el (completion-styles)
7704 (completion-category-overrides): Cross reference each other in doc
7705 strings.
7706
8b457e28
GM
77072011-09-27 Glenn Morris <rgm@gnu.org>
7708
7709 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7710 to split-string. (Bug#9606)
7711
85a16208
LMI
77122011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7713
7714 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7715 (bug#9615).
7716
502f9ebd
CY
77172011-09-27 Chong Yidong <cyd@stupidchicken.com>
7718
7719 * emacs-lisp/package.el (list-packages): Fix echo area message.
7720
7690bdea
LL
77212011-09-27 Leo Liu <sdl.web@gmail.com>
7722
7723 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7724
e2ee6f30
MA
77252011-09-25 Michael Albinus <michael.albinus@gmx.de>
7726
7727 * net/dbus.el (dbus-unregister-object): Don't release services for
7728 registered signals. (Bug#9581)
7729
f3f98342
TZ
77302011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7731
7732 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7733 function that picks between cfengine 2 and 3 support
7734 automatically. Update docs accordingly.
7735
dd7aa8dd
KH
77362011-09-22 Kenichi Handa <handa@m17n.org>
7737
7738 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7739 ZERO.
7740 (indian-itrans-v5-table-for-tamil): New variable.
7741 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7742
3f2b07f8
KM
77432011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7744
7745 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7746 that's true if the current command involved collapsing of text.
7747 It's reset to false at the beginning of the next command.
7748 (allout-post-command-business): Move the cursor to the beginning
7749 of entry if the cursor is hidden and collapsing activity just
7750 happened.
7751
371d6a61
CY
77522011-09-24 Chong Yidong <cyd@stupidchicken.com>
7753
7754 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7755 tracking (Bug#9541).
7756
2ac2721a
UJ
77572011-09-24 Ulf Jasper <ulf.jasper@web.de>
7758
7759 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7760 (newsticker-show-news): Automatically load html rendering package
7761 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7762 because w3m-fill-column is let-bound" and the error "Symbol's value
7763 as variable is void: w3m-fill-column".
2ac2721a 7764
fac7ae53
MA
77652011-09-24 Michael Albinus <michael.albinus@gmx.de>
7766
7767 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7768 Release services only if they are defined. (Bug#9581)
7769
e08b633b
RS
77702011-09-23 Richard Stallman <rms@gnu.org>
7771
e488d29c
RS
7772 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7773 distinguish start of paragraph from start of its text.
7774
19c38752
RS
7775 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7776
e08b633b
RS
7777 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7778 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7779 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7780
0a39f27e
AS
77812011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7782
7783 * international/mule-diag.el (mule-diag): Insert a newline after
7784 each fontset description.
7785
db4e950d
SM
77862011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7787
7788 * simple.el (delete-trailing-whitespace):
7789 Document last change; simplify.
7790
eca3f3ea
PW
77912011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7792
d68e189a
PW
7793 * simple.el (delete-trailing-whitespace): Also delete
7794 extra newlines at the end of the buffer.
7795
eca3f3ea
PW
7796 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7797 (picture-newline): Use forward-line so as to ignore fields.
7798
01c157cc
SM
77992011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7800
7801 * subr.el (with-wrapper-hook): Fix edebug spec.
7802
022de23e
LMI
78032011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7804
7805 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7806 (bug#4538).
7807
91683089
MA
78082011-09-23 Michael Albinus <michael.albinus@gmx.de>
7809
eca3f3ea
PW
7810 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7811 Fix nasty bug using wrong cached values.
91683089 7812
5bdd6fa4
AM
78132011-09-23 Alan Mackenzie <acm@muc.de>
7814
7815 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7816
97adfb97
CY
78172011-09-23 Chong Yidong <cyd@stupidchicken.com>
7818
7819 * window.el (pop-to-buffer): Ensure right window is selected if we
7820 chose another frame.
7821
d4ef2b50
EZ
78222011-09-22 Eli Zaretskii <eliz@gnu.org>
7823
7824 * simple.el (what-cursor-position): Use get-char-property-change
7825 and next-single-char-property-change, to be able to show display
7826 properties that come from overlays as well as text properties.
7827
72258fe5
CY
78282011-09-22 Chong Yidong <cyd@stupidchicken.com>
7829
7830 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7831
7832 * cmuscheme.el (run-scheme, switch-to-scheme):
7833 * cus-edit.el (customize-group, custom-buffer-create)
7834 (customize-browse):
7835 * info.el (info):
7836 * shell.el (shell):
7837 * mail/sendmail.el (mail):
7838 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7839
8f098516
RS
78402011-09-22 Richard Stallman <rms@gnu.org>
7841
7842 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7843 move back only to line beg, don't move back over blank lines.
7844
e74f1bb6
MA
78452011-09-22 Michael Albinus <michael.albinus@gmx.de>
7846
7847 * files.el (copy-directory): Set directory attributes only in case
7848 they could be retrieved from the source directory. (Bug#9565)
7849
bfeef8b6
DK
78502011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7851
7852 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7853 (hs-find-block-beginning, hs-hide-level-recursive):
7854 Ignore strings as well as comments. (Bug#9502)
7855
7e423bb8
AS
78562011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7857
7858 * progmodes/sql.el (sql-comint-postgres):
7859 Convert port number to a string. (Bug#9566)
7860
b4d72fcf
MR
78612011-09-22 Martin Rudalics <rudalics@gmx.at>
7862
7863 * window.el (quit-window): Undedicate window when switching to
7864 previous buffer. Reported by Thierry Volpiatto
7865 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7866 (special-display-popup-frame): When popping up a new frame reset
7867 its previous buffers to nil. Simplify code.
b4d72fcf 7868
a7b88dc6
MA
78692011-09-21 Michael Albinus <michael.albinus@gmx.de>
7870
7871 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7872 and process filter, as done also in `shell-command'.
7873
cf4eacfd
MR
78742011-09-21 Martin Rudalics <rudalics@gmx.at>
7875
eca3f3ea 7876 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7877 Call set-window-start with NOFORCE argument t.
7878 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7879 (quit-window): Reword doc-string. Handle new format of
7880 quit-restore parameter. Don't delete window if it has a
7881 previous buffer we can show instead of the present one.
7882 (display-buffer-record-window): Rewrite using a new format for
7883 the quit-restore window parameter
7884 (special-display-popup-frame, display-buffer-same-window)
7885 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7886 (display-buffer-pop-up-window, display-buffer-use-some-window):
7887 Adapt symbol passed to display-buffer-record-window.
7888 * help.el (help-window-setup): Handle new format of quit-restore
7889 parameter.
7890
8d28cb95
SM
78912011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7892
94ab793f
SM
7893 * faces.el (face-list): Fix docstring (bug#9564).
7894
8d28cb95
SM
7895 * window.el (display-buffer--action-function-custom-type):
7896 Don't include internal functions in the Custom interface.
7897
3820edeb
JL
78982011-09-20 Juri Linkov <juri@jurta.org>
7899
7900 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7901 (Info-forward-node, Info-backward-node, Info-next-preorder)
7902 (Info-last-preorder): Use it. (Bug#9528)
7903
5147931d
JL
79042011-09-20 Juri Linkov <juri@jurta.org>
7905
7906 * info.el (Info-last-preorder): Visit last menu item only when
7907 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7908
cf499a1a
JD
79092011-09-20 Julien Danjou <julien@danjou.info>
7910
7911 * password-cache.el (password-cache-remove): Remove entries even if the
7912 value is nil, so that password with a nil value (negative caching) is
7913 possible to invalidate.
7914
f84e2fe2
LM
79152011-09-20 Lawrence Mitchell <wence@gmx.li>
7916
7917 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7918 all whitespace around breakpoint. (Bug#9553)
7919 (f90-find-breakpoint): Only break at whitespace inside a comment.
7920
78054a46
SM
79212011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7922
7923 * minibuffer.el (completion-file-name-table): Keep track of errors.
7924 (completion-table-with-predicate): Handle the case where pred1 is nil.
7925 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7926
345083b2
SM
79272011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7928
e24e27be
SM
7929 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7930 (debugger-return-value): Signal an error if the debugging context does
7931 not await any return value.
7932
345083b2
SM
7933 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7934 * image-mode.el (image-toggle-display-text)
7935 (image-toggle-display-image): Stay away from evil `intangible'.
7936
08d355e3
LL
79372011-09-19 Leo Liu <sdl.web@gmail.com>
7938
7939 * replace.el (occur-revert-arguments): Make it permanent-local.
7940 (occur-mode): Don't call font-lock-defontify.
7941
f01da43f
CY
79422011-09-19 Chong Yidong <cyd@stupidchicken.com>
7943
7944 * net/ldap.el (ldap-search-internal): Don't push empty search
7945 result (Bug#9508).
7946
b6072fa6
SM
79472011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7948
7949 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
7950
443d6696
MA
79512011-09-19 Michael Albinus <michael.albinus@gmx.de>
7952
7953 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
7954 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
7955
7cc6e154
JL
79562011-09-18 Juri Linkov <juri@jurta.org>
7957
7958 * buff-menu.el (Buffer-menu-mode-map):
7959 * dired.el (dired-mode-map):
7960 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
7961 (lisp-interaction-mode-map):
7962 * emacs-lisp/package.el (package-menu-mode-map):
7963 * epa.el (epa-key-list-mode-map):
7964 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
7965 (menu-bar-options-menu):
7966 * outline.el (outline-mode-menu-bar-map):
7967 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
7968 * vc/vc-dir.el (vc-dir-menu-map):
7969 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
7970 Capitalize non-function content words in menu item strings.
7971
7972 * dired.el (dired-mode-map): Add menu item for
7973 `image-dired-dired-toggle-marked-thumbs'.
7974
80302a81
JL
79752011-09-18 Juri Linkov <juri@jurta.org>
7976
7977 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
7978 to `isearch-case-fold-search' and restore its original value
7979 after the `isearch-mode' call.
7980
46c5cf66
JL
79812011-09-18 Juri Linkov <juri@jurta.org>
7982
7983 * progmodes/grep.el (grep-process-setup): Don't check code for 1
7984 because `zgrep' returns 1 for successful matches (bug#9226).
7985
d18b513b
JL
79862011-09-18 Juri Linkov <juri@jurta.org>
7987
7988 * info.el (Info-extract-menu-node-name): Check the second match
7989 for empty string (second test-case of bug#9528).
7990 (Info-last-preorder): Let-bind `Info-history' to nil to not add
7991 intermediate nodes to the history (first test-case of bug#9528).
7992
72753f87
JL
79932011-09-18 Juri Linkov <juri@jurta.org>
7994
7995 * info.el (Info-mode-syntax-table): New variable.
1154d12e 7996 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 7997
c9384295
JL
79982011-09-18 Juri Linkov <juri@jurta.org>
7999
1154d12e
JB
8000 * info.el (Info-file-supports-index-cookies):
8001 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8002 outputs one more line for long file names (bug#4142).
c9384295 8003
d473dce8
CY
80042011-09-18 Chong Yidong <cyd@stupidchicken.com>
8005
8006 * newcomment.el (comment-normalize-vars): If prompting for
8007 comment-start, set comment-start-skip too (Bug#8424).
8008
2176854d
JB
80092011-09-18 Johan Bockgård <bojohan@gnu.org>
8010
8011 * icomplete.el: Fix previous fix of Bug#5849.
8012 (icomplete-mode): Don't set completion-show-inline-help.
8013 (icomplete-minibuffer-setup): Set completion-show-inline-help
8014 locally during icompletion.
8015
3aace4e4
CY
80162011-09-18 Chong Yidong <cyd@stupidchicken.com>
8017
c940224f
CY
8018 * woman.el (woman2-process-escapes): Don't delete unrecognized
8019 escapes (Bug#7843).
8020
3aace4e4
CY
8021 * files.el (inhibit-first-line-modes-regexps): Add image files.
8022 (hack-local-variables-prop-line): Return nil for malformed
8023 prop-lines (Bug#9044).
8024
710dec63
MA
80252011-09-18 Michael Albinus <michael.albinus@gmx.de>
8026
8027 * net/tramp.el (top): Don't require 'shell.
8028 (tramp-methods): Fix docstring.
8029 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8030 Return complete remote file name. Handle "smb" case.
8031 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8032 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8033
8034 * net/tramp-compat.el (top): Require 'shell.
8035
8036 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8037 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8038 `tramp-current-host'.
8039 (tramp-get-remote-tmpdir): Remove.
8040
8041 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8042 `tramp-tmpdir' entries.
8043 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8044 (tramp-smb-handle-file-attributes): Ignore errors.
8045 (tramp-smb-wait-for-output): Check also for process end.
8046
5d5ac8ec
LMI
80472011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8048
8049 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8050 when sending QUIT (bug#9312).
8051
8c0f49f0
CY
80522011-09-17 Chong Yidong <cyd@stupidchicken.com>
8053
8054 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8055 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8056 occur-mode-display-occurrence.
8057 (occur-edit-mode): Add usage message.
8058 (occur-cease-edit): New command.
8059 (occur-after-change-function): Use text properties to find the
8060 position of the prefix text.
8061 (occur-engine): Set stickiness of prefix text properties.
8062
8f1383f7
GM
80632011-09-17 Glenn Morris <rgm@gnu.org>
8064
8065 * progmodes/etags.el (complete-tag):
8066 Fix call to completion-in-region. (Bug#9526)
8067
744ba0e3
JL
80682011-09-17 Juri Linkov <juri@jurta.org>
8069
8070 * textmodes/ispell.el (ispell-word): Add to the error message
8071 the word, ispell program name and current dictionary (bug#9121).
8072 (ispell-tex-arg-end): Capitalize "error" in the error message.
8073
d9bbf400
AS
80742011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8075
8076 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8077 check. (Bug#4251)
8078
8da11505
JL
80792011-09-17 Juri Linkov <juri@jurta.org>
8080
8081 * window.el (window-safe-min-height, window-safe-min-width):
8082 Fix typos (followup to bug#9522).
8083
a91adc7e
SJ
80842011-09-17 Sven Joachim <svenjoac@gmx.de>
8085
8086 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8087
064f328a
EZ
80882011-09-16 Eli Zaretskii <eliz@gnu.org>
8089
8090 * simple.el (line-move): If goal-column is set, move by logical
8091 lines, not by display lines. (Bug#971)
8092 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8093 to reflect the above change.
8094
e69df516
SM
80952011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8096
8097 * image.el (imagemagick-register-types): Use regexp-opt.
8098
cbb0f9ab
CY
80992011-09-15 Chong Yidong <cyd@stupidchicken.com>
8100
8101 * window.el (display-buffer-base-action): Rename from
8102 display-buffer-default-action. Make default value empty.
8103 (display-buffer-overriding-action): Convert to defvar.
8104 (display-buffer-fallback-action): New var.
8105
25322144
CY
81062011-09-15 Chong Yidong <cyd@stupidchicken.com>
8107
8108 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8109 declaration.
8110 (package--add-to-archive-contents): If there is a duplicate entry
8111 with an older version, remove it.
8112 (package-menu-mark-delete, package-menu-mark-install)
8113 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8114 (package-menu-mark-obsolete-for-deletion):
8115 Use package-menu-get-status instead of a regexp search.
25322144
CY
8116 (package-menu-get-status): Use tabulated-list-entry.
8117 (package-menu-mark-upgrades): New command.
d770725a 8118 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8119 (package-menu-execute): Do installation before deletion.
8120 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8121 instead of checking major-mode.
8122 (package-menu--find-upgrades): New function.
8123
7520339c
LMI
81242011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8125
8126 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8127 passwords in the log buffer.
65a046c4
LMI
8128 (smtpmail-process-filter): Update the process marker so that the
8129 "broken by peer" status message is inserted in the right place.
7520339c 8130
d3c30954
SM
81312011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8132
3fe48822
SM
8133 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8134 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8135 bibtex-completion-at-point-function.
8136 (bibtex-completion-at-point-function): Use them.
8137
1b8b3954
SM
8138 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8139
d3c30954
SM
8140 * mpc.el (mpc-constraints-tag-lookup): New function.
8141 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8142 also to browser "album|playlist".
8143
72779976
JL
81442011-09-14 Juri Linkov <juri@jurta.org>
8145
8146 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8147 (isearch-edit-string): Use length of `isearch-string' when
8148 `isearch-fail-pos' returns nil.
8149 (isearch-message): Remove duplicate code and call
8150 `isearch-fail-pos' with arg `t'.
8151
a0bf2bcd
CY
81522011-09-14 Chong Yidong <cyd@stupidchicken.com>
8153
17bb0a2d
CY
8154 * replace.el (occur-mode-goto-occurrence): Don't force using other
8155 window (Bug#9499).
8156
a0bf2bcd
CY
8157 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8158
f678e0b6
MR
81592011-09-14 Martin Rudalics <rudalics@gmx.at>
8160
8161 * window.el (display-buffer-window): Remove.
8162 (display-buffer-record-window): Use help-setup window parameter
8163 instead of variable display-buffer-window.
8164 (display-buffer-function, special-display-buffer-names)
8165 (special-display-function): Mention help-setup parameter instead
8166 of display-buffer-window in doc-string.
d3c30954
SM
8167 * help.el (help-window-setup): New argument help-window.
8168 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8169 Reword some messages.
8170 (with-help-window): Pass window used for displaying the buffer
8171 to help-window-setup. Don't set display-buffer-window.
8172
8e39b2e8
GM
81732011-09-13 Glenn Morris <rgm@gnu.org>
8174
8175 * emacs-lisp/debug.el (debugger-make-xrefs):
8176 Preserve point. (Bug#9462)
8177
85e9c04b
CY
81782011-09-13 Chong Yidong <cyd@stupidchicken.com>
8179
8180 * window.el (window-deletable-p): Use next-frame.
8181
1b36ed6a
MR
81822011-09-13 Martin Rudalics <rudalics@gmx.at>
8183
8184 * window.el (window-auto-delete): Remove.
8185 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8186 dedication and previous buffers.
1b36ed6a
MR
8187 (switch-to-prev-buffer): Don't delete window.
8188 (delete-windows-on): Delete a window's frame if and only if the
8189 window is dedicated.
8190 (replace-buffer-in-windows): Delete buffer's window or frame if
8191 and only if window is dedicated.
8192 (quit-window): Handle quit-restore as before last change.
4d61f28d 8193 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8194
ef8ef9fb
CY
81952011-09-13 Chong Yidong <cyd@stupidchicken.com>
8196
8197 * window.el (window-deletable-p): Never delete the last frame on a
8198 given terminal.
8199
b2cba41e
GM
82002011-09-13 Glenn Morris <rgm@gnu.org>
8201
8202 * help.el (describe-key-briefly): Copy previous standard-output change.
8203
51553db6 82042011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8205
8206 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8207
b7556719
GM
82082011-09-13 Glenn Morris <rgm@gnu.org>
8209
8210 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8211 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8212
64b51947
CY
82132011-09-12 Chong Yidong <cyd@stupidchicken.com>
8214
8215 * dired-aux.el (dired-mark-read-string): Don't return default
8216 value on empty input (Bug#9361).
8217 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8218 Omit initial minibuffer contents.
8219 (dired-do-chmod): Signal an error on empty input.
8220 (dired-mark-read-string): Don't return default on empty input.
8221
8222 * files.el (file-modes-symbolic-to-number): Doc fix.
8223
393a301e
SM
82242011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8225
8226 * international/mule-cmds.el (ucs-completions): Remove.
8227 (read-char-by-name): Use complete-with-action instead; add metadata.
8228
fa5660f9
CY
82292011-09-11 Chong Yidong <cyd@stupidchicken.com>
8230
8231 * window.el (display-buffer--action-function-custom-type)
8232 (display-buffer--action-custom-type): New vars.
8233 (display-buffer-alist, display-buffer-default-action)
8234 (display-buffer-overriding-action): Add defcustom types.
8235
4a592f66
CY
8236 * frame.el (delete-other-frames): Doc fix (Bug#276).
8237
73d56dbd
LMI
82382011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8239
8240 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8241
37ac18a3
CY
82422011-09-11 Chong Yidong <cyd@stupidchicken.com>
8243
8244 Change modes that used same-window-* vars to use switch-to-buffer.
8245
8246 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8247 Use switch-to-buffer.
8248
8249 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8250 (customize-browse, custom-buffer-create-other-window):
8251 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8252
8253 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8254 (Info-prev, Info-up, Info-speedbar-goto-node)
8255 (info-display-manual): Use switch-to-buffer.
8256 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8257
8258 * mail/sendmail.el (mail): Use switch-to-buffer.
8259 (mail-recover): Use switch-to-buffer-other-window.
8260
8261 * cmuscheme.el (run-scheme, switch-to-scheme):
8262 * ielm.el (ielm):
8263 * shell.el (shell):
8264 * net/rlogin.el (rlogin):
8265 * net/telnet.el (telnet, rsh):
8266 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8267
10195bd6
AS
82682011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8269
8270 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8271
b322f63a
LMI
82722011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273
39d7fed6
LMI
8274 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8275 so don't mention it (bug#9301).
ba5a81f1 8276 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8277
ee0e9f11
LMI
8278 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8279 match `x', `w32' and `ns', like the manual says (bug#9029).
8280
0b1c89c1 8281 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8282 (process-kill-buffer-query-function): Mention the buffer name in
8283 the query.
0b1c89c1 8284
77549ea8
LMI
8285 * image-mode.el (image-next-line): The line parameter is mandatory
8286 (bug#9258).
8287
803ef892
LMI
8288 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8289 which can be useful (bug#9301).
8290
12980837
LMI
8291 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8292
91054f8f
LMI
8293 * subr.el (match-string): Mention that the current buffer should
8294 be the same as the search was done in (bug#9282).
8295
b322f63a
LMI
8296 * facemenu.el: Disable the remove-* commands if the mark isn't
8297 active (bug#9162).
8298
3199b96f
CY
82992011-09-10 Chong Yidong <cyd@stupidchicken.com>
8300
8301 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8302 of display-buffer.
8303 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8304
8305 * replace.el (occur-mode-goto-occurrence)
8306 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8307 and display-buffer.
8308
8309 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8310 display-buffer.
8311
8312 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8313 special-display and same-window variables.
8314 (mail-other-window): Use switch-to-buffer-other-window.
8315 (mail-other-frame): USe switch-to-buffer-other-frame.
8316
393a301e
SM
8317 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8318 Use display-buffer-other-frame.
3199b96f
CY
8319 (gdb-display-gdb-buffer): Use pop-to-buffer.
8320
8321 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8322
8323 * progmodes/python.el: Don't set same-window-buffer-names.
8324
8325 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8326
8327 * window.el (display-buffer-alist): Add *Python*.
8328
8319e0bf
CY
83292011-09-10 Chong Yidong <cyd@stupidchicken.com>
8330
8331 * window.el (display-buffer-alist): Add entry for buffers
8332 previously handled same-window-*.
8333 (display-buffer-alist, display-buffer-default-action)
8334 (display-buffer-overriding-action): Mark as risky.
8335 (display-buffer-alist): Document action function changes.
8336 (display-buffer--same-window-action)
8337 (display-buffer--other-frame-action): New variables.
8338 (switch-to-buffer, display-buffer-other-frame): Use them.
8339 (display-buffer): Rename reuse-frame entry to reusable-frames.
8340 (display-buffer-reuse-selected-window): Function deleted.
8341 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8342 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8343 (display-buffer-special): New function.
8344 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8345 display-buffer-reuse-or-pop-window. Split off special-display
8346 part into display-buffer-special.
8347 (display-buffer-use-some-window): Don't perform any special
8348 pop-up-frames handling.
8349 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8350 (display-buffer--maybe-same-window): Rename from
0d3ff375 8351 display-buffer-maybe-same-window.
8319e0bf 8352
919a69aa
CY
8353 * info.el: Don't set same-window-regexps.
8354 (info-setup): New function.
8355 (info-other-window, info): Call it.
8356
8357 * cus-edit.el: Don't set same-window-regexps.
8358 (customize-group): New argument.
8359 (customize-group-other-window): Use it.
8360 (customize-face, customize-face-other-window): Likewise.
8361 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8362
8319e0bf
CY
8363 * net/rlogin.el:
8364 * net/telnet.el:
8365 * progmodes/gud.el: Don't set same-window-regexps.
8366
8367 * cmuscheme.el:
8368 * ielm.el:
8369 * shell.el:
8370 * mail/sendmail.el:
8371 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8372
25173000
JL
83732011-09-10 Juri Linkov <juri@jurta.org>
8374
8375 * isearch.el (isearch-edit-string): Remove obsolete mention of
8376 `C-w' (`isearch-yank-word-or-char') from docstring.
8377 (isearch-query-replace): Fix typo in docstring (bug#9466).
8378
056e44ef
JL
83792011-09-10 Juri Linkov <juri@jurta.org>
8380
8381 * paren.el (show-paren-function): Don't show escaped parens.
8382 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8383
c3760c17
EZ
83842011-09-10 Eli Zaretskii <eliz@gnu.org>
8385
8386 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8387 (mm-default-file-encoding): Remove autoload forms, they are
8388 replaced with autoload cookies in mml.el and mm-encode.el.
8389 (mail-add-attachment): New command.
8390 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8391 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8392 the doc string.
8393 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8394
fece895e
RT
83952011-09-10 Reuben Thomas <rrt@sc3d.org>
8396
e69df516
SM
8397 * simple.el (count-words-region): Use buffer if there's no region
8398 (bug#9429).
fece895e 8399
5e68ce4a
JL
84002011-09-09 Juri Linkov <juri@jurta.org>
8401
8402 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8403 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8404 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8405
0a6b9622
AM
84062011-09-09 Alan Mackenzie <acm@muc.de>
8407
8408 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8409 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8410
14a29deb
EZ
84112011-09-09 Eli Zaretskii <eliz@gnu.org>
8412
8413 Fix for Savannah bug#9392.
8414 * simple.el (mail-encode-mml): New defvar.
8415
8416 * mail/rmail.el (mail-encode-mml): Add a defvar.
8417 (rmail-enable-mime-composing): Default to t.
8418 (rmail-forward): Use MIME method of forwarding only if both
8419 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8420 Set mail-encode-mml non-nil if the MIME method was used.
8421
8422 * mail/sendmail.el (mml-to-mime): Add autoload form.
8423 (mail-encode-mml): Add a defvar.
8424 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8425 to nil.
8426 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8427 message through mml-to-mime, and reset mail-encode-mml to nil.
8428
28c45130
GM
84292011-09-09 Glenn Morris <rgm@gnu.org>
8430
8431 * woman.el (woman-if-body): When processing an .el block,
8432 do not delete the next .el block as well. (Bug#9447)
69f4b618 8433 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8434
9b1c252e
MR
84352011-09-08 Martin Rudalics <rudalics@gmx.at>
8436
8437 * window.el (window-deletable-p): Make sure window is live before
8438 invoking window-prev-buffers.
8439
567457e3
LL
84402011-09-08 Leo Liu <sdl.web@gmail.com>
8441
8442 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8443
97f05794
JL
84442011-09-08 Juri Linkov <juri@jurta.org>
8445
8446 * progmodes/compile.el (compilation-environment): Make it
8447 a defcustom (bug#8340).
8448
8b0874b5
MR
84492011-09-08 Martin Rudalics <rudalics@gmx.at>
8450
8451 * window.el (frame-auto-delete): Rename to window-auto-delete.
8452 Make it control auto-deletion of windows and/or frames.
8453 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8454 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8455 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8456 Rewrite handling of case when window/frame can be deleted.
8457 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8458 argument t. (Bug#9456)
8b0874b5 8459
4feb6e73
CY
84602011-09-07 Chong Yidong <cyd@stupidchicken.com>
8461
8462 * help-mode.el (help-mode): Restore autoload.
8463
91ab9c13
JL
84642011-09-07 Juri Linkov <juri@jurta.org>
8465
8466 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8467 `compilation-environment'. Set buffer-local
8468 `compilation-environment' to `thisenv' later after (funcall mode).
8469 (Bug#8340)
8470
8471 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8472 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8473 instead of replacing its value. (Bug#8340)
8474
0527e251
JL
84752011-09-07 Juri Linkov <juri@jurta.org>
8476
8477 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8478 based on text properties put by `grep-filter' instead of matching
8479 escape sequences.
8480 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8481 to the value of `grep-error-screen-columns' (bug#9438).
8482
249f792c
JL
84832011-09-07 Juri Linkov <juri@jurta.org>
8484
8485 * simple.el (next-error-highlight, next-error-highlight-no-select):
8486 Doc fix (bug#9432).
8487
ff7271b9
OT
84882011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8489
8490 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8491 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8492
183fc730
LL
84932011-09-07 Leo Liu <sdl.web@gmail.com>
8494
8495 * net/rcirc.el (rcirc-mode): Conditionally initialize
8496 rcirc-input-ring.
8497
77694924
SM
84982011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8499
8500 * emacs-lisp/find-func.el (find-function-C-source): Only set
8501 find-function-C-source-directory after checking that we found a source
8502 file there (bug#9440).
8503
d809b8eb
AM
85042011-09-06 Alan Mackenzie <acm@muc.de>
8505
8506 * isearch.el (isearch-other-meta-char): Wherever a key list is
8507 unread, "unread" the prefix arg, too. This fixes bug #8901.
8508
453de99f
OG
85092011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8510
8511 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8512
90439906
JL
85132011-09-05 Juri Linkov <juri@jurta.org>
8514
8515 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8516
f62bd846
JL
85172011-09-05 Juri Linkov <juri@jurta.org>
8518
8519 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8520 keeping point where processing of grep matches begins, and
8521 continue to delete remaining escape sequences from the same point.
8522 (grep-filter): Make leading zero optional in "0?1;31m" because
8523 git-grep emits "\033[1;31m" escape sequences unlike expected
8524 "\033[01;31m" as GNU Grep does (bug#9408).
8525 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8526
045820ec
JL
85272011-09-05 Juri Linkov <juri@jurta.org>
8528
8529 * subr.el (y-or-n-p): Capitalize "yes".
8530
f5e29b9b
MA
85312011-09-04 Michael Albinus <michael.albinus@gmx.de>
8532
8533 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8534 `tramp-cache-unload-hook' where appropriate.
8535 (tramp-methods): Rename `tramp-remote-sh' to
8536 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8537 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8538
8539 * net/tramp-sh.el (top): Don't require 'shell.
8540 (tramp-methods): Add `tramp-remote-shell' and
8541 `tramp-remote-shell-args' entries.
8542 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8543 (tramp-sh-handle-shell-command): Remove.
8544 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8545 Use `tramp-remote-shell'.
8546
2784c434
CY
85472011-09-03 Chong Yidong <cyd@stupidchicken.com>
8548
393a301e 8549 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8550 (sendmail-query-once): Save directly to send-mail-function.
8551 Update message-send-mail-function too.
8552
8553 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8554
464cdf56
CS
85552011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8556
8557 * progmodes/python.el (python-mode-map): Use correct function to
8558 start python interpreter from menu-bar (as reported by Geert
8559 Kloosterman).
8560 (inferior-python-mode-map): Fix typo.
393a301e 8561 (python-shell-map): Remove.
464cdf56 8562
d37e5c87
DD
85632011-09-03 Deniz Dogan <deniz@dogan.se>
8564
8565 * net/rcirc.el (rcirc-print): Simplify code for
8566 rcirc-scroll-show-maximum-output. There is no need to walk
8567 through all windows to find the right one.
8568
f3ada0ee
CS
85692011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8570
8571 * help.el (help-return-method): Doc fix.
8572
1f3c99ca
MR
85732011-09-03 Martin Rudalics <rudalics@gmx.at>
8574
8575 * window.el (window-deletable-p): Don't return a non-nil value
8576 when there's a buffer that was shown in the window before.
8577 (Bug#9419)
393a301e
SM
8578 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8579 Set window's previous buffers to nil.
1f3c99ca 8580
a3cf097f
EZ
85812011-09-03 Eli Zaretskii <eliz@gnu.org>
8582
8583 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8584 newline before and after the tag line, so it doesn't interfere
8585 with determining the paragraph direction of bidirectional text.
8586
3d03de90
LL
85872011-09-03 Leo Liu <sdl.web@gmail.com>
8588
8589 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8590
c3313451
CY
85912011-09-02 Chong Yidong <cyd@stupidchicken.com>
8592
393a301e 8593 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8594 (pop-to-buffer): Change interactive spec. Pass second argument
8595 directly to display-buffer.
8596 (display-buffer): Fix interactive spec. Use functionp to
8597 distinguish between a function and a list of functions.
8598
8599 * abbrev.el (edit-abbrevs):
8600 * arc-mode.el (archive-extract):
8601 * autoinsert.el (auto-insert):
8602 * bookmark.el (bookmark-bmenu-list):
8603 * files.el (find-file):
8604 * view.el (view-buffer):
8605 * progmodes/compile.el (compilation-goto-locus):
8606 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8607
89894cd8
CY
86082011-09-02 Chong Yidong <cyd@stupidchicken.com>
8609
8610 * window.el (display-buffer-alist): Doc fix.
8611 (display-buffer): Add docstring. Don't treat
8612 display-buffer-default specially.
8613 (display-buffer-reuse-selected-window)
8614 (display-buffer-same-window, display-buffer-maybe-same-window)
8615 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8616 (display-buffer-pop-up-window)
8617 (display-buffer-reuse-or-pop-window)
8618 (display-buffer-use-some-window): New functions.
8619 (display-buffer-default-action): Use them.
393a301e 8620 (display-buffer-default): Delete.
89894cd8
CY
8621 (pop-to-buffer-1): Fix choice of actions.
8622
ae0bc9fb
SM
86232011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8624
8625 * minibuffer.el (completion--insert-strings): Don't get confused by
8626 completion entries that end with an LF char.
8627
e9d90883
EZ
86282011-09-01 Eli Zaretskii <eliz@gnu.org>
8629
8630 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8631
437014c8
CY
86322011-09-01 Chong Yidong <cyd@stupidchicken.com>
8633
8634 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8635 (display-buffer-same-window, display-buffer-other-window):
8636 New functions.
437014c8
CY
8637 (pop-to-buffer-1): New function. Use the above.
8638 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8639 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8640
8641 * view.el (view-buffer-other-window, view-buffer-other-frame):
8642 Just use pop-to-buffer.
8643
a5e063d5
TV
86442011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8645
8646 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8647
793d32bb
WH
86482011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8649
8650 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8651
d65e4c15
RS
86522011-08-31 Richard Stallman <rms@gnu.org>
8653
8654 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8655 of the separation of rmail-view-buffer from rmail-buffer.
8656 If you say no to "replace original", the decrypt is in the
8657 view buffer. If you say yes, the decrypt goes into the
8658 rmail buffer also.
8659
f818cd2a
MR
86602011-08-31 Martin Rudalics <rudalics@gmx.at>
8661
8662 * window.el (display-buffer-window): Rewrite doc-string.
8663 (display-buffer-record-window): New function.
8664 (display-buffer-macro-specifiers)
8665 (display-buffer-even-window-sizes, display-buffer-set-height)
8666 (display-buffer-set-width, display-buffer-in-window)
8667 (display-buffer-reuse-window, display-buffer-split-specifiers)
8668 (display-buffer-side-specifiers, display-buffer-split-window-1)
8669 (display-buffer-split-window, display-buffer-split-atom-window)
8670 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8671 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8672 (display-buffer-other-window-means-other-frame)
8673 (display-buffer-normalize-special)
8674 (display-buffer-normalize-default)
8675 (display-buffer-normalize-argument)
8676 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8677 (display-buffer-normalize-specifiers, display-buffer-frame)
8678 (display-buffer-same-window, display-buffer-same-frame)
8679 (display-buffer-other-window)
8680 (display-buffer-same-frame-other-window)
8681 (display-buffer-other-frame, pop-to-buffer-same-window)
8682 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8683 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8684 (switch-to-buffer-same-frame)
8685 (switch-to-buffer-other-window-same-frame)
8686 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8687 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8688 (display-buffer-alist-set): Remove.
8689 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8690 (special-display-regexps, special-display-function):
8691 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8692 parameter.
8693 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8694 (special-display-frame-alist, special-display-popup-frame)
8695 (same-window-buffer-names, same-window-regexps, same-window-p)
8696 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8697 (split-window-preferred-function, split-height-threshold)
8698 (split-width-threshold, window-splittable-p)
8699 (split-window-sensibly, window--try-to-split-window)
8700 (window--frame-usable-p, even-window-heights)
8701 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8702 (window--display-buffer-2, display-buffer-other-frame):
8703 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8704 (display-buffer-default, display-buffer-assq-regexp): New functions.
8705 (display-buffer-alist): Rewrite doc-string.
8706 (display-buffer-default-action)
8707 (display-buffer-overriding-action): New variables.
8708 (display-buffer, switch-to-buffer): Rewrite.
8709 (pop-to-buffer): Restore Emacs 23 behavior but use
8710 window-normalize-buffer-to-display.
8711 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8712 Restore Emacs 23 behavior but use
8713 window-normalize-buffer-to-switch-to.
8714 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8715 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8716 Rewrite using Emacs 23 options.
f818cd2a 8717
5bc3b51d
MA
87182011-08-31 Michael Albinus <michael.albinus@gmx.de>
8719
8720 * net/tramp.el (tramp-root-regexp): Remove.
8721 (tramp-completion-file-name-regexp-unified)
8722 (tramp-completion-file-name-regexp-separate)
8723 (tramp-completion-file-name-regexp-url): Don't use leading volume
8724 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8725 (tramp-drop-volume-letter): Simplify definition.
8726 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8727
b1a4f8e1
SM
87282011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8729
8730 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8731 (bug#9356).
8732
5664fa7b
RT
87332011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8734
b1a4f8e1 8735 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8736
9a45d6c3
JL
87372011-08-29 Juri Linkov <juri@jurta.org>
8738
8739 * isearch.el (isearch-done): Don't display message "Mark saved"
8740 when arg `edit' is non-nil to prevent its flicker in the echo area.
8741
fb87e0fb
CY
87422011-08-28 Chong Yidong <cyd@stupidchicken.com>
8743
8744 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8745 obsolete packages for deletion.
8746
09ac1c2a
CS
87472011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8748
8749 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8750 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8751 view-mode from help-mode.
8752 (help-xref-override-view-map): Remove.
8753 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8754 view-mode is not used anymore.
8755
7a1ff57f
CY
87562011-08-28 Chong Yidong <cyd@stupidchicken.com>
8757
8758 * server.el (server-port): Doc fix.
8759
b9696605
CY
8760 * cus-theme.el (custom-theme-choose-mode): Inherit from
8761 special-mode (Bug#9124).
8762 (custom-theme-choose-mode-map): Add special-mode to parent.
8763
ef8cdf8c
AM
87642011-08-28 Alan Mackenzie <acm@muc.de>
8765
8766 * progmodes/cc-fonts.el
8767 (c-make-font-lock-BO-decl-search-function): New function.
8768 (c-basic-matchers-after - "Fontify the clauses after various
8769 keywords"): Extract the three keyword lists for the 3 erroneous
8770 constructs from the list of four, and use the new function above
8771 in place of an old one.
8772
27de4e20
DD
87732011-08-28 Deniz Dogan <deniz@dogan.se>
8774
8775 * net/rcirc.el (rcirc-insert-prev-input)
8776 (rcirc-insert-next-input): Remove unused argument.
8777
356a3681
SM
87782011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8779
8780 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8781
3fc9b218
AM
87822011-08-27 Alan Mackenzie <acm@muc.de>
8783
8784 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8785 handle function pointer parameters properly.
8786
538a061c
MR
87872011-08-27 Martin Rudalics <rudalics@gmx.at>
8788
8789 * window.el (display-buffer-reuse-window): Fix case where
8790 selected window was reused with non-nil OTHER-WINDOW argument.
8791 (Bug#9381)
8792
35b1c40c
DD
87932011-08-27 Deniz Dogan <deniz@dogan.se>
8794
8795 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8796 oftc's NickServ messages.
8797
2f6a3e79
GM
87982011-08-27 Glenn Morris <rgm@gnu.org>
8799
8800 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8801
7254299e
CY
88022011-08-26 Chong Yidong <cyd@stupidchicken.com>
8803
8804 * emacs-lisp/package.el (package-install): Call package-initialize
8805 if called interactively.
8806
f8ccf167
LL
88072011-08-26 Leo Liu <sdl.web@gmail.com>
8808
8809 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8810
3e8cd5ce
JL
88112011-08-25 Juri Linkov <juri@jurta.org>
8812
8813 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8814 `search-whitespace-regexp' (bug#9364).
8815
93eb7113
JL
88162011-08-25 Juri Linkov <juri@jurta.org>
8817
8818 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8819 `regexp-search-ring' to their global values to protect from
8820 updating by `read-from-minibuffer' (bug#9185).
8821
f65d1611
JL
88222011-08-25 Juri Linkov <juri@jurta.org>
8823
8824 * textmodes/ispell.el (ispell-command-loop): Add newline
8825 at the end of the "Use option `i'..." line.
8826
f1cf7a31
JL
88272011-08-25 Juri Linkov <juri@jurta.org>
8828
8829 * battery.el (display-battery-mode): If `battery-status-function'
8830 or `battery-mode-line-format' is nil, display the message and set
8831 `display-battery-mode' to nil (bug#9363).
8832
0c95fcf7
EZ
88332011-08-25 Eli Zaretskii <eliz@gnu.org>
8834
8835 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8836 bidi-string-mark-left-to-right; they are unnecessary now.
8837
a2ebe600
DD
88382011-08-25 Deniz Dogan <deniz@dogan.se>
8839
8840 * net/quickurl.el: Documentation typo fixes.
8841
e4ed06f1
CY
88422011-08-25 Chong Yidong <cyd@stupidchicken.com>
8843
8844 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8845
e5f1c99e
GM
88462011-08-25 Glenn Morris <rgm@gnu.org>
8847
b2948976
GM
8848 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8849
e5f1c99e
GM
8850 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8851 (smtpmail-via-smtp): Handle nil response from smtp.
8852
f22f4808
JL
88532011-08-24 Juri Linkov <juri@jurta.org>
8854
8855 * proced.el (proced-marked): Inherit from `error' instead of
8856 `font-lock-warning-face'.
8857
8858 * ibuffer.el (ibuffer-marked-face): Change default face from
8859 `font-lock-warning-face' to `warning'.
8860 (ibuffer-deletion-face): Change default face from
8861 `font-lock-type-face' to `error'.
8862
8863 * battery.el (battery-update): Use the face `error' instead of
8864 `font-lock-warning-face' (bug#6117).
8865
6a93965e
JL
88662011-08-24 Juri Linkov <juri@jurta.org>
8867
8868 * faces.el (success): Change face color from "Green3" to
8869 "ForestGreen" on light background (bug#9353).
8870
1ed43b09
CY
88712011-08-24 Chong Yidong <cyd@stupidchicken.com>
8872
5664fa7b
RT
8873 * window.el (quit-window): Rename from quit-restore-window.
8874 Use same arglist as old quit-window.
1ed43b09
CY
8875 (frame-auto-delete): Doc fix.
8876
8877 * view.el (view-mode-exit): Use quit-window.
8878
11dcdbb2
JL
88792011-08-24 Juri Linkov <juri@jurta.org>
8880
8881 * isearch.el (isearch-ring-adjust1): Start visiting previous
8882 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8883 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8884 for empty search string (when the last search string is reused
8885 automatically) to adjust the isearch ring to the last element and
8886 prepare the correct index for further M-p commands (bug#9185).
8887
de62b4df
KH
88882011-08-24 Kenichi Handa <handa@m17n.org>
8889
8890 * international/ucs-normalize.el: If decomposition property of
8891 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8892 nil.
8893 (nfd, nfkd): Likewise.
8894
963b492b
SM
88952011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8898 from process filters aren't reliably transmitted to the surrounding
8899 accept-process-output.
8900 (mpc-proc-check): New function.
8901 (mpc-proc-sync): Use it (bug#8293)
8902
93b6b5e1
SM
89032011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8906 Add compatibility functions (bug#9313).
8907
bca633fb
EZ
89082011-08-23 Eli Zaretskii <eliz@gnu.org>
8909
b177498a
EZ
8910 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8911
6df6ae42 8912 * international/uni-bidi.el: Regenerate.
bca633fb 8913
0902a04e
KH
89142011-08-23 Kenichi Handa <handa@m17n.org>
8915
8916 * international/charprop.el:
8917 * international/uni-bidi.el:
8918 * international/uni-category.el:
8919 * international/uni-combining.el:
8920 * international/uni-comment.el:
8921 * international/uni-decimal.el:
8922 * international/uni-decomposition.el:
8923 * international/uni-digit.el:
8924 * international/uni-lowercase.el:
8925 * international/uni-mirrored.el:
8926 * international/uni-name.el:
8927 * international/uni-numeric.el:
8928 * international/uni-old-name.el:
8929 * international/uni-titlecase.el:
8930 * international/uni-uppercase.el: Regenerate.
8931
3bbf23bc
MR
89322011-08-23 Martin Rudalics <rudalics@gmx.at>
8933
8934 * help.el (help-window-setup): Fix message displayed when other
8935 window is reused. (Bug#9341)
8936
b3fd59bd
SM
89372011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8938
1802e444
SM
8939 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8940 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8941
b3fd59bd
SM
8942 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
8943 Mark obsolete.
8944 * shell.el (shell-parse-pcomplete-arguments): New function.
8945 (shell-completion-vars): Use it instead (bug#9160).
8946
4eb61348
SM
89472011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8948
867cab74
SM
8949 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
8950 strings and comments (bug#9333).
8951
4eb61348
SM
8952 * emacs-lisp/debug.el (debug-arglist): New function.
8953 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
8954 (debug-on-entry-1): Handle interpreted closures (bug#9120).
8955
262a1439
JL
89562011-08-22 Juri Linkov <juri@jurta.org>
8957
56ee679c
JL
8958 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8959 Revert regexp that highlights output switches to its old
8960 pre-2010-10-28 value and remove one `?' from it (bug#9319).
8961
262a1439
JL
8962 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
8963 to check for empty output (bug#9226).
8964
f13f86fb
CY
89652011-08-22 Chong Yidong <cyd@stupidchicken.com>
8966
8967 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
8968 symbol-constituent as the default, as that stops font-lock from
8969 working properly (Bug#8843).
8970
c65c9622
LMI
89712011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8972
8973 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
8974 `coding-system-for-*' around the process open call to avoid
8975 auth-source side effects.
e7f2c178 8976 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
8977 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
8978 probe hangs.
c65c9622 8979
23a8a5ab
CY
89802011-08-21 Chong Yidong <cyd@stupidchicken.com>
8981
ff98b2dd
CY
8982 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
8983
23a8a5ab
CY
8984 * emacs-lisp/find-func.el (find-function-noselect): New arg
8985 lisp-only.
8986
8987 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
8988 signal an error for built-in functions (Bug#6664).
8989
f5e3c598
LMI
89902011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8991
8992 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
8993 (smtpmail-try-auth-methods): Use it.
8994
a3f2468a
CY
89952011-08-21 Chong Yidong <cyd@stupidchicken.com>
8996
2c34e8da
CY
8997 * font-lock.el (font-lock-fontify-region)
8998 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
8999 (font-lock-default-unfontify-buffer)
9000 (font-lock-default-fontify-region)
9001 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9002
b3fd59bd
SM
9003 * progmodes/compile.el (compilation-error-properties):
9004 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9005 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9006 `ant' regexp.
ee31aabc 9007
a3f2468a
CY
9008 * net/browse-url.el (browse-url-firefox): Don't call
9009 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9010
8e999f70
GM
90112011-08-20 Glenn Morris <rgm@gnu.org>
9012
c21a496a
GM
9013 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9014
59ee0542
GM
9015 * tutorial.el (tutorial--default-keys): Update some default bindings.
9016
8e999f70
GM
9017 * files.el (hack-local-variables): Fully ignore case for "mode:".
9018
e3715033
AM
90192011-08-20 Alan Mackenzie <acm@muc.de>
9020
9021 Resolve invalid use of a regexp in regexp-opt.
9022
4d61f28d
JB
9023 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9024 detection for a java annotation.
e3715033 9025
4d61f28d 9026 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9027 detection for a java annotation.
9028
4d61f28d
JB
9029 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9030 handling for java.
e3715033
AM
9031 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9032
04ed2e9c
CY
90332011-08-20 Chong Yidong <cyd@stupidchicken.com>
9034
9035 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9036 (Bug#9274).
9037
826cee64
AM
90382011-08-20 Alan Mackenzie <acm@muc.de>
9039
58179cce 9040 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9041 such a construct. Mainly for when jit-lock etc. starts a chunk
9042 here.
9043
58179cce 9044 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9045 variable.
58179cce 9046 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9047 c-make-font-lock-search-function.
9048 (c-make-font-lock-search-function): Use the above function.
9049 (c-make-font-lock-context-search-function): New function.
9050 (c-cpp-matchers): Enhance the preprocessor expression case with
9051 the above function
9052 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9053 which takes an expression.
9054
9055 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9056
13009bd8
MR
90572011-08-20 Martin Rudalics <rudalics@gmx.at>
9058
9059 * window.el (display-buffer-reuse-window)
9060 (display-buffer-pop-up-window): Don't reuse or split a side
9061 window.
9062
9234ff7f
GM
90632011-08-19 Glenn Morris <rgm@gnu.org>
9064
9065 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9066 Downcase "Mode:". (Bug#9331)
9234ff7f 9067
f635daa1
CY
90682011-08-18 Chong Yidong <cyd@stupidchicken.com>
9069
9070 * international/characters.el: Add L and R categories.
9071
9072 * subr.el (bidi-string-mark-left-to-right): Rename from
9073 string-mark-left-to-right. Use category search.
9074
9075 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9076
bc987f8b
JL
90772011-08-18 Juri Linkov <juri@jurta.org>
9078
9079 * faces.el (error, warning, success): New faces with definitions
9080 copied from old default values of `font-lock-warning-face',
9081 `compilation-warning', `compilation-info' (bug#6117).
9082
9083 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9084
9085 * progmodes/compile.el (compilation-error): Inherit from `error'.
9086 (compilation-warning): Inherit from `warning'.
9087 (compilation-info): Inherit from `success'.
9088
9089 * dired.el (dired-marked): Inherit from `warning'.
9090 (dired-flagged): Inherit from `error'.
9091
57173b96
LMI
90922011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9093
3e79eb87
LMI
9094 * mail/smtpmail.el (auth-source): Require to avoid problems with
9095 binding variables (bug#9298). Also clean up some unused
9096 autoloads.
9097
b3fd59bd
SM
9098 * net/network-stream.el (network-stream-open-starttls):
9099 Support using starttls.el without using gnutls-cli.
57173b96 9100
02b404de
JL
91012011-08-17 Juri Linkov <juri@jurta.org>
9102
9103 * progmodes/grep.el (rgrep): Handle the case when
9104 `grep-find-command' is a cons cell (bug#9278).
9105
8c9177f2
MR
91062011-08-17 Martin Rudalics <rudalics@gmx.at>
9107
9108 * window.el (display-buffer-pop-up-frame): Run frame creation
9109 function with BUFFER current (as special-display-popup-frame
9110 does). Reported by Drew Adams.
9111
3644a0ab
DU
91122011-08-17 Daiki Ueno <ueno@unixuser.org>
9113
9114 * epa-mail.el: Simplify GnuPG group expansion using
9115 epg-expand-group.
9116 (epa-mail-group-alist, epa-mail-group-modtime)
9117 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9118 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9119 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9120 Remove.
9121
5e617bc2 91222011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9123
9124 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9125
9c4aeabf
AM
91262011-08-16 Alan Mackenzie <acm@muc.de>
9127
9128 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9129 Correct, to avoid the inside of macros.
9130
3a99bf64
RS
91312011-08-16 Richard Stallman <rms@gnu.org>
9132
04963aa8
RS
9133 * epa-mail.el: Handle GnuPG group definitions.
9134 (epa-mail-group-alist, epa-mail-group-modtime)
9135 (epa-mail-gnupg-conf-file): New variables.
9136 (epa-mail-parse-groups, epa-mail-sync-groups)
9137 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9138 (epa-mail-expand-recipients): New functions.
9139 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9140
177549d0
RS
9141 * mail/rmail.el (rmail-epa-decrypt): New command.
9142
fe38beef
RS
9143 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9144 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9145 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9146 (epa-decrypt-armor-in-region): Make error message clearer.
9147
934eacb9
SM
91482011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9149
9150 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9151 and "a2b" to "ab" for `prefix'.
9152
d024fb4e
CY
91532011-08-14 Chong Yidong <cyd@stupidchicken.com>
9154
9155 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9156 filter groups.
de148fee
CY
9157 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9158 Fourquet (Bug#8804).
d024fb4e 9159
62f1ca49
JB
91602011-08-12 Juanma Barranquero <lekktu@gmail.com>
9161
9162 * startup.el (argi): Declare as global variable (bug#9275).
9163
9ccaaa4b
CY
91642011-08-12 Chong Yidong <cyd@stupidchicken.com>
9165
9166 * subr.el (string-mark-left-to-right): Search the entire string
9167 for RTL script, not just the terminating character. Doc fix.
9168
a3dae87a
SM
91692011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9170
6cd18349
SM
9171 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9172 New function.
9173 (js--regexp-literal, js-syntax-propertize-function): Remove.
9174 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9175 (js-mode-map): Don't rebind electric keys.
9176 (js-insert-and-indent): Remove.
9177 (js-mode): Setup electric-layout and electric-indent instead.
9178
a3dae87a
SM
9179 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9180
9d5cb631
DU
91812011-08-12 Daiki Ueno <ueno@unixuser.org>
9182
9183 * epa.el (epa-progress-callback-function): Fix the logic of
9184 displaying progress.
9185 * epa-file.el (epa-file-insert-file-contents): Make progress
9186 display more user-friendly.
9187 (epa-file-write-region): Ditto.
9188
3e26a4a2
CY
91892011-08-10 Chong Yidong <cyd@stupidchicken.com>
9190
9191 * subr.el (string-mark-left-to-right): New function.
9192
9193 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9194 Use string-mark-left-to-right.
9195 (list-buffers-noselect): Caller changed.
9196
a3dae87a
SM
9197 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9198 Use string-mark-left-to-right.
3e26a4a2
CY
9199 (tabulated-list-print): Recenter after moving point.
9200
ac8cf6e6
JL
92012011-08-10 Juri Linkov <juri@jurta.org>
9202
9203 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9204 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9205 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9206
8d96c9a4
CY
92072011-08-09 Chong Yidong <cyd@stupidchicken.com>
9208
9209 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9210 (Bug#7554).
9211
7be1c708 92122011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9213
9214 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9215 character. (Bug#6594)
9216
37e11a63
CY
92172011-08-08 Chong Yidong <cyd@stupidchicken.com>
9218
839dde57
CY
9219 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9220 (image-dired--with-db-file): New macro.
9221 (image-dired-write-tags, image-dired-remove-tag)
9222 (image-dired-create-gallery-lists, image-dired-write-comments)
9223 (image-dired-get-comment, image-dired-mark-tagged-files)
9224 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9225 (image-dired-gallery-generate): Use insert-file-contents.
9226
37e11a63
CY
9227 * time.el (display-time-world-list, display-time-world-display):
9228 * time-stamp.el (time-stamp-string):
9229 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9230 set-time-zone-rule (Bug#7337).
9231
0b4946c4
DU
92322011-08-08 Daiki Ueno <ueno@unixuser.org>
9233
9234 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9235 (epg-error-to-string, epg-errors-to-string): New function.
9236 (epg-wait-for-completion): Reverse errors list.
9237 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9238 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9239 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9240 (epg-sign-keys, epg-generate-key-from-file)
9241 (epg-generate-key-from-string): Format errors by using
9242 epg-errors-to-string (bug#9255).
9243 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9244
75bfc667
JL
92452011-08-07 Juri Linkov <juri@jurta.org>
9246
9247 * faces.el (list-faces-display): Remove extra angle bracket
9248 from `help-mode-map'.
9249
9250 * info.el (Info-history-toc-nodes): Doc fix.
9251
9252 * longlines.el (longlines-mode): Doc fix.
9253
673e08bb
SM
92542011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9255
4640dd88
SM
9256 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9257 of statements and in a few more cases (bug#9183).
9258
673e08bb
SM
9259 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9260 New functions.
9261 (cl-transform-lambda): Use them (bug#9239).
9262
89b3f019
MR
92632011-08-05 Martin Rudalics <rudalics@gmx.at>
9264
9265 * window.el (display-buffer-same-window)
9266 (display-buffer-same-frame, display-buffer-other-window)
9267 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9268 (pop-to-buffer-other-window)
9269 (pop-to-buffer-same-frame-other-window)
9270 (pop-to-buffer-other-frame): Make them defuns.
9271 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9272
640c8776
SM
92732011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * subr.el (make-composed-keymap): Move from C. Change calling
9276 convention, and improve docstring to bring attention to a subtle point.
9277 * minibuffer.el (completing-read-default): Adjust accordingly.
9278
63648a95
MA
92792011-08-03 Michael Albinus <michael.albinus@gmx.de>
9280
9281 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9282 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9283
9284 * net/trampver.el: Update release number.
9285
b796c9b7
SM
92862011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9287
9288 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9289 "in" (bug#9190).
9290
2239d7d5
LMI
92912011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9292
e07dd7c3
LMI
9293 * mail/sendmail.el (sendmail-query-once): Restore the current
9294 buffer after querying (bug#9074).
9295
0e6a2bd7
LMI
9296 * dired.el (dired-flagged): Use different faces for marked and
9297 flagged files (bug#6117).
9298
ce887515
LMI
9299 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9300 (bug#4433).
9301
92f2affc
LMI
9302 * ido.el (ido-mode): Switch off the message if called
9303 non-interactively.
9304
57d5aff0
LMI
9305 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9306 before 587, since it appears that that's more likely to work for
9307 more people.
9308
98cd6c18 9309 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9310 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9311 exist.
9312
b96dec83
LMI
9313 * info.el: Remove the `Info-beginning-of-buffer' function
9314 (bug#8325).
9315
b796c9b7
SM
9316 * net/network-stream.el (network-stream-open-starttls):
9317 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9318
d90e2ea0
MR
93192011-08-01 Martin Rudalics <rudalics@gmx.at>
9320
9321 * window.el (display-buffer-in-window): Don't set dedicated status
9322 of window here (Bug#9215).
9323 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9324 (display-buffer-pop-up-side-window)
b796c9b7 9325 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9326
cca09170
SM
93272011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9330 before binding generated-autoload-file.
9331
027b979c
DD
93322011-08-01 Deniz Dogan <deniz@dogan.se>
9333
9334 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9335
3c7ee4f3
MA
93362011-07-30 Michael Albinus <michael.albinus@gmx.de>
9337
9338 Sync with Tramp 2.2.2.
9339
9340 * net/trampver.el: Update release number.
9341
2cc8e51a
JL
93422011-07-30 Juri Linkov <juri@jurta.org>
9343
9344 * dired-aux.el (dired-touch-initial): Remove function.
9345 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9346 current time, and `default' to the last modification time of the
9347 current marked file (bug#6887).
9348
a514d856
JM
93492011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9350
9351 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9352 numeric argument to read-number (bug#9163).
a514d856 9353
8a7eddd7
MA
93542011-07-27 Michael Albinus <michael.albinus@gmx.de>
9355
9356 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9357 connection process, it could be nil.
9358
1ddd96f5
LL
93592011-07-27 Leo Liu <sdl.web@gmail.com>
9360
9361 Simplify url handling in rcirc-mode.
9362
9363 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9364 (rcirc-browse-url-at-mouse): Remove.
9365 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9366
b248a85d
AM
93672011-07-26 Alan Mackenzie <acm@muc.de>
9368
9369 Fontify bitfield declarations properly.
9370
9371 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9372 (c-symbol-chars): Now exported as a lang variable.
9373 (c-not-primitive-type-keywords): New lang variable.
9374
9375 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9376 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9377 parsed as a bitfield declaration.
b248a85d 9378
b796c9b7
SM
9379 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9380 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9381 (c-punctuation-in): New function.
9382 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9383 declarations properly.
9384
68575ab0
UJ
93852011-07-26 Ulf Jasper <ulf.jasper@web.de>
9386
9387 * calendar/icalendar.el (icalendar--all-events): Take care of
9388 multiple vcalendars in a single file.
b796c9b7 9389 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9390
0f0a88b9
DD
93912011-07-25 Deniz Dogan <deniz@dogan.se>
9392
9393 * image.el (insert-image): Clarifying docstring.
9394
0b3f36df
MA
93952011-07-24 Michael Albinus <michael.albinus@gmx.de>
9396
9397 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9398 `tramp-send-command-and-check' if there is no error.
9399 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9400
a9901f61
AM
94012011-07-22 Alan Mackenzie <acm@muc.de>
9402
9403 Prevent cc-langs.elc being loaded at run time.
9404
9405 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9406 cc-langs.
9407
4d61f28d 9408 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9409 "(require 'cc-langs)". Quote a form so it will evaluate at
9410 (cc-mode's) compilation time.
9411
11d074b2
MA
94122011-07-22 Michael Albinus <michael.albinus@gmx.de>
9413
9414 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9415 loading. (Bug#9114)
9416
938b94c8
MR
94172011-07-21 Martin Rudalics <rudalics@gmx.at>
9418
9419 * window.el (display-buffer-pop-up-window)
9420 (display-buffer-pop-up-side-window)
9421 (display-buffer-in-side-window): Call display-buffer-set-height
9422 and display-buffer-set-width after setting the new window's
b796c9b7 9423 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9424
bfa4f190
SS
94252011-07-20 Sam Steingold <sds@gnu.org>
9426
9427 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9428 (etags-tags-included-tables): Call `convert-standard-filename' on
9429 the file names contained in TAGS so that windows Emacs can handle
9430 TAGS files created by cygwin ctags.
9431
8ca42262
LMI
94322011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9433
9434 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9435 which apparently didn't work.
9436
5db2afd2 94372011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9438
5db2afd2
RW
9439 * proced.el (proced-send-signal): For *Marked Processes* buffer
9440 put point at beginning of buffer.
9441
92e15d10
SB
94422011-07-19 Stephen Berman <stephen.berman@gmx.net>
9443
9444 * proced.el (proced-format): Make header lines align with the text
9445 (bug#1779).
9446
1bfd59e5
LMI
94472011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9448
9449 * view.el (view-buffer): Allow running in `special' modes if we're
9450 visiting a file (bug#8615).
9451
f5aae37c
MR
94522011-07-19 Martin Rudalics <rudalics@gmx.at>
9453
9454 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9455 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9456 New functions.
f5aae37c
MR
9457 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9458 more accurately.
9459
bf2c1571
AM
94602011-07-18 Alan Mackenzie <acm@muc.de>
9461
9462 Fontify declarators properly when, e.g., a jit-lock chunk begins
9463 inside a declaration.
9464
9465 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9466
b796c9b7
SM
9467 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9468 New function.
bf2c1571
AM
9469 (c-complex-decl-matchers): Insert reference to
9470 c-font-lock-enclosing-decls.
9471
9472 * progmodes/cc-engine.el (c-backward-single-comment):
9473 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9474 to nil around calls to (forward-comment -1).
9475
4e190b80
LMI
94762011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477
12dc863d
LMI
9478 * image.el (put-image): Doc typo fix.
9479
a762e966
LMI
9480 * progmodes/etags.el (tags-search): Doc typo fix.
9481
4e190b80
LMI
9482 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9483 password if we get errors 550 to 554.
9484
f019fb21
LMI
94852011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9486
b796c9b7 9487 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9488
81746738
LMI
9489 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9490 indentation character (bug#6380).
9491
3ee3a1b5
LMI
9492 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9493
c82f64de
LMI
9494 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9495 to clarify what the problem is (bug#4291).
9496
f019fb21
LMI
9497 * simple.el (current-kill): Clarify what
9498 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9499 (auto-fill-mode): Document `auto-fill-function' in relation to
9500 `auto-fill-mode' (bug#2470).
f019fb21 9501
0794775d
LM
95022011-07-16 Lawrence Mitchell <wence@gmx.li>
9503
9504 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9505 method if slot is read-only (bug#9035).
9506
be39b8cc
MR
95072011-07-16 Martin Rudalics <rudalics@gmx.at>
9508
b796c9b7 9509 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9510 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9511 selected before, see discussion of (Bug#8615), (Bug#6954).
9512 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9513
6ccf7859
GM
95142011-07-15 Glenn Morris <rgm@gnu.org>
9515
9516 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9517 Respect help-form.
6ccf7859 9518
87e86684
LM
95192011-07-09 Lawrence Mitchell <wence@gmx.li>
9520
9521 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9522 (gnutls-negotiate): Use it.
9523
d6066239
LMI
95242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9525
b796c9b7
SM
9526 * net/gnutls.el (gnutls-negotiate):
9527 Upcase `gnutls-algorithm-priority'.
d6066239 9528
bd23ebc0
GM
95292011-07-15 Glenn Morris <rgm@gnu.org>
9530
c65bca65
GM
9531 * jka-compr.el (jka-compr-verbose): Move from here...
9532 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9533 Add missing :version tag.
9534 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9535
478615cc
LMI
95362011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9537
7b41decb
LMI
9538 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9539 (gnutls-negotiate): Use it.
9540
dbc44fcd
LMI
9541 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9542
06789f97
LMI
9543 * info.el (Info-beginning-of-buffer): New command.
9544 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9545 announcing `b' as the key (bug#8325).
ab896c37 9546 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9547
c39da690
LMI
9548 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9549
3aa5f34b
LMI
9550 * international/mule-cmds.el
9551 (describe-specified-language-support): Make the error message
9552 clearer (bug#8905).
9553
4bf0979f
LMI
9554 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9555
478615cc
LMI
9556 * isearch.el (isearch-barrier): Add a doc string, since it's
9557 mentioned in a function doc string (bug#8678).
9558
75c68aa1
MR
95592011-07-15 Martin Rudalics <rudalics@gmx.at>
9560
9561 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9562 buffer argument (Bug#9083) and self-identifying label argument.
9563
a7c33da2
GM
95642011-07-15 Glenn Morris <rgm@gnu.org>
9565
9566 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9567
2f5c6024
LMI
95682011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9569
9570 * man.el (Man-fontify-manpage): Fix message when formatting the
9571 man page (bug#7929).
9572
0bb23927 95732011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9574
9575 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9576 argument LRM; if non-nil, append an invisible LRM character to the
9577 buffer name.
9578 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9579 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9580 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9581 paragraph direction.
cce4b0a7 9582
621ef9ab
LMI
95832011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9584
d1583c48
LMI
9585 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9586 the man page name (bug#7929).
9587
6a57fb5f
LMI
9588 * image.el (put-image): Mention the `put-image' overlay property
9589 (bug#7834).
9590
d7956b14
LMI
9591 * scroll-bar.el (set-scroll-bar-mode): Mention that
9592 `scroll-bar-mode' lists the values (bug#7772).
9593
5b2d4a66
LMI
9594 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9595 command (bug#7729).
9596
7509a874
LMI
9597 * rect.el (apply-on-rectangle): Return the point after the last
9598 operation.
9599 (string-rectangle): Go to the point after the last operation
9600 (bug#7522).
9601
4fe74b19
LMI
9602 * printing.el (pr-toggle-region): Clarify the documentation
9603 slightly (bug#7493).
9604
b796c9b7
SM
9605 * time.el (display-time-update):
9606 Allow `display-time-mail-function' to return nil (bug#7158).
9607 Fix suggested by Detlev Zundel.
ab283561 9608
fc233c9d
LMI
9609 * vc/diff.el (diff): Clarify the order the file names are read
9610 (bug#7111).
9611
43f5740b
LMI
9612 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9613 the doc string (bug#7015).
9614
f2182a76
LMI
9615 * font-lock.el (font-lock-maximum-decoration): Mention what
9616 numeric levels mean (bug#6935).
9617
621ef9ab
LMI
9618 * startup.el (initial-buffer-choice): Don't mention the `none'
9619 selection, which is against policy.
9620
adc47434
MR
96212011-07-14 Martin Rudalics <rudalics@gmx.at>
9622
b796c9b7
SM
9623 * window.el (display-buffer-normalize-special):
9624 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9625
7e5bfb8f
EZ
96262011-07-14 Eli Zaretskii <eliz@gnu.org>
9627
9628 * subr.el (version<, version<=, version=): Mention "-CVS" and
9629 "-12345" alpha version numbers.
9630
27fa387a
CY
96312011-07-14 Chong Yidong <cyd@stupidchicken.com>
9632
9633 * bindings.el: Add advertised binding for set-mark-command
9634 (Bug#5772).
9635
8bdfa064
CY
96362011-07-14 Chong Yidong <cyd@stupidchicken.com>
9637
9638 * bindings.el (mode-line-other-buffer):
9639 * bookmark.el (bookmark-bmenu-2-window):
9640 * bs.el (bs-cycle-next, bs-cycle-previous):
9641 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9642 switch-to-buffer.
9643
9644 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9645 Delete.
8bdfa064 9646
5eba16a3
JB
96472011-07-14 Juanma Barranquero <lekktu@gmail.com>
9648
9649 * follow.el (follow-debug-message, follow-redisplay):
9650 * jka-cmpr-hook.el (with-auto-compression-mode):
9651 Fix typos in docstrings.
9652
15853710
LMI
96532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9654
a28e4607
LMI
9655 * subr.el (with-silent-modifications): Clarify somewhat what the
9656 macro inhibits (bug#6525).
9657
15853710
LMI
9658 * simple.el (eval-expression): Note what it does if called
9659 interactively (bug#6495).
9660
bee0fcef
CY
96612011-07-13 Chong Yidong <cyd@stupidchicken.com>
9662
b796c9b7
SM
9663 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9664 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9665
9666 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9667 Remove switch-to-buffer.
9668
58274504
LMI
96692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670
bd2fcc8d
LMI
9671 * files.el (make-directory): Clarify that an error will be raised
9672 if there's an error (bug#6397).
9673
0f04b32c
LMI
9674 * startup.el (initial-buffer-choice): Add `none' as a choice
9675 (bug#6234).
9676
465c5fc8
LMI
9677 * subr.el (add-hook): Clarify section about buffer-local hooks
9678 (bug#6218).
9679
58274504
LMI
9680 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9681
bead9a43
JB
96822011-07-13 Juanma Barranquero <lekktu@gmail.com>
9683
9684 * tabify.el (untabify): Preserve the current column so that point
9685 doesn't move (bug#6032).
9686
3af98a7b
LMI
96872011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9688
b796c9b7
SM
9689 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9690 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9691
6240145a
GM
96922011-07-13 Glenn Morris <rgm@gnu.org>
9693
9694 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9695 (dired-insert-directory): Give a message the first time
9696 if ls is found not to support --dired.
9697
1d8c2ccc
LMI
96982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9699
9700 * simple.el (toggle-truncate-lines): Clarify what is toggled
9701 (bug#5580). Text by Drew Adams.
9702
5fc4038e
CY
97032011-07-13 Chong Yidong <cyd@stupidchicken.com>
9704
9705 * simple.el (blink-matching-open): Make the error message from the
9706 last change less verbose.
9707
bf6012e5
DN
97082011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9709
9710 * font-lock.el (font-lock-comment-face): Use the high contrast
9711 "yellow" color for font-lock-comment-face on low color terminals
9712 using a dark background color (bug#4221).
9713
343c3b5a
LMI
97142011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9715
7e9505c5
LMI
9716 * dired.el (dired-insert-set-properties): Make the doc string
9717 reflect what it does now (bug#5325).
9718
c26fdcf5
LMI
9719 * simple.el (blink-matching-open): Say that we were unable to find
9720 the match within the limit, if we're limited (bug#5122).
9721
bb388cc5
LMI
9722 * international/mule-cmds.el (prefer-coding-system): Add an
9723 example (bug#4869).
9724
343c3b5a
LMI
9725 * progmodes/etags.el (tags-search): Document `file-list-form'
9726 (bug#4731).
9727
2a517d45
LM
97282011-07-13 Lawrence Mitchell <wence@gmx.li>
9729
9730 * net/browse-url.el (browse-url-default-browser)
9731 (browse-url-browser-function): Make the default browser choice a
9732 bit more logical (bug#4300). Also clean up the doc string.
9733
b6c78ef2
JB
97342011-07-13 Juanma Barranquero <lekktu@gmail.com>
9735
9736 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9737 binary endings (bug#4440).
9738
1c4dd947
LMI
97392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9740
a2014063
LMI
9741 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9742 which can be pretty annoying (bug#8971).
9743
9c9c2d88
LMI
9744 * jka-compr.el (jka-compr-verbose): New variable, and use
9745 throughout (bug#8971).
9746
1c4dd947
LMI
9747 * info.el (Info-find-file): Fall back on the installation
9748 directory if we can't find the info node anywhere else.
9749
a1c9f41b
SO
97502011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9751
9752 * vc/vc.el (vc-revert-file):
9753 Don't set file time-stamp in the past. (Bug#5181)
9754
536f3d36
LMI
97552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9756
7152b011
LMI
9757 * files.el (after-find-file): Give a better error message when
9758 trying to find a symlink that points to a file that doesn't exist
9759 (bug#4398).
9760
536f3d36
LMI
9761 * progmodes/cc-vars.el: Remove (probably) misleading comment
9762 (bug#4396).
9763
460c0fba
JB
97642011-07-12 Johan Bockgård <bojohan@gnu.org>
9765
9766 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9767
7a6bda45
CY
97682011-07-12 Chong Yidong <cyd@stupidchicken.com>
9769
9770 * mouse-sel.el: Hack restoring functionality, while keeping
9771 compatibility with 2010-07-03 changes to mouse selection.
9772 (mouse-sel-primary-overlay): New var.
9773 (mouse-sel-selection-alist): Use it.
9774 (mouse-sel-mode): Doc fix; remove points that are default features
9775 of mouse.el.
9776
c79598ef
JB
97772011-07-12 Johan Bockgård <bojohan@gnu.org>
9778
9779 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9780 Fix previous fix (bug#2490).
9781
ff8be6ef
RW
97822011-07-12 Roland Winkler <winkler@gnu.org>
9783
b796c9b7
SM
9784 * textmodes/bibtex.el (bibtex-initialize):
9785 Use pop-to-buffer-same-window.
ff8be6ef
RW
9786 (bibtex-search-entries): Fix interactive call.
9787
296ba3ee
LMI
97882011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9789
f5242a02 9790 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9791 Fontise bytecomp Error lines more correctly (bug#2490).
9792 Fix suggested by Johan Bockgård.
f5242a02 9793
296ba3ee
LMI
9794 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9795
9796 * dired-x.el (dired-guess-default): Use `delete-dups'.
9797
f69fd0d2
CY
97982011-07-12 Chong Yidong <cyd@stupidchicken.com>
9799
9800 * dired.el (dired-mark-prompt):
9801 * dired-aux.el (dired-read-shell-command): Doc fix.
9802
eab5dc07
LMI
98032011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804
b796c9b7
SM
9805 * mail/sendmail.el (sendmail-query-once):
9806 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9807 emacs -Q.
9808
9809 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9810
eab5dc07
LMI
9811 * cus-edit.el (custom-file): Take an optional no-error variable.
9812 (customize-save-variable): Set the variable, and give a warning if
9813 running under "emacs -q".
9814
a1e65d42
JB
98152011-07-11 Juanma Barranquero <lekktu@gmail.com>
9816
9817 * loadhist.el (unload-feature-special-hooks):
9818 Add `auto-coding-functions', `fill-nobreak-predicate' and
9819 `find-directory-functions' (bug#5327).
9820
1d52da10
LMI
98212011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9822
be958f1d
LMI
9823 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9824
5bedb26c
LMI
9825 * cus-edit.el (custom-guess-name-alist): -alist variables should
9826 use the `alist' type (bug#3120). Suggested by Drew Adams.
9827
1d52da10
LMI
9828 * printing.el: Add documentation to all the `pr-toggle-' commands.
9829
cd394be1 98302011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9831
9832 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9833 backends where it makes sense (bug#2623).
9834
dcc88d8a
LMI
98352011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9836
c3de9feb
LMI
9837 * dired-x.el (dired-guess-default): Remove duplicate shell command
9838 entries (bug#2028).
8a93078b 9839 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9840 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9841
dcc88d8a
LMI
9842 * subr.el (remove-duplicates): New conveniency function.
9843
505e3645
LMI
98442011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9845
9846 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9847 (bug#1526).
9848
98492011-07-10 Martin Rudalics <rudalics@gmx.at>
9850
9851 * window.el (display-buffer-normalize-default): Don't invert
9852 meaning of even-window-heights. Reported by Eli Zaretskii
9853 <eliz@gnu.org>.
9854
455e4fa1
BR
98552011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9856
9857 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9858
8e0bc3e9
CY
98592011-07-10 Chong Yidong <cyd@stupidchicken.com>
9860
9861 * window.el (display-buffer): Fix arguments to
9862 display-buffer-reuse-window in last change.
9863
fa7c3228
CY
9864 * faces.el (link): Use a less saturated blue on light backgrounds.
9865
9866 * startup.el (fancy-startup-text, fancy-about-text)
9867 (fancy-startup-tail): Use font-lock faces, for background safety.
9868
c0a7f300
BN
98692011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9870
b796c9b7
SM
9871 * emulation/viper-cmd.el (viper-change-state-to-vi):
9872 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9873
4dc2a129
MR
98742011-07-09 Martin Rudalics <rudalics@gmx.at>
9875
9876 * window.el (display-buffer-default-specifiers): Remove.
9877 (display-buffer-macro-specifiers): Remove default specifiers.
9878 (display-buffer-alist): Default to nil.
b796c9b7 9879 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9880 (display-buffer-pop-up-window): Allow splitting internal
9881 windows. Check whether a live window was created.
9882 (display-buffer-other-window-means-other-frame)
9883 (display-buffer-normalize-arguments): Rename to
9884 display-buffer-normalize-argument and rewrite. Set the
9885 other-window specifier.
9886 (display-buffer-normalize-special): New function.
9887 (display-buffer-normalize-options): Rename to
9888 display-buffer-normalize-default and rewrite.
9889 (display-buffer-normalize-options-inhibit): Remove.
9890 (display-buffer-normalize-specifiers): Rewrite.
9891 (display-buffer): Process other-window specifier and call
9892 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9893 more faithfully.
b796c9b7 9894 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9895 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9896 (display-buffer-in-window, display-buffer-alist-set):
9897 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9898 <tassilo@member.fsf.org>.
9899
2d43b8c9
LL
99002011-07-09 Leo Liu <sdl.web@gmail.com>
9901
9902 * register.el (insert-register): Restore accidental change on
9903 2011-06-26. (Bug#9028)
9904
7f9b7c53
GM
99052011-07-09 Glenn Morris <rgm@gnu.org>
9906
9907 * subr.el (remq): Handle the empty list. (Bug#9024)
9908
f042cfd8
AS
99092011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9910
9911 * mail/sendmail.el (send-mail-function): No longer delay custom
9912 initialization.
9913 * custom.el (custom-initialize-delay): Doc fix.
9914
856b2f11
SM
99152011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9916
9917 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9918
afae1d68
MA
99192011-07-08 Michael Albinus <michael.albinus@gmx.de>
9920
9921 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9922 human-friendly prompt.
9923
0757af94
SM
99242011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9925
9926 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9927 provided by a particular plugin.
9928
d760b731
LMI
99292011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9930
9931 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9932 save customizations (with "emacs -Q"), just set the variable
9933 instead of erroring out.
9934
9935 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9936
cd79ce90
JL
99372011-07-08 Juri Linkov <juri@jurta.org>
9938
9939 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9940 (archive-zip-update-case): Use 7z if found by `executable-find'.
9941 The order of searching the available programs is the same as in
9942 `archive-zip-extract' (bug#8968).
9943
14cc04aa
CY
99442011-07-07 Chong Yidong <cyd@stupidchicken.com>
9945
9946 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
9947 (menu-bar-options-menu): Tweak descriptions.
9948
0a1848ec
LMI
99492011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9950
9951 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
9952 menu items into verb phrases (bug#1421). Also refill to fit under
9953 80 columns.
9954
f5bd0689
CY
99552011-07-07 Chong Yidong <cyd@stupidchicken.com>
9956
538e85c6
CY
9957 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
9958 (Info-read-node-name): Doc fix (Bug#1084).
9959
f5bd0689
CY
9960 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
9961 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
9962 (end-of-sexp, beginning-of-sexp)
9963 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
9964 (forward-symbol, forward-same-syntax, word-at-point)
9965 (sentence-at-point): Doc fix (Bug#1144).
9966
56ec5115
LMI
99672011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
9968
f3f8e37f
LMI
9969 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
9970 should cover it (bug#1281).
9971
0757af94 9972 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 9973
e9fce1ac 9974 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
9975 negotiation fails, then possibly try again with a non-encrypted
9976 connection (bug#9017).
9977
56ec5115
LMI
9978 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
9979 be used.
9980
c2f9aec8
RS
99812011-07-07 Richard Stallman <rms@gnu.org>
9982
9983 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
9984 property, and handle its changed format.
9985 Look for the correct line number.
9986 Use file's line contents (but not past first =) to find
9987 correct line in message.
9988
ef7b981d 99892011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
9990
9991 * international/characters.el (build-unicode-category-table):
9992 Delete it.
0757af94 9993 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 9994
0757af94 9995 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
9996 to src/chartab.c.
9997 (get-char-code-property): Call unicode-property-table-internal to
9998 load a file. Call get-unicode-property-internal where necessary.
9999 (put-char-code-property): Call unicode-property-table-internal to
10000 load a file. Call put-unicode-property-internal where necessary.
10001 put-unicode-property-internal where necessary.
0757af94
SM
10002 (char-code-property-description):
10003 Call unicode-property-table-internal to load a file.
c805dec0
KH
10004
10005 * international/charprop.el:
10006 * international/uni-bidi.el:
10007 * international/uni-category.el:
10008 * international/uni-combining.el:
10009 * international/uni-comment.el:
10010 * international/uni-decimal.el:
10011 * international/uni-decomposition.el:
10012 * international/uni-digit.el:
10013 * international/uni-lowercase.el:
10014 * international/uni-mirrored.el:
10015 * international/uni-name.el:
10016 * international/uni-numeric.el:
10017 * international/uni-old-name.el:
10018 * international/uni-titlecase.el:
10019 * international/uni-uppercase.el: Regenerate.
10020
10021 * loadup.el: Load international/charprop.el before
10022 international/characters.
10023
e14b388a
CY
100242011-07-07 Chong Yidong <cyd@stupidchicken.com>
10025
10026 * window.el (next-buffer, previous-buffer): Signal an error if
10027 called from a minibuffer window.
10028
10029 * bindings.el: Revert 2011-07-04 change.
10030
354cf0ba
RS
100312011-07-06 Richard Stallman <rms@gnu.org>
10032
10033 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10034 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10035 Treat markers like ints.
10036 (rmail-mime-entity): Doc fix.
10037
a48868a7
LMI
100382011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10039
4906cd3d
LMI
10040 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10041 defcustom again for backwards compatibility.
10042
e0457abe
LMI
10043 * simple.el (shell-command-on-region): Fill.
10044
d67f7e1f
LMI
10045 * dired-aux.el (dired-kill-line): Add a doc string.
10046
fe204702
LMI
10047 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10048 to "\\sw\\|\\s_" (bug#358).
10049
a48868a7
LMI
10050 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10051 (dired-unmark-backward): Ditto.
10052 (dired-flag-backup-files): Ditto.
10053
10054 * dired-x.el (dired-mark-sexp): Ditto.
10055
aa8a705c
RS
100562011-07-06 Richard Stallman <rms@gnu.org>
10057
10058 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10059 (rmail-mime-entity): New arg TRUNCATED.
10060 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10061 New functions.
10062 (rmail-mime-save): Warn if entity is truncated.
10063 (rmail-mime-toggle-hidden): Likewise, for showing.
10064 (rmail-mime-process-multipart): Record when an entity is truncated.
10065
a9a936b9
RS
10066 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10067 if ENTITY is a string.
10068
1f2b92cb
LMI
100692011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10070
f4f73198 10071 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10072 of faces when `M-C-x'-ing their definitions (bug#8378).
10073 Also clean up the code slightly.
f4f73198 10074
12b16734 10075 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10076 because that makes the colors go away.
12b16734 10077
f0691d22
LMI
10078 * mail/sendmail.el (send-mail-function): Change the default to
10079 `sendmail-query-once'.
9e87df06 10080 (sendmail-query-once): Add an autoload cookie.
f0691d22 10081
1f2b92cb
LMI
10082 * net/network-stream.el (network-stream-open-starttls): Try using
10083 a plain connection even if the server offered STARTTLS, and we
10084 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10085 capability. This should make smtpmail.el work in slightly more
10086 configurations.
10087
1cdd2a1b
MA
100882011-07-06 Michael Albinus <michael.albinus@gmx.de>
10089
10090 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10091 New defun.
10092 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10093
fbcc67e2
MM
100942011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10095
10096 * progmodes/sql.el: Version 3.0
0757af94 10097 (sql-product-alist): Add product :completion-object,
fbcc67e2 10098 :completion-column, and :statement attributes.
0757af94 10099 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10100 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10101 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10102 ansi keywords.
10103 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10104 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10105 (sql-oracle-show-reserved-words): New function for development.
10106 (sql-product-font-lock): Simplify for source code buffers.
10107 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10108 New functions.
10109 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10110 (sql-mode-map): Add statement movement functions.
10111 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10112 New variable.
fbcc67e2
MM
10113 (sql-statement-regexp, sql-beginning-of-statement)
10114 (sql-end-of-statement, sql-signum): New functions.
0757af94 10115 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10116 (sql-show-sqli-buffer): Bug fix.
10117 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10118 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10119 with sql-interactive-mode.
10120 (sql-save-connection): Save buffer local settings.
0757af94 10121 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10122 (sql-product-interactive): Bug fix.
10123 (sql-preoutput-hold): New variable.
10124 (sql-interactive-remove-continuation-prompt): Bug fixes.
10125 (sql-debug-redirect): New variable.
10126 (sql-str-literal): New function.
10127 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10128 Redesign.
fbcc67e2
MM
10129 (sql-oracle-save-settings, sql-oracle-restore-settings)
10130 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10131 (sql-completion-object, sql-completion-column)
10132 (sql-completion-sqlbuf): New variables.
10133 (sql-build-completions-1, sql-build-completions)
10134 (sql-try-completion): New functions.
10135 (sql-read-table-name): Use them.
10136 (sql-contains-names): New buffer local variable.
10137 (sql-list-all, sql-list-table): Use it.
10138 (sql-oracle-completion-types): New variable.
10139 (sql-oracle-completion-object, sql-sqlite-completion-object)
10140 (sql-postgres-completion-object): New functions.
10141
d4eaeab1
GM
101422011-07-06 Glenn Morris <rgm@gnu.org>
10143
10144 * window.el (pop-to-buffer): Doc fix.
10145
322b7dab 101462011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10147
10148 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10149
322b7dab 101502011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10151
322b7dab 10152 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10153
322b7dab 10154 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10155
605dd5bf
CY
101562011-07-05 Chong Yidong <cyd@stupidchicken.com>
10157
10158 * button.el (button): Inherit from link face. Suggested by Dan
10159 Nicolaescu.
10160
7dbfa719
SM
101612011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10162
3db614b0
SM
10163 * progmodes/gdb-mi.el: Fit in 80 columns.
10164 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10165 switch-to-buffer.
10166
7dbfa719
SM
10167 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10168 if imenu is simply not configured (bug#8941).
10169
919d884a
KM
101702011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10171
10172 * allout.el (allout-post-undo-hook): New allout outline-change
10173 event hook to signal undo activity.
10174 (allout-post-command-business): Run allout-post-undo-hook if an
10175 undo just occurred.
7dbfa719
SM
10176 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10177 * allout-widgets.el (allout-widgets-after-undo-function):
10178 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10179 in the vicinity of an undo.
10180 (allout-widgets-mode): Include allout-widgets-after-undo-function
10181 on the new allout-post-undo-hook.
10182
450a0f09
SM
101832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10184
10185 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10186 Let define-derived-mode define it.
10187 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10188 cycles of abbrev-table inheritance (bug#8998).
10189
2de69e00
RW
101902011-07-05 Roland Winkler <winkler@gnu.org>
10191
10192 * textmodes/bibtex.el: Add support for biblatex.
10193 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10194 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10195 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10196 (bibtex-entry-alist, bibtex-field-alist): New variables.
10197 (bibtex-entry-field-alist): Obsolete alias for
10198 bibtex-BibTeX-entry-alist.
10199 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10200 (bibtex-set-dialect): New command.
10201 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10202 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10203 Bind via bibtex-set-dialect.
2de69e00
RW
10204 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10205 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10206 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10207 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10208 Define via bibtex-set-dialect.
450a0f09
SM
10209 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10210 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10211 (bibtex-vec-push, bibtex-vec-incr): New functions.
10212 (bibtex-format-entry, bibtex-field-list)
10213 (bibtex-print-help-message, bibtex-validate)
10214 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10215
2dcdbdd9
SM
102162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * progmodes/compile.el (compilation-goto-locus):
10219 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10220 * bs.el (bs-cycle-next, bs-cycle-previous):
10221 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10222 * bindings.el (mode-line-other-buffer):
10223 * autoinsert.el (auto-insert):
10224 * arc-mode.el (archive-extract):
10225 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10226
b27640fe
JB
102272011-07-05 Juanma Barranquero <lekktu@gmail.com>
10228
10229 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10230 Fix check of `emacs-lock-unlockable-modes'.
10231 Coerce true values of `emacs-lock--try-unlocking' to t.
10232
53bbe3ad
JB
102332011-07-05 Juanma Barranquero <lekktu@gmail.com>
10234
10235 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10236 * emacs-lock.el: New file.
10237
1d3cdbc7
JD
102382011-07-05 Julien Danjou <julien@danjou.info>
10239
10240 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10241 than `boundp' to check if face is set.
10242
9173deec
JB
102432011-07-05 Juanma Barranquero <lekktu@gmail.com>
10244
10245 * register.el (registerv-make):
10246 * window.el (window-min-height): Fix typos in docstrings.
10247
869795d6
JD
102482011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10249
9173deec 10250 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10251 Update doc string.
10252
b768cdcd
JB
102532011-07-04 Juanma Barranquero <lekktu@gmail.com>
10254
10255 * server.el (server-execute): Catch quit and call
10256 `server-return-error' to pass the error back to emacsclient and
10257 close the connection (bug#8942).
10258
13aa217b
KM
102592011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10260
10261 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10262 insecure exception for current topic. Also note that auto-saves
10263 are handled differently.
10264
5d3385a0 10265 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10266 State variables for tracking auto-save inhibition situation.
10267
10268 (allout-write-contents-hook-handler): Rename from
10269 'allout-write-file-hook-handler', and describe how it depends on
10270 write-contents-functions sensitivity to non-nil value to prevent
10271 file write.
10272
10273 (allout-auto-save-hook-handler): Remove. auto-save does not check
10274 this in individual buffers, only in the starting buffer, so this
10275 is not the right way for us to inhibit auto-save in a buffer
10276 according to its condition.
10277
10278 (allout-mode): Use new allout-write-contents-hook-handler, and
10279 only with write-contents-functions. Remove auto-save provisions -
10280 they're implemented elsewhere.
10281
10282 (allout-before-change-handler): If undo is in progress, note that
10283 for attention of allout-post-command-business.
10284
10285 (allout-post-command-business): If the command we're following was
10286 an undo, check for change in the status of encrypted items and
10287 adjust auto-save inhibitions accordingly.
10288
10289 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10290 according to whether there are or aren't any plain-text topics
10291 pending encryption.
10292
2dcdbdd9 10293 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10294 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10295 if there are plain-text topics pending encryption.
13aa217b
KM
10296
10297 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10298 buffer-saved-size and some allout state to not inhibit auto-saves
10299 if there are no longer any plain-text topics pending encryption.
10300
0757af94
SM
10301 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10302 No longer provide for exemption of the current topic.
13aa217b 10303
ac89b32c
JL
103042011-07-04 Juri Linkov <juri@jurta.org>
10305
10306 Add 7z operations to delete and save changed members (bug#8968).
10307 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10308 New defcustoms.
10309 (archive-7z-write-file-member): New function.
10310 (archive-7z-summarize): Fix the number of dashes in the
10311 listing output.
10312
8fa39615
SM
103132011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10316 (bug#8958).
10317
2f11b3f1
CY
103182011-07-04 Chong Yidong <cyd@stupidchicken.com>
10319
d66fef2b
CY
10320 * bindings.el: Ignore next-buffer and previous-buffer in
10321 minibuffer-local-map.
10322
2f11b3f1
CY
10323 * font-lock.el (font-lock-builtin-face): Change light background
10324 color to dark slate blue (Bug#6693).
10325
f932a347
WD
103262011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10327
10328 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10329
c8af70e1
SM
103302011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10331
10332 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10333 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10334 Add switch-to-buffer.
10335
f158badc
LMI
103362011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10337
10338 * isearch.el (isearch-search-fun-function): Clarify further the
10339 meaning of the function returned.
10340
6d95bd46
MA
103412011-07-04 Michael Albinus <michael.albinus@gmx.de>
10342
10343 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10344
10345 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10346 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10347 Use it.
10348 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10349 `tramp-default-remote-path' does not exist.
10350 (tramp-send-command-and-read): New optional argument NOERROR.
10351 (tramp-open-connection-setup-interactive-shell)
10352 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10353 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10354 (tramp-process-sentinel): Flush also process' connection property.
10355 (tramp-sh-handle-start-file-process): Do not set process
10356 sentinel. It is done now ...
10357 (tramp-maybe-open-connection): ... here. (Bug#8929)
10358
909e6b67
MK
103592011-07-04 MON KEY <monkey@sandpframing.com>
10360
10361 * play/animate.el (animate-string): Doc fixes and allow changing
10362 the buffer name (bug#5417).
10363
103642011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10365
c8af70e1 10366 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10367
f34755dc
PE
103682011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10369
396cec72
PE
10370 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10371 This is simpler and helps future-proof the code.
10372 (timer-until): Use time-subtract and float-time.
08235028 10373 (timer--time-less-p): Use time-less-p.
f34755dc 10374
56e6cc31
JB
103752011-07-04 Juanma Barranquero <lekktu@gmail.com>
10376
3abb79e5
JB
10377 * type-break.el (timep): Use the value of `float-time' to avoid a
10378 byte-compiler warning.
10379
56e6cc31
JB
10380 * server.el (server-eval-and-print): Return any result, even nil.
10381
7b9430b4
PE
103822011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10383
10384 * type-break.el: Accept time formats that the builtins accept.
10385 (timep, type-break-time-difference): Accept any format that
10386 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10387 This is simpler and helps future-proof the code.
10388 (type-break-time-difference): Round rather than ignoring
10389 subseconds components.
10390
3034e9e7
LMI
103912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10392
10393 * info.el (Info-apropos-matches): Make non-interactive, since it
10394 doesn't seem to do anything useful as a command (bug#8829).
10395
1485f4c0
CY
103962011-07-03 Chong Yidong <cyd@stupidchicken.com>
10397
10398 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10399 Move from faces.el.
1485f4c0
CY
10400 (frame-default-terminal-background): New function.
10401
10402 * custom.el (custom-push-theme): Don't record faces in `changed'
10403 theme; this doesn't work correctly for per-frame face settings.
10404 (disable-theme): Use face-set-after-frame-default to reset faces.
10405 (custom--frame-color-default): New function.
10406
9fa3dd45
LMI
104072011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10408
c8af70e1 10409 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10410 (bug#8769).
10411
6cbbc20c
KR
104122011-03-29 Kevin Ryde <user42@zip.com.au>
10413
10414 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10415 `perl-Test2' extend to match possible "fail #N" rep count
10416 (bug#8377).
10417
c7f98048
LMI
104182011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10419
65676592
LMI
10420 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10421 `smtpmail-via-smtp' now returns the error instead of nil.
10422
c7f98048
LMI
10423 * isearch.el (isearch-search-fun-function): Clarify the doc string
10424 (bug#8101).
10425
56e6cc31 104262011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10427
10428 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10429 unnecessary spaces (bug#8987).
10430
2b216704
LMI
104312011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
10433 * net/network-stream.el (open-network-stream): Use the
10434 :end-of-capability command thoughout.
10435
104362011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10437
10438 * net/network-stream.el (open-network-stream): Add the
10439 :end-of-capability command parameter, used by pop3.el.
10440
36adf6ce
LMI
104412011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10442
1ca0da0e
LMI
10443 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10444
fc00f69c
LMI
10445 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10446 for list)" (bug#6475).
10447
28fd8759 10448 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10449 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10450 an error (bug#6297).
10451
0dd8b6da
LMI
10452 * man.el (Man-reference-regexp): Allow matching possible
10453 word-wrapped references (bug#6289).
10454
ce1438d6
LMI
10455 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10456 for consistency with the other vc buffers (bug#6197).
10457 (vc-checkin): Ditto.
10458
10459 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10460
36adf6ce
LMI
10461 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10462
e83cc1f7
LMI
104632011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10464
8a20ca4c
LMI
10465 * custom.el (defcustom): Clarify that :set is only used in the
10466 Customize user interface (bug#6089).
10467
83319045
LMI
10468 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10469 associated with a file, refuse to run instead of erroring out
10470 (bug#6084).
10471
a8392169
LMI
10472 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10473 the doc string, since it appears that using `fill-column' always
10474 controls the width (bug#7845).
10475
e83cc1f7
LMI
10476 * simple.el (shell-command-on-region): Say where the error output
10477 went if `shell-command-default-error-buffer' is set (bug#6857).
10478
e47ca23b
KM
104792011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10480
10481 * allout.el (allout-yank-processing): Adjust cursor position for
10482 backwards-deleted space.
10483
10484 (allout-rebullet-heading): Register changes with
10485 allout-exposure-changed-hook, so the modified topic is properly
10486 decorated.
10487
5cf56143
LMI
104882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10489
08549772
LMI
10490 * minibuffer.el (completion-in-region): Document PREDICATE
10491 (bug#7136).
10492
48e96771
LMI
10493 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10494 of keyword/argument pairs (bug#6904).
10495
c8af70e1
SM
10496 * replace.el (multi-occur):
10497 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10498
e17d05e2
LMI
104992011-07-02 Drew Adams <drew.adams@oracle.com>
10500
10501 * dired.el (dired-mark-if): Make the message about whether it's
10502 marking or unmarking clearer (bug#8523).
10503
063b0e45
LMI
105042011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10505
10506 * disp-table.el (display-table-print-array): New function.
10507 (describe-display-table): Use it to print the vectors more pretty
10508 (Bug#8859).
10509
28545e04
MR
105102011-07-02 Martin Rudalics <rudalics@gmx.at>
10511
10512 * window.el (window-state-get-1): Don't assign clone numbers.
10513 Add clone-of item to list of window parameters.
10514 (window-state-put-2): Don't process clone numbers.
10515 (display-buffer-alist): Fix doc-string.
10516
3349e122
SM
105172011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10518
10519 * subr.el (remq): Don't allocate if it's not needed.
10520 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10521 (keymap--merge-bindings): New functions.
10522 (keymap-canonicalize): Use them to refine the canonicalization.
10523 * minibuffer.el (minibuffer-local-completion-map)
10524 (minibuffer-local-must-match-map): Move initialization from C.
10525 (minibuffer-local-filename-completion-map): Move initialization from C;
10526 don't inherit from anything here.
10527 (minibuffer-local-filename-must-match-map): Make obsolete.
10528 (completing-read-default): Use make-composed-keymap to combine
10529 minibuffer-local-filename-completion-map with either
10530 minibuffer-local-must-match-map or
10531 minibuffer-local-filename-completion-map.
10532
d224ac83
GM
105332011-07-01 Glenn Morris <rgm@gnu.org>
10534
3de63bf8
GM
10535 * type-break.el (type-break-time-sum): Use dolist.
10536
d224ac83
GM
10537 * textmodes/flyspell.el (flyspell-word-search-backward):
10538 Replace CL function.
10539
1a1e3f32
SM
105402011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10541
fe3f64d5
SM
10542 * mouse.el (mouse--strip-first-event): New function.
10543 (function-key-map): Use it to map fringe clicks to normal clicks
10544 by default.
10545
eb604e34
SM
10546 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10547 (vc-bzr-revision-completion-table): Add support for annotate and date.
10548
1a1e3f32
SM
10549 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10550 inherit from parent.
10551
5bd35902
LMI
105522011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10553
ace6c69c 10554 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10555 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10556
191e2bed
LMI
10557 * dired.el (dired-mode): Fix up the doc string as suggested by
10558 Drew Adams (bug#8817).
10559
5bd35902
LMI
10560 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10561 cookie, since the manual says that it should be possible to add
10562 this function to `find-file-hook' (bug#8709).
10563
eee8207a
TZ
105642011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10565
10566 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10567 here. Noted Ted Zlatanov as the maintainer.
10568 (cfengine-common-settings, cfengine-common-syntax): New functions
10569 to set up common things between `cfengine-mode' and
10570 `cfengine3-mode'.
10571 (cfengine3-mode): New mode.
10572 (cfengine3-defuns cfengine3-defuns-regex
10573 (cfengine3-class-selector-regex cfengine3-category-regex)
10574 (cfengine3-vartypes cfengine3-font-lock-keywords)
10575 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10576 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10577
36b148cf
MA
105782011-07-01 Michael Albinus <michael.albinus@gmx.de>
10579
10580 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10581
10582 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10583
0bf4ba9a
MR
105842011-07-01 Martin Rudalics <rudalics@gmx.at>
10585
10586 * window.el (same-window-buffer-names, same-window-regexps)
10587 (same-window-p, special-display-frame-alist)
10588 (special-display-popup-frame, special-display-function)
10589 (special-display-buffer-names, special-display-regexps)
10590 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10591 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10592 (split-window-preferred-function, split-height-threshold)
10593 (split-width-threshold, even-window-heights)
10594 (display-buffer-mark-dedicated, window-splittable-p)
10595 (split-window-sensibly, window-safely-shrinkable-p):
10596 Un-obsolete.
10597 (display-buffer): Don't spread args with function specifier
10598 because special-display-popup-frame won't like it.
10599
35837f51
PE
106002011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10601
d0672f86
PE
10602 Time-stamp simplifications and fixes.
10603 These improve accuracy slightly, and future-proof the code
10604 against some potential changes to current-time format.
10605
b9444d97
PE
10606 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10607 by using time-since and float-time.
10608
0ef923dc
PE
10609 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10610 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10611 + NNN microseconds".
10612
2f81380d
PE
10613 * type-break.el (type-break-time-sum): Rewrite using time-add.
10614
845b5c3e
PE
10615 * play/hanoi.el (hanoi-current-time-float): Remove.
10616 All uses replaced by float-time.
10617
ee6f1be0
PE
10618 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10619 This yields a more-accurate answer.
10620 (rng-time-to-float): Remove; no longer needed.
10621
fe955043
PE
10622 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10623
5777162a
PE
10624 * calendar/timeclock.el (timeclock-seconds-to-time):
10625 Defalias to seconds-to-time, since they're the same thing.
10626
3103f8b6 10627 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10628 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10629 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10630
0e61a35f
SM
106312011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10632
10633 * window.el (bury-buffer): Don't iconify the only frame.
10634 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10635 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10636
ddd63a1e
CY
106372011-07-01 Chong Yidong <cyd@stupidchicken.com>
10638
0e61a35f
SM
10639 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10640 Add mouse-yank-primary.
ddd63a1e 10641
055f4923
TZ
106422011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10643
10644 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10645
6a2fb145
SM
106462011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10647
10648 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10649 (find-library-name): Use it to find relative load names when provided
10650 absolute file name (bug#8803).
10651
fd4983f2
LMI
106522011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10653
887d14ad
LMI
10654 * textmodes/flyspell.el (flyspell-word): Consider words that
10655 differ only in case as potential doublons (bug#5687).
10656
c53dc7fc
LMI
10657 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10658 Remove two rather uninteresting debugging-like messages to make
10659 debbugs.el more silent.
10660
fd4983f2
LMI
10661 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10662 a password-like phrase.
10663
7a71b18d 106642011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10665
10666 * progmodes/cc-guess.el: New file.
10667
6a2fb145 10668 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10669
10670 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10671 derived from `c-basic-common-init'.
10672
10673 * progmodes/cc-mode.el (top-level): Require cc-guess.
10674 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10675
1fa280a3
LM
106762011-06-30 Lawrence Mitchell <wence@gmx.li>
10677
10678 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10679
e6597158
AM
106802011-06-30 Alan Mackenzie <acm@muc.de>
10681
1fa280a3
LM
10682 * progmodes/cc-engine.el (c-guess-continued-construct):
10683 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10684 lock is disabled. Name this case as "CASE G".
10685
68ba37fb
KM
106862011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10687
10688 * allout.el (allout-yank-processing): Fix injection of extra space
10689 between bullet and non-whitespace character in first topic when
10690 pasting, ensuring that the actual spacing in the pasted topic
10691 following the bullet char is preserved. This extra space was
10692 causing pasted encrypted topics to get a decrypted status even
10693 when the content was actually still encrypted. Now the decryption
10694 status from before the paste is preserved.
10695
10696 (allout-flag-region): Set all allout overlays so they evaporate
10697 when reduced to zero length (evanescent), to prevent overlay
10698 leakage.
10699
887a0b34
GM
107002011-06-30 Glenn Morris <rgm@gnu.org>
10701
94b9acce
GM
10702 * w32-fns.el (w32-charset-info-alist): Declare.
10703
1d9b46d4
GM
10704 * find-dired.el (find-grep-options): Simplify.
10705
cc232200
GM
10706 * term/ns-win.el (ns-set-resource): Declare.
10707
28e77c46
GM
10708 * ses.el (row, col): Declare dynamic variables honestly.
10709
887a0b34
GM
10710 * textmodes/reftex-parse.el (index-tags): Declare.
10711
658d8eb8
CY
107122011-06-30 Chong Yidong <cyd@stupidchicken.com>
10713
10714 * cus-edit.el (customize-push-and-save): New function.
10715
10716 * files.el (hack-local-variables-confirm): Use it.
10717
1fa280a3
LM
10718 * custom.el (load-theme): New arg NO-CONFIRM.
10719 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10720 (custom-enabled-themes): Doc fix.
10721
10722 * cus-theme.el (customize-create-theme)
10723 (custom-theme-merge-theme): Callers to load-theme changed.
10724
bb617717
LMI
107252011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10726
d61bdd5d
LMI
10727 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10728 short URLs have at least one dot in them (bug #7614).
10729
bb617717
LMI
10730 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10731 nil, because using a pty is apparently too slow (bug #895).
10732
2f31f37a
LMI
107332011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10734
10735 * mail/sendmail.el (sendmail-query-once): New function.
10736 (sendmail-query-once-function): New variable.
10737
3076b24e
GM
107382011-06-29 Glenn Morris <rgm@gnu.org>
10739
faf2a174
GM
10740 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10741
3076b24e
GM
10742 * ses.el (top-level): Require cl when compiling.
10743 (ses-set-localvars): Fix error statement.
10744 Call it at compile time to silence a storm of warnings.
10745
5386012d
MR
107462011-06-29 Martin Rudalics <rudalics@gmx.at>
10747
10748 * window.el (normalize-live-buffer): Rename to
10749 window-normalize-buffer.
10750 (normalize-live-frame): Rename to window-normalize-frame.
10751 (normalize-any-window): Rename to window-normalize-any-window.
10752 (normalize-live-window): Rename to window-normalize-live-window.
10753 (make-window-atom): Rename to window-make-atom.
10754 (window-resize-reset): Rename to window--resize-reset.
10755 (window-resize-reset-1): Rename to window--resize-reset-1.
10756 (resize-mini-window): Rename to window--resize-mini-window.
10757 (resize-subwindows-skip-p): Rename to
10758 window--resize-subwindows-skip-p.
10759 (resize-subwindows-normal): Rename to
10760 window--resize-subwindows-normal.
10761 (resize-subwindows): Rename to window--resize-subwindows.
10762 (resize-other-windows): Rename to window--resize-siblings.
10763 (resize-this-window): Rename to window--resize-this-window.
10764 (resize-root-window): Rename to window--resize-root-window.
10765 (resize-root-window-vertically): Rename to
10766 window--resize-root-window-vertically.
10767 (normalize-buffer-to-display): Rename to
10768 window-normalize-buffer-to-display.
10769 (normalize-buffer-to-switch-to): Rename to
10770 window-normalize-buffer-to-switch-to.
10771 Correspondingly update all callers of the functions listed
10772 above.
10773 (display-buffer-alist, display-buffer-normalize-arguments)
10774 (display-buffer-normalize-options, display-buffer)
10775 (display-buffer-alist-set): Use "function" instead of
10776 "fun-with-args".
10777
1176868d
CY
107782011-06-28 Chong Yidong <cyd@stupidchicken.com>
10779
10780 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10781 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10782 debbugs.gnu.org. Mention acknowledgment email.
10783
20a7a65f
LMI
107842011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10785
10786 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10787 buffer multibyteness, since it shouldn't matter.
10788
5f45cca5
MR
107892011-06-28 Martin Rudalics <rudalics@gmx.at>
10790
10791 * window.el (display-buffer-in-side-window): Handle dedicated
10792 windows as in display-buffer-reuse-window.
10793 (display-buffer-normalize-alist): Use value of override
10794 specifier.
10795 (display-buffer-normalize-specifiers): Use value of
10796 other-window-means-other-frame specifier.
10797 (display-buffer-alist): Rewrite some texts in widgets.
10798 (display-buffer): Spread arguments when calling function
10799 specified by fun-with-args.
10800
ad85fe1f
DD
108012011-06-28 Deniz Dogan <deniz@dogan.se>
10802
1fa280a3
LM
10803 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10804 Unnest `let'.
da68c4c8 10805
ad85fe1f
DD
10806 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10807 selectors (Bug#5732).
ec49bd31 10808 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10809
a08cc025
JA
108102011-06-27 Jari Aalto <jari.aalto@cante.net>
10811
10812 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10813 (eshell-ls-date-format): New defcustom.
10814 (eshell-ls-file): Use it.
10815
e2b551c5
SM
108162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10817
10818 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10819
8982b231
KY
108202011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10821
10822 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10823 (ange-ftp-make-tmp-name): New arg.
10824 (ange-ftp-file-local-copy): Use it.
10825
36c9fa27
J
108262011-06-27 Jambunathan K <kjambunathan@gmail.com>
10827
10828 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10829 no-conversion (Bug#8870).
10830
d68443dc
MR
108312011-06-27 Martin Rudalics <rudalics@gmx.at>
10832
10833 * window.el (window-right, window-left, window-child)
10834 (window-child-count, window-last-child)
10835 (window-iso-combination-p, walk-window-tree-1)
10836 (window-atom-check-1, window-tree-1, delete-window)
10837 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10838 new naming conventions - window-vchild, window-hchild,
10839 window-next and window-prev are now called window-top-child,
10840 window-left-child, window-next-sibling and window-prev-sibling
10841 respectively.
d615d6d2
MR
10842 (resize-window-reset): Rename to window-resize-reset.
10843 (resize-window-reset-1): Rename to window-resize-reset-1.
10844 (resize-window): Rename to window-resize.
10845 (window-min-height, window-min-width)
10846 (resize-mini-window, resize-this-window, resize-root-window)
10847 (resize-root-window-vertically, adjust-window-trailing-edge)
10848 (enlarge-window, shrink-window, maximize-window)
10849 (minimize-window, delete-window, quit-restore-window)
10850 (split-window, balance-windows, balance-windows-area-adjust)
10851 (balance-windows-area, window-state-put-2)
10852 (display-buffer-even-window-sizes, display-buffer-set-height)
10853 (display-buffer-set-width, set-window-text-height)
10854 (fit-window-to-buffer): Rename all "resize-window" prefixed
10855 calls to use the "window-resize" prefix convention.
10856 (display-buffer-alist): Fix symbol for label specifier.
10857 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10858 corresponding specifier.
10859 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10860
b6458526
VB
108612011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10862
10863 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10864 convention.
10865 (ses-call-printer): Does not pass an empty string to formatter when the
10866 cell is empty to keep from barking printer Calc math-format-value.
10867
d31fd9ac
RS
108682011-06-27 Richard Stallman <rms@gnu.org>
10869
43d5bf84
RS
10870 * battery.el (battery-mode-line-limit): New variable.
10871 (battery-update): Handle it.
10872
d31fd9ac
RS
10873 * mail/rmailmm.el (rmail-mime-process-multipart):
10874 Handle truncated messages.
10875
819a6054
GM
108762011-06-27 Glenn Morris <rgm@gnu.org>
10877
10878 * progmodes/flymake.el (flymake-err-line-patterns):
10879 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10880
cedc73f2
VB
108812011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10882
819a6054 10883 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10884 (ses--clean-!, ses--clean-_): New functions.
10885 (ses-range): Add configurability of readout order, and conversion
10886 to Calc vector.
10887
5e5d49b6
VB
10888 * ses.el (ses-repair-cell-reference-all): New function.
10889 (ses-cell-symbol): Set macro as safe, so that it can be used in
10890 formulas.
10891
56e6cc31 10892 * ses.el: Update cycle detection algorithm.
90ca8b49 10893 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10894 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10895 (ses-set-localvars): New function.
10896 (ses-make-cell): Add property-list as a cell element.
10897 (ses-cell-property-get-fun, ses-cell-property-get)
10898 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10899 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10900 New functions.
90ca8b49
VB
10901 (ses-cell-property-set, ses-cell-property-pop)
10902 (ses-cell-property-get-handle): New macro.
10903 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10904 New aliases, used for code readability.
10905 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10906 cycle detection.
10907 (ses-self-reference-early-detection): New defcustom.
fac916bf 10908 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10909 (ses-mode): Use ses-set-localvars.
10910 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10911 before lauching the update processing.
10912 (ses-initialize-Dijkstra-attempt): New function.
10913 (ses-recalculate-cell): Update for cycle detection based on
10914 Dijkstra algorithm.
10915
2bb63e81
VB
10916 * ses.el: Fix commenting and indenting convention.
10917
c9d29fb8
SM
109182011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10919
10920 * bs.el (bs-cycle-next): Complete last change.
10921
d8e4b68b
JB
109222011-06-27 Drew Adams <drew.adams@oracle.com>
10923
10924 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10925
40098786
LMI
109262011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10927
c9d29fb8
SM
10928 * net/network-stream.el (network-stream-open-starttls):
10929 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10930 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10931
40098786
LMI
10932 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10933 to binary to possibly avoid line encoding issues on Windows (among
10934 other things).
10935
468d09d4
LMI
109362011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10937
10938 * net/network-stream.el (open-network-stream): Return an :error
10939 saying what the problem was, if possible.
10940
10941 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
10942 server.
10943
10944 * net/network-stream.el (network-stream-open-starttls): If we
10945 wanted to use STARTTLS, and the server offered it, but we weren't
10946 able to because we had no STARTTLS support, then close the connection.
10947 (open-network-stream): Return an :error element, if present.
10948
16f07dd7
CY
109492011-06-26 Chong Yidong <cyd@stupidchicken.com>
10950
88821ca0
CY
10951 * hl-line.el (hl-line-sticky-flag): Doc fix.
10952 (global-hl-line-sticky-flag): New option (Bug#8323).
10953 (global-hl-line-highlight): Obey it.
10954
16f07dd7
CY
10955 * vc/vc.el (vc-revert-show-diff): Default to t.
10956
6b5ccddf
KM
109572011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
10958
c9d29fb8
SM
10959 * allout-widgets.el (allout-widgets-post-command-business):
10960 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
10961 undecorated when an isearch is continued past, and isearch
10962 automatically collapses them. This leads to "widget leaks", where
10963 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
10964 hidden widgets can slow down cursor travel, substantially.
10965 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
10966 so we're doing without this nicety.
10967
10968 (allout-widgets-tally-string): Don't try to do a hash-table-count
10969 of allout-widgets-tally when it's nil. This eliminates spurious "Error
10970 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
10971 *Messages* when allout-widgets-maintain-tally is t.
10972
355f2e07
MR
109732011-06-26 Martin Rudalics <rudalics@gmx.at>
10974
10975 * window.el (display-buffer-normalize-argument): Rename to
10976 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
10977 LABEL argument. Respect special-display-function when popping up
10978 a new frame. Fix code searching for a window showing the buffer
10979 on another frame.
c9d29fb8
SM
10980 (display-buffer-normalize-specifiers):
10981 Call display-buffer-normalize-arguments.
355f2e07
MR
10982 (display-buffer-in-window): Don't undedicate the window if its
10983 buffer remains the same.
10984 Reported by Drew Adams <drew.adams@oracle.com>.
10985 (display-buffer-alist): Add choice for same-window macro
10986 specfier.
10987 (display-buffer): Mention special meaning of LABEL argument in
10988 doc-string. Fix quoting. Don't pop up a new frame even as
10989 fallback.
10990
7ca8fc42
JB
109912011-06-26 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
10994 avoid deleting the current window in some cases (bug#8911).
10995
bc312254
AS
109962011-06-26 Andreas Schwab <schwab@linux-m68k.org>
10997
10998 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
10999 (Bug#8934)
11000
2db18f3f
LMI
110012011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11002
c9d29fb8
SM
11003 * net/network-stream.el (network-stream-open-starttls):
11004 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11005 (network-stream-open-tls): Ditto.
11006
6302e0d3
LL
110072011-06-26 Leo Liu <sdl.web@gmail.com>
11008
11009 * register.el (registerv): New struct.
11010 (registerv-make): New function.
c9d29fb8
SM
11011 (jump-to-register, describe-register-1, insert-register):
11012 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11013 struct. (Bug#8415)
11014
5fdd4046
CY
110152011-06-26 Chong Yidong <cyd@stupidchicken.com>
11016
2afef60a
CY
11017 * vc/vc.el (vc-revert-show-diff): New defcustom.
11018 (vc-diff-internal): New arg specifying diff buffer.
11019 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11020 reuse an existing *vc-diff* buffer (Bug#8927).
11021
5fdd4046
CY
11022 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11023
e93db24a
GM
110242011-06-26 Glenn Morris <rgm@gnu.org>
11025
11026 * progmodes/f90.el (f90-critical-indent): New option.
11027 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11028 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11029 (f90-mode): Doc fix.
11030 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11031 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11032 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11033 (f90-match-end): Handle block, critical.
11034
eefff499
GM
110352011-06-25 Glenn Morris <rgm@gnu.org>
11036
f6ba4cc9
GM
11037 * calendar/diary-lib.el (diary-included-files): Doc fix.
11038 (diary-include-files): New function, extracted from
11039 diary-include-other-diary-files and diary-mark-included-diary-files.
11040 (diary-include-other-diary-files, diary-mark-included-diary-files):
11041 Just call diary-include-files.
11042 (diary-mark-entries): Reset diary-included-files on first call.
11043
16712304
GM
11044 * calendar/diary-lib.el (diary-mark-entries)
11045 (diary-mark-included-diary-files):
11046 Visit included diary-files in temp buffers.
11047
5d8e0d43
GM
11048 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11049 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11050 (f90-start-block-re, f90-imenu-generic-expression)
11051 (f90-looking-at-program-block-start, f90-no-block-limit):
11052 Add support for submodules.
11053
ccf7a5d5
GM
11054 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11055 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11056
11fdef7d 110572011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11058
11059 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11060 buffer-file-type before setting its value, to avoid disastrous
eefff499 11061 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11062
74f53697
JB
110632011-06-25 Juanma Barranquero <lekktu@gmail.com>
11064
11065 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11066
11067 * ses.el (ses-unload-function):
11068 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11069
11070 * proced.el (proced-unload-function):
11071 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11072
18a4ce5e
AR
110732011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11074
11075 * server.el (server-create-window-system-frame): Add parameters arg.
11076 (server-process-filter): Doc fix. Handle frame-parameters.
11077
519d22cc
JB
110782011-06-25 Juanma Barranquero <lekktu@gmail.com>
11079
11080 Fix bug#8730, bug#8781.
11081
11082 * loadhist.el (unload--set-major-mode): New function.
11083 (unload-feature): Use it.
11084
11085 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11086 (python-unload-function): New function.
11087
c206f5b0
SM
110882011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11089
11090 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11091
f9ad64f3
GS
110922011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11093
11094 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11095 the candidates list.
11096
7d0da90e
JB
110972011-06-24 Juanma Barranquero <lekktu@gmail.com>
11098
11099 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11100
14b4e83d
RS
111012011-06-23 Richard Stallman <rms@gnu.org>
11102
11103 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11104 (rmail-variables): Set next-error-move-function.
11105 (rmail-what-message): Take argument POS.
11106 (rmail-next-error-move): New function.
11107
273d2baf
SM
111082011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11109
11110 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11111 messages for adjacent non-terminals.
11112
56c2cc9a
RS
111132011-06-23 Richard Stallman <rms@gnu.org>
11114
11115 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11116 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11117 (rmail-start-mail): Don't specify use of rmail-mail-return;
11118 that's done by mail-bury now.
11119 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11120
d59eb518
MA
111212011-06-23 Michael Albinus <michael.albinus@gmx.de>
11122
11123 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11124 SIZE is a number.
11125
02cfc6d6
MR
111262011-06-23 Martin Rudalics <rudalics@gmx.at>
11127
11128 * window.el (get-lru-window, get-mru-window)
11129 (get-largest-window): Never return a minibuffer window.
11130 (display-buffer-pop-up-window): Fix a bug that could lead to
11131 reusing the minibuffer window.
11132 (display-buffer): Pass original specifier argument to
11133 display-buffer-function instead of the normalized one.
11134 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11135
4e323265
LL
111362011-06-22 Leo Liu <sdl.web@gmail.com>
11137
11138 * minibuffer.el (completing-read-function)
11139 (completing-read-default): Move from minibuf.c
11140
7a70468f
RS
111412011-06-22 Richard Stallman <rms@gnu.org>
11142
50718fc2
RS
11143 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11144 to Rmail even if not started by a special Rmail command.
11145
7a70468f
RS
11146 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11147 Copy the buffer currently showing just one message.
11148
297dde5a
RW
111492011-06-22 Roland Winkler <winkler@gnu.org>
11150
11151 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11152 (bibtex-clean-entry): First delete the old key so that a
11153 customized algorithm for generating the new key does not get
11154 confused by the old key.
11155 (bibtex-url): Obey regexp of first step.
11156 (bibtex-search-entries): Do not use add-to-list with local
11157 list-var.
11158
97bb1093
LMI
111592011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11160
11161 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11162 stored a user name, then query for the password first, instead of
11163 waiting for SMTP to give an error message and the trying again.
11164
1c0f1a19
JD
111652011-06-22 Lawrence Mitchell <wence@gmx.li>
11166
11167 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11168 BUFFER in call-process.
11169
396f7c9d
LMI
111702011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11171
11172 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11173 QUIT twice.
ddb7ffee
LMI
11174 (smtpmail-try-auth-methods): Require user name and password from
11175 auth-source.
396f7c9d 11176
8998d1b3
MR
111772011-06-22 Martin Rudalics <rudalics@gmx.at>
11178
11179 * window.el (display-buffer-default-specifiers)
11180 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11181 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11182 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11183
11184 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11185 (special-display-frame-alist, special-display-popup-frame):
11186 Remove duplicate declarations. These are now in window.el.
11187
4ea31e07
LMI
111882011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11189
c9d29fb8
SM
11190 * mail/smtpmail.el (smtpmail-via-smtp):
11191 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11192 server supports it. SMTP servers that support STARTTLS commonly
11193 require it.
11194
11195 * net/network-stream.el (network-stream-open-starttls): Support
11196 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11197 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11198
95f41d9a
LMI
11199 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11200 upgrades with `open-network-stream', and rely solely on
11201 auth-source for all credentials. Big changes throughout the file,
11202 but in particular:
c9d29fb8
SM
11203 (smtpmail-auth-credentials): Remove.
11204 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11205 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11206 MAIL FROM, too.
95f41d9a 11207
c9d29fb8
SM
11208 * net/network-stream.el (network-stream-open-starttls):
11209 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11210 STARTTLS.
11211 (auth-source): Require.
11212 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11213 (network-stream-certificate): Change cert-cert to cert and
11214 cert-key to key.
4ea31e07 11215
065ec2c7
MA
112162011-06-21 Michael Albinus <michael.albinus@gmx.de>
11217
11218 * net/tramp-cache.el (top): Don't load the persistency file when
11219 "emacs -Q" has been called.
11220
cd93b359
DR
112212011-06-21 Tim Harper <timcharper@gmail.com>
11222
d8e4b68b
JB
11223 * term/ns-win.el (ns-initialize-window-system):
11224 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11225 resource to NO as it is not yet supported by the NS port.
11226
ae9c0411
JB
112272011-06-21 Juanma Barranquero <lekktu@gmail.com>
11228
11229 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11230 (list-dynamic-libraries): ...not here.
11231
7f3f739f
LL
112322011-06-21 Leo Liu <sdl.web@gmail.com>
11233
11234 * subr.el (sha1): Implement sha1 using secure-hash.
11235
327c8fb1
MR
112362011-06-21 Martin Rudalics <rudalics@gmx.at>
11237
11238 * window.el (display-buffer-alist): In default value do not
11239 enforce searching a window on any but the selected frame.
11240 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11241 (display-buffer-select-window): Remove function.
11242 (display-buffer-in-window): When a window on another frame gets
11243 reused, do not select it any more but just raise its frame if
11244 necessary (Bug#8851) and (Bug#8856).
11245 (display-buffer-normalize-options): Handle pop-up-frames related
11246 options more faithfully.
11247 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11248 window if it is on another frame.
c9d29fb8
SM
11249 (display-buffer-alist, display-buffer-default-specifiers):
11250 Don't make new frame unsplittable by default.
9e9de014
MR
11251 (display-buffer-normalize-argument): Fix doc-string typo and use
11252 'same-frame-other-window instead of 'other-window when associating
11253 with display-buffer-macro-specifiers.
327c8fb1 11254
7cf3f556
VB
112552011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11256
11257 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11258 New functions.
11259 (5x5-mode-map, 5x5-mode-menu): Bind them.
11260 (5x5-draw-grid): Tweak the solver's rendering.
11261
60a406cf
SM
112622011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11263
11264 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11265 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11266
d8e4b68b 112672011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11268
11269 * menu-bar.el: Use function variable instead of switch-to-buffer.
11270 (menu-bar-select-buffer-function): New variable.
60a406cf 11271 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11272
478d6f95
SM
112732011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11274
11275 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11276 variable's status.
11277
ca530739
JD
112782011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11279
11280 * x-dnd.el (x-dnd-version-from-flags)
11281 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11282 and long as number (Bug#8899).
11283 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11284
bcd70d97
SM
112852011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11286
60a406cf 11287 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11288 (completion-try-completion, completion-all-completions): Compute the
11289 metadata argument if it's missing; make it optional (bug#8795).
11290
60a406cf 11291 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11292 (widget-complete): Use new :completion-function property.
11293 (widget-completions-at-point): New function.
11294 (default): Use :completion-function instead of :complete.
60a406cf
SM
11295 (widget-default-completions): Rename from widget-default-complete;
11296 Rewrite.
bcd70d97
SM
11297 (widget-string-complete, widget-file-complete, widget-color-complete):
11298 Remove functions.
11299 (file, symbol, function, variable, coding-system, color):
11300 * international/mule-cmds.el (default-input-method, charset)
11301 (language-info-custom-alist):
11302 * cus-edit.el (face): Use new property :completions.
11303
11304 * progmodes/pascal.el (pascal-completions-at-point): New function.
11305 (pascal-mode): Use it.
11306 (pascal-mode-map): Use completion-at-point.
11307 (pascal-toggle-completions): Make obsolete.
11308 (pascal-complete-word, pascal-show-completions):
11309 * progmodes/octave-mod.el (octave-complete-symbol):
11310 Redefine as obsolete alias.
11311 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11312 Signal absence of completion info for old Octave,
11313 (inferior-octave-complete): Redefine as obsolete alias.
11314 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11315 (meta-completions-at-point): Rename from meta-complete-symbol and
11316 adapt it for use on completion-at-point-functions.
11317 (meta-common-mode): Use it.
11318 (meta-looking-at-backward, meta-match-buffer): Remove.
11319 (meta-complete-symbol): Redefine as obsolete alias.
11320 (meta-common-mode-map): Use completion-at-point.
11321 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11322 (makefile-mode-map): Use completion-at-point.
11323 (makefile-completions-at-point): Rename from makefile-complete and
11324 adapt it for use on completion-at-point-functions.
11325 (makefile-mode): Use it.
11326 (makefile-complete): Redefine as obsolete alias.
11327
aebf69c8
DD
113282011-06-20 Deniz Dogan <deniz@dogan.se>
11329
11330 * net/rcirc.el: Delete trailing whitespaces once and for all.
11331
bfbbb27d
DC
113322011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11333
11334 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11335
d264a46b
CY
113362011-06-19 Chong Yidong <cyd@stupidchicken.com>
11337
4ca009e5
CY
11338 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11339
d264a46b
CY
11340 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11341
fbf5b3ce
MR
113422011-06-19 Martin Rudalics <rudalics@gmx.at>
11343
11344 * window.el (display-buffer-other-window-means-other-frame):
11345 Call display-buffer-normalize-alist.
11346 (display-buffer-normalize-specifiers-1): Rename to
11347 display-buffer-normalize-argument. New argument other-frame.
11348 Rewrite.
11349 (display-buffer-normalize-specifiers-2): Rename to
11350 display-buffer-normalize-options.
11351 (display-buffer-normalize-alist-1): New function.
11352 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11353 display-buffer-normalize-alist.
11354 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11355 (display-buffer-normalize-options-inhibit): New variable.
11356 (display-buffer-normalize-specifiers): Rewrite calling
11357 display-buffer-normalize-alist,
11358 display-buffer-normalize-argument, and
11359 display-buffer-normalize-options. Don't call the latter if
11360 display-buffer-normalize-options-inhibit is non-nil.
11361 (frame-auto-delete): New option.
11362 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11363 (window-list-no-nils, window-state-ignored-parameters)
11364 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11365 (window-state-put-1, window-state-put-2, window-state-put):
11366 New functions.
9a028c23
MR
11367 (display-buffer-normalize-options): Move special-display-p group
11368 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11369
6d10d800
CY
113702011-06-18 Chong Yidong <cyd@stupidchicken.com>
11371
6420d28b
CY
11372 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11373 groups (Bug#8776).
11374 (rx-submatch-n): New function.
11375 (rx): Document it.
11376
ddb8b596
CY
11377 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11378 (Bug#8768).
11379
11380 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11381
77080289
CY
11382 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11383
61dfb316
CY
11384 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11385 anytime existing face settings are present (Bug#8889).
11386
6d10d800
CY
11387 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11388 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11389 Remove unused argument.
11390
be3fb2b8
MR
113912011-06-18 Martin Rudalics <rudalics@gmx.at>
11392
bcd70d97
SM
11393 * window.el (display-buffer-default-specifiers):
11394 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11395 pop-up-window-min-width, and another reuse-window specifier
11396 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11397 (display-buffer-normalize-specifiers-2):
11398 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11399 pop-up-windows is unset. Add a reuse-window specifier for the
11400 case popping up a new window fails.
11401 (special-display-popup-frame): Remove double quoting.
28dec25a 11402 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11403
1c6d8c76
SM
114042011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11405
11406 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11407 according to comint-completion-addsuffix.
11408
11409 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11410 (pcomplete-suffix-list): Mark as obsolete.
11411 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11412 pcomplete-seen in the closure.
11413 (pcomplete-comint-setup): Setup completion-at-point as well.
11414 (pcomplete--entries): New function.
11415 (pcomplete--env-regexp): New var.
11416 (pcomplete-entries): Rewrite to work with partial-completion and
11417 without relying on pcomplete-suffix-list.
11418 (pcomplete-pare-list): Remove, unused.
11419
25aef8b8
MR
114202011-06-17 Martin Rudalics <rudalics@gmx.at>
11421
11422 * window.el (display-buffer-alist): Set pop-up-window-min-height
11423 and pop-up-window-min-width in default value. Reported by
11424 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11425 other-window-means-other-frame.
11426 (display-buffer-macro-specifiers): Comment out entry for
11427 other-window specifier.
11428 (display-buffer-other-window-means-other-frame): New function.
11429 (display-buffer-normalize-specifiers-1): New arguments
11430 buffer-name and label. Treat other-window case specially.
11431 (display-buffer-normalize-specifiers-2): Treat other-window case
11432 specially.
11433 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11434 (display-buffer-normalize-specifiers):
11435 Call display-buffer-normalize-specifiers-3.
25aef8b8 11436
dbad4f69
MR
114372011-06-17 Martin Rudalics <rudalics@gmx.at>
11438
11439 * window.el (same-window-p): Fix two typos introduced when
11440 adding with-no-warnings.
d1067961
MR
11441 (display-buffer-normalize-specifiers-1): Don't check
11442 pop-up-frames for 'unset initialization.
11443 (display-buffer-normalize-specifiers-2): Major rewrite using
11444 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11445 (pop-up-frames, display-buffer-reuse-frames)
11446 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11447 Suggested by David Engster <deng@randomsample.de>.
11448 (even-window-heights): Initialize to 'unset.
11449 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11450 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11451 other window case.
dbad4f69 11452
9b9c9e3a
MR
114532011-06-16 Martin Rudalics <rudalics@gmx.at>
11454
bcd70d97
SM
11455 * window.el (display-buffer-normalize-specifiers-1):
11456 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11457 second argument of display-buffer (Bug#8865).
981d5c09
MR
11458 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11459 (switch-to-buffer-other-window-same-frame)
11460 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11461 Adams (Bug#8875).
9c2755e9
MR
11462 (display-buffer): Don't check noninteractive when calling
11463 display-buffer-pop-up-frame.
11464 (display-buffer-pop-up-frame): Never pop up a frame in
11465 noninteractive mode (Bug#8857).
67222e1d
MR
11466 (enlarge-window, shrink-window): Don't report an error when the
11467 window can't be resized as requested (Bug#8862).
9b9c9e3a 11468
2b75be67
SM
114692011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11470
9ffdd3ba
SM
11471 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11472
cb581a67
SM
11473 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11474
2b75be67
SM
11475 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11476
8c0e3589
AM
114772011-06-15 Alan Mackenzie <acm@muc.de>
11478
cb581a67
SM
11479 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11480 for declarators, disable knr checking to speed up for normal files.
11481 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11482
b96e6cde
LMI
114832011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11484
4bba86e6
LMI
11485 * net/network-stream.el (open-network-stream): Add the keyword
11486 :always-query-capabilities for the case where you want to force a
11487 `plain' network connection, but the protocol still requires the
11488 capabilitiy command (i.e., SMTP and EHLO).
11489
2b75be67 11490 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11491 consistency with other `-live-p' functions.
11492
efdcdbf8
SM
114932011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11494
11495 * window.el (same-window-buffer-names, same-window-regexps)
11496 (special-display-frame-alist, special-display-popup-frame)
11497 (special-display-function, special-display-buffer-names)
11498 (special-display-regexps, pop-up-frame-alist)
11499 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11500 (pop-up-windows, split-window-preferred-function)
11501 (split-height-threshold, split-width-threshold, even-window-heights)
11502 (display-buffer-mark-dedicated): Don't encourage the use of
11503 display-buffer-alist from Elisp code.
11504
c5cde042
DN
115052011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11506
11507 * progmodes/python.el (python-mode): Derive from prog-mode.
11508 * progmodes/ps-mode.el (ps-mode):
11509 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11510 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11511 * progmodes/ld-script.el (ld-script-mode): Likewise.
11512
baa1c9ab
MR
115132011-06-15 Martin Rudalics <rudalics@gmx.at>
11514
11515 * window.el (display-buffer-alist): Trim default value to avoid
11516 popping up a new frame (Bug#8857) or reusing an arbitrary window
11517 on another frame.
11518 (display-buffer): Do not fall back on popping up a new frame in
11519 batch mode (Bug#8857).
11520
c5dd5a51
CY
115212011-06-14 Chong Yidong <cyd@stupidchicken.com>
11522
11523 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11524 (custom-theme-summary): New function.
11525 (customize-themes): Use it.
11526
d647b7c4
GM
115272011-06-13 Glenn Morris <rgm@gnu.org>
11528
11529 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11530
9481c002
MR
115312011-06-13 Martin Rudalics <rudalics@gmx.at>
11532
357f93d2
MR
11533 * help.el (help-window): Remove variable.
11534 (help-window-point-marker, temp-buffer-max-height)
11535 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11536 (help-print-return-message): Don't set help-window.
11537 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11538 (help-window-setup-finish): Remove.
11539 (help-window-display-message, help-window-setup)
11540 (with-help-window): Major rewrite based on new
11541 display-buffer-window variable.
11542
11543 * help-mode.el (help-mode-finish): Remove help-window related
11544 code.
11545
11546 * view.el (view-exits-all-viewing-windows): Remove reference to
11547 view-return-to-alist in doc-string.
11548 (view-return-to-alist): Make obsolete.
11549 (view-buffer): Call pop-to-buffer-same-window and remove
11550 undo-window code.
11551 (view-buffer-other-window): Call pop-to-buffer-other-window and
11552 simplify code. Ignore second argument.
11553 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11554 simplify code. Ignore second argument.
11555 (view-return-to-alist-update): Make obsolete.
11556 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11557 Rewrite using quit-restore window parameters.
2b75be67
SM
11558 (view-mode-exit): Rename second argument to EXIT-ONLY.
11559 Rewrite using quit-restore-window.
357f93d2
MR
11560 (View-exit, View-exit-and-edit, View-leave, View-quit)
11561 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11562 appropriate arguments.
11563 (view-end-message): Use quit-restore window parameter.
11564
9481c002
MR
11565 * window.el (display-buffer-function): Rewrite doc-string.
11566 (display-buffer-window, display-buffer-alist): New variables.
11567 (display-buffer-split-specifiers)
11568 (display-buffer-side-specifiers)
11569 (display-buffer-macro-specifiers): New constants.
11570 (display-buffer-even-window-sizes, display-buffer-set-height)
11571 (display-buffer-set-width, display-buffer-select-window)
11572 (display-buffer-in-window, display-buffer-reuse-window)
11573 (display-buffer-split-window-1, display-buffer-split-window)
11574 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11575 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11576 (display-buffer-in-side-window, normalize-buffer-to-display)
11577 (display-buffer-normalize-specifiers-1)
11578 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11579 (display-buffer-normalize-specifiers, display-buffer-frame):
11580 New functions.
9481c002
MR
11581 (display-buffer): Major rewrite.
11582 (display-buffer-other-window, display-buffer-other-frame)
11583 (pop-to-buffer, switch-to-buffer-other-window)
11584 (switch-to-buffer-other-frame): Rewrite.
11585 (display-buffer-same-window, display-buffer-same-frame)
11586 (display-buffer-same-frame-other-window)
11587 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11588 (pop-to-buffer-other-window)
11589 (pop-to-buffer-same-frame-other-window)
11590 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11591 (switch-to-buffer-other-window-same-frame): New functions.
11592 (same-window-p, special-display-p): Rewrite disabling warnings.
11593 Make obsolete.
11594 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11595 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11596 Make obsolete
11597 (same-window-buffer-names, same-window-regexps)
11598 (special-display-frame-alist, special-display-popup-frame)
11599 (special-display-function, special-display-buffer-names)
11600 (special-display-regexps, pop-up-frame-alist)
11601 (pop-up-frame-function, split-window-preferred-function)
11602 (split-height-threshold, split-width-threshold)
11603 (even-window-heights): Make obsolete.
11604
9db51aca
GM
116052011-06-12 Glenn Morris <rgm@gnu.org>
11606
11607 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11608 Misc simplifications.
9db51aca 11609
39cffb44
MR
116102011-06-12 Martin Rudalics <rudalics@gmx.at>
11611
11612 * window.el (window-safely-shrinkable-p): Restore function which
11613 was inadvertently removed in change from 2011-06-11. Declare as
11614 obsolete.
11615
2b75be67
SM
11616 * calendar/calendar.el (calendar-generate-window):
11617 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11618 window-safely-shrinkable-p.
11619
a8955be7
GM
116202011-06-12 Glenn Morris <rgm@gnu.org>
11621
11622 * progmodes/fortran.el (fortran-mode-syntax-table):
11623 * progmodes/f90.el (f90-mode-syntax-table):
11624 Set % to punctuation. (Bug#8820)
11625 (f90-find-tag-default): Remove, no longer needed.
11626
f0d4059d
DC
116272011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11628
11629 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11630
1100a63c
CY
116312011-06-11 Chong Yidong <cyd@stupidchicken.com>
11632
11633 * image.el (image-animated-p): Return animation delay in seconds.
11634 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11635 (image-animate-timeout): Remove DELAY argument. Don't assume
11636 every subimage has the same delay; get it from image-animated-p.
11637 (image-animate): Caller changed.
11638
def722bf
MA
116392011-06-11 Michael Albinus <michael.albinus@gmx.de>
11640
11641 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11642 to ignored backtrace functions.
11643
0a2bb1a9
GM
116442011-06-11 Glenn Morris <rgm@gnu.org>
11645
11646 * calendar/appt.el (appt-disp-window-function): Doc fix.
11647 (appt-check): Handle overlapping appointments. (Bug#8337)
11648
6198ccd0
MR
116492011-06-11 Martin Rudalics <rudalics@gmx.at>
11650
11651 * window.el (window-tree-1, window-tree): New functions, moving
11652 the latter to window.el.
11653 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11654 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11655 (bw-refresh-edges): Remove.
11656 (balance-windows-1, balance-windows-2): New functions.
11657 (balance-windows): Rewrite in terms of window tree functions,
11658 balance-windows-1 and balance-windows-2.
11659 (bw-adjust-window): Remove.
11660 (balance-windows-area-adjust): New function with functionality of
11661 bw-adjust-window but using resize-window.
2b75be67
SM
11662 (set-window-text-height): Rewrite doc-string.
11663 Use normalize-live-window and resize-window.
11664 (enlarge-window-horizontally, shrink-window-horizontally):
11665 Rename argument to DELTA.
6198ccd0
MR
11666 (window-buffer-height): New function.
11667 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11668 Rewrite using new window resize routines.
2b75be67
SM
11669 (kill-buffer-and-window, mouse-autoselect-window-select):
11670 Use ignore-errors instead of condition-case.
6198ccd0
MR
11671 (quit-window): Call delete-frame instead of delete-windows-on
11672 for the only buffer on frame.
11673
9397e56f
MR
116742011-06-10 Martin Rudalics <rudalics@gmx.at>
11675
11676 * loadup.el (top-level): Load window before files for the sake
11677 of replace-buffer-in-windows.
11678
11679 * files.el (read-buffer-to-switch)
11680 (switch-to-buffer-other-window)
2b75be67
SM
11681 (switch-to-buffer-other-frame, display-buffer-other-frame):
11682 Move to window.el.
9397e56f
MR
11683
11684 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11685 (previous-buffer): Move to window.el.
11686
11687 * bindings.el (unbury-buffer): Move to window.el.
11688
11689 * window.el (delete-other-windows-vertically): Move after
11690 definition of delete-other-windows.
11691 (other-window, delete-windows-on, replace-buffer-in-windows):
11692 Move here from window.c.
11693 (record-window-buffer, unrecord-window-buffer)
11694 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11695 (switch-to-next-buffer): New functions.
11696 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11697 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11698 (previous-buffer): Move here from simple.el.
11699 Call switch-to-prev-buffer.
9397e56f
MR
11700 (bury-buffer): Move here from buffer.c. Switch to previous
11701 buffer when window cannot be deleted.
11702 (unbury-buffer): Move here from bindings.el.
11703 (ctl-x-map): Move binding for other-window from window.c to
11704 here.
11705 (read-buffer-to-switch, switch-to-buffer-other-window)
11706 (switch-to-buffer-other-frame): Move here from files.el.
11707 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11708 (switch-to-buffer): Move here from buffer.c.
11709 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11710
562dd5e9
MR
117112011-06-10 Martin Rudalics <rudalics@gmx.at>
11712
11713 * window.el (window-min-height, window-min-width): Move here
11714 from window.c. Add defcustoms and rewrite doc-strings.
11715 (resize-mini-window, resize-window): New functions.
11716 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11717 Move here from window.c.
11718 (maximize-window, minimize-window): New functions.
11719 (delete-window, delete-other-windows, split-window): Move here
11720 from window.c.
11721 (window-split-min-size): New function.
11722 (split-window-keep-point): Mention split-window-above-each-other
11723 instead of split-window-vertically.
2b75be67 11724 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11725 Rename split-window-vertically to split-window-above-each-other
11726 and provide defalias for old definition.
11727 (split-window-side-by-side, split-window-horizontally):
11728 Rename split-window-horizontally to split-window-side-by-side
11729 and provide defalias for the old definition.
562dd5e9
MR
11730 (ctl-x-map): Move bindings for delete-window,
11731 delete-other-windows and enlarge-window here from window.c.
11732 Replace bindings for split-window-vertically and
11733 split-window-horizontally by bindings for
11734 split-window-above-each-other and split-window-side-by-side.
11735
11736 * cus-start.el (all): Remove entries for window-min-height and
11737 window-min-width. Add entries for window-splits and
11738 window-nest.
11739
f0da764a
GM
117402011-06-09 Glenn Morris <rgm@gnu.org>
11741
80675c21
GM
11742 * calendar/appt.el (appt-mode-line): New function.
11743 (appt-check, appt-disp-window): Use it.
11744
f0da764a
GM
11745 * files.el (hack-one-local-variable-eval-safep):
11746 Allow minor-modes with explicit +/-1 arguments.
11747
59f623b7
TZ
117482011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11749
11750 * term/xterm.el (xterm): Add defgroup.
11751 (xterm-extra-capabilities): Add defcustom to supply known xterm
11752 capabilities, skip querying them, or query them (default).
11753 (terminal-init-xterm): Use it.
11754 (terminal-init-xterm-modify-other-keys): New function to set up
11755 modifyOtherKeys support to simplify `terminal-init-xterm'.
11756
9aab8e0d
MR
117572011-06-09 Martin Rudalics <rudalics@gmx.at>
11758
11759 * window.el (resize-window-reset, resize-window-reset-1)
11760 (resize-subwindows-skip-p, resize-subwindows-normal)
11761 (resize-subwindows, resize-other-windows, resize-this-window)
11762 (resize-root-window, resize-root-window-vertically)
11763 (window-deletable-p, window-or-subwindow-p)
11764 (frame-root-window-p): New functions.
11765
e8b08aee
GM
117662011-06-09 Glenn Morris <rgm@gnu.org>
11767
11768 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11769 (ange-ftp-get-files): Use it.
11770
254c37a5
AK
117712011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11772
11773 * mail/sendmail.el (mail-recover-1, mail-recover):
11774 * files.el (recover-file, recover-session):
11775 Handle dired-listing-switches not being just a single short option.
11776
35d7dbd3
GM
117772011-06-09 Glenn Morris <rgm@gnu.org>
11778
11779 * calendar/appt.el (appt-display-message, appt-disp-window):
11780 Handle lists of appointments.
11781
387522b2
MR
117822011-06-08 Martin Rudalics <rudalics@gmx.at>
11783
2b75be67
SM
11784 * window.el (one-window-p): Move down in code.
11785 Rewrite doc-string.
11786 (window-current-scroll-bars): Rewrite doc-string.
11787 Normalize live window argument.
387522b2
MR
11788 (walk-windows, get-window-with-predicate, count-windows):
11789 Rewrite doc-string. Use window-list-1.
11790 (window-in-direction-2, window-in-direction, get-mru-window):
11791 New functions.
11792
d8e4b68b 117932011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11794
11795 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11796 Doc fix (Bug#8713).
11797
117982011-06-08 Chong Yidong <cyd@stupidchicken.com>
11799
11800 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11801
118022011-06-08 Juanma Barranquero <lekktu@gmail.com>
11803
11804 * loadhist.el (unload-feature-special-hooks):
11805 Add `comint-output-filter-functions'.
11806
0de12c52
IK
118072011-06-08 Ivan Kanis <gnu@kanis.fr>
11808
11809 * calendar/appt.el (appt-check): Move some initializations into the let.
11810
f3d1777e
MR
118112011-06-08 Martin Rudalics <rudalics@gmx.at>
11812
11813 * window.el (window-height): Defalias to window-total-height.
11814 (window-width): Defalias to window-body-width.
11815
18af70d0
CY
118162011-06-07 Chong Yidong <cyd@stupidchicken.com>
11817
11818 * image-mode.el (image-toggle-animation): New command.
11819 (image-mode-map): Bind it to RET.
11820 (image-mode): Update message.
11821 (image-toggle-display-image): Avoid a spurious cache flush.
11822 (image-transform-rotation): Doc fix.
11823 (image-transform-properties): Return quickly in the normal case.
11824 (image-animate-loop): Rename from image-animate-max-time.
11825
2b75be67 11826 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11827 (create-animated-image): Remove unnecessary function.
11828 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11829 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11830 (image-animate-timer): Use car-safe.
11831 (image-animate-timeout): Rename argument.
11832
190b47e6
MR
118332011-06-07 Martin Rudalics <rudalics@gmx.at>
11834
11835 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11836 window.c. Rename first argument to ALL-FRAMES.
11837 Rephrase doc-strings.
11838 (get-buffer-window-list): Rewrite using window-list-1.
11839 Rephrase doc-string.
a1511caf
MR
11840 (window-safe-min-height, window-safe-min-width): New constants.
11841 (window-size-ignore, window-min-size, window-min-size-1)
11842 (window-sizable, window-sizable-p, window-size-fixed-1)
11843 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11844 (window-max-delta-1, window-max-delta, window-resizable)
11845 (window-resizable-p, window-total-height, window-total-width)
11846 (window-body-width): New functions.
11847 (window-full-height-p, window-full-width-p): Rewrite using
11848 window-total-size.
11849 (window-body-height): Rewrite using window-body-size.
190b47e6 11850
85cc1f11
MR
118512011-06-06 Martin Rudalics <rudalics@gmx.at>
11852
11853 * window.el (window-right, window-left, window-child)
11854 (window-child-count, window-last-child, window-any-p)
11855 (normalize-live-buffer, normalize-live-frame)
11856 (normalize-any-window, normalize-live-window)
11857 (window-iso-combination-p, window-iso-combined-p)
11858 (window-iso-combinations)
11859 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11860 (windows-with-parameter, window-with-parameter)
11861 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11862 (window-atom-check, window-side-check, window-check):
11863 New functions.
85cc1f11
MR
11864 (ignore-window-parameters, window-sides, window-sides-vertical)
11865 (window-sides-slots): New variables.
11866 (window-size-fixed): Move down in code. Minor doc-string fix.
11867
e7156492
AS
118682011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11869
11870 * comint.el (comint-dynamic-complete-as-filename)
11871 (comint-dynamic-complete-filename): Correctly call
11872 completion-in-region.
11873
7e821d0d
DD
118742011-06-05 Deniz Dogan <deniz@dogan.se>
11875
11876 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11877 in last change.
11878
ac09b8a1
DD
118792011-06-05 Deniz Dogan <deniz@dogan.se>
11880
11881 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11882 (rcirc): Use it to prompt for encryption.
11883
34699b85
RW
118842011-06-05 Roland Winkler <winkler@gnu.org>
11885
11886 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11887 (bibtex-search-entries): New command bound to C-c C-a.
11888 (bibtex-display-entries): New function.
11889
004dedd3
RW
118902011-06-05 Roland Winkler <winkler@gnu.org>
11891
11892 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11893 (bibtex-insert-kill): After yanking insert newline if necessary.
11894 (bibtex-initialize): Call bibtex-string-files-init only once.
11895 (bibtex-mode): Do not call easy-menu-add.
11896 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11897 (bibtex-yank): Set arg properly if nil.
11898
022fe7ce
RW
118992011-06-05 Roland Winkler <winkler@gnu.org>
11900
2b75be67
SM
11901 * textmodes/bibtex.el (bibtex-search-entry-globally):
11902 New variable.
022fe7ce
RW
11903 (bibtex-search-entry): Use it.
11904
b7c3692a
RW
119052011-06-05 Roland Winkler <winkler@gnu.org>
11906
11907 * textmodes/bibtex.el (bibtex-entry-format): New option
11908 sort-fields.
11909 (bibtex-format-entry, bibtex-reformat): Honor this option.
11910 (bibtex-parse-entry): Return fields in proper order.
11911
8eda563d
JB
119122011-06-05 Juanma Barranquero <lekktu@gmail.com>
11913
11914 * doc-view.el (doc-view-remove-if): Move computation of result out
11915 of `dolist' to silence misleading lexical-binding warning.
11916
7dbe3dbc
CY
119172011-06-04 Chong Yidong <cyd@stupidchicken.com>
11918
11919 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11920 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11921
0c33dd17
MA
119222011-06-04 Michael Albinus <michael.albinus@gmx.de>
11923
11924 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11925 "SunOS 5.10".
11926
f8f91c2b
MA
119272011-06-04 Michael Albinus <michael.albinus@gmx.de>
11928
11929 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11930 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11931 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11932 (tramp-parse-putty):
11933 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11934 (tramp-completion-function-alist-ssh)
11935 (tramp-completion-function-alist-telnet)
11936 (tramp-completion-function-alist-su)
11937 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11938 cookie.
11939
11940 * net/tramp-ftp.el:
11941 * net/tramp-sh.el:
11942 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
11943 load "tramp.el" `tramp-set-completion-function'.
11944
e17d9003
SM
119452011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * shell.el: Require and use pcomplete.
11948 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
11949 (shell-completion-vars): Set pcomplete-default-completion-function.
11950
6c4cab03
DD
119512011-06-04 Deniz Dogan <deniz@dogan.se>
11952
11953 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
11954 `memq' (Bug#8799).
11955
ea9fafe0
SM
119562011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11957
11958 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
11959
b3e945d3
JB
119602011-06-02 Juanma Barranquero <lekktu@gmail.com>
11961
11962 * bs.el (bs--mark-unmark, bs--nth-wrapper):
11963 * mpc.el (mpc-select-extend, mpc-songpointer-context):
11964 * vc/log-view.el (log-view-beginning-of-defun):
11965 * vc/smerge-mode.el (smerge-apply-resolution-patch)
11966 (smerge-refine-forward, smerge-refine-chopup-region):
11967 Silence warning for unused `dotimes' counter variables.
11968
7d520089
SM
119692011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * net/tramp.el (tramp-with-progress-reporter): Rename from
11972 with-progress-reporter. Use `declare'.
11973 * net/tramp-smb.el:
11974 * net/tramp-sh.el:
11975 * net/tramp-gvfs.el: Update all uses.
11976
a1c2400f
JB
119772011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
11978
11979 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
11980 buffer isn't killed before making it current.
11981
2403c841
SM
119822011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11983
11984 Silence various byte-compiler warnings.
11985 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
11986 `access-type' and new obsolescence format.
11987 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
11988 new format.
11989 (byte-compile-check-variable): New `access-type' argument.
11990 Only warn if the access-type is obsolete.
11991 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
11992 (byte-compile-variable-set): Adjust callers.
11993 * help-fns.el (describe-variable): Adjust to new obsolescence format.
11994 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
11995 setting it as obsolete.
11996 * simple.el (minibuffer-completing-symbol):
11997 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
11998 access as obsolete.
11999 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12000 obsolete yet.
12001 * international/quail.el (quail-mouse-choose-completion): Remove unused
12002 code referring to obsolete var.
12003 (quail-choose-completion-string): Remove.
12004 * server.el (server-clients-with, server-kill-buffer-query-function)
12005 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12006 * proced.el (proced-send-signal):
12007 * emacs-lisp/lisp.el (lisp-complete-symbol):
12008 Replace completion-annotate-function with completion-extra-properties.
12009
2462470b
SM
120102011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12011
fb5b2591
SM
12012 * simple.el (goto-line): Use read-number.
12013 (overriding-map-is-bound): Remove.
12014 (saved-overriding-map): Change default.
12015 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12016 Take the map as argument.
12017 (universal-argument, negative-argument, digit-argument): Use it.
12018 (restore-overriding-map): Adjust.
12019 (do-auto-fill): Use fill-forward-paragraph.
12020 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12021
fd6fa53f
SM
12022 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12023 (minibuffer-inactive-mode): New major mode.
12024 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12025 the *Messages* buffer" hack.
12026 (mouse-popup-menubar): Don't burp if the event is a normal key.
12027
2462470b
SM
12028 Miscellaneous tweaks.
12029 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12030 lexical scoping as in subr.el's dolist and dotimes.
12031 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12032 Silence compiler warning.
12033 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12034 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12035 * international/ccl.el (ccl-compile): Trivial simplification.
12036 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12037 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12038 `printflag' argument.
12039 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12040 Purecopy the whole obsolescence data.
12041
108bf785
LL
120422011-06-01 Leo Liu <sdl.web@gmail.com>
12043
12044 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12045 improve doc-string as suggested by Marco Pessotto
12046 <melmothx@gmail.com>.
12047 (rcirc-print): Fix last change.
12048
30a23501
SM
120492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 * minibuffer.el (complete-with-action): Return nil for the metadata and
12052 boundaries of non-functional tables.
12053 (completion-table-dynamic): Return nil for the metadata.
12054 (completion-table-with-terminator): Add default case, using
12055 complete-with-action.
12056 (completion--metadata): New function.
12057 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12058 to try and avoid pathological performance problems.
12059 (completion--embedded-envvar-table): Return `category' metadata.
12060
bcd54f83
LMI
120612011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12062
12063 * subr.el (process-alive-p): New tiny convenience function.
12064
e227544d
SM
120652011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12066
12067 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12068 content but also its previous major mode.
12069
e8296fdc
HE
120702011-05-31 Helmut Eller <eller.helmut@gmail.com>
12071
4d61f28d 12072 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12073 *Backtrace* buffer when we exit with C-M-c.
12074
620c53a6
SM
120752011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * minibuffer.el: Add metadata method to completion tables.
12078 (completion-category-overrides): New defcustom.
12079 (completion-metadata, completion--field-metadata)
12080 (completion-metadata-get, completion--styles)
12081 (completion--cycle-threshold): New functions.
12082 (completion-try-completion, completion-all-completions):
12083 Add `metadata' argument to choose completion-styles.
12084 (completion--do-completion): Use metadata to choose cycling.
12085 (completion-all-sorted-completions): Use metadata for sorting.
12086 Remove :completion-cycle-penalty which is not needed any more.
12087 (completion--try-word-completion): Add `metadata' argument.
12088 (minibuffer-completion-help): Check metadata for annotation function
12089 and sorting.
12090 (completion-file-name-table): Return `category' metadata.
12091 (minibuffer-completing-file-name): Make obsolete.
12092 * simple.el (minibuffer-completing-symbol): Make obsolete.
12093 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12094 completion-try-completion.
12095
1257e755
SM
120962011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12097
12098 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12099
3767e706
LL
121002011-05-30 Leo Liu <sdl.web@gmail.com>
12101
12102 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12103 (rcirc-print): Decode all incoming messages (bug#8744).
12104 (rcirc-decode-coding-system): Allow value nil for automatic coding
12105 system detection.
3767e706 12106
d1a5d56a
GM
121072011-06-01 Glenn Morris <rgm@gnu.org>
12108
12109 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12110
e8cbec34
CY
121112011-05-29 Chong Yidong <cyd@stupidchicken.com>
12112
12113 * image.el (image-animate-max-time): Allow nil and t values.
12114 Default to nil.
12115 (create-animated-image): Doc fix.
12116 (image-animate-start): Remove second arg; just use
12117 image-animate-max-time.
12118 (image-animate-timeout): Doc fix. Args changed.
12119
12120 * image-mode.el (image-toggle-display-image): Ensure that the
12121 image spec passed to the animate timer is the same object as in
58179cce 12122 the buffer's display property (Bug#6981).
e8cbec34
CY
12123 (image-transform-properties): Doc fix.
12124
12125 * image.el (image-animate-max-time): Default to nil.
12126
159daf87
MR
121272011-05-29 Martin Rudalics <rudalics@gmx.at>
12128
12129 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12130 entire buffer list (Bug#8184).
12131
d66c4c7c
CY
121322011-05-29 Chong Yidong <cyd@stupidchicken.com>
12133
12134 * image.el (imagemagick-types-inhibit)
12135 (imagemagick-register-types): Doc fix.
12136
80aec780
DD
121372011-05-29 Deniz Dogan <deniz@dogan.se>
12138
12139 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12140 default.
12141
1dd3c2d9
CY
121422011-05-29 Chong Yidong <cyd@stupidchicken.com>
12143
12144 * select.el: Don't perform clipboard-manager saving in hooks;
12145 leave the hooks empty.
12146
60e56523
LL
121472011-05-28 Leo Liu <sdl.web@gmail.com>
12148
12149 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12150 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12151 (occur-edit-mode): New major mode (Bug#8463).
12152 (occur-after-change-function): New function.
12153 (occur-engine): Give Occur tags a read-only property.
12154
2b1e1a22
KR
121552011-05-28 Kevin Ryde <user42@zip.com.au>
12156
12157 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12158
5d344e88
CY
121592011-05-28 Chong Yidong <cyd@stupidchicken.com>
12160
8e6ca83d
CY
12161 * bindings.el (help-echo): Make the initial non-indicator dash
12162 empty on graphical terminals (Bug#7295).
12163
5d344e88
CY
12164 * files.el (auto-mode-alist): Move config rule after the
12165 in-stripping one (Bug#8547).
12166
bfbbace7
CY
12167 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12168
fbeba6e2
CY
12169 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12170 setting (Bug#8740).
12171
60ed8c72
AA
121722011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12173
4ac619f0
AA
12174 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12175 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12176 (Bug#8539).
60ed8c72 12177
23db196e
CY
121782011-05-28 Chong Yidong <cyd@stupidchicken.com>
12179
12180 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12181
5012f24c
DK
121822011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12183
12184 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12185 (hs-hide-block-at-point, hs-find-block-beginning)
12186 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12187 (Bug#8279).
12188
6a639b16
GM
121892011-05-28 Glenn Morris <rgm@gnu.org>
12190
12191 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12192
d43eaf2c
CY
121932011-05-28 Chong Yidong <cyd@stupidchicken.com>
12194
5199bde1
CY
12195 * help-fns.el (describe-function-1): If the function is a derived
12196 major mode, print the parent mode.
12197
d43eaf2c
CY
12198 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12199 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12200
423428a8
SM
122012011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12202
0ff8e1ba 12203 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12204 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12205 * progmodes/etags.el (tags-completion-at-point-function):
12206 * info-look.el (info-lookup-completions-at-point): Mark as
12207 non-exclusive.
12208 (info-complete): Adjust accordingly.
12209
423428a8
SM
12210 * info-look.el: Convert to lexical-binding and completion-at-point.
12211 (info-lookup-completions-at-point): New function.
12212 (info-complete): Use it and completion-in-region.
12213
b74aa22b
DA
122142011-05-28 Drew Adams <drew.adams@oracle.com>
12215
12216 * isearch.el: Let M-e start with point at the first mismatched char.
12217 (isearch-fail-pos): New function.
12218 (isearch-edit-string): Use it.
12219
66e2e71d
DK
122202011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12221
12222 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12223
b1890b0f 122242011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12225
12226 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12227 traversal functions for avl-trees.
12228 (avl-tree--stack): New struct.
12229 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12230 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12231 (avl-tree--do-enter): Add optional `updatefun' arg.
12232 Change return value.
eb95d01d 12233 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12234 (avl-tree--do-delete): Add `test' and `nilflag' args.
12235 Change return value.
eb95d01d
TC
12236 (avl-tree-member): Add optional `nilflag'
12237 (avl-tree-member-p): New function.
12238 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12239 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12240 (avl-tree-stack-empty-p): New functions.
12241
3769ddcf
TC
12242 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12243 avl-tree--del-balance1 and make it work both ways.
12244 (avl-tree--del-balance2): Remove.
12245 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12246 make it work both ways.
12247 (avl-tree--enter-balance2): Remove.
12248 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12249 New macros.
12250 (avl-tree--mapc, avl-tree-map): Add direction argument.
12251
eb95d01d 122522011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12253
12254 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12255
a9f737ee
CY
122562011-05-27 Chong Yidong <cyd@stupidchicken.com>
12257
12258 * select.el: Support clipboard managers with built-in function
12259 x-clipboard-manager-save, via delete-frame-functions and
12260 kill-emacs-hook.
12261 (xselect-convert-to-targets): Add MULTIPLE target to list.
12262 (xselect-convert-to-save-targets): New function.
12263
c92a1e54
KH
122642011-05-27 Kenichi Handa <handa@m17n.org>
12265
12266 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12267 let-binding rfc2047-encode-encoded-words to nil.
12268
e145f188
GM
122692011-05-27 Glenn Morris <rgm@gnu.org>
12270
5ec8a862
GM
12271 * mail/emacsbug.el: Don't require url-util.
12272
4b29d9fb
GM
12273 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12274
e145f188
GM
12275 * files.el (set-auto-mode):
12276 Also respect mode: entries at the end of the file. (Bug#8586)
12277
7d15102b
GM
122782011-05-26 Glenn Morris <rgm@gnu.org>
12279
98f593b8
GM
12280 * files.el (hack-local-variables-prop-line, hack-local-variables):
12281 Downcase mode names, as seems to be traditional.
27b48e63 12282 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12283
7d15102b
GM
12284 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12285 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12286
51d5b4ec
JD
122872011-05-25 Julien Danjou <julien@danjou.info>
12288
12289 * textmodes/rst.el (rst-define-level-faces): Do not define face
12290 symbol if it is already defined.
12291
91513f63
VB
122922011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12293
12294 * play/5x5.el (5x5-new-game, 5x5-randomize):
12295 Reset 5x5-solver-output to nil when a new grid is cast.
12296 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12297 these debugging traces, as defmacro breaks the compiled code.
12298
4d90d6d0
DK
122992011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12300
12301 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12302
e1b90ef6
LL
123032011-05-24 Leo Liu <sdl.web@gmail.com>
12304
12305 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12306 (vc-bzr-sha1): Adapt.
12307
d8e4b68b 12308 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12309
12310 * bindings.el: Provide sha1 feature.
12311
db0406bb 123122011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12313
12314 * mail/sendmail.el: Require `rfc2047'.
12315 (mail-insert-from-field): Do not perform RFC2047 encoding.
12316 (mail-encode-header): New function.
12317 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12318 buffer to the return value of select-message-coding-system.
12319 Call mail-encode-header.
b8d747b9
KH
12320
12321 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12322
db0406bb 123232011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12324
4d90d6d0
DK
12325 * mail/supercite.el (sc-default-cite-frame):
12326 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12327
eb8a5e9b
GM
123282011-05-24 Glenn Morris <rgm@gnu.org>
12329
f8630703
GM
12330 * progmodes/python.el (brm-menu): Declare.
12331
8831bbed
GM
12332 * emulation/viper.el (viper-set-hooks): Declare.
12333
eb8a5e9b
GM
12334 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12335 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12336 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12337 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12338 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12339 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12340
a2a25d24
SM
123412011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12342
12343 Add an :exit-function for completion-at-point.
12344
12345 * minibuffer.el (completion--done): New fun.
12346 (completion--do-completion): Use it. New arg `expect-exact'.
12347 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12348 since completion--do-completion does it for us now.
12349 (minibuffer-force-complete): Use completion--done and
12350 completion--replace. Handle sole-completion case with more care.
12351 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12352 (completion-extra-properties): New var.
12353 (completion-annotate-function): Make obsolete.
12354 (minibuffer-completion-help): Adjust accordingly.
12355 Use completion-list-insert-choice-function.
12356 (completion-at-point, completion-help-at-point):
12357 Bind completion-extra-properties.
12358 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12359 * simple.el (completion-list-insert-choice-function): New var.
12360 (completion-setup-function): Preserve it.
12361 (choose-completion): Pay attention to it, shuffle the code a bit.
12362 (choose-completion-string): New arg `insert-function'.
12363
12364 * textmodes/bibtex.el: Convert to lexical binding.
12365 (bibtex-mode-map): Use completion-at-point.
12366 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12367 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12368 (bibtex-complete): Define as obsolete alias.
12369 (bibtex-complete-internal): Remove.
12370 (bibtex-format-entry): Remove unused sub-group in regexp.
12371 * shell.el (shell--command-completion-data)
12372 (shell-environment-variable-completion):
12373 * pcomplete.el (pcomplete-completions-at-point):
12374 * comint.el (comint--complete-file-name-data): Use :exit-function
12375 instead of completion-table-with-terminator so it also works for
12376 choose-completion.
12377
e44e373d
SM
123782011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12379
4f91a816
SM
12380 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12381
782fc819
SM
12382 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12383 (bug#8710).
12384
e44e373d
SM
12385 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12386
381987c3
KM
123872011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12388
12389 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12390 customization variable and implement: If non-nil, auto-fill will
12391 be inhibited while on topic's header line.
12392
b776bc70
VB
123932011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12394
12395 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12396 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12397 always have a solution in grid size = 5 cases.
12398 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12399 (5x5-solver-output, 5x5-log-buffer): New vars.
12400 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12401 Make these variables buffer local to achieve 5x5 multi-session-ness.
12402 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12403 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12404 (5x5-solve-suggest): New funs.
12405 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12406 randomize a grid so that we ensure that there is always a solution.
12407 (5x5-make-random-grid): Allow other movement than flipping.
12408
7de88b6e
KR
124092011-05-23 Kevin Ryde <user42@zip.com.au>
12410
12411 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12412 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12413 advice and passes PREDICATE.
12414
b1ef1257
SM
124152011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12416
bbca48fe
SM
12417 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12418 byte-compile-lambda if it's actually a lambda.
12419
b1ef1257
SM
12420 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12421 Fix function quoting. Use backquote better.
12422
92a9cc65
YS
124232011-05-22 Yuanle Song <sylecn@gmail.com>
12424
12425 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12426 matching (Bug#8516).
12427
f0fb8059
JA
124282011-01-22 Jari Aalto <jari.aalto@cante.net>
12429
12430 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12431 different face (Bug#8178).
12432
d5b44c93
CY
124332011-05-22 Chong Yidong <cyd@stupidchicken.com>
12434
12435 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12436 defface (Bug#8144).
12437
79106a44
SM
124382011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12439
9c848d8a
SM
12440 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12441 funcall as well (bug#8712). Warn when performing those conversions.
12442 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12443
79106a44
SM
12444 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12445
88dfa756
GM
124462011-05-22 Glenn Morris <rgm@gnu.org>
12447
12448 * files.el (hack-local-variables-prop-line): Small simplifications.
12449 (hack-local-variables, hack-local-variables-prop-line):
12450 If MODE-ONLY, return the mode, rather than just `t'.
12451
b7cf2c79
SM
124522011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12453
12454 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12455
3f1a8558
GM
124562011-05-21 Glenn Morris <rgm@gnu.org>
12457
7e4ccca3
GM
12458 * files.el (hack-local-variables-prop-line, hack-local-variables):
12459 If only interested in the mode, don't bother doing the other stuff.
12460
637d46ca
GM
12461 * image-mode.el (image-after-revert-hook):
12462 Redraw all frames on which the image is visible. (Bug#8567)
12463
973d955b
GM
12464 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12465
3f1a8558
GM
12466 * wid-edit.el (widget-checklist-match-inline):
12467 Fix 2011-04-19 change. (Bug#8649)
12468
96479927
SM
124692011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12470
1dcf791f
SM
12471 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12472 Also allow singlespace after single-letter capitals followed by a dot.
12473
96479927
SM
12474 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12475 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12476
35fd0881
N
124772011-05-20 Nix <nix@esperi.org.uk>
12478
12479 * files.el (basic-save-buffer-2):
12480 Fix handling of break-hardlink-on-save with non-existent files.
12481
82745640
DD
124822011-05-19 Deniz Dogan <deniz@dogan.se>
12483
12484 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12485 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12486
4a720484
GM
124872011-05-19 Glenn Morris <rgm@gnu.org>
12488
d1f21341
GM
12489 * progmodes/f90.el (f90-type-def-re):
12490 Handle "type, bind(c)". (Bug#8691)
12491
4a720484
GM
12492 * emacs-lisp/autoload.el (batch-update-autoloads):
12493 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12494
2fb0a219
MA
124952011-05-18 Michael Albinus <michael.albinus@gmx.de>
12496
12497 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12498 property for the correct connection in case of multihops.
12499
e565dd37
GM
125002011-05-18 Glenn Morris <rgm@gnu.org>
12501
c2571358 12502 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12503 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12504
e565dd37
GM
12505 Rationalize calendar handling of day and month abbrev-arrays.
12506 * calendar/calendar.el (calendar-customized-p): New function.
12507 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12508 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12509 Add :set function.
12510 (calendar-abbrev-length, calendar-day-abbrev-array)
12511 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12512 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12513 Elements may no longer be nil.
12514 (calendar-day-name, calendar-month-name):
12515 Update for changed nature of abbrev arrays.
12516 * calendar/diary-lib.el (diary-name-pattern):
12517 Update for changed nature of abbrev arrays.
12518 (diary-mark-entries-1): Update calendar-make-alist calls.
12519 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12520 * calendar/cal-html.el (cal-html-day-abbrev-array):
12521 Simply inherit from calendar-day-abbrev-array.
12522
1d99a745
SM
125232011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12524
12525 * progmodes/grep.el (grep-mode): Disable default
12526 compilation-directory-matcher setting (bug#8684).
12527
7c1d9aa0
MA
125282011-05-17 Michael Albinus <michael.albinus@gmx.de>
12529
12530 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12531 instead of "head" and "tail". There were problems with SunOS 5.9,
12532 and it performs better.
12533
3952e9d8
GM
125342011-05-17 Glenn Morris <rgm@gnu.org>
12535
2dd12e7f
GM
12536 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12537
e4157b9c
GM
12538 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12539 Replace obsolete function.
12540
8e249bbd
GM
12541 * shell.el (pcomplete-parse-arguments-function): Declare.
12542
3952e9d8
GM
12543 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12544 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12545 (appt-check): Doc fixes.
12546 (appt-disp-window-function, appt-delete-window-function):
12547 Remove needless special case in custom :type.
12548 (appt-display-count): Default to 0, not nil.
12549 (appt-check): Reset appt-display-count to 0, not nil.
12550
c71a0d48 125512011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12552
c71a0d48
GM
12553 * progmodes/python.el (python-font-lock-keywords):
12554 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12555
31d55be9
SM
125562011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12557
12558 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12559
3bfacb2f
KR
125602011-05-16 Kevin Ryde <user42@zip.com.au>
12561
12562 * info-look.el (makefile-automake-mode): New setups, looking in
12563 automake manual, then makefile-mode.
12564 (makefile-mode): Remove automake manual, have it just in
12565 makefile-automake-mode since there's various things different or
12566 not relevant to plain make.
12567 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12568 believe a hypothetical automake-mode would go to makefile-mode,
12569 not the other way around.
12570
c8e83751
CY
125712011-05-15 Chong Yidong <cyd@stupidchicken.com>
12572
5e9e35cd
CY
12573 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12574 hunk-end tags (Bug#8672).
12575
c8e83751
CY
12576 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12577 vc-annotate-show-diff-revision-at-line (Bug#8671).
12578
50b23e5a
GM
125792011-05-14 Glenn Morris <rgm@gnu.org>
12580
7210a739
GM
12581 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12582 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12583 (change-log-font-lock-keywords): Also handle multiple author lines
12584 with leading tabs. (Bug#8644)
7210a739 12585
4691905a
GM
12586 * calendar/appt.el (appt-check): Rename some local variables.
12587 Some simplification/reordering.
12588
50b23e5a
GM
12589 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12590 (feedmail-sendmail-f-doesnt-sell-me-out)
12591 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12592 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12593 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12594 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12595 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12596 (feedmail-binmail-gnulinuxish-template):
12597 Rename from feedmail-binmail-linuxish-template.
12598 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12599 Use insert-buffer-substring.
12600
215cda7c
BC
126012011-05-14 Bill Carpenter <bill@carpenter.org>
12602
12603 * mail/feedmail.el (feedmail-patch-level): Increase.
12604 (feedmail-debug): New custom group.
12605 (feedmail-confirm-outgoing-timeout)
12606 (feedmail-sendmail-f-doesnt-sell-me-out)
12607 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12608 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12609 (feedmail-sender-line, feedmail-from-line)
12610 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12611 (feedmail-spray-this-address)
215cda7c
BC
12612 (feedmail-spray-address-fiddle-plex-list)
12613 (feedmail-queue-use-send-time-for-date)
12614 (feedmail-queue-use-send-time-for-message-id)
12615 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12616 (feedmail-buffer-eating-function):
12617 Doc fixes.
12618 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12619 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12620 (feedmail-message-action-scroll-down): New functions.
12621 (feedmail-queue-directory, feedmail-queue-draft-directory):
12622 Use expand-file-name.
12623 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12624 Remove C-v help entry.
12625 (feedmail-queue-buffer-file-name): New variable.
12626 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12627 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12628 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12629 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12630 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12631 (feedmail-message-action-toggle-spray)
12632 (feedmail-run-the-queue-no-prompts)
12633 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12634 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12635 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12636 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12637 (feedmail-envelope-deducer, feedmail-fiddle-from)
12638 (feedmail-fiddle-sender, feedmail-default-date-generator)
12639 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12640 (feedmail-fiddle-spray-address)
12641 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12642 (feedmail-fiddle-list-of-fiddle-plexes)
12643 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12644 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12645 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12646 Change default. Doc fix.
12647 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12648 (feedmail-binmail-linuxish-template): New constant.
12649 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12650 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12651 (feedmail-send-it): Add debug call.
12652 Use feedmail-queue-buffer-file-name, and
12653 feedmail-send-it-immediately-wrapper.
12654 (feedmail-message-action-send): Add debug call.
12655 Use feedmail-send-it-immediately-wrapper.
12656 (feedmail-queue-express-to-queue): Add debug call.
12657 Run feedmail-queue-express-hook.
12658 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12659 (feedmail-message-action-help-blat):
12660 Rename from feedmail-queue-send-edit-prompt-help-first.
12661 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12662 Check line-endings. Handle errors better.
12663 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12664 Doc fix. Add debug call.
12665 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12666 Use feedmail-queue-send-edit-prompt-inner.
12667 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12668 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12669 from feedmail-queue-send-edit-prompt.
12670 (feedmail-queue-send-edit-prompt-help)
12671 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12672 (feedmail-tidy-up-slug): Add debug call.
12673 Respect feedmail-queue-slug-suspect-regexp.
12674 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12675 (feedmail-dump-message-to-queue): Add debug call.
12676 Expand queue-directory.
12677 (feedmail-dump-message-to-queue): Change message slightly.
12678 Use feedmail-say-chatter.
12679 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12680 (feedmail-send-it-immediately-wrapper): New function.
12681 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12682 Insert empty string rather than newline. Handle full-frame case.
12683 Use catch/throw. Use feedmail-say-chatter.
12684 (feedmail-fiddle-from): Try mail-host-address.
12685 (feedmail-default-message-id-generator): Doc fix.
12686 Bind system-time-locale. Handle missing end.
12687 (feedmail-fiddle-x-mailer): Add debug call.
12688 Handle feedmail-x-mailer-line being nil.
12689 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12690 Add debug call. Use buffer-substring-no-properties.
12691 (feedmail-say-debug, feedmail-say-chatter): New functions.
12692 (feedmail-find-eoh): Give an explicit error.
12693
42c7e61e
UJ
126942011-05-13 Ulf Jasper <ulf.jasper@web.de>
12695
c2571358 12696 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12697 family from helvetica to sans.
c2571358 12698 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12699 etc/images/newsticker.
12700
c2571358 12701 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12702 family from helvetica to sans.
12703
12704 * net/newst-plainview.el (newsticker-new-item-face)
12705 (newsticker-old-item-face, newsticker-immortal-item-face)
12706 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12707 (newsticker-statistics-face): Change default family from
42c7e61e 12708 helvetica to sans.
c2571358 12709 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12710 etc/images/newsticker.
12711
5d3385a0
JB
12712 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12713 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12714 auto-marking.
12715
8497a297
DV
127162011-05-13 Didier Verna <didier@xemacs.org>
12717
12718 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12719 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12720 TODO entries.
8497a297
DV
12721 (lisp-lambda-list-keyword-parameter-indentation)
12722 (lisp-lambda-list-keyword-parameter-alignment)
12723 (lisp-lambda-list-keyword-alignment): New customizable user options.
12724 (lisp-indent-defun-method): Improve docstring.
12725 (extended-loop-p): Fix comment.
12726 (lisp-indent-lambda-list-keywords-regexp): New variable.
12727 (lisp-indent-lambda-list): New function.
12728 (lisp-indent-259): Use it.
12729 (lisp-indent-defmethod): Support for more than one
12730 method qualifier and properly indent methods lambda-lists.
12731 (defgeneric): Provide a missing common-lisp-indent-function property.
12732
f278f87f
SM
127332011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12734
12735 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12736 bounds for the empty string (bug#8667).
12737
5233edd7
GM
127382011-05-13 Glenn Morris <rgm@gnu.org>
12739
5237a44f
GM
12740 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12741
8340026c 12742 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12743 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12744
5233edd7 12745 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12746 (appt-time-msg-list): Doc fix.
a5464014 12747 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12748
92d10796
AS
127492011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12750
12751 * progmodes/ld-script.el (ld-script-keywords)
12752 (ld-script-builtins): Update keywords list.
12753
914a0ae1
SM
127542011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12755
c89be45f
SM
12756 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12757
914a0ae1
SM
12758 * shell.el (shell-completion-vars): New function.
12759 (shell-mode):
12760 * simple.el (read-shell-command): Use it.
12761 (blink-matching-open): No need for " [...]" in minibuffer-message.
12762
98dc3df3
GM
127632011-05-12 Glenn Morris <rgm@gnu.org>
12764
12765 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12766 (appt-check): Simplify.
12767
d2fc7e3d 127682011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12769
4d61f28d 12770 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12771 literal "/dev/null".
12772
d2fc7e3d 127732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12774
12775 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12776 Fix typo.
12777
d2fc7e3d 127782011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12779
3f254caa
SM
12780 * progmodes/which-func.el (which-function):
12781 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12782 which might not be defined (Bug#8260).
12783
d45885f7
GM
127842011-05-12 Glenn Morris <rgm@gnu.org>
12785
12786 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12787 Let byte-compile-initial-macro-environment always take precedence.
12788
488086f4
SM
127892011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12790
12791 * net/rcirc.el: Add support for SSL/TLS connections.
12792 (rcirc-server-alist): New field `encryption'.
12793 (rcirc): Check `encryption' settings.
12794 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12795 Merge make-local-variable into `set'.
12796 (rcirc--connection-open-p): New function.
12797 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12798 the process is not a network process (e.g. running gnutls-cli).
12799 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12800 Make rcirc-(en|de)code-coding-system local here.
12801 (rcirc-mode): Merge make-local-variable into `set'.
12802 (rcirc-parent-buffer): Make permanent buffer-local.
12803 (rcirc-multiline-minor-mode): Don't do it here.
12804 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12805 there's no server buffer.
12806
7d3b9d44
GM
128072011-05-11 Glenn Morris <rgm@gnu.org>
12808
f64049c6
GM
12809 * newcomment.el (comment-kill): Prefix "unused" local.
12810
93c9df73
GM
12811 * term/w32console.el (get-screen-color): Declare.
12812
7d3b9d44
GM
12813 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12814 Handle symbol elements of byte-compile-initial-macro-environment.
12815
9e2dd53f
LL
128162011-05-10 Leo Liu <sdl.web@gmail.com>
12817
488086f4
SM
12818 * bookmark.el (bookmark-bmenu-mode-map):
12819 Bind bookmark-bmenu-search to `/'.
8b340240 12820
9e2dd53f 12821 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12822 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12823 (Footnote-unicode): New function.
12824 (footnote-style-alist): Add unicode style to the list.
12825 (footnote-style): Doc fix.
9e2dd53f 12826
79b70037
GM
128272011-05-10 Jim Meyering <meyering@redhat.com>
12828
12829 Fix doubled-word typos.
12830 * international/quail.el (quail-insert-kbd-layout): and and -> and
12831 * kermit.el: and and -> and
12832 * net/ldap.el (ldap-search-internal): to to -> to
12833 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12834 * progmodes/js.el (js-mode): and and -> and
12835 * textmodes/artist.el (artist-move-to-xy): at at -> at
12836 (artist-draw-region-trim-line-endings): if if -> if
12837 And Safetyc -> Safety.
12838 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12839
b8f82dc1 128402011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12841 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12842
12843 * files.el (hack-one-local-variable-eval-safep):
12844 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12845
4f99f44b
GM
128462011-05-10 Glenn Morris <rgm@gnu.org>
12847
12848 * calendar/diary-lib.el (diary-list-entries-hook)
12849 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12850 (diary-nongregorian-marking-hook, diary-list-entries)
12851 (diary-include-other-diary-files, diary-mark-entries)
12852 (diary-mark-included-diary-files): Doc fixes.
12853
84f29e6b
JB
128542011-05-09 Juanma Barranquero <lekktu@gmail.com>
12855
12856 * misc.el: Require tabulated-list.el during compilation.
12857
9bedd73a
CY
128582011-05-09 Chong Yidong <cyd@stupidchicken.com>
12859
488086f4
SM
12860 * progmodes/compile.el (compilation-start):
12861 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12862 (compilation-filter-hook): Doc fix.
12863
797c735c
DD
128642011-05-09 Deniz Dogan <deniz@dogan.se>
12865
12866 * wdired.el: Remove outdated installation comment. Fix usage
12867 comment.
12868
5f4b1dfe
JB
128692011-05-09 Juanma Barranquero <lekktu@gmail.com>
12870
12871 * misc.el: Implement new command `list-dynamic-libraries'.
12872 (list-dynamic-libraries--loaded-only-p): New variable.
12873 (list-dynamic-libraries--refresh): New function.
12874 (list-dynamic-libraries): New command.
12875
4c44026c
CY
128762011-05-09 Chong Yidong <cyd@stupidchicken.com>
12877
488086f4
SM
12878 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12879 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12880 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12881 higher priority to avoid clobbering by gnu.
12882
027f966d
CY
128832011-05-08 Chong Yidong <cyd@stupidchicken.com>
12884
12885 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12886 if the face has existing theme settings (Bug#8454).
12887
085f5d7d
CY
128882011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12889
488086f4
SM
12890 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12891 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12892
2a86a00c
RS
12893 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12894 special file names `.' and `..' (Bug#8259).
12895
d9c54a06
CY
128962011-05-08 Chong Yidong <cyd@stupidchicken.com>
12897
488086f4
SM
12898 * progmodes/grep.el (grep-mode-font-lock-keywords):
12899 Remove buffer-changing entries.
d9c54a06
CY
12900 (grep-filter): New function.
12901 (grep-mode): Add it to compilation-filter-hook.
12902
12903 * progmodes/compile.el (compilation-filter-hook)
12904 (compilation-filter-start): New defvars.
12905 (compilation-filter): Call compilation-filter-hook prior to
12906 updating the process mark.
12907
c4662635
SM
129082011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12911
b0512a1d
EZ
129122011-05-07 Eli Zaretskii <eliz@gnu.org>
12913
605c9376
EZ
12914 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12915 mailclient-send-it even if window-system is nil. (Bug#8595)
12916
c4662635
SM
12917 * term/w32console.el (terminal-init-w32console):
12918 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12919 background-mode. (Bug#8597)
12920
d1dc2cc2
SM
129212011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12922
12923 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12924 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12925 New functions.
12926 (defgeneric, eieio--defmethod): Use them.
12927 (eieio-defgeneric): Remove.
12928 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12929
915d1300
GM
129302011-05-07 Glenn Morris <rgm@gnu.org>
12931
a3961c3e
GM
12932 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12933 Use let rather than let*.
12934 (timeclock-find-discrep): Remove unused local.
12935
314347b9
GM
12936 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12937
915d1300
GM
12938 * calendar/appt.el (appt-time-msg-list): Doc fix.
12939
275b59b0
NF
129402011-05-06 Noah Friedman <friedman@splode.com>
12941
12942 * apropos.el (apropos-print-doc): Only use
12943 emacs-lisp-docstring-fill-column when it is bound to an integer,
12944 per that variable's documentation.
12945
6c19f744
SM
129462011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12947
12948 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 12949 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 12950
60f884b2
GM
129512011-05-06 Glenn Morris <rgm@gnu.org>
12952
5006e634
GM
12953 * calendar/appt.el (appt-message-warning-time): Doc fix.
12954 (appt-warning-time-regexp): New option.
12955 (appt-make-list): Respect appt-message-warning-time.
12956
548d0a63
GM
12957 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
12958 New options.
12959 (diary-add-to-list): Strip comments from the displayed string.
12960 (diary-mode): Set comment-start and comment-end.
12961
60f884b2
GM
12962 * vc/diff-mode.el (smerge-refine-subst): Declare.
12963 (diff-refine-hunk): Don't require smerge-mode when compiling.
12964
989681bb
JB
129652011-05-06 Juanma Barranquero <lekktu@gmail.com>
12966
12967 * simple.el (list-processes): Return nil as the docstring says.
12968
a6bc05e1
MA
129692011-05-05 Michael Albinus <michael.albinus@gmx.de>
12970
12971 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
12972 to "".
12973 (ange-ftp-write-region, ange-ftp-insert-file-contents)
12974 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
12975 determining of binary transfer. (Bug#7383)
12976
23c22e9a
MA
129772011-05-05 Michael Albinus <michael.albinus@gmx.de>
12978
c4662635
SM
12979 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
12980 Fix port computation bug. (Bug#8618)
23c22e9a 12981
0bff894f
GM
129822011-05-05 Glenn Morris <rgm@gnu.org>
12983
b8296902
GM
12984 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
12985
1f522ce8
GM
12986 * simple.el (shell-dynamic-complete-functions)
12987 (comint-dynamic-complete-functions): Declare.
12988
cf5bee67
GM
12989 * net/network-stream.el (gnutls-negotiate):
12990 * simple.el (tabulated-list-print): Fix declarations.
12991
12992 * progmodes/gud.el (syntax-symbol, syntax-point):
12993 Remove unnecessary and incorrect declarations.
12994
0bff894f
GM
12995 * emacs-lisp/check-declare.el (check-declare-scan):
12996 Handle byte-compile-initial-macro-environment in bytecomp.el
12997
9869b3ae
SM
129982011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12999
13000 Fix earlier half-done eieio-defmethod change (bug#8338).
13001 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13002 Streamline and change calling convention.
13003 (defmethod): Adjust accordingly and simplify.
13004 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13005 new eieio--defmethod.
13006 (slot-boundp): Minor CSE simplification.
13007
9c1d5ac5
MZ
130082011-05-05 Milan Zamazal <pdm@zamazal.org>
13009
13010 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13011 (glasses-make-readable): Use glasses-separate-capital-groups.
13012
455c834e
JB
130132011-05-05 Juanma Barranquero <lekktu@gmail.com>
13014
13015 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13016 (warning-series): Doc fix.
13017 (display-warning): Don't try to create the buffer if we just found it.
13018
9ed7c8cb
CY
130192011-05-04 Chong Yidong <cyd@stupidchicken.com>
13020
13021 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13022 (autoload-find-generated-file): New function.
13023 (generate-file-autoloads): Bind generated-autoload-file to
13024 buffer-file-name.
9869b3ae
SM
13025 (update-file-autoloads, update-directory-autoloads):
13026 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13027 output file (Bug#7989).
13028 (batch-update-autoloads): Doc fix.
13029
0898ca10
JB
130302011-05-04 Juanma Barranquero <lekktu@gmail.com>
13031
13032 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13033
31dfb76c
GM
130342011-05-04 Glenn Morris <rgm@gnu.org>
13035
f330b642
GM
13036 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13037 function, so it follows changes in calendar-date-style.
13038 (diary-fancy-date-matcher): New function.
13039 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13040 (diary-fancy-font-lock-fontify-region-function):
13041 Use diary-fancy-date-pattern as a function.
13042
31dfb76c
GM
13043 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13044 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13045
48e79d6a
TZ
130462011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13047
13048 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13049 instead of positional arguments. Allow :keylist and :crlfiles
13050 arguments.
13051 (open-gnutls-stream): Call it.
13052
13053 * net/network-stream.el (network-stream-open-starttls): Adjust to
13054 call `gnutls-negotiate' with :process and :hostname arguments.
13055
dd5a5ee0
SM
130562011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13057
ef80fc09
SM
13058 * minibuffer.el (completion--message): New function.
13059 (completion--do-completion, minibuffer-complete)
13060 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13061 (completion--do-completion): Don't ignore completion-auto-help when in
13062 icomplete-mode.
13063
dd5a5ee0
SM
13064 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13065 internal encoding (e.g. tibetan zero is not whitespace).
13066 (global-whitespace-mode): Prefer save-current-buffer.
13067 (whitespace-trailing-regexp): Remove useless save-match-data.
13068 (whitespace-empty-at-bob-regexp): Minor simplification.
13069
b7d22a83
CY
130702011-05-03 Chong Yidong <cyd@stupidchicken.com>
13071
13072 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13073
5192af46
AM
130742011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13075
13076 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13077 Use `concat' to create string for insertion.
5192af46 13078
5767d190
SM
130792011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13082 Avoid open-line which runs post-self-insert-hook.
13083 (bibtex-fill-entry): Remove unused `end' var.
13084
bf242939
AM
130852011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13086
5767d190
SM
13087 * textmodes/ispell.el (ispell-add-per-file-word-list):
13088 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13089
25666126
LL
130902011-05-03 Leo Liu <sdl.web@gmail.com>
13091
13092 * isearch.el (isearch-yank-pop): New command.
5767d190 13093 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13094 (isearch-forward): Mention it.
13095
52d3c2d0
SM
130962011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13097
1bcace58
SM
13098 * simple.el (minibuffer-complete-shell-command): Remove.
13099 (minibuffer-local-shell-command-map): Use completion-at-point.
13100 (read-shell-command): Setup completion vars here instead.
13101 (read-expression-map): Bind TAB to symbol completion.
13102
52d3c2d0
SM
13103 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13104 error directly rather via storing it into `results'.
13105
35813471
LL
131062011-05-02 Leo Liu <sdl.web@gmail.com>
13107
13108 * vc/diff.el: Fix description.
13109
e793a940
LMI
131102011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13111
13112 * server.el (server-eval-at): New function.
13113
8de66e05
LMI
131142011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13115
13116 * net/network-stream.el (open-network-stream): Take a :nowait
13117 parameter and pass it on to `make-network-process'.
13118 (network-stream-open-plain): Ditto.
13119
dcb79f20
AS
131202011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13121
13122 * faces.el (face-spec-set-match-display): Don't match toolkit
13123 options on terminal frames.
13124
14a7fbd8
SM
131252011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13126
7eabc1be
SM
13127 * progmodes/pascal.el: Use lexical binding.
13128 (pascal-mode-map): Remove author preferences.
13129
14a7fbd8
SM
13130 * pcomplete.el (pcomplete-std-complete): Don't abuse
13131 completion-at-point.
13132
50f84510
JB
131332011-04-28 Juanma Barranquero <lekktu@gmail.com>
13134
6e087a44
JB
13135 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13136 removing code that has been dead since 1991 or so.
13137
50f84510
JB
13138 * startup.el (command-line): When warning about "_emacs", use a
13139 delayed warning to allow the user to filter it out.
13140
0ba690bd
DD
131412011-04-28 Deniz Dogan <deniz@dogan.se>
13142
13143 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13144 user has not joined.
13145
08abfaad
SM
131462011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13149 aren't any completions at point.
13150
638f053a
JB
131512011-04-28 Juanma Barranquero <lekktu@gmail.com>
13152
13153 * subr.el (display-delayed-warnings): New function.
13154 (delayed-warnings-hook): New variable.
13155
8fff8daa
SM
131562011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13157
08abfaad
SM
13158 * minibuffer.el (completion-at-point, completion-help-at-point):
13159 Don't presume that a given completion-at-point-function will always
13160 use the same calling convention.
13161
8fff8daa
SM
13162 * pcomplete.el (pcomplete-completions-at-point):
13163 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13164 pcomplete-seen is non-nil.
13165 (pcomplete-comint-setup): Also recognize the new comint/shell
13166 completion functions.
13167 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13168 pcomplete-seen is non-nil.
13169
841a1577 131702011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13171
841a1577 13172 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13173 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13174 the first character in the entry. This allows for code to add its
211ec907
UJ
13175 own uid to the entry.
13176 (icalendar--convert-float-to-ical): Add export of
13177 `diary-float'-entries save for those with the optional DAY
13178 argument.
13179
2a782793
DC
131802011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13181
13182 * subr.el (shell-quote-argument): Use alternate escaping strategy
13183 when we spot a variable reference in a string.
13184
0438ce91
DC
131852011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13186
13187 * cus-start.el (all): Define customization for debug-on-event.
13188
841a1577 131892011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13190
13191 * subr.el (shell-quote-argument): Escape correctly under Windows.
13192
d090ed6c
SM
131932011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13194
13195 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13196
bfd31217
MA
131972011-04-25 Michael Albinus <michael.albinus@gmx.de>
13198
d090ed6c
SM
13199 * net/tramp.el (tramp-process-actions): Add POS argument.
13200 Delete region between POS and (pos).
bfd31217 13201
d090ed6c
SM
13202 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13203 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13204 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13205
13206 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13207 position in `tramp-process-actions' call.
13208
13209 * net/trampver.el: Update release number.
13210
e92f3bd3
SM
132112011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13212
850256b5
SM
13213 * custom.el (defcustom): Obey lexical-binding.
13214
e92f3bd3
SM
13215 Fix octave-inf completion problems reported by Alexander Klimov.
13216 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13217 Inherit from octave-mode-syntax-table.
13218 (inferior-octave-mode): Set info-lookup-mode.
13219 (inferior-octave-completion-at-point): New function.
13220 (inferior-octave-complete): Use it and completion-in-region.
13221 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13222 comint-filename-completion.
13223 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13224 symbol elements which shouldn't be word elements.
13225 (octave-font-lock-keywords, octave-beginning-of-defun)
13226 (octave-function-header-regexp): Adjust regexps accordingly.
13227 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13228
cd22b309
JB
132292011-04-25 Juanma Barranquero <lekktu@gmail.com>
13230
13231 * net/gnutls.el (gnutls-errorp): Declare before first use.
13232
8b492194
TZ
132332011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13234
13235 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13236 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13237 default trustfile exists before going to use it. Add missing
5a5fa834 13238 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13239 Reported by Claudio Bley <claudio.bley@gmail.com>.
13240 (open-gnutls-stream): Add usage example.
13241
13242 * net/network-stream.el (network-stream-open-starttls): Give host
13243 parameter to `gnutls-negotiate'.
13244 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13245 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13246
841a1577 132472011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13248
cd22b309
JB
13249 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13250 Use correct match group (bug#8438).
05842630 13251
3ba7869c
CY
132522011-04-24 Chong Yidong <cyd@stupidchicken.com>
13253
512e3ae1
CY
13254 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13255 (package-menu--generate): New arg specifying packages to show.
13256 (package-menu-refresh, package-menu-execute, list-packages):
13257 Callers changed.
13258 (package-show-package-list): New function, replacing deleted
13259 package--list-packages (renamed because it is non-internal).
13260
13261 * finder.el (finder-list-matches): Use package-show-package-list
13262 instead of deleted package--list-packages.
13263
e92f3bd3
SM
13264 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13265 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13266 (vc-annotate-mode-map): Bind it to RET.
13267
7031be6d
UR
132682011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13269
13270 * progmodes/etags.el (next-file): Don't use set-buffer to change
13271 buffers (Bug#8478).
13272
4ef177aa
CY
132732011-04-24 Chong Yidong <cyd@stupidchicken.com>
13274
c8d173eb
CY
13275 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13276
4ef177aa
CY
13277 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13278 (apropos-accumulator): Doc fix.
13279 (apropos-function, apropos-macro, apropos-command)
13280 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13281 (apropos-plist): Add face property.
13282 (apropos-symbols-internal): Fix indentation.
13283 (apropos-print): Simplify help, and recognize apropos-multi-type.
13284 (apropos-print-doc): Use button-type-get to extract the button's
13285 face property. Fill docstring (Bug#8352).
13286
4ffd0d6b 132872011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13288
13289 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13290
c6c32125 13291 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13292 (mpuz-mode-map): Use mapc.
c6c32125
JB
13293 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13294 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13295 Fix typos in docstrings.
13296
58d468b4
JB
13297 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13298 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13299
6470c3c6
JB
13300 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13301
4ffd0d6b 133022011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13303
13304 * minibuffer.el (completion--do-completion): Avoid the "Next char
13305 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13306
3ad8bad0
CY
13307 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13308 mouse-2 into unread-command-events, it is interpreted correctly.
13309
71d73c9c 13310 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13311 (image-toggle-display): Doc fix.
71d73c9c 13312
841a1577 133132011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13314
4ffd0d6b
GM
13315 * textmodes/page.el (what-page): Use line-number-at-pos to
13316 calculate line number (Bug#6825).
6e1dbaa9 13317
c2fb1b60
JB
133182011-04-22 Juanma Barranquero <lekktu@gmail.com>
13319
13320 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13321 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13322 Pass argument NO-DEFAULT to `find-tag-interactive'.
13323
e02f48d7
JB
133242011-04-22 Juanma Barranquero <lekktu@gmail.com>
13325
13326 Lexical-binding cleanup.
13327
13328 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13329 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13330 * progmodes/ada-prj.el (ada-prj-initialize-values)
13331 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13332 (ada-prj-show-value):
13333 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13334 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13335 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13336 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13337 * progmodes/bug-reference.el (bug-reference-push-button):
13338 * progmodes/fortran.el (fortran-line-length):
13339 * progmodes/glasses.el (glasses-change):
13340 * progmodes/octave-mod.el (octave-fill-paragraph):
13341 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13342 (python-pdbtrack-grub-for-buffer, python-sentinel):
13343 * progmodes/sql.el (sql-save-connection):
13344 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13345 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13346 Mark unused parameters.
13347
13348 * progmodes/compile.el (compilation--flush-directory-cache)
13349 (compilation--flush-parse, compile-internal): Mark unused parameters.
13350 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13351 (compilation-next-error-function): Remove unused variable `timestamp'.
13352
13353 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13354 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13355
13356 * progmodes/dcl-mode.el (dcl-end-of-command):
13357 Remove unused variable `start'.
13358 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13359 (dcl-option-value-basic, dcl-option-value-offset)
13360 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13361 Mark unused parameters.
13362 (dcl-save-local-variable): Remove unused variable `val'.
13363 (mode): Declare.
13364
13365 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13366 Mark unused parameters.
13367 (delphi-ignore-changes): Move before first use.
13368 (delphi-charset-token-at): Remove unused variable `start'.
13369 (delphi-else-start): Remove unused variable `if-count'.
13370 (delphi-comment-block-start, delphi-comment-block-end):
13371 Remove unused variable `kind'.
13372 (delphi-indent-line): Remove unused variable `new-point'.
13373
13374 * progmodes/ebrowse.el (ebrowse-files-list)
13375 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13376 Mark unused parameters. Don't quote `lambda'.
13377 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13378 Don't quote `lambda'.
13379 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13380 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13381 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13382 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13383 Use `ignore-errors'.
13384 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13385 (ebrowse-view/find-file-and-search-pattern)
13386 (ebrowse-view/find-member-declaration/definition):
13387 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13388 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13389 Rename parameter PREFIX-ARG to PREFIX.
13390 (ebrowse-tags-read-name): Remove unused variables `start' and
13391 `member-info'.
13392 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13393 to `tags-file'.
13394
13395 * progmodes/etags.el (local-find-tag-hook): Declare.
13396 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13397 Mark unused parameters.
13398
13399 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13400 (executable-interpret): Mark unused parameter.
13401
13402 * progmodes/flymake.el (flymake-process-sentinel)
13403 (flymake-after-change-function)
13404 (flymake-create-temp-with-folder-structure)
13405 (flymake-get-include-dirs-dot): Mark unused parameters.
13406 (flymake-safe-delete-directory): Remove unused variable `err'.
13407
13408 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13409 (speedbar-timer-fn, speedbar-line-text)
13410 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13411 (speedbar-center-buffer-smartly): Declare functions.
13412 (gdb-find-watch-expression): Remove unused variable `array'.
13413 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13414 (gdb-starting): Mark unused parameters.
13415 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13416 (gdb-table-string): Remove unused variable `res'.
13417 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13418 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13419 (gdb-display-buffer): Remove unused variable `cur-size'.
13420
13421 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13422 allow lexical-binding compilation.
13423 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13424 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13425 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13426 Mark unused parameters.
13427 (gud-gdb-marker-filter): Remove unused variable `match'.
13428 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13429 lambda expressions and funcall them, instead of using `fset'.
13430
13431 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13432 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13433
13434 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13435 variable `header-beg'; use `let'.
13436
13437 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13438 `restart', `last-sexp' and `at-do'.
13439
13440 * progmodes/js.el (js--debug): Mark unused parameter.
13441 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13442 (js--splice-into-items): Remove unused variable `item'.
13443 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13444
13445 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13446 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13447 (makefile-complete): Remove unused variable `try'.
13448 (makefile-fill-paragraph, makefile-match-function-end):
13449 Mark unused parameters.
13450
13451 * progmodes/octave-inf.el (inferior-octave-complete):
13452 Remove unused variable `proc'.
13453 (inferior-octave-output-digest): Mark unused parameter.
13454
13455 * progmodes/perl-mode.el (perl-calculate-indent):
13456 Remove unused variable `err'.
13457
13458 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13459 (prolog-indent-line): Mark unused parameters.
13460 (prolog-indent-line): Remove unused variable `beg'.
13461
13462 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13463 (reporter-dont-compact-list): Declare.
13464
13465 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13466 Remove unused variable `char'.
13467 (sh-debug): Mark unused parameter.
13468 (sh-get-indent-info): Remove unused variable `start'.
13469 (sh-calculate-indent): Remove unused variable `var'.
13470
13471 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13472 (simula-electric-keyword): Remove unused variable `null'.
13473 (simula-search-backward, simula-search-forward): Remove unused
13474 variables `begin' and `end'.
13475
13476 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13477 Remove unused variable `pos'.
13478 (vera-electric-tab, vera-comment-uncomment-region):
13479 Mark unused parameters.
13480 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13481
7ede3b65
CY
134822011-04-22 Chong Yidong <cyd@stupidchicken.com>
13483
13484 * emacs-lisp/package.el (package--builtins, package-alist)
13485 (package-load-descriptor, package-built-in-p, package-activate)
13486 (define-package, package-installed-p)
13487 (package-compute-transaction, package-buffer-info)
13488 (package--push): Doc fix. Distinguish more clearly between
13489 version strings and version lists.
13490
121656e9
JB
134912011-04-21 Juanma Barranquero <lekktu@gmail.com>
13492
13493 Lexical-binding cleanup.
13494
13495 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13496 (5x5-make-mutate-best):
13497 * play/fortune.el (fortune-in-buffer):
13498 * play/gomoku.el (gomoku-init-display):
13499 * play/solitaire.el (solitaire, solitaire-do-check):
13500 * play/tetris.el (tetris-default-update-speed-function):
13501 Mark unused parameters.
13502
13503 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13504 (bubbles--shift): Remove unused variable `char-org'.
13505 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13506 (bubbles--show-images): Remove unused variable `char'.
13507
13508 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13509 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13510 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13511 (decipher-analyze-buffer): Use ?\s.
13512 (decipher-make-checkpoint): Remove unused variable `mapping'.
13513
13514 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13515
13516 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13517 Remove unused variable `result'; use `let'.
13518
13519 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13520 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13521 (gametree-children-shown-p, gametree-compute-reduced-score):
13522 Use `ignore-errors'.
13523
13524 * play/handwrite.el (ps-lpr-switches): Declare.
13525 (handwrite): Remove unused variables `pmin' and `lastp'.
13526
13527 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13528
13529 * play/landmark.el (landmark-init-display)
13530 (landmark-update-naught-weights): Mark unused parameters.
13531 (landmark-y): Remove unused variable `noise'. Simplify.
13532 (landmark-human-plays): Remove unused variable `score'.
13533
13534 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13535 (mpuz-try-proposal): Remove unused variable `game'.
13536
13537 * play/zone.el (life-patterns): Declare.
13538
80f499c7
JB
135392011-04-20 Juanma Barranquero <lekktu@gmail.com>
13540
13541 * vc/vc.el (ediff-vc-internal): Declare function.
13542
024ff170
SM
135432011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13544
c0a193ea
SM
13545 * shell.el: Use lexical-binding and std completion UI.
13546 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13547 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13548 comint-preoutput-filter-functions rather than on
13549 comint-output-filter-functions.
13550 (shell-command-completion, shell--command-completion-data)
13551 (shell-filename-completion, shell-environment-variable-completion)
13552 (shell-c-a-p-replace-by-expanded-directory): New functions.
13553 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13554 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13555 (shell-dynamic-complete-environment-variable): Use them.
13556 (shell-dynamic-complete-as-environment-variable)
13557 (shell-dynamic-complete-as-command): Remove.
13558 (shell-match-partial-variable): Match past point.
13559 * comint.el: Clean up use of completion-at-point-functions.
13560 (comint-completion-at-point): New function.
13561 (comint-mode): Use it completion-at-point-functions.
13562 (comint-dynamic-complete): Make it obsolete.
13563 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13564 (comint-c-a-p-replace-by-expanded-history): New function.
13565 (comint-dynamic-complete-functions)
13566 (comint-replace-by-expanded-history): Use it.
13567 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13568 termination strings. Try harder to avoid second try-completion.
13569 (completion-in-region-mode-map): Disable bindings that don't work yet.
13570
2dbaa080
SM
13571 * comint.el: Use lexical-binding. Require CL.
13572 (comint-dynamic-complete-functions): Use comint-filename-completion.
13573 (comint-completion-addsuffix): Tweak custom type.
13574 (comint-filename-completion, comint--common-suffix)
13575 (comint--common-quoted-suffix, comint--table-subvert)
13576 (comint--complete-file-name-data): New functions.
13577 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13578 (comint-dynamic-list-filename-completions): Use them.
13579 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13580
2dbaa080
SM
13581 * minibuffer.el (completion-in-region-mode):
13582 Keep completion-in-region-mode--predicate global.
13583 (completion-in-region--postch):
13584 Assume completion-in-region-mode--predicate is not null.
13585
c79a6f38
SM
13586 * progmodes/flymake.el (flymake-start-syntax-check-process):
13587 Obey `dir'. Simplify.
13588
024ff170
SM
13589 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13590 we're in VC after all.
13591
1c6c854e
CS
135922011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13593
13594 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13595 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13596 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13597
bed7f140
SM
135982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13599
332e62ab
SM
13600 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13601 add sanity check.
13602
bed7f140
SM
13603 * obsolete/erc-hecomplete.el: Make obsolete.
13604 * obsolete/: Standardize obsolescence info in the header.
13605
f195c582
GM
136062011-04-20 Glenn Morris <rgm@gnu.org>
13607
13608 * calendar/solar.el (solar-horizontal-coordinates):
13609 Use the longitude argument rather than `calendar-longitude'.
13610 (solar-date-next-longitude): Remove unused locals.
13611
cb79b8c0
VJL
136122011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13613
13614 * whitespace.el: New version 13.2.1.
13615
136162011-04-20 felix <EmacsWiki> (tiny change)
13617
d8e4b68b 13618 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13619 switching between major modes on a file.
13620
602ea69d
SM
136212011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13622
13623 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13624 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13625 multi-line comments as well.
13626
06b60517
JB
136272011-04-19 Juanma Barranquero <lekktu@gmail.com>
13628
13629 Lexical-binding cleanup.
13630
13631 * arc-mode.el (archive-mode-revert):
13632 * cmuscheme.el (scheme-interactively-start-process):
13633 * custom.el (custom-initialize-delay):
13634 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13635 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13636 * emacs-lock.el (emacs-lock-clear-sentinel):
13637 * ezimage.el (defezimage):
13638 * follow.el (follow-avoid-tail-recenter):
13639 * fringe.el (set-fringe-mode-1):
13640 * generic-x.el (bat-generic-mode-compile):
13641 * help-mode.el (help-info-variable, help-do-xref)
13642 (help-mode-revert-buffer):
13643 * help.el (view-emacs-todo):
13644 * iswitchb.el (iswitchb-completion-help):
13645 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13646 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13647 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13648 * locate.el (locate-update):
13649 * longlines.el (longlines-encode-region)
13650 (longlines-after-change-function):
13651 * outline.el (outline-isearch-open-invisible):
13652 * ps-def.el (declare-function, charset-dimension, char-width)
13653 (encode-char):
13654 * ps-mule.el (ps-mule-plot-string):
13655 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13656 (recentf-edit-list-select, recentf-edit-list-validate)
13657 (recentf-open-files-action):
13658 * rect.el (delete-whitespace-rectangle-line)
13659 (rectangle-number-line-callback):
13660 * register.el (window-configuration-to-register)
13661 (frame-configuration-to-register):
13662 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13663 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13664 (xselect-convert-to-targets, xselect-convert-to-delete)
13665 (xselect-convert-to-filename, xselect-convert-to-charpos)
13666 (xselect-convert-to-lineno, xselect-convert-to-colno)
13667 (xselect-convert-to-os, xselect-convert-to-host)
13668 (xselect-convert-to-user, xselect-convert-to-class)
13669 (xselect-convert-to-name, xselect-convert-to-integer)
13670 (xselect-convert-to-atom, xselect-convert-to-identity):
13671 * subr.el (declare, ignore, process-kill-without-query)
13672 (text-clone-maintain):
13673 * terminal.el (te-get-char, te-tic-sentinel):
13674 * tool-bar.el (tool-bar-make-keymap):
13675 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13676 * type-break.el (type-break-mode, type-break-noninteractive-query):
13677 * view.el (View-back-to-mark):
13678 * wid-browse.el (widget-browse-action, widget-browse-widget)
13679 (widget-browse-widgets, widget-browse-sexp):
13680 * widget.el (define-widget-keywords):
13681 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13682 Mark unused parameters.
13683
13684 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13685 (align-areas): Remove unused variable `look'.
13686 (align-region): Remove unused variables `real-end' and `pos-list'.
13687
13688 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13689
13690 * bindings.el (mode-line-modified, mode-line-remote):
13691 Mark unused parameters.
13692 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13693
13694 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13695 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13696
13697 * comint.el (comint-history-isearch-pop-state)
13698 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13699 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13700 (comint-substitute-in-file-name): Doc fix.
13701
13702 * completion.el (cmpl-statistics-block): Mark unused parameter.
13703 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13704 (save-completions-to-file, load-completions-from-file):
13705 Remove unused local variable `e'.
13706
13707 * composite.el (compose-chars): Remove unused variable `len'.
13708 (lgstring-insert-glyph): Remove unused variable `g'.
13709 (compose-glyph-string): Remove unused variables `ascent',
13710 `descent', `lbearing' and `rbearing'.
13711 (compose-glyph-string-relative): Remove unused variables
13712 `lbearing', `rbearing' and `wadjust'.
13713 (compose-gstring-for-graphic): Remove unused variables `header',
13714 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13715 (compose-gstring-for-terminal): Remove unused variables `header'
13716 and `nchars'. Use `let', not `let*'.
13717
13718 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13719 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13720 (Custom-buffer-done, custom-buffer-create-internal)
13721 (custom-browse-visibility-action, custom-browse-group-tag-action)
13722 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13723 (widget-magic-mouse-down-action, custom-toggle-parent)
13724 (custom-add-parent-links, custom-toggle-hide-variable)
13725 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13726 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13727 (custom-face-menu-create, custom-variable-menu-create, get)
13728 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13729 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13730 (customize-apropos): Remove unused variable `tests'.
13731 (custom-group-value-create): Remove unused variable `hidden-p'.
13732 (sort-fold-case): Declare.
13733
13734 * cus-theme.el (custom-reset-standard-faces-list)
13735 (custom-reset-standard-variables-list): Declare.
13736 (customize-create-theme, custom-theme-revert, custom-theme-write)
13737 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13738 Mark unused parameters.
13739
13740 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13741
13742 * delim-col.el (delimit-columns-max): Move defvar before first use.
13743
13744 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13745 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13746
13747 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13748 (auto-insert): Declare.
13749 (desktop-restore-file-buffer): Rename desktop-* parameters;
13750 mark unused ones.
13751 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13752 (desktop-buffer): Rename desktop-* parameters.
13753
13754 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13755 (dframe-reposition-frame-xemacs, dframe-help-echo)
13756 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13757 Mark unused parameters.
13758
13759 * dired-aux.el (backup-extract-version-start, overwrite-query)
13760 (overwrite-backup-query, rename-regexp-query)
13761 (rename-non-directory-query): Declare.
13762 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13763 (dired-add-entry): Remove unused variable `orig-file-name'.
13764 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13765 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13766 `dired-copy-preserve-time' directly.
13767 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13768 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13769
13770 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13771 (dired-virtual-revert, dired-make-relative-symlink):
13772 Mark unused parameters.
13773 (manual-program): Declare.
13774 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13775 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13776 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13777
13778 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13779
13780 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13781
13782 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13783 Declare.
13784
13785 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13786
13787 * electric.el (Electric-command-loop): Rename parameter
13788 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13789
13790 * expand.el (expand-in-literal): Remove unused variable `here'.
13791
13792 * facemenu.el (facemenu-add-new-color):
13793 Remove unused variable `docstring'.
13794
13795 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13796 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13797 (face-attr-construct): Mark unused parameter. Doc fix.
13798 (read-color): Remove unused variable `hex-string'.
13799
13800 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13801 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13802 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13803 (display-buffer-other-frame): Remove unused variable `old-window'.
13804 (kill-buffer-hook): Declare.
13805 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13806 Mark unused parameters.
13807 (after-find-file): Pass 1 to `auto-save-mode', not t.
13808
13809 * files-x.el (auto-insert): Declare.
13810 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13811
13812 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13813 variable `buf'. Mark unused parameter.
06b60517
JB
13814 (find-lisp-insert-directory): Mark unused parameter.
13815
13816 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13817 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13818 (format-common-tail): Remove, unused.
13819 (format-deannotate-region): Remove unused variable `loc'.
13820 (format-annotate-region): Remove unused variable `p'.
13821 (format-annotate-single-property-change): Remove unused variables
13822 `default' and `tail'.
13823
13824 * forms.el (read-file-filter): Declare.
13825 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13826
13827 * frame.el (frame-creation-function-alist): Mark unused parameter.
13828 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13829
13830 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13831 Remove unused parameters.
13832 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13833 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13834
13835 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13836 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13837 (hfy-prepare-tag-map): Mark unused parameters.
13838 (htmlfontify-buffer): Use `called-interactively-p'.
13839
13840 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13841 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13842 (ibuffer-do-occur): Mark unused parameters.
13843 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13844 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13845
13846 * ibuffer.el: Don't quote `lambda'.
13847 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13848 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13849 Mark unused parameters.
13850
13851 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13852 (ido-completing-read): Mark unused parameters.
13853 (ido-copy-current-word): Mark unused parameters;
13854 remove unused variable `name'.
13855 (ido-sort-merged-list): Remove unused parameter `dirs'.
13856
13857 * ielm.el (ielm-input-sender): Mark unused parameter.
13858 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13859 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13860 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13861 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13862 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13863
13864 * image-dired.el (image-dired-display-thumbs): Remove unused
13865 variables `curr-file' and `count'.
13866 (image-dired-remove-tag): Remove unused variable `start'.
13867 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13868 variable `curr-file'
13869 (image-dired-rotate-original): Remove unused variable `temp-file'.
13870 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13871 Remove unused variable `file'.
13872 (image-dired-gallery-generate): Remove unused variable `curr'.
13873 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13874
13875 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13876
13877 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13878
13879 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13880
13881 * isearch.el (minibuffer-history-symbol): Declare.
13882 (isearch-edit-string): Remove unused variable `err'.
13883 (isearch-message-prefix, isearch-message-suffix):
13884 Mark unused parameters.
13885
13886 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13887
13888 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13889
13890 * makesum.el (double-column): Remove unused variable `cnt'.
13891
13892 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13893 (ido-ignore-item-temp-list): Declare.
13894
13895 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13896 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13897 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13898 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13899 `mouse-col-delta'.
13900
13901 * mouse-sel.el (mouse-extend-internal):
13902 Remove unused variable `orig-window-frame'.
13903
13904 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13905 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13906 Move declarations before first use.
13907 (pcomplete-opt): Mark unused parameters; doc fix.
13908
13909 * proced.el (proced-revert): Mark unused parameter.
13910 (proced-send-signal): Remove unused variable `err'.
13911
13912 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13913 Rename parameter PREFIX-ARG to ARG.
13914 (ps-basic-plot-string, ps-basic-plot-whitespace):
13915 Mark unused parameters.
13916
13917 * replace.el (replace-count): Define.
13918 (occur-revert-function): Mark unused parameters.
13919 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13920 (isearch-case-fold-search, isearch-string): Declare.
13921 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13922 bind `case-fold-search'. Remove unused variables `beg' and `end',
13923 and simplify.
13924 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13925 COUNT and bind `replace-count'.
13926 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13927 to COUNT.
13928
13929 * savehist.el (print-readably, print-string-length): Declare.
13930
13931 * shadowfile.el (shadow-expand-cluster-in-file-name):
13932 Remove unused variable `cluster'.
13933 (shadow-copy-file): Remove unused variable `i'.
13934 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13935 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13936 (shadow-define-literal-group, shadow-define-regexp-group)
13937 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13938
13939 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13940 (shell): Use `called-interactively-p'.
13941 (shell-directory-tracker): Remove unused variable `chdir-failure'.
13942
13943 * simple.el (compilation-context-lines, comint-file-name-quote-list)
13944 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
13945 (delete-backward-char): Remove unused variable `ocol'.
13946 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
13947 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
13948 (event-apply-hyper-modifier, event-apply-shift-modifier)
13949 (event-apply-control-modifier, event-apply-meta-modifier):
13950 Mark unused parameters.
13951 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
13952 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
13953
13954 * speedbar.el (speedbar-ignored-directory-expressions)
13955 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
13956 (speedbar-find-file, speedbar-dir-follow)
13957 (speedbar-directory-buttons-follow, speedbar-tag-find)
13958 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
13959 (speedbar-buffers-line-directory, speedbar-buffer-click):
13960 Mark unused parameters.
13961 (speedbar-tag-file): Remove unused variable `mode'.
13962 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
13963
13964 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
13965
13966 * talk.el (talk): Remove unused variable `display'.
13967
13968 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
13969 (tar-write-region-annotate): Mark unused parameter.
13970
13971 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
13972 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
13973 Declare them, wrapped in `with-no-warnings' to avoid replacing one
13974 warning by another.
13975
13976 * time-stamp.el (time-stamp-string-preprocess):
13977 Remove unused variable `require-padding'.
13978
13979 * tree-widget.el (widget-glyph-enable): Declare.
13980 (tree-widget-action): Mark unused parameter.
13981
13982 * w32-fns.el (x-get-selection): Mark unused parameter.
13983 (autoload-make-program, generated-autoload-file): Declare.
13984
13985 * wdired.el (wdired-revert): Mark unused parameters.
13986 (wdired-xcase-word): Remove unused variable `err'.
13987
13988 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
13989 (whitespace-help-scroll): Remove unused variable `data-help'.
13990
13991 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
13992 (widget-image-insert, widget-after-change, default)
13993 (widget-default-format-handler, widget-default-notify)
13994 (widget-default-prompt-value, widget-info-link-action)
13995 (widget-url-link-action, widget-function-link-action)
13996 (widget-variable-link-action, widget-file-link-action)
13997 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
13998 (widget-field-prompt-internal, widget-field-action, widget-field-match)
13999 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14000 (widget-insert-button-action, widget-delete-button-action, visibility)
14001 (widget-documentation-link-action, widget-documentation-string-action)
14002 (widget-const-prompt-value, widget-regexp-match, symbol)
14003 (widget-coding-system-prompt-value)
14004 (widget-key-sequence-value-to-external, sexp)
14005 (widget-sexp-value-to-internal, character, vector, cons)
14006 (widget-choice-prompt-value, widget-boolean-prompt-value)
14007 (widget-color--choose-action): Mark unused parameters.
14008 (widget-item-match-inline, widget-choice-match-inline)
14009 (widget-checklist-match, widget-checklist-match-inline)
14010 (widget-group-match): Rename parameter VALUES to VALS.
14011 (widget-field-value-set): Remove unused variable `size'.
14012 (widget-color-action): Remove unused variables `value' and `start'.
14013
14014 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14015 variable `dir'. Doc fix.
06b60517
JB
14016 (windmove-find-other-window): Don't pass it.
14017
14018 * window.el (count-windows): Mark unused parameter.
14019 (bw-adjust-window): Remove unused variable `err'.
14020
14021 * woman.el (woman-file-name): Remove unused variable `default'.
14022 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14023 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14024 (global-font-lock-mode): Declare.
14025 (woman-decode-region): Mark unused parameter.
14026 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14027
14028 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14029 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14030 (x-dnd-handle-moz-url): Remove unused variable `title'.
14031 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14032
14033 * xml.el (xml-parse-tag, xml-parse-attlist):
14034 Remove unused variable `pos'.
14035
bc4f7f3d
GM
140362011-04-19 Glenn Morris <rgm@gnu.org>
14037
14038 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14039 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14040 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14041 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14042 * calendar/cal-html.el (cal-html-insert-minical):
14043 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14044 (calendar-mark-date-pattern):
14045 Prefix "unused" locals.
14046
14047 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14048 optional argument `style'.
14049
14050 * calendar/appt.el (appt-make-list):
14051 * calendar/cal-china.el (calendar-chinese-date-string):
14052 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14053 (diary-hebrew-yahrzeit):
14054 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14055 * calendar/calendar.el (calendar-generate-window):
14056 * calendar/time-date.el (time-to-days):
14057 Remove unused local variables.
14058
16a43933
CY
140592011-04-18 Chong Yidong <cyd@stupidchicken.com>
14060
14061 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14062 glyphless-char-display table.
14063 (tabulated-list-glyphless-char-display): New var.
14064
7eed1860
SS
140652011-04-18 Sam Steingold <sds@gnu.org>
14066
14067 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14068 to acknowledgments.
14069
4d2d1ccd
GM
140702011-04-17 Glenn Morris <rgm@gnu.org>
14071
14072 * calendar/diary-lib.el (diary-sexp-entry):
14073 * calendar/holidays.el (holiday-sexp):
14074 Set debug-on-error rather than the removed stack-trace-on-error.
14075
239da61d
GM
140762011-04-16 Glenn Morris <rgm@gnu.org>
14077
14078 * progmodes/f90.el: Use lexical-binding.
14079 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14080
8b05752a
SM
140812011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14082
daca8ba5
SM
14083 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14084 (mail-mode): Setup mailalias completion here instead.
14085 * mail/mailalias.el: Use lexical-binding.
14086 (pattern, mailalias-done): Declare dynamic.
14087 (mail-completion-at-point-function): New function, from mail-complete.
14088 (mail-complete): Use it.
14089 (mail-completion-expand): New function.
14090 (mail-get-names): Use it.
14091 (mail-directory, mail-directory-process, mail-directory-stream):
14092 Don't use `pattern' for lexically bound arg.
14093
6f542485
SM
14094 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14095
037e7c3f
SM
14096 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14097 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14098 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14099
8b05752a
SM
14100 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14101 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14102 (byte-interactive-p): Define them again, for use when inlining
14103 old code.
14104
49093f60
JB
141052011-04-15 Juanma Barranquero <lekktu@gmail.com>
14106
14107 * loadup.el: Use `string-to-number', not `string-to-int'.
14108
b5b8e7de
SM
141092011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14110
14111 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14112 gud-gdb-complete-command.
14113 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14114 (gud-gdb-completion-at-point): New function.
14115 (gud-gdb-completions): Remove.
14116
f42efeb5
MA
141172011-04-14 Michael Albinus <michael.albinus@gmx.de>
14118
49093f60
JB
14119 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14120 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14121 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14122 whether `executable-find' is bound.
f42efeb5
MA
14123
14124 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14125
e240cc21
SM
141262011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14127
14128 * minibuffer.el (completion-in-region-mode-predicate)
14129 (completion-in-region-mode--predicate): New vars.
14130 (completion-in-region, completion-in-region--postch)
14131 (completion-in-region-mode): Use them.
14132 (completion--capf-wrapper): Also return the hook function.
14133 (completion-at-point, completion-help-at-point):
14134 Adjust and provide a predicate.
c2bd2ab0
SM
14135
14136 Preserve arg names for advice of subr and lexical functions (bug#8457).
14137 * help-fns.el (help-function-arglist): Consolidate the subr and
14138 new-byte-code cases. Add argument `preserve-names' to extract names
14139 from the docstring when needed.
14140 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14141 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14142 (ad-arglist): Use help-function-arglist's new arg.
14143 (ad-definition-type): Use cond.
14144
c183f693
JB
141452011-04-13 Juanma Barranquero <lekktu@gmail.com>
14146
06641a47
JB
14147 * autorevert.el (auto-revert-handler):
14148 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14149 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14150 Don't quote lambda.
14151
c183f693
JB
14152 * image-mode.el (image-transform-set-scale):
14153 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14154
1e3b6001
G
141552011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14156
14157 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14158 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14159 Upgrades via gnutls-cli are too slow to be done opportunistically.
14160
2d6af8dd
JB
141612011-04-12 Juanma Barranquero <lekktu@gmail.com>
14162
14163 * dframe.el (dframe-current-frame): Remove spurious quote.
14164
c0749a51
GM
141652011-04-12 Glenn Morris <rgm@gnu.org>
14166
088d0d61
GM
14167 * calendar/cal-tex.el (cal-tex-end-document):
14168 Try to automatically use latin1 input if needed.
14169
c0749a51
GM
14170 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14171 Don't try to cons a mark onto an empty element.
14172
5c90fde0
LL
141732011-04-11 Leo Liu <sdl.web@gmail.com>
14174
14175 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14176 buffers.
14177 (ido-kill-buffer-at-head): Support killing virtual buffers.
14178
369e974d
CY
141792011-04-10 Chong Yidong <cyd@stupidchicken.com>
14180
14181 * minibuffer.el (completion-show-inline-help): New var.
14182 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14183 (minibuffer-force-complete, minibuffer-complete-word):
14184 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14185
14186 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14187 to avoid interference from inline help (Bug#5849).
14188
37f1c930
LL
141892011-04-10 Leo Liu <sdl.web@gmail.com>
14190
099c39a4
JB
14191 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14192 Fix typo.
37f1c930 14193
a32d4040
CY
141942011-04-09 Chong Yidong <cyd@stupidchicken.com>
14195
14196 * image-mode.el (image-toggle-display-image): Signal an error if
14197 not in Image mode.
14198 (image-transform-mode, image-transform-resize)
14199 (image-transform-set-rotation): Doc fix.
daca8ba5 14200 (image-transform-set-resize): Delete.
a32d4040
CY
14201 (image-transform-set-scale, image-transform-fit-to-height)
14202 (image-transform-fit-to-width): Handle image-toggle-display-image
14203 and image-transform-resize directly.
14204
099c39a4 142052011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14206
14207 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14208 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14209 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14210 (doc-view-mode-map): Add bindings for the new functions.
14211
099c39a4 142122011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14213
4d61f28d 14214 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14215 Fix typo in docstring.
14216
3726838a
EZ
142172011-04-08 Eli Zaretskii <eliz@gnu.org>
14218
04f33f1e
EZ
14219 * files.el (file-size-human-readable): Produce one digit after
14220 decimal, like "ls -lh" does.
14221
14222 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14223 the file size representation.
14224
3726838a
EZ
14225 * simple.el (list-processes): If async subprocesses are not
14226 available, error out with a clear error message.
14227
cbb59342
CY
142282011-04-08 Chong Yidong <cyd@stupidchicken.com>
14229
14230 * help.el (help-form-show): New function, to be called from C.
14231 Put help-form output in a buffer named differently than *Help*.
14232
e3971c44
EZ
142332011-04-08 Eli Zaretskii <eliz@gnu.org>
14234
14235 * files.el (file-size-human-readable): New function.
14236
14237 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14238 computing the representation inline. Don't require `cl'.
14239
12544bbe
GM
142402011-04-08 Glenn Morris <rgm@gnu.org>
14241
a1de6c6a
GM
14242 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14243
3c4671f4
GM
14244 * net/browse-url.el (browse-url-firefox):
14245 Test system-type, not system-configuration.
14246
b605679c
GM
14247 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14248 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14249 Use log-edit-empty-buffer-p. (Bug#7598)
14250
56442f0c
GM
14251 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14252 (rlogin-mode-map): Initialize in the defvar.
14253 (rlogin): Use ignore-errors.
14254
12544bbe
GM
14255 * replace.el (occur-mode-map): Some fixes for menu items.
14256
eb237b0f
AH
142572011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14258
14259 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14260
7d668f2c
CY
142612011-04-06 Chong Yidong <cyd@stupidchicken.com>
14262
e67a13ab
CY
14263 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14264 issuing unused warnings.
14265
14266 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14267 macro directly.
14268
7d668f2c
CY
14269 * simple.el: Lisp reimplement of list-processes. Based on an
14270 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14271 (process-menu-mode): New major mode.
14272 (list-processes--refresh, list-processes):
14273 (process-menu-visit-buffer): New functions.
14274
14275 * files.el (save-buffers-kill-emacs): Don't assume any return
14276 value of list-processes, which is undocumented anyway.
14277
a83ec3c9
CY
142782011-04-06 Chong Yidong <cyd@stupidchicken.com>
14279
14280 * emacs-lisp/tabulated-list.el: New file.
14281
e91a96fe
CY
14282 * emacs-lisp/package.el: Use Tabulated List mode.
14283 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14284 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14285 table format using Tabulated List mode variables.
14286 (package--push): New macro, replacing package-list-maybe-add.
14287 (package-menu--generate): Use package--push. Renamed from
14288 package--generate-package-list.
14289 (package-menu-refresh, list-packages): Use it.
daca8ba5 14290 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14291 Return insertion data instead of inserting it directly.
099c39a4
JB
14292 (package-menu-describe-package, package-menu-execute):
14293 Use tabulated-list-get-id.
e91a96fe
CY
14294 (package-menu-mark-delete, package-menu-mark-install)
14295 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14296 (package-menu-mark-obsolete-for-deletion):
14297 Use tabulated-list-put-tag.
e91a96fe
CY
14298 (package--list-packages, package-menu-revert)
14299 (package-menu-get-package, package-menu-get-version)
14300 (package-menu-sort-by-column): Functions deleted.
14301 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14302 (package-menu--status-predicate, package-menu--version-predicate)
14303 (package-menu--name-predicate)
14304 (package-menu--description-predicate): Handle arguments in the
14305 Tabulated List format.
14306 (package-list-packages-no-fetch): Call list-packages.
14307
3e214b50
JB
143082011-04-06 Juanma Barranquero <lekktu@gmail.com>
14309
14310 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14311 (after-find-file): Don't bind it.
3e214b50
JB
14312 (revert-buffer-in-progress-p): New variable.
14313 (revert-buffer): Bind it.
14314 Pass nil for `after-find-file-from-revert-buffer'.
14315
14316 * saveplace.el (save-place-find-file-hook): Use new variable
14317 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14318
3f0f1700
GM
143192011-04-06 Glenn Morris <rgm@gnu.org>
14320
c0274801
GM
14321 * Makefile.in (AUTOGEN_VCS): New variable.
14322 (autoloads): Use $AUTOGEN_VCS.
14323
3f0f1700
GM
14324 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14325 * calendar/calendar.el (calendar-mode-map):
14326 Check for toolkit scroll bars. (Bug#8305)
14327
41ea9e48
CY
143282011-04-05 Chong Yidong <cyd@stupidchicken.com>
14329
14330 * minibuffer.el (completion-in-region--postch)
14331 (completion-in-region-mode): Remove unnecessary messages.
14332
6194c800
JB
143332011-04-05 Juanma Barranquero <lekktu@gmail.com>
14334
33256f14
JB
14335 * font-lock.el (font-lock-refresh-defaults):
14336 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14337 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14338
6194c800
JB
14339 * info.el (Info-directory-list, Info-read-node-name-2)
14340 (Info-split-parameter-string): Doc fixes.
14341 (Info-virtual-nodes): Reflow docstring.
14342 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14343 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14344 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14345 Fix typos in docstrings.
14346 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14347 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14348 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14349 (Info-restore-desktop-buffer): Mark unused parameters.
14350 (Info-directory-find-file, Info-directory-find-node)
14351 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14352 (Info-virtual-index-find-node, Info-apropos-find-file)
14353 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14354 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14355 (Info-virtual-index): Remove unused local variable `nodename'.
14356
b87a8200 143572011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14358
b87a8200
DD
14359 * net/rcirc.el: Update my e-mail address.
14360 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14361
3b2ff876
CY
143622011-04-05 Chong Yidong <cyd@stupidchicken.com>
14363
14364 * startup.el (command-line): Save the cursor's theme-face
14365 directly, instead of using face-override-spec.
14366
14367 * custom.el (load-theme): Minor optimization in assigning faces.
14368
8d17e7ca
JB
143692011-04-04 Juanma Barranquero <lekktu@gmail.com>
14370
14371 * help-fns.el (describe-variable): Complete all variables having
14372 documentation, including keywords.
14373 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14374
2fbc1934
JB
143752011-04-04 Juanma Barranquero <lekktu@gmail.com>
14376
14377 Convert to lexical-binding.
14378
14379 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14380 (bs--get-marked-string, bs--get-modified-string)
14381 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14382 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14383 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14384
14385 * ehelp.el (electric-help-execute-extended)
14386 (electric-help-ctrl-x-prefix):
14387 * hexl.el (hexl-revert-buffer-function):
14388 * linum.el (linum-after-change, linum-after-scroll):
14389 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14390
14391 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14392
74f50695
DU
143932011-04-04 Daiki Ueno <ueno@unixuser.org>
14394
14395 * epa-dired.el:
14396 * epa-mail.el:
14397 * epa-hook.el:
14398 * epa-file.el:
14399 * epa.el:
14400 * epg.el: Use lexical binding.
14401
c11325f7
CY
144022011-04-03 Chong Yidong <cyd@stupidchicken.com>
14403
0d9e9a12
CY
14404 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14405
c11325f7 14406 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14407 dictionary case for flyspell-mark-duplications-exceptions.
14408 Use regexp matching for languages.
c11325f7
CY
14409 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14410 default dictionary (Bug#7926).
14411
da91b5f2
CY
144122011-04-02 Chong Yidong <cyd@stupidchicken.com>
14413
099c39a4
JB
14414 * emacs-lisp/package.el (package--with-work-buffer):
14415 Recognize https URLs.
da91b5f2 14416
099c39a4
JB
14417 * net/network-stream.el: Move from gnus/proto-stream.el.
14418 Change prefix to network-stream throughout.
da91b5f2
CY
14419 (open-protocol-stream): Merge into open-network-stream, leaving
14420 open-protocol-stream as an alias. Handle nil BUFFER args.
14421
14422 * subr.el (open-network-stream): Move to net/network-stream.el.
14423
afa8e9f6
GM
144242011-04-02 Glenn Morris <rgm@gnu.org>
14425
1d2e369d
GM
14426 * find-dired.el (find-exec-terminator): New option.
14427 (find-ls-option): Test for -ls support.
14428 (find-ls-subdir-switches): Test for -b in find-ls-option.
14429 (find-dired, find-grep-dired): Doc fixes.
14430 (find-dired): Use find-exec-terminator.
14431
8abb7da8 14432 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14433 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14434 (find-name-arg): Remove purecopy.
8abb7da8 14435
f3ca7378
GM
14436 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14437 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14438 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14439 accordingly. Don't add the null-device if not needed.
14440
afa8e9f6
GM
14441 * files.el (save-some-buffers): Doc fix.
14442
35eae264
EZ
144432011-04-02 Eli Zaretskii <eliz@gnu.org>
14444
14445 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14446
26b51db5
JB
144472011-04-01 Juanma Barranquero <lekktu@gmail.com>
14448
14449 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14450 Use `dolist' rather than `mapcar'.
14451
7200d79c
SM
144522011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14453
03408648 14454 Add lexical binding.
7200d79c 14455
03408648
SM
14456 * subr.el (apply-partially): Use new closures rather than CL.
14457 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14458 (dolist, dotimes): Use slightly different expansion for lexical code.
14459 (functionp): Move to C.
14460 (letrec): New macro.
14461 (with-wrapper-hook): Use it and apply-partially instead of CL.
14462 (eval-after-load): Preserve lexical-binding.
14463 (save-window-excursion, with-output-to-temp-buffer): Turn them
14464 into macros.
7200d79c 14465
03408648
SM
14466 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14467
14468 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14469 than the arglist.
14470 (help-add-fundoc-usage): Don't add `Not documented'.
14471 (help-function-arglist): Handle closures, subroutines, and new
14472 byte-code-functions.
14473 (help-make-usage): Remove leading underscores.
14474 (describe-function-1): Handle closures.
14475 (describe-variable): Use special-variable-p for completion.
14476
14477 * files.el (lexical-binding): Declare safe.
f488fb65 14478
03408648
SM
14479 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14480 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14481 (pcase): Add `let' pattern.
14482 Change memoization so it actually works.
14483 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14484 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14485 <let>: New case.
f488fb65 14486
03408648
SM
14487 * emacs-lisp/macroexp.el: Use lexical binding.
14488 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14489 Don't convert ' to #' without checking that it's indeed quoting
14490 a lambda.
14491
14492 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14493 Use eval-sexp-add-defvars.
03408648
SM
14494 (eval-sexp-add-defvars): New fun.
14495
14496 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14497
14498 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14499 Don't autoload.
14500 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14501 than the internal `byte-compile-lambda'.
14502 (defmethod): Don't hide code under quotes.
14503 (eieio-defmethod): New `code' argument.
14504
14505 * emacs-lisp/eieio-comp.el: Remove.
14506
14507 * emacs-lisp/edebug.el (edebug-eval-defun)
14508 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14509 (edebug-toggle): Avoid `eval'.
14510
14511 * emacs-lisp/disass.el (disassemble-internal): Handle new
14512 `closure' objects.
14513 (disassemble-1): Handle new byte codes.
14514
14515 * emacs-lisp/cl.el (pushnew): Silence warning.
14516
14517 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14518 (cl-byte-compile-throw): Remove.
14519 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14520
14521 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14522 closures.
14523
14524 * emacs-lisp/cconv.el: New file.
14525
14526 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14527 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14528 (byte-compile-initial-macro-environment):
14529 Handle declare-function here.
14530 (byte-compile--lexical-environment): New var.
14531 (byte-stack-ref, byte-stack-set, byte-discardN)
14532 (byte-discardN-preserve-tos): New lap codes.
14533 (byte-interactive-p): Don't use any more.
14534 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14535 New macros.
14536 (byte-compile-lapcode): Use them and handle new lap codes.
14537 (byte-compile-obsolete): Remove.
14538 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14539 (byte-compile-arglist-warn): Check late def of inlinable funs.
14540 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14541 since they should have been expanded by now.
14542 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14543 (byte-compile-from-buffer): Remove unused second arg.
14544 (byte-compile-preprocess): New function.
14545 (byte-compile-toplevel-file-form): New function to distinguish
14546 file-form calls from outside from file-form calls from hunk-handlers.
14547 (byte-compile-file-form): Simplify.
14548 (byte-compile-file-form-defsubst): Remove.
14549 (byte-compile-file-form-defmumble): Simplify now that
14550 byte-compile-lambda always returns a byte-code-function.
14551 (byte-compile): Preprocess.
14552 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14553 Remove, not used any more.
14554 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14555 (byte-compile-make-args-desc): New funs.
14556 (byte-compile-lambda): Handle lexical functions. Always return
14557 a byte-code-function.
14558 (byte-compile-reserved-constants): New var, to make up room for
14559 closed-over variables.
14560 (byte-compile-constants-vector): Obey it.
14561 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14562 (byte-compile-macroexpand-declare-function): New function.
14563 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14564 byte-code-functions.
14565 (byte-compile-form): Check obsolescence here.
14566 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14567 (byte-compile-variable-ref): Remove.
14568 (byte-compile-dynamic-variable-op): New fun.
14569 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14570 (byte-compile-variable-set): New funs.
14571 (byte-compile-discard): Add 2 args.
14572 (byte-compile-stack-ref, byte-compile-stack-set)
14573 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14574 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14575 macroexpand-all instead.
14576 (byte-compile-quote-form): Remove.
14577 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14578 (byte-compile-bind, byte-compile-unbind): New funs.
14579 (byte-compile-let): Handle let* and lexical binding.
14580 (byte-compile-let*): Remove.
14581 (byte-compile-catch, byte-compile-unwind-protect)
14582 (byte-compile-track-mouse, byte-compile-condition-case):
14583 Handle a new :fun-body form, used for lexical scoping.
14584 (byte-compile-save-window-excursion)
14585 (byte-compile-with-output-to-temp-buffer): Remove.
14586 (byte-compile-defun): Simplify.
14587 (byte-compile-stack-adjustment): New fun.
14588 (byte-compile-out): Use it.
14589 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14590
14591 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14592 handler any more.
14593
14594 * emacs-lisp/byte-opt.el: Use lexical binding.
14595 (byte-inline-lapcode): Remove (to bytecomp).
14596 (byte-compile-inline-expand): Pay attention to inlining to/from
14597 lexically bound code.
14598 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14599 any more.
14600 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14601 any more and don't call compiler-macros.
14602 (byte-compile-splice-in-already-compiled-code): Remove.
14603 (byte-code): Don't inline any more.
14604 (disassemble-offset): Receive `bytes' as argument rather than via
14605 dynamic scoping.
14606 (byte-compile-tag-number): Declare before first use.
14607 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14608 `return' even if make-spliceable.
14609 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14610 obsolete interactive-p.
14611 (byte-optimize-lapcode): Optimize new lap-codes.
14612 Don't trip up on new form of `byte-constant' lap code.
14613
14614 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14615
14616 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14617
14618 * custom.el (custom-initialize-default, custom-declare-variable):
14619 Use `defvar'.
14620
14621 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14622 New variables.
14623 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14624 (COMPILE_FIRST): Add macroexp and cconv.
14625 * makefile.w32-in: Mirror changes in Makefile.in.
14626
14627 * vc/cvs-status.el:
14628 * vc/diff-mode.el:
14629 * vc/log-edit.el:
14630 * vc/log-view.el:
14631 * vc/smerge-mode.el:
14632 * textmodes/bibtex-style.el:
14633 * textmodes/css.el:
14634 * startup.el:
14635 * uniquify.el:
da91b5f2
CY
14636 * minibuffer.el:
14637 * newcomment.el:
14638 * reveal.el:
14639 * server.el:
14640 * mpc.el:
14641 * emacs-lisp/smie.el:
14642 * doc-view.el:
14643 * dired.el:
03408648
SM
14644 * abbrev.el: Use lexical binding.
14645
0f0c1f27
EZ
146462011-04-01 Eli Zaretskii <eliz@gnu.org>
14647
14648 * info.el (info-display-manual): New function.
14649
c82b2579
SM
146502011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14651
14652 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14653
221ddf68
TH
146542011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14655
14656 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14657 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14658
cba6e77e
GM
146592011-03-31 Glenn Morris <rgm@gnu.org>
14660
e040639f
GM
14661 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14662
cba6e77e
GM
14663 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14664
6d0f1c9e
CS
146652011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14666
14667 * progmodes/python.el (python-default-interpreter)
14668 (python-python-command-args, python-jython-command-args)
14669 (python-which-shell, python-which-args, python-which-bufname)
14670 (python-file-queue, python-comint-output-filter-function)
14671 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14672 variables and functions.
14673
3e2d70fd
SM
146742011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14677 (completion-in-region-mode): New minor mode.
14678 (completion-in-region): Use it.
14679 (completion-in-region--data, completion-in-region-mode-map): New vars.
14680 (completion-in-region--postch): New function.
14681 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14682 New vars.
14683 (completion--capf-wrapper): New function.
14684 (completion-at-point): Use it to track well-behavedness of
14685 hook functions.
14686 (completion-help-at-point): New command.
14687
f3e4086c
JM
146882011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14689
14690 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14691 syntax class to search for whitespace on a single line
14692 (Message-ID: <4D938140.4030905@redhat.com>).
14693
eb7ffc14
LL
146942011-03-30 Leo Liu <sdl.web@gmail.com>
14695
14696 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14697 New commands.
14698 (edit-abbrevs-map): Bind them here.
14699 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14700
d806ab68
KM
147012011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14702
14703 * allout.el (allout-hide-by-annotation, allout-flag-region):
14704 Reduce possibility of overlay leakage by making them volatile.
14705
14706 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14707 hash is not shared between buffers. Mode initialization is
14708 responsible for giving it a useful starting value.
14709 (allout-item-span): Reduce possibility of overlay leakage by
14710 making them volatile.
14711 (allout-widgets-count-buttons-in-region): Add diagnostic function
14712 for tracking down button overlay leaks.
14713
ea622834
LL
147142011-03-29 Leo Liu <sdl.web@gmail.com>
14715
14716 * ido.el (ido-read-internal): Use the default history var
14717 minibuffer-history if no HISTORY is specified.
14718
b62f8267
G
147192011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14720
03408648
SM
14721 * net/imap.el (imap-shell-open, imap-process-connection-type):
14722 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14723 Kerberos, SSL, other subprocesses.
14724
947b6566
LL
147252011-03-28 Leo Liu <sdl.web@gmail.com>
14726
14727 * abbrev.el (abbrev-table-empty-p): New function.
14728 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14729 nonempty ones. (Bug#5937)
14730
5ffb62aa
JD
147312011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14732
14733 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14734
7a097943
LL
147352011-03-27 Leo Liu <sdl.web@gmail.com>
14736
14737 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14738 for foreground and background colors.
14739 (ansi-color-make-color-map): Adapt.
14740
c5b40130
LL
147412011-03-25 Leo Liu <sdl.web@gmail.com>
14742
1f48f7d2
LL
14743 * midnight.el (midnight-time-float): Remove. Note it calculates
14744 the microsecond component incorrectly and seconds-to-time does the
14745 same job.
625897ec 14746 Remove redundant (require 'timer).
1f48f7d2 14747
c5b40130
LL
14748 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14749 (ido-completions): Remove unused arguments. (Bug#8329)
14750
d86d2721
SM
147512011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14752
14753 * minibuffer.el (completion--flush-all-sorted-completions):
14754 Remove itself from hook.
14755 (completion-at-point): Let the functions perform the completion
14756 immediately and return nil or t.
14757 * comint.el (comint-dynamic-complete-functions): Now identical to
14758 completion-at-point-functions.
14759 (comint-dynamic-list-input-ring): Remove unused var `index'.
14760 (comint--match-partial-filename, comint--unquote&expand-filename):
14761 New funs, split from comint-match-partial-filename.
14762 (comint-dynamic-complete): Use completion-at-point.
14763 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14764
e8974c48
DA
147652011-03-24 Drew Adams <drew.adams@oracle.com>
14766
14767 * thingatpt.el: Support `defun'.
14768
def71b5e
LL
147692011-03-23 Leo Liu <sdl.web@gmail.com>
14770
cb5af48e
LL
14771 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14772
def71b5e
LL
14773 * help-mode.el (help-mode-finish): Tweak regexp.
14774
927c53e7
GM
147752011-03-23 Glenn Morris <rgm@gnu.org>
14776
18d05bed
GM
14777 * eshell/esh-opt.el (eshell-eval-using-options):
14778 Do not bind unused local variable `eshell-option-stub'.
14779
927c53e7
GM
14780 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14781
9d0da923
JB
147822011-03-22 Juanma Barranquero <lekktu@gmail.com>
14783
14784 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14785 keymap variable in `with-no-warnings' to avoid a warning when the
14786 keymap has been already `defconst'ed.
14787
4b978a67
LL
147882011-03-22 Leo Liu <sdl.web@gmail.com>
14789
14790 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14791 encode all chars in abbrevs; otherwise use emacs-mule or
14792 utf-8-emacs. (Bug#8308)
14793
5fd62452
JB
147942011-03-22 Juanma Barranquero <lekktu@gmail.com>
14795
0b1596c6
JB
14796 * simple.el (backward-delete-char-untabify):
14797 Avoid warning about using `delete-backward-char'.
14798
5fd62452
JB
14799 * image.el (image-type-file-name-regexps): Make it variable.
14800 `imagemagick-register-types' modifies it, and the user may want
14801 to add new extensions for known image types.
14802 (imagemagick-register-types): Throw error if not using ImageMagick.
14803
0b4e93f1
LL
148042011-03-22 Leo Liu <sdl.web@gmail.com>
14805
14806 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14807 located before rcirc-prompt-end-marker.
14808 (rcirc-complete): Error if point is not after rcirc prompt.
14809 Handle the case when table is nil.
9882e214 14810 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14811
fccee4ab
CY
148122011-03-22 Chong Yidong <cyd@stupidchicken.com>
14813
14814 * custom.el (custom--inhibit-theme-enable): Make it affect only
14815 custom-theme-set-variables and custom-theme-set-faces.
14816 (provide-theme): Ignore custom--inhibit-theme-enable.
14817 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14818 (custom-enabling-themes): Delete variable.
d86d2721
SM
14819 (enable-theme): Accept only loaded themes as arguments.
14820 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14821 (custom-enabled-themes): Forbid themes from setting this.
14822 Eliminate use of custom-enabling-themes.
14823 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14824
af896da6
LL
148252011-03-21 Leo Liu <sdl.web@gmail.com>
14826
14827 * ido.el (ido-read-internal): Add ido-selected to history instead
14828 of user input.
14829
78f64af0
SM
148302011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14831
14832 * subr.el (deferred-action-list, deferred-action-function):
14833 Mark obsolete.
14834
b16ac1ec
LL
148352011-03-21 Leo Liu <sdl.web@gmail.com>
14836
810f7698
LL
14837 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14838 change on 2011-02-13 (bug#8309).
14839
b16ac1ec
LL
14840 * minibuffer.el (read-file-name-function): Change default value.
14841 (read-file-name--defaults): Rename from read-file-name-defaults.
14842 (read-file-name-default): Rename from read-file-name.
14843 (read-file-name): Call read-file-name-function.
14844
4e05e67e
GM
148452011-03-21 Glenn Morris <rgm@gnu.org>
14846
14847 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14848 Doc fixes.
14849
4359915b
CY
148502011-03-21 Chong Yidong <cyd@stupidchicken.com>
14851
14852 * cus-theme.el: Add missing provide statement.
14853 (customize-create-theme): Extract theme value correctly.
14854 (custom-theme-visit-theme): Autoload.
14855 (customize-create-theme): Prompt before inserting default faces.
14856
1fe275ee
JB
148572011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14858
14859 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14860 units and musical notes.
14861
cd394be1 148622011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14863
14864 * ido.el (ido-read-internal): Use completing-read-default.
14865 (ido-completing-read): Fix compatibility with completing-read.
14866
7d476bde
CO
148672011-03-20 Christian Ohler <ohler@gnu.org>
14868
14869 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14870 (ert-delete-all-tests): Use `called-interactively-p' rather than
14871 `interactive-p'.
14872 (ert--make-xrefs-region): Respect END.
14873
fe0fb33e
CY
148742011-03-19 Chong Yidong <cyd@stupidchicken.com>
14875
ff854b0b
CY
14876 * dired-aux.el (dired-create-directory): Signal an error if the
14877 directory already exists (Bug#8246).
14878
fe0fb33e
CY
14879 * facemenu.el (list-colors-display): Call list-faces-display
14880 inside with-help-window.
14881 (list-colors-print): Use display property to align the final
14882 column, instead of checking window-width.
14883
576bce32
EZ
148842011-03-19 Eli Zaretskii <eliz@gnu.org>
14885
4d61f28d 14886 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14887 windows-nt systems.
14888 (emerge-protect-metachars): Quote correctly for ms-dos and
14889 windows-nt systems.
14890
89c41d68 148912011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14892
14893 * info.el (info-initialize): Replace all uses of `:' with
14894 path-separator for compatibility with non-Unix systems.
14895 Cache quoting of path-separator. (Bug#8258)
14896
b14e3e21 148972011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14898
14899 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14900 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14901 (mouse-avoidance-mode): Fix typos in docstrings.
14902
4525ce3e
CY
149032011-03-19 Chong Yidong <cyd@stupidchicken.com>
14904
14905 * startup.el (package-subdirectory-regexp): Move from package.el.
14906 Omit \\` and \\', and let callers add them.
14907
14908 * emacs-lisp/package.el (package-strip-version)
14909 (package-load-all-descriptors): Add \\` and \\' to
14910 package-subdirectory-regexp before using it.
14911 (package-untar-buffer): New arg DIR; ensure that file untars only
14912 into this expected directory. Remove superfluous delete-region.
14913 (package-unpack): Caller changed.
14914 (package-tar-file-info): Use package-subdirectory-regexp.
14915
a904a09a 149162011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14917
a904a09a
SM
14918 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14919 diff-mode-shared-map (bug#8284).
14920 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14921
149222011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14923
14924 * calendar/time-date.el (format-seconds): Use assoc instead of
14925 assoc-string, since assoc-string doesn't exist in XEmacs.
14926
171fc304
JB
149272011-03-17 Juanma Barranquero <lekktu@gmail.com>
14928
14929 * custom.el (custom-known-themes): Reflow docstring.
14930 (custom-theme-load-path): Fix typo in docstring.
14931 (load-theme): Fix typo in error message.
14932 (custom-available-themes, custom-variable-theme-value):
14933 Use `let', not `let*'.
14934
d71990a1
JB
149352011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14936
14937 * calc/README: Mention inclusion of musical notes.
14938
14939 * calc/calc-units.el (calc-lu-quant): Rename from
14940 `calc-logunits-quantity'.
14941 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
14942 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
14943 (calc-db): Rename from `calc-dblevel'.
14944 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
14945 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
14946 (calc-np): Rename from `calc-nplevel'.
14947 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
14948 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
14949 (calc-lu-plus): Rename from `calc-logunits-add'.
14950 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
14951 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
14952 (calc-lu-minus): Rename from `calc-logunits-sub'.
14953 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
14954 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
14955 (calc-lu-times): Rename from `calc-logunits-mul'.
14956 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
14957 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
14958 (calc-lu-divide): Rename from `calc-logunits-div'.
14959 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
14960 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
14961
14962 * calc/calc-ext.el (calc-init-extensions): Update the names of the
14963 functions being autoloaded.
14964
14965 * calc/calc.el (calc-lu-power-reference): Rename from
14966 `calc-logunits-power-reference'.
14967 (calc-lu-field-reference): Rename from
14968 `calc-logunits-field-reference'.
14969
7a71b18d
GM
14970 * calc/calc-help.el (calc-l-prefix-help):
14971 Mention musical note functions.
d71990a1 14972
40c2934b
SM
149732011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
14974
14975 * minibuffer.el (completion-all-sorted-completions):
14976 Use :completion-cycle-penalty text property if present.
14977
b0911414
KM
149782011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
14979
14980 * allout.el (allout-yank-processing): Adjust for new rebulleting
14981 regime so bullet being yanked is used without prompting the user
14982 for a choice.
14983
8a05b668
JB
149842011-03-16 Juanma Barranquero <lekktu@gmail.com>
14985
14986 * startup.el (command-line): Warn the user that _emacs is deprecated.
14987
5ba5fb81
JB
149882011-03-16 Juanma Barranquero <lekktu@gmail.com>
14989
14990 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
14991 (delphi-verbose, delphi-comment-face, delphi-string-face)
14992 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
14993 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
14994 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
14995 (delphi-new-comment-line, delphi-font-lock-defaults)
14996 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
14997 Fix typos in docstrings.
14998
2dab465b
KM
149992011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15000
5ba5fb81 15001 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15002 Invert the roles of character and string values for INSTEAD, so a
15003 string is used for the more common case of a defaulting prompt.
15004
0adf5618
SM
150052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15006
15007 * progmodes/ruby-mode.el (ruby-backward-sexp):
15008 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15009 * play/gamegrid.el (gamegrid-make-face):
15010 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15011 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15012 * notifications.el (notifications-notify):
15013 * net/xesam.el (xesam-search-engines):
15014 * net/quickurl.el (quickurl-list-insert):
15015 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15016
d72700e5
CY
150172011-03-15 Chong Yidong <cyd@stupidchicken.com>
15018
15019 * startup.el (command-line): Update package subdirectory regexp.
15020
49c5410a
SM
150212011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15022
c6eee9aa
SM
15023 * allout.el (allout-abbreviate-flattened-numbering)
15024 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15025
49c5410a
SM
15026 * subr.el (read-char-choice): Only show the cursor after the prompt,
15027 not after the answer.
15028
047b2bb9
KR
150292011-03-15 Kevin Ryde <user42@zip.com.au>
15030
15031 * help-fns.el (variable-at-point): Skip leading quotes, if any
15032 (bug#8253).
15033
0a57d256
SM
150342011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15035
15036 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15037 warning message.
15038
77c992bc
MA
150392011-03-14 Michael Albinus <michael.albinus@gmx.de>
15040
15041 * shell.el (shell): When called interactively, offer to change the
15042 shell file name on remote hosts.
15043
eebc475d
TZ
150442011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15045
15046 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15047 integration for LDAP parameters. The host, base, user or binddn,
15048 and secret tokens can be specified in a netrc file, for instance.
15049 This is optional because an `auth-source' parameter must be
15050 specified in the search attributes.
15051
9d05d1ba
JB
150522011-03-13 Juanma Barranquero <lekktu@gmail.com>
15053
15054 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15055
09d9db2c
GM
150562011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15057
15058 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15059 into declaration. Remove redundant and harmful binding.
15060
150612011-03-12 Eli Zaretskii <eliz@gnu.org>
15062
15063 * files.el (file-ownership-preserved-p): Pass `integer' as an
15064 explicit 2nd argument to `file-attributes'. If the file's owner
15065 is the Administrators group on Windows, and the current user is
15066 Administrator, consider that a match.
15067
15068 * server.el (server-ensure-safe-dir): Consider server directory
15069 safe on MS-Windows if its owner is the Administrators group while
15070 the current Emacs user is Administrator. Use `=' to compare
15071 numerical UIDs, since they could be integers or floats.
15072
219bd536
JB
150732011-03-12 Juanma Barranquero <lekktu@gmail.com>
15074
15075 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15076
f3afd36b
MA
150772011-03-12 Michael Albinus <michael.albinus@gmx.de>
15078
15079 Sync with Tramp 2.2.1.
15080
15081 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15082
15083 * net/trampver.el: Update release number.
15084
3aaaa6f1
SM
150852011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15086
94642599
SM
15087 * progmodes/compile.el (compilation--previous-directory): Fix up
15088 various nil/dead-marker mismatches (bug#8014).
15089 (compilation-directory-properties, compilation-error-properties):
15090 Don't call it at a position past the one we're about to change.
15091
3aaaa6f1
SM
15092 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15093 Disable obsolescence warnings in the file that declares it.
15094
14239447
KM
150952011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15096
099c39a4
JB
15097 * allout-widgets.el (allout-widgets-tally):
15098 Initialize allout-widgets-tally as a hash table rather than nil to
15099 prevent mode-line redisplay warnings. Also, clarify the module
15100 description and fix a comment typo.
14239447 15101
135e287c
JB
151022011-03-11 Juanma Barranquero <lekktu@gmail.com>
15103
15104 * help-fns.el (describe-variable): Don't complete keywords.
15105 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15106
ffbf300e
CY
151072011-03-10 Chong Yidong <cyd@stupidchicken.com>
15108
ba08b241
CY
15109 * emacs-lisp/package.el (package-version-join): Impose a standard
15110 string representation for pre/alpha/beta version lists.
15111 (package-unpack-single): Standardize the directory name by passing
15112 it through package-version-join.
15113 (package-strip-rcs-id): Accept any version string that does not
15114 signal an error in version-to-list.
ffbf300e 15115
f346fd6b
MA
151162011-03-10 Michael Albinus <michael.albinus@gmx.de>
15117
15118 * simple.el (delete-trailing-whitespace): Return nil for the
15119 benefit of `write-file-functions'.
15120
ccb55d27
GM
151212011-03-10 Glenn Morris <rgm@gnu.org>
15122
5ceaac0c
GM
15123 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15124
02da65ff
GM
15125 * vc/vc-git.el (vc-git-program): New option.
15126 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15127 (vc-git--call): Use it.
15128
b2f603cc
GM
15129 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15130
5772caab
GM
15131 * cus-edit.el (Custom-newline): If no button at point, look
15132 for a subgroup button at start-of-line. (Bug#2298)
15133
ccb55d27
GM
15134 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15135
ec6ecaed
JD
151362011-03-10 Julien Danjou <julien@danjou.info>
15137
15138 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15139 `cursor-type' is nil.
15140
9d5aa01d
JB
151412011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15142
15143 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15144
b6a5875b
KM
151452011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15146
7a71b18d 15147 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15148 preserves the existing header prefix, rebulleting it if necessary,
15149 rather than replacing it. This is necessary for proper operation
15150 of cooperative addons like allout-widgets.
1154d12e
JB
15151 (allout-make-topic-prefix, allout-rebullet-heading):
15152 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15153 value as alternate bullet to be used, instead of prompting the user
15154 for a bullet character.
b6a5875b 15155
ee545c35
MA
151562011-03-09 Michael Albinus <michael.albinus@gmx.de>
15157
d86d2721
SM
15158 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15159 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15160 `tramp-default-port'.
15161
c47971d7
DD
151622011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15163
15164 * net/rcirc.el (rcirc-handler-001): Remove useless
15165 with-rcirc-process-buffer.
15166 (rcirc-check-auth-status): Swap arguments to string-match.
15167
13522cb4
GM
151682011-03-09 Glenn Morris <rgm@gnu.org>
15169
0be6f4f1
GM
15170 * shell.el (shell-mode):
15171 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15172
13522cb4
GM
15173 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15174 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15175
515de2e3
CY
151762011-03-08 Chong Yidong <cyd@stupidchicken.com>
15177
15178 * emacs-lisp/package.el (package-refresh-contents)
15179 (package-menu-execute): Use condition-case-no-debug.
15180
b511b994
MA
151812011-03-08 Michael Albinus <michael.albinus@gmx.de>
15182
15183 * simple.el (shell-command-to-string): Use `process-file'.
15184
15185 * emacs-lisp/package.el (package-tar-file-info): Handle also
15186 remote files.
15187
d86d2721
SM
15188 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15189 Use `equal' for upload base check.
b511b994 15190
25bbfb31
AM
151912011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15192
15193 * textmodes/texinfo.el (texinfo-environments):
15194 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15195
be996521
GM
151962011-03-08 Glenn Morris <rgm@gnu.org>
15197
e9c8529f
GM
15198 * cus-start.el (cursor-in-non-selected-windows):
15199 Fix :set quoting oddness. (Bug#8192)
15200
be996521
GM
15201 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15202 in some setf expressions. (Bug#2159)
15203
2bb5649e
CY
152042011-03-08 Chong Yidong <cyd@stupidchicken.com>
15205
15206 * custom.el (custom-available-themes): Return themes in
15207 alphabetical order.
15208
33383987 15209See ChangeLog.15 for earlier changes.
e3d51b27
MR
15210
15211;; Local Variables:
15212;; coding: utf-8
e3d51b27
MR
15213;; End:
15214
acaf905b 15215 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15216
15217 This file is part of GNU Emacs.
15218
15219 GNU Emacs is free software: you can redistribute it and/or modify
15220 it under the terms of the GNU General Public License as published by
15221 the Free Software Foundation, either version 3 of the License, or
15222 (at your option) any later version.
15223
15224 GNU Emacs is distributed in the hope that it will be useful,
15225 but WITHOUT ANY WARRANTY; without even the implied warranty of
15226 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15227 GNU General Public License for more details.
15228
15229 You should have received a copy of the GNU General Public License
15230 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.