Fixes: debbugs:11708
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
f9f1b1fe
AS
12012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2
3 * play/doctor.el (doctor-doc): Remove parameter and use
4 doctor-sent instead of sent.
5 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
6
a81068ba
SM
72012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
8
5a315f9c
SM
9 * files.el: Require cl-lib.
10 (file-name-non-special): Replace case -> cl-case.
11
12 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
13
a81068ba
SM
14 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
15 mapping from #' to function*.
16
8cca9703
CY
172012-06-13 Chong Yidong <cyd@gnu.org>
18
19 * mouse.el (mouse-drag-track): Do not set the mark if the user
20 releases the mouse without selecting anything (Bug#11588).
21
a12ac9d7
SM
222012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
23
ccf1dc18
SM
24 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
25 as well (bug#11646).
26
ef62b23d
SM
27 * loadup.el: Count byte-code functions as well.
28
c4c8444a
SM
29 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
30 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
31
a12ac9d7
SM
32 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
33 (bug#11649). Add cl-defun and cl-defmacro.
34
87e6e64f
DA
352012-06-13 Drew Adams <drew.adams@oracle.com>
36
37 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
38 Fix last change.
39
682cefaf
MA
402012-06-13 Michael Albinus <michael.albinus@gmx.de>
41
42 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
43 Otherwise, it blocks in batch mode.
44
773e1f08
JB
452012-06-13 Juanma Barranquero <lekktu@gmail.com>
46
47 * help-mode.el (bookmark-make-record-default): Declare.
48
60057926
CY
492012-06-13 Chong Yidong <cyd@gnu.org>
50
51 * emacs-lisp/package.el (list-packages): Compute a list of
52 packages that are newly-available since the last list-packages
53 invocation.
54 (package-menu--new-package-list): New var.
55 (package-menu--generate, package-menu--print-info)
56 (package-menu--status-predicate, package-menu-mark-install):
57 Handle new status label "new".
58
ad4d226c
SM
592012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
60
61 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
62 conversion to backquotes.
63
f1a4e679
CY
642012-06-12 Chong Yidong <cyd@gnu.org>
65
66 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
67 Rename from gud-inhibit-global-bindings.
68
69 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
70
71 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
72 hook from nxml-glyph-set-hook.
73
74 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
75 declaration.
76
77 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
78
79 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
80 Convert to defcustom.
81
0c9e42b5
DA
822012-06-12 Drew Adams <drew.adams@oracle.com>
83
84 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
85 New functions.
86 (help-mode): Use them.
87
09e06855
GM
882012-06-11 Glenn Morris <rgm@gnu.org>
89
90 * progmodes/fortran.el (fortran-font-lock-keywords-3):
91 Use preprocessor face for directives.
92 (fortran-directive-re): Doc fix.
93
71adb94b
SM
942012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
95
2eb87922
SM
96 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
97 conversion to backquotes (bug#11652).
98
71adb94b
SM
99 Fix compiler-expansion of CL's cXXr functions (bug#11673).
100 * emacs-lisp/cl-lib.el (cl--defalias): New function.
101 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
102 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
103 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
104 (cl-ninth, cl-tenth): Mark them as inlinable.
105 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
106 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
107 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
108 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
109 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
110 (cl-list*, cl-adjoin): Don't put an autoload manually.
111 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
112 (cl--compiler-macro-list*): Add autoload cookie.
113 (cl--compiler-macro-cXXr): New function.
2eb87922 114
71adb94b
SM
115 * help-fns.el (help-fns--compiler-macro): New function extracted from
116 describe-function-1; follow aliases and use `compiler-macro' property.
117 (describe-function-1): Use it.
118
a6674402
CY
1192012-06-11 Chong Yidong <cyd@gnu.org>
120
121 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
122 is uninstalled, if imagemagick is installed.
123
bb3faf5b
SM
1242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * emacs-lisp/cl-lib.el: Use lexical-binding.
127 (cl-map-extents, cl-maclisp-member): Remove.
128 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
129 (cl--set-substring, cl--block-wrapper, cl--block-throw)
130 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
131 * emacs-lisp/cl-extra.el: Use lexical-binding.
132 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
133 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
134 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
135 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
136 * emacs-lisp/cl-seq.el: Use lexical-binding.
137 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
138 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
139 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
140 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
141 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
142 CL's internals.
143
2fe4b125
MA
1442012-06-11 Michael Albinus <michael.albinus@gmx.de>
145
146 Sync with Tramp 2.2.6-pre.
147
148 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
149 `print-length' and `print-level' to nil, in order to avoid
150 truncation. Reported by Christopher Schmidt
151 <christopher@ristopher.com>.
152
153 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
154
155 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
156 New defmacro.
157 (tramp-compat-copy-directory): Add optional argument
158 COPY-CONTENTS. It is not handled yet.
159
160 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
161 (tramp-ftp-file-name-p): Simplify.
162
163 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
164 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
165 connection vector.
166
167 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
168 (tramp-methods): Do not use `tramp-password-end-of-line'.
169 (tramp-completion-function-alist-putty): Handle UNIX case.
170 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
171 (tramp-do-file-attributes-with-stat)
172 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
173 gid as real numbers. They could run out of integer range on cygwin.
174 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
175 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
176 (tramp-open-connection-setup-interactive-shell):
177 Use `tramp-cleanup'. Move check for busyboxes ...
178 (tramp-find-shell): ... here. Simplify implementation.
179 Set "remote-shell" property also for alternative shells.
180 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
181 If failing, a regular file would be written otherwise.
182 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
183 (tramp-find-inline-encoding): Cache the coding commands in the
184 process cache. Apply test command on the remote side, if defined.
185 (tramp-find-inline-compress): Cache the compress commands in the
186 process cache.
187 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
188 when requested. Handle hops.
189 (tramp-current-connection): New defvar.
87e6e64f
DA
190 (tramp-maybe-open-connection): Use `tramp-cleanup'.
191 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 192 Handle user interrupt. (Bug#10187)
87e6e64f
DA
193 (tramp-get-inline-compress, tramp-get-inline-coding):
194 Read connection properties from the process cache.
2fe4b125
MA
195
196 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
197 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
198 New defconsts.
2fe4b125
MA
199 (tramp-smb-prompt): Extend for powershell prompt.
200 (tramp-smb-file-name-handler-alist): Add handlers for
201 `process-file', `shell-command' and `start-file-process'.
202 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
203 (tramp-smb-winexe-shell-command-switch): New defcustoms.
204 (tramp-smb-file-name-p): Simplify.
205 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
206 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
207 (tramp-smb-shell-quote-argument): New defuns.
208 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
209 Implement using "tar". By this, time-stamps are preserved.
210 (tramp-smb-handle-copy-file): Handle also the case of directories.
211 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
212 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
213 Use `tramp-get-connection-buffer').
2fe4b125
MA
214 (tramp-smb-handle-rename-file): Use "rename", when source and
215 target are on the same share.
87e6e64f
DA
216 (tramp-smb-maybe-open-connection): Handle wrong passwords.
217 Use `tramp-smb-server-version'.
2fe4b125
MA
218 (tramp-smb-wait-for-output): Remove prompt.
219
220 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
221 (tramp-methods, tramp-rsh-end-of-line):
222 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
223 (tramp-save-ad-hoc-proxies): New defcustom.
224 (tramp-completion-function-alist): Adapt docstring.
225 (tramp-default-password-end-of-line): Remove defcustom.
226 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
227 (tramp-user-regexp, tramp-file-name-regexp-unified)
228 (tramp-file-name-regexp-url): Extend regexp by hop separator.
229 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
230 (tramp-remote-file-name-spec-regexp): New defconst.
231 (tramp-file-name-structure): Extend structure for hops.
232 (tramp-get-method-parameter): Move up.
233 (tramp-file-name-p, tramp-dissect-file-name)
234 (with-parsed-tramp-file-name): Handle hops.
235 (tramp-file-name-hop): New defun.
236 (tramp-make-tramp-file-name): New optional arg HOP.
237 (tramp-message-show-progress-reporter-message): New defvar.
238 (tramp-with-progress-reporter): Use it. We cannot use
239 `tramp-message-show-message' here, because this suppresses also
240 error buffers.
241 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
242 `tramp-message-show-message' is nil.
243 Use `tramp-get-connection-buffer'.
2fe4b125
MA
244 (tramp-cleanup): New defun.
245 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
246 (tramp-file-name-handler): If `debug-on-error' is set, propagate
247 an error unchanged.
248 (tramp-completion-handle-file-name-all-completions): Handle hops.
249 Fix an error when called from ido.
250 (tramp-completion-dissect-file-name): Use better local variable
251 name. Add hop to the vector.
252 (tramp-handle-insert-file-contents): Use progress-reporter for the
253 whole scenario.
254 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
255 to `t'.
256 (tramp-check-for-regexp): Simplify search.
257 (tramp-enter-password): Remove it. Move implementation ...
258 (tramp-action-password): ... here.
259 (tramp-mode-string-to-int, tramp-local-host-p)
260 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
261 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
262 Set tramp-autoload cookie.
2fe4b125
MA
263
264 * net/trampver.el: Update release number.
265
2662012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
267 Michael Albinus <michael.albinus@gmx.de>
268
269 * net/tramp.el (tramp-set-completion-function): Fix docstring.
270 (tramp-parse-group, tramp-parse-file)
271 (tramp-parse-shostkeys-sknownhosts): New defuns.
272 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
273 (tramp-parse-shosts-group, tramp-parse-sconfig)
274 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
275 (tramp-parse-sknownhosts, tramp-parse-hosts)
276 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
277 Use them.
278 (tramp-parse-passwd-group, tramp-parse-netrc-group)
279 (tramp-parse-putty-group): Don't narrow.
280 (tramp-parse-putty): Make a loop.
281 (tramp-file-name-handler): Catch the `suppress' signal.
282
72834e10
CY
2832012-06-11 Chong Yidong <cyd@gnu.org>
284
285 * image.el (imagemagick-register-types): Put the ImageMagick entry
286 at the end of image-type-file-name-regexps.
287
a4712e11
JB
2882012-06-11 Johan Bockgård <bojohan@gnu.org>
289
290 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
291 (pcase, pcase-let*, pcase-dolist): Use them.
292
82ad98e3
SM
2932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * emacs-lisp/pcase.el (pcase--let*): New function.
296 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
297 (pcase--expand): Use macroexp-let².
298
f80efb86
SM
2992012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
300
301 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
302 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
303 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
304 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
305 * emacs-lisp/derived.el: Use pcase instead of `cl'.
306 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
307
31ca4639 3082012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 309
31ca4639
CY
310 * mail/rmail.el (rmail-yank-current-message): Leave point at
311 correct position. (Bug#11660)
94f0aa34 312
31ca4639 3132012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 314
31ca4639 315 * allout-widgets.el: Fix code header.
9e1b8ec4 316
31ca4639 3172012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 318
f80efb86
SM
319 * cus-edit.el (customize-changed-options-previous-release):
320 Bump to 24.1.
31ca4639 321
642b6d30
AS
3222012-06-09 Andreas Schwab <schwab@linux-m68k.org>
323
324 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
325
4f5d2ba1
CY
3262012-06-09 Chong Yidong <cyd@gnu.org>
327
328 * ebuff-menu.el (electric-buffer-list): Preserve header line.
329
e75852fd
MR
3302012-06-09 Martin Rudalics <rudalics@gmx.at>
331
332 * window.el (special-display-popup-frame): Don't use
333 window--display-buffer (Bug#11651).
334
1e48e282
EZ
3352012-06-09 Eli Zaretskii <eliz@gnu.org>
336
8a26b487
EZ
337 Fix parallel builds: make sure loaddefs.el is not being written
338 while Lisp files are compiled.
339 (compile): Don't depend on 'mh-autoloads'.
340 (compile-CMD, compile-SH): Depend on 'autoloads'.
341 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
342
1e48e282
EZ
343 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
344
6175e34b
CY
3452012-06-09 Chong Yidong <cyd@gnu.org>
346
347 * face-remap.el (face-remap-add-relative, face-remap-set-base)
348 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
349 Doc fixes (Bug#11225).
350
d9857e53
SM
3512012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
354 a function if there's a clear indication that it has a compiler-macro.
355 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
356 (macro-declarations-alist): Add arglist to declaration functions.
357 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
358 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
359 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
360 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
361 Also add autoload to find the compiler macro.
362 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
363 (cl--compiler-macro-member, cl--compiler-macro-assoc)
364 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
365 (cl--compiler-macro-get): New functions, replacing calls to
366 cl-define-compiler-macro.
367 (cl-typep) [compiler-macro]: Use macroexp-let².
368
f81298f8 3692012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
370
371 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
372 string properly, fixes Bug#11473.
373
4b56d0fe
CY
3742012-06-08 Chong Yidong <cyd@gnu.org>
375
376 * faces.el (set-face-attribute): Doc fix.
377 (modify-face): Don't use :bold and :italic.
378 (error, warning, success): Tweak definitions.
379
380 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
381 (custom-modified, custom-set, custom-changed, custom-themed)
382 (custom-saved, custom-button, custom-button-mouse)
383 (custom-button-pressed, custom-state, custom-comment-tag)
384 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
385 (custom-group-subtitle): Use new-style face specs.
386 (custom-invalid-face, custom-rogue-face, custom-modified-face)
387 (custom-set-face, custom-changed-face, custom-saved-face)
388 (custom-button-face, custom-button-pressed-face)
389 (custom-documentation-face, custom-state-face)
390 (custom-comment-face, custom-comment-tag-face)
391 (custom-variable-tag-face, custom-variable-button-face)
392 (custom-face-tag-face, custom-group-tag-face-1)
393 (custom-group-tag-face): Remove obsolete face alias.
394
395 * epa.el (epa-validity-high, epa-validity-medium)
396 (epa-validity-low, epa-mark, epa-field-name, epa-string)
397 (epa-field-name, epa-field-body):
398 * font-lock.el (font-lock-comment-face, font-lock-string-face)
399 (font-lock-keyword-face, font-lock-builtin-face)
400 (font-lock-function-name-face, font-lock-variable-name-face)
401 (font-lock-type-face, font-lock-constant-face):
402 * ido.el (ido-first-match, ido-only-match, ido-subdir)
403 (ido-virtual, ido-indicator, ido-incomplete-regexp):
404 * speedbar.el (speedbar-button-face, speedbar-file-face)
405 (speedbar-directory-face, speedbar-tag-face)
406 (speedbar-selected-face, speedbar-highlight-face)
407 (speedbar-separator-face):
408 * whitespace.el (whitespace-newline, whitespace-space)
409 (whitespace-hspace, whitespace-tab, whitespace-trailing)
410 (whitespace-line, whitespace-space-before-tab)
411 (whitespace-space-after-tab, whitespace-indentation)
412 (whitespace-empty):
413 * emulation/cua-base.el (cua-global-mark):
414 * eshell/em-prompt.el (eshell-prompt):
415 * net/newst-plainview.el (newsticker-new-item-face)
416 (newsticker-old-item-face, newsticker-immortal-item-face)
417 (newsticker-obsolete-item-face, newsticker-date-face)
418 (newsticker-statistics-face, newsticker-default-face):
419 * net/newst-reader.el (newsticker-feed-face)
420 (newsticker-extra-face, newsticker-enclosure-face):
421 * net/newst-treeview.el (newsticker-treeview-face)
422 (newsticker-treeview-new-face, newsticker-treeview-old-face)
423 (newsticker-treeview-immortal-face)
424 (newsticker-treeview-obsolete-face)
425 (newsticker-treeview-selection-face):
426 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
427 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
428 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
429 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
430 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
431 (nxml-outline-active-indicator, nxml-outline-ellipsis):
432 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
433 (mpuz-text):
434 * progmodes/vera-mode.el (vera-font-lock-number)
435 (vera-font-lock-function, vera-font-lock-interface):
436 * textmodes/table.el (table-cell): Use new-style face specs, and
437 don't use the old :bold and :italic attributes.
438
439 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
440 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
441 (ebrowse-member-class, ebrowse-progress): Likewise.
442 (ebrowse-tree-mark-face, ebrowse-root-class-face)
443 (ebrowse-file-name-face, ebrowse-default-face)
444 (ebrowse-member-attribute-face, ebrowse-member-class-face)
445 (ebrowse-progress-face): Remove obsolete faces.
446
447 * progmodes/flymake.el (flymake-errline, flymake-warnline):
448 Inherit from error and warning faces respectively.
449
450 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
451 Likewise.
f80efb86
SM
452 (flyspell-incorrect-face, flyspell-duplicate-face):
453 Remove obsolete aliases.
4b56d0fe 454
03310646
MA
4552012-06-08 Michael Albinus <michael.albinus@gmx.de>
456
457 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
458 Avoid infloop.
459
513749ee
SM
4602012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
461
462 * startup.el (argv, argi): Make lexically scoped.
463 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
464 * emacs-lisp/cl-macs.el: Use lexical-binding.
465 Rename cl-bind-* to cl--bind-*.
466 * files.el: Don't require `cl' since it doesn't use it.
467 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
468
595ef4ad
JB
4692012-06-08 Juanma Barranquero <lekktu@gmail.com>
470
471 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
472 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
473 instead of calling external sort utility.
474 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
475
e9f66fcb
EZ
4762012-06-08 Eli Zaretskii <eliz@gnu.org>
477
478 * descr-text.el (describe-char): Mention how to insert the
479 character, if the current input method doesn't support it.
480 See the discussion in this thread for the details:
481 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
482
3d10db47
SS
4832012-06-08 Sam Steingold <sds@gnu.org>
484
485 * bindings.el (global-map): Bind XF86Forward to next-buffer and
486 XF86Back to previous-buffer.
487 (minibuffer-local-map): Bind them to next-history-element and
488 previous-history-element respectively.
489 * help-mode.el (help-mode-map): Bind them to help-go-forward and
490 help-go-back respectively.
491 * info.el (Info-mode-map): Bind them to Info-history-forward and
492 Info-history-back respectively.
493 These are the keys next to Up on the ThinkPad keyboard.
494
de7e2b36
SM
4952012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
496
497 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
498 * emacs-lisp/cl-macs.el: Provide itself.
499 (cl--labels-convert-cache): New var.
500 (cl--labels-convert): New function.
501 (cl-flet, cl-labels): New implementation with new semantics, relying on
502 lexical-binding.
503 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
504 (cl-closure-vars, cl--function-convert-cache)
505 (cl--function-convert): Move from cl-macs.el.
506 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
507 rename by removing the "cl-" prefix.
508 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
509
6fa6c4ae
SM
5102012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
513 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
514 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
515 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
516 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
517 (cl-hash-table-count): Add old compatibility aliases.
518
519 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
520 Use macroexpand-all-environment instead.
521 (cl--old-macroexpand): New var.
522 (cl--sm-macroexpand): New function.
523 (cl-symbol-macrolet): Use it during macro expansion.
524 (cl--function-convert-cache): New var.
525 (cl--function-convert): New function, extracted from
526 cl-macroexpand-all.
527 (cl-lexical-let): Use it.
528
529 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
530 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
531 (cl-member): Remove old alias.
532
533 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
534 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
535 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
536 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
537 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
538 (cl-macroexpand-cmacs): Remove var.
539 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
540 Use macroexpand-all instead.
541
4dd1c416
SM
5422012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
545 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
546 (macroexp-copyable-p): New functions and macros.
547 * emacs-lisp/edebug.el (edebug-unwrap):
548 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
549 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
550 (pcase--let*): Remove.
551 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
552 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
553 macroexp-const-p instead.
554 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
555
556 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
557 instead of "cl-" for internal definitions. Use macroexp-const-p.
558 (cl-old-bc-file-form): Remove var.
559 (cl-const-exprs-p): Remove fun.
560 (cl-labels, cl-macrolet): Use backquote.
561 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
562 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
563 (cl-define-setf-expander): Rename from cl-define-setf-method.
564 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
565
566 * international/mule-cmds.el: Don't require CL.
567 (view-hello-file): Don't use `letf'.
568
ed8bd4d7
SM
5692012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
570
7287f2f3
SM
571 * tmm.el (tmm-prompt): Use string-prefix-p.
572 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
573 (tmm-add-prompt): Use minibuffer-completion-help.
574 (tmm-delete-map): Remove.
575
ed8bd4d7
SM
576 * subr.el (kbd): Make it its own function.
577
7b4cdbf4
SM
5782012-06-07 Stefan Merten <smerten@oekonux.de>
579
580 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
581 Silence compiler warnings. Fix versions.
ed8bd4d7 582 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 583 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 584 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
585 (rst-package-emacs-version-alist): Correct Emacs version to
586 represent major merge with upstream.
ed8bd4d7 587 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 588
2b48d721
GM
5892012-06-06 Glenn Morris <rgm@gnu.org>
590
591 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
592 Only print environment variables if set.
593
fa779ab0
SM
5942012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
595
596 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
597 (macroexp--cons): Rename from maybe-cons.
598 (macroexp--accumulate): Rename from macroexp-accumulate.
599 (macroexp--all-forms): Rename from macroexpand-all-forms.
600 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
601 (macroexp--expand-all): Rename from macroexpand-all-1.
602
628299e0
SS
6032012-06-06 Sam Steingold <sds@gnu.org>
604
605 * calendar/calendar.el (calendar-in-read-only-buffer):
606 Call `special-mode' to enable the standard read-only keybindings.
607
b7bb5838
SM
6082012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
609
610 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
611 with "loading" messages (bug#11635).
612
dfb308ba
MA
6132012-06-06 Michael Albinus <michael.albinus@gmx.de>
614
615 * files.el (enable-remote-dir-locals): New option.
616 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
617
0372ee92
MA
618 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
619 Ensure, that the temp directory is local.
620
621 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
622 `temporary-file-directory'.
623
eed0bb91
MA
624 * progmodes/python.el (python-send-region): Ensure, that the
625 temporary file is created also in the remote case.
626
7a58f64d
GM
6272012-06-06 Glenn Morris <rgm@gnu.org>
628
f7dd4e98
GM
629 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
630 (vc-rcs-update-changelog): Use it.
631
276d5f5d
GM
632 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
633
7a58f64d
GM
634 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
635 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
636 (vc-sccs-diff): Replace use of the external vcdiff script.
637
daed4003
GM
6382012-06-05 Glenn Morris <rgm@gnu.org>
639
640 * ledit.el: Move to obsolete/.
641
48c455c7
SS
6422012-06-05 Sam Steingold <sds@gnu.org>
643
644 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
645 patch (Bug#11140).
646
57a7d507
SM
6472012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
648
d32926ff
SM
649 * emacs-list/cust-print.el: Move to obsolete.
650
53aacf21
SM
651 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
652 compiler-macro expansion.
653
57a7d507
SM
654 Add native compiler-macro support.
655 * emacs-lisp/macroexp.el (macroexpand-all-1):
656 Support compiler-macros directly. Properly follow aliases and apply
657 the compiler macros more thoroughly.
658 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
659 macroexpand now properly follows aliases.
660 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
661 (cl-compiler-macroexpand): Use new prop.
662 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
663
664 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
665
51a5f9d8
MR
6662012-06-05 Martin Rudalics <rudalics@gmx.at>
667
668 * window.el (get-lru-window, get-mru-window, get-largest-window):
669 New argument NOT-SELECTED to avoid picking the selected window.
670 (window--display-buffer-1, window--display-buffer-2): Replace by
671 new function window--display-buffer
672 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
673 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
674 Use window--display-buffer.
51a5f9d8
MR
675 (display-buffer-use-some-window): Remove temporary dedication
676 hack by calling get-lru-window and get-largest-window with
677 NOT-SELECTED argument non-nil. Call window--display-buffer.
678
08f9f738
GM
6792012-06-05 Glenn Morris <rgm@gnu.org>
680
681 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
682 Replace external vcdiff script.
683
e364a2b7
SM
6842012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
685
686 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
687
041df390
CY
6882012-06-04 Chong Yidong <cyd@gnu.org>
689
e364a2b7
SM
690 * image.el (imagemagick-types-inhibit): Revert last change.
691 Add INFO and M.
47b36b94 692 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 693
7c1898a7
SM
6942012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
695
696 * emacs-lisp/cl-lib.el: Rename from cl.el.
697 * emacs-lisp/cl.el: New compatibility file.
698 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
699 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
700 to obey the "cl-" prefix.
701 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
702
0c3461de
GM
7032012-06-03 Glenn Morris <rgm@gnu.org>
704
1e266c88
GM
705 * emacs-lisp/authors.el (authors-aliases): Addition.
706
0c3461de
GM
707 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
708 Fix :version.
709
d8a52e15
SM
7102012-06-03 Stefan Merten <smerten@oekonux.de>
711
712 * textmodes/rst.el: Add comments.
713 (rst-transition, rst-adornment): New faces.
714 (rst-adornment-faces-alist): Make default safe to reevaluate.
715 Fixes
716 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
717 Improve customization tags.
718 (rst-define-level-faces): Clarify meaning.
719
5205d6f6
CY
7202012-06-03 Chong Yidong <cyd@gnu.org>
721
722 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
723 (compilation-mode-line-run, compilation-mode-line-exit):
724 New faces.
5205d6f6
CY
725 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
726
757ee657
JD
7272012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
728
7c1898a7
SM
729 * progmodes/which-func.el (which-func-update-ediff-windows):
730 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 731
5f2c76c6
CY
7322012-06-03 Chong Yidong <cyd@gnu.org>
733
734 * bindings.el: Remove explicit help text from format-mode-line.
735 It is now supplied by mode-line-default-help-echo.
736 (mode-line-front-space, mode-line-end-spaces)
737 (mode-line-misc-info): New variables.
738 (mode-line-modes, mode-line-position): Move the default value to
739 the variable definition.
740 (mode-line-default-help-echo): New defcustom.
383f7350
CY
741 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
742 (mode-line-modified-help-echo): New functions.
743 (mode-line-mule-info, mode-line-modified): Use them.
744 (mode-line-eol-desc, propertized-buffer-identification):
745 Consistency fixes for help text.
cbe46e5f
CY
746 (mode-line-coding-system-map): Allow using mouse-3 to invoke
747 set-buffer-file-coding-system (Bug#289).
748 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 749
f2d6a3df
SM
7502012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * simple.el (execute-extended-command): Set real-this-command
753 (bug#11506).
754
37269466
CY
7552012-06-02 Chong Yidong <cyd@gnu.org>
756
757 Remove incorrect uses of "modeline" in comments, docstrings, and
758 function/variable names (Bug#10329).
759
760 * cus-edit.el (mode-line):
761 * dframe.el (dframe-mouse-hscroll):
762 * emacs-lisp/re-builder.el:
763 * emacs-lisp/easy-mmode.el (define-minor-mode):
764 * frame.el (set-frame-name):
765 * help.el (lookup-minor-mode-from-indicator):
766 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
767 * progmodes/cc-cmds.el (c-toggle-auto-newline)
768 (c-toggle-hungry-state):
769 * progmodes/antlr-mode.el (antlr-language-alist):
770 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
771 * progmodes/vhdl-mode.el (vhdl-mode):
772 * progmodes/which-func.el (which-func, which-func-cleanup-function):
773 * term/ns-win.el (ns-face-at-pos):
774 * term/sup-mouse.el (sup-mouse-report):
775 * textmodes/flyspell.el (flyspell-mode-line-string):
776 * textmodes/ispell.el (ispell-highlight-face):
777 * textmodes/reftex-global.el:
778 * vc/vc-arch.el (vc-arch-mode-line-string):
779 * vc/vc-cvs.el (vc-cvs-mode-line-string):
780 * vc/vc-git.el (vc-git-mode-line-string):
781 * vc/vc-hooks.el (vc-display-status)
782 (vc-default-mode-line-string):
783 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
784
785 * ansi-color.el (ansi-color-faces-vector): Change default faces.
786
787 * dired.el (dired-sort-set-mode-line): Rename from
788 dired-sort-set-modeline. All callers changed.
789
790 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
791 eshell-status-in-modeline.
792
793 * foldout.el (foldout-mode-line-string): Rename from
794 foldout-modeline-string. All callers changed.
795 (foldout-update-mode-line): Rename from foldout-update-modeline.
796
797 * subr.el (redraw-modeline): Make into obsolete alias.
798
799 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
800 timeclock-modeline-display. Make old name an alias.
801 (timeclock-update-mode-line): Likewise. All callers changed.
802 (timeclock-mode-line-display): No need to check before using
803 add-hook.
804 (timeclock-relative, timeclock-day-over-hook)
805 (timeclock-use-elapsed, timeclock-mode-string)
806 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
807
808 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
809 crisp-mode-modeline-string.
810
811 * play/solitaire.el (solitaire-build-mode-line): Rename from
812 solitaire-build-modeline. All callers changed.
813
814 * play/zone.el (zone-hiding-mode-line): Rename from
815 zone-hiding-modeline. All callers changed.
816 (zone): Remove unusued `modeline-hidden-level' property.
817
818 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
819 xscheme-modeline-initialize. All callers changed.
820
821 * strokes.el (strokes-lighter): Rename from
822 strokes-modeline-string.
823
824 * textmodes/sgml-mode.el (html-face-tag-alist)
825 (html-tag-face-alist): Use mode-line face instead of obsolete
826 alias modeline.
827
42152ee4
SM
8282012-06-02 Stefan Merten <smerten@oekonux.de>
829
830 * textmodes/rst.el: Always require `cl'.
4cf9b38d 831 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 832
95f520b5
CY
8332012-06-02 Chong Yidong <cyd@gnu.org>
834
835 * image.el (imagemagick-enabled-types): Rename from
836 imagemagick-types-enable. Add many more types.
837 (imagemagick-types-inhibit): Change default to nil.
838 (imagemagick-filter-types): Caller changed.
839
4a5f187a
SM
8402012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
841
03fef3e6
SM
842 * emacs-lisp/cl-macs.el: Use backquotes.
843 (cl-transform-function-property): Use eval-and-compile rather than
844 abusing `require'.
845 (defstruct): Use declare-function instead of with-no-warnings.
846
4a5f187a
SM
847 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
848 (byte-compile-output-docform): Re-add the print-circle bindings.
849 (byte-compile-fix-header): Use #$ just because it's shorter.
850 (byte-compile-output-file-form): Remove defun/defmacro.
851
bd56924f
MR
8522012-06-01 Martin Rudalics <rudalics@gmx.at>
853
854 * simple.el (choose-completion): Remove now obsolete binding for
855 owindow.
856
046e38ce
MA
8572012-06-01 Michael Albinus <michael.albinus@gmx.de>
858
859 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
860 in order to avoid "Stack overflow in regexp matcher".
861
32d72c2f
GM
8622012-05-31 Glenn Morris <rgm@gnu.org>
863
864 * image.el: For clarity, call imagemagick-register-types at
865 top-level, rather than relying on a custom :initialize.
866 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
867 (imagemagick-filter-types): New function. (Bug#7406)
868 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
869 If disabling support, remove elements altogether rather
870 than using an impossible regexp.
871 (imagemagick-types-inhibit): Give it the default init function.
872
dd41169b
SM
8732012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
874
4a5f187a
SM
875 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
876 Handle arbitrary file name lengths (Bug#11585).
dd41169b 877
efc00ab1 8782012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
879
880 * desktop.el (desktop-read): Clear previous and next buffers for
881 all windows and bury *Messages* buffer (bug#11556).
882
500fcedc
SM
8832012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 Add `declare' for `defun'. Align `defmacro's with it.
886 * emacs-lisp/easy-mmode.el (define-minor-mode)
887 (define-globalized-minor-mode): Don't autoload the var definitions.
888 * emacs-lisp/byte-run.el: Use lexical-binding.
889 (defun-declarations-alist, macro-declarations-alist): New vars.
890 (defmacro, defun): Use them.
891 (make-obsolete, define-obsolete-function-alias)
892 (make-obsolete-variable, define-obsolete-variable-alias):
893 Use `declare'.
894 (macro-declaration-function): Mark obsolete.
895 * emacs-lisp/autoload.el: Use lexical-binding.
896 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
897
6e8a1786
AM
8982012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
899
900 * textmodes/ispell.el (ispell-with-no-warnings):
901 Define as a macro.
500fcedc
SM
902 (ispell-kill-ispell, ispell-change-dictionary):
903 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
904 `interactive-p'.
905
61b108cc
SM
9062012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
907
908 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
909 (macro-declaration-function): Move var from C code.
910 (macro-declaration-function): Define function with defalias.
911 * emacs-lisp/macroexp.el (macroexpand-all-1):
912 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
913 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
914 defun/defmacro any more.
915 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
916 Provide fallback for unknown arglist.
917 (byte-compile-arglist-warn): Change calling convention.
918 (byte-compile-output-file-form): Move print-vars binding.
919 (byte-compile-output-docform): Simplify accordingly.
920 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
921 (byte-compile-defmacro-declaration): Remove.
922 (byte-compile-file-form-defmumble): Generalize to defalias.
923 (byte-compile-output-as-comment): Return byte-positions.
924 Simplify callers accordingly.
925 (byte-compile-lambda): Use `assert'.
926 (byte-compile-defun, byte-compile-defmacro): Remove.
927 (byte-compile-file-form-defalias):
928 Use byte-compile-file-form-defmumble.
929 (byte-compile-defalias-warn): Remove.
930
6d3f7c2f
SM
9312012-05-29 Stefan Merten <smerten@oekonux.de>
932
933 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 934 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
935
936 (rst-mode-abbrev-table): Merge definition.
937 (rst-mode): Make sure `font-lock-defaults' is buffer local.
938 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
939
6dbaa1c7
UJ
9402012-05-29 Ulf Jasper <ulf.jasper@web.de>
941
942 * calendar/icalendar.el
943 (icalendar-export-region): Export UID properly.
944
9452012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
946 * calendar/icalendar.el (icalendar-import-format):
947 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
948 (icalendar-import-format-uid): New.
949 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
950 Export UID.
951
6876a58d
SM
9522012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
955 different alternative patterns.
956 (pcase-codegen): Be more careful to preserve identity.
957 (pcase--u1): Don't forget to mark vars as used.
958
959 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
960 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
961 (byte-compile-from-buffer): ...rather than here.
962
963 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
964 functions from byte-compile-function-environment.
965
46b7967e
TN
9662012-05-29 Troels Nielsen <bn.troels@gmail.com>
967
968 * window.el (window-deletable-p): Avoid deleting the root window
969 of a frame with an active minibuffer.
970
69d565e2
MR
9712012-05-29 Martin Rudalics <rudalics@gmx.at>
972
973 * simple.el (choose-completion): Use quit-window (Bug#11567).
974
a149fa51
CY
9752012-05-29 Chong Yidong <cyd@gnu.org>
976
977 * whitespace.el (whitespace-cleanup): Fix usage of
978 whitespace-empty-at-bob-regexp (Bug#11492).
979
2b311310
AH
9802012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
981
982 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
983 revert (Bug#11488).
984
b9cb2387
JL
9852012-05-29 Juri Linkov <juri@jurta.org>
986
987 * isearch.el (isearch-mode-map): Bind `M-s _' to
988 `isearch-toggle-symbol'. Bind `M-s c' to
989 `isearch-toggle-case-fold'.
990 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
991 (isearch-forward): Add `M-s _' to the docstring.
992 (isearch-forward-symbol, isearch-toggle-case-fold)
993 (isearch-symbol-regexp): New functions. (Bug#11381)
994
d5e61c1c
JL
9952012-05-29 Juri Linkov <juri@jurta.org>
996
997 * isearch.el (isearch-word): Add docstring. (Bug#11381)
998 (isearch-occur, isearch-search-and-update): If `isearch-word' is
999 a function, call it to get the regexp.
1000 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1001 property `isearch-message-prefix' instead of the string "word ".
1002 (isearch-search-fun-default): For the case of `isearch-word',
1003 return a lambda that calls re-search-forward/re-search-backward
1004 with a regexp returned by `word-search-regexp' or by the function
1005 in `isearch-word'.
1006
8cbd80f7
JL
10072012-05-29 Juri Linkov <juri@jurta.org>
1008
1009 * isearch.el (isearch-search-fun-default): New function.
1010 (isearch-search-fun): Move default part to the new function
1011 `isearch-search-fun-default'.
1012 (isearch-search-fun-function): Set the default value to
1013 `isearch-search-fun-default'. (Bug#11381)
1014
1015 * comint.el (comint-history-isearch-end):
1016 Use `isearch-search-fun-default'.
1017 (comint-history-isearch-search): Use `isearch-search-fun-default'
1018 and remove spacial case for `isearch-word'.
1019 (comint-history-isearch-wrap): Remove spacial case for
1020 `isearch-word'.
1021
1022 * hexl.el (hexl-isearch-search-function):
1023 Use `isearch-search-fun-default'.
1024
1025 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1026 Use `word-search-regexp' for `isearch-word'.
1027
1028 * misearch.el (multi-isearch-search-fun):
1029 Use `isearch-search-fun-default'.
1030
1031 * simple.el (minibuffer-history-isearch-search):
1032 Use `isearch-search-fun-default' and remove spacial case for
1033 `isearch-word'.
1034 (minibuffer-history-isearch-wrap): Remove spacial case for
1035 `isearch-word'.
1036
1037 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1038 Remove spacial case for `isearch-word'.
1039 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1040
85c8c5b6
AM
10412012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1042
1043 Decrease XEmacs incompatibilities.
1044 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1045 Use `string-match'.
1046 (flyspell-delete-region-overlays): Use alternative definition for
1047 XEmacs.
1048 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1049 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1050 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1051 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1052 `define-obsolete-face-alias' under XEmacs, but old method.
1053
1054 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1055 `with-no-warnings' definition or Emacs alias.
1056 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1057 (ispell-word): Do not use `region-p' if XEmacs.
1058
8cab9efc
AM
10592012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1060
1061 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1062 Check for `ispell-dictionary-base-alist' instead of full
1063 `ispell-dictionary-alist'.
1064 (ispell-init-process): Show spellchecker when starting new Ispell
1065 process.
1066
fda91268
RZ
10672012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1070 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1071
694ea8e3
JB
10722012-05-27 Juanma Barranquero <lekktu@gmail.com>
1073
1074 * version.el (motif-version-string, gtk-version-string)
1075 (ns-version-string): Declare.
1076
e4d4f539
JL
10772012-05-27 Juri Linkov <juri@jurta.org>
1078
1079 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1080 after the `eval-defun-1' specialcaseing
1081 like in `edebug-eval-defun' (bug#10181).
1082
1083 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1084 like in `eval-defun-1'.
1085
33017faf 10862012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1087
fda91268
RZ
1088 * mail/sendmail.el (mail-yank-region):
1089 Recognize rmail-yank-current-message in addition to insert-buffer.
1090 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1091 a *mail* buffer created through rmail-start-mail with sendmail as
1092 mail-user-agent.
1093
33017faf
GM
10942012-05-27 Chong Yidong <cyd@gnu.org>
1095
1096 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1097 Default to 256 (Bug#11267).
1098
1099 * help.el (describe-mode): Doc fix.
1100
04188bb9
GM
11012012-05-26 Glenn Morris <rgm@gnu.org>
1102
38264cc9
GM
1103 * w32-fns.el (w32-init-info): Remove.
1104 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1105
eb7afdad
GM
1106 * info.el (info-initialize): For self-contained NS builds, put the
1107 included info/ directory at the front. (Bug#2791)
1108
04188bb9
GM
1109 * paths.el (Info-default-directory-list): Make it a defcustom,
1110 mainly so that we can use custom-initialize-delay.
1111
a179e3f7
SM
11122012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1113
43416392
SM
1114 * subr.el (buffer-has-markers-at): Mark obsolete.
1115
a179e3f7 1116 * subr.el (lambda): Use declare.
43416392 1117
a179e3f7
SM
1118 * emacs-lisp/lisp-mode.el (lambda):
1119 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1120
34a008d9
AH
11212012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1122
1123 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1124
0a3b289f
GM
11252012-05-26 Glenn Morris <rgm@gnu.org>
1126
1127 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1128
758c81e8
GM
11292012-05-25 Glenn Morris <rgm@gnu.org>
1130
f9f334f0
GM
1131 * paths.el: Remove no-byte-compile.
1132 * loadup.el: No need to load paths.el uncompiled.
1133
87eb79c2
GM
1134 * image.el (imagemagick-types-inhibit): Doc fix.
1135
758c81e8
GM
1136 * version.el: Remove no-byte-compile and associated formatting.
1137 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1138 is ancient code from when there was an "inc-vers.el".
1139
e7e85dc0
SM
11402012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1141
1142 * progmodes/gdb-mi.el: Minor style changes.
1143 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1144 Turn into minor modes.
1145 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1146 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1147 (gdb-shell): Remove unneeded let-binding.
1148 (gdb-get-many-fields): Eliminate O(n²) behavior.
1149
f31237a4
EZ
11502012-05-25 Eli Zaretskii <eliz@gnu.org>
1151
1152 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1153 platforms that don't link in fontset.c.
1154
bc1b21bb
JL
11552012-05-25 Juri Linkov <juri@jurta.org>
1156
1157 Use the same diff color scheme as in modern VCSes (bug#10181).
1158
1159 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1160 to avoid confusion with `diff-added' that now uses green colors.
1161 (diff-removed): Use shades of red.
1162 (diff-added): Use shades of green.
1163 (diff-changed): Leave just the yellow color.
1164 (diff-use-changed-face): New variable.
1165 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1166 how to highlight context diff changes.
1167 (diff-refine-change): Use shades of yellow.
1168 (diff-refine-removed): New face that uses shades of red.
1169 (diff-refine-added): New face that uses shades of green.
1170 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1171 `diff-refine-removed' in the call to `smerge-refine-subst'
1172 depending on the value of `diff-use-changed-face'.
1173
1174 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1175 (smerge-other): Use shades of green.
1176 (smerge-base): Use shades of yellow.
1177 (smerge-refined-change): Empty face.
1178 (smerge-refined-removed): New face that uses shades of red.
1179 (smerge-refined-added): New face that uses shades of green.
1180 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1181 args `props-r' and `props-a', and use them. Doc fix.
1182 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1183 on its value use different faces `smerge-refined-change',
1184 `smerge-refined-removed', `smerge-refined-added' in the call to
1185 `smerge-refine-subst'.
1186
1187 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1188 Add face condition `min-colors 88' with shades of red.
1189 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1190 `min-colors 88' with shades of green.
1191 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1192 `min-colors 88' with shades of yellow.
1193
6df9112c
GM
11942012-05-24 Glenn Morris <rgm@gnu.org>
1195
ead5edc0
GM
1196 * paths.el (prune-directory-list, remote-shell-program): Move to...
1197 * files.el (prune-directory-list, remote-shell-program): ...here.
1198 For the latter, delay initialization, prefer ssh, just search PATH.
1199
f18b81e6
GM
1200 * paths.el (term-file-prefix): Move to faces.el (the only user).
1201 * faces.el (term-file-prefix): Move here, make it a defcustom.
1202
ee2f89a6
GM
1203 * paths.el (news-directory, news-path, news-inews-program):
1204 Move to gnus/nnspool.el.
61a583ca 1205
f8815e4c
GM
1206 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1207
c8f3b42c
GM
1208 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1209 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1210 Make the latter a defcustom, with a delayed initialization.
1211
6df9112c
GM
1212 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1213 These were deleted from Gnus itself late 2010.
1214
5dadff36
JB
12152012-05-22 Juanma Barranquero <lekktu@gmail.com>
1216
9e1701c6
JB
1217 * progmodes/which-func.el (which-func-ff-hook):
1218 Check against user-error, not error.
1219
bd7239f5 1220 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1221 cl-specs.el, which no longer exists.
1222
3290526d
GM
12232012-05-22 Glenn Morris <rgm@gnu.org>
1224
1225 * info.el (info-emacs-bug): New command.
1226 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1227 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1228
ff0c3cfb
GM
12292012-05-21 Glenn Morris <rgm@gnu.org>
1230
1231 * makefile.w32-in (update-subdirs-SH):
1232 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1233
5814f126
SM
12342012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1235
a52c0aa0
SM
1236 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1237
5814f126
SM
1238 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1239 Simplify Maven regexp, and make sure the file can't start with a space
1240 (bug#11517).
1241
b847032c
GM
12422012-05-21 Glenn Morris <rgm@gnu.org>
1243
1244 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1245 Scrap superfluous subshells.
1246
3858bfe7
SM
12472012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1248
1249 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1250 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1251
d14b0029
JB
12522012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1253
1254 * calc/calc.el (calc-ensure-consistent-units): New variable.
1255
a52c0aa0
SM
1256 * calc/calc-units.el (math-consistent-units-p)
1257 (math-check-unit-consistency): New functions.
1258 (calc-quick-units, calc-convert-units):
1259 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1260 is non-nil.
d14b0029
JB
1261 (calc-extract-units): Fix typo.
1262
60c4db3a
SM
12632012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1264
77f3b62e
SM
1265 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1266
60c4db3a
SM
1267 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1268 (flyspell-default-deplacement-commands): Don't spell check after
1269 repeated window/frame switches (e.g. triggered by mouse-movement).
1270 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1271 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1272 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1273 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1274 Remove unused vars.
1275 (flyspell-get-casechars, flyspell-get-not-casechars):
1276 Simplify; Don't bother removing a ] just to add it back.
1277 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1278
b1a10716
RS
12792012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1280
1281 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1282 New functions.
bd7239f5 1283 (math-function-table): Add support for more C functions.
b1a10716 1284
3f1b25b5
AM
12852012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1286
1287 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1288 (flyspell-debug-signal-word-checked): Protect delay handling for
1289 otherchars against empty otherchars.
1290
b581bb5c
SM
12912012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1292
1293 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1294 their respective macro declarations.
1295 * skeleton.el (define-skeleton):
1296 * progmodes/compile.el (define-compilation-mode):
1297 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1298 (define-ibuffer-filter):
1299 * emacs-lisp/generic.el (define-generic-mode):
1300 * emacs-lisp/easy-mmode.el (define-minor-mode)
1301 (define-globalized-minor-mode):
1302 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1303 * emacs-lisp/byte-run.el (defsubst):
1304 * custom.el (deftheme): Add doc-string metadata.
1305
70b8ef8f
SM
13062012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1307
1308 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1309
b1198e17
SM
13102012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1311
9abdc45d
SM
1312 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1313
b1198e17
SM
1314 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1315 * emacs-lisp/cl-macs.el: Idem.
1316 * emacs-lisp/cl-specs.el: Remove.
1317
4735906a
SM
13182012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1319
1320 Minor renaming of internal CL functions and variables.
1321 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1322 (cl--position): Rename from cl-position.
1323 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1324 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1325 (cl--random-state): Rename from *random-state*.
1326
ac348012
SM
13272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1330 parens around the arg list (bug#11499).
1331
a0a79cde
JL
13322012-05-17 Juri Linkov <juri@jurta.org>
1333
1334 * isearch.el (word-search-regexp, word-search-backward)
1335 (word-search-forward, word-search-backward-lax)
1336 (word-search-forward-lax): Move functions from search.c
1337 (bug#10145, bug#11381).
1338
65034a51
AM
13392012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1340
1341 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1342 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1343 normal word components.
1344
1a72a195
SM
13452012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1346
1347 * minibuffer.el (completion--sifn-requote): Fix last change.
1348 (minibuffer-local-must-match-filename-map):
1349 Move define-obsolete-variable-alias before its var.
1350
fdb058c2
SM
13512012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1352
c41045e6
SM
1353 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1354
036dfb8b
SM
1355 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1356 behavior.
1357 (completion--string-equal-p): New function.
1358 (completion--twq-all): Use it to get better assertion failure data.
1359
2473256d
SM
1360 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1361 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1362 (shell--requote-argument): New functions.
1363 (shell-completion-vars): Use them.
1364 (shell--parse-pcomplete-arguments): Rename from
1365 shell-parse-pcomplete-arguments.
1366 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1367 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1368 Obey comint-file-name-quote-list.
1369
fdb058c2
SM
1370 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1371 (smie-indent-keyword): Use it.
1372
51fa99f1
SM
13732012-05-14 Stefan Merten <smerten@oekonux.de>
1374
1375 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1376
e18afed7 13772012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1378
1379 * net/rlogin.el (rlogin-mode-map): Fix last change.
1380
e18afed7 13812012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1382
1383 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1384 the following \r\n using a single `process-send-string', since the
1385 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1386 with two `process-send-string's (Bug#11444).
8633b1f4 1387
e18afed7 13882012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1389
fdb058c2
SM
1390 * shell.el (shell-parse-pcomplete-arguments):
1391 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1392
2d21d7f6
WJ
13932012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1394
e18afed7 1395 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1396 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1397 (image-transform-width, image-transform-fit-width): New functions.
1398 (image-transform-properties): Use them.
1399 (image-transform-check-size): New function.
1400 (image-toggle-display-image): Use it (for testing).
1401 (image-transform-set-rotation): Reduce angle mod 360.
1402 Delete obsolete comment.
1403
7102e6d0
WJ
14042012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1405
1406 * image-mode.el: Fix scaling (bug#11399).
1407 (image-transform-resize): Doc fix.
1408 (image-transform-properties): Default scale is 1 and height should
1409 be an integer.
1410
06bc5e6e
SM
14112012-05-13 Johan Bockgård <bojohan@gnu.org>
1412
1413 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1414 than hard-coding `car', to fix misbehavior when moving forward.
1415
0ae03b6a
CY
14162012-05-13 Chong Yidong <cyd@gnu.org>
1417
1418 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1419 (tabulated-list-entries, tabulated-list-padding)
1420 (tabulated-list-sort-key): Make permanent-local.
1421
1422 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1423 (electric-buffer-list): Put electric buffer menu
1424 command descriptions in this docstring, instead of the docstring
1425 of electric-buffer-menu-mode. Code cleanups.
1426 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1427 Electric-buffer-menu-mode.
1428 (electric-buffer-update-highlight): Minor code cleanup.
1429
205a7391
MA
14302012-05-13 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1433 (Bug#11447)
1434
e5bd0a28
SM
14352012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1436
1437 Move define-obsolete-variable-alias before the var's definition.
1438 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1439 * tooltip.el (tooltip-hook):
1440 * textmodes/reftex-toc.el (reftex-toc-map):
1441 * textmodes/reftex-sel.el (reftex-select-label-map)
1442 (reftex-select-bib-map):
1443 * textmodes/reftex-index.el (reftex-index-map)
1444 (reftex-index-phrases-map):
1445 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1446 * progmodes/meta-mode.el (meta-mode-map):
1447 * novice.el (disabled-command-hook):
1448 * loadhist.el (unload-hook-features-list):
1449 * frame.el (blink-cursor):
1450 * files.el (find-file-not-found-hooks, write-file-hooks)
1451 (write-contents-hooks):
1452 * emulation/tpu-edt.el (GOLD-map):
1453 * emacs-lock.el (emacs-lock-from-exiting):
1454 * emacs-lisp/generic.el (generic-font-lock-defaults):
1455 * emacs-lisp/chart.el (chart-map):
1456 * dos-fns.el (register-name-alist):
1457 * dired-x.el (dired-omit-files-p):
1458 * desktop.el (desktop-enable):
1459 * cus-edit.el (custom-mode-hook):
1460 * buff-menu.el (buffer-menu-mode-hook):
1461 * bookmark.el (bookmark-read-annotation-text-func)
1462 (bookmark-exit-hooks):
1463 * allout.el (allout-mode-deactivate-hook)
1464 (allout-exposure-change-hook, allout-structure-added-hook)
1465 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1466 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1467 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1468 comes before the corresponding variable's definition.
1469
ac59c2f6
CY
14702012-05-12 Chong Yidong <cyd@gnu.org>
1471
1472 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1473 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1474 (Buffer-menu-mode-map): Bind it.
1475 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1476
dee6c9a3
SM
14772012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1478
2171cea5
SM
1479 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1480 (prolog-upper-case-string, prolog-lower-case-string)
1481 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1482 (prolog-use-smie, prolog-smie-grammar): New vars.
1483 (prolog-smie-forward-token, prolog-smie-backward-token)
1484 (prolog-smie-rules): New funs.
1485 (prolog-comment-indent): Remove.
1486 (prolog-mode-variables): Use default comment indentation instead.
1487 Setup SMIE.
1488 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1489 (prolog-mode): Don't call them any more.
1490 (prolog-electric-colon, prolog-electric-dash)
1491 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1492
aa0382bd
SM
1493 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1494
dbacb4bd
SM
1495 * minibuffer.el (completion--twq-all): Again, allow case differences.
1496
13bdd94c
SM
1497 * term.el: Move keymap initialization code to be more idiomatic.
1498 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1499 (term-terminal-menu): Move initialization into declaration.
1500 (term-escape-char): Let the user set it in her .emacs.
1501
ff46c759
SM
1502 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1503 Provide SMIE-based indentation (not enabled by default yet).
1504 (sh-mode-map): Don't bind electric keys.
1505 Use electric-pair-mode instead of skeleton-pair.
1506 (sh-assignment-regexp): Fit within 80 columns.
1507 (sh-indent-supported): Specify actual shell name instead of boolean.
1508 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1509 (sh-maybe-here-document): Use it. Make obsolete.
1510 (sh-electric-here-document-mode) New minor mode.
1511 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1512 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1513 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1514 (sh-smie-rc-grammar, sh-use-smie): New vars.
1515 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1516 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1517 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1518 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1519 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1520 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1521 (sh-set-shell): Use smie-setup if requested.
1522
dee6c9a3
SM
1523 * term.el (term-set-escape-char): Properly set term-escape-char.
1524 See http://stackoverflow.com/questions/10524656.
1525
9f9aa044
CY
15262012-05-10 Chong Yidong <cyd@gnu.org>
1527
1528 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1529 Use url-generic-parse-url, and handle host names and Windows
1530 filenames properly.
1531 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1532 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1533 URL schemes to work on.
1534 (ffap--toggle-read-only): New function.
1535 (ffap-read-only, ffap-read-only-other-window)
1536 (ffap-read-only-other-frame): Use it.
1537 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1538 necessary for ffap-url-unwrap-remote.
1539
836d29b3
DA
15402012-05-10 Dave Abrahams <dave@boostpro.com>
1541
1542 * cus-start.el (create-lockfiles): Add it.
1543
00fd78ed
CY
15442012-05-09 Chong Yidong <cyd@gnu.org>
1545
1546 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1547 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1548
666b903b 15492012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1550
1551 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1552
666b903b 15532012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1554
1555 * ansi-color.el (ansi-color-process-output): Check for validity of
1556 comint-last-output-start before using it. This avoids a bad
1557 interaction with gdb-mi's input/output buffer.
1558
666b903b 15592012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1560
1561 * files.el (dir-locals-read-from-file):
1562 Mention dir-locals in any error message.
1563
666b903b 15642012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1565
1566 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1567 package (Bug#11410).
1568
f677562b
CY
1569 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1570 variables into description.
1571
666b903b 15722012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1573
1574 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1575 shell-delimiter-argument-list (bug#11348).
1576 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1577
b499d8d0
JB
15782012-05-09 Juanma Barranquero <lekktu@gmail.com>
1579
8f6b6da8
JB
1580 * textmodes/rst.el: Silence byte-compiler warnings.
1581 (rst-re-alist, rst-reset-section-caches): Move around.
1582 (rst-re): Use `characterp', not `char-valid-p'.
1583 (font-lock-beg, font-lock-end): Declare.
1584
4824146a
JB
1585 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1586 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1587
b499d8d0
JB
1588 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1589
ad89bb83
GM
15902012-05-08 Glenn Morris <rgm@gnu.org>
1591
1592 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1593
8bba5a75
SM
15942012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1595
49ed9c8e
SM
1596 * vc/log-edit.el: Add GNU coding standards highlighting.
1597 (log-edit-font-lock-gnu-style)
1598 (log-edit-font-lock-gnu-keywords): New vars.
1599 (log-edit-font-lock-keywords): New fun.
1600 (log-edit-mode): Don't fold case in font-lock.
1601 (log-edit-font-lock-keywords): Do not assume case-folding.
1602
07d00b56
SM
1603 * imenu.el: Misc cleanup. Make docstrings out of comments.
1604 Use lexical-binding.
1605 (imenu--index-alist, imenu--last-menubar-index-alist)
1606 (imenu-menubar-modified-tick): Use defvar-local.
1607 (imenu--split-menu): Remove unused var.
1608 (imenu--cleanup-seen): Declare as global.
1609 (imenu--cleanup): Use dolist.
1610
8bba5a75
SM
1611 * subr.el (defvar-local): Add debug spec and doc-string position.
1612
5075bdb5
GM
16132012-05-08 Glenn Morris <rgm@gnu.org>
1614
c052c904
GM
1615 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1616 * language/english.el, language/georgian.el, language/greek.el:
1617 * language/japanese.el, language/khmer.el, language/korean.el:
1618 * language/lao.el, language/misc-lang.el, language/romanian.el:
1619 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1620 * language/thai.el, language/utf-8-lang.el:
1621 Remove no-byte-compile setting.
1622
5075bdb5
GM
1623 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1624
06f679a7
AH
16252012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1626
1627 * progmodes/make-mode.el (makefile-browse):
1628 Remove unnecessary interactive. (Bug#11324)
1629
03794570
GM
16302012-05-07 Glenn Morris <rgm@gnu.org>
1631
af8630f4
GM
1632 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1633
03794570
GM
1634 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1635
f0809a9d
SM
16362012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1637
28be5ce7
SM
1638 * loadup.el: Preload newcomment.el.
1639 * newcomment.el: Move autoload-only code to toplevel.
1640
f0809a9d
SM
1641 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1642 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1643 Handle new :right-align column property.
1644 (tabulated-list-print-col): Idem, plus use `display' text-property to
1645 try and preserve alignment for variable pitch fonts.
1646
1241b724
CY
16472012-05-07 Chong Yidong <cyd@gnu.org>
1648
1649 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1650 (tabulated-list-use-header-line): New var.
1651 (tabulated-list-init-header): Use it.
1652 (tabulated-list-print-fake-header): New function.
1653 (tabulated-list-print): Use it.
1654 (tabulated-list-sort-button-map): Add non-header-line commands.
1655 (tabulated-list-init-header): Add column name property to basic
1656 labels as well.
1657 (tabulated-list-col-sort): Handle non-header-line button case.
1658 (tabulated-list--sort-by-column-name): Fix a corner case.
1659
f0809a9d
SM
1660 * buff-menu.el (list-buffers--refresh):
1661 Handle Buffer-menu-use-header-line.
1241b724 1662
e5f9458f
CY
16632012-05-06 Chong Yidong <cyd@gnu.org>
1664
1665 * buff-menu.el: Convert to Tabulated List mode.
1666 (Buffer-menu-buffer+size-width): Make obsolete.
1667 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1668 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1669 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1670 documentation into docstring of buffer-menu.
1671 (Buffer-menu-toggle-files-only): Add an informative message.
1672 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1673 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1674 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1675 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1676 (Buffer-menu-execute, Buffer-menu-select)
1677 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1678 (Buffer-menu-bury): Use Tabulated List machinery.
1679 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1680 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1681 Delete.
e5f9458f
CY
1682 (list-buffers--refresh): New function.
1683 (list-buffers-noselect): Use it.
1684 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1685 (Buffer-menu--pretty-file-name): New helper functions.
1686
1687 * loadup.el: Preload tabulated-list.
1688
1689 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1690 tabulated-list-sort-column.
1691 (tabulated-list-init-header): Add the initial aligning space even
1692 if tabulated-list-padding is zero.
1693
e129292c
CS
16942012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1695
1696 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1697 whose cdr is not a cons cell correctly (bug#11038).
1698
6632d361
CY
16992012-05-06 Chong Yidong <cyd@gnu.org>
1700
e129292c
CS
1701 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1702 Accept additional plist in column descriptors.
6632d361
CY
1703 (tabulated-list-init-header): Obey it.
1704 (tabulated-list-get-entry): New function.
1705 (tabulated-list-put-tag): Use it. Use string-width instead of
1706 length.
1707 (tabulated-list--column-number): New function.
1708 (tabulated-list-print): Use it.
e129292c
CS
1709 (tabulated-list-print-col): New function.
1710 Set `tabulated-list-column-name' property on each column's text.
6632d361 1711 (tabulated-list-print-entry): Use it.
e129292c
CS
1712 (tabulated-list-delete-entry, tabulated-list-set-col):
1713 New functions.
6632d361
CY
1714 (tabulated-list-sort-column): New command (Bug#11337).
1715
3cc99f68
CY
1716 * buff-menu.el (list-buffers): Move C-x C-b binding from
1717 buff-menu.el to bindings.el.
1718
1719 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1720 :advertised-binding feature.
1721
52b61776
TN
17222012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1723
1724 * progmodes/compile.el (compilation-internal-error-properties):
1725 Calculate start position correctly when end-col is set but
1726 end-line is not (Bug#11382).
1727
ebfe2597
WJ
17282012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1729
1730 * man.el (Man-unindent): Use text-property-default-nonsticky to
1731 prevent untabify from inheriting face properties (Bug#11408).
1732
6d3f7c2f
SM
17332012-05-05 Stefan Merten <smerten@oekonux.de>
1734
1735 * textmodes/rst.el: Major merge with upstream development up to
1736 Docutils SVN r7399 / rst.el V1.2.1.
1737
1738 Clarify maintainership and authors.
1739
1740 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1741 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1742 (rst-official-version, rst-official-cvs-rev, rst-version)
1743 (rst-package-emacs-version-alist): New functions and variables
1744 for version information.
1745
1746 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1747 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1748 (rst-mode-syntax-table, rst-mode): New and corrected functions
1749 and variables representing reStructuredText features.
1750
1751 (rst-re): New function for reStructuredText regexes. Use in
1752 many places.
1753
1754 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1755 (rst-mode-map): Rebind keys.
1756
1757 (rst-mode-lazy, rst-font-lock-keywords)
1758 (rst-font-lock-extend-region)
1759 (rst-font-lock-extend-region-internal)
1760 (rst-font-lock-extend-region-extend)
1761 (rst-font-lock-find-unindented-line-limit)
1762 (rst-font-lock-find-unindented-line-match)
1763 (rst-adornment-level, rst-font-lock-adornment-level)
1764 (rst-font-lock-adornment-match)
1765 (rst-font-lock-handle-adornment-pre-match-form)
1766 (rst-font-lock-handle-adornment-matcher): Major revision of
1767 font-locking. Integrate with other code. Use `jit-lock-mode'.
1768
1769 (rst-preferred-adornments, rst-adjust-hook)
1770 (rst-new-adornment-down, rst-preferred-bullets)
1771 (rst-preferred-bullets, rst-indent, rst-indent-width)
1772 (rst-indent-field, rst-indent-literal-normal)
1773 (rst-indent-literal-minimized, rst-indent-comment): Change,
1774 extend and improve customization.
1775
1776 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1777 (rst-normalize-cursor-position, rst-get-decoration)
1778 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1779 (rst-rstrip, rst-toc-insert-find-delete-contents)
1780 (rst-shift-fill-region, rst-compute-bullet-tabs)
1781 (rst-debug-print-tabs, rst-debug-mark-found)
1782 (rst-shift-region-guts, rst-shift-region-right)
1783 (rst-shift-region-left, rst-use-char-classes)
1784 (rst-font-lock-keywords-function)
1785 (rst-font-lock-indentation-point)
1786 (rst-font-lock-find-unindented-line-begin)
1787 (rst-font-lock-find-unindented-line-end)
1788 (rst-font-lock-find-unindented-line)
1789 (rst-font-lock-adornment-point, rst-font-lock-level)
1790 (rst-adornment-level-alist): Remove functions and variables.
1791
1792 (rst-compare-adornments, rst-get-adornment-match)
1793 (rst-suggest-new-adornment, rst-get-adornments-around)
1794 (rst-adornment-complete-p, rst-get-next-adornment)
1795 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1796 (rst-straighten-adornments): Standardize function names to
1797 use "adornment" instead of "decoration". Correct callers.
1798 Similar standardizing in many places.
1799
1800 (rst-update-section, rst-adjust, rst-promote-region)
1801 (rst-enumerate-region, rst-bullet-list-region)
1802 (rst-repeat-last-character): Correct use of `interactive'.
1803
1804 (rst-classify-adornment, rst-find-all-adornments)
1805 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1806 (rst-find-leftmost-column, rst-repeat-last-character):
1807 Refactor functions.
1808
1809 (rst-find-title-line, rst-reset-section-caches)
1810 (rst-get-adornments-around, rst-adjust-adornment-work)
1811 (rst-arabic-to-roman, rst-roman-to-arabic)
1812 (rst-insert-list-pos, rst-insert-list-new-item)
1813 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1814 New functions.
1815
1816 (rst-all-sections, rst-section-hierarchy)
1817 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1818 New variables.
1819
1820 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1821 configuration instead of only buffer. Change where necessary.
1822
1823 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1824 (rst-shift-region, rst-adaptive-fill): New functions for
1825 indentation and filling.
1826
1827 (rst-comment-line-break, rst-comment-indent)
1828 (rst-comment-insert-comment, rst-comment-region)
1829 (rst-uncomment-region): New functions for handling comments.
1830
1831 (rst-compile): Quote shell arguments.
1832
1833 (rst-compile-pdf-preview, rst-compile-slides-preview):
1834 Delete temporary files after use.
1835
a43f98b3
GM
18362012-05-05 Glenn Morris <rgm@gnu.org>
1837
48176e8b
GM
1838 * calendar/cal-html.el: Optionally include holidays in the output.
1839 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1840 (cal-html-holidays): New option.
1841 (cal-html-css-default): Add holiday entry.
1842 (holiday-in-range): Autoload it.
1843 (cal-html-htmlify-entry): Add optional class argument.
1844 (cal-html-htmlify-list): Add optional holidays argument.
1845 (cal-html-insert-agenda-days): Include holidays in the output.
1846 (cal-html-one-month): Maybe include holidays.
1847
a43f98b3
GM
1848 * calendar/holidays.el (holiday-in-range):
1849 Move here from cal-tex-list-holidays.
1850 * calendar/cal-tex.el (cal-tex-list-holidays):
1851 Make it an obsolete alias for holiday-in-range. Update all callers.
1852
fef9d149 18532012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1854
1855 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1856 Nextstep.
1857
248da2f4
RW
18582012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1859
1860 * files.el (file-auto-mode-skip): New var.
1861 (set-auto-mode-1): Use it.
1862
f95e9344
SM
18632012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1864
df96ab1e
SM
1865 * repeat.el: Use lexical-binding.
1866 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1867 (repeat-undo-count): Remove.
1868 (repeat):
1869 * progmodes/octave-mod.el (octave-abbrev-start):
1870 * progmodes/f90.el (f90-abbrev-start):
1871 * face-remap.el (text-scale-adjust):
1872 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1873
5342bb06
SM
1874 * emacs-lisp/pcase.el (pcase--let*): New function.
1875 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1876 a bit more.
1877 (pcase--split-pred): Be more clever about ruling out overlap between
1878 a predicate and some constant pattern.
1879 (pcase--q1): Use `null' instead of (eq foo nil).
1880
f95e9344
SM
1881 * subr.el (setq-local, defvar-local): New macros.
1882 (kbd): Redefine as an alias.
1883 (with-selected-window): Leave unrelated frames alone.
1884 (set-temporary-overlay-map): New function.
1885
71873e2b
SM
18862012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * subr.el (user-error): New function.
1889 * window.el (switch-to-buffer):
1890 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1891 (smerge-match-conflict):
1892 * simple.el (previous-matching-history-element)
1893 (next-matching-history-element, goto-history-element, undo-more)
1894 (undo-start):
1895 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1896 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1897 (next-file, tags-loop-scan, list-tags, complete-tag):
1898 * progmodes/compile.el (compilation-loop):
1899 * mouse.el (mouse-minibuffer-check):
1900 * man.el (Man-bgproc-sentinel, Man-goto-page):
1901 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1902 (Info-history-forward, Info-follow-reference, Info-menu)
1903 (Info-extract-menu-item, Info-extract-menu-counting)
1904 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1905 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1906 (Info-next-reference, Info-prev-reference, Info-index)
1907 (Info-index-next, Info-follow-nearest-node)
1908 (Info-copy-current-node-name):
1909 * imenu.el (imenu--make-index-alist)
1910 (imenu-default-create-index-function, imenu-add-to-menubar):
1911 * files.el (basic-save-buffer, recover-file):
1912 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1913 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1914 (checkdoc-message-text, checkdoc-defun):
1915 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1916 * cus-edit.el (customize-changed-options, customize-rogue)
1917 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1918 (custom-variable-mark-to-reset-standard)
1919 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1920 (custom-file):
1921 * completion.el (check-completion-length):
1922 * comint.el (comint-search-arg)
1923 (comint-previous-matching-input-string-position)
1924 (comint-previous-matching-input)
1925 (comint-replace-by-expanded-history-before-point, comint-send-input)
1926 (comint-copy-old-input, comint-backward-matching-input)
1927 (comint-goto-process-mark, comint-set-process-mark):
1928 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1929 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1930
8a61ee22
SM
19312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1932
66408d1e
SM
1933 * dabbrev.el (dabbrev--ignore-case-p): New function.
1934 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1935 Use it.
1936
8a61ee22
SM
1937 * files.el (automount-dir-prefix): Mark as obsolete.
1938
3c74813a
GM
19392012-05-04 Glenn Morris <rgm@gnu.org>
1940
1941 * patcomp.el, play/bruce.el: Move to obsolete/.
1942
0bfcf5c5
PE
19432012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1944
1945 Fix minor Y10k bugs.
1946 * arc-mode.el (archive-unixdate):
1947 * autoinsert.el (auto-insert-alist):
1948 * calc/calc-forms.el (math-this-year):
1949 * emacs-lisp/copyright.el (copyright-current-year)
1950 (copyright-update-year, copyright):
1951 * tar-mode.el (tar-clip-time-string):
1952 * time.el (display-time-update):
1953 Don't assume years have 4 digits.
1954
78f3273a
CY
19552012-05-04 Chong Yidong <cyd@gnu.org>
1956
1957 * dos-w32.el (file-name-buffer-file-type-alist)
1958 (direct-print-region-use-command-dot-com):
1959 * ffap.el (ffap-menu-regexp):
1960 * find-file.el (ff-special-constructs):
1961 * follow.el (follow-debug):
1962 * forms.el (forms--debug):
1963 * iswitchb.el (iswitchb-all-frames):
1964 * ido.el (ido-all-frames):
1965 * emacs-lisp/timer.el (timer-max-repeats):
1966 * mail/feedmail.el (feedmail-mail-send-hook)
1967 (feedmail-mail-send-hook-queued):
1968 * mail/footnote.el (footnote-signature-separator):
1969 * mail/mailabbrev.el (mail-alias-separator-string)
1970 (mail-abbrev-mode-regexp):
1971 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1972 * progmodes/idlwave.el (idlwave-libinfo-file)
1973 (idlwave-default-completion-case-is-down)
1974 (idlwave-library-routines): Convert defvars to defcustoms.
1975
1976 * mail/rmail.el (rmail-decode-mime-charset):
1977 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1978 (idlwave-shell-fix-inserted-breaks)
1979 (idlwave-shell-activate-alt-keybindings)
1980 (idlwave-shell-use-breakpoint-glyph):
1981 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1982
f7ae6719
SM
19832012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1984
1985 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1986
47086495
WS
19872012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1988
1989 * progmodes/verilog-mode.el (font-lock-keywords):
1990 Fix mis-highligting auto. Reported by Craig Barner.
1991 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
1992 defines from global name space. Reported by Dan Dever.
1993 (verilog-auto-reset, verilog-auto-reset-widths)
1994 (verilog-auto-tieoff): Support using unbased numbers for
1995 AUTORESET and AUTOTIEOFF.
1996 (verilog-submit-bug-report): Update variable list.
1997 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
1998 parenthesis from not matching. Reported by Michael Rytting.
1999 (verilog-auto-template-lint): Fix hash error when linting modules
2000 with no used templates.
2001 (verilog-warn, verilog-warn-error)
2002 (verilog-warn-fatal): When non-interactive report multiple
2003 warnings before exiting. Suggested by Brad Dobbie.
2004 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2005 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2006 to report unused template errors. Reported by Brad Dobbie.
2007 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2008 nets, bug438. Reported by Vns Blore.
2009 (verilog-auto-inout-module, verilog-auto-reg)
2010 (verilog-read-decls, verilog-read-sub-decls-sig)
2011 (verilog-signals-edit-wire-reg, verilog-signals-with):
2012 Fix passing of Verilog data types in ANSI input/output ports
2013 such as "output logic" into the AUTOs. Special case "wire" and
2014 "reg" for backwards compatibility presuming Verilog 2001.
2015 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2016 (verilog-preprocess): Fix replication of preprocess output.
2017 Reported by Brad Dobbie.
2018 (verilog-auto-inst-interfaced-ports):
2019 Create verilog-auto-inst-interfaced-ports, bug429.
2020 Reported by Julian Gorfajn.
2021 (verilog-after-save-font-hook)
2022 (verilog-before-save-font-hook): New variable.
2023 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2024 (verilog-save-font-mods): Wrap disabling fontification, reported
2025 by David Rogoff.
2026 (verilog-do-indent, verilog-pretty-declarations-auto)
2027 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2028 Reported by Pierre-David Pfister.
2029 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2030 of class declarations, bug292. Reported by Kevin Heilman.
2031 (verilog-read-decls): Fix 'parameter type' not appearing in
2032 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2033 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2034 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2035 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2036 Reported by David Kravitz.
2037
20382012-05-03 Michael McNamara <mac@mail.brushroad.com>
2039
2040 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2041 assignment with tests in ifs and for loops.
2042 (verilog-extended-complete-re, verilog-complete-reg): Change so
2043 that DPI inport functions don't look like fuction declarations.
2044 (verilog-pretty-expr): Don't line up assignment
2045 operations to the test and increment in if and for loops
2046 (verilog-extended-complete-re, verilog-complete-reg): Change so
2047 that DPI inport functions don't look like fuction declarations
2048
2e51d4b5
KH
20492012-05-03 Kenichi Handa <handa@m17n.org>
2050
2051 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2052 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2053 (Bug#11282).
2054
2bd785a2
SM
20552012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * emacs-lisp/bytecomp.el
2058 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2059 since cconv.el might have introduced :fun-body, internal-make-closure,
2060 and friends for bytecomp to handle (bug#11391).
2061 * custom.el (defcustom): Avoid ((λ ..) ..).
2062
99d27583
SM
20632012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2066
55a71479
JB
20672012-05-02 Juanma Barranquero <lekktu@gmail.com>
2068
2069 * notifications.el (dbus-debug):
2070 * term/linux.el (gpm-mouse-enable):
2071 * term/screen.el (xterm-register-default-colors): Declare.
2072
7b97c764
CY
20732012-05-02 Chong Yidong <cyd@gnu.org>
2074
2bc356d7
CY
2075 * cus-start.el (gc-cons-percentage, exec-suffixes)
2076 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2077 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2078 (make-cursor-line-fully-visible, void-text-area-pointer)
2079 (font-list-limit): Add customization data.
2080
7b97c764
CY
2081 * allout.el (allout-exposure-change-functions)
2082 (allout-structure-added-functions)
2083 (allout-structure-deleted-functions)
2084 (allout-structure-shifted-functions): Rename abnormal hooks from
2085 *-hook, and convert to defcustoms.
5d3385a0
JB
2086 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2087 Convert to defcustoms.
7b97c764
CY
2088 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2089
2090 * allout-widgets.el: Hook callers changed.
2091
90207a15 20922012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2093
2094 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2095 the yanked message in preference to the default value of
2096 buffer-file-coding-system.
2097
90207a15 20982012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2099
5d3385a0
JB
2100 * window.el (display-buffer--action-function-custom-type):
2101 Fix entry.
d9558cad 2102
90207a15 21032012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2104
2105 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2106
d80ac57b
GM
21072012-05-01 Glenn Morris <rgm@gnu.org>
2108
976f7668
GM
2109 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2110
beb83b5a
GM
2111 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2112
d80ac57b
GM
2113 * cus-edit.el (custom-variable-documentation): Simplify with format.
2114
b593d6a9
AH
21152012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2116 Stefan Monnier <monnier@iro.umontreal.ca>
2117
2118 * simple.el (suggest-key-bindings, execute-extended-command):
2119 Move from keyboard.c.
2120
782fbf2a
CY
21212012-05-01 Chong Yidong <cyd@gnu.org>
2122
2123 * follow.el: Eliminate advice.
2124 (set-process-filter, process-filter, sit-for): Advice deleted.
2125 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2126 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2127 Vars deleted.
782fbf2a
CY
2128 (follow-auto): Use a :set function.
2129 (follow-mode): Rewritten. Don't advise process filters.
2130 (follow-switch-to-current-buffer-all, follow-scroll-up)
2131 (follow-scroll-down): Assume follow-mode is bound.
2132 (follow-comint-scroll-to-bottom)
2133 (follow-align-compilation-windows): New functions.
2134 (follow--window-sorter): New function.
2135 (follow-all-followers): Use it to explicitly sort windows by their
2136 positions; don't make assumptions about next-window order.
2137 (follow-windows-start-end, follow-delete-other-windows-and-split)
2138 (follow-calc-win-start): Doc fix.
2139 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2140 vertical-motion unnecessarily.
2141 (follow-adjust-window): New function.
2142 (follow-post-command-hook): Use it.
2143 (follow-call-set-process-filter, follow-call-process-filter)
2144 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2145 (follow-stop-intercept-process-output, follow-generic-filter):
2146 Functions deleted.
2147 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2148 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2149 New functions, replacing advice on scroll-bar-* commands.
87233a14 2150 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2151
2152 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2153 (comint-postoutput-scroll-to-bottom): Use it.
2154 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2155
290af740
GM
21562012-05-01 Glenn Morris <rgm@gnu.org>
2157
2158 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2159 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2160 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2161 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2162 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2163 Remove no-byte-compile setting.
2164
6eac8dc9
SM
21652012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2166
2167 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2168 all-completions code to not return a number in the last cdr.
2169
9cc7819c
LL
21702012-04-30 Leo Liu <sdl.web@gmail.com>
2171
2172 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2173 read-only error.
2174
c93b886f
CY
21752012-04-29 Chong Yidong <cyd@gnu.org>
2176
2177 * follow.el (follow-calc-win-end): Rewrite to handle partial
2178 screen lines correctly (Bug#8390).
2179 (follow-avoid-tail-recenter): Minor cleanup.
2180
8b6c19f4
SM
21812012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2182
2183 Avoid the obsolete `assoc' package.
2184 * speedbar.el (speedbar-refresh): Avoid adelete.
2185 (speedbar-file-lists): Simplify and avoid aput.
2186 * man.el (Man--sections, Man--refpages): New vars, replacing
2187 Man-sections-alist and Man-refpages-alist.
2188 (Man-build-section-alist, Man-build-references-alist):
2189 Use them; avoid aput.
2190 (Man--last-section, Man--last-refpage): New vars.
2191 (Man-follow-manual-reference): Use them.
2192 Use the `default' arg of completing-read.
2193 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2194
c5bb7569
CY
21952012-04-27 Chong Yidong <cyd@gnu.org>
2196
d1d2e2e8
CY
2197 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2198
15cd8efd
CY
2199 * startup.el (x-apply-session-resources): New function.
2200
2201 * term/ns-win.el (ns-initialize-window-system):
2202 * term/w32-win.el (w32-initialize-window-system):
2203 * term/x-win.el (x-initialize-window-system): Use it to properly
2204 set menu-bar-mode and other vars from X resources, even if the
2205 initial frame is not a window-system frame (Bug#2299).
2206
c5bb7569
CY
2207 * subr.el (read-key): Avoid running filter function when setting
2208 up temporary tool bar entries (Bug#9922).
2209
a8e7d6d7 22102012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2211
2212 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2213 (Bug#11344)
2214
a8e7d6d7 22152012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2216
2217 * select.el (xselect--encode-string): New function, split from
2218 xselect-convert-to-string.
2219 (xselect-convert-to-string): Use it.
2220 (xselect-convert-to-filename, xselect-convert-to-os)
2221 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2222 returned strings are properly encoded (Bug#11315).
2223
a8e7d6d7 22242012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2225
2226 * simple.el (delete-active-region): Move to killing custom group.
2227
a8e7d6d7 22282012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2229
2230 * progmodes/which-func.el (which-func-current): Quote %
2231 characters for mode-line processing.
2232
578c1d4b 22332012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2234
2235 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2236 reaching eob (Bug#11286).
2237
a8e7d6d7 22382012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2239
2240 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2241 (gdb): Make it buffer-local and init to zero.
2242 (gdb-control-commands-regexp): New variable.
2243 (gdb-send): Don't wrap in "-interpreter-exec console" if
2244 gdb-control-level is positive. Increment gdb-control-level
2245 whenever the command matches gdb-control-commands-regexp, and
2246 decrement it each time the command is "end". (Bug#11279)
2247
a8e7d6d7 22482012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2249
2250 * window.el (adjust-window-trailing-edge, enlarge-window)
2251 (shrink-window, window-resize):
2252 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2253 windows (Bug#11276).
2254
b3608390
CY
22552012-04-27 Chong Yidong <cyd@gnu.org>
2256
2257 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2258 fix "missing prefix" warning. All callers changed.
b3608390 2259
797e6e88
SM
22602012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2261
2262 * emacs-lisp/assoc.el: Move to obsolete/.
2263
e95a67dc
SM
22642012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2265
657c21e4 2266 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2267
2268 * term/ns-win.el (ns-define-service):
2269 * progmodes/pascal.el (pascal-goto-defun):
2270 * progmodes/js.el (js--read-tab):
2271 * progmodes/etags.el (tags-lazy-completion-table):
2272 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2273 * emacs-lisp/ewoc.el (ewoc--wrap):
2274 * emacs-lisp/assoc.el (aput, adelete, amake):
2275 * doc-view.el (doc-view-convert-current-doc):
2276 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2277
cb3e7ae0
CY
22782012-04-26 Chong Yidong <cyd@gnu.org>
2279
dce04f7f
CY
2280 * image.el (image-type-from-buffer): Only return supported image
2281 type (Bug#9045).
2282
cb3e7ae0
CY
2283 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2284 value, for symmetry with diff-end-of-hunk.
2285 (diff-split-hunk, diff-find-source-location)
2286 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2287 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2288 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2289 compute the relevant hunk or file properly (Bug#6005).
2290 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2291
0d42eb3e
SM
22922012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2293
2294 * vc/vc-mtn.el:
2295 * vc/vc-hg.el:
2296 * vc/vc-git.el:
2297 * vc/vc-dir.el:
2298 * vc/vc-cvs.el:
2299 * vc/vc-bzr.el:
2300 * vc/vc-arch.el:
2301 * vc/vc.el: Replace lexical-let by lexical-binding.
2302 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2303 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2304 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2305
f08ae1c9
CY
23062012-04-26 Chong Yidong <cyd@gnu.org>
2307
8b71081d
CY
2308 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2309 (diff-mode-shared-map): Bind it to / and [remap undo].
2310
f08ae1c9
CY
2311 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2312 (ediff-window-setup-function): Use it as the default, to set up
2313 windows based on whether the current frame is graphical (Bug#2138).
2314 (ediff-choose-window-setup-function-automatically): Make obsolete.
2315
2316 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2317
ef24141c
SM
23182012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2319
cc356a5d
SM
2320 * ffap.el: Remove old code for obsolete package.
2321 (ffap-complete-as-file-p): Remove.
2322
b4ff4f1f
SM
2323 Use completion-table-with-quoting for comint and pcomplete.
2324 * comint.el (comint--unquote&requote-argument)
2325 (comint--unquote-argument, comint--requote-argument): New functions.
2326 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2327 (comint-quote-filename): Use regexp-opt-charset.
2328 (comint--common-suffix, comint--common-quoted-suffix)
2329 (comint--table-subvert): Remove.
2330 (comint-unquote-function, comint-requote-function): New vars.
2331 (comint--complete-file-name-data): Use them with
2332 completion-table-with-quoting.
2333 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2334 * pcomplete.el (pcomplete-arg-quote-list)
2335 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2336 (pcomplete-unquote-argument-function): Default to non-nil.
2337 (pcomplete-unquote-argument): Simplify.
2338 (pcomplete--common-quoted-suffix): Remove.
2339 (pcomplete-requote-argument-function): New var.
2340 (pcomplete--common-suffix): New function.
2341 (pcomplete-completions-at-point): Use completion-table-with-quoting
2342 and completion-table-subvert.
2343
79c4eeb4
SM
2344 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2345 (minibuffer--double-dollars): Preserve properties.
2346 (completion--sifn-requote): New function.
2347 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2348
ef24141c
SM
2349 * minibuffer.el: Add support for completion of quoted/escaped data.
2350 (completion-table-with-quoting, completion-table-subvert): New funs.
2351 (completion--twq-try, completion--twq-all): New functions.
2352 (completion--nth-completion): New function.
2353 (completion-try-completion, completion-all-completions): Use it.
2354
784e7d6e
LL
23552012-04-25 Leo Liu <sdl.web@gmail.com>
2356
dd2ac746
SM
2357 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2358 Use compilation-message if available to find real filename.
784e7d6e 2359
07875ee7
CY
23602012-04-25 Chong Yidong <cyd@gnu.org>
2361
2362 * vc/diff-mode.el (diff-setup-whitespace): New function.
2363 (diff-mode): Use it.
2364
2365 * vc/diff.el (diff-sentinel):
2366 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2367 Whitespace mode variables based on diff style (Bug#8612).
2368
5055880d
LL
23692012-04-25 Leo Liu <sdl.web@gmail.com>
2370
daf75653
LL
2371 * progmodes/python.el (python-send-region): Add suffix .py to the
2372 temp file.
2373
5055880d
LL
2374 * files.el (auto-mode-alist): Use javascript-mode instead.
2375
db9b177b
AH
23762012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2377
ef24141c 2378 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2379
2380 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2381 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2382 references, see Bug#9.
ef24141c 2383 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2384 when receiving a fault reply.
ef24141c 2385 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2386
2387 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2388 (soap-inspect-simple-type): New function.
db9b177b 2389
ef24141c 2390 * soap-client.el (soap-simple-type): New struct.
db9b177b 2391 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2392 (soap-decode-basic-type, soap-encode-basic-type):
2393 support unsignedInt and double basic types.
db9b177b 2394 (soap-resolve-references-for-simple-type)
ef24141c
SM
2395 (soap-parse-simple-type, soap-encode-simple-type): New function.
2396 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2397
2398 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2399 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2400 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2401 the local name of "soapenc:Array".
2402 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2403 decoding integer, byte and anyURI xsd types.
2404
1fc6097b
CY
24052012-04-25 Chong Yidong <cyd@gnu.org>
2406
2407 * cus-edit.el (custom-buffer-create-internal): Update header text.
2408
afc6df87
EZ
24092012-04-25 Eli Zaretskii <eliz@gnu.org>
2410
2411 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2412 settings on 'system-type', not on 'window-system'. On MS-Windows,
2413 set interactive-mode on in GDB.
2414
dfbd787f
SM
24152012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2418 (ruby-syntax-propertize-regexp): Remove.
2419 (ruby-syntax-propertize-function): Split regexp into chunks.
2420 Match following code directly.
2421
85222d44
DG
24222012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2423
51a8ea2a
DG
2424 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2425 (ruby-syntax-propertize-regexp): New function.
2426 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2427 by a special keyword.
2428
85222d44
DG
2429 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2430 (ruby-syntax-general-delimiters-goto-beg)
2431 (ruby-syntax-propertize-general-delimiters): New functions.
2432 (ruby-syntax-propertize-function): Use them to handle GDL.
2433 (ruby-font-lock-keywords): Move old handling of GDL...
2434 (ruby-font-lock-syntactic-keywords): .. to here.
2435 (ruby-calculate-indent): Adjust indentation for GDL.
2436
b613912b
MA
24372012-04-24 Michael Albinus <michael.albinus@gmx.de>
2438
b5380639
MA
2439 * notifications.el (top): Remove unneeded declarations.
2440 (notifications-specification-version): Change to "1.2".
e43042fe 2441 (notifications-interface, notifications-notify-method)
b613912b
MA
2442 (notifications-close-notification-method): Fix docstring.
2443 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2444 (notifications-notify): Add :action-items, :resident and
2445 :transient hints. Change "image_data" to "image-data" and
2446 "image_path" to "image-path".
b613912b
MA
2447 (notifications-get-capabilities): New defun.
2448
257440aa
LL
24492012-04-24 Leo Liu <sdl.web@gmail.com>
2450
2451 * progmodes/python.el: Move hideshow setup to the end.
2452
b1bac16e
MR
24532012-04-24 Martin Rudalics <rudalics@gmx.at>
2454
2455 * window.el (handle-select-window): Clear echo area since this is
2456 no more done by read_char (Bug#11304).
2457
d81bd059
SM
24582012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2461 and `/ M' to filter-derived-mode.
2462 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2463 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2464 (ibuffer-mark-by-mode): Use default rather than initial-input.
2465 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2466
c4cf6d91
IA
24672012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2468
2469 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2470 (ibuffer-filter-by-derived-mode): New filter.
2471 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2472
7511ded8
CY
24732012-04-23 Andreas Politz <politza@fh-trier.de>
2474
2475 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2476
775c916b
CY
24772012-04-23 Chong Yidong <cyd@gnu.org>
2478
2479 * cus-edit.el (customize-apropos, customize-apropos-options):
2480 Disable matching of non-option variables (Bug#11176).
2481 (customize-option, customize-option-other-window)
2482 (customize-changed-options): Doc fix.
2483 (customize-apropos-options, customize-apropos-faces)
2484 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2485
2486 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2487 Fix word list splitting (Bug#11132).
46c71e23
CY
2488 (apropos-symbol, apropos-keybinding, apropos-label)
2489 (apropos-property, apropos-function-button)
2490 (apropos-variable-button, apropos-misc-button): New faces.
2491 (apropos-symbol-face, apropos-keybinding-face)
2492 (apropos-label-face, apropos-property-face, apropos-match-face):
2493 Variables removed (Bug#8396).
2494 (apropos-library-button, apropos-format-plist, apropos-print)
2495 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2496
2df41f9c
MA
24972012-04-23 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/xesam.el (xesam-mode-map): Use let-bound map in
2500 initialization. (Bug#11292)
2501
da00640a
AM
25022012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2503
2504 Preserve ispell session localwords when switching back to
2505 original buffer.
2506
2507 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2508 variable to hold buffer session localwords.
2509 (ispell-kill-ispell): add option 'clear to delete session
2510 localwords.
2511 (ispell-command-loop, ispell-change-dictionary)
2512 (ispell-buffer-local-words): Preserve session localwords when
2513 needed.
2514
2515 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2516 Preserve session localwords when needed.
2517
f621ccf5
AM
25182012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2519
2520 * ispell.el (ispell-insert-word) Remove unneeded function using
2521 obsolete `translation-table-for-input'.
ef24141c
SM
2522 (ispell-word, ispell-process-line, ispell-complete-word):
2523 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2524
c2d1019e
CY
25252012-04-22 Chong Yidong <cyd@gnu.org>
2526
2527 * cus-edit.el (custom-variable-menu)
2528 (custom-variable-reset-saved, custom-face-menu)
2529 (custom-face-reset-saved): If there is no saved value, make the
2530 "reset-saved" operation bring back the default (Bug#9509).
2531 (custom-face-state): Properly detect themed faces.
2532
eeddc531
CY
2533 * faces.el (face-spec-set): Stop supporting deprecated form of
2534 third arg.
2535
dcbf5805
MA
25362012-04-22 Michael Albinus <michael.albinus@gmx.de>
2537
2538 Move functions from C to Lisp. Make non-blocking method calls
2539 the default. Implement further D-Bus standard interfaces.
2540
ef24141c
SM
2541 * net/dbus.el (dbus-message-internal): Declare function.
2542 Remove unneeded function declarations.
dcbf5805
MA
2543 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2544 (dbus-message-type-method-return, dbus-message-type-error)
2545 (dbus-message-type-signal): Declare variables. Remove local
2546 definitions.
2547 (dbus-interface-dbus, dbus-interface-peer)
2548 (dbus-interface-introspectable, dbus-interface-properties)
2549 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2550 Adapt docstring.
2551 (dbus-interface-objectmanager): New defconst.
2552 (dbus-call-method, dbus-call-method-asynchronously)
2553 (dbus-send-signal, dbus-method-return-internal)
2554 (dbus-method-error-internal, dbus-register-service)
2555 (dbus-register-signal, dbus-register-method): New defuns, moved
2556 from dbusbind.c
2557 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2558 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2559 New defuns.
dcbf5805
MA
2560 (dbus-call-method-non-blocking): Make it an obsolete function.
2561 (dbus-unregister-object, dbus-unregister-service)
2562 (dbus-handle-event, dbus-register-property)
2563 (dbus-property-handler): Obey the new structure of
2564 `bus-registered-objects'.
2565 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2566 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2567 Use `dbus-call-method'.
2568
cf20dee0
CY
25692012-04-22 Chong Yidong <cyd@gnu.org>
2570
2571 * cus-edit.el (custom-commands, custom-reset-menu)
2572 (Custom-reset-standard): Tweak labels.
2573 (custom-reset-button-menu): Change default to t.
2574 (custom-buffer-create-internal): For the custom-reset-button-menu
2575 case, put the revert button first.
2576 (custom-group-subtitle): New face.
2577 (custom-group-value-create): Align docstring to a specific column.
2578
2579 * wid-edit.el (widget-documentation-link-add): Don't handle
2580 indentation in this function.
2581 (widget-documentation-string-indent-to): New function.
2582 (widget-documentation-string-value-create): Use it.
2583
2584 * autorevert.el (auto-revert):
2585 * epg-config.el (epg):
2586 * ibuffer.el (ibuffer):
2587 * mpc.el (mpc):
2588 * ses.el (ses):
2589 * eshell/eshell.el (eshell):
2590 * net/ange-ftp.el (ange-ftp):
2591 * progmodes/ebnf2ps.el (postscript):
2592 * progmodes/flymake.el (flymake):
2593 * progmodes/prolog.el (prolog):
2594 * progmodes/verilog-mode.el (verilog-mode):
2595 * progmodes/which-func.el (which-func):
2596 * term/xterm.el (xterm):
2597 * textmodes/picture.el (picture):
2598 * textmodes/tildify.el (tildify):
2599 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2600 customization buffers.
2601
583e23bd
AM
26022012-04-22 Alan Mackenzie <acm@muc.de>
2603
2604 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2605 Adding a ) can hide the resulting (..) from searches. Fix it.
2606 Bound the backward search to the position of the existing (.
2607
7dd51bf1
JB
26082012-04-21 Juanma Barranquero <lekktu@gmail.com>
2609
2610 * progmodes/verilog-mode.el (verilog-mode): Check whether
2611 which-func-modes is t before adding verilog-mode.
2612 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2613
d64a438f
LL
26142012-04-21 Leo Liu <sdl.web@gmail.com>
2615
7dd51bf1 2616 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2617
081e8d65
MV
26182012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2619
2620 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2621 filling of the last column of a table (Bug#5635).
2622 (woman-find-next-control-line): New arg, specifying an additional
2623 regexp component for the control line.
2624 (woman2-roff-buffer): Use it.
2625 (woman-break-table): New function.
2626 (woman2-TS): Use it.
2627
26282012-04-21 Chong Yidong <cyd@gnu.org>
2629
2630 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2631 (woman-horizontal-escapes, woman-negative-vertical-space)
2632 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2633 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2634
ed571ccb
SM
26352012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2636
2637 * minibuffer.el (completion-file-name-table): Complete user names.
2638
39773899
LL
26392012-04-20 Leo Liu <sdl.web@gmail.com>
2640
2641 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2642 and pcase-let*.
2643
de6ff46d
CY
26442012-04-20 Chong Yidong <cyd@gnu.org>
2645
2646 * server.el (server-execute): Respect initial-buffer-choice if it
2647 is a string and there are no files to open (Bug#2825).
2648 (server-create-window-system-frame, server-create-tty-frame):
2649 Don't switch buffers here.
2d0e8e61
CY
2650 (server-process-filter): Only try to open a window system frame if
2651 compiled with graphical support (Bug#8314).
de6ff46d 2652
54071013
DN
26532012-04-20 Dan Nicolaescu <dann@gnu.org>
2654
2655 * battery.el (battery-echo-area-format): Display remaining time
2656 for sysfs backend too (Bug#11269).
2657 (battery-linux-sysfs): Fix conditional for the charge.
2658
f30d612a
CY
26592012-04-20 Chong Yidong <cyd@gnu.org>
2660
c07a4c0b 2661 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2662 (gdb-inferior-io--init-proc): New function.
2663 (gdb-init-1): Use it.
2664 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2665 responsible for allocating a new pty and hooking it to gdb when
2666 the old pty gets an EIO due to process exit.
2667 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2668 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2669 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2670
2116e93c
EZ
26712012-04-20 Eli Zaretskii <eliz@gnu.org>
2672
2673 * window.el (window-min-size, window-sizable, window-min-delta)
2674 (window-max-delta, window--resizable, window-resizable)
2675 (window-total-size, window-full-height-p, window-full-width-p)
2676 (window-in-direction, window--resize-mini-window, window-resize)
2677 (window--resize-child-windows-normal)
2678 (window--resize-child-windows, window--resize-siblings)
2679 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2680 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2681
c07a4c0b 26822012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2683
ef24141c
SM
2684 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2685 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2686 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2687 pty process (Bug#11273).
2688 (gdb-update): New arg to suppress talking to the gdb process.
2689 (gdb-done-or-error): Use it.
2690 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2691 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2692 sentinel not being called.
2693
2694 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2695
d02766ab
CY
2696 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2697
c07a4c0b 26982012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2699
2700 * net/network-stream.el (open-network-stream): Doc fix.
2701
c07a4c0b 27022012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2703
2704 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2705
c07a4c0b 27062012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2707
2708 Ensure searching for keywords is case sensitive.
2709
2710 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2711 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2712 (c-defun-name, c-mark-function, c-cpp-define-name)
2713 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2714 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2715
ef24141c
SM
2716 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2717 Bind case-fold-search to nil.
f0f6bc35 2718
c07a4c0b 27192012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2720
2721 * mail/sendmail.el (mail-bury): Call return action with the right
2722 Rmail buffer (Bug#11242).
2723
9a864fa2
CY
2724 * server.el (server-process-filter): Handle corner case where both
2725 tty and nowait options are present (Bug#11102).
2726
539aa513
EZ
27272012-04-20 Eli Zaretskii <eliz@gnu.org>
2728
2729 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2730 (top level): Put into the executable the ident-style '$Id:' tag on
2731 windows-nt as well.
539aa513 2732
cfc7d5da
SM
27332012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2734
2735 * electric.el (electric-indent-post-self-insert-function): Check that
2736 electric-indent-mode is enabled in current buffer.
2737
5b01685c
JB
27382012-04-19 Juanma Barranquero <lekktu@gmail.com>
2739
2740 * imenu.el (imenu-progress-message): Restore; it is "used" in
2741 erc/erc-imenu.el and net/snmp-mode.el.
2742
4d6769e1
JB
27432012-04-19 Juanma Barranquero <lekktu@gmail.com>
2744
2745 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2746 (mouse-avoidance-nudge-mouse): Remove unused binding.
2747
2748 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2749
2750 * descr-text.el (describe-char):
2751 * progmodes/python.el (python-describe-symbol):
2752 Don't call `toggle-read-only', set `buffer-read-only'.
2753
2754 * imenu.el (imenu-default-goto-function): Mark unused args.
2755 (imenu-progress-message): Remove obsolete macro; all callers changed.
2756
2757 * subr.el (keymap-canonicalize): Remove unused binding.
2758 (read-passwd): Mark unused arg.
2759
2760 * tutorial.el (tutorial--display-changes): Remove unused binding.
2761 (tutorial--save-tutorial-to): Remove unused variable.
2762
2763 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2764 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2765 (package-generate-autoloads, package-menu--generate)
2766 (package-menu--find-upgrades): Remove unused bindings.
2767
2768 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2769 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2770 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2771 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2772 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2773 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2774 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2775 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2776 (cua-delete-char-rectangle): Mark unused args.
2777 (cua-align-rectangle): Remove unused binding.
2778
2779 * mail/rmail.el (compilation--message->loc)
2780 (epa--find-coding-system-for-mime-charset): Declare.
2781
2782 * net/dbus.el (dbus-register-service): Declare.
2783 (dbus-name-owner-changed-handler): Remove unused binding.
2784
2785 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2786 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2787 (nxml-scan-backward-within): Mark unused arg.
2788 (nxml-dynamic-markup-word): Remove unused binding.
2789
2790 * mouse.el (mouse-menu-major-mode-map):
2791 * emacs-lisp/authors.el (authors-scan-change-log)
2792 (authors-add-to-author-list):
2793 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2794 * emacs-lisp/smie.el (smie-auto-fill):
2795 * mail/sendmail.el (mail-bury):
2796 * mail/unrmail.el (unrmail):
2797 * net/tls.el (open-tls-stream):
2798 * textmodes/picture.el (picture-mouse-set-point):
2799 Remove unused bindings.
2800
8c8fc5df
MA
28012012-04-19 Michael Albinus <michael.albinus@gmx.de>
2802
2803 * net/tramp.el (tramp-action-password): Let-bind
2804 `enable-recursive-minibuffers' to t.
2805
a77b0ac9
SS
28062012-04-18 Sam Steingold <sds@gnu.org>
2807
2808 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2809 instead of 'string to accommodate values like [f11].
2810 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2811 * progmodes/gdb-mi.el: Likewise.
2812
12a106a9
LL
28132012-04-18 Leo Liu <sdl.web@gmail.com>
2814
2815 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2816 current buffer.
2817 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2818 LOCAL is nil.
2819
bc6494ef
CY
28202012-04-18 Chong Yidong <cyd@gnu.org>
2821
2822 * simple.el (line-move): Use forward-line if in batch mode
2823 (Bug#11053).
2824
c09c46b2
CS
28252012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2826
2827 * files.el (after-find-file): Do not try to add a final newline if
2828 the buffer is read-only (Bug#11156).
2829
5f6530ea
RS
28302012-04-17 Richard Stallman <rms@gnu.org>
2831
2832 * mail/rmail.el (rmail-start-mail):
2833 Pass (rmail-mail-return...) for the return-action.
2834 Pass (rmail-yank-current-message...) for the yank-action.
2835 (rmail-yank-current-message): New function.
2836 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2837 (rmail-reply): Likewise.
2838 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2839
2840 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2841 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2842 buffer, not newbuf.
2843
197b6f3c
JB
28442012-04-17 Juanma Barranquero <lekktu@gmail.com>
2845
2846 * server.el (server-ensure-safe-dir): Simplify.
2847
2311d8e5 28482012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2849
2311d8e5
GM
2850 * emacs-lisp/smie.el: Provide smarter auto-filling.
2851 (smie-auto-fill): New function.
2852 (smie-setup): Use it.
98fb480e 2853
2311d8e5
GM
2854 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2855
28562012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2857
2858 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2859 (comment-indent): Use it.
2860
2311d8e5 28612012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2862
2863 * ses.el: The overall change is to add cell renaming, that is
2864 setting fancy names for cell symbols other than name matching
2865 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2866 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2867 (ses-create-cell-variable): New defun.
2311d8e5 2868 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2869 (ses-relocate-formula): Relocate formulas only for cells the
2870 symbols of which are not renamed, i.e. symbols whose names do not
2871 match regexp "\\`[A-Z]+[0-9]+\\'".
2872 (ses-relocate-all): Relocate values only for cells the symbols of
2873 which are not renamed.
2874 (ses-load): Create cells variables as the (ses-cell ...) are read,
2875 in order to check row col consistency with cell symbol name only
2876 for cells that are not renamed.
2877 (ses-replace-name-in-formula): New defun.
2878 (ses-rename-cell): New defun.
4bdf2ad2 2879
fc72b15c
PO
28802012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2881
2882 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2883 New option (bug#11118).
2884 (perl-calculate-indent): Respect it.
2885
12e10e61
GM
28862012-04-17 Glenn Morris <rgm@gnu.org>
2887
2888 * dired-aux.el (dired-mark-read-string): Doc fix.
2889
30009afd
DA
28902012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2891
2892 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2893 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2894
41f03f4d
GM
28952012-04-17 Glenn Morris <rgm@gnu.org>
2896
2897 * mouse.el (mouse-drag-track):
2898 * speedbar.el (speedbar-frame-mode):
2899 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2900
f45f90f3
LL
29012012-04-16 Leo Liu <sdl.web@gmail.com>
2902
2903 * progmodes/python.el: Trivial cleanup.
2904
94ee8db5
GM
29052012-04-16 Glenn Morris <rgm@gnu.org>
2906
121b8917
GM
2907 * vc/vc.el (vc-string-prefix-p):
2908 * vc/pcvs-util.el (cvs-string-prefix-p):
2909 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2910 * mpc.el (mpc-string-prefix-p):
2911 Make all of these into obsolete aliases for string-prefix-p.
2912 Update callers.
2913 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2914
1197ecfa
GM
2915 * textmodes/two-column.el: Move custom options to the start.
2916 (frame-width): Remove compat definition.
2917 (2C-associate-buffer, 2C-dissociate):
2918 Use with-current-buffer rather than save-excursion.
2919 (2C-dissociate): Force a mode-line update.
2920 (2C-autoscroll): Use ignore-errors.
2921
099e7202
GM
2922 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2923 Autoload trivia.
2924
bf350d6a
GM
2925 * emacs-lisp/cl-extra.el (*random-state*):
2926 Remove unnecessary declaration.
2927
0e829eab
GM
2928 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2929
e3ad7552
GM
2930 * play/cookie1.el (cookie-snarf):
2931 Give an explicit error if input file cannot be read.
2932
68892d27
GM
2933 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2934
20f0c46d
GM
2935 * progmodes/perl-mode.el (c-macro-expand):
2936 Remove unnecessary autoload (it is in loaddefs.el).
2937
5a0978ce
GM
2938 * textmodes/picture.el (picture-desired-column)
2939 (picture-update-desired-column): Convert comments to doc-strings.
2940 (picture-substitute): Remove function.
2941 (picture-mode-map): Initialize in the defvar.
2942
6b955486
GM
2943 * woman.el: Remove eval-after-load for tar-mode.
2944 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2945 (woman-tar-extract-file): Autoload it.
2946
94ee8db5
GM
2947 * frame.el (automatic-hscrolling): Make this alias obsolete.
2948
177eca34
AM
29492012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2950
2951 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2952 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2953 (ispell-dictionary-base-alist): Revert to original XEmacs
2954 friendly version for default. [:alpha:] will be added in
2955 `ispell-set-spellchecker-params' if needed
177eca34 2956
c505aaeb
CY
29572012-04-16 Chong Yidong <cyd@gnu.org>
2958
2959 * image.el (imagemagick--extension-regexp): New variable.
2960 (imagemagick-register-types): Use it.
2961 (imagemagick-types-inhibit): Add :set function. Allow new value
2962 of t to inhibit all types.
2963
2964 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2965 so we can preload it.
2966
2967 * loadup.el (fboundp): Preload regexp-opt, needed by
2968 imagemagick-register-types.
2969
60efac0f
CY
29702012-04-15 Chong Yidong <cyd@gnu.org>
2971
2972 * frame.el (scrolling): Remove nearly unused customization group.
2973
2974 * scroll-all.el (scroll-all-mode): Move to windows group.
2975
5dd1713e
CY
29762012-04-15 Chong Yidong <cyd@gnu.org>
2977
2978 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2979
e6fd457e
CY
29802012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2983 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2984
e153c136
GM
29852012-04-15 Glenn Morris <rgm@gnu.org>
2986
2987 * simple.el (process-file-side-effects): Doc fix.
2988
e6fd457e 29892012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2990
2991 * international/mule-cmds.el (set-language-environment): Doc fix.
2992
3603c3b1
JB
29932012-04-14 Juanma Barranquero <lekktu@gmail.com>
2994
2995 * server.el (server-auth-key, server-generate-key): Doc fixes.
2996 (server-get-auth-key): Doc fix. Use `string-match-p'.
2997 (server-start): Reflow docstring.
2998
e6de100c
LI
29992012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3000
3001 * server.el (server-generate-key): `called-interactively-p'
3002 requires a parameter.
3003
29734c21
MN
30042012-04-14 Michal Nazarewicz <mina86@mina86.com>
3005
3006 * server.el (server-auth-key): New variable.
75f1671a 3007 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3008 (server-start): Use the new variable and functions to allow
3009 setting a permanent server key (bug#9423).
3010
d65c9521
LL
30112012-04-14 Leo Liu <sdl.web@gmail.com>
3012
3013 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3014
5ae255c7
PE
30152012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3016
3017 Spelling fixes.
3018 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3019 Emacs uses American spelling.
3020
d5e6342e
JB
30212012-04-14 Juanma Barranquero <lekktu@gmail.com>
3022
3023 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3024 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3025 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3026 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3027
ab036cd7
SM
30282012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * progmodes/which-func.el (which-func-modes): Change default.
3031
35dc09a1 30322012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3033
3034 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3035 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3036
35dc09a1 30372012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3038
3039 * custom.el (custom-theme-set-variables): Doc fix.
3040
35dc09a1 30412012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3042
3043 * international/mule.el (set-auto-coding-for-load): Doc fix.
3044
35dc09a1 30452012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3046
35dc09a1
GM
3047 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3048 imenu work again for Objective C Mode. Correct the *-index values,
3049 these having been disturbed by a previous change in 2011-08.
57f845ee 3050
0de3da9f
AM
3051 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3052 Correct two search limits.
3053
35dc09a1 30542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3055
3056 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3057
35dc09a1 30582012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3059
3060 * international/characters.el: Fix sorting.
3061
35dc09a1 30622012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3063
3064 * international/characters.el: Add more missing Latin case pairs.
3065
35dc09a1 30662012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3067
3068 * files.el (dir-locals-set-class-variables): Doc fix.
3069
35dc09a1 30702012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3071
3f1b5bf8
EZ
3072 * international/characters.el: Add set-case-syntax-pair call for
3073 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3074 counterpart. (Bug#11209)
3075
9f847f41
EZ
3076 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3077
35dc09a1 30782012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3079
3080 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3081
35dc09a1 30822012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3083
35dc09a1
GM
3084 * textmodes/ispell.el (ispell-dictionary-base-alist):
3085 Add data for Hebrew.
e2627d21 3086
35dc09a1 30872012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3088
35dc09a1
GM
3089 * net/rcirc.el (rcirc-cmd-quit):
3090 Revert 2012-03-18 change (Bug#11192).
5c14e333 3091
35dc09a1 30922012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3093
3094 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3095
35dc09a1 30962012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3097
4517fe3a
SM
3098 * minibuffer.el (completion-in-region-mode-map):
3099 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3100
b472a594
VD
31012012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3102
3103 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3104
09b95ce3
MY
31052012-04-13 Masatake YAMATO <yamato@redhat.com>
3106
3107 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3108 to allow `C-M-f' and `C-M-b' to move to the nearest path
3109 separator (bug#9511).
3110
4b63a9ca
LI
31112012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3112
3113 * avoid.el: Require cl when compiling. And also move the
3114 `provide' to the end.
3115
7b55b8bf
TV
31162012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3117
3118 * avoid.el (mouse-avoidance-banish-position): New variable.
3119 (mouse-avoidance-banish-destination): Use it (bug#10165).
3120
adedaa1f
LL
31212012-04-13 Leo Liu <sdl.web@gmail.com>
3122
3123 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3124
70e74021
KB
31252012-04-13 Ken Brown <kbrown@cornell.edu>
3126
3127 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3128 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3129 (browse-url-filename-alist): For the same reason, don't modify
3130 file:// URLs on Cygwin.
3131
e75e89ba
SM
31322012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3135 the region on shift if the binding is already shifted (bug#11221).
3136
82f289a4
GM
31372012-04-12 Glenn Morris <rgm@gnu.org>
3138
3139 * mail/mailpost.el: Move to obsolete/.
3140
d333dc4c
DA
31412012-04-12 Drew Adams <drew.adams@oracle.com>
3142
3143 * imenu.el (imenu--generic-function): Ignore invisible definitions
3144 (bug#10123).
3145
0d15b5ba
VD
31462012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3147
3148 * hexl.el (hexl-bits): New variable.
3149 (hexl-options): Mention the variable in the doc string.
75f1671a 3150 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3151 (hexl-mode): Mention the new variable.
75f1671a
JB
3152 (hexl-mode, hexl-current-address, hexl-current-address):
3153 Use the displen.
0d15b5ba
VD
3154 (hexl-ascii-start-column): New function.
3155 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3156 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3157
64a440db
AM
31582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3159
3160 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3161 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3162 the encoding, as expected by hunspell.
3163
6decb6c2
SM
31642012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3165
3166 * battery.el (battery--linux-sysfs-regexp): New const.
3167 (battery-status-function): Use it. Remove yeeloong special case.
3168 (battery-yeeloong-sysfs): Remove.
3169 (battery-echo-area-format): Remove yeeloong special case.
3170
088be6fb
SM
31712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3172
6622e416
SM
3173 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3174 Reported by Noah Friedman.
3175
088be6fb
SM
3176 * subr.el (read-passwd): Use read-string.
3177
b49f886e
LMI
31782012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3179
3180 * vcursor.el (vcursor-move): Increase the priority of the overlay
3181 (bug#9663).
3182
a63067fc
DD
31832012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3184
3185 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3186 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3187
ac3cf14a
WS
31882012-04-11 William Stevenson <yhvh2000@gmail.com>
3189
3190 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3191 define-minor-mode (bug#10760).
3192
c4fc691b 31932012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3194
4d6769e1 3195 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3196 that directories matching `grep-find-ignored-files' won't be
3197 pruned (bug#10351).
3198
af23e2e5
CY
31992012-04-11 Chong Yidong <cyd@gnu.org>
3200
3201 * startup.el (command-line): Remove support for long-obsolete
3202 variable font-lock-face-attributes.
3203
ab7ce8c1
GM
32042012-04-11 Glenn Morris <rgm@gnu.org>
3205
3206 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3207
de8c03dc
SM
32082012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3209
3210 * window.el (window--state-get-1): Obey window-point-insertion-type.
3211
050cc68b
LB
32122012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3213
3214 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3215 to previous function when point is on the first character of a
75f1671a 3216 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3217
a38c310c
GM
32182012-04-11 Glenn Morris <rgm@gnu.org>
3219
effed0c2
GM
3220 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3221 not just file-errors.
3222
a38c310c
GM
3223 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3224 (vc-bzr-sha1): Use internal sha1.
3225
0221e323
SM
32262012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3227
3228 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3229
43956923
SG
32302012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3231
3232 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3233 that start in the middle of the line (bug#10496).
3234
6a8c9eaf
DN
32352012-04-10 Dan Nicolaescu <dann@gnu.org>
3236
3237 * battery.el (battery-linux-proc-acpi): Only one battery is
3238 discharged at a time, but that seems to confuse battery.el when
3239 computing `rate-type' for the battery not being discharged
3240 (bug#10332).
3241
1930bf5d
SM
32422012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3243
2a718f6f
SM
3244 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3245
599430d0
SM
3246 * international/quail.el: Use dolist and simplify.
3247 (quail-define-package, quail-update-keyboard-layout)
3248 (quail-define-rules): Use dolist.
3249 (quail-insert-kbd-layout, quail-get-translation): CSE.
3250
a2754b6c
SM
3251 * tmm.el: Use dolist, remove left over hook.
3252 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3253 Use dolist.
3254 (calendar-load-hook): Don't mess with it.
3255
1930bf5d
SM
3256 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3257 Use derived-mode-p. Run the diff asynchronously.
3258
9f67961c
LMI
32592012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3260
3261 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3262
2a8ce227
JB
32632012-04-10 Juanma Barranquero <lekktu@gmail.com>
3264
3265 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3266 (list-dynamic-libraries--loaded): New function.
3267 (list-dynamic-libraries--refresh): Use it.
3268
8f33b5f8
NW
32692012-04-10 Nathan Weizenbaum <nweiz@google.com>
3270
1930bf5d
SM
3271 * progmodes/python.el (python-fill-paragraph):
3272 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3273 disabled (bug#7018).
3274
b12f0439
L
32752012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
3276
1930bf5d 3277 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3278 DOS/MS Windows for the Baltic languages. There are still plenty
3279 of texts written in this encoding/codepage (bug#6519).
b12f0439 3280
57c3bd01
GM
32812012-04-10 Glenn Morris <rgm@gnu.org>
3282
3283 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3284 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3285
6c3eab30
FA
32862012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3287
1930bf5d 3288 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3289 next-line "n" and previous-line "p" in order to make recentf more
3290 consistent with ibuffer, dired or org-mode (bug#9387).
3291
24d78a88
LMI
32922012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293
bc72b5d9
LMI
3294 * image.el (put-image): Return the overlay created instead of the
3295 optional input string (bug#7834). Note that this may break code
3296 that is (for some reason or other) depending on `put-image'
3297 returning the string.
3298
bd2dba5a
LMI
3299 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3300
74beb59f
LMI
3301 * simple.el (zap-to-char): Allow zapping using input methods
3302 (bug#1580).
3303
24d78a88
LMI
3304 * textmodes/fill.el (fill-region): Leave point and mark where they
3305 were before filling (bug#5399).
3306
263f20cd
GM
33072012-04-09 Glenn Morris <rgm@gnu.org>
3308
3309 * version.el (emacs-bzr-get-version):
3310 Handle lightweight checkouts of local branches.
3311
58d1f797
AS
33122012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3313
263f20cd 3314 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3315
b4d3bc10
CY
33162012-04-09 Chong Yidong <cyd@gnu.org>
3317
3318 * custom.el (custom-variable-p): Return nil for non-symbol
3319 arguments instead of signaling an error.
3320 (user-variable-p): Obsolete alias for custom-variable-p.
3321
3322 * apropos.el (apropos-variable):
3323 * files-x.el (read-file-local-variable):
3324 * simple.el (set-variable):
3325 * woman.el (woman-mini-help):
3326 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3327
fd06db5d
GM
33282012-04-09 Glenn Morris <rgm@gnu.org>
3329
e5fcdb5e
GM
3330 * startup.el (normal-top-level): Don't look for leim-list.el
3331 in places where it will not be found. (Bug#910)
3332
fd06db5d
GM
3333 * international/mule-cmds.el (set-default-coding-systems):
3334 * files.el (normal-mode):
3335 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3336 This function was removed with ucs-tables.el in 2008.
3337
b39bb7e1
EZ
33382012-04-08 Eli Zaretskii <eliz@gnu.org>
3339
3340 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3341 ispell-encoding8-command to "-i", without a trailing space.
3342 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3343 separate command-line arguments, to specify the encoding, since
3344 that's how hunspell expects it.
3345
5c5b8e23
GM
33462012-04-08 Glenn Morris <rgm@gnu.org>
3347
3348 * loadup.el: Load bindings before cus-start.
3349 This reduces somewhat the number of "rogue" settings in emacs -Q.
3350
a1ed8b05
GM
33512012-04-07 Glenn Morris <rgm@gnu.org>
3352
3353 * version.el (emacs-bzr-get-version): New function.
dfae128a 3354 (emacs-bzr-version): New variable.
a1ed8b05
GM
3355 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3356 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3357
b142f158
EZ
33582012-04-07 Eli Zaretskii <eliz@gnu.org>
3359
dfae128a
GM
3360 * international/uni-bidi.el, international/uni-category.el:
3361 * international/uni-combining.el, international/uni-decimal.el:
3362 * international/uni-decomposition.el, international/uni-digit.el:
3363 * international/uni-lowercase.el, international/uni-mirrored.el:
3364 * international/uni-name.el, international/uni-numeric.el:
3365 * international/uni-titlecase.el, international/uni-uppercase.el:
3366 Update for Unicode 6.1.
b142f158 3367
9078ead6
EZ
33682012-04-07 Eli Zaretskii <eliz@gnu.org>
3369
3370 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3371
f23d2c7d
LMI
33722012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3373
3374 * window.el (shrink-window): Mention the `window-min-height'
3375 variable in the doc string.
3376
0a0a3573
BG
33772012-04-05 Bastien Guerry <bzg@altern.org>
3378
3379 * color.el (color-lighten-name): Fix typo.
3380
e5248ac9
SM
33812012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3382
3383 * server.el (server--on-display-p): New function.
3384 (server--on-display-p): Use it.
3385
b4243e22
GV
33862012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3387
3388 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3389 (bug#11145).
3390
305d9f44
SM
33912012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * comint.el (comint--common-quoted-suffix): Check string boundary
3394 before comparing (bug#11158).
3395 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3396
3d439cd1
CY
33972012-04-04 Chong Yidong <cyd@gnu.org>
3398
321cc491
CY
3399 * minibuffer.el (completion-extra-properties): Doc fix.
3400
3d439cd1
CY
3401 * subr.el (delayed-warnings-hook): Doc fix.
3402
2d562c0f
DU
34032012-04-04 Daiki Ueno <ueno@unixuser.org>
3404
3405 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3406 selection (Bug#11159).
3407 (epa-insert-keys): Inform that the default public key will be
3408 exported if no key is selected.
3409
4443f204
RS
34102012-04-04 Richard Stallman <rms@gnu.org>
3411
3412 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3413
529c06b6
CY
34142012-04-03 Chong Yidong <cyd@gnu.org>
3415
3416 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3417 mail-insert-file, not its obsolete alias mail-attach-file.
3418
66b907dc
MA
34192012-04-03 Michael Albinus <michael.albinus@gmx.de>
3420
3421 * notifications.el (notifications-notify): Fix docstring.
3422
c0ea195d
GM
34232012-04-02 Glenn Morris <rgm@gnu.org>
3424
3425 * emacs-lisp/authors.el (authors-aliases): Another addition.
3426
5ca64e00
MA
34272012-04-02 Michael Albinus <michael.albinus@gmx.de>
3428
3429 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3430 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3431 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3432
42ee526b
CY
34332012-04-01 Chong Yidong <cyd@gnu.org>
3434
3435 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3436 Handle root directory properly.
3437 (copy-directory): Caller changed.
3438
3439 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3440 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3441
0b021094
GM
34422012-03-31 Glenn Morris <rgm@gnu.org>
3443
40f86458
GM
3444 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3445
7019c177
GM
3446 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3447
a1daddd6
GM
3448 * calendar/calendar.el (calendar-window-list)
3449 (calendar-hide-window): Restore. (Bug#11140)
3450 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3451
0b021094
GM
3452 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3453
40311efc
TV
34542012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3455
3456 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3457 Check if file is a symlink (Bug#10489).
3458
3459 * files.el (copy-directory): Likewise.
3460
5319014e
CY
34612012-03-30 Chong Yidong <cyd@gnu.org>
3462
3463 * image.el (imagemagick-types-inhibit)
3464 (imagemagick-register-types): Doc fix.
3465
935d1290
AM
34662012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3467
ef24141c
SM
3468 * ispell.el (ispell-get-extended-character-mode):
3469 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3470 and treats ~word as ordinary words in pipe mode.
935d1290 3471
61c6e8fd
GM
34722012-03-30 Glenn Morris <rgm@gnu.org>
3473
3474 * tutorial.el (help-with-tutorial): Ensure local variables don't
3475 happen to make the buffer read-only. (Bug#11127)
3476
81fdff00
SM
34772012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3480 (perl-calculate-indent): Return `noindent' in strings.
3481
6e7a6ec0
SS
34822012-03-28 Sam Steingold <sds@gnu.org>
3483
3484 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3485 instead of the broken adhockery which does not prevent calendar
3486 buffers from being displayed at random after exit.
3487 (calendar-window-list, calendar-hide-window): Remove the broken
3488 adhockery.
3489
fee88ca0
GM
34902012-03-28 Glenn Morris <rgm@gnu.org>
3491
3492 * replace.el (query-replace-map): Doc fix.
3493
38de3354
AS
34942012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3495
3496 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3497 contents. (Bug#11109)
3498
b973155e
SM
34992012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3500
3501 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3502 (bug#11077).
3503 (avl-tree--check, avl-tree--check-node): New funs.
3504
dcb6e7b3
MR
35052012-03-27 Martin Rudalics <rudalics@gmx.at>
3506
3507 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3508 (switch-to-prev-buffer, switch-to-next-buffer):
3509 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3510 showing a buffer already is done on the same frame.
3511
b4fa35fa
GM
35122012-03-27 Glenn Morris <rgm@gnu.org>
3513
3514 * startup.el (mail-host-address): Doc fix.
3515
f9210e18
SM
35162012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3519 than 197 variables.
3520
c0bf7753
AF
35212012-03-26 Ami Fischman <ami@fischman.org>
3522
3523 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3524
33da7b16
GM
35252012-03-26 Glenn Morris <rgm@gnu.org>
3526
02243d9d
GM
3527 * files.el (save-buffers-kill-emacs): Doc fix.
3528
33da7b16
GM
3529 * startup.el (normal-top-level, command-line, command-line-1):
3530 Give them doc strings.
3531
e5a69fd0
EZ
35322012-03-25 Eli Zaretskii <eliz@gnu.org>
3533
3534 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3535 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3536
9a69676a
CY
35372012-03-25 Chong Yidong <cyd@gnu.org>
3538
4125cb8b
CY
3539 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3540 theme if it was previously enabled before (Bug#11031).
3541
dd470960
CY
3542 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3543 spec with custom-face-get-current-spec if its :shown-value is not
3544 determined yet (Bug#9337).
4125cb8b 3545 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3546
9a69676a
CY
3547 * button.el (button-at): Minor addition to docstring.
3548
6e7e90fa
SL
35492012-03-24 Simon Leinen <simon.leinen@gmail.com>
3550
3551 * vc/vc.el (vc-merge): Fix a prompt.
3552
f06e2758
CY
35532012-03-24 Chong Yidong <cyd@gnu.org>
3554
3555 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3556 point (Bug#9623).
3557
6e7e90fa
SL
3558 * button.el (button-at): Minor addition to docstring.
3559
b9d0879b
SM
35602012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3561
3562 * newcomment.el (comment-choose-indent): No space after BOL.
3563
e71cebb3
SS
35642012-03-22 Sam Steingold <sds@gnu.org>
3565
3566 * window.el (switch-to-prev-buffer): Revert last patch because the
3567 bug turned out to be an advertised feature (Elisp manual 28.14).
3568
335aff35
GM
35692012-03-22 Glenn Morris <rgm@gnu.org>
3570
3571 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3572 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3573
c676576a
LMI
35742012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3575
3576 * net/network-stream.el (network-stream-open-starttls): Make error
3577 message under Windows be less misleading.
3578
126f3d39
LW
35792012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3580
3581 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3582 understands (bug#9942).
3583
64fee311
CY
35842012-03-22 Chong Yidong <cyd@gnu.org>
3585
3586 * simple.el (end-of-visible-line): Handle return value of
3587 next-single-property-change properly (Bug#9371).
3588
a640d29a
KH
35892012-03-22 Kenichi Handa <handa@m17n.org>
3590
3591 * international/quail.el (quail-insert-kbd-layout): Fix previous
3592 change. To avoid unwanted bidi reordering, use
3593 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3594
39675016
DG
35952012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3596
3597 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3598 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3599 (ruby-beginning-of-indent): Be more careful with the difference
3600 between word-boundary and symbol boundary.
3601 (ruby-mode-syntax-table): Make : a symbol constituent.
3602
0a6934fc 36032012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3604
3d008e4f
SM
3605 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3606
0a6934fc
SM
36072012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3608
af67c9d7
SM
3609 * progmodes/etags.el (tags-completion-at-point-function):
3610 Improve last fix.
3611
1acad97c
SM
3612 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3613
e298b5da
SS
36142012-03-21 Sam Steingold <sds@gnu.org>
3615
3616 * progmodes/etags.el (tags-completion-at-point-function):
3617 Avoid the error when point is inside the pattern.
3618
91d82a70
JY
36192012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3620
3621 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3622 line (Bug#10855).
3623
69188b79
CY
36242012-03-21 Drew Adams <drew.adams@oracle.com>
3625
3626 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3627
99fc91fe
AK
36282012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3629
3630 * ido.el (ido-set-current-directory, ido-read-internal)
3631 (ido-choose-completion-string, ido-completion-help): Handle nil
3632 value of ido-completion-buffer (Bug#11008).
3633
087bbb4c
SS
36342012-03-21 Sam Steingold <sds@gnu.org>
3635
3636 * window.el (switch-to-prev-buffer): Do not switch to a visible
3637 window previous buffer, just like with the frame previous buffers.
3638
fb5b8aca
CY
36392012-03-21 Chong Yidong <cyd@gnu.org>
3640
3641 * faces.el (make-face, make-empty-face, copy-face):
3642 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3643 Doc fixes.
3644
dc9924b8
SM
36452012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3646
3647 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3648 (widget-complete): Remove broken use of it.
3649
f0bcceb9
CY
36502012-03-20 Chong Yidong <cyd@gnu.org>
3651
dc9924b8
SM
3652 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3653 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3654 characters.
3655
ee52ebf3
TH
36562012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3657
3658 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3659 to draw rectangles, not squares. (Regression introduced by revno
3660 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3661
4c5779ab
CY
36622012-03-18 Chong Yidong <cyd@gnu.org>
3663
3664 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3665 it is not yet defined (for temacs).
3666
15360934
LL
36672012-03-18 Leo Liu <sdl.web@gmail.com>
3668
dc9924b8 3669 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3670
d9a8eb66
EZ
36712012-03-17 Eli Zaretskii <eliz@gnu.org>
3672
3673 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3674 (ispell-choices-win-default-height, ispell-silently-savep)
3675 (ispell-dictionary-alist, ispell-encoding8-command)
3676 (ispell-check-version, ispell-aspell-find-dictionary)
3677 (ispell-valid-dictionary-list, ispell-words-keyword)
3678 (ispell-get-word, ispell-internal-change-dictionary)
3679 (ispell-region, ispell-skip-region-list)
3680 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3681 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3682 (ispell-message-text-end, ispell-message)
3683 (ispell-buffer-local-parsing): Doc fix.
3684
f02ff80d
J
36852012-03-13 Jambunathan K <kjambunathan@gmail.com>
3686
3687 * htmlfontify.el: Add support for code block fontification for ODT
3688 export (Bug #9914).
3689 (hfy-optimisations): Define new option
3690 `body-text-only'
3691 (hfy-fontify-buffer): Honor above setting.
3692 (hfy-begin-span, hfy-end-span): New routines factored out form
3693 `hfy-fontify-buffer'.
3694 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3695 that permit insertion of custom tags.
3696 (hfy-fontify-buffer): Use above handlers.
3697 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3698 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3699 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3700 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3701 bind a special variable `hfy-user-sheet-assoc'.
3702 (htmlfontify-string): New defun.
3703 (hfy-compile-face-map): Make sure that the last char in the
3704 buffer is correctly fontified.
3705 (hfy-face-resolve-face): Whitespace only change.
3706
9ac7a13f
EZ
37072012-03-17 Eli Zaretskii <eliz@gnu.org>
3708
3709 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3710 message more clear.
3711
e2b5bdd7
LL
37122012-03-16 Leo Liu <sdl.web@gmail.com>
3713
3714 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3715
2e492df3
AM
37162012-03-16 Alan Mackenzie <acm@muc.de>
3717
3718 Further optimise the handling of large macros.
3719
3720 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3721 limit to a call of `c-literal-limits'.
3722 (c-determine-+ve-limit): New function.
dc9924b8
SM
3723 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3724 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3725 In CASE 5B, restrict a search limit to 500.
3726 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3727
3728 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3729 Restrict macro bounds to +-500 from after-change's BEG END.
3730
50e94f0c
LL
37312012-03-16 Leo Liu <sdl.web@gmail.com>
3732
3733 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3734
6f09f6ed
AH
37352012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3736
3737 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3738 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3739
c7e73d51
GM
37402012-03-16 Glenn Morris <rgm@gnu.org>
3741
da986230
GM
3742 * view.el (view-buffer, view-buffer-other-window)
3743 (view-buffer-other-frame): Doc fixes re special mode-class.
3744
0835f01e
GM
3745 * subr.el (eval-after-load): If named feature is provided not from
3746 a file, run after-load forms. (Bug#10946)
3747
c7e73d51
GM
3748 * calendar/calendar.el (calendar-insert-at-column):
3749 Handle non-unit-width characters a bit better. (Bug#10978)
3750
3f2eafd1
CY
37512012-03-15 Chong Yidong <cyd@gnu.org>
3752
3753 * emacs-lisp/ring.el (ring-extend): New function.
3754 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3755
3756 * comint.el (comint-read-input-ring)
3757 (comint-add-to-input-history): Grow comint-input-ring lazily.
3758
103af3fe
SM
37592012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3760
663b1677
SM
3761 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3762 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3763
103af3fe
SM
3764 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3765 (imenu-add-to-menubar): Don't add a redundant index.
3766 (imenu-update-menubar): Handle a dynamically composed keymap.
3767
899cb7cb
KY
37682012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3769
3770 * mail/sendmail.el (mail-encode-header):
3771 Bind rfc2047-encode-encoded-words to nil.
3772
3809f91d
GM
37732012-03-13 Glenn Morris <rgm@gnu.org>
3774
3775 * calendar/calendar.el (calendar-string-spread):
3776 Handle non-unit-width characters a bit better. (Bug#10978)
3777
9e345a01
LL
37782012-03-13 Leo Liu <sdl.web@gmail.com>
3779
3780 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3781 directory and file as argument (Bug#10822).
3782
4a07df36
KS
37832012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3784
3785 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3786 For dynamically generated code, follow $PC.
3787 (gdb-disassembly-handler-custom): Handle no function name case.
3788
4aaa9356
TL
37892012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3790
3791 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3792 * emulation/ws-mode.el (ws-query-replace):
3793 * sort.el (sort-regexp-fields):
3794 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3795
225979da
SM
37962012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3797
3798 * dabbrev.el: Fix cycle completion order (bug#10963).
3799 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3800 (dabbrev-completion): Don't use an obarray; provide
3801 a cycle-sort-function.
3802
e2f1fdab
LL
38032012-03-12 Leo Liu <sdl.web@gmail.com>
3804
dc9924b8 3805 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3806 (kill-do-not-save-duplicates): Doc fix.
3807
b19490ed
SM
38082012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * dabbrev.el: Fix cycle completion (bug#10963).
3811 Use lexical binding and wrap to 80 columns.
3812 (dabbrev-completion): Delay computing the list of completions.
3813
4b05d722
KH
38142012-03-12 Kenichi Handa <handa@m17n.org>
3815
3816 * international/quail.el (quail-insert-kbd-layout): Surround each
3817 row by LRO and PDF instead of inserting many LRMs. Pad the left
3818 and right of each non-spacing marks. Insert invisible space
3819 between lower and upper characters to prevent composition.
3820
dbbc2e69
SM
38212012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3822
3823 * minibuffer.el (minibuffer-complete): Don't get confused when the
3824 function is run twice via different commands (bug#10958).
3825 (complete-with-action): Fix docstring.
3826
292112ed
CY
38272012-03-12 Chong Yidong <cyd@gnu.org>
3828
5d1ac394
CY
3829 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3830 (nxml-completion-at-point-function): New function.
3831 (nxml-mode): Use it.
3832 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3833
292112ed
CY
3834 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3835 Load generated autoloads file before byte compiling (Bug#10970).
3836 (package--make-autoloads-and-compile): New helper fun.
3837
4098f8f7
CS
38382012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3839
3840 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3841
8f754691
MA
38422012-03-11 Michael Albinus <michael.albinus@gmx.de>
3843
3844 * autorevert.el (auto-revert-handler): Ensure, that
3845 file-readable-p is applied only for local files or in
3846 auto-revert-tail-mode.
3847
e29ab36b
AS
38482012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3849
dbbc2e69
SM
3850 * server.el (server-eval-at): Handle non-tcp connections.
3851 Decode result string.
ad0bf5b6 3852
e29ab36b
AS
3853 * server.el (server-msg-size): New constant.
3854 (server-reply-print): New function.
3855 (server-eval-and-print): Use it.
3856 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3857 Handle -print-nonl.
3858
de5939ba
CS
38592012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3860
3861 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3862 (Bug#10987).
3863
0c93eabf
CY
38642012-03-11 Chong Yidong <cyd@gnu.org>
3865
397a688f
CY
3866 * simple.el (goto-line): Doc fix (Bug#9938).
3867
2cc775f9
CY
3868 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3869
0c93eabf
CY
3870 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3871 when finished (Bug#10963).
3872
c491fa41
MR
38732012-03-11 Martin Rudalics <rudalics@gmx.at>
3874
3875 * window.el (split-window-below): Fix bug in case where
3876 split-window-keep-point is nil (Bug#10971).
3877
300e8fa5
JL
38782012-03-11 Juri Linkov <juri@jurta.org>
3879
3880 * replace.el (replace-highlight): Set isearch-word to nil
3881 unconditionally. (Bug#10887)
3882
dbf6c5a1
EZ
38832012-03-10 Eli Zaretskii <eliz@gnu.org>
3884
3885 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3886 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3887 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3888 (mairix-widget-create-query): Add usage information about mairix
3889 search forms: negating words, searching for substrings, etc.
3890
b9e501de
JP
38912012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3892
3893 * international/fontset.el (font-encoding-alist): Add an entry for
3894 ksx1001 (Bug#5667).
3895
92795c91
RS
38962012-03-10 Richard Stallman <rms@gnu.org>
3897
1694e6c1
RS
3898 * mail/sendmail.el (mail-encode-header):
3899 Set rfc2047-encode-encoded-words.
3900
607e8555
RS
3901 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3902
de3bc99a
RS
3903 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3904 view buffer means not swapped.
3905 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3906 (rmail-write-region-annotate): Error if real text has disappeared.
3907
92795c91
RS
3908 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3909
699bd04e
CY
39102012-03-10 Chong Yidong <cyd@gnu.org>
3911
3912 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3913 * emulation/cua-base.el (cua--init-keymaps):
3914 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3915
570a1714
MR
39162012-03-10 Martin Rudalics <rudalics@gmx.at>
3917
dbbc2e69
SM
3918 * speedbar.el (speedbar-unhighlight-one-tag-line):
3919 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3920
82dcf4e4
CY
39212012-03-10 Chong Yidong <cyd@gnu.org>
3922
7a2c7ca7
CY
3923 * minibuffer.el (completion-in-region, completion-help-at-point):
3924 Give the completion field overlay a high priority (Bug#6830).
3925
82dcf4e4
CY
3926 * dired.el (dired-goto-file): Recognize absolute file name
3927 listings (Bug#7126).
3928 (dired-goto-file-1): New helper function.
3929 (dired-toggle-read-only): Inhibit warnings.
3930
052e28ac
MA
39312012-03-09 Michael Albinus <michael.albinus@gmx.de>
3932
75f1671a 3933 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3934 there are no properties.
3935
95d5e396
LL
39362012-03-09 Leo Liu <sdl.web@gmail.com>
3937
3938 * savehist.el (savehist-printable): Stricter check for string
3939 value (Bug#10937).
3940
3f018d6d
EZ
39412012-03-09 Eli Zaretskii <eliz@gnu.org>
3942
dbbc2e69
SM
3943 * mail/smtpmail.el (smtpmail-send-it):
3944 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3945 valid mbox format.
3946
f7fd3d79
GM
39472012-03-09 Glenn Morris <rgm@gnu.org>
3948
3949 * files.el (dir-locals-find-file):
3950 Don't check result is regular, readable.
3951 (dir-locals-read-from-file): Demote errors.
3952
6ff6e72f
EZ
39532012-03-08 Eli Zaretskii <eliz@gnu.org>
3954
dbbc2e69
SM
3955 * international/quail.el (quail-insert-kbd-layout):
3956 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3957 layout cell, to prevent their reordering by bidi display engine.
3958 For details, see the discussion in
3959 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3960
9cec7834
AM
39612012-03-08 Alan Mackenzie <acm@muc.de>
3962
3963 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3964 the starting position; make it extend the marked region when
3965 invoked repeatedly - all under appropriate circumstances.
3966 Fixes bugs #5525, #10906.
3967
9a40b8d4
GM
39682012-03-08 Glenn Morris <rgm@gnu.org>
3969
3970 * files.el (locate-dominating-file, dir-locals-find-file):
3971 Undo 2012-03-06 change.
3972
7a08ed35
EZ
39732012-03-07 Eli Zaretskii <eliz@gnu.org>
3974
dbbc2e69
SM
3975 * international/quail.el (quail-help):
3976 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3977 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3978 for the reason.
3979
5aca4f71 39802012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3981
3982 Avoid superfluous registering of signals. (Bug#10807)
3983
3984 * notifications.el (notifications-on-action-object)
3985 (notifications-on-close-object): New defvars.
3986 (notifications-on-action-signal, notifications-on-closed-signal):
3987 Unregister the signal if not needed any longer.
3988 (notifications-notify): Register `notifications-action-signal' or
3989 `notifications-closed-signal', if :on-action or :on-close has been
3990 passed as argument.
3991
78e8b10a
CY
39922012-03-07 Chong Yidong <cyd@gnu.org>
3993
3994 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
3995 non-X platforms.
3996
69481eb8
GM
39972012-03-06 Glenn Morris <rgm@gnu.org>
3998
3999 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4000 (x-disown-selection-internal, x-get-selection-internal):
4001 Doc fix (add arglist signatures). (Bug#10783)
4002
133b8e11
KS
40032012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4004
4005 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4006 Handle breakpoints with no "type".
4007
99a83064
GM
40082012-03-06 Glenn Morris <rgm@gnu.org>
4009
4010 * files.el (locate-dominating-file): Add optional predicate argument.
4011 (dir-locals-find-file): Make use of above change.
4012
17798e78
TTN
40132012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4014
4015 * info.el (Info-insert-dir): Also try "dir.gz".
4016
eb182446
GM
40172012-03-06 Glenn Morris <rgm@gnu.org>
4018
8f2114ee
GM
4019 * files.el (dir-locals-find-file):
4020 Ignore non-readable or non-regular files. (Bug#10928)
4021
eb182446
GM
4022 * files.el (locate-dominating-file): Doc fix.
4023
24679323
AS
40242012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4025
4026 * calendar/calendar.el (calendar-set-mode-line):
4027 `getenv' returns a string. (Bug#10951)
4028
01d972a9
LL
40292012-03-05 Leo Liu <sdl.web@gmail.com>
4030
109aa8a9
LL
4031 * simple.el (backward-delete-char-untabify): Constrain point to
4032 field (Bug#10939).
4033
01d972a9
LL
4034 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4035
10607bea
CY
40362012-03-05 Chong Yidong <cyd@gnu.org>
4037
4038 * simple.el (count-words): If called from Lisp, return the word
4039 count, for symmetry with `count-lines'. Arglist changed.
4040 (count-words--message): Args changed. Consolidate counting code
4041 from count-words and count-words-region.
4042 (count-words-region): Caller changed.
4043 (count-lines-region): Make it an obsolete alias.
4044
5dd11cfe
TH
40452012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4046
4047 * saveplace.el (save-place-to-alist)
4048 (save-place-ignore-files-regexp): Allow value nil to disable this
4049 feature.
4050
c349f4e6
CY
40512012-03-04 Chong Yidong <cyd@gnu.org>
4052
4053 * faces.el (face-spec-reset-face): For the default face, reset the
4054 attributes to default values (Bug#10748).
4055
e627be4c
LMI
40562012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4057
4058 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4059 previous patch: Check `message-send-mail-function', and not the
4060 default function (bug#10897).
4061
ebeabff4
MA
40622012-03-04 Michael Albinus <michael.albinus@gmx.de>
4063
a41a6cf4
MA
4064 * notifications.el (notifications-on-action-signal)
4065 (notifications-on-closed-signal): Check for unique service name of
4066 incoming event. Fix error in removing entry.
ebeabff4 4067 (top): Register for signals with wildcard service name.
a41a6cf4 4068 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4069
c1ca42b4
CY
40702012-03-04 Chong Yidong <cyd@gnu.org>
4071
dc9924b8 4072 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4073
ea16568d
GM
40742012-03-04 Glenn Morris <rgm@gnu.org>
4075
4076 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4077 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4078 (expand-abbrev, define-abbrev-table): Doc fixes.
4079
fbae4637
LMI
40802012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4081
4082 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4083 `message-default-send-mail-function' and not `send-mail-function'
4084 when doing the prompting for `sendmail-query-once' before sending
4085 in Message buffers (bug#10897).
4086
a1e7225c
LMI
4087 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4088 This is inconsistent with all the other stream functions, which leave
4089 the setting up to the higher levels (if so wanted) (bug#10931).
4090
56d093a9
AM
40912012-03-02 Alan Mackenzie <acm@muc.de>
4092
4093 Depessimize the handling of very large macros.
4094
4095 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4096 (c-macro-cache-syntactic): New variables to implement a one
4097 element macro cache.
4098 (c-invalidate-macro-cache): New function.
4099 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4100 Adapt to use the new cache.
4101 (c-state-safe-place): Use better the cache of safe positions.
4102 (c-state-semi-nonlit-pos-cache)
4103 (c-state-semi-nonlit-pos-cache-limit):
4104 New variables for...
4105 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4106 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4107 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4108 Use c-state-semi-safe-place.
56d093a9 4109
dbbc2e69
SM
4110 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4111 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4112
817e5c3d
MA
41132012-03-02 Michael Albinus <michael.albinus@gmx.de>
4114
dbbc2e69
SM
4115 * jka-compr.el (jka-compr-call-process):
4116 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4117 not remote.
4118
a032a702
MA
41192012-03-01 Michael Albinus <michael.albinus@gmx.de>
4120
4121 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4122 access of FILE2, if FILE1 does not exist.
4123
99a54f21
MA
4124 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4125 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4126
4127 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4128 Add "PAGER=" to `process-environment'.
4129
f6561e1f
MM
41302012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4131
4132 * progmodes/sql.el: Bug fix
4133 (sql-get-login-ext): Save login values in globals.
4134 (sql-get-login): Use new version of `sql-get-login-ext'.
4135 (sql-interactive-mode): Set global `sql-connection' to nil.
4136 (sql-connect): Set global values for connection.
4137 (sql-product-interactive): Save global values as buffer local.
4138
2d44d9cc
LL
41392012-02-29 Leo Liu <sdl.web@gmail.com>
4140
4141 * abbrev.el (define-abbrevs): Reset sys to nil.
4142
96b49301 41432012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4144
bf7f9bc5
JB
4145 * files.el (file-equal-p): Rename from `files-equal-p'.
4146 Return nil when one or both files don't exist.
96b49301 4147 (file-subdir-of-p): Now only top directory must exists,
4148 return nil if it doesn't.
bf7f9bc5
JB
4149 (copy-directory): No need to test with `file-subdir-of-p' after
4150 creating dir.
4151 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4152 to `file-equal-p'.
96b49301 4153
44e97401
GM
41542012-02-28 Glenn Morris <rgm@gnu.org>
4155
4156 * shell.el (shell-mode):
4157 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4158 * play/landmark.el (landmark-font-lock-face-O):
4159 * play/handwrite.el (handwrite):
4160 * play/gomoku.el (gomoku-O):
4161 * net/browse-url.el (browse-url-browser-display):
4162 * international/mule.el (define-charset):
4163 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4164 * filesets.el (filesets-find-file-delay):
4165 * eshell/em-xtra.el (eshell-xtra):
4166 * eshell/em-unix.el (eshell-grep):
4167 * emulation/viper.el (viper-mode):
4168 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4169 * emacs-lisp/easymenu.el (easy-menu-define):
4170 * calendar/timeclock.el (timeclock-use-display-time):
4171 * bs.el (bs-mode):
4172 * bookmark.el (bookmark-save-flag):
4173 Doc fix (standardize possessive apostrophe usage).
4174
c98c6276
CY
41752012-02-27 Chong Yidong <cyd@gnu.org>
4176
bf7f9bc5
JB
4177 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4178 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4179
c98c6276
CY
4180 * font-lock.el (font-lock-specified-p): Rename from
4181 font-lock-spec-present. Callers changed.
4182
9c62cd04 41832012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4184
bf7f9bc5
JB
4185 * emacs-lisp/package.el (package-compute-transaction):
4186 Handle holding a package version to t in package-load-list.
8ac9e529 4187
530739c9
MA
41882012-02-26 Michael Albinus <michael.albinus@gmx.de>
4189
4190 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4191 (tramp-get-inode, tramp-get-device): Use cached values.
4192
487915d7
AM
41932012-02-26 Alan Mackenzie <acm@muc.de>
4194
4195 Check there is a font-lock specification before doing initial
4196 fontification.
4197
4198 * font-core.el (font-lock-mode): Move the conditional from
4199 :after-hook to font-lock-initial-fontify.
4200 (font-lock-default-function): Move the check for a specification
4201 to font-lock-spec-present.
4202
dc9924b8 4203 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4204 (font-lock-spec-present): New function.
4205
4fd96557
JB
42062012-02-26 Jim Blandy <jimb@red-bean.com>
4207
4208 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4209 (gdb-send): Apply it to the operand of the '-interpreter-exec
4210 console' command, so that we can pass arguments with (say) quotes
4211 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4212
9a4888c0
CY
42132012-02-26 Chong Yidong <cyd@gnu.org>
4214
07498861
CY
4215 * help-fns.el (describe-function-1): Clarify description of
4216 remapping (Bug#10844).
4217
9a4888c0
CY
4218 * files.el (files-equal-p): Doc fix.
4219 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4220 and quit the loop once a mismatch is found.
4221
ea8fb88d
JB
42222012-02-25 Juanma Barranquero <lekktu@gmail.com>
4223
4224 * bs.el (bs--show-with-configuration): Don't throw an error
4225 if the window cannot be split; otherwise, subsequent calls to
4226 bs-show fail, restoring a stale window config. (Bug#10882)
4227
525795c1
JD
42282012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4229
4230 * term/ns-win.el (global-map): Bind ns-drag-file to
4231 ns-find-file (Bug#5855, Bug#10050).
4232
f008086f
AS
42332012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4234
4235 * calendar/parse-time.el (parse-time-string): Allow extractor to
4236 return nil.
4237
a3fcfa99
MA
42382012-02-25 Michael Albinus <michael.albinus@gmx.de>
4239
91027d08
JB
4240 * net/tramp.el (tramp-file-name-for-operation):
4241 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4242
4243 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4244 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4245 Add COPY-CONTENTS argument.
a3fcfa99 4246
67b0de11
CY
42472012-02-25 Chong Yidong <cyd@gnu.org>
4248
4249 Add custom groups for VC backends, for consistency with vc-bzr.
4250
4251 * vc/vc-arch.el (vc-arch):
4252 * vc/vc-cvs.el (vc-cvs):
4253 * vc/vc-git.el (vc-git):
4254 * vc/vc-hg.el (vc-hg):
4255 * vc/vc-mtn.el (vc-mtn):
4256 * vc/vc-rcs.el (vc-rcs):
4257 * vc/vc-sccs.el (vc-sccs):
4258 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4259 All relevant defcustoms reassigned.
4260
3c9dfce6
CY
42612012-02-25 Chong Yidong <cyd@gnu.org>
4262
1339bf43
CY
4263 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4264
3c9dfce6
CY
4265 * term/x-win.el (x-initialize-window-system): Reduce default for
4266 x-selection-timeout to 5 seconds (Bug#8869).
4267
25b2e303 42682012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4269
ec70a47d
GM
4270 * files.el (files-equal-p, file-subdir-of-p): New functions.
4271 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4272 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4273 * dired-aux.el (dired-copy-file-recursive): Same.
4274 (dired-create-files): Modify destination when source is equal to
4275 dest when copying files.
53a46cd0 4276 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4277
914260cd
MA
42782012-02-24 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4281 (Bug#10874)
4282
2cb228f7
AM
42832012-02-23 Alan Mackenzie <acm@muc.de>
4284
4285 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4286 parameter "after-hook:" to allow the expansion to run code after
4287 the execution of the mode hooks.
4288
4289 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4290 from font-lock-mode-internal.
2cb228f7 4291
91027d08 4292 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4293 :after-hook.
4294
8f0fde21
SM
42952012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4296
3e88618b
SM
4297 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4298 (completion--cache-all-sorted-completions): New function.
4299 (completion-all-sorted-completions): Use it.
4300 (completion--do-completion, minibuffer-force-complete):
4301 Use it to re-instate the flush hook.
4302
8f0fde21
SM
4303 * icomplete.el (icomplete-completions): Replace last fix with a better
4304 one (bug#10850).
4305
8e911f6f
DG
43062012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4307
4308 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4309 when it might call us back infinitely (bug#10797).
4310
49fe4321
GM
43112012-02-23 Glenn Morris <rgm@gnu.org>
4312
4313 * minibuffer.el (completion-category-overrides): Doc fix.
4314
b291b572
SM
43152012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4316
4317 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4318 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4319
31a9ef2e
GM
43202012-02-23 Glenn Morris <rgm@gnu.org>
4321
5e6e6794 4322 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4323 (authors-obsolete-files-regexps, authors-ignored-files)
4324 (authors-ambiguous-files, authors-renamed-files-alist):
4325 Add more entries.
4326
0bd1e074
JL
43272012-02-23 Juri Linkov <juri@jurta.org>
4328
4329 * isearch.el (isearch-occur): Sync interactive spec with occur's
4330 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4331
b617673c
JL
4332 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4333
19e9789e
JL
43342012-02-22 Juri Linkov <juri@jurta.org>
4335
4336 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4337 (ucs-insert): Doc fix. Check for hex digits in the string.
4338 Don't display `nil' in the error message. (Bug#10857)
4339
f41ce09d
AM
43402012-02-22 Alan Mackenzie <acm@muc.de>
4341
7a71b18d 4342 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4343
ac2eceee
GM
43442012-02-22 Glenn Morris <rgm@gnu.org>
4345
4346 * ffap.el (ffap-c-path):
4347 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4348
abd1f678
CY
43492012-02-22 Chong Yidong <cyd@gnu.org>
4350
4351 * custom.el (load-theme): Doc fix.
4352
f25aef2e
GM
43532012-02-22 Glenn Morris <rgm@gnu.org>
4354
4355 * dired-x.el (dired-guess-shell-alist-default):
4356 Remove escape sequences from nroff output. (Bug#172)
4357
5f8dc2ca
GM
43582012-02-21 Glenn Morris <rgm@gnu.org>
4359
6ff86ec4
GM
4360 * vc/emerge.el (emerge-defvar-local):
4361 Set `permanent-local' property rather than unused `preserved'.
4362
be3223a3 4363 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4364 (picture-mode-map): Use it. (Bug#10860)
4365 (picture-mode): Doc fix.
4366
3fe58f4f
JB
43672012-02-21 Juanma Barranquero <lekktu@gmail.com>
4368
4369 * newcomment.el (uncomment-region-default): Remove unused binding.
4370
f9a998c3
GM
43712012-02-21 Glenn Morris <rgm@gnu.org>
4372
4373 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4374 (picture-self-insert, picture-tab-chars): Doc fix.
4375 (picture-mode-map): Fix C-a, C-e.
4376
c6029348
GM
43772012-02-20 Glenn Morris <rgm@gnu.org>
4378
4379 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4380
ab1ce9d7
LL
43812012-02-20 Leo Liu <sdl.web@gmail.com>
4382
4383 * icomplete.el (icomplete-completions): Check FROM arg before
4384 passing to substring (Bug#10850).
4385
0fd40f89
CY
43862012-02-19 Chong Yidong <cyd@gnu.org>
4387
4388 * comint.el: Require ansi-color.
4389 (comint-output-filter-functions): Add ansi-color-process-output.
4390
4391 * ansi-color.el: Don't set comint-output-filter-functions; it is
4392 now in the initial value defined in comint.el.
4393 (ansi-color-apply-face-function): New variable.
4394 (ansi-color-apply-on-region): Use it.
4395 (ansi-color-apply-overlay-face): New function.
4396
4397 * shell.el (shell): No need to require ansi-color.
4398 (shell-mode): Use ansi-color-apply-face-function to highlight
4399 color escapes using font-lock-face property (Bug#10835).
4400
20af2394
CY
44012012-02-19 Chong Yidong <cyd@gnu.org>
4402
4403 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4404 mode-line formats (Bug#10839).
4405
e23a3fbe
GM
44062012-02-18 Glenn Morris <rgm@gnu.org>
4407
b474519e
GM
4408 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4409
4410 * mail/undigest.el (unforward-rmail-message): Doc fix.
4411
e23a3fbe
GM
4412 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4413
57939ff4
EZ
44142012-02-18 Eli Zaretskii <eliz@gnu.org>
4415
4416 * international/characters.el (script-list): Sync with the latest
4417 Unicode Character Database.
4418
0c23686e
AS
44192012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4420
4421 * international/titdic-cnv.el: Remove duplicate coding tag.
4422 * language/cham.el: Likewise.
4423 * language/tai-viet.el: Likewise.
4424
6818b449
GM
44252012-02-18 Glenn Morris <rgm@gnu.org>
4426
4427 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4428 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4429 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4430 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4431 * calendar/holidays.el (holiday-bahai-holidays)
4432 (calendar-holidays, list-holidays):
4433 Use utf-8 Bahá'í in doc-strings, menus, etc.
4434
0311a3fc
TH
44352012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4436
4437 * saveplace.el (save-place-ignore-files-regexp): New variable
4438 allowing for excluding files from saving their location of point.
4439 The default value matches the temporary commit message editing
4440 files from Git, SVN, Bazaar, and Mercurial.
4441 (save-place-to-alist): Use it.
4442
eb864a71
LM
44432012-02-17 Lawrence Mitchell <wence@gmx.li>
4444 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * newcomment.el (uncomment-region-default): Don't leave extra space
4447 when an arg is provided (bug#8150).
4448
ee0ce425
TZ
44492012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4450
eb864a71 4451 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4452
95ddf442
GM
44532012-02-17 Glenn Morris <rgm@gnu.org>
4454
4455 * net/socks.el: Require network-stream. (Bug#10599)
4456
48dd1e39 44572012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4458
4459 * international/charprop.el:
4460 * international/uni-name.el:
4461 * international/uni-old-name.el:
4462 * international/uni-comment.el: Regenerate.
4463
d68cd087
GM
44642012-02-16 Glenn Morris <rgm@gnu.org>
4465
4466 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4467 Interactively in calendar buffer, give an error if not on a date.
4468
13932042
GM
44692012-02-15 Glenn Morris <rgm@gnu.org>
4470
4471 * shell.el (shell-delimiter-argument-list):
4472 Revert 2011-02-17 change. (Bug#8027)
4473
c3a70e2b
CY
44742012-02-15 Chong Yidong <cyd@gnu.org>
4475
60236b0d
CY
4476 * minibuffer.el (completion-at-point-functions): Doc fix.
4477
c3a70e2b
CY
4478 * custom.el (defcustom): Doc fix; note use of defvar.
4479
9f26dc24
GM
44802012-02-15 Glenn Morris <rgm@gnu.org>
4481
4482 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4483 Doc fixes.
4484
6546b134
GM
44852012-02-14 Glenn Morris <rgm@gnu.org>
4486
4487 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4488
d29b2b4c
LI
44892012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4490
4491 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4492 way the ports list is computed.
835bdcba
LI
4493 (smtpmail-query-smtp-server): Prompt the user for a port number if
4494 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4495
08dcdbc9
TZ
44962012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4497
4498 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4499
2605051a
GM
45002012-02-13 Glenn Morris <rgm@gnu.org>
4501
4502 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4503
7ee99f32
TZ
45042012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4505
4506 * net/gnutls.el (gnutls-trustfiles): New variable.
4507 (gnutls-negotiate): Use it.
4508
5f0af64f
LI
45092012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4510
4511 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4512 does its stuff if Gnus is running.
4513
c14fcc95
AM
45142012-02-13 Alan Mackenzie <acm@muc.de>
4515
4516 Fix a loop in c-set-fl-decl-start.
4517
7a71b18d 4518 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4519 c-backward-syntactic-ws actually moves backwards.
4520
142b4d90
LL
45212012-02-13 Leo Liu <sdl.web@gmail.com>
4522
4523 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4524 beginning so that all \C-o chars are removed.
4525
fa9958a6
TZ
45262012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4527
dc9924b8 4528 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4529
0bc5886a
AM
45302012-02-12 Alan Mackenzie <acm@muc.de>
4531
4532 Fix infinite loop with long macros.
4d6769e1 4533 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4534
d4bd55e7
CY
45352012-02-12 Chong Yidong <cyd@gnu.org>
4536
4537 * window.el (display-buffer): Doc fix (Bug#10785).
4538
66f3fe22
GM
45392012-02-12 Glenn Morris <rgm@gnu.org>
4540
bd7da63e
GM
4541 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4542 (x-disown-selection-internal, x-get-selection-internal):
4543 Sync docs with the xselect.c versions.
4544
66f3fe22
GM
4545 * allout-widgets.el: Add missing license notice.
4546
3e0d2fa7
GM
45472012-02-11 Glenn Morris <rgm@gnu.org>
4548
cfecdf09
GM
4549 * select.el (x-get-selection-internal, x-own-selection-internal)
4550 (x-disown-selection-internal):
4551 * x-dnd.el (x-get-selection-internal): Update declarations.
4552
6d216d7f
GM
4553 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4554
2bed3f04
GM
4555 * window.el (window-sides-slots):
4556 * tool-bar.el (tool-bar-position):
4557 * term/xterm.el (xterm-extra-capabilities):
4558 * ses.el (ses-self-reference-early-detection):
4559 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4560 (verilog-auto-wire-type)
4561 (verilog-auto-delete-trailing-whitespace)
4562 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4563 (verilog-auto-tieoff-declaration):
4564 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4565 (sql-oracle-statement-starters, sql-oracle-scan-on):
4566 * progmodes/prolog.el (prolog-align-comments-flag)
4567 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4568 (prolog-left-indent-regexp, prolog-paren-indent-p)
4569 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4570 (prolog-types, prolog-mode-specificators)
4571 (prolog-determinism-specificators, prolog-directives)
4572 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4573 (prolog-electric-dot-flag)
4574 (prolog-electric-dot-full-predicate-template)
4575 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4576 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4577 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4578 (prolog-program-switches, prolog-prompt-regexp)
4579 (prolog-debug-on-string, prolog-debug-off-string)
4580 (prolog-trace-on-string, prolog-trace-off-string)
4581 (prolog-zip-on-string, prolog-zip-off-string)
4582 (prolog-use-standard-consult-compile-method-flag)
4583 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4584 (prolog-imenu-max-lines, prolog-info-predicate-index)
4585 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4586 (prolog-char-quote-workaround):
4587 * progmodes/cc-vars.el (c-defun-tactic):
4588 * net/tramp.el (tramp-encoding-command-interactive)
4589 (tramp-local-end-of-line):
4590 * net/soap-client.el (soap-client):
4591 * net/netrc.el (netrc-file):
4592 * net/gnutls.el (gnutls):
4593 * minibuffer.el (completion-category-overrides)
4594 (completion-cycle-threshold)
4595 (completion-pcm-complete-word-inserts-delimiters):
4596 * man.el (Man-name-local-regexp):
4597 * mail/feedmail.el (feedmail-display-full-frame):
4598 * international/characters.el (glyphless-char-display-control):
4599 * eshell/em-ls.el (eshell-ls-date-format):
4600 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4601 (lisp-lambda-list-keyword-parameter-indentation)
4602 (lisp-lambda-list-keyword-parameter-alignment):
4603 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4604 * dired-x.el (dired-omit-verbose):
4605 * cus-theme.el (custom-theme-allow-multiple-selections):
4606 * calc/calc.el (calc-highlight-selections-with-faces)
4607 (calc-lu-field-reference, calc-lu-power-reference)
4608 (calc-note-threshold):
4609 * battery.el (battery-mode-line-limit):
4610 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4611 (archive-7z-update):
4612 * allout.el (allout-prefixed-keybindings)
4613 (allout-unprefixed-keybindings)
4614 (allout-inhibit-auto-fill-on-headline)
4615 (allout-flattened-numbering-abbreviation):
4616 * allout-widgets.el (allout-widgets-auto-activation)
4617 (allout-widgets-icons-dark-subdir)
4618 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4619 (allout-widgets-theme-dark-background)
4620 (allout-widgets-theme-light-background)
4621 (allout-widgets-item-image-properties-emacs)
4622 (allout-widgets-item-image-properties-xemacs)
4623 (allout-widgets-run-unit-tests-on-load)
4624 (allout-widgets-time-decoration-activity)
4625 (allout-widgets-hook-error-post-time)
4626 (allout-widgets-track-decoration):
4627 Add missing :version tags to new defcustoms and defgroups.
4628
5fec1b8e
GM
4629 * progmodes/sql.el (sql-ansi-statement-starters)
4630 (sql-oracle-statement-starters): Add custom type.
4631
3e0d2fa7
GM
4632 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4633 (prolog-system-version): Give it a type.
4634
90b671e2
EZ
46352012-02-11 Eli Zaretskii <eliz@gnu.org>
4636
4637 * term/pc-win.el (x-select-text, x-selection-owner-p)
4638 (x-own-selection-internal, x-disown-selection-internal)
4639 (x-get-selection-internal): Sync doc strings and argument lists
4640 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4641
5eac0c02
LL
46422012-02-11 Leo Liu <sdl.web@gmail.com>
4643
4644 * progmodes/python.el (python-end-of-statement): Fix infinite
4645 loop. (Bug#10788)
4646
f82cb659
GM
46472012-02-10 Glenn Morris <rgm@gnu.org>
4648
4649 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4650 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4651
cc26d239
LI
46522012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4653
4654 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4655 about SMTP before checking the From header.
4656
91027d08 4657 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4658 into own function for reuse by emacsbug.el.
4659
1be3ca5a
LL
46602012-02-10 Leo Liu <sdl.web@gmail.com>
4661
4662 * subr.el (condition-case-unless-debug): Rename from
4663 condition-case-no-debug. All callers changed.
4664 (with-demoted-errors): Fix caller.
4665
4666 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4667 * nxml/rng-valid.el (rng-do-some-validation):
4668 * emacs-lisp/package.el (package-refresh-contents)
4669 (package-menu-execute):
4670 * desktop.el (desktop-create-buffer):
91027d08 4671 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4672
b011fbfe
GM
46732012-02-10 Glenn Morris <rgm@gnu.org>
4674
b2096d72
GM
4675 * textmodes/bibtex.el:
4676 Add missing :version tags for new/changed defcustoms.
4677
b011fbfe
GM
4678 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4679
4c7e65bf
LI
46802012-02-09 Lars Ingebrigtsen <larsi@rusty>
4681
4682 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4683 (smtpmail-via-smtp): Use it, or fall back on the From address.
4684 (smtpmail-send-it): Ditto.
4685
f3934f6f
SM
46862012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4687
4688 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4689 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4690 (byte-compile-tmp-var): New const.
4691 (byte-compile-defvar): Use it to minimize .elc size.
4692 Just use `defvar' rather than simulate it (bug#10761).
4693
a075a2c5
GM
46942012-02-09 Glenn Morris <rgm@gnu.org>
4695
cf3aa21b
GM
4696 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4697
354998cd
GM
4698 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4699 Add :version tags.
4700
dc9924b8
SM
4701 * progmodes/compile.el (compilation-error-screen-columns)
4702 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4703
dab3703d
GM
4704 * vc/log-view.el (log-view-toggle-entry-display):
4705 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4706
3f88cd72
GM
4707 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4708 (report-emacs-bug-can-use-xdg-email):
4709 (report-emacs-bug-insert-to-mailer): Doc fixes.
4710 (report-emacs-bug): Message fix.
4711
d95b247d
GM
4712 * net/browse-url.el (browse-url-can-use-xdg-open)
4713 (browse-url-xdg-open): Doc fixes.
4714
a075a2c5
GM
4715 * electric.el (electric-indent-mode, electric-pair-mode)
4716 (electric-layout-rules, electric-layout-mode): Doc fixes.
4717 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4718
ffb6157e
MR
47192012-02-08 Martin Rudalics <rudalics@gmx.at>
4720
4721 * server.el (server-unselect-display): Don't inadvertently kill
4722 the current buffer. (Bug#10729)
4723
e1ac4066
GM
47242012-02-08 Glenn Morris <rgm@gnu.org>
4725
34e8a2da
GM
4726 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4727 (sql-list-table): Doc fixes.
4728
b4ac6e8c
GM
4729 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4730 Comment out (does nothing).
4731
e1ac4066
GM
4732 * completion.el (dynamic-completion-mode):
4733 * dirtrack.el (dirtrack-debug-mode):
4734 * electric.el (electric-layout-mode):
4735 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4736 * face-remap.el (text-scale-mode, buffer-face-mode):
4737 * iimage.el (iimage-mode):
4738 * image-mode.el (image-transform-mode):
4739 * minibuffer.el (completion-in-region-mode):
4740 * scroll-lock.el (scroll-lock-mode):
4741 * simple.el (next-error-follow-minor-mode):
4742 * tar-mode.el (tar-subfile-mode):
4743 * tooltip.el (tooltip-mode):
4744 * vcursor.el (vcursor-use-vcursor-map):
4745 * wid-browse.el (widget-minor-mode):
4746 * emulation/tpu-edt.el (tpu-edt-mode):
4747 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4748 * international/iso-ascii.el (iso-ascii-mode):
4749 * language/thai-util.el (thai-word-mode):
4750 * mail/supercite.el (sc-minor-mode):
4751 * net/goto-addr.el (goto-address-mode):
4752 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4753 * progmodes/cwarn.el (cwarn-mode):
4754 * progmodes/flymake.el (flymake-mode):
4755 * progmodes/glasses.el (glasses-mode):
4756 * progmodes/hideshow.el (hs-minor-mode):
4757 * progmodes/pascal.el (pascal-outline-mode):
4758 * textmodes/enriched.el (enriched-mode):
4759 * vc/smerge-mode.el (smerge-mode):
4760 Doc fixes (minor mode argument).
4761
5e0d957f
EZ
47622012-02-07 Eli Zaretskii <eliz@gnu.org>
4763
4764 * ls-lisp.el (ls-lisp-sanitize): New function.
4765 (ls-lisp-insert-directory): Use it to fix or remove any elements
4766 in file-alist with missing attributes. (Bug#4673)
4767
98d7371e
AM
47682012-02-07 Alan Mackenzie <acm@muc.de>
4769
4770 Fix spurious recognition of c-in-knr-argdecl.
4771
4772 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4773 putative K&R region.
4774
667ced3a
AM
47752012-02-07 Alan Mackenzie <acm@muc.de>
4776
eb864a71
LM
4777 * progmodes/cc-engine.el (c-forward-objc-directive):
4778 Prevent looping in "#pragma mark @implementation".
667ced3a 4779
5b77774d
MA
47802012-02-07 Michael Albinus <michael.albinus@gmx.de>
4781
4782 * notifications.el (notifications-on-closed-signal): Make `reason'
4783 optional. (Bug#10744)
4784
af008560
GM
47852012-02-07 Glenn Morris <rgm@gnu.org>
4786
60d47423
GM
4787 * emacs-lisp/easy-mmode.el (define-minor-mode):
4788 Doc fixes for the macro and the mode it defines.
4789
dd605cc4
GM
4790 * image.el (imagemagick-types-inhibit): Doc fix.
4791
af008560
GM
4792 * cus-start.el (imagemagick-render-type): Add it.
4793
5cc59a37
LI
47942012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4795
4d6769e1
JB
4796 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4797 Set the default at load time, too, so that `font-lock-fontify-buffer'
4798 can be called without setting up the entire mode first. This fixes
4799 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4800
9a6dd747
CY
48012012-02-06 Chong Yidong <cyd@gnu.org>
4802
2d16b285
CY
4803 * simple.el (list-processes--refresh): Delete exited processes
4804 (Bug#8094).
4805
171e9b6e
CY
4806 * comint.el (comint-next-prompt): next-single-char-property-change
4807 and prev-single-char-property-change never return nil (Bug#8657).
4808
9a6dd747
CY
4809 * custom.el (defcustom): Doc fix (Bug#9711).
4810
aa4589a7
CY
48112012-02-05 Chong Yidong <cyd@gnu.org>
4812
5c2a252f
CY
4813 * cus-edit.el (custom-variable-reset-backup): Quote the value
4814 before storing it in the customized-value property (Bug#6712).
4aab9006 4815 (custom-display): Add a customization type tag.
983b9602 4816 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4817
aa4589a7
CY
4818 * wid-edit.el (widget-field-value-get): New optional arg to
4819 suppress trailing whitespace truncation.
4820 (character): Use it (Bug#2689).
4821
1ff980ae
AS
48222012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4823
4824 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4825 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4826
03988c98
CY
48272012-02-05 Chong Yidong <cyd@gnu.org>
4828
eeb6cc88
CY
4829 * cus-edit.el (custom-variable-value-create): For mismatched
4830 types, show the current value (Bug#7600).
4831
03988c98
CY
4832 * custom.el (defcustom): Doc fix.
4833
f8cdeef0
GM
48342012-02-05 Glenn Morris <rgm@gnu.org>
4835
4836 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4837
0696d255
JB
48382012-02-05 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4841 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4842 (pp-last-sexp): Use `looking-at-p'.
4843
34c99998
GM
48442012-02-04 Glenn Morris <rgm@gnu.org>
4845
8f05da42
GM
4846 * files.el (revert-buffer):
4847 Doc fix (mention revert-buffer-in-progress-p).
4848
f160676e
GM
4849 * emacs-lisp/ert-x.el (ert-simulate-command):
4850 Check deferred-action-list (which is obsolete) is bound.
4851
c7291ad9
GM
4852 * subr.el (with-wrapper-hook): Doc fixes.
4853
34c99998
GM
4854 * simple.el (filter-buffer-substring-functions)
4855 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4856
6283a7d3
LL
48572012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4858
4859 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4860 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4861
e96e3013
LL
48622012-02-04 Leo Liu <sdl.web@gmail.com>
4863
4864 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4865
8ded50f2
GM
48662012-02-04 Glenn Morris <rgm@gnu.org>
4867
82ff1d13
GM
4868 * image.el (image-extension-data): Add obsolete alias.
4869
987a0a16
GM
4870 * isearch.el (isearch-update): Doc fix.
4871
ea32ef46
GM
4872 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4873
8ded50f2
GM
4874 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4875
eea14f31
GM
48762012-02-03 Glenn Morris <rgm@gnu.org>
4877
4878 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4879 (image-animate-timeout): Doc fix.
4880
4881 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4882
12f381b7
GM
48832012-02-02 Glenn Morris <rgm@gnu.org>
4884
953cebf5
GM
4885 * server.el (server-auth-dir): Doc fix.
4886 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4887
12f381b7
GM
4888 * subr.el (run-mode-hooks): Doc fix.
4889
953a8c3b
JL
48902012-02-02 Juri Linkov <juri@jurta.org>
4891
4892 * image-mode.el (image-toggle-display-image): Remove tautological
4893 `major-mode' from the `derived-mode-p' test.
4894
c5d3843c
KH
48952012-02-02 Kenichi Handa <handa@m17n.org>
4896
9f6e692e 4897 * composite.el (compose-region): Cancel previous change.
c5d3843c 4898
159462d4 48992012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4900
4901 * composite.el (compose-region, compose-string): Signal error for
4902 a null string component (Bug#6988).
4903
9f562668
CY
49042012-02-01 Chong Yidong <cyd@gnu.org>
4905
e2cef717
CY
4906 * view.el (view-buffer-other-window, view-buffer-other-frame):
4907 Handle special modes like view-buffer (Bug#10650).
4908 (view-buffer): Simplify.
4909
9f562668
CY
4910 * frame.el (set-frame-font): Tweak meaning of third argument.
4911
9f6e692e
JB
4912 * dynamic-setting.el (font-setting-change-default-font):
4913 Use set-frame-font (Bug#9982).
9f562668 4914
781acb9f
GM
49152012-02-01 Glenn Morris <rgm@gnu.org>
4916
6035be52
GM
4917 * progmodes/compile.el (compilation-internal-error-properties):
4918 Respect compilation-first-column in the "*compilation*" buffer.
4919
781acb9f
GM
4920 * emacs-lisp/easy-mmode.el (define-minor-mode):
4921 Relax :variable's test for a named function.
4922
abbceb00
AM
49232012-01-31 Alan Mackenzie <acm@muc.de>
4924
4925 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4926 off by one error.
4927
fce3fdeb
CY
49282012-01-31 Chong Yidong <cyd@gnu.org>
4929
4930 * frame.el (set-frame-font): New arg ALL-FRAMES.
4931
4932 * menu-bar.el (menu-set-font): Use set-frame-font.
4933
4934 * faces.el (face-spec-reset-face): Don't apply unspecified
4935 attribute values to the default face.
4936
47893581
JB
49372012-01-31 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * progmodes/cwarn.el (cwarn): Remove dead link.
4940 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4941 Remove * from defcustom docstrings.
4942 (turn-on-cwarn-mode): Make obsolete.
4943 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4944 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4945
e58e988a
GM
49462012-01-31 Glenn Morris <rgm@gnu.org>
4947
60dc2671 4948 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4949 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4950 Allow named functions to be used as the cdr of :variable.
e58e988a 4951
7a3f511d
GM
49522012-01-30 Glenn Morris <rgm@gnu.org>
4953
4954 * emacs-lisp/authors.el (authors-fixed-entries):
4955 Remove reference to deleted file rnewspost.el.
4956
cb882333
JB
49572012-01-29 Juanma Barranquero <lekktu@gmail.com>
4958
4959 * window.el (window-with-parameter): Remove unused variable `windows'.
4960 (window--side-check): Remove unused variable `code'.
4961 (window--resize-siblings): Remove unused variable `first'.
4962 (adjust-window-trailing-edge): Remove unused variable `failed'.
4963 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4964 Use `let', not `let*'.
4965 (balance-windows-2): Remove unused variable `found'.
4966 (window--state-put-2): Remove unused variable `splits'.
4967 (window-state-put): Remove unused variable `selected'.
4968 (same-window-p): Use `string-match-p'.
4969 (display-buffer-assq-regexp): Remove unused variable `value'.
4970 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4971 Mark argument ALIST as ignored.
4972 (pop-to-buffer): Remove unused variable `old-window'.
4973
907201af
EZ
49742012-01-29 Eli Zaretskii <eliz@gnu.org>
4975
4976 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4977 and .lzma compressed files.
4978
ea162670
CY
49792012-01-29 Chong Yidong <cyd@gnu.org>
4980
5b95ee8a
CY
4981 * frame.el (window-system-default-frame-alist): Doc fix.
4982
ea162670
CY
4983 * dynamic-setting.el (font-setting-change-default-font): Don't
4984 change the default face if SET-FONT argument is non-nil (Bug#9982).
4985
d6e6f4b1
SB
49862012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4987
4988 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4989
0f29fa41 49902012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
4991
4992 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
4993 breakpoints in files outside current directory (Bug#6098).
4994
db174434
CY
49952012-01-29 Chong Yidong <cyd@gnu.org>
4996
6b25e4e2
SE
4997 * progmodes/python.el: Require ansi-color at top-level.
4998
6df6ae42
JB
4999 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5000 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5001 (lisp-mode-abbrev-table): Add doc.
5002 (lisp-mode-variables): Don't set local-abbrev-table.
5003 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5004
e70ee681
RW
50052012-01-28 Roland Winkler <winkler@gnu.org>
5006
5007 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5008
ace88aa2
RW
50092012-01-28 Roland Winkler <winkler@gnu.org>
5010
5011 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5012 (bibtex-set-dialect): Use it. Either set global values of
5013 dialect-dependent variables or bind these variables buffer-locally
5014 (Bug#10254).
5015 (bibtex-mode): Call bibtex-set-dialect via
5016 hack-local-variables-hook.
eb864a71
LM
5017 (bibtex-dialect): Update docstring.
5018 Add safe-local-variable predicate.
ace88aa2
RW
5019 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5020 bibtex-set-dialect.
5021 (bibtex-mode-map): Define menu for each dialect.
5022 (bibtex-entry): Fix docstring.
5023
93376c5b
CY
50242012-01-28 Chong Yidong <cyd@gnu.org>
5025
5026 * eshell/esh-arg.el (eshell-quote-argument): New function.
5027
5028 * eshell/esh-ext.el (eshell-invoke-batch-file):
5029 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5030 first arg to eshell-parse-command (Bug#10523).
5031
4372494f
DA
50322012-01-28 Drew Adams <drew.adams@oracle.com>
5033
5034 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5035 `default-directory' is non-nil.
5036
4d4ec1f8
EZ
50372012-01-28 Eli Zaretskii <eliz@gnu.org>
5038
5039 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5040 line that displays system-configuration-options. (Bug#9924)
5041
7c188927
DA
50422012-01-28 Drew Adams <drew.adams@oracle.com>
5043
5044 * descr-text.el (describe-char): Show information about POS, in
5045 addition to information about the character at POS. Improve and
5046 update the doc string. Change "code point" to "code point in
5047 charset", to avoid confusion with the character's Unicode code
5048 point shown above that. (Bug#10129)
5049
e0da685a
EZ
50502012-01-28 Eli Zaretskii <eliz@gnu.org>
5051
5052 * descr-text.el (describe-char): Show the raw character, not only
5053 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5054 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5055 for the reasons.
5056
70550acf
PH
50572012-01-28 Phil Hagelberg <phil@hagelb.org>
5058
eb864a71
LM
5059 * emacs-lisp/package.el (package-install):
5060 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5061
0ce8e868
CY
50622012-01-28 Chong Yidong <cyd@gnu.org>
5063
cb882333
JB
5064 * emacs-lisp/package.el (package-maybe-load-descriptor):
5065 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5066 (package-maybe-load-descriptor): Use it.
5067 (package-download-transaction): Fully load required packages
5068 inside the loop, so that `require' calls work (Bug#10593).
5069 (package-install): No need to call package-initialize now.
5070
2e7f3bea
CY
50712012-01-28 Chong Yidong <cyd@gnu.org>
5072
6e9bad14
CY
5073 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5074
f823b8ca
CY
5075 * tooltip.el (tooltip-mode): Doc fix.
5076 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5077
2680c309
CY
5078 * frame.el (set-cursor-color): Doc fix (Bug#352).
5079
d7a9e63b
CY
5080 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5081 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5082
2e7f3bea
CY
5083 * cus-edit.el (custom-buffer-create-internal): Fix search button
5084 action (Bug#10542).
2ae01800 5085 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5086
fc4f7a23
EW
50872012-01-27 Eduard Wiebe <usenet@pusto.de>
5088
5089 * dired.el (dired-mark-files-regexp):
5090 Include any subdirectory components. (Bug#10445)
5091
7dd37071
ML
50922012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5093
5094 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5095 Handle [host]:port syntax. (Bug#10533)
5096
a268160b
AH
50972012-01-27 Alex Harsanyi <harsanyi@mac.com>
5098
5099 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5100
e43273ef
GM
51012012-01-26 Glenn Morris <rgm@gnu.org>
5102
5103 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5104 * term.el (term-raw-escape-map): Use Control-X-prefix.
5105 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5106
1edf595d
MR
51072012-01-25 Martin Rudalics <rudalics@gmx.at>
5108
5109 * window.el (window-state-get, window--state-get-1): Don't deal
5110 with fixed-sizeness of windows. Simplify code.
5111
fa8eafef
JC
51122012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5113
6df6ae42
JB
5114 * window.el (window--state-get-1, window--state-put-2):
5115 Don't save and restore the mark.
fa8eafef 5116
0b21c100
CY
51172012-01-25 Chong Yidong <cyd@gnu.org>
5118
5119 * custom.el (custom-variable-p): Doc fix.
5120
5ae1a6c8
GM
51212012-01-25 Glenn Morris <rgm@gnu.org>
5122
40047858
GM
5123 * dired.el (dired-goto-file): Handle some of the more common
5124 characters that `ls -b' escapes. (Bug#10596)
5125
5ddce96c
GM
5126 * progmodes/compile.el (compilation-next-error-function):
5127 Respect compilation-first-column in the "*compilation*" buffer.
5128 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5129
5ae1a6c8
GM
5130 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5131
b559f1a9
GM
51322012-01-24 Glenn Morris <rgm@gnu.org>
5133
5134 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5135
6725d21a
JD
51362012-01-24 Julien Danjou <julien@danjou.info>
5137
5138 * color.el (color-rgb-to-hsl): Fix value computing.
5139 (color-hue-to-rgb): New function.
5140 (color-hsl-to-rgb): New function.
5141 (color-clamp, color-saturate-hsl, color-saturate-name)
5142 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5143 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5144
70df4bbe
GM
51452012-01-24 Glenn Morris <rgm@gnu.org>
5146
5147 * vc/vc-rcs.el (vc-rcs-create-tag):
5148 * vc/vc-sccs.el (vc-sccs-create-tag):
5149 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5150
802a2ae2
ML
51512012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5152
5153 * eshell/esh-util.el (eshell-read-hosts-file):
5154 Skip comment lines. (Bug#10549)
5155
d7128bb1
ML
5156 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5157
d1a5c3b4
JB
51582012-01-23 Juanma Barranquero <lekktu@gmail.com>
5159
2724d9c7
JB
5160 * subr.el (display-delayed-warnings): Doc fix.
5161 (collapse-delayed-warnings): New function to collapse identical
5162 adjacent warnings.
5163 (delayed-warnings-hook): Add it.
d1a5c3b4 5164
a5509865
MA
51652012-01-22 Michael Albinus <michael.albinus@gmx.de>
5166
5167 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5168
a5509865
MA
5169 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5170 (tramp-default-user-alist): Don't add "pscp".
5171 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5172 property "login-as", if set. (Bug#10530)
5173
cc6d5805
MA
51742012-01-21 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5177 "plink1" and "psftp". (Bug#10530)
5178
51792012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5180
5181 * international/mule-cmds.el (prefer-coding-system): Show a
5182 warning message if the default value of file-name-coding-system
5183 was not changed.
5184
f0960428
JC
51852012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5186
cb882333
JB
5187 * windmove.el (windmove-reference-loc):
5188 Fix windmove-reference-loc miscalculation.
f0960428 5189
dd6f2a63
JB
51902012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5191
5192 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5193 default unit.
5194
7b447e9b
GM
51952012-01-21 Glenn Morris <rgm@gnu.org>
5196
117a9ea1
GM
5197 * international/mule.el (auto-coding-alist): Add .tbz.
5198
7b447e9b
GM
5199 * files.el (local-enable-local-variables): Doc fix.
5200 (inhibit-local-variables-regexps): Rename from
5201 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5202 Doc fix. Add some extensions from auto-coding-alist.
5203 (inhibit-local-variables-suffixes):
5204 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5205 (inhibit-local-variables-p):
5206 New function, extracted from set-auto-mode-1.
5207 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5208 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5209 (hack-local-variables): Doc fix. Make the mode-only case
5210 respect enable-local-variables and friends.
5211 Respect inhibit-local-variables-regexps for file-locals, but
5212 not for directory-locals.
5213 (set-visited-file-name):
5214 Take account of inhibit-local-variables-regexps.
5215 Whether it applies may change as the file name is changed.
5216 * jka-cmpr-hook.el (jka-compr-install):
5217 * jka-compr.el (jka-compr-uninstall):
5218 Update for inhibit-first-line-modes-suffixes name change.
5219
dd6e3cdd
MR
52202012-01-20 Martin Rudalics <rudalics@gmx.at>
5221
5222 * help-macro.el (make-help-screen): Temporarily restore original
5223 binding for minor-mode-map-alist (Bug#10454).
5224
0d0deb38
JD
52252012-01-19 Julien Danjou <julien@danjou.info>
5226
5227 * color.el (color-name-to-rgb): Use the white color to find the max
5228 color component value and return correctly computed values.
5229 (color-name-to-rgb): Add missing float conversion for max value.
5230
34a02f46
MR
52312012-01-19 Martin Rudalics <rudalics@gmx.at>
5232
5233 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5234 special state value for window-persistent-parameters.
5235 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5236 (window--state-put-2): Reset all window parameters to nil before
5237 assigning values of persistent parameters.
5238
606c44c4
AM
52392012-01-18 Alan Mackenzie <acm@muc.de>
5240
5241 Eliminate sluggishness and hangs in fontification of "semicolon
5242 deserts".
5243
cb882333
JB
5244 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5245 Change value 10000 -> 3000.
606c44c4
AM
5246 (c-state-safe-place): Reformulate so it doesn't stack up an
5247 infinite number of wrong entries in c-state-nonlit-pos-cache.
5248 (c-determine-limit-get-base, c-determine-limit): New functions to
5249 determine backward search limits disregarding literals.
5250 (c-find-decl-spots): Amend commenting.
5251 (c-cheap-inside-bracelist-p): New function which detects "={".
5252
5253 * progmodes/cc-fonts.el
5254 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5255 backward search.
5256 (c-font-lock-declarations): Fix an occurrence of point being
5257 undefined. Check additionally for point being in a bracelist or
5258 near a macro invocation without a semicolon so as to avoid a
5259 fruitless time consuming search for a declarator. Give a more
5260 precise search limit for declarators using the new
5261 c-determine-limit.
5262
f3860cea
GM
52632012-01-18 Glenn Morris <rgm@gnu.org>
5264
5265 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5266 (set-auto-mode): Doc fixes.
5267
1db03b16
GM
52682012-01-17 Glenn Morris <rgm@gnu.org>
5269
0e6038be
GM
5270 * isearch.el (search-nonincremental-instead): Fix doc typo.
5271
1db03b16
GM
5272 * dired.el (dired-insert-directory): Handle newlines in directory name.
5273 (dired-build-subdir-alist): Unescape newlines in directory name.
5274
4cb0aa75
MA
52752012-01-17 Michael Albinus <michael.albinus@gmx.de>
5276
5277 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5278 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5279 (tramp-action-terminal): Use it. (Bug#10530)
5280
1d00653d
SM
52812012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5282
5283 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5284
6a6ee00d
MR
52852012-01-16 Martin Rudalics <rudalics@gmx.at>
5286
5287 * window.el (window-state-ignored-parameters): Remove variable.
5288 (window--state-get-1): Rename argument MARKERS to IGNORE.
5289 Handle persistent window parameters. Make copy of clone-of
5290 parameter only if requested. (Bug#10348)
5291 (window--state-put-2): Install a window parameter only if it has
5292 a non-nil value or an existing parameter shall be overwritten.
5293
97912def
MA
52942012-01-15 Michael Albinus <michael.albinus@gmx.de>
5295
5296 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5297
688070a5
EZ
52982012-01-14 Eli Zaretskii <eliz@gnu.org>
5299
5300 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5301 don't pass the (nil) value of `upnode' to string-match.
5302
301afadc
CY
53032012-01-14 Chong Yidong <cyd@gnu.org>
5304
5305 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5306 Fix values recognized by the cursorBlink resource.
301afadc 5307
9e5788aa
PE
53082012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5309
5310 * epg.el (epg--make-temp-file): Avoid permission race condition
5311 when running on old Emacs versions (bug#10403).
5312
3cdb7f5a
GM
53132012-01-14 Glenn Morris <rgm@gnu.org>
5314
5315 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5316
8c82b1b4
AM
53172012-01-13 Alan Mackenzie <acm@muc.de>
5318
5319 Fix filling for when filladapt mode is enabled.
5320
5321 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5322 c-mask-paragraph, pass in `fill-paragraph' rather than
5323 `fill-region-as-paragraph'. (This is a reversion of a previous
5324 change.)
eb864a71
LM
5325 * progmodes/cc-mode.el (c-basic-common-init):
5326 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5327
e517eda4
GM
53282012-01-13 Glenn Morris <rgm@gnu.org>
5329
1498536e
GM
5330 * dired.el (dired-switches-escape-p): New function.
5331 (dired-insert-directory): Use dired-switches-escape-p.
5332 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5333
e517eda4
GM
5334 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5335
328f984d
GM
53362012-01-12 Glenn Morris <rgm@gnu.org>
5337
5338 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5339 changes in adaptive-fill-regexp. (Bug#10276)
5340
2cc769a8
AM
53412012-01-11 Alan Mackenzie <acm@muc.de>
5342
5343 Fix Emacs bug #10463 - put `widen's around the critical spots.
5344
1d00653d 5345 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5346 widen around each invocation of c-state-pp-to-literal. Remove an
5347 unused let variable.
5348
e52c37fa
GM
53492012-01-11 Glenn Morris <rgm@gnu.org>
5350
5351 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5352 Doc fix.
e52c37fa 5353
96f8741e
CY
53542012-01-10 Chong Yidong <cyd@gnu.org>
5355
1d00653d
SM
5356 * net/network-stream.el (network-stream-open-starttls):
5357 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5358 response to the capability command.
5359
b09a806e
GM
53602012-01-10 Glenn Morris <rgm@gnu.org>
5361
5362 * mail/unrmail.el (unrmail): Tweak previous change.
5363
7655cb66
CY
53642012-01-09 Chong Yidong <cyd@gnu.org>
5365
5366 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5367
9d5a8f0b
AM
53682012-01-08 Alan Mackenzie <acm@muc.de>
5369
5370 Optimise font locking in long enum definitions.
5371
5372 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5373 arm to a cond form to handle enums.
5374 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5375 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5376
9a0115ab 53772012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5378
5379 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5380 (Bug#10401)
6bb72cbd 5381
f186bb95
LMI
53822012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5383
29232a68
LMI
5384 * faces.el (set-face-attribute): Clarify the meaning of the nil
5385 frame (bug#10294).
5386
4e5d086d
LMI
5387 * subr.el (with-selected-frame): Mention that the selected frame
5388 is restored (bug#9980).
5389
8e66aebe
LMI
5390 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5391 (bug#9759).
5392
cd394be1 5393 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5394 (password-read): Don't autoload unused function.
5395
adf4e762
JB
53962012-01-07 Juanma Barranquero <lekktu@gmail.com>
5397
5398 * progmodes/which-func.el (which-func-mode): Turn into a
5399 non-interactive function and mark as obsolete (bug#10428).
5400
89bd9ccd
CY
54012012-01-06 Chong Yidong <cyd@gnu.org>
5402
5403 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5404 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5405 functions, along with 1 and -1.
5406
4afee9d5
EZ
54072012-01-06 Eli Zaretskii <eliz@gnu.org>
5408
5409 * time.el (display-time-load-average)
5410 (display-time-default-load-average): Doc fixes. See the thread
5411 starting at
5412 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5413 for the details.
5414
536aea70
GM
54152012-01-06 Glenn Morris <rgm@gnu.org>
5416
665ae865
GM
5417 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5418 has no messages. (Bug#10377)
5419
c869783d
GM
5420 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5421 than Info-edit. (Bug#10385)
5422
2bb4227e
GM
5423 * time.el (display-time-load-average, display-time-next-load-average):
5424 Doc fixes.
5425
7d5944b9
GM
5426 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5427 local setting of buffer-read-only to the input buffer. (Bug#10419)
5428
536aea70
GM
5429 * calendar/calendar.el (calendar-mode):
5430 Locally set scroll-margin to 0. (Bug#10379)
5431
7dccca16
UM
54322012-01-06 Ulrich Mueller <ulm@gentoo.org>
5433
5434 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5435
afbb7930
GM
54362012-01-05 Glenn Morris <rgm@gnu.org>
5437
5438 * eshell/em-unix.el (diff-no-select): Autoload it.
5439 (eshell/diff): Use diff-no-select. (Bug#10420)
5440
04482335
CY
54412012-01-05 Chong Yidong <cyd@gnu.org>
5442
7baca3bc
CY
5443 * shell.el (shell-dynamic-complete-functions): Revert last change.
5444 (shell-command-completion-function): New function.
5445 (shell-completion-vars): Use it to implement
5446 shell-completion-execonly (Bug#10417).
5447
04482335
CY
5448 * custom.el (enable-theme): Don't set custom-safe-themes.
5449
1d00653d
SM
5450 * cus-theme.el (custom-theme-merge-theme):
5451 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5452
bb5aa5d6
MM
54532012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5454
5455 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5456 first prompt in `sql-interacive-mode'.
5457 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5458 keywords.
6df6ae42 5459 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5460 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5461 context of original buffer. Invoke `sql-login-hook'.
5462
a7183d7c
EZ
54632012-01-04 Eli Zaretskii <eliz@gnu.org>
5464
5465 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5466 letters in cite-prefix.
5467
a1eacd1e
LMI
54682012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5469
5470 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5471
787cdb34
CY
54722012-01-03 Chong Yidong <cyd@gnu.org>
5473
1d00653d
SM
5474 * shell.el (shell-dynamic-complete-functions):
5475 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5476 comint-filename-completion first (Bug#10417).
5477
30710442
RS
54782012-01-02 Richard Stallman <rms@gnu.org>
5479
5480 * battery.el (battery-status-function):
5481 Detect when to use battery-yeeloong-sysfs.
5482 (battery-echo-area-format): Add string for Yeeloong.
5483 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5484 (battery-yeeloong-sysfs): New function.
5485
f75bfc33
CY
54862012-01-02 Chong Yidong <cyd@gnu.org>
5487
5488 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5489 (dirtrack): Merge code for handling relative filenames in prompt
5490 from shell-dir-cookie-watcher.
5491 (dirtrack-debug-message): New arg to avoid excess format calls.
5492
5493 * shell.el (shell-dir-cookie-re): Variable deleted.
5494 (shell-dir-cookie-watcher): Function deleted.
5495 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5496 with dirtrack-mode.
5497
651e947e
EZ
54982012-01-01 Eli Zaretskii <eliz@gnu.org>
5499
1d00653d
SM
5500 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5501 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5502 libgnutls-26.dll.
5503
94d4c7dc
AS
55042011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5505
5506 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5507
8d43f3cd
EZ
55082011-12-31 Eli Zaretskii <eliz@gnu.org>
5509
5510 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5511 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5512
98c8795a
MA
55132011-12-29 Michael Albinus <michael.albinus@gmx.de>
5514
5515 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5516 also for alternative shells.
5517 (tramp-open-connection-setup-interactive-shell): Check, whether
5518 the shell is a busybox.
5519 (tramp-send-command): Don't suppress multiple prompts for
5520 busyboxes, it hurts.
5521
51281b32
CY
55222011-12-28 Chong Yidong <cyd@gnu.org>
5523
5524 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5525 (gdb-get-source-file): Move mode line update to
5526 gdb-get-source-file (Bug#10087).
5527
2170cb53
CY
55282011-12-25 Chong Yidong <cyd@gnu.org>
5529
5530 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5531 gud-gdb-marker-filter without taking it as an argument.
5532 (gud-gdb-run-command-fetch-lines): Caller changed.
5533 (gud-gdb-completion-function): New variable.
5534 (gud-gdb-completion-at-point): Use it.
5535 (gud-gdb-completions-1): Split from gud-gdb-completions.
5536
5537 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5538 function as separate arguments.
5539 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5540 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5541 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5542 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5543 (gdb-stopped, def-gdb-auto-update-trigger)
5544 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5545 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5546 Callers changed.
2170cb53
CY
5547 (gud-gdbmi-completions): New function.
5548 (gdb): Use it for generating the completion table.
5549
be8b11bb
AM
55502011-12-24 Alan Mackenzie <acm@muc.de>
5551
5552 Introduce a mechanism to widen the region used in context font
1d00653d 5553 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5554
1d00653d
SM
5555 * progmodes/cc-langs.el (c-before-font-lock-functions):
5556 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5557 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5558 functions to be run just before context (etc.) font locking.
5559
5560 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5561 New, functionality extracted from
be8b11bb 5562 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5563 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5564 (c-after-change): Set c-in-after-change-fontification.
5565 (c-set-fl-decl-start): Rejig its interface, so it can be called
5566 from both after-change and context fontifying.
b81d40f0
JB
5567 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5568 New functions.
5569 (c-standard-font-lock-fontify-region-function): New variable.
5570 (c-font-lock-fontify-region): New function.
be8b11bb 5571
341cf6ac
JL
55722011-12-24 Juri Linkov <juri@jurta.org>
5573
5574 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5575 (Bug#10348)
5576
bffcee0a
MA
55772011-12-23 Michael Albinus <michael.albinus@gmx.de>
5578
5579 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5580 existence of source file. (Bug#10325)
5581
cb5e207c
AM
55822011-12-23 Alan Mackenzie <acm@muc.de>
5583
5584 Fix unstable fontification inside templates.
5585
b81d40f0
JB
5586 * progmodes/cc-langs.el (c-before-font-lock-functions):
5587 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5588 additionally has c-set-fl-decl-start. The other languages (apart
5589 from AWK) have that as a single entry.
5590
b81d40f0
JB
5591 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5592 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5593 c-set-fl-decl-start.
5594
b81d40f0
JB
5595 * progmodes/cc-mode.el (c-common-init, c-after-change):
5596 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5597 (c-set-fl-decl-start): New function, extracted from
5598 c-font-lock-enclosing-decls and enhanced.
5599
60ff536c
JB
56002011-12-23 Juanma Barranquero <lekktu@gmail.com>
5601
5602 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5603
1c4757d6
JL
56042011-12-22 Juri Linkov <juri@jurta.org>
5605
5606 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5607
d031f2c7
CY
56082011-12-22 Chong Yidong <cyd@gnu.org>
5609
5610 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5611
bace743a
DA
56122011-12-21 Drew Adams <drew.adams@oracle.com>
5613
5614 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5615
728a1f2b
JC
56162011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5617
5618 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5619
0d373f73
TZ
56202011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5621
fec0aaa4
TZ
5622 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5623 highlighting and support. Fix up comments for capitalization.
5624 (cfengine-mode-debug): New var.
5625 (cfengine3-mode): Change the modeline indicator to "CFE3".
5626 (cfengine3-font-lock-keywords): Improve defun highlighting.
5627 (cfengine2-actions): Rename from `cfengine-actions'.
5628 (cfengine2-font-lock-keywords): Rename from
5629 `cfengine-font-lock-keywords'.
5630 (cfengine2-imenu-expression): Rename from
5631 `cfengine-imenu-expression'.
5632 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5633 (cfengine2-beginning-of-defun): Rename from
5634 `cfengine-beginning-of-defun'.
5635 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5636 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5637 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5638 modeline indicator to "CFE2".
5639 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5640 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5641
bc86f573
CY
56422011-12-21 Chong Yidong <cyd@gnu.org>
5643
5644 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5645 filename argument.
5646
d45ba96b
MR
56472011-12-20 Martin Rudalics <rudalics@gmx.at>
5648
5649 * window.el (window-normalize-buffer-to-display): Remove.
5650 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5651
a6198c90
CY
56522011-12-19 Chong Yidong <cyd@gnu.org>
5653
5654 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5655 Don't signal an error in a predicate function; return non-nil.
5656 (vc-dir-mark-file): Move the error here.
5657 (vc-dir-mark-unmark): If acting on the region, keep going if one
5658 of the entries cannot be marked/unmarked.
5659 (vc-dir-mark-all-files): If current entry is a directory, mark
5660 only child files, as documented.
5661
34c5fb55
VB
56622011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5663
5664 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5665 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5666 addition.
5667
c803b2b7
JD
56682011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5669
5670 * term/ns-win.el (ns-get-selection-internal)
5671 (ns-store-selection-internal): Declare.
1154d12e
JB
5672 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5673 Declare as obsolete.
5674 (ns-get-pasteboard, ns-paste-secondary):
5675 Use ns-get-selection-internal.
5676 (ns-set-pasteboard, ns-copy-including-secondary):
5677 Use ns-store-selection-internal.
c803b2b7 5678
9cff91f8 56792011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5680
5681 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5682 (vc-deduce-fileset): Doc fix.
99a289d9 5683
f16c898a
AS
56842011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5685
5686 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5687
763237c4
SS
56882011-12-13 Sam Steingold <sds@gnu.org>
5689
5690 * man.el (Man-getpage-in-background): When running under a
5691 window-system, ignore $MANWIDTH and $COLUMNS.
5692
5fc1c122
KH
56932011-12-15 Kenichi Handa <handa@m17n.org>
5694
5695 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5696 (setup-ethiopic-environment-internal): Comment out key-binding for
5697 ethio-toggle-punctuation.
5698
13d49cbb
AM
56992011-12-13 Alan Mackenzie <acm@muc.de>
5700
898169a2
AM
5701 Add the switch statement to AWK Mode.
5702
7a71b18d 5703 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5704 "default" to the keywords regexp.
5705
7a71b18d 5706 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5707 expression as the rest.
1d00653d
SM
5708 (c-nonlabel-token-key): Allow string literals for AWK.
5709 Refactor for the other modes.
898169a2 5710
13d49cbb 5711 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5712 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5713 routines. Limit backward searching in c-font-lock-enclosing.decl.
5714
5715 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5716 pp-state and literal type in addition to the limits.
1d00653d 5717 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5718 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5719 (c-slow-in-literal, c-fast-in-literal): Remove.
5720 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5721
5722 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5723 being in a literal. Add a limit for backward searching.
5724
5725 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5726 c-slow-in-literal.
5727
15e0efc7
SM
57282011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5731
454592a6
MR
57322011-12-13 Martin Rudalics <rudalics@gmx.at>
5733
5734 * window.el (delete-other-windows): Use correct frame in call to
5735 window-with-parameter.
5736
87393f26
DP
57372011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5738
5739 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5740 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5741 (makefile-gmake-statements, makefile-makepp-statements):
5742 Use it and add new makepp keywords.
5743 (makefile-makepp-font-lock-keywords): Add new patterns.
5744 (makefile-match-function-end): Match new [...] and [[...]].
5745
11636b22
JB
57462011-12-11 Juanma Barranquero <lekktu@gmail.com>
5747
5748 * ses.el (ses-call-printer-return, ses-cell-property-get)
5749 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5750 (ses-create-cell-variable, ses-reset-header-string)
5751 (ses-cell-set-formula, ses-repair-cell-reference-all)
5752 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5753 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5754 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5755 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5756 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5757 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5758 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5759 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5760 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5761 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5762 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5763 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5764
cf018193
VB
57652011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5766
5767 * ses.el: The overall change is to add cell renaming, that is
5768 setting fancy names for cell symbols other than name matching
5769 "\\`[A-Z]+[0-9]+\\'" regexp .
5770 (ses-create-cell-variable): New defun.
5771 (ses-relocate-formula): Relocate formulas only for cells the
5772 symbols of which are not renamed, i.e. symbols whose names do not
5773 match regexp "\\`[A-Z]+[0-9]+\\'".
5774 (ses-relocate-all): Relocate values only for cells the symbols of
5775 which are not renamed.
5776 (ses-load): Create cells variables as the (ses-cell ...) are read,
5777 in order to check row col consistency with cell symbol name only
5778 for cells that are not renamed.
5779 (ses-replace-name-in-formula): New defun.
5780 (ses-rename-cell): New defun.
5781
ee957461
CY
57822011-12-11 Chong Yidong <cyd@gnu.org>
5783
5784 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5785 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5786
9a9e9ef0
MR
57872011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5788
5789 * window.el (other-window): Fix docstring.
5790
92a8eba5
EZ
57912011-12-10 Eli Zaretskii <eliz@gnu.org>
5792
5793 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5794 `from' or `to' address before taking its substring.
5795 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5796 encoded name is chopped in the middle of the encoded string, and
5797 thus displayed encoded.
5798
e152e577
JB
57992011-12-10 Juanma Barranquero <lekktu@gmail.com>
5800
5801 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5802
e5d84bfe
EZ
58032011-12-10 Eli Zaretskii <eliz@gnu.org>
5804
5805 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5806 to use texinfo-update-node and commands that call it if the
5807 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5808 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5809 (texinfo-all-menus-update, texinfo-master-menu)
5810 (texinfo-update-node, texinfo-every-node-update)
5811 (texinfo-multiple-files-update): Doc fix. Warn against updating
5812 all the @node lines.
5813 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5814 argument is numeric. Explain better in the doc string what the
5815 function really does.
5816 (texinfo-insert-master-menu-list): Improve the error message
5817 displayed if there's no menu in the Top node.
5818 (Bug#2975) See also this thread:
e5d84bfe
EZ
5819 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5820
1d84e9bb
MG
58212011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5822
5823 * speedbar.el (speedbar-supported-extension-expressions):
5824 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5825
382c953b
JB
58262011-12-09 Juanma Barranquero <lekktu@gmail.com>
5827
5828 * printing.el (pr-mode-alist):
5829 * simple.el (filter-buffer-substring-functions)
5830 (completion-list-insert-choice-function):
5831 * window.el (window-with-parameter, window-atom-root)
5832 (window-sides-slots, window-size-fixed, window-min-delta)
5833 (window-max-delta, window--resize-mini-window)
5834 (window--resize-child-windows-normal, window-tree)
5835 (delete-other-windows, quit-window, split-window)
5836 (display-buffer-record-window, special-display-buffer-names)
5837 (special-display-regexps, special-display-popup-frame)
5838 (same-window-p, split-window-sensibly)
5839 (display-buffer-overriding-action, display-buffer-alist)
5840 (display-buffer-base-action, display-buffer, switch-to-buffer)
5841 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5842 (fit-window-to-buffer, recenter-positions)
5843 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5844 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5845 and remove unneeded backslashes in docstrings.
5846
39c9faef
SM
58472011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5848
98449af8
SM
5849 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5850
39c9faef
SM
5851 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5852 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5853 end in ".mk".
5854 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5855 when reading the makefile (bug#10116).
5856
86ed9fdc
SM
58572011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5860 (bug#10116).
5861
5580f89d
GM
58622011-12-06 Glenn Morris <rgm@gnu.org>
5863
5864 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5865
28d3917c
CY
58662011-12-06 Chong Yidong <cyd@gnu.org>
5867
5868 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5869
a98edce9
JB
58702011-12-06 Juanma Barranquero <lekktu@gmail.com>
5871
5872 * textmodes/table.el (table-shorten-cell): Fix typo.
5873
e65adfac
CG
58742011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5875
5876 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5877
71cc0b74
EZ
58782011-12-05 Eli Zaretskii <eliz@gnu.org>
5879
5880 * descr-text.el (describe-char): Fix display of strong
5881 right-to-left characters and directional embeddings and overrides.
5882
5883 * simple.el (what-cursor-position): Fix display of codepoints of
5884 strong right-to-left characters.
5885
315bc30d
CY
58862011-12-05 Chong Yidong <cyd@gnu.org>
5887
5888 * faces.el (read-color): Doc fix.
5889
58a70b94
GM
58902011-12-05 Glenn Morris <rgm@gnu.org>
5891
5892 * align.el (align--set-marker): Add doc-string.
5893 Don't try to move something that is not a marker. (Bug#10216)
5894
5158face
GM
58952011-12-04 Glenn Morris <rgm@gnu.org>
5896
5897 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5898 overly zealous deletion of trailing whitespace.
5899
520fca41
JB
59002011-12-04 Juanma Barranquero <lekktu@gmail.com>
5901
5902 * server.el (server-delete-client): On Windows, do not try to delete
5903 the only terminal.
5904 (server-process-filter): On Windows, treat requests for a tty frame as
5905 if they were for a GUI frame if the running server is in GUI mode.
5906
5e605a2e
GM
59072011-12-03 Glenn Morris <rgm@gnu.org>
5908
5909 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5910
5c3fe83f
SM
59112011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5912
6f5e57e7
SM
5913 * electric.el: Streamline electric-indent's hook.
5914 (electric-indent-chars): Revert to simple list.
5915 (electric-indent-functions): New var.
5916 (electric-indent-post-self-insert-function): Use it.
5917
5c3fe83f
SM
5918 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5919 there's no inferior buffer (bug#10196).
5920 (prolog-consult-compile): Don't use toggle-read-only.
5921
6bdac736
MA
59222011-12-02 Michael Albinus <michael.albinus@gmx.de>
5923
5924 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5925 interrupt. (Bug#10187)
5926
6131ba7f
SM
59272011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5928
99c79fee
SM
5929 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5930 (bug#9160).
5931
6131ba7f
SM
5932 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5933 (bug#10191).
5934
cb0a02ea
JL
59352011-12-02 Juri Linkov <juri@jurta.org>
5936
5937 * info.el (Info-search): Display "end of manual" when Isearch
5938 reaches the end of single-file Info manual. (Bug#9918)
5939
66e0570c
EZ
59402011-12-02 Eli Zaretskii <eliz@gnu.org>
5941
5942 * isearch.el (isearch-message-prefix): Run the input method part
5943 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5944
02b16839
JL
59452011-12-02 Juri Linkov <juri@jurta.org>
5946
5947 * isearch.el (isearch-occur): Use `word-search-regexp' for
5948 `isearch-word'.
5949 (isearch-search-and-update): Add condition for `isearch-word' and
5950 call `word-search-regexp'. (Bug#10145)
5951
0b950688
GM
59522011-12-01 Glenn Morris <rgm@gnu.org>
5953
5954 * eshell/em-hist.el (eshell-hist-initialize):
5955 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5956 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5957
9505c3c7
SM
59582011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5959
5960 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5961
1bbe96b2 59622011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5963
a1beca85
SM
5964 * progmodes/verilog-mode.el (verilog-pretty-expr):
5965 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5966 verilog, such as += *= and the like.
5967 (verilog-assignment-operator-re): Regular expression to find the
5968 assigment operator in a verilog assignment.
5969 (verilog-assignment-operation-re): Regular expression to find an
5970 assignment statement for pretty-expr.
5971 (verilog-in-attribute-p): Query returns true if point is in an
5972 attribute context; used to skip these for expression line up from
5973 pretty-expr.
5974 (verilog-in-parameter-p): Query returns true if point is in an
5975 parameter definition context; used to skip these for expression
5976 line up from pretty-expr.
5977 (verilog-in-parenthesis-p): Query returns true if point is in a
5978 parenthetical expression, specifically ( ) but not [ ] or { };
5979 used by pretty-expr.
5980 (verilog-just-one-space): If there is no space, don't add one.
5981 (verilog-get-lineup-indent-2): Specifically skip just attribute
5982 contexts for expression lineup, rather than skipping all
5983 parenthetical expressions.
5984 (verilog-calculate-indent): Fix comment, and fix indent.
5985 (verilog-do-indent): Indent declarations in lists (suggested by
5986 Joachim Lechner).
5987 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5988 skeleton items.
5989 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5990 by Alain Mellan).
5991
1bbe96b2 59922011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
5993
5994 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
5995 parameters with embedded comments. Reported by Ray Stevens.
5996 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
5997 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
5998 Reported by Tim Holt.
5999 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6000 instantiated by upper module causing wrong expansion until AUTOed a
6001 second time. Reported by K C Buckenmaier.
6002 (verilog-diff-auto): Fix showing .* as a difference when
6003 `verilog-auto-star-save' off. Reported by Dan Dever.
6004 (verilog-auto-reset, verilog-read-always-signals)
6005 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6006 temporary signals in reset list if
6007 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6008 style to each signal's assignment type, bug381.
6009 Reported by Thomas Esposito.
6288f0ca
WS
6010 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6011 (verilog-uvm-statement-re): Support UVM indentation and
6012 highlighting, with old OVM keywords only.
a1beca85 6013 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6014 Support AUTOTIEOFF creating non-wire data types.
6015 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6016 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6017 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6018 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6019 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6020 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6021 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6022 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6023 non-numeric vector width. Reported by Alex Reed.
6024 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6025 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6026 (verilog-auto-delete-trailing-whitespace):
6027 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6028 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6029 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6030 Fix verilog-scan-cache corruption when running user AUTO expansion
6031 hooks that call indentation routines.
6032 (verilog-simplify-range-expression): Fix typo ignoring lower case
6033 identifiers.
6034 (verilog-delete-auto): Fix delete-autos to also remove user created
6035 automatics, as long as they start with AUTO.
6036 (verilog-batch-diff-auto, verilog-diff-auto)
6037 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6038 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6039 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6040 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6041 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6042 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6043 is disabled and its cache will get corrupt, causing AUTOS not to
6044 expand. Instead use only -quick functions.
6045 (verilog-scan-region): Fix scanning over escaped quotes.
6046 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6047 (verilog-re-search-backward-quick)
6048 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6049 related functions now ignore strings, to fix misparsing of strings
6050 with magic comments embedded in them.
a1beca85
SM
6051 (verilog-read-auto-template):
6052 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6053 Reported by Brad Dobbie.
6054 (verilog-read-auto-template):
6055 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6056 Reported by Brad Dobbie.
6288f0ca
WS
6057 (verilog-auto-inst, verilog-auto-inst-param)
6058 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6059 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6060 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6061 debugging templates without merge conflicts, bug357.
6062 Reported by Brad Dobbie.
6063 (verilog-read-auto-template):
6064 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6065 Reported by Brad Dobbie.
6066 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6067 abbrevs so user won't be asked to save.
6068 (verilog-read-auto-lisp-present): Fix to start at beginning of
6069 buffer in case called outside of verilog-auto.
6070 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6071 to "X-2". Reported by Matthew Myers.
6072 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6073 all inputs from module templates. Reported by Leith Johnson.
6074 (verilog-module-inside-filename-p): Fix locating programs as with
6075 modules.
6076 (verilog-auto-inst-port): Fix vl-width expressions when using
6077 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6078 (verilog-decls-get-regs, verilog-decls-get-signals,
6079 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6080 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6081 verilog-read-decls): Combine reg and wire structures into one var
6082 structure to represent SystemVerilog concepts.
6083 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6084 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6085 (verilog-auto-wire-type, verilog-insert-definition):
6086 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6087 SystemVerilog "logic" keyword instead of "wire"/"reg".
6088 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6089 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6090 ifdef or generate if so there's not a driver conflict).
6091 Reported by Matthew Myers.
6092 (verilog-auto-declare-nettype, verilog-insert-definition):
6093 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6094 `default_nettype none. Reported by Julian Gorfajn.
6095 (verilog-read-always-signals-recurse, verilog-read-decls)
6096 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6097 malformed end statement, bug325. Reported by Joshua Wise and
6098 Andrew Drake.
6099 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6100 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6101 when expanding .* in interfaces, bug320.
6102 Reported by Pierre-David Pfister.
6288f0ca 6103 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6104 name and open parenthesis, bug317.
6105 Reported by Pierre-David Pfister.
6288f0ca
WS
6106 (verilog-simplify-range-expression): Fix simplification of
6107 multiplications inside AUTOWIRE connections, bug303.
6108 (verilog-auto-inst-port): Support parameter expansion in
6109 multidimensional arrays.
6110 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6111 after "assert property". Reported by Julian Gorfajn.
6112 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6113 with multiplication, bug303.
6114 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6115 Reported by Jan Frode Lonnum.
6116
1bbe96b2
GM
61172011-11-30 Juanma Barranquero <lekktu@gmail.com>
6118
6119 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6120 (hfy-shell-file-name, hfy-shell):
6121 * international/fontset.el (x-decompose-font-name): Fix typos.
6122
61232011-11-29 Ken Brown <kbrown@cornell.edu>
6124
6125 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6126 (gdb-version): Remove defvar.
6127 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6128 (gdb-gud-context-command, gdb-non-stop-handler)
6129 (gdb-current-context-command, gdb-stopped): Use it.
6130 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6131 (gdb-non-stop-handler): Don't enable pretty-printing here.
6132 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6133 non-stop mode. Use the following.
6134 (gdb-check-target-async): New defun.
6135 (gud-watch, gdb-stopped): Fix whitespace.
6136 (gdb-get-source-file): Don't try to display the source file if
6137 `gdb-main-file' is nil.
6138
61392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6140
6141 * align.el: Try to generate fewer markers (bug#10047).
6142 (align--set-marker): New macro.
6143 (align-region): Use it.
6144
c935221f
SM
61452011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6146
6147 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6148
e70b5064
CY
61492011-11-29 Chong Yidong <cyd@gnu.org>
6150
6151 * indent.el (indent-for-tab-command, indent-according-to-mode):
6152 Doc fix.
6153 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6154
f3af92b7
MA
61552011-11-29 Michael Albinus <michael.albinus@gmx.de>
6156
6157 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6158 aware of remote file names. (Bug#10124)
6159
ed472be9
CY
61602011-11-29 Chong Yidong <cyd@gnu.org>
6161
6162 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6163
24510c22
SM
61642011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * files.el (find-file): Don't use force-same-window (bug#10144).
6167 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6168 use pop-to-buffer if the selected window can't be used.
6169 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6170
c60c3703
EZ
61712011-11-28 Eli Zaretskii <eliz@gnu.org>
6172
6173 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6174 special-mode-map.
6175
e95def75
CY
61762011-11-28 Chong Yidong <cyd@gnu.org>
6177
6178 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6179
c3f1c606
NR
61802011-11-27 Nick Roberts <nickrob@snap.net.nz>
6181
6182 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6183 gdb-get-source-file-list on gdb-create-source-file-list.
6184
00db469c
EZ
61852011-11-26 Eli Zaretskii <eliz@gnu.org>
6186
6187 * whitespace.el (whitespace-newline): Use a different foreground
6188 color for 16-color light-background displays.
6189
4ad3bc2a
CY
61902011-11-24 Chong Yidong <cyd@gnu.org>
6191
6192 * window.el (display-buffer--special-action): Doc fix.
6193
e9fce1ac
JB
61942011-11-25 Juanma Barranquero <lekktu@gmail.com>
6195
6196 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6197 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6198 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6199 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6200 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6201 (avl-tree-stack-first):
6202 * emacs-lisp/cconv.el (cconv--analyse-use):
6203 * net/gnutls.el (gnutls-negotiate): Fix typos.
6204
cb825e5d
GM
62052011-11-24 Glenn Morris <rgm@gnu.org>
6206
3adbe224
GM
6207 * lpr.el (lpr-windows-system, lpr-lp-system):
6208 * mail/binhex.el (binhex-begin-line):
6209 * progmodes/grep.el (grep-history, grep-find-history):
6210 * textmodes/flyspell.el:
6211 * vc/pcvs-defs.el (cvs-global-menu):
6212 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6213 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6214 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6215
321decc8
GM
6216 * net/tls.el: Fix case of "GnuTLS".
6217
420b63ad
GM
6218 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6219
cb825e5d
GM
6220 * version.el (emacs-build-system): Give it a doc-string.
6221
a0649f08
JL
62222011-11-24 Juri Linkov <juri@jurta.org>
6223
6224 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6225
c0bc0fd4
GM
62262011-11-24 Glenn Morris <rgm@gnu.org>
6227
6228 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6229 if called on a non-mime message just toggle the headers. (Bug#8006)
6230
20db1522
JB
62312011-11-24 Juanma Barranquero <lekktu@gmail.com>
6232
6233 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6234 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6235 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6236 (allout-rebullet-heading, allout-open-sibtopic)
6237 (allout-toggle-current-subtree-encryption)
6238 (allout-toggle-subtree-encryption, allout-encrypt-string)
6239 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6240 (allout-distinctive-bullets-string, allout-auto-activation):
6241 * window.el (window-normalize-buffer-to-display):
6242 * progmodes/verilog-mode.el (verilog-batch-indent):
6243 * textmodes/bibtex.el (bibtex-field-braces-opt)
6244 (bibtex-field-strings-opt):
6245 * vc/cvs-status.el (cvs-tree-merge):
6246 Fix typos.
6247
7262a87c
MA
62482011-11-23 Michael Albinus <michael.albinus@gmx.de>
6249
6250 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6251 `non-essential' to t, in order to avoid remote connections.
6252
283430a1
EZ
62532011-11-23 Eli Zaretskii <eliz@gnu.org>
6254
a1beca85
SM
6255 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6256 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6257 case-insensitively.
6258
d2992a38
ML
62592011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6260
6261 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6262
50419064
GM
62632011-11-23 Glenn Morris <rgm@gnu.org>
6264
da94eca1
GM
6265 * paths.el (rmail-file-name): Reformat the doc-string so that it
6266 is picked up.
6267
9aac4de2
GM
6268 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6269 (rmail-auto-file): Ignore case in the "special" field names,
6270 as mail-fetch-field does for all others.
6271
8038d2d2
GM
6272 * mail/rmail.el (rmail-forward):
6273 * mail/rmailkwd.el (rmail-set-label):
6274 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6275 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6276
f3fe222a
GM
6277 * mail/rmail.el (rmail-current-message): Doc fix.
6278
50419064
GM
6279 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6280
28109f49
SM
62812011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6284
394c65f1
GM
62852011-11-22 Glenn Morris <rgm@gnu.org>
6286
6287 * mail/rmailmm.el (test-rmail-mime-handler)
6288 (test-rmail-mime-bulk-handler)
6289 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6290
f2a0aa3a
JL
62912011-11-21 Juri Linkov <juri@jurta.org>
6292
1154d12e
JB
6293 * calc/calc.el (calc-read-key-sequence):
6294 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6295
9c34a344
LMI
62962011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6297
6298 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6299 Tell the caller that the next line needs recomputation, even
6300 though it doesn't start a sexp (bug#10094).
6301
f04a3be9
SM
63022011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6303
6304 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6305
7978747f
SM
63062011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6307
f04a3be9
SM
6308 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6309 Use force-same-window.
7978747f 6310
fe7a3057
JB
63112011-11-20 Juanma Barranquero <lekktu@gmail.com>
6312
6313 * descr-text.el (describe-char-unicode-data):
6314 * json.el (json-string-escape):
6315 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6316 (Footnote-unicode, Footnote-style-p):
6317 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6318
24901d61
CY
63192011-11-20 Chong Yidong <cyd@gnu.org>
6320
6321 * window.el (replace-buffer-in-windows): Restore interactive spec.
6322
bac7ff22
SM
63232011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6324
24f3d7b9
SM
6325 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6326
bac7ff22
SM
6327 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6328 (byte-compile-global-not-obsolete-vars): New var.
6329 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6330 Use it.
6331 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6332
cd1181db
JB
63332011-11-20 Juanma Barranquero <lekktu@gmail.com>
6334
6335 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6336 * progmodes/pascal.el (electric-pascal-equal):
6337 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6338 * xml.el (xml-substitute-special): Fix typos.
6339
7fb18e9e
GM
63402011-11-20 Glenn Morris <rgm@gnu.org>
6341
6342 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6343 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6344 Doc fixes.
6345 (rmail-decode-mime-charset): Mark as obsolete.
6346
6347 * mail/rmailsum.el (rmail-message-regexp-p-1):
6348 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6349 Before using mime functions, check they are set. (Bug#10077)
6350
d5a6b3ba
JL
63512011-11-19 Juri Linkov <juri@jurta.org>
6352
6353 * info.el (Info-finder-find-node): Use `package--builtins' instead
6354 of `package-alist'. Use node names formed by the pattern "Keyword "
6355 and the keyword name.
6356
e981b61f
AS
63572011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6358
1d00653d 6359 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6360
3ffbc301
JL
63612011-11-19 Juri Linkov <juri@jurta.org>
6362
6363 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6364 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6365 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6366 `old-history', `old-history-forward'. Add let-binding
6367 `window-selected'. Remove calls to `kill-buffer',
6368 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6369 before calling `Info-find-node', so `Info-find-node-2' will reread
6370 the Info file. Restore window positions only when `window-selected'
6371 is non-nil.
6372
30c62133
JL
63732011-11-19 Juri Linkov <juri@jurta.org>
6374
6375 * isearch.el (isearch-lazy-highlight-new-loop):
6376 Remove condition `(not isearch-error)'. (Bug#9918)
6377
6378 * misearch.el (multi-isearch-search-fun): Add condition
6379 `(not bound)' to ignore lazy-highlighting search.
6380 Add the search-failed message "end of multi" when the end of
6381 multi-sequence is reached. Uncapitalize the search-failed
6382 message "Repeat for next buffer".
6383
6384 * info.el (Info-search): Add the search-failed message
6385 "end of the manual" when the end of the manual is reached
6386 in Isearch mode.
6387
645ca9cf
JL
63882011-11-19 Juri Linkov <juri@jurta.org>
6389
6390 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6391 Use non-destructive `remove' instead of `delete' because
6392 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6393 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6394
df754f66
JL
63952011-11-19 Juri Linkov <juri@jurta.org>
6396
6397 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6398 to nil instead of binding `search-ring' and `regexp-search-ring'.
6399 (Bug#9185)
6400
0e23d96a
EZ
64012011-11-19 Eli Zaretskii <eliz@gnu.org>
6402
6403 * simple.el (line-move): Force movement by logical lines for any
6404 hscrolled window, not only when auto-hscroll-mode is on.
6405 (line-move-visual): Update doc string to that effect. (Bug#10076)
6406
8a6ccb66
AS
64072011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6408
6409 * language/european.el (macintosh): Define as alias for mac-roman.
6410
49ae5b39
EZ
64112011-11-19 Eli Zaretskii <eliz@gnu.org>
6412
6413 * mail/rmailmm.el (rmail-mime-display-header)
6414 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6415 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6416 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6417 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6418 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6419 of a raw aref.
6420 (rmail-mime-entity-segment): To get past the tagline, move forward
6421 2 more lines, to account for the 2 empty lines that precede and
6422 follow the line with the buttons.
6423 (rmail-mime-update-tagline): Move one more line, to get past the
6424 empty line that follows the buttons in the tagline. (Bug#9520)
6425
c56cad4a
MR
64262011-11-19 Martin Rudalics <rudalics@gmx.at>
6427
6428 * window.el (window-max-delta-1, window-min-delta-1)
6429 (window-min-size-1, window-state-get-1, window-state-put-1)
6430 (window-state-put-2): Use "window--" prefix.
6431
cbe71af3
SM
64322011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6433
2ad52c60
SM
6434 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6435 (smie-warning-count): New var.
6436 (smie-set-prec2tab): Use it.
6437 (smie-bnf->prec2): Improve warnings. Add docstring.
6438 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6439 (smie-bnf--set-class): New function.
6440 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6441 corner case.
6442
6944dbc1
SM
6443 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6444 (compilation-error-properties, compilation-move-to-column):
6445 Handle compilation-first-column while in the target buffer.
6446
c400c4d7
SM
6447 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6448 Don't hardcode point-min==1.
6449
6dbe3e96
SM
6450 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6451 (eshell-rewrite-for-command): Remove workaround.
6452 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6453 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6454 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6455
cbe71af3
SM
6456 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6457
a8e1496d
GM
64582011-11-17 Glenn Morris <rgm@gnu.org>
6459
6460 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6461 Ignore buffer-local generated-autoload-file if it is the same
6462 as the global value. (Bug#10049)
6463
df85d315
JB
64642011-11-17 Juanma Barranquero <lekktu@gmail.com>
6465
6466 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6467 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6468 (reftex-toc-previous-heading, reftex-toc-max-level)
6469 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6470 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6471 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6472 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6473 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6474 (reftex-toc-rename-label, reftex-toc-visit-location)
6475 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6476 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6477 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6478 leaving "*toc*" only for references to the buffer.
6479
a0c2d0ae
MR
64802011-11-17 Martin Rudalics <rudalics@gmx.at>
6481
6482 * window.el (window-resize, delete-window, split-window):
6483 Replace window-splits by window-combination-resize.
1d00653d 6484 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6485
35c0bac8
GM
64862011-11-17 Glenn Morris <rgm@gnu.org>
6487
6488 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6489 Make bash entry derive from sh entry, not shell entry.
6490
d0c8fc8a
MA
64912011-11-16 Michael Albinus <michael.albinus@gmx.de>
6492
7262a87c
MA
6493 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6494 local file name.
6495
7877f373
JB
64962011-11-16 Juanma Barranquero <lekktu@gmail.com>
6497
6498 * menu-bar.el (menu-bar-file-menu):
6499 * printing.el (pr-ps-utility):
6500 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6501 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6502 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6503 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6504 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6505 (icalendar--convert-cyclic-to-ical)
6506 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6507 (icalendar--convert-ical-to-diary)
6508 (icalendar--convert-recurring-to-diary)
6509 (icalendar--convert-non-recurring-all-day-to-diary)
6510 (icalendar-import-format-sample):
6511 * progmodes/idlw-shell.el (idlwave-shell-mode):
6512 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6513 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6514 (vhdl-ps-print-init): Fix typos.
6515
10649b82
KM
65162011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6517
9d0cfcd6
GM
6518 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6519 FSF and collapse date sequence, obscure author/maintainer email address
6520 better, remove extra version line, track relocation of author's webpage.
10649b82 6521
9d0cfcd6
GM
6522 * progmodes/python.el (python-pdbtrack-input-prompt)
6523 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6524 regular python pdb prompts. Adjustments shamelessly taken exactly as
6525 suggested in EmacsWiki page (tiny change):
6526 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6527
58179cce
JB
65282011-11-16 Juanma Barranquero <lekktu@gmail.com>
6529
6530 * expand.el (expand-pos, expand-index, expand-point):
6531 Remove redundant info from docstring.
6532 (expand-add-abbrevs): Doc fix.
6533 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6534 (expand-sample-perl-mode-expand-list): Fix typos.
6535
6536 * net/dbus.el (dbus-event-member-name):
6537 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6538 * term/pc-win.el (msdos-create-frame-with-faces):
6539 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6540
b6f67890
MR
65412011-11-16 Martin Rudalics <rudalics@gmx.at>
6542
6543 * window.el (split-window, window-state-get-1)
6544 (window-state-put-1, window-state-put-2): Rename occurrences of
6545 window-nest to window-combination-limit.
1d00653d 6546 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6547
ce7ddba0
CY
65482011-11-16 Chong Yidong <cyd@gnu.org>
6549
6550 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6551 regexp (Bug#10033).
6552
3ae704f4
SM
65532011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6554
6555 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6556 `completing-read' will remove *Completions* and will preserve
6557 current-buffer for us.
6558 (tmm-add-prompt): Users of *Completions* will always (re)set its
6559 major mode.
6560 (tmm-old-comp-map): Remove.
6561
6ad1cdde
GM
65622011-11-16 Glenn Morris <rgm@gnu.org>
6563
6564 * mail/rmailedit.el: Require rmailmm when compiling.
6565 (rmail-old-mime-state): New declaration.
6566 (rmail-edit-current-message): If editing a mime message,
6567 edit the "raw" message from the mbox buffer.
6568 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6569
d20faa20
GM
65702011-11-15 Glenn Morris <rgm@gnu.org>
6571
6572 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6573 which wasn't being used. Add optional arg to force given state.
6574 (rmail-mime): Add optional arg to force given state.
6575
c7015153
JB
65762011-11-15 Juanma Barranquero <lekktu@gmail.com>
6577
6578 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6579 * frame.el (display-mm-dimensions-alist):
6580 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6581 (outline-move-subtree-down):
6582 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6583 (newsticker--treeview-do-get-node):
6584 * net/quickurl.el (quickurl-list-buffer-name):
6585 * progmodes/dcl-mode.el (dcl-mode):
6586 * progmodes/gdb-mi.el (gdb-mapcar*):
6587 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6588
45261b50
GM
65892011-11-15 Glenn Morris <rgm@gnu.org>
6590
6591 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6592 in a boolean sense, so just make it a boolean, and fix the doc.
6593 (rmail-show-mime-function, rmail-mime-feature)
6594 (rmail-require-mime-maybe): Doc fixes.
6595 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6596
6597 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6598
0d26e0b6
JB
65992011-11-15 Juanma Barranquero <lekktu@gmail.com>
6600
6601 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6602 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6603 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6604 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6605
447f30f6
GM
66062011-11-15 Glenn Morris <rgm@gnu.org>
6607
672b871d
GM
6608 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6609 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6610 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6611 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6612 (rmail-mime, rmail-show-mime): Doc fixes.
6613
f6aa5bb1
GM
6614 * term/ns-win.el (mode-line-frame-identification):
6615 Leave it alone. (Bug#10051)
6616
947cd66b
GM
6617 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6618
447f30f6
GM
6619 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6620 Handle empty buffers. (Bug#9978)
6621
0b381c7e
JB
66222011-11-14 Juanma Barranquero <lekktu@gmail.com>
6623
6624 * international/mule.el (define-charset):
6625 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6626 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6627 * progmodes/verilog-mode.el (verilog-backward-token):
6628 * textmodes/ispell.el (lookup-words):
6629 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6630
71e027ac
GM
66312011-11-14 Glenn Morris <rgm@gnu.org>
6632
56632ce4
GM
6633 * progmodes/executable.el
6634 (executable-make-buffer-file-executable-if-script-p):
6635 Handle file-modes returning nil.
6636
40500957
GM
6637 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6638 message - not necessary, and causes problems. (Bug#9831)
6639
071c2340
GM
6640 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6641
d3cfca60
GM
6642 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6643
71e027ac
GM
6644 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6645 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6646 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6647
89d61221
MR
66482011-11-12 Martin Rudalics <rudalics@gmx.at>
6649
6650 * window.el (window-resize, delete-window): Use window-splits
6651 variable instead of function.
6652 (window-state-get-1, window-state-put-2, window-state-put):
6653 Don't deal with windows' splits status.
6654
98282f6f
GM
66552011-11-12 Glenn Morris <rgm@gnu.org>
6656
6657 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6658 (apropos-documentation): Doc fixes.
6659
40a8bdf6
JB
66602011-11-11 Juanma Barranquero <lekktu@gmail.com>
6661
6662 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6663 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6664
65bd19ff
SM
66652011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6666
6667 * electric.el (electric-indent-post-self-insert-function): Make it
6668 possible for a char to only indent in some circumstances.
6669 (electric-indent-mode): Simplify.
6670
54f9154c
MR
66712011-11-11 Martin Rudalics <rudalics@gmx.at>
6672
6673 * window.el (windows-with-parameter): Remove unused function.
6674 (windows-at-side): Rename to window-at-side-list.
6675 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6676 (window-side-check, window-size-ignore, window-size-fixed-1)
6677 (window-in-direction-2): Prefix with "window--".
6678 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6679
68cbc58b
GM
66802011-11-11 Glenn Morris <rgm@gnu.org>
6681
6682 * subr.el (eval-after-load): If FILE is already loaded,
6683 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6684
b2621720
GM
66852011-11-10 Glenn Morris <rgm@gnu.org>
6686
9a4de110
GM
6687 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6688 Call svn via vc-svn-command rather than vc-do-command.
6689 (vc-svn-command): Add --non-interactive. (Bug#9993)
6690 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6691
b2621720
GM
6692 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6693 Add toggle-read-only. (Bug#7292)
6694 * files.el (toggle-read-only): Mention that it should only
6695 be used interactively. (Bug#10006)
6696
1dce7193
SM
66972011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6698
d9ac1a1e
SM
6699 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6700 Adjust regexp for OCaml warnings.
6701
0c325082
SM
6702 * electric.el (electric-pair-post-self-insert-function): Let user
6703 turn it off buffer-locally (bug#9932).
6704
90132c14
SM
6705 * progmodes/python.el (python-beginning-of-statement):
6706 Rewrite (bug#2703).
6707
1dce7193
SM
6708 * progmodes/compile.el: Better handle TABs (bug#9749).
6709 (compilation-internal-error-properties)
6710 (compilation-next-error-function): Obey the target buffer's
6711 compilation-error-screen-columns.
6712
c4e7c63a
JB
67132011-11-09 Juanma Barranquero <lekktu@gmail.com>
6714
6715 * progmodes/meta-mode.el: Remove obsolete comments.
6716 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6717 Fix typos in docstrings.
6718
2cffd681
MR
67192011-11-09 Martin Rudalics <rudalics@gmx.at>
6720
6721 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6722 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6723 (window--resizable): New function. Make all callers of
6724 window-resizable call window--resizable instead.
6725 (window-resizable): Rewrite in terms of window--resizable.
6726
0edcba87
GM
67272011-11-08 Glenn Morris <rgm@gnu.org>
6728
6729 * progmodes/delphi.el (delphi-mode-syntax-table):
6730 Let define-derived-mode define a proper syntax table. (Bug#9994)
6731
4b0d61e3
SM
67322011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6733
6734 * window.el: Stay away from defsubst.
6735 (window-list-no-nils): Remove.
6736 (window-state-get-1, window-state-get): Use backquote instead.
6737
cd394be1 67382011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6739
4b0d61e3 6740 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6741 Fix incorrect use of default argument in `completing-read'.
6742
e1c2c6f2
MR
67432011-11-08 Martin Rudalics <rudalics@gmx.at>
6744
6745 * window.el (display-buffer-function, special-display-function):
6746 Mention display-buffer-record-window but do not mention
6747 help-setup parameter in doc-strings.
b3f4a882 6748 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6749
105216ed
CY
67502011-11-08 Chong Yidong <cyd@gnu.org>
6751
6752 * window.el (window-total-height, window-total-width): Doc fix.
6753 (window-body-size): Move from C.
6754 (window-body-height, window-body-width): Move to C.
6755
0a9f9ab5
SM
67562011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6757
6758 * window.el: Make special-display like display-buffer-alist (bug#9532).
6759 (display-buffer--special-action): New function, morphed
6760 from display-buffer--special.
6761 (display-buffer): Use it to handle special-display-buffers at higher
6762 priority (just after display-buffer-alist).
6763 (display-buffer-fallback-action, display-buffer--other-frame-action)
6764 (pop-to-buffer-same-window): Remove display-buffer--special.
6765
a769dd15
GM
67662011-11-07 Glenn Morris <rgm@gnu.org>
6767
6768 * calendar/cal-menu.el (cal-menu-set-date-title):
6769 Do nothing if not in a calendar. (Bug#9976)
6770
05a61ee3
SM
67712011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6772
6773 * files.el (find-file): Always use selected-window.
6774
be7f5545
MR
67752011-11-07 Martin Rudalics <rudalics@gmx.at>
6776
6777 * window.el (window-combinations): Make WINDOW argument
6778 mandatory. Rewrite doc-string.
6779 (walk-window-subtree, window-atom-check, window-min-delta)
6780 (window-max-delta, window--resize-this-window)
6781 (window--resize-root-window-vertically, window-tree)
6782 (balance-windows, window-state-put): Rewrite doc-strings as to
6783 not mention the term "subwindow".
6784 (window--resize-subwindows-skip-p): Rename to
6785 window--resize-child-windows-skip-p.
6786 (window--resize-subwindows-normal): Rename to
6787 window--resize-child-windows-normal.
6788 (window--resize-subwindows): Rename to
6789 window--resize-child-windows.
6790 (window-or-subwindow-p): Rename to window--in-subtree-p.
6791
3c6702ef
ML
67922011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6793
6794 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6795 Ensure that mbox format messages end in two newlines (Bug#9974).
6796
49745b39
CY
67972011-11-06 Chong Yidong <cyd@gnu.org>
6798
6799 * window.el (window-combination-p): Function deleted; its
6800 side-effect is not used in any existing code.
6801 (window-combinations, window-combined-p): Call window-*-child
6802 directly.
6803
24300f5f
CY
68042011-11-05 Chong Yidong <cyd@gnu.org>
6805
6806 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6807 (window-size-ignore, window-state-get): Callers changed.
6808 (window-normalize-window): Rename from window-normalize-any-window.
6809 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6810 (window-normalize-live-window): Delete.
447f16b8
CY
6811 (window-combination-p, window-combined-p, window-combinations)
6812 (walk-window-subtree, window-atom-root, window-min-size)
6813 (window-sizable, window-sizable-p, window-size-fixed-p)
6814 (window-min-delta, window-max-delta, window-resizable)
6815 (window-resizable-p, window-full-height-p, window-full-width-p)
6816 (window-current-scroll-bars, window-point-1, set-window-point-1)
6817 (window-at-side-p, window-in-direction, window-resize)
6818 (adjust-window-trailing-edge, maximize-window, minimize-window)
6819 (window-deletable-p, delete-window, delete-other-windows)
6820 (record-window-buffer, unrecord-window-buffer)
6821 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6822 (quit-window, split-window, window-state-put)
6823 (set-window-text-height, fit-window-to-buffer)
6824 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6825
89bd5ee1
EZ
68262011-11-04 Eli Zaretskii <eliz@gnu.org>
6827
53479029
EZ
6828 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6829 rfc2047-decode-string.
6830 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6831 warnings.
6832
89bd5ee1
EZ
6833 * window.el (window-body-height, window-body-width): Mention in
6834 the doc string that the return values are in frame's canonical
6835 units. (Bug#9949)
6836
bd17fdee
AM
68372011-11-03 Alan Mackenzie <acm@muc.de>
6838
6839 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6840 change in cc-engine.el.
6841
acc825c5
SM
68422011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6845
1885e5b8
MR
68462011-11-02 Martin Rudalics <rudalics@gmx.at>
6847
6848 * window.el (quit-window): Call unrecord-window-buffer after
6849 showing another buffer in the window. (Bug#9937)
acc825c5 6850 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6851
ebe06da9
JB
68522011-11-02 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6855 Accept status with more than 9 shelves. (Bug#9935)
6856 Reported by Colin D Bennett <colin@gibibit.com>.
6857
4ee88440
MR
68582011-11-01 Martin Rudalics <rudalics@gmx.at>
6859
6860 * help.el (with-help-window): Don't reference
6861 temp-buffer-show-specifiers in doc-string.
6862
08e1d82c
AS
68632011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6864
6865 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6866 menu-item.
6867
84bd6e9e
VJL
68682011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6869
6870 * whitespace.el: New version 13.2.2.
6871 (whitespace-newline-mode): Disable properly. Reported by Sarah
6872 <EmacsWiki>.
6873
dba0634a
UJ
68742011-10-30 Ulf Jasper <ulf.jasper@web.de>
6875
6876 * net/newst-treeview.el: Remove "Time-stamp".
6877 (newsticker--group-manage-orphan-feeds): Do not call
6878 newsticker--treeview-tree-update.
db22a3c2
JB
6879 (newsticker-treeview-update, newsticker-treeview):
6880 Call newsticker--treeview-tree-update if necessary.
dba0634a 6881
3d8daefe
MR
68822011-10-30 Martin Rudalics <rudalics@gmx.at>
6883
6884 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6885 (window-iso-combinations): Remove "iso-" infix.
6886 Suggested by Chong Yidong.
3d8daefe
MR
6887 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6888 (window-max-delta-1, window-resize, window--resize-siblings)
6889 (window--resize-this-window, adjust-window-trailing-edge)
6890 (split-window, balance-windows-1)
6891 (shrink-window-if-larger-than-buffer):
6892 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6893 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6894
1bc4c3ae
SM
68952011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6896
6897 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6898 in place (bug#9907).
6899 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6900 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6901 (eshell-structure-basic-command, eshell-rewrite-while-command)
6902 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6903 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6904 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6905 (eshell-do-pipelines-synchronously, eshell-eval-command):
6906 Use backquotes and prefer setq to set.
6907 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6908 (eshell-macrop): Use functionp.
c1e2f5fa 6909 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6910
30b65d9c
CY
69112011-10-30 Chong Yidong <cyd@gnu.org>
6912
6913 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6914 instead of set-mark (Bug#9810).
6915
2d197ffb
CY
69162011-10-30 Chong Yidong <cyd@gnu.org>
6917
6918 * window.el (split-window-below, split-window-right): Rename from
6919 split-window-above-each-other and split-window-side-by-side
6920 respectively. All callers changed.
6921 (split-window-sensibly, split-window-sensibly): Use them.
6922 (split-window-keep-point): Doc fix.
6923
6924 * isearch.el: Add isearch-scroll property to split-window-below
6925 and split-window-right.
6926
6927 * follow.el (follow-mode):
6928 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6929 * progmodes/ada-xref.el (ada-gdb-application):
6930 * emulation/vip.el (vip-buffer-in-two-windows):
6931 * image-dired.el (image-dired-dired-with-window-configuration):
6932 * dired-x.el (dired-do-find-marked-files):
6933 * dired.el (dired-pop-to-buffer):
6934 * bs.el (bs--show-with-configuration):
6935 * vc/emerge.el (emerge-setup-windows):
6936 * textmodes/two-column.el (2C-two-columns):
6937 * textmodes/reftex-toc.el (reftex-toc):
6938 * progmodes/gdb-mi.el (gdb-setup-windows):
6939 * progmodes/fortran.el (fortran-window-create):
6940 * net/newst-treeview.el (newsticker--treeview-window-init):
6941 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6942 * emulation/tpu-edt.el (tpu-gold-map):
6943 * emulation/crisp.el (crisp-mode-map):
6944 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6945
38bb2ca8
CY
69462011-10-29 Chong Yidong <cyd@gnu.org>
6947
aa4de341
CY
6948 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6949
e1eb5385
CY
6950 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6951
5d2ece3c
CY
6952 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6953 forged Ispell output (Bug#7904).
6954
38bb2ca8
CY
6955 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6956
d0af9f77
SM
69572011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6958
6959 * doc-view.el: Avoid ugly errors about not finding nil.
6960 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6961 (doc-view-dvipdf-program, doc-view-unoconv-program)
6962 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6963 Avoid nil or absolute file name as default value.
6964 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6965
52bedd34
AM
69662011-10-28 Alan Mackenzie <acm@muc.de>
6967
db22a3c2 6968 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6969
7e43cfa5
AM
69702011-10-28 Alan Mackenzie <acm@muc.de>
6971
6972 Amend the handling of c-beginning/end-of-defun in nested declaration
6973 scopes.
6974
52bedd34
AM
6975 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6976 cc-langs.el. Change it to a defcustom.
7e43cfa5 6977
52bedd34
AM
6978 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6979 cc-vars.el.
7e43cfa5 6980
d0af9f77
SM
6981 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6982 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6983
52bedd34 6984 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6985 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6986 (c-widen-to-enclosing-decl-scope): New function.
6987 (c-while-widening-to-decl-block): New macro.
6988 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6989 outward for defun boundaries, and correspondingly change symbol
6990 `respect-enclosure' to `go-outward'.
6991 (c-declaration-limits): Change algorithm to report only the "innermost"
6992 defun's boundaries.
6993
1a2ce9ee
DD
69942011-10-28 Deniz Dogan <deniz@dogan.se>
6995
6996 * net/rcirc.el (rcirc-mode): Use hard newlines.
6997
bc97a826
AM
69982011-10-28 Alan Mackenzie <acm@muc.de>
6999
7000 Amend to indent and fontify macros "which include their own semicolon"
7001 correctly, using the "virtual semicolon" mechanism.
7002
52bedd34 7003 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7004
d0af9f77 7005 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7006 Recode to scan one line at a time rather than having \n and \r
58179cce 7007 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7008 (c-forward-label): Amend for virtual semicolons.
58179cce 7009 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7010
52bedd34
AM
7011 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7012 of the new C macros.
bc97a826 7013
52bedd34 7014 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7015 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7016 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7017 (c-opt-cpp-macro-define): Make into a full language variable.
7018 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7019 AWK Mode (including \n, \r) removed, no longer needed.
7020
d0af9f77
SM
7021 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7022 Invoke c-make-macro-with-semi-re.
bc97a826 7023
52bedd34
AM
7024 * progmodes/cc-vars.el (c-macro-with-semi-re):
7025 (c-macro-names-with-semicolon): New variables.
58179cce 7026 (c-make-macro-with-semi-re): New function.
bc97a826 7027
7a6c0941
SM
70282011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7029
7030 * vc/log-edit.el: Fill empty field rather than adding new one.
7031 (log-edit-add-field): New function.
7032 (log-edit-insert-changelog): Use it.
7033
b0c4cdcf
ML
70342011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7035
7036 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7037
ee1f1da9
SM
70382011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7039
7040 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7041 (gdb--check-interpreter): New function.
7042 (gdb): Use it.
7043
51bc5f8b
GM
70442011-10-27 Glenn Morris <rgm@gnu.org>
7045
416a2c45
GM
7046 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7047 (least-positive-float, least-negative-float)
7048 (least-positive-normalized-float, least-negative-normalized-float)
7049 (float-epsilon, float-negative-epsilon):
7050 Remove unnecessary declarations.
7051
7052 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7053 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7054 (least-positive-float, least-negative-float)
7055 (least-positive-normalized-float, least-negative-normalized-float)
7056 (float-epsilon, float-negative-epsilon): Add doc-strings,
7057 based on those in cl.texi.
7058
51bc5f8b
GM
7059 * files.el (set-visited-file-name): If the major-mode changed,
7060 reload the local variables. (Bug#9796)
7061
15de15c6
CY
70622011-10-27 Chong Yidong <cyd@gnu.org>
7063
7064 * subr.el (change-major-mode-after-body-hook): New hook.
7065 (run-mode-hooks): Run it.
7066
ee1f1da9
SM
7067 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7068 Use change-major-mode-before-body-hook.
15de15c6
CY
7069
7070 * simple.el (fundamental-mode):
7071 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7072 change introducing fundamental-mode-hook.
7073
5430d399
JB
70742011-10-26 Juanma Barranquero <lekktu@gmail.com>
7075
acc825c5 7076 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7077
ad74a69e
MA
70782011-10-26 Michael Albinus <michael.albinus@gmx.de>
7079
7080 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7081 tramp.el explicitly. (Bug#7583)
ad74a69e 7082
71d4c2a5
SM
70832011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7084
7085 * progmodes/octave-mod.el:
7086 * progmodes/octave-inf.el: Update maintainer.
7087
b1f6fa26
CY
70882011-10-26 Chong Yidong <cyd@gnu.org>
7089
7090 * subr.el (with-wrapper-hook): Rewrite doc.
7091
3f04efd6
MA
70922011-10-25 Michael Albinus <michael.albinus@gmx.de>
7093
7094 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7095 filenames "/method:foo:". (Bug#9793)
3f04efd6 7096
410488d3
SM
70972011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7098
7099 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7100 (bug#9865).
7101
c1ebb47e
GM
71022011-10-24 Glenn Morris <rgm@gnu.org>
7103
7104 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7105
7f5c46c7
MA
71062011-10-24 Michael Albinus <michael.albinus@gmx.de>
7107
7108 * notifications.el: Add the requirement of a running D-Bus session
7109 bus to the Commentary.
7110
db2440b6
JL
71112011-10-24 Juri Linkov <juri@jurta.org>
7112
7113 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7114 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7115 (Bug#9364)
7116
feecf435
JL
71172011-10-24 Juri Linkov <juri@jurta.org>
7118
7119 * info.el (Info-following-node-name-re): Add newline to the list
7120 of allowed characters for leading space. (Bug#9824)
7121
a3839de2
SM
71222011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7123
acc825c5
SM
7124 * progmodes/octave-inf.el (inferior-octave-mode-map):
7125 Fix C-c C-h binding.
a3839de2
SM
7126 * progmodes/octave-mod.el (octave-help): Remove.
7127
09388e76
MA
71282011-10-23 Michael Albinus <michael.albinus@gmx.de>
7129
7130 Sync with Tramp 2.2.3.
7131
7132 * net/tramp-cache.el (top): Pacify byte-compiler using
7133 `init-file-user' and `site-run-file'.
7134
7135 * net/trampver.el: Update release number.
7136
86c60681
CY
71372011-10-23 Chong Yidong <cyd@gnu.org>
7138
7139 * files.el (toggle-read-only): Remove obsolete comment about
7140 version control.
7141
7142 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7143 for toggle-read-only. Note that this hasn't called vc-next-action
7144 since 2008-05-02, though it wasn't documented at the time.
7145
a3839de2
SM
7146 * vc/ediff-init.el (ediff-toggle-read-only-function):
7147 Use toggle-read-only.
86c60681 7148
cd5495ff
AM
71492011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7150
7151 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7152 of c-parse-state.
7153
00b77525 7154 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7155 correct faulty logical expression.
cd5495ff
AM
7156 (c-parse-state-state, c-record-parse-state-state):
7157 (c-replay-parse-state-state): New defvar/defuns.
7158 (c-debug-parse-state): Use new functions.
7159
42ee24ed
MR
71602011-10-22 Martin Rudalics <rudalics@gmx.at>
7161
7162 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7163 last fix. Use window-in-direction correctly.
42ee24ed 7164
a7dee7e7
CY
71652011-10-21 Chong Yidong <cyd@gnu.org>
7166
7167 * progmodes/idlwave.el (idlwave-mode):
7168 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7169 require-final-newline; that's done in prog-mode.
7170 Suggested by Stefan Monnier.
a7dee7e7 7171
e07b9a6d
MR
71722011-10-21 Martin Rudalics <rudalics@gmx.at>
7173
7174 * mouse.el (mouse-drag-window-above)
7175 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7176 (mouse-drag-mode-line-1, mouse-drag-header-line)
7177 (mouse-drag-vertical-line-rightward-window): Remove.
7178 (mouse-drag-line): New function.
7179 (mouse-drag-mode-line, mouse-drag-header-line)
7180 (mouse-drag-vertical-line): Call mouse-drag-line.
7181 * window.el (window-at-side-p, windows-at-side): New functions.
7182
7e1361d9
UM
71832011-10-21 Ulrich Mueller <ulm@gentoo.org>
7184
7185 * tar-mode.el (tar-grind-file-mode):
7186 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7187
30fcaf3a
CY
71882011-10-21 Chong Yidong <cyd@gnu.org>
7189
7190 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7191 * progmodes/vera-mode.el (vera-mode):
7192 Use mode-require-final-newline.
30fcaf3a 7193
516eddb0
GM
71942011-10-20 Glenn Morris <rgm@gnu.org>
7195
db22a3c2 7196 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7197
10d5f513
CS
71982011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7199
7200 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7201
ac6c8639
CY
72022011-10-20 Chong Yidong <cyd@gnu.org>
7203
7204 * emulation/cua-base.el (cua-mode):
7205 * mail/footnote.el (footnote-mode):
7206 * mail/mailabbrev.el (mail-abbrevs-mode):
7207 * net/xesam.el (xesam-minor-mode):
7208 * progmodes/bug-reference.el (bug-reference-mode):
7209 * progmodes/cap-words.el (capitalized-words-mode):
7210 * progmodes/compile.el (compilation-minor-mode)
7211 (compilation-shell-minor-mode):
7212 * progmodes/gud.el (gud-tooltip-mode):
7213 * progmodes/hideif.el (hide-ifdef-mode):
7214 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7215 * progmodes/subword.el (subword-mode):
7216 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7217 * progmodes/which-func.el (which-function-mode):
7218 * term/tvi970.el (tvi970-set-keypad-mode):
7219 * term/vt100.el (vt100-wide-mode):
7220 * textmodes/flyspell.el (flyspell-mode):
7221 * textmodes/ispell.el (ispell-minor-mode):
7222 * textmodes/nroff-mode.el (nroff-electric-mode):
7223 * textmodes/paragraphs.el (use-hard-newlines):
7224 * textmodes/refill.el (refill-mode):
7225 * textmodes/reftex.el (reftex-mode):
7226 * textmodes/rst.el (rst-minor-mode):
7227 * textmodes/sgml-mode.el (html-autoview-mode)
7228 (sgml-electric-tag-pair-mode):
7229 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7230 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7231 * emulation/crisp.el (crisp-mode):
7232 * emacs-lisp/eldoc.el (eldoc-mode):
7233 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7234 minor mode behavior.
7235
aa42ab43
JL
72362011-10-19 Juri Linkov <juri@jurta.org>
7237
7238 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7239 the list of hard-coded chars with escape-glyph face.
7240
89400f1d
SM
72412011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7242
7243 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7244
305c07f6
MA
72452011-10-19 Michael Albinus <michael.albinus@gmx.de>
7246
7247 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7248 running process.
7249
13754b54
GM
72502011-10-19 Glenn Morris <rgm@gnu.org>
7251
7252 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7253 Ignore ignored files. (Bug#9726)
7254
06e21633
CY
72552011-10-19 Chong Yidong <cyd@gnu.org>
7256
7257 Doc fix for minor modes, stating that an omitted argument enables
7258 the mode unconditionally when called from Lisp.
7259
7260 * abbrev.el (abbrev-mode):
7261 * allout.el (allout-mode):
7262 * autoinsert.el (auto-insert-mode):
7263 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7264 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7265 (global-auto-revert-mode):
7266 * battery.el (display-battery-mode):
7267 * composite.el (global-auto-composition-mode)
7268 (auto-composition-mode):
7269 * delsel.el (delete-selection-mode):
7270 * desktop.el (desktop-save-mode):
7271 * dired-x.el (dired-omit-mode):
7272 * dirtrack.el (dirtrack-mode):
7273 * doc-view.el (doc-view-minor-mode):
7274 * double.el (double-mode):
7275 * electric.el (electric-indent-mode, electric-pair-mode):
7276 * emacs-lock.el (emacs-lock-mode):
7277 * epa-hook.el (auto-encryption-mode):
7278 * follow.el (follow-mode):
7279 * font-core.el (font-lock-mode):
7280 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7281 * help.el (temp-buffer-resize-mode):
7282 * hilit-chg.el (highlight-changes-mode)
7283 (highlight-changes-visible-mode):
7284 * hi-lock.el (hi-lock-mode):
7285 * hl-line.el (hl-line-mode, global-hl-line-mode):
7286 * icomplete.el (icomplete-mode):
7287 * ido.el (ido-everywhere):
7288 * image-file.el (auto-image-file-mode):
7289 * image-mode.el (image-minor-mode):
7290 * iswitchb.el (iswitchb-mode):
7291 * jka-cmpr-hook.el (auto-compression-mode):
7292 * linum.el (linum-mode):
7293 * longlines.el (longlines-mode):
7294 * master.el (master-mode):
7295 * mb-depth.el (minibuffer-depth-indicate-mode):
7296 * menu-bar.el (menu-bar-mode):
7297 * minibuf-eldef.el (minibuffer-electric-default-mode):
7298 * mouse-sel.el (mouse-sel-mode):
7299 * msb.el (msb-mode):
7300 * mwheel.el (mouse-wheel-mode):
7301 * outline.el (outline-minor-mode):
7302 * paren.el (show-paren-mode):
7303 * recentf.el (recentf-mode):
7304 * reveal.el (reveal-mode, global-reveal-mode):
7305 * rfn-eshadow.el (file-name-shadow-mode):
7306 * ruler-mode.el (ruler-mode):
7307 * savehist.el (savehist-mode):
7308 * scroll-all.el (scroll-all-mode):
7309 * scroll-bar.el (scroll-bar-mode):
7310 * server.el (server-mode):
7311 * shell.el (shell-dirtrack-mode):
7312 * simple.el (auto-fill-mode, transient-mark-mode)
7313 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7314 (line-number-mode, column-number-mode, size-indication-mode)
7315 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7316 * strokes.el (strokes-mode):
7317 * time.el (display-time-mode):
7318 * t-mouse.el (gpm-mouse-mode):
7319 * tool-bar.el (tool-bar-mode):
7320 * tooltip.el (tooltip-mode):
7321 * type-break.el (type-break-mode-line-message-mode)
7322 (type-break-query-mode):
7323 * view.el (view-mode):
7324 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7325 (global-whitespace-mode, global-whitespace-newline-mode):
7326 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7327
a3839de2
SM
7328 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7329 Fix autogenerated docstring.
06e21633 7330
5214e501
JL
73312011-10-19 Juri Linkov <juri@jurta.org>
7332
7333 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7334 by checking environment variables "DESKTOP_SESSION" and
7335 "XDG_CURRENT_DESKTOP". (Bug#9779)
7336
195f8db9
JL
73372011-10-19 Juri Linkov <juri@jurta.org>
7338
7339 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7340 (browse-url-chromium-program, browse-url-chromium-arguments):
7341 New defcustoms.
7342 (browse-url-default-browser): Check for `browse-url-chromium' and
7343 call `browse-url-chromium-program'.
7344 (browse-url-chromium): New command. (Bug#9779)
7345
343a34ff
JB
73462011-10-18 Juanma Barranquero <lekktu@gmail.com>
7347
7348 * facemenu.el (list-colors-duplicates): On Windows, detect more
7349 duplicates by assuming that only colors matching "^System" are
7350 special "system colors". (Bug#9722)
7351
6978a151
SM
73522011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7353
7354 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7355 to distinguish the author from the committer.
7356
6a80b297
MA
73572011-10-18 Michael Albinus <michael.albinus@gmx.de>
7358
7359 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7360
b31a5677
JK
73612011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7362
7363 * international/mule.el (sgml-html-meta-auto-coding-function):
7364 Add support for detecting encoding in HTML5 specified only as
7365 <meta charset="UTF-8">. Implementation just makes http-equiv and
7366 content-type parts from HTML4 encoding string optional. (Bug#9716)
7367
80c6d77f
GM
73682011-10-18 Glenn Morris <rgm@gnu.org>
7369
7370 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7371
08b0fee8
CY
73722011-10-18 Chong Yidong <cyd@gnu.org>
7373
7374 * faces.el (cursor): Doc fix.
7375
67e729a5
CY
73762011-10-17 Chong Yidong <cyd@gnu.org>
7377
7378 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7379
343a34ff 73802011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7381
7382 * dirtrack.el (dirtrack): Support shell buffers with path
7383 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7384
0bc06380
TZ
73852011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7386
7387 * json.el: Bump version to 1.3 and note change in History.
7388 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7389
8b79f3e0
SM
73902011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7391
5a7c536b
SM
7392 * comint.el (comint-insert-input, comint-send-input)
7393 (comint-get-old-input-default, comint-backward-matching-input)
7394 (comint-next-prompt): Use nil instead of `input' for field property of
7395 past user input (bug#114).
7396
96a8a0df
SM
7397 * minibuffer.el (completion--replace): Inherit surrounding properties
7398 (bug#114).
7399 (minibuffer-complete-and-exit): Use it.
7400
8b79f3e0
SM
7401 * comint.el (comint--table-subvert): Quote the all-completions output
7402 (bug#9160).
7403
b8f7ff0d
MR
74042011-10-17 Martin Rudalics <rudalics@gmx.at>
7405
8b79f3e0 7406 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7407
b8f7ff0d 7408 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7409 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7410 entries and separate them from frame entries.
7411
c235b555
GM
74122011-10-15 Glenn Morris <rgm@gnu.org>
7413
7414 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7415 Doc fixes.
7416
6bbfa6e1
CY
74172011-10-15 Chong Yidong <cyd@stupidchicken.com>
7418
8b79f3e0
SM
7419 * net/network-stream.el (network-stream-open-starttls):
7420 Improve detection of failure due to lack of TLS support.
ec5c990d 7421
6bbfa6e1
CY
7422 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7423 putting the input text in front and in bold.
7424
98488977
SM
74252011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7426
3d1337be
SM
7427 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7428
ee0b45e4
SM
7429 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7430 empty buffer.
7431
98488977
SM
7432 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7433 unread-command-events rather than pushing yet-another event.
7434
186f4720
EZ
74352011-10-14 Eli Zaretskii <eliz@gnu.org>
7436
7437 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7438 the explanation of the possible choices. Make the options passed
7439 to completing-read shorter.
7440
8b7a997c
AM
74412011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7442
7443 * textmodes/flyspell.el (flyspell-large-region): Make sure
7444 extended character mode is used if defined (Bug#1339).
7445
12587bbb
EZ
74462011-10-13 Eli Zaretskii <eliz@gnu.org>
7447
7448 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7449 character info for LRE, LRO, RLE, and RLO characters by appending
7450 an invisible PDF.
12587bbb 7451
bad41229
SM
74522011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7453
7454 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7455 even in case of error; add debug spec; simplify data flow.
7456 (with-timeout-handler): Remove.
7457
28dbc92f
MA
74582011-10-12 Michael Albinus <michael.albinus@gmx.de>
7459
7460 Fix Bug#6019, Bug#9315.
7461
7462 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7463 complete `buffer-file-name', the local file name part could look
7464 remotely (for example on VMS).
7465
7466 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7467 `tramp-run-real-handler'.
7468 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7469 already quoted by '"'.
7470
7471 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7472 Let `file-name-handler-alist' be nil, the local file name part
7473 could look remotely (for example on VMS).
7474
e1b0b23a
SM
74752011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7478 from here...
7479 (flyspell-post-command-hook): ...to here.
7480
a120bde9
SM
74812011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7482
7483 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7484 if not needed.
7485 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7486 using completion. Protect against "slow" callers.
7487 Remove the "message hack".
7488
7ce7717b
JL
74892011-10-11 Juri Linkov <juri@jurta.org>
7490
7491 * isearch.el (isearch-lazy-highlight-word): New variable.
7492 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7493 Use it. (Bug#9727)
7494
c02ee9d6
GM
74952011-10-11 Glenn Morris <rgm@gnu.org>
7496
7497 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7498 like f90-previous-statement does.
7499
93e616fd 75002011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7501
1f190e73 7502 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7503 only in interactive use, to avoid error.
7504
af7b6078
SM
75052011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7506
7507 * minibuffer.el (completion-file-name-table): Fix last change,
7508 i.e. ignore normal errors but not the other ones.
7509
0563dae9
MR
75102011-10-10 Martin Rudalics <rudalics@gmx.at>
7511
7512 * window.el (special-display-buffer-names)
7513 (special-display-regexps): Remove some remnants of earlier
7514 changes from doc-strings.
366ca7f3
MR
7515 (quit-windows-on): New function.
7516
7517 * vc/vc.el (vc-revert, vc-rollback):
7518 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7519 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7520 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7521
49677495
MR
75222011-10-09 Martin Rudalics <rudalics@gmx.at>
7523
7524 * window.el (frame-auto-hide-function): Add version tag.
7525 (Bug#9699)
7526
56f2d1e1
MA
75272011-10-09 Michael Albinus <michael.albinus@gmx.de>
7528
7529 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7530 condition.
7531
112a6592
LL
75322011-10-09 Leo Liu <sdl.web@gmail.com>
7533
7534 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7535 (Bug#9701)
7536
0812589b
GM
75372011-10-08 Glenn Morris <rgm@gnu.org>
7538
7539 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7540 before the first code statement zero indent. (Bug#9690)
7541
b2b0776e
CY
75422011-10-08 Chong Yidong <cyd@stupidchicken.com>
7543
7544 * simple.el (count-words-region): Always count in the region.
7545 Report the number of lines and characters too.
7546 (count-words): New command, which counts in the buffer if the
7547 region is inactive, as count-words-region used to.
7548 (count-words--message): New function. Handle plurals.
7549 (count-lines-region): Make it an alias for count-words-region.
7550
7551 * bindings.el (esc-map): Replace count-lines-region with
7552 count-words-region.
7553
c557cd6b
MR
75542011-10-08 Martin Rudalics <rudalics@gmx.at>
7555
7556 * window.el (window--delete): Delete dedicated frame
7557 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7558 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7559
61a57ef4 75602011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7561
3a7d293b 7562 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7563
c3833279
CY
75642011-10-07 Chong Yidong <cyd@stupidchicken.com>
7565
7566 * bindings.el ([M-left],[M-right]): Bind to left-word and
7567 right-word respectively.
7568
21ce8245
GM
75692011-10-07 Glenn Morris <rgm@gnu.org>
7570
7571 * cus-start.el (debug-on-quit): Fix custom type.
7572
6d823bb2
LMI
75732011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7574
0181e193
LMI
7575 * subr.el (define-key-after): Clarify that the function is not
7576 useful for non-menu keymaps.
7577
6d823bb2
LMI
7578 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7579
8e3459ce 75802011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7581
21ce8245 7582 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7583 in current minibuffer (Fix bug with recursive minibuffers).
7584
a1c2d21e
CY
75852011-10-06 Chong Yidong <cyd@stupidchicken.com>
7586
7587 * progmodes/gdb-mi.el (gdb): Doc fix.
7588
5a4cf282
MR
75892011-10-05 Martin Rudalics <rudalics@gmx.at>
7590
7591 * window.el (frame-auto-hide-function): New option replacing
7592 frame-auto-delete. Suggested by Stefan Monnier.
7593 (window--delete): Call frame-auto-hide-function instead of
7594 investigating frame-auto-delete.
c96111ea
MR
7595 (window-point-1, set-window-point-1): New functions.
7596 (window-in-direction, record-window-buffer, window-state-get-1)
7597 (display-buffer-record-window): Use window-point-1 instead of
7598 window-point.
7599 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7600
9854542e
SM
76012011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7604
8943cfb0
GM
76052011-10-05 Glenn Morris <rgm@gnu.org>
7606
7607 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7608 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7609
647ab967
LL
76102011-10-05 Leo Liu <sdl.web@gmail.com>
7611
7612 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7613 works with buffer object.
7614
3ddfbced
SM
76152011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7616
7617 * mpc.el (mpc-tool-bar-map): Add labels.
7618
bdfa5dd2
GM
76192011-10-04 Glenn Morris <rgm@gnu.org>
7620
7621 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7622
0e2070b5
MR
76232011-10-04 Martin Rudalics <rudalics@gmx.at>
7624
7625 * window.el (window--delete): New function.
7626 (frame-auto-delete): Resuscitate option.
7627 (bury-buffer, replace-buffer-in-windows)
7628 (quit-window): Rewrite using window--delete.
7629 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7630 Pass display-buffer-mark-dedicated to window--display-buffer-2
7631 (Bug#9639).
7632
3dc61a09
SM
76332011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7634
915a9b64
SM
7635 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7636 returns a list (bug#9554). Add remote file name completion.
7637 * comint.el (comint--table-subvert): Curry and get quote&unquote
7638 functions as arguments.
7639 (comint--complete-file-name-data): Adjust call accordingly.
7640 * pcomplete.el (pcomplete--table-subvert): Remove.
7641 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7642
3dc61a09
SM
7643 * minibuffer.el (completion-table-case-fold): Use currying.
7644 (completion--styles-type, completion--cycling-threshold-type):
7645 New constants.
7646 (completion-styles, completion-category-overrides)
7647 (completion-cycle-threshold): Use them.
7648 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7649 completion-table-case-fold.
7650
8ea0a993
SB
76512011-10-03 Stephen Berman <stephen.berman@gmx.net>
7652
7653 * minibuffer.el (completion-category-overrides): Fix type of styles
7654 and add more user friendly tags (bug#9660).
7655
8c24b7f6
SM
76562011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7657
7658 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7659 (mule-input-method-string): New widget.
7660 (default-input-method, language-info-custom-alist): Use it.
7661
428fe61a
SM
76622011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7663
32c1fffd
SM
7664 * pcomplete.el: Require comint.
7665 (pcomplete--common-suffix): Remove.
7666 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7667 (pcomplete--table-subvert): Sync with comint--table-subvert.
7668 (pcomplete--entries): Use comint-completion-file-name-table.
7669 * comint.el (comint-unquote-filename): Simplify.
7670 (comint-completion-file-name-table): New function (bug#9616).
7671 (comint--complete-file-name-data): Use it.
7672
428fe61a
SM
7673 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7674 (pcmpl-gnu-tar-buffer): Remove.
7675 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7676 around. Make sure pcomplete-suffix-list is only changed temporarily.
7677 Don't look inside the tar's file if it's too large.
428fe61a 7678
04c52e2f
CY
76792011-10-01 Chong Yidong <cyd@stupidchicken.com>
7680
ce3cefcc
CY
7681 * cus-edit.el (custom-mode-map):
7682 * epa.el (epa-key-list-mode-map):
7683 * man.el (Man-mode-map):
7684 * startup.el (splash-screen-keymap):
7685 * simple.el (special-mode-map): Use scroll-up-command and
7686 scroll-down-command.
7687
7688 * progmodes/idlw-help.el (idlwave-help-mode-map):
7689 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7690 * net/newst-plainview.el (newsticker-mode-map):
7691 * emulation/ws-mode.el (wordstar-mode-map):
7692 * emulation/vi.el (vi-com-map):
7693 * calc/calc-graph.el (calc-graph-show-dumb):
7694 * term/sun.el (terminal-init-sun):
7695 * term/ns-win.el (global-map):
7696 * progmodes/grep.el (grep-mode-map):
7697 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7698 * mail/rmail.el (rmail-mode-map):
7699 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7700
04c52e2f
CY
7701 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7702 custom-safe-themes as special.
7703
79adf8c8
JD
77042011-10-01 Julien Danjou <julien@danjou.info>
7705
7706 * notifications.el (notifications-notify): Fix docstring.
7707
63bd50d3
PS
77082011-10-01 Per Starbäck <per@starback.se>
7709
7710 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7711
199e4c7e
MR
77122011-09-30 Martin Rudalics <rudalics@gmx.at>
7713
7714 * startup.el (command-line-1): Fix last fix by inserting
7715 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7716 (Bug#9605) and (Bug#9636)
199e4c7e 7717
fe5f08dd
EZ
77182011-09-29 Eli Zaretskii <eliz@gnu.org>
7719
7720 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7721 window is hscrolled, move by logical lines. (Bug#9607)
7722 (line-move-visual): Update the doc string to the above effect.
7723
b5516bbd
MR
77242011-09-29 Martin Rudalics <rudalics@gmx.at>
7725
ccee00c0
MR
7726 * window.el (display-buffer-record-window): When WINDOW is the
7727 selected window use `point' instead of `window-point'. (Bug#9626)
7728
b5516bbd
MR
7729 * startup.el (command-line-1): Use insert-before-markers when
7730 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7731
b5516bbd
MR
7732 * help.el (help-window): Remove variable.
7733
52aa0014
GM
77342011-09-29 Glenn Morris <rgm@gnu.org>
7735
7736 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7737
df9a7357
JB
77382011-09-29 Juanma Barranquero <lekktu@gmail.com>
7739
7740 * descr-text.el (describe-char-categories): Accept category
7741 descriptions more than one line long.
7742
a8406c20
SM
77432011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7744
88d9610c
SM
7745 * simple.el (delete-trailing-whitespace): Fix last change.
7746
a5daf810
SM
7747 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7748 Don't confuse "y => 3" as the beginning of a `y' operation.
7749
a8406c20
SM
7750 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7751 object has more than 4 slots (bug#9613).
7752
a239d4e9
JB
77532011-09-28 Juanma Barranquero <lekktu@gmail.com>
7754
7755 * subr.el (with-output-to-temp-buffer):
7756 * net/quickurl.el (quickurl, quickurl-browse-url):
7757 Fix typos in docstrings.
7758
693fbdb6
EZ
77592011-09-27 Eli Zaretskii <eliz@gnu.org>
7760
7761 * minibuffer.el (completion-styles)
7762 (completion-category-overrides): Cross reference each other in doc
7763 strings.
7764
8b457e28
GM
77652011-09-27 Glenn Morris <rgm@gnu.org>
7766
7767 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7768 to split-string. (Bug#9606)
7769
85a16208
LMI
77702011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7771
7772 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7773 (bug#9615).
7774
502f9ebd
CY
77752011-09-27 Chong Yidong <cyd@stupidchicken.com>
7776
7777 * emacs-lisp/package.el (list-packages): Fix echo area message.
7778
7690bdea
LL
77792011-09-27 Leo Liu <sdl.web@gmail.com>
7780
7781 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7782
e2ee6f30
MA
77832011-09-25 Michael Albinus <michael.albinus@gmx.de>
7784
7785 * net/dbus.el (dbus-unregister-object): Don't release services for
7786 registered signals. (Bug#9581)
7787
f3f98342
TZ
77882011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7789
7790 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7791 function that picks between cfengine 2 and 3 support
7792 automatically. Update docs accordingly.
7793
dd7aa8dd
KH
77942011-09-22 Kenichi Handa <handa@m17n.org>
7795
7796 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7797 ZERO.
7798 (indian-itrans-v5-table-for-tamil): New variable.
7799 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7800
3f2b07f8
KM
78012011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7802
7803 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7804 that's true if the current command involved collapsing of text.
7805 It's reset to false at the beginning of the next command.
7806 (allout-post-command-business): Move the cursor to the beginning
7807 of entry if the cursor is hidden and collapsing activity just
7808 happened.
7809
371d6a61
CY
78102011-09-24 Chong Yidong <cyd@stupidchicken.com>
7811
7812 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7813 tracking (Bug#9541).
7814
2ac2721a
UJ
78152011-09-24 Ulf Jasper <ulf.jasper@web.de>
7816
7817 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7818 (newsticker-show-news): Automatically load html rendering package
7819 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7820 because w3m-fill-column is let-bound" and the error "Symbol's value
7821 as variable is void: w3m-fill-column".
2ac2721a 7822
fac7ae53
MA
78232011-09-24 Michael Albinus <michael.albinus@gmx.de>
7824
7825 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7826 Release services only if they are defined. (Bug#9581)
7827
e08b633b
RS
78282011-09-23 Richard Stallman <rms@gnu.org>
7829
e488d29c
RS
7830 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7831 distinguish start of paragraph from start of its text.
7832
19c38752
RS
7833 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7834
e08b633b
RS
7835 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7836 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7837 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7838
0a39f27e
AS
78392011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7840
7841 * international/mule-diag.el (mule-diag): Insert a newline after
7842 each fontset description.
7843
db4e950d
SM
78442011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7845
7846 * simple.el (delete-trailing-whitespace):
7847 Document last change; simplify.
7848
eca3f3ea
PW
78492011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7850
d68e189a
PW
7851 * simple.el (delete-trailing-whitespace): Also delete
7852 extra newlines at the end of the buffer.
7853
eca3f3ea
PW
7854 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7855 (picture-newline): Use forward-line so as to ignore fields.
7856
01c157cc
SM
78572011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7858
7859 * subr.el (with-wrapper-hook): Fix edebug spec.
7860
022de23e
LMI
78612011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7862
7863 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7864 (bug#4538).
7865
91683089
MA
78662011-09-23 Michael Albinus <michael.albinus@gmx.de>
7867
eca3f3ea
PW
7868 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7869 Fix nasty bug using wrong cached values.
91683089 7870
5bdd6fa4
AM
78712011-09-23 Alan Mackenzie <acm@muc.de>
7872
7873 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7874
97adfb97
CY
78752011-09-23 Chong Yidong <cyd@stupidchicken.com>
7876
7877 * window.el (pop-to-buffer): Ensure right window is selected if we
7878 chose another frame.
7879
d4ef2b50
EZ
78802011-09-22 Eli Zaretskii <eliz@gnu.org>
7881
7882 * simple.el (what-cursor-position): Use get-char-property-change
7883 and next-single-char-property-change, to be able to show display
7884 properties that come from overlays as well as text properties.
7885
72258fe5
CY
78862011-09-22 Chong Yidong <cyd@stupidchicken.com>
7887
7888 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7889
7890 * cmuscheme.el (run-scheme, switch-to-scheme):
7891 * cus-edit.el (customize-group, custom-buffer-create)
7892 (customize-browse):
7893 * info.el (info):
7894 * shell.el (shell):
7895 * mail/sendmail.el (mail):
7896 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7897
8f098516
RS
78982011-09-22 Richard Stallman <rms@gnu.org>
7899
7900 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7901 move back only to line beg, don't move back over blank lines.
7902
e74f1bb6
MA
79032011-09-22 Michael Albinus <michael.albinus@gmx.de>
7904
7905 * files.el (copy-directory): Set directory attributes only in case
7906 they could be retrieved from the source directory. (Bug#9565)
7907
bfeef8b6
DK
79082011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7909
7910 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7911 (hs-find-block-beginning, hs-hide-level-recursive):
7912 Ignore strings as well as comments. (Bug#9502)
7913
7e423bb8
AS
79142011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7915
7916 * progmodes/sql.el (sql-comint-postgres):
7917 Convert port number to a string. (Bug#9566)
7918
b4d72fcf
MR
79192011-09-22 Martin Rudalics <rudalics@gmx.at>
7920
7921 * window.el (quit-window): Undedicate window when switching to
7922 previous buffer. Reported by Thierry Volpiatto
7923 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7924 (special-display-popup-frame): When popping up a new frame reset
7925 its previous buffers to nil. Simplify code.
b4d72fcf 7926
a7b88dc6
MA
79272011-09-21 Michael Albinus <michael.albinus@gmx.de>
7928
7929 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7930 and process filter, as done also in `shell-command'.
7931
cf4eacfd
MR
79322011-09-21 Martin Rudalics <rudalics@gmx.at>
7933
eca3f3ea 7934 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7935 Call set-window-start with NOFORCE argument t.
7936 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7937 (quit-window): Reword doc-string. Handle new format of
7938 quit-restore parameter. Don't delete window if it has a
7939 previous buffer we can show instead of the present one.
7940 (display-buffer-record-window): Rewrite using a new format for
7941 the quit-restore window parameter
7942 (special-display-popup-frame, display-buffer-same-window)
7943 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7944 (display-buffer-pop-up-window, display-buffer-use-some-window):
7945 Adapt symbol passed to display-buffer-record-window.
7946 * help.el (help-window-setup): Handle new format of quit-restore
7947 parameter.
7948
8d28cb95
SM
79492011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7950
94ab793f
SM
7951 * faces.el (face-list): Fix docstring (bug#9564).
7952
8d28cb95
SM
7953 * window.el (display-buffer--action-function-custom-type):
7954 Don't include internal functions in the Custom interface.
7955
3820edeb
JL
79562011-09-20 Juri Linkov <juri@jurta.org>
7957
7958 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7959 (Info-forward-node, Info-backward-node, Info-next-preorder)
7960 (Info-last-preorder): Use it. (Bug#9528)
7961
5147931d
JL
79622011-09-20 Juri Linkov <juri@jurta.org>
7963
7964 * info.el (Info-last-preorder): Visit last menu item only when
7965 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7966
cf499a1a
JD
79672011-09-20 Julien Danjou <julien@danjou.info>
7968
7969 * password-cache.el (password-cache-remove): Remove entries even if the
7970 value is nil, so that password with a nil value (negative caching) is
7971 possible to invalidate.
7972
f84e2fe2
LM
79732011-09-20 Lawrence Mitchell <wence@gmx.li>
7974
7975 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7976 all whitespace around breakpoint. (Bug#9553)
7977 (f90-find-breakpoint): Only break at whitespace inside a comment.
7978
78054a46
SM
79792011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7980
7981 * minibuffer.el (completion-file-name-table): Keep track of errors.
7982 (completion-table-with-predicate): Handle the case where pred1 is nil.
7983 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7984
345083b2
SM
79852011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7986
e24e27be
SM
7987 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7988 (debugger-return-value): Signal an error if the debugging context does
7989 not await any return value.
7990
345083b2
SM
7991 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
7992 * image-mode.el (image-toggle-display-text)
7993 (image-toggle-display-image): Stay away from evil `intangible'.
7994
08d355e3
LL
79952011-09-19 Leo Liu <sdl.web@gmail.com>
7996
7997 * replace.el (occur-revert-arguments): Make it permanent-local.
7998 (occur-mode): Don't call font-lock-defontify.
7999
f01da43f
CY
80002011-09-19 Chong Yidong <cyd@stupidchicken.com>
8001
8002 * net/ldap.el (ldap-search-internal): Don't push empty search
8003 result (Bug#9508).
8004
b6072fa6
SM
80052011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8006
8007 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8008
443d6696
MA
80092011-09-19 Michael Albinus <michael.albinus@gmx.de>
8010
8011 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8012 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8013
7cc6e154
JL
80142011-09-18 Juri Linkov <juri@jurta.org>
8015
8016 * buff-menu.el (Buffer-menu-mode-map):
8017 * dired.el (dired-mode-map):
8018 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8019 (lisp-interaction-mode-map):
8020 * emacs-lisp/package.el (package-menu-mode-map):
8021 * epa.el (epa-key-list-mode-map):
8022 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8023 (menu-bar-options-menu):
8024 * outline.el (outline-mode-menu-bar-map):
8025 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8026 * vc/vc-dir.el (vc-dir-menu-map):
8027 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8028 Capitalize non-function content words in menu item strings.
8029
8030 * dired.el (dired-mode-map): Add menu item for
8031 `image-dired-dired-toggle-marked-thumbs'.
8032
80302a81
JL
80332011-09-18 Juri Linkov <juri@jurta.org>
8034
8035 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8036 to `isearch-case-fold-search' and restore its original value
8037 after the `isearch-mode' call.
8038
46c5cf66
JL
80392011-09-18 Juri Linkov <juri@jurta.org>
8040
8041 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8042 because `zgrep' returns 1 for successful matches (bug#9226).
8043
d18b513b
JL
80442011-09-18 Juri Linkov <juri@jurta.org>
8045
8046 * info.el (Info-extract-menu-node-name): Check the second match
8047 for empty string (second test-case of bug#9528).
8048 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8049 intermediate nodes to the history (first test-case of bug#9528).
8050
72753f87
JL
80512011-09-18 Juri Linkov <juri@jurta.org>
8052
8053 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8054 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8055
c9384295
JL
80562011-09-18 Juri Linkov <juri@jurta.org>
8057
1154d12e
JB
8058 * info.el (Info-file-supports-index-cookies):
8059 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8060 outputs one more line for long file names (bug#4142).
c9384295 8061
d473dce8
CY
80622011-09-18 Chong Yidong <cyd@stupidchicken.com>
8063
8064 * newcomment.el (comment-normalize-vars): If prompting for
8065 comment-start, set comment-start-skip too (Bug#8424).
8066
2176854d
JB
80672011-09-18 Johan Bockgård <bojohan@gnu.org>
8068
8069 * icomplete.el: Fix previous fix of Bug#5849.
8070 (icomplete-mode): Don't set completion-show-inline-help.
8071 (icomplete-minibuffer-setup): Set completion-show-inline-help
8072 locally during icompletion.
8073
3aace4e4
CY
80742011-09-18 Chong Yidong <cyd@stupidchicken.com>
8075
c940224f
CY
8076 * woman.el (woman2-process-escapes): Don't delete unrecognized
8077 escapes (Bug#7843).
8078
3aace4e4
CY
8079 * files.el (inhibit-first-line-modes-regexps): Add image files.
8080 (hack-local-variables-prop-line): Return nil for malformed
8081 prop-lines (Bug#9044).
8082
710dec63
MA
80832011-09-18 Michael Albinus <michael.albinus@gmx.de>
8084
8085 * net/tramp.el (top): Don't require 'shell.
8086 (tramp-methods): Fix docstring.
8087 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8088 Return complete remote file name. Handle "smb" case.
8089 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8090 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8091
8092 * net/tramp-compat.el (top): Require 'shell.
8093
8094 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8095 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8096 `tramp-current-host'.
8097 (tramp-get-remote-tmpdir): Remove.
8098
8099 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8100 `tramp-tmpdir' entries.
8101 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8102 (tramp-smb-handle-file-attributes): Ignore errors.
8103 (tramp-smb-wait-for-output): Check also for process end.
8104
5d5ac8ec
LMI
81052011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8106
8107 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8108 when sending QUIT (bug#9312).
8109
8c0f49f0
CY
81102011-09-17 Chong Yidong <cyd@stupidchicken.com>
8111
8112 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8113 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8114 occur-mode-display-occurrence.
8115 (occur-edit-mode): Add usage message.
8116 (occur-cease-edit): New command.
8117 (occur-after-change-function): Use text properties to find the
8118 position of the prefix text.
8119 (occur-engine): Set stickiness of prefix text properties.
8120
8f1383f7
GM
81212011-09-17 Glenn Morris <rgm@gnu.org>
8122
8123 * progmodes/etags.el (complete-tag):
8124 Fix call to completion-in-region. (Bug#9526)
8125
744ba0e3
JL
81262011-09-17 Juri Linkov <juri@jurta.org>
8127
8128 * textmodes/ispell.el (ispell-word): Add to the error message
8129 the word, ispell program name and current dictionary (bug#9121).
8130 (ispell-tex-arg-end): Capitalize "error" in the error message.
8131
d9bbf400
AS
81322011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8133
8134 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8135 check. (Bug#4251)
8136
8da11505
JL
81372011-09-17 Juri Linkov <juri@jurta.org>
8138
8139 * window.el (window-safe-min-height, window-safe-min-width):
8140 Fix typos (followup to bug#9522).
8141
a91adc7e
SJ
81422011-09-17 Sven Joachim <svenjoac@gmx.de>
8143
8144 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8145
064f328a
EZ
81462011-09-16 Eli Zaretskii <eliz@gnu.org>
8147
8148 * simple.el (line-move): If goal-column is set, move by logical
8149 lines, not by display lines. (Bug#971)
8150 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8151 to reflect the above change.
8152
e69df516
SM
81532011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8154
8155 * image.el (imagemagick-register-types): Use regexp-opt.
8156
cbb0f9ab
CY
81572011-09-15 Chong Yidong <cyd@stupidchicken.com>
8158
8159 * window.el (display-buffer-base-action): Rename from
8160 display-buffer-default-action. Make default value empty.
8161 (display-buffer-overriding-action): Convert to defvar.
8162 (display-buffer-fallback-action): New var.
8163
25322144
CY
81642011-09-15 Chong Yidong <cyd@stupidchicken.com>
8165
8166 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8167 declaration.
8168 (package--add-to-archive-contents): If there is a duplicate entry
8169 with an older version, remove it.
8170 (package-menu-mark-delete, package-menu-mark-install)
8171 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8172 (package-menu-mark-obsolete-for-deletion):
8173 Use package-menu-get-status instead of a regexp search.
25322144
CY
8174 (package-menu-get-status): Use tabulated-list-entry.
8175 (package-menu-mark-upgrades): New command.
d770725a 8176 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8177 (package-menu-execute): Do installation before deletion.
8178 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8179 instead of checking major-mode.
8180 (package-menu--find-upgrades): New function.
8181
7520339c
LMI
81822011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8183
8184 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8185 passwords in the log buffer.
65a046c4
LMI
8186 (smtpmail-process-filter): Update the process marker so that the
8187 "broken by peer" status message is inserted in the right place.
7520339c 8188
d3c30954
SM
81892011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8190
3fe48822
SM
8191 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8192 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8193 bibtex-completion-at-point-function.
8194 (bibtex-completion-at-point-function): Use them.
8195
1b8b3954
SM
8196 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8197
d3c30954
SM
8198 * mpc.el (mpc-constraints-tag-lookup): New function.
8199 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8200 also to browser "album|playlist".
8201
72779976
JL
82022011-09-14 Juri Linkov <juri@jurta.org>
8203
8204 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8205 (isearch-edit-string): Use length of `isearch-string' when
8206 `isearch-fail-pos' returns nil.
8207 (isearch-message): Remove duplicate code and call
8208 `isearch-fail-pos' with arg `t'.
8209
a0bf2bcd
CY
82102011-09-14 Chong Yidong <cyd@stupidchicken.com>
8211
17bb0a2d
CY
8212 * replace.el (occur-mode-goto-occurrence): Don't force using other
8213 window (Bug#9499).
8214
a0bf2bcd
CY
8215 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8216
f678e0b6
MR
82172011-09-14 Martin Rudalics <rudalics@gmx.at>
8218
8219 * window.el (display-buffer-window): Remove.
8220 (display-buffer-record-window): Use help-setup window parameter
8221 instead of variable display-buffer-window.
8222 (display-buffer-function, special-display-buffer-names)
8223 (special-display-function): Mention help-setup parameter instead
8224 of display-buffer-window in doc-string.
d3c30954
SM
8225 * help.el (help-window-setup): New argument help-window.
8226 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8227 Reword some messages.
8228 (with-help-window): Pass window used for displaying the buffer
8229 to help-window-setup. Don't set display-buffer-window.
8230
8e39b2e8
GM
82312011-09-13 Glenn Morris <rgm@gnu.org>
8232
8233 * emacs-lisp/debug.el (debugger-make-xrefs):
8234 Preserve point. (Bug#9462)
8235
85e9c04b
CY
82362011-09-13 Chong Yidong <cyd@stupidchicken.com>
8237
8238 * window.el (window-deletable-p): Use next-frame.
8239
1b36ed6a
MR
82402011-09-13 Martin Rudalics <rudalics@gmx.at>
8241
8242 * window.el (window-auto-delete): Remove.
8243 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8244 dedication and previous buffers.
1b36ed6a
MR
8245 (switch-to-prev-buffer): Don't delete window.
8246 (delete-windows-on): Delete a window's frame if and only if the
8247 window is dedicated.
8248 (replace-buffer-in-windows): Delete buffer's window or frame if
8249 and only if window is dedicated.
8250 (quit-window): Handle quit-restore as before last change.
4d61f28d 8251 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8252
ef8ef9fb
CY
82532011-09-13 Chong Yidong <cyd@stupidchicken.com>
8254
8255 * window.el (window-deletable-p): Never delete the last frame on a
8256 given terminal.
8257
b2cba41e
GM
82582011-09-13 Glenn Morris <rgm@gnu.org>
8259
8260 * help.el (describe-key-briefly): Copy previous standard-output change.
8261
51553db6 82622011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8263
8264 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8265
b7556719
GM
82662011-09-13 Glenn Morris <rgm@gnu.org>
8267
8268 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8269 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8270
64b51947
CY
82712011-09-12 Chong Yidong <cyd@stupidchicken.com>
8272
8273 * dired-aux.el (dired-mark-read-string): Don't return default
8274 value on empty input (Bug#9361).
8275 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8276 Omit initial minibuffer contents.
8277 (dired-do-chmod): Signal an error on empty input.
8278 (dired-mark-read-string): Don't return default on empty input.
8279
8280 * files.el (file-modes-symbolic-to-number): Doc fix.
8281
393a301e
SM
82822011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8283
8284 * international/mule-cmds.el (ucs-completions): Remove.
8285 (read-char-by-name): Use complete-with-action instead; add metadata.
8286
fa5660f9
CY
82872011-09-11 Chong Yidong <cyd@stupidchicken.com>
8288
8289 * window.el (display-buffer--action-function-custom-type)
8290 (display-buffer--action-custom-type): New vars.
8291 (display-buffer-alist, display-buffer-default-action)
8292 (display-buffer-overriding-action): Add defcustom types.
8293
4a592f66
CY
8294 * frame.el (delete-other-frames): Doc fix (Bug#276).
8295
73d56dbd
LMI
82962011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8297
8298 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8299
37ac18a3
CY
83002011-09-11 Chong Yidong <cyd@stupidchicken.com>
8301
8302 Change modes that used same-window-* vars to use switch-to-buffer.
8303
8304 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8305 Use switch-to-buffer.
8306
8307 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8308 (customize-browse, custom-buffer-create-other-window):
8309 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8310
8311 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8312 (Info-prev, Info-up, Info-speedbar-goto-node)
8313 (info-display-manual): Use switch-to-buffer.
8314 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8315
8316 * mail/sendmail.el (mail): Use switch-to-buffer.
8317 (mail-recover): Use switch-to-buffer-other-window.
8318
8319 * cmuscheme.el (run-scheme, switch-to-scheme):
8320 * ielm.el (ielm):
8321 * shell.el (shell):
8322 * net/rlogin.el (rlogin):
8323 * net/telnet.el (telnet, rsh):
8324 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8325
10195bd6
AS
83262011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8327
8328 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8329
b322f63a
LMI
83302011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8331
39d7fed6
LMI
8332 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8333 so don't mention it (bug#9301).
ba5a81f1 8334 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8335
ee0e9f11
LMI
8336 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8337 match `x', `w32' and `ns', like the manual says (bug#9029).
8338
0b1c89c1 8339 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8340 (process-kill-buffer-query-function): Mention the buffer name in
8341 the query.
0b1c89c1 8342
77549ea8
LMI
8343 * image-mode.el (image-next-line): The line parameter is mandatory
8344 (bug#9258).
8345
803ef892
LMI
8346 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8347 which can be useful (bug#9301).
8348
12980837
LMI
8349 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8350
91054f8f
LMI
8351 * subr.el (match-string): Mention that the current buffer should
8352 be the same as the search was done in (bug#9282).
8353
b322f63a
LMI
8354 * facemenu.el: Disable the remove-* commands if the mark isn't
8355 active (bug#9162).
8356
3199b96f
CY
83572011-09-10 Chong Yidong <cyd@stupidchicken.com>
8358
8359 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8360 of display-buffer.
8361 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8362
8363 * replace.el (occur-mode-goto-occurrence)
8364 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8365 and display-buffer.
8366
8367 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8368 display-buffer.
8369
8370 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8371 special-display and same-window variables.
8372 (mail-other-window): Use switch-to-buffer-other-window.
8373 (mail-other-frame): USe switch-to-buffer-other-frame.
8374
393a301e
SM
8375 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8376 Use display-buffer-other-frame.
3199b96f
CY
8377 (gdb-display-gdb-buffer): Use pop-to-buffer.
8378
8379 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8380
8381 * progmodes/python.el: Don't set same-window-buffer-names.
8382
8383 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8384
8385 * window.el (display-buffer-alist): Add *Python*.
8386
8319e0bf
CY
83872011-09-10 Chong Yidong <cyd@stupidchicken.com>
8388
8389 * window.el (display-buffer-alist): Add entry for buffers
8390 previously handled same-window-*.
8391 (display-buffer-alist, display-buffer-default-action)
8392 (display-buffer-overriding-action): Mark as risky.
8393 (display-buffer-alist): Document action function changes.
8394 (display-buffer--same-window-action)
8395 (display-buffer--other-frame-action): New variables.
8396 (switch-to-buffer, display-buffer-other-frame): Use them.
8397 (display-buffer): Rename reuse-frame entry to reusable-frames.
8398 (display-buffer-reuse-selected-window): Function deleted.
8399 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8400 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8401 (display-buffer-special): New function.
8402 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8403 display-buffer-reuse-or-pop-window. Split off special-display
8404 part into display-buffer-special.
8405 (display-buffer-use-some-window): Don't perform any special
8406 pop-up-frames handling.
8407 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8408 (display-buffer--maybe-same-window): Rename from
0d3ff375 8409 display-buffer-maybe-same-window.
8319e0bf 8410
919a69aa
CY
8411 * info.el: Don't set same-window-regexps.
8412 (info-setup): New function.
8413 (info-other-window, info): Call it.
8414
8415 * cus-edit.el: Don't set same-window-regexps.
8416 (customize-group): New argument.
8417 (customize-group-other-window): Use it.
8418 (customize-face, customize-face-other-window): Likewise.
8419 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8420
8319e0bf
CY
8421 * net/rlogin.el:
8422 * net/telnet.el:
8423 * progmodes/gud.el: Don't set same-window-regexps.
8424
8425 * cmuscheme.el:
8426 * ielm.el:
8427 * shell.el:
8428 * mail/sendmail.el:
8429 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8430
25173000
JL
84312011-09-10 Juri Linkov <juri@jurta.org>
8432
8433 * isearch.el (isearch-edit-string): Remove obsolete mention of
8434 `C-w' (`isearch-yank-word-or-char') from docstring.
8435 (isearch-query-replace): Fix typo in docstring (bug#9466).
8436
056e44ef
JL
84372011-09-10 Juri Linkov <juri@jurta.org>
8438
8439 * paren.el (show-paren-function): Don't show escaped parens.
8440 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8441
c3760c17
EZ
84422011-09-10 Eli Zaretskii <eliz@gnu.org>
8443
8444 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8445 (mm-default-file-encoding): Remove autoload forms, they are
8446 replaced with autoload cookies in mml.el and mm-encode.el.
8447 (mail-add-attachment): New command.
8448 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8449 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8450 the doc string.
8451 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8452
fece895e
RT
84532011-09-10 Reuben Thomas <rrt@sc3d.org>
8454
e69df516
SM
8455 * simple.el (count-words-region): Use buffer if there's no region
8456 (bug#9429).
fece895e 8457
5e68ce4a
JL
84582011-09-09 Juri Linkov <juri@jurta.org>
8459
8460 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8461 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8462 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8463
0a6b9622
AM
84642011-09-09 Alan Mackenzie <acm@muc.de>
8465
8466 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8467 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8468
14a29deb
EZ
84692011-09-09 Eli Zaretskii <eliz@gnu.org>
8470
8471 Fix for Savannah bug#9392.
8472 * simple.el (mail-encode-mml): New defvar.
8473
8474 * mail/rmail.el (mail-encode-mml): Add a defvar.
8475 (rmail-enable-mime-composing): Default to t.
8476 (rmail-forward): Use MIME method of forwarding only if both
8477 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8478 Set mail-encode-mml non-nil if the MIME method was used.
8479
8480 * mail/sendmail.el (mml-to-mime): Add autoload form.
8481 (mail-encode-mml): Add a defvar.
8482 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8483 to nil.
8484 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8485 message through mml-to-mime, and reset mail-encode-mml to nil.
8486
28c45130
GM
84872011-09-09 Glenn Morris <rgm@gnu.org>
8488
8489 * woman.el (woman-if-body): When processing an .el block,
8490 do not delete the next .el block as well. (Bug#9447)
69f4b618 8491 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8492
9b1c252e
MR
84932011-09-08 Martin Rudalics <rudalics@gmx.at>
8494
8495 * window.el (window-deletable-p): Make sure window is live before
8496 invoking window-prev-buffers.
8497
567457e3
LL
84982011-09-08 Leo Liu <sdl.web@gmail.com>
8499
8500 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8501
97f05794
JL
85022011-09-08 Juri Linkov <juri@jurta.org>
8503
8504 * progmodes/compile.el (compilation-environment): Make it
8505 a defcustom (bug#8340).
8506
8b0874b5
MR
85072011-09-08 Martin Rudalics <rudalics@gmx.at>
8508
8509 * window.el (frame-auto-delete): Rename to window-auto-delete.
8510 Make it control auto-deletion of windows and/or frames.
8511 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8512 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8513 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8514 Rewrite handling of case when window/frame can be deleted.
8515 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8516 argument t. (Bug#9456)
8b0874b5 8517
4feb6e73
CY
85182011-09-07 Chong Yidong <cyd@stupidchicken.com>
8519
8520 * help-mode.el (help-mode): Restore autoload.
8521
91ab9c13
JL
85222011-09-07 Juri Linkov <juri@jurta.org>
8523
8524 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8525 `compilation-environment'. Set buffer-local
8526 `compilation-environment' to `thisenv' later after (funcall mode).
8527 (Bug#8340)
8528
8529 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8530 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8531 instead of replacing its value. (Bug#8340)
8532
0527e251
JL
85332011-09-07 Juri Linkov <juri@jurta.org>
8534
8535 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8536 based on text properties put by `grep-filter' instead of matching
8537 escape sequences.
8538 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8539 to the value of `grep-error-screen-columns' (bug#9438).
8540
249f792c
JL
85412011-09-07 Juri Linkov <juri@jurta.org>
8542
8543 * simple.el (next-error-highlight, next-error-highlight-no-select):
8544 Doc fix (bug#9432).
8545
ff7271b9
OT
85462011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8547
8548 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8549 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8550
183fc730
LL
85512011-09-07 Leo Liu <sdl.web@gmail.com>
8552
8553 * net/rcirc.el (rcirc-mode): Conditionally initialize
8554 rcirc-input-ring.
8555
77694924
SM
85562011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/find-func.el (find-function-C-source): Only set
8559 find-function-C-source-directory after checking that we found a source
8560 file there (bug#9440).
8561
d809b8eb
AM
85622011-09-06 Alan Mackenzie <acm@muc.de>
8563
8564 * isearch.el (isearch-other-meta-char): Wherever a key list is
8565 unread, "unread" the prefix arg, too. This fixes bug #8901.
8566
453de99f
OG
85672011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8568
8569 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8570
90439906
JL
85712011-09-05 Juri Linkov <juri@jurta.org>
8572
8573 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8574
f62bd846
JL
85752011-09-05 Juri Linkov <juri@jurta.org>
8576
8577 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8578 keeping point where processing of grep matches begins, and
8579 continue to delete remaining escape sequences from the same point.
8580 (grep-filter): Make leading zero optional in "0?1;31m" because
8581 git-grep emits "\033[1;31m" escape sequences unlike expected
8582 "\033[01;31m" as GNU Grep does (bug#9408).
8583 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8584
045820ec
JL
85852011-09-05 Juri Linkov <juri@jurta.org>
8586
8587 * subr.el (y-or-n-p): Capitalize "yes".
8588
f5e29b9b
MA
85892011-09-04 Michael Albinus <michael.albinus@gmx.de>
8590
8591 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8592 `tramp-cache-unload-hook' where appropriate.
8593 (tramp-methods): Rename `tramp-remote-sh' to
8594 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8595 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8596
8597 * net/tramp-sh.el (top): Don't require 'shell.
8598 (tramp-methods): Add `tramp-remote-shell' and
8599 `tramp-remote-shell-args' entries.
8600 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8601 (tramp-sh-handle-shell-command): Remove.
8602 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8603 Use `tramp-remote-shell'.
8604
2784c434
CY
86052011-09-03 Chong Yidong <cyd@stupidchicken.com>
8606
393a301e 8607 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8608 (sendmail-query-once): Save directly to send-mail-function.
8609 Update message-send-mail-function too.
8610
8611 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8612
464cdf56
CS
86132011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8614
8615 * progmodes/python.el (python-mode-map): Use correct function to
8616 start python interpreter from menu-bar (as reported by Geert
8617 Kloosterman).
8618 (inferior-python-mode-map): Fix typo.
393a301e 8619 (python-shell-map): Remove.
464cdf56 8620
d37e5c87
DD
86212011-09-03 Deniz Dogan <deniz@dogan.se>
8622
8623 * net/rcirc.el (rcirc-print): Simplify code for
8624 rcirc-scroll-show-maximum-output. There is no need to walk
8625 through all windows to find the right one.
8626
f3ada0ee
CS
86272011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8628
8629 * help.el (help-return-method): Doc fix.
8630
1f3c99ca
MR
86312011-09-03 Martin Rudalics <rudalics@gmx.at>
8632
8633 * window.el (window-deletable-p): Don't return a non-nil value
8634 when there's a buffer that was shown in the window before.
8635 (Bug#9419)
393a301e
SM
8636 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8637 Set window's previous buffers to nil.
1f3c99ca 8638
a3cf097f
EZ
86392011-09-03 Eli Zaretskii <eliz@gnu.org>
8640
8641 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8642 newline before and after the tag line, so it doesn't interfere
8643 with determining the paragraph direction of bidirectional text.
8644
3d03de90
LL
86452011-09-03 Leo Liu <sdl.web@gmail.com>
8646
8647 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8648
c3313451
CY
86492011-09-02 Chong Yidong <cyd@stupidchicken.com>
8650
393a301e 8651 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8652 (pop-to-buffer): Change interactive spec. Pass second argument
8653 directly to display-buffer.
8654 (display-buffer): Fix interactive spec. Use functionp to
8655 distinguish between a function and a list of functions.
8656
8657 * abbrev.el (edit-abbrevs):
8658 * arc-mode.el (archive-extract):
8659 * autoinsert.el (auto-insert):
8660 * bookmark.el (bookmark-bmenu-list):
8661 * files.el (find-file):
8662 * view.el (view-buffer):
8663 * progmodes/compile.el (compilation-goto-locus):
8664 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8665
89894cd8
CY
86662011-09-02 Chong Yidong <cyd@stupidchicken.com>
8667
8668 * window.el (display-buffer-alist): Doc fix.
8669 (display-buffer): Add docstring. Don't treat
8670 display-buffer-default specially.
8671 (display-buffer-reuse-selected-window)
8672 (display-buffer-same-window, display-buffer-maybe-same-window)
8673 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8674 (display-buffer-pop-up-window)
8675 (display-buffer-reuse-or-pop-window)
8676 (display-buffer-use-some-window): New functions.
8677 (display-buffer-default-action): Use them.
393a301e 8678 (display-buffer-default): Delete.
89894cd8
CY
8679 (pop-to-buffer-1): Fix choice of actions.
8680
ae0bc9fb
SM
86812011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * minibuffer.el (completion--insert-strings): Don't get confused by
8684 completion entries that end with an LF char.
8685
e9d90883
EZ
86862011-09-01 Eli Zaretskii <eliz@gnu.org>
8687
8688 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8689
437014c8
CY
86902011-09-01 Chong Yidong <cyd@stupidchicken.com>
8691
8692 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8693 (display-buffer-same-window, display-buffer-other-window):
8694 New functions.
437014c8
CY
8695 (pop-to-buffer-1): New function. Use the above.
8696 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8697 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8698
8699 * view.el (view-buffer-other-window, view-buffer-other-frame):
8700 Just use pop-to-buffer.
8701
a5e063d5
TV
87022011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8703
8704 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8705
793d32bb
WH
87062011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8707
8708 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8709
d65e4c15
RS
87102011-08-31 Richard Stallman <rms@gnu.org>
8711
8712 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8713 of the separation of rmail-view-buffer from rmail-buffer.
8714 If you say no to "replace original", the decrypt is in the
8715 view buffer. If you say yes, the decrypt goes into the
8716 rmail buffer also.
8717
f818cd2a
MR
87182011-08-31 Martin Rudalics <rudalics@gmx.at>
8719
8720 * window.el (display-buffer-window): Rewrite doc-string.
8721 (display-buffer-record-window): New function.
8722 (display-buffer-macro-specifiers)
8723 (display-buffer-even-window-sizes, display-buffer-set-height)
8724 (display-buffer-set-width, display-buffer-in-window)
8725 (display-buffer-reuse-window, display-buffer-split-specifiers)
8726 (display-buffer-side-specifiers, display-buffer-split-window-1)
8727 (display-buffer-split-window, display-buffer-split-atom-window)
8728 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8729 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8730 (display-buffer-other-window-means-other-frame)
8731 (display-buffer-normalize-special)
8732 (display-buffer-normalize-default)
8733 (display-buffer-normalize-argument)
8734 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8735 (display-buffer-normalize-specifiers, display-buffer-frame)
8736 (display-buffer-same-window, display-buffer-same-frame)
8737 (display-buffer-other-window)
8738 (display-buffer-same-frame-other-window)
8739 (display-buffer-other-frame, pop-to-buffer-same-window)
8740 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8741 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8742 (switch-to-buffer-same-frame)
8743 (switch-to-buffer-other-window-same-frame)
8744 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8745 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8746 (display-buffer-alist-set): Remove.
8747 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8748 (special-display-regexps, special-display-function):
8749 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8750 parameter.
8751 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8752 (special-display-frame-alist, special-display-popup-frame)
8753 (same-window-buffer-names, same-window-regexps, same-window-p)
8754 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8755 (split-window-preferred-function, split-height-threshold)
8756 (split-width-threshold, window-splittable-p)
8757 (split-window-sensibly, window--try-to-split-window)
8758 (window--frame-usable-p, even-window-heights)
8759 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8760 (window--display-buffer-2, display-buffer-other-frame):
8761 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8762 (display-buffer-default, display-buffer-assq-regexp): New functions.
8763 (display-buffer-alist): Rewrite doc-string.
8764 (display-buffer-default-action)
8765 (display-buffer-overriding-action): New variables.
8766 (display-buffer, switch-to-buffer): Rewrite.
8767 (pop-to-buffer): Restore Emacs 23 behavior but use
8768 window-normalize-buffer-to-display.
8769 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8770 Restore Emacs 23 behavior but use
8771 window-normalize-buffer-to-switch-to.
8772 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8773 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8774 Rewrite using Emacs 23 options.
f818cd2a 8775
5bc3b51d
MA
87762011-08-31 Michael Albinus <michael.albinus@gmx.de>
8777
8778 * net/tramp.el (tramp-root-regexp): Remove.
8779 (tramp-completion-file-name-regexp-unified)
8780 (tramp-completion-file-name-regexp-separate)
8781 (tramp-completion-file-name-regexp-url): Don't use leading volume
8782 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8783 (tramp-drop-volume-letter): Simplify definition.
8784 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8785
b1a4f8e1
SM
87862011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8789 (bug#9356).
8790
5664fa7b
RT
87912011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8792
b1a4f8e1 8793 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8794
9a45d6c3
JL
87952011-08-29 Juri Linkov <juri@jurta.org>
8796
8797 * isearch.el (isearch-done): Don't display message "Mark saved"
8798 when arg `edit' is non-nil to prevent its flicker in the echo area.
8799
fb87e0fb
CY
88002011-08-28 Chong Yidong <cyd@stupidchicken.com>
8801
8802 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8803 obsolete packages for deletion.
8804
09ac1c2a
CS
88052011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8806
8807 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8808 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8809 view-mode from help-mode.
8810 (help-xref-override-view-map): Remove.
8811 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8812 view-mode is not used anymore.
8813
7a1ff57f
CY
88142011-08-28 Chong Yidong <cyd@stupidchicken.com>
8815
8816 * server.el (server-port): Doc fix.
8817
b9696605
CY
8818 * cus-theme.el (custom-theme-choose-mode): Inherit from
8819 special-mode (Bug#9124).
8820 (custom-theme-choose-mode-map): Add special-mode to parent.
8821
ef8cdf8c
AM
88222011-08-28 Alan Mackenzie <acm@muc.de>
8823
8824 * progmodes/cc-fonts.el
8825 (c-make-font-lock-BO-decl-search-function): New function.
8826 (c-basic-matchers-after - "Fontify the clauses after various
8827 keywords"): Extract the three keyword lists for the 3 erroneous
8828 constructs from the list of four, and use the new function above
8829 in place of an old one.
8830
27de4e20
DD
88312011-08-28 Deniz Dogan <deniz@dogan.se>
8832
8833 * net/rcirc.el (rcirc-insert-prev-input)
8834 (rcirc-insert-next-input): Remove unused argument.
8835
356a3681
SM
88362011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8837
8838 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8839
3fc9b218
AM
88402011-08-27 Alan Mackenzie <acm@muc.de>
8841
8842 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8843 handle function pointer parameters properly.
8844
538a061c
MR
88452011-08-27 Martin Rudalics <rudalics@gmx.at>
8846
8847 * window.el (display-buffer-reuse-window): Fix case where
8848 selected window was reused with non-nil OTHER-WINDOW argument.
8849 (Bug#9381)
8850
35b1c40c
DD
88512011-08-27 Deniz Dogan <deniz@dogan.se>
8852
8853 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8854 oftc's NickServ messages.
8855
2f6a3e79
GM
88562011-08-27 Glenn Morris <rgm@gnu.org>
8857
8858 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8859
7254299e
CY
88602011-08-26 Chong Yidong <cyd@stupidchicken.com>
8861
8862 * emacs-lisp/package.el (package-install): Call package-initialize
8863 if called interactively.
8864
f8ccf167
LL
88652011-08-26 Leo Liu <sdl.web@gmail.com>
8866
8867 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8868
3e8cd5ce
JL
88692011-08-25 Juri Linkov <juri@jurta.org>
8870
8871 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8872 `search-whitespace-regexp' (bug#9364).
8873
93eb7113
JL
88742011-08-25 Juri Linkov <juri@jurta.org>
8875
8876 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8877 `regexp-search-ring' to their global values to protect from
8878 updating by `read-from-minibuffer' (bug#9185).
8879
f65d1611
JL
88802011-08-25 Juri Linkov <juri@jurta.org>
8881
8882 * textmodes/ispell.el (ispell-command-loop): Add newline
8883 at the end of the "Use option `i'..." line.
8884
f1cf7a31
JL
88852011-08-25 Juri Linkov <juri@jurta.org>
8886
8887 * battery.el (display-battery-mode): If `battery-status-function'
8888 or `battery-mode-line-format' is nil, display the message and set
8889 `display-battery-mode' to nil (bug#9363).
8890
0c95fcf7
EZ
88912011-08-25 Eli Zaretskii <eliz@gnu.org>
8892
8893 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8894 bidi-string-mark-left-to-right; they are unnecessary now.
8895
a2ebe600
DD
88962011-08-25 Deniz Dogan <deniz@dogan.se>
8897
8898 * net/quickurl.el: Documentation typo fixes.
8899
e4ed06f1
CY
89002011-08-25 Chong Yidong <cyd@stupidchicken.com>
8901
8902 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8903
e5f1c99e
GM
89042011-08-25 Glenn Morris <rgm@gnu.org>
8905
b2948976
GM
8906 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8907
e5f1c99e
GM
8908 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8909 (smtpmail-via-smtp): Handle nil response from smtp.
8910
f22f4808
JL
89112011-08-24 Juri Linkov <juri@jurta.org>
8912
8913 * proced.el (proced-marked): Inherit from `error' instead of
8914 `font-lock-warning-face'.
8915
8916 * ibuffer.el (ibuffer-marked-face): Change default face from
8917 `font-lock-warning-face' to `warning'.
8918 (ibuffer-deletion-face): Change default face from
8919 `font-lock-type-face' to `error'.
8920
8921 * battery.el (battery-update): Use the face `error' instead of
8922 `font-lock-warning-face' (bug#6117).
8923
6a93965e
JL
89242011-08-24 Juri Linkov <juri@jurta.org>
8925
8926 * faces.el (success): Change face color from "Green3" to
8927 "ForestGreen" on light background (bug#9353).
8928
1ed43b09
CY
89292011-08-24 Chong Yidong <cyd@stupidchicken.com>
8930
5664fa7b
RT
8931 * window.el (quit-window): Rename from quit-restore-window.
8932 Use same arglist as old quit-window.
1ed43b09
CY
8933 (frame-auto-delete): Doc fix.
8934
8935 * view.el (view-mode-exit): Use quit-window.
8936
11dcdbb2
JL
89372011-08-24 Juri Linkov <juri@jurta.org>
8938
8939 * isearch.el (isearch-ring-adjust1): Start visiting previous
8940 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8941 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8942 for empty search string (when the last search string is reused
8943 automatically) to adjust the isearch ring to the last element and
8944 prepare the correct index for further M-p commands (bug#9185).
8945
de62b4df
KH
89462011-08-24 Kenichi Handa <handa@m17n.org>
8947
8948 * international/ucs-normalize.el: If decomposition property of
8949 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8950 nil.
8951 (nfd, nfkd): Likewise.
8952
963b492b
SM
89532011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8954
8955 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8956 from process filters aren't reliably transmitted to the surrounding
8957 accept-process-output.
8958 (mpc-proc-check): New function.
8959 (mpc-proc-sync): Use it (bug#8293)
8960
93b6b5e1
SM
89612011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8962
8963 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8964 Add compatibility functions (bug#9313).
8965
bca633fb
EZ
89662011-08-23 Eli Zaretskii <eliz@gnu.org>
8967
b177498a
EZ
8968 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8969
6df6ae42 8970 * international/uni-bidi.el: Regenerate.
bca633fb 8971
0902a04e
KH
89722011-08-23 Kenichi Handa <handa@m17n.org>
8973
8974 * international/charprop.el:
8975 * international/uni-bidi.el:
8976 * international/uni-category.el:
8977 * international/uni-combining.el:
8978 * international/uni-comment.el:
8979 * international/uni-decimal.el:
8980 * international/uni-decomposition.el:
8981 * international/uni-digit.el:
8982 * international/uni-lowercase.el:
8983 * international/uni-mirrored.el:
8984 * international/uni-name.el:
8985 * international/uni-numeric.el:
8986 * international/uni-old-name.el:
8987 * international/uni-titlecase.el:
8988 * international/uni-uppercase.el: Regenerate.
8989
3bbf23bc
MR
89902011-08-23 Martin Rudalics <rudalics@gmx.at>
8991
8992 * help.el (help-window-setup): Fix message displayed when other
8993 window is reused. (Bug#9341)
8994
b3fd59bd
SM
89952011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8996
1802e444
SM
8997 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
8998 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
8999
b3fd59bd
SM
9000 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9001 Mark obsolete.
9002 * shell.el (shell-parse-pcomplete-arguments): New function.
9003 (shell-completion-vars): Use it instead (bug#9160).
9004
4eb61348
SM
90052011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9006
867cab74
SM
9007 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9008 strings and comments (bug#9333).
9009
4eb61348
SM
9010 * emacs-lisp/debug.el (debug-arglist): New function.
9011 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9012 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9013
262a1439
JL
90142011-08-22 Juri Linkov <juri@jurta.org>
9015
56ee679c
JL
9016 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9017 Revert regexp that highlights output switches to its old
9018 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9019
262a1439
JL
9020 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9021 to check for empty output (bug#9226).
9022
f13f86fb
CY
90232011-08-22 Chong Yidong <cyd@stupidchicken.com>
9024
9025 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9026 symbol-constituent as the default, as that stops font-lock from
9027 working properly (Bug#8843).
9028
c65c9622
LMI
90292011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9030
9031 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9032 `coding-system-for-*' around the process open call to avoid
9033 auth-source side effects.
e7f2c178 9034 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9035 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9036 probe hangs.
c65c9622 9037
23a8a5ab
CY
90382011-08-21 Chong Yidong <cyd@stupidchicken.com>
9039
ff98b2dd
CY
9040 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9041
23a8a5ab
CY
9042 * emacs-lisp/find-func.el (find-function-noselect): New arg
9043 lisp-only.
9044
9045 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9046 signal an error for built-in functions (Bug#6664).
9047
f5e3c598
LMI
90482011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9049
9050 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9051 (smtpmail-try-auth-methods): Use it.
9052
a3f2468a
CY
90532011-08-21 Chong Yidong <cyd@stupidchicken.com>
9054
2c34e8da
CY
9055 * font-lock.el (font-lock-fontify-region)
9056 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9057 (font-lock-default-unfontify-buffer)
9058 (font-lock-default-fontify-region)
9059 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9060
b3fd59bd
SM
9061 * progmodes/compile.el (compilation-error-properties):
9062 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9063 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9064 `ant' regexp.
ee31aabc 9065
a3f2468a
CY
9066 * net/browse-url.el (browse-url-firefox): Don't call
9067 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9068
8e999f70
GM
90692011-08-20 Glenn Morris <rgm@gnu.org>
9070
c21a496a
GM
9071 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9072
59ee0542
GM
9073 * tutorial.el (tutorial--default-keys): Update some default bindings.
9074
8e999f70
GM
9075 * files.el (hack-local-variables): Fully ignore case for "mode:".
9076
e3715033
AM
90772011-08-20 Alan Mackenzie <acm@muc.de>
9078
9079 Resolve invalid use of a regexp in regexp-opt.
9080
4d61f28d
JB
9081 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9082 detection for a java annotation.
e3715033 9083
4d61f28d 9084 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9085 detection for a java annotation.
9086
4d61f28d
JB
9087 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9088 handling for java.
e3715033
AM
9089 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9090
04ed2e9c
CY
90912011-08-20 Chong Yidong <cyd@stupidchicken.com>
9092
9093 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9094 (Bug#9274).
9095
826cee64
AM
90962011-08-20 Alan Mackenzie <acm@muc.de>
9097
58179cce 9098 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9099 such a construct. Mainly for when jit-lock etc. starts a chunk
9100 here.
9101
58179cce 9102 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9103 variable.
58179cce 9104 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9105 c-make-font-lock-search-function.
9106 (c-make-font-lock-search-function): Use the above function.
9107 (c-make-font-lock-context-search-function): New function.
9108 (c-cpp-matchers): Enhance the preprocessor expression case with
9109 the above function
9110 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9111 which takes an expression.
9112
9113 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9114
13009bd8
MR
91152011-08-20 Martin Rudalics <rudalics@gmx.at>
9116
9117 * window.el (display-buffer-reuse-window)
9118 (display-buffer-pop-up-window): Don't reuse or split a side
9119 window.
9120
9234ff7f
GM
91212011-08-19 Glenn Morris <rgm@gnu.org>
9122
9123 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9124 Downcase "Mode:". (Bug#9331)
9234ff7f 9125
f635daa1
CY
91262011-08-18 Chong Yidong <cyd@stupidchicken.com>
9127
9128 * international/characters.el: Add L and R categories.
9129
9130 * subr.el (bidi-string-mark-left-to-right): Rename from
9131 string-mark-left-to-right. Use category search.
9132
9133 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9134
bc987f8b
JL
91352011-08-18 Juri Linkov <juri@jurta.org>
9136
9137 * faces.el (error, warning, success): New faces with definitions
9138 copied from old default values of `font-lock-warning-face',
9139 `compilation-warning', `compilation-info' (bug#6117).
9140
9141 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9142
9143 * progmodes/compile.el (compilation-error): Inherit from `error'.
9144 (compilation-warning): Inherit from `warning'.
9145 (compilation-info): Inherit from `success'.
9146
9147 * dired.el (dired-marked): Inherit from `warning'.
9148 (dired-flagged): Inherit from `error'.
9149
57173b96
LMI
91502011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9151
3e79eb87
LMI
9152 * mail/smtpmail.el (auth-source): Require to avoid problems with
9153 binding variables (bug#9298). Also clean up some unused
9154 autoloads.
9155
b3fd59bd
SM
9156 * net/network-stream.el (network-stream-open-starttls):
9157 Support using starttls.el without using gnutls-cli.
57173b96 9158
02b404de
JL
91592011-08-17 Juri Linkov <juri@jurta.org>
9160
9161 * progmodes/grep.el (rgrep): Handle the case when
9162 `grep-find-command' is a cons cell (bug#9278).
9163
8c9177f2
MR
91642011-08-17 Martin Rudalics <rudalics@gmx.at>
9165
9166 * window.el (display-buffer-pop-up-frame): Run frame creation
9167 function with BUFFER current (as special-display-popup-frame
9168 does). Reported by Drew Adams.
9169
3644a0ab
DU
91702011-08-17 Daiki Ueno <ueno@unixuser.org>
9171
9172 * epa-mail.el: Simplify GnuPG group expansion using
9173 epg-expand-group.
9174 (epa-mail-group-alist, epa-mail-group-modtime)
9175 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9176 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9177 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9178 Remove.
9179
5e617bc2 91802011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9181
9182 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9183
9c4aeabf
AM
91842011-08-16 Alan Mackenzie <acm@muc.de>
9185
9186 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9187 Correct, to avoid the inside of macros.
9188
3a99bf64
RS
91892011-08-16 Richard Stallman <rms@gnu.org>
9190
04963aa8
RS
9191 * epa-mail.el: Handle GnuPG group definitions.
9192 (epa-mail-group-alist, epa-mail-group-modtime)
9193 (epa-mail-gnupg-conf-file): New variables.
9194 (epa-mail-parse-groups, epa-mail-sync-groups)
9195 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9196 (epa-mail-expand-recipients): New functions.
9197 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9198
177549d0
RS
9199 * mail/rmail.el (rmail-epa-decrypt): New command.
9200
fe38beef
RS
9201 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9202 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9203 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9204 (epa-decrypt-armor-in-region): Make error message clearer.
9205
934eacb9
SM
92062011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9207
9208 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9209 and "a2b" to "ab" for `prefix'.
9210
d024fb4e
CY
92112011-08-14 Chong Yidong <cyd@stupidchicken.com>
9212
9213 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9214 filter groups.
de148fee
CY
9215 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9216 Fourquet (Bug#8804).
d024fb4e 9217
62f1ca49
JB
92182011-08-12 Juanma Barranquero <lekktu@gmail.com>
9219
9220 * startup.el (argi): Declare as global variable (bug#9275).
9221
9ccaaa4b
CY
92222011-08-12 Chong Yidong <cyd@stupidchicken.com>
9223
9224 * subr.el (string-mark-left-to-right): Search the entire string
9225 for RTL script, not just the terminating character. Doc fix.
9226
a3dae87a
SM
92272011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9228
6cd18349
SM
9229 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9230 New function.
9231 (js--regexp-literal, js-syntax-propertize-function): Remove.
9232 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9233 (js-mode-map): Don't rebind electric keys.
9234 (js-insert-and-indent): Remove.
9235 (js-mode): Setup electric-layout and electric-indent instead.
9236
a3dae87a
SM
9237 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9238
9d5cb631
DU
92392011-08-12 Daiki Ueno <ueno@unixuser.org>
9240
9241 * epa.el (epa-progress-callback-function): Fix the logic of
9242 displaying progress.
9243 * epa-file.el (epa-file-insert-file-contents): Make progress
9244 display more user-friendly.
9245 (epa-file-write-region): Ditto.
9246
3e26a4a2
CY
92472011-08-10 Chong Yidong <cyd@stupidchicken.com>
9248
9249 * subr.el (string-mark-left-to-right): New function.
9250
9251 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9252 Use string-mark-left-to-right.
9253 (list-buffers-noselect): Caller changed.
9254
a3dae87a
SM
9255 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9256 Use string-mark-left-to-right.
3e26a4a2
CY
9257 (tabulated-list-print): Recenter after moving point.
9258
ac8cf6e6
JL
92592011-08-10 Juri Linkov <juri@jurta.org>
9260
9261 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9262 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9263 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9264
8d96c9a4
CY
92652011-08-09 Chong Yidong <cyd@stupidchicken.com>
9266
9267 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9268 (Bug#7554).
9269
7be1c708 92702011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9271
9272 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9273 character. (Bug#6594)
9274
37e11a63
CY
92752011-08-08 Chong Yidong <cyd@stupidchicken.com>
9276
839dde57
CY
9277 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9278 (image-dired--with-db-file): New macro.
9279 (image-dired-write-tags, image-dired-remove-tag)
9280 (image-dired-create-gallery-lists, image-dired-write-comments)
9281 (image-dired-get-comment, image-dired-mark-tagged-files)
9282 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9283 (image-dired-gallery-generate): Use insert-file-contents.
9284
37e11a63
CY
9285 * time.el (display-time-world-list, display-time-world-display):
9286 * time-stamp.el (time-stamp-string):
9287 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9288 set-time-zone-rule (Bug#7337).
9289
0b4946c4
DU
92902011-08-08 Daiki Ueno <ueno@unixuser.org>
9291
9292 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9293 (epg-error-to-string, epg-errors-to-string): New function.
9294 (epg-wait-for-completion): Reverse errors list.
9295 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9296 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9297 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9298 (epg-sign-keys, epg-generate-key-from-file)
9299 (epg-generate-key-from-string): Format errors by using
9300 epg-errors-to-string (bug#9255).
9301 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9302
75bfc667
JL
93032011-08-07 Juri Linkov <juri@jurta.org>
9304
9305 * faces.el (list-faces-display): Remove extra angle bracket
9306 from `help-mode-map'.
9307
9308 * info.el (Info-history-toc-nodes): Doc fix.
9309
9310 * longlines.el (longlines-mode): Doc fix.
9311
673e08bb
SM
93122011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9313
4640dd88
SM
9314 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9315 of statements and in a few more cases (bug#9183).
9316
673e08bb
SM
9317 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9318 New functions.
9319 (cl-transform-lambda): Use them (bug#9239).
9320
89b3f019
MR
93212011-08-05 Martin Rudalics <rudalics@gmx.at>
9322
9323 * window.el (display-buffer-same-window)
9324 (display-buffer-same-frame, display-buffer-other-window)
9325 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9326 (pop-to-buffer-other-window)
9327 (pop-to-buffer-same-frame-other-window)
9328 (pop-to-buffer-other-frame): Make them defuns.
9329 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9330
640c8776
SM
93312011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * subr.el (make-composed-keymap): Move from C. Change calling
9334 convention, and improve docstring to bring attention to a subtle point.
9335 * minibuffer.el (completing-read-default): Adjust accordingly.
9336
63648a95
MA
93372011-08-03 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9340 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9341
9342 * net/trampver.el: Update release number.
9343
b796c9b7
SM
93442011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9345
9346 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9347 "in" (bug#9190).
9348
2239d7d5
LMI
93492011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9350
e07dd7c3
LMI
9351 * mail/sendmail.el (sendmail-query-once): Restore the current
9352 buffer after querying (bug#9074).
9353
0e6a2bd7
LMI
9354 * dired.el (dired-flagged): Use different faces for marked and
9355 flagged files (bug#6117).
9356
ce887515
LMI
9357 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9358 (bug#4433).
9359
92f2affc
LMI
9360 * ido.el (ido-mode): Switch off the message if called
9361 non-interactively.
9362
57d5aff0
LMI
9363 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9364 before 587, since it appears that that's more likely to work for
9365 more people.
9366
98cd6c18 9367 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9368 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9369 exist.
9370
b96dec83
LMI
9371 * info.el: Remove the `Info-beginning-of-buffer' function
9372 (bug#8325).
9373
b796c9b7
SM
9374 * net/network-stream.el (network-stream-open-starttls):
9375 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9376
d90e2ea0
MR
93772011-08-01 Martin Rudalics <rudalics@gmx.at>
9378
9379 * window.el (display-buffer-in-window): Don't set dedicated status
9380 of window here (Bug#9215).
9381 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9382 (display-buffer-pop-up-side-window)
b796c9b7 9383 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9384
cca09170
SM
93852011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9388 before binding generated-autoload-file.
9389
027b979c
DD
93902011-08-01 Deniz Dogan <deniz@dogan.se>
9391
9392 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9393
3c7ee4f3
MA
93942011-07-30 Michael Albinus <michael.albinus@gmx.de>
9395
9396 Sync with Tramp 2.2.2.
9397
9398 * net/trampver.el: Update release number.
9399
2cc8e51a
JL
94002011-07-30 Juri Linkov <juri@jurta.org>
9401
9402 * dired-aux.el (dired-touch-initial): Remove function.
9403 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9404 current time, and `default' to the last modification time of the
9405 current marked file (bug#6887).
9406
a514d856
JM
94072011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9408
9409 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9410 numeric argument to read-number (bug#9163).
a514d856 9411
8a7eddd7
MA
94122011-07-27 Michael Albinus <michael.albinus@gmx.de>
9413
9414 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9415 connection process, it could be nil.
9416
1ddd96f5
LL
94172011-07-27 Leo Liu <sdl.web@gmail.com>
9418
9419 Simplify url handling in rcirc-mode.
9420
9421 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9422 (rcirc-browse-url-at-mouse): Remove.
9423 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9424
b248a85d
AM
94252011-07-26 Alan Mackenzie <acm@muc.de>
9426
9427 Fontify bitfield declarations properly.
9428
9429 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9430 (c-symbol-chars): Now exported as a lang variable.
9431 (c-not-primitive-type-keywords): New lang variable.
9432
9433 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9434 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9435 parsed as a bitfield declaration.
b248a85d 9436
b796c9b7
SM
9437 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9438 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9439 (c-punctuation-in): New function.
9440 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9441 declarations properly.
9442
68575ab0
UJ
94432011-07-26 Ulf Jasper <ulf.jasper@web.de>
9444
9445 * calendar/icalendar.el (icalendar--all-events): Take care of
9446 multiple vcalendars in a single file.
b796c9b7 9447 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9448
0f0a88b9
DD
94492011-07-25 Deniz Dogan <deniz@dogan.se>
9450
9451 * image.el (insert-image): Clarifying docstring.
9452
0b3f36df
MA
94532011-07-24 Michael Albinus <michael.albinus@gmx.de>
9454
9455 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9456 `tramp-send-command-and-check' if there is no error.
9457 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9458
a9901f61
AM
94592011-07-22 Alan Mackenzie <acm@muc.de>
9460
9461 Prevent cc-langs.elc being loaded at run time.
9462
9463 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9464 cc-langs.
9465
4d61f28d 9466 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9467 "(require 'cc-langs)". Quote a form so it will evaluate at
9468 (cc-mode's) compilation time.
9469
11d074b2
MA
94702011-07-22 Michael Albinus <michael.albinus@gmx.de>
9471
9472 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9473 loading. (Bug#9114)
9474
938b94c8
MR
94752011-07-21 Martin Rudalics <rudalics@gmx.at>
9476
9477 * window.el (display-buffer-pop-up-window)
9478 (display-buffer-pop-up-side-window)
9479 (display-buffer-in-side-window): Call display-buffer-set-height
9480 and display-buffer-set-width after setting the new window's
b796c9b7 9481 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9482
bfa4f190
SS
94832011-07-20 Sam Steingold <sds@gnu.org>
9484
9485 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9486 (etags-tags-included-tables): Call `convert-standard-filename' on
9487 the file names contained in TAGS so that windows Emacs can handle
9488 TAGS files created by cygwin ctags.
9489
8ca42262
LMI
94902011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9491
9492 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9493 which apparently didn't work.
9494
5db2afd2 94952011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9496
5db2afd2
RW
9497 * proced.el (proced-send-signal): For *Marked Processes* buffer
9498 put point at beginning of buffer.
9499
92e15d10
SB
95002011-07-19 Stephen Berman <stephen.berman@gmx.net>
9501
9502 * proced.el (proced-format): Make header lines align with the text
9503 (bug#1779).
9504
1bfd59e5
LMI
95052011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9506
9507 * view.el (view-buffer): Allow running in `special' modes if we're
9508 visiting a file (bug#8615).
9509
f5aae37c
MR
95102011-07-19 Martin Rudalics <rudalics@gmx.at>
9511
9512 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9513 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9514 New functions.
f5aae37c
MR
9515 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9516 more accurately.
9517
bf2c1571
AM
95182011-07-18 Alan Mackenzie <acm@muc.de>
9519
9520 Fontify declarators properly when, e.g., a jit-lock chunk begins
9521 inside a declaration.
9522
9523 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9524
b796c9b7
SM
9525 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9526 New function.
bf2c1571
AM
9527 (c-complex-decl-matchers): Insert reference to
9528 c-font-lock-enclosing-decls.
9529
9530 * progmodes/cc-engine.el (c-backward-single-comment):
9531 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9532 to nil around calls to (forward-comment -1).
9533
4e190b80
LMI
95342011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9535
12dc863d
LMI
9536 * image.el (put-image): Doc typo fix.
9537
a762e966
LMI
9538 * progmodes/etags.el (tags-search): Doc typo fix.
9539
4e190b80
LMI
9540 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9541 password if we get errors 550 to 554.
9542
f019fb21
LMI
95432011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9544
b796c9b7 9545 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9546
81746738
LMI
9547 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9548 indentation character (bug#6380).
9549
3ee3a1b5
LMI
9550 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9551
c82f64de
LMI
9552 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9553 to clarify what the problem is (bug#4291).
9554
f019fb21
LMI
9555 * simple.el (current-kill): Clarify what
9556 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9557 (auto-fill-mode): Document `auto-fill-function' in relation to
9558 `auto-fill-mode' (bug#2470).
f019fb21 9559
0794775d
LM
95602011-07-16 Lawrence Mitchell <wence@gmx.li>
9561
9562 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9563 method if slot is read-only (bug#9035).
9564
be39b8cc
MR
95652011-07-16 Martin Rudalics <rudalics@gmx.at>
9566
b796c9b7 9567 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9568 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9569 selected before, see discussion of (Bug#8615), (Bug#6954).
9570 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9571
6ccf7859
GM
95722011-07-15 Glenn Morris <rgm@gnu.org>
9573
9574 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9575 Respect help-form.
6ccf7859 9576
87e86684
LM
95772011-07-09 Lawrence Mitchell <wence@gmx.li>
9578
9579 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9580 (gnutls-negotiate): Use it.
9581
d6066239
LMI
95822011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9583
b796c9b7
SM
9584 * net/gnutls.el (gnutls-negotiate):
9585 Upcase `gnutls-algorithm-priority'.
d6066239 9586
bd23ebc0
GM
95872011-07-15 Glenn Morris <rgm@gnu.org>
9588
c65bca65
GM
9589 * jka-compr.el (jka-compr-verbose): Move from here...
9590 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9591 Add missing :version tag.
9592 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9593
478615cc
LMI
95942011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9595
7b41decb
LMI
9596 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9597 (gnutls-negotiate): Use it.
9598
dbc44fcd
LMI
9599 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9600
06789f97
LMI
9601 * info.el (Info-beginning-of-buffer): New command.
9602 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9603 announcing `b' as the key (bug#8325).
ab896c37 9604 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9605
c39da690
LMI
9606 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9607
3aa5f34b
LMI
9608 * international/mule-cmds.el
9609 (describe-specified-language-support): Make the error message
9610 clearer (bug#8905).
9611
4bf0979f
LMI
9612 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9613
478615cc
LMI
9614 * isearch.el (isearch-barrier): Add a doc string, since it's
9615 mentioned in a function doc string (bug#8678).
9616
75c68aa1
MR
96172011-07-15 Martin Rudalics <rudalics@gmx.at>
9618
9619 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9620 buffer argument (Bug#9083) and self-identifying label argument.
9621
a7c33da2
GM
96222011-07-15 Glenn Morris <rgm@gnu.org>
9623
9624 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9625
2f5c6024
LMI
96262011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9627
9628 * man.el (Man-fontify-manpage): Fix message when formatting the
9629 man page (bug#7929).
9630
0bb23927 96312011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9632
9633 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9634 argument LRM; if non-nil, append an invisible LRM character to the
9635 buffer name.
9636 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9637 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9638 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9639 paragraph direction.
cce4b0a7 9640
621ef9ab
LMI
96412011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9642
d1583c48
LMI
9643 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9644 the man page name (bug#7929).
9645
6a57fb5f
LMI
9646 * image.el (put-image): Mention the `put-image' overlay property
9647 (bug#7834).
9648
d7956b14
LMI
9649 * scroll-bar.el (set-scroll-bar-mode): Mention that
9650 `scroll-bar-mode' lists the values (bug#7772).
9651
5b2d4a66
LMI
9652 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9653 command (bug#7729).
9654
7509a874
LMI
9655 * rect.el (apply-on-rectangle): Return the point after the last
9656 operation.
9657 (string-rectangle): Go to the point after the last operation
9658 (bug#7522).
9659
4fe74b19
LMI
9660 * printing.el (pr-toggle-region): Clarify the documentation
9661 slightly (bug#7493).
9662
b796c9b7
SM
9663 * time.el (display-time-update):
9664 Allow `display-time-mail-function' to return nil (bug#7158).
9665 Fix suggested by Detlev Zundel.
ab283561 9666
fc233c9d
LMI
9667 * vc/diff.el (diff): Clarify the order the file names are read
9668 (bug#7111).
9669
43f5740b
LMI
9670 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9671 the doc string (bug#7015).
9672
f2182a76
LMI
9673 * font-lock.el (font-lock-maximum-decoration): Mention what
9674 numeric levels mean (bug#6935).
9675
621ef9ab
LMI
9676 * startup.el (initial-buffer-choice): Don't mention the `none'
9677 selection, which is against policy.
9678
adc47434
MR
96792011-07-14 Martin Rudalics <rudalics@gmx.at>
9680
b796c9b7
SM
9681 * window.el (display-buffer-normalize-special):
9682 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9683
7e5bfb8f
EZ
96842011-07-14 Eli Zaretskii <eliz@gnu.org>
9685
9686 * subr.el (version<, version<=, version=): Mention "-CVS" and
9687 "-12345" alpha version numbers.
9688
27fa387a
CY
96892011-07-14 Chong Yidong <cyd@stupidchicken.com>
9690
9691 * bindings.el: Add advertised binding for set-mark-command
9692 (Bug#5772).
9693
8bdfa064
CY
96942011-07-14 Chong Yidong <cyd@stupidchicken.com>
9695
9696 * bindings.el (mode-line-other-buffer):
9697 * bookmark.el (bookmark-bmenu-2-window):
9698 * bs.el (bs-cycle-next, bs-cycle-previous):
9699 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9700 switch-to-buffer.
9701
9702 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9703 Delete.
8bdfa064 9704
5eba16a3
JB
97052011-07-14 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * follow.el (follow-debug-message, follow-redisplay):
9708 * jka-cmpr-hook.el (with-auto-compression-mode):
9709 Fix typos in docstrings.
9710
15853710
LMI
97112011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9712
a28e4607
LMI
9713 * subr.el (with-silent-modifications): Clarify somewhat what the
9714 macro inhibits (bug#6525).
9715
15853710
LMI
9716 * simple.el (eval-expression): Note what it does if called
9717 interactively (bug#6495).
9718
bee0fcef
CY
97192011-07-13 Chong Yidong <cyd@stupidchicken.com>
9720
b796c9b7
SM
9721 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9722 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9723
9724 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9725 Remove switch-to-buffer.
9726
58274504
LMI
97272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9728
bd2fcc8d
LMI
9729 * files.el (make-directory): Clarify that an error will be raised
9730 if there's an error (bug#6397).
9731
0f04b32c
LMI
9732 * startup.el (initial-buffer-choice): Add `none' as a choice
9733 (bug#6234).
9734
465c5fc8
LMI
9735 * subr.el (add-hook): Clarify section about buffer-local hooks
9736 (bug#6218).
9737
58274504
LMI
9738 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9739
bead9a43
JB
97402011-07-13 Juanma Barranquero <lekktu@gmail.com>
9741
9742 * tabify.el (untabify): Preserve the current column so that point
9743 doesn't move (bug#6032).
9744
3af98a7b
LMI
97452011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9746
b796c9b7
SM
9747 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9748 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9749
6240145a
GM
97502011-07-13 Glenn Morris <rgm@gnu.org>
9751
9752 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9753 (dired-insert-directory): Give a message the first time
9754 if ls is found not to support --dired.
9755
1d8c2ccc
LMI
97562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9757
9758 * simple.el (toggle-truncate-lines): Clarify what is toggled
9759 (bug#5580). Text by Drew Adams.
9760
5fc4038e
CY
97612011-07-13 Chong Yidong <cyd@stupidchicken.com>
9762
9763 * simple.el (blink-matching-open): Make the error message from the
9764 last change less verbose.
9765
bf6012e5
DN
97662011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9767
9768 * font-lock.el (font-lock-comment-face): Use the high contrast
9769 "yellow" color for font-lock-comment-face on low color terminals
9770 using a dark background color (bug#4221).
9771
343c3b5a
LMI
97722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773
7e9505c5
LMI
9774 * dired.el (dired-insert-set-properties): Make the doc string
9775 reflect what it does now (bug#5325).
9776
c26fdcf5
LMI
9777 * simple.el (blink-matching-open): Say that we were unable to find
9778 the match within the limit, if we're limited (bug#5122).
9779
bb388cc5
LMI
9780 * international/mule-cmds.el (prefer-coding-system): Add an
9781 example (bug#4869).
9782
343c3b5a
LMI
9783 * progmodes/etags.el (tags-search): Document `file-list-form'
9784 (bug#4731).
9785
2a517d45
LM
97862011-07-13 Lawrence Mitchell <wence@gmx.li>
9787
9788 * net/browse-url.el (browse-url-default-browser)
9789 (browse-url-browser-function): Make the default browser choice a
9790 bit more logical (bug#4300). Also clean up the doc string.
9791
b6c78ef2
JB
97922011-07-13 Juanma Barranquero <lekktu@gmail.com>
9793
9794 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9795 binary endings (bug#4440).
9796
1c4dd947
LMI
97972011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9798
a2014063
LMI
9799 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9800 which can be pretty annoying (bug#8971).
9801
9c9c2d88
LMI
9802 * jka-compr.el (jka-compr-verbose): New variable, and use
9803 throughout (bug#8971).
9804
1c4dd947
LMI
9805 * info.el (Info-find-file): Fall back on the installation
9806 directory if we can't find the info node anywhere else.
9807
a1c9f41b
SO
98082011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9809
9810 * vc/vc.el (vc-revert-file):
9811 Don't set file time-stamp in the past. (Bug#5181)
9812
536f3d36
LMI
98132011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9814
7152b011
LMI
9815 * files.el (after-find-file): Give a better error message when
9816 trying to find a symlink that points to a file that doesn't exist
9817 (bug#4398).
9818
536f3d36
LMI
9819 * progmodes/cc-vars.el: Remove (probably) misleading comment
9820 (bug#4396).
9821
460c0fba
JB
98222011-07-12 Johan Bockgård <bojohan@gnu.org>
9823
9824 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9825
7a6bda45
CY
98262011-07-12 Chong Yidong <cyd@stupidchicken.com>
9827
9828 * mouse-sel.el: Hack restoring functionality, while keeping
9829 compatibility with 2010-07-03 changes to mouse selection.
9830 (mouse-sel-primary-overlay): New var.
9831 (mouse-sel-selection-alist): Use it.
9832 (mouse-sel-mode): Doc fix; remove points that are default features
9833 of mouse.el.
9834
c79598ef
JB
98352011-07-12 Johan Bockgård <bojohan@gnu.org>
9836
9837 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9838 Fix previous fix (bug#2490).
9839
ff8be6ef
RW
98402011-07-12 Roland Winkler <winkler@gnu.org>
9841
b796c9b7
SM
9842 * textmodes/bibtex.el (bibtex-initialize):
9843 Use pop-to-buffer-same-window.
ff8be6ef
RW
9844 (bibtex-search-entries): Fix interactive call.
9845
296ba3ee
LMI
98462011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9847
f5242a02 9848 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9849 Fontise bytecomp Error lines more correctly (bug#2490).
9850 Fix suggested by Johan Bockgård.
f5242a02 9851
296ba3ee
LMI
9852 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9853
9854 * dired-x.el (dired-guess-default): Use `delete-dups'.
9855
f69fd0d2
CY
98562011-07-12 Chong Yidong <cyd@stupidchicken.com>
9857
9858 * dired.el (dired-mark-prompt):
9859 * dired-aux.el (dired-read-shell-command): Doc fix.
9860
eab5dc07
LMI
98612011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9862
b796c9b7
SM
9863 * mail/sendmail.el (sendmail-query-once):
9864 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9865 emacs -Q.
9866
9867 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9868
eab5dc07
LMI
9869 * cus-edit.el (custom-file): Take an optional no-error variable.
9870 (customize-save-variable): Set the variable, and give a warning if
9871 running under "emacs -q".
9872
a1e65d42
JB
98732011-07-11 Juanma Barranquero <lekktu@gmail.com>
9874
9875 * loadhist.el (unload-feature-special-hooks):
9876 Add `auto-coding-functions', `fill-nobreak-predicate' and
9877 `find-directory-functions' (bug#5327).
9878
1d52da10
LMI
98792011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9880
be958f1d
LMI
9881 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9882
5bedb26c
LMI
9883 * cus-edit.el (custom-guess-name-alist): -alist variables should
9884 use the `alist' type (bug#3120). Suggested by Drew Adams.
9885
1d52da10
LMI
9886 * printing.el: Add documentation to all the `pr-toggle-' commands.
9887
cd394be1 98882011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9889
9890 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9891 backends where it makes sense (bug#2623).
9892
dcc88d8a
LMI
98932011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9894
c3de9feb
LMI
9895 * dired-x.el (dired-guess-default): Remove duplicate shell command
9896 entries (bug#2028).
8a93078b 9897 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9898 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9899
dcc88d8a
LMI
9900 * subr.el (remove-duplicates): New conveniency function.
9901
505e3645
LMI
99022011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
9904 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9905 (bug#1526).
9906
99072011-07-10 Martin Rudalics <rudalics@gmx.at>
9908
9909 * window.el (display-buffer-normalize-default): Don't invert
9910 meaning of even-window-heights. Reported by Eli Zaretskii
9911 <eliz@gnu.org>.
9912
455e4fa1
BR
99132011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9914
9915 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9916
8e0bc3e9
CY
99172011-07-10 Chong Yidong <cyd@stupidchicken.com>
9918
9919 * window.el (display-buffer): Fix arguments to
9920 display-buffer-reuse-window in last change.
9921
fa7c3228
CY
9922 * faces.el (link): Use a less saturated blue on light backgrounds.
9923
9924 * startup.el (fancy-startup-text, fancy-about-text)
9925 (fancy-startup-tail): Use font-lock faces, for background safety.
9926
c0a7f300
BN
99272011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9928
b796c9b7
SM
9929 * emulation/viper-cmd.el (viper-change-state-to-vi):
9930 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9931
4dc2a129
MR
99322011-07-09 Martin Rudalics <rudalics@gmx.at>
9933
9934 * window.el (display-buffer-default-specifiers): Remove.
9935 (display-buffer-macro-specifiers): Remove default specifiers.
9936 (display-buffer-alist): Default to nil.
b796c9b7 9937 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9938 (display-buffer-pop-up-window): Allow splitting internal
9939 windows. Check whether a live window was created.
9940 (display-buffer-other-window-means-other-frame)
9941 (display-buffer-normalize-arguments): Rename to
9942 display-buffer-normalize-argument and rewrite. Set the
9943 other-window specifier.
9944 (display-buffer-normalize-special): New function.
9945 (display-buffer-normalize-options): Rename to
9946 display-buffer-normalize-default and rewrite.
9947 (display-buffer-normalize-options-inhibit): Remove.
9948 (display-buffer-normalize-specifiers): Rewrite.
9949 (display-buffer): Process other-window specifier and call
9950 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9951 more faithfully.
b796c9b7 9952 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9953 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9954 (display-buffer-in-window, display-buffer-alist-set):
9955 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9956 <tassilo@member.fsf.org>.
9957
2d43b8c9
LL
99582011-07-09 Leo Liu <sdl.web@gmail.com>
9959
9960 * register.el (insert-register): Restore accidental change on
9961 2011-06-26. (Bug#9028)
9962
7f9b7c53
GM
99632011-07-09 Glenn Morris <rgm@gnu.org>
9964
9965 * subr.el (remq): Handle the empty list. (Bug#9024)
9966
f042cfd8
AS
99672011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9968
9969 * mail/sendmail.el (send-mail-function): No longer delay custom
9970 initialization.
9971 * custom.el (custom-initialize-delay): Doc fix.
9972
856b2f11
SM
99732011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9974
9975 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9976
afae1d68
MA
99772011-07-08 Michael Albinus <michael.albinus@gmx.de>
9978
9979 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9980 human-friendly prompt.
9981
0757af94
SM
99822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9985 provided by a particular plugin.
9986
d760b731
LMI
99872011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9988
9989 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9990 save customizations (with "emacs -Q"), just set the variable
9991 instead of erroring out.
9992
9993 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9994
cd79ce90
JL
99952011-07-08 Juri Linkov <juri@jurta.org>
9996
9997 * arc-mode.el (archive-zip-expunge, archive-zip-update)
9998 (archive-zip-update-case): Use 7z if found by `executable-find'.
9999 The order of searching the available programs is the same as in
10000 `archive-zip-extract' (bug#8968).
10001
14cc04aa
CY
100022011-07-07 Chong Yidong <cyd@stupidchicken.com>
10003
10004 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10005 (menu-bar-options-menu): Tweak descriptions.
10006
0a1848ec
LMI
100072011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10008
10009 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10010 menu items into verb phrases (bug#1421). Also refill to fit under
10011 80 columns.
10012
f5bd0689
CY
100132011-07-07 Chong Yidong <cyd@stupidchicken.com>
10014
538e85c6
CY
10015 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10016 (Info-read-node-name): Doc fix (Bug#1084).
10017
f5bd0689
CY
10018 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10019 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10020 (end-of-sexp, beginning-of-sexp)
10021 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10022 (forward-symbol, forward-same-syntax, word-at-point)
10023 (sentence-at-point): Doc fix (Bug#1144).
10024
56ec5115
LMI
100252011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10026
f3f8e37f
LMI
10027 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10028 should cover it (bug#1281).
10029
0757af94 10030 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10031
e9fce1ac 10032 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10033 negotiation fails, then possibly try again with a non-encrypted
10034 connection (bug#9017).
10035
56ec5115
LMI
10036 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10037 be used.
10038
c2f9aec8
RS
100392011-07-07 Richard Stallman <rms@gnu.org>
10040
10041 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10042 property, and handle its changed format.
10043 Look for the correct line number.
10044 Use file's line contents (but not past first =) to find
10045 correct line in message.
10046
ef7b981d 100472011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10048
10049 * international/characters.el (build-unicode-category-table):
10050 Delete it.
0757af94 10051 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10052
0757af94 10053 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10054 to src/chartab.c.
10055 (get-char-code-property): Call unicode-property-table-internal to
10056 load a file. Call get-unicode-property-internal where necessary.
10057 (put-char-code-property): Call unicode-property-table-internal to
10058 load a file. Call put-unicode-property-internal where necessary.
10059 put-unicode-property-internal where necessary.
0757af94
SM
10060 (char-code-property-description):
10061 Call unicode-property-table-internal to load a file.
c805dec0
KH
10062
10063 * international/charprop.el:
10064 * international/uni-bidi.el:
10065 * international/uni-category.el:
10066 * international/uni-combining.el:
10067 * international/uni-comment.el:
10068 * international/uni-decimal.el:
10069 * international/uni-decomposition.el:
10070 * international/uni-digit.el:
10071 * international/uni-lowercase.el:
10072 * international/uni-mirrored.el:
10073 * international/uni-name.el:
10074 * international/uni-numeric.el:
10075 * international/uni-old-name.el:
10076 * international/uni-titlecase.el:
10077 * international/uni-uppercase.el: Regenerate.
10078
10079 * loadup.el: Load international/charprop.el before
10080 international/characters.
10081
e14b388a
CY
100822011-07-07 Chong Yidong <cyd@stupidchicken.com>
10083
10084 * window.el (next-buffer, previous-buffer): Signal an error if
10085 called from a minibuffer window.
10086
10087 * bindings.el: Revert 2011-07-04 change.
10088
354cf0ba
RS
100892011-07-06 Richard Stallman <rms@gnu.org>
10090
10091 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10092 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10093 Treat markers like ints.
10094 (rmail-mime-entity): Doc fix.
10095
a48868a7
LMI
100962011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10097
4906cd3d
LMI
10098 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10099 defcustom again for backwards compatibility.
10100
e0457abe
LMI
10101 * simple.el (shell-command-on-region): Fill.
10102
d67f7e1f
LMI
10103 * dired-aux.el (dired-kill-line): Add a doc string.
10104
fe204702
LMI
10105 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10106 to "\\sw\\|\\s_" (bug#358).
10107
a48868a7
LMI
10108 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10109 (dired-unmark-backward): Ditto.
10110 (dired-flag-backup-files): Ditto.
10111
10112 * dired-x.el (dired-mark-sexp): Ditto.
10113
aa8a705c
RS
101142011-07-06 Richard Stallman <rms@gnu.org>
10115
10116 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10117 (rmail-mime-entity): New arg TRUNCATED.
10118 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10119 New functions.
10120 (rmail-mime-save): Warn if entity is truncated.
10121 (rmail-mime-toggle-hidden): Likewise, for showing.
10122 (rmail-mime-process-multipart): Record when an entity is truncated.
10123
a9a936b9
RS
10124 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10125 if ENTITY is a string.
10126
1f2b92cb
LMI
101272011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10128
f4f73198 10129 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10130 of faces when `M-C-x'-ing their definitions (bug#8378).
10131 Also clean up the code slightly.
f4f73198 10132
12b16734 10133 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10134 because that makes the colors go away.
12b16734 10135
f0691d22
LMI
10136 * mail/sendmail.el (send-mail-function): Change the default to
10137 `sendmail-query-once'.
9e87df06 10138 (sendmail-query-once): Add an autoload cookie.
f0691d22 10139
1f2b92cb
LMI
10140 * net/network-stream.el (network-stream-open-starttls): Try using
10141 a plain connection even if the server offered STARTTLS, and we
10142 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10143 capability. This should make smtpmail.el work in slightly more
10144 configurations.
10145
1cdd2a1b
MA
101462011-07-06 Michael Albinus <michael.albinus@gmx.de>
10147
10148 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10149 New defun.
10150 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10151
fbcc67e2
MM
101522011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10153
10154 * progmodes/sql.el: Version 3.0
0757af94 10155 (sql-product-alist): Add product :completion-object,
fbcc67e2 10156 :completion-column, and :statement attributes.
0757af94 10157 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10158 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10159 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10160 ansi keywords.
10161 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10162 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10163 (sql-oracle-show-reserved-words): New function for development.
10164 (sql-product-font-lock): Simplify for source code buffers.
10165 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10166 New functions.
10167 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10168 (sql-mode-map): Add statement movement functions.
10169 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10170 New variable.
fbcc67e2
MM
10171 (sql-statement-regexp, sql-beginning-of-statement)
10172 (sql-end-of-statement, sql-signum): New functions.
0757af94 10173 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10174 (sql-show-sqli-buffer): Bug fix.
10175 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10176 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10177 with sql-interactive-mode.
10178 (sql-save-connection): Save buffer local settings.
0757af94 10179 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10180 (sql-product-interactive): Bug fix.
10181 (sql-preoutput-hold): New variable.
10182 (sql-interactive-remove-continuation-prompt): Bug fixes.
10183 (sql-debug-redirect): New variable.
10184 (sql-str-literal): New function.
10185 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10186 Redesign.
fbcc67e2
MM
10187 (sql-oracle-save-settings, sql-oracle-restore-settings)
10188 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10189 (sql-completion-object, sql-completion-column)
10190 (sql-completion-sqlbuf): New variables.
10191 (sql-build-completions-1, sql-build-completions)
10192 (sql-try-completion): New functions.
10193 (sql-read-table-name): Use them.
10194 (sql-contains-names): New buffer local variable.
10195 (sql-list-all, sql-list-table): Use it.
10196 (sql-oracle-completion-types): New variable.
10197 (sql-oracle-completion-object, sql-sqlite-completion-object)
10198 (sql-postgres-completion-object): New functions.
10199
d4eaeab1
GM
102002011-07-06 Glenn Morris <rgm@gnu.org>
10201
10202 * window.el (pop-to-buffer): Doc fix.
10203
322b7dab 102042011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10205
10206 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10207
322b7dab 102082011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10209
322b7dab 10210 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10211
322b7dab 10212 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10213
605dd5bf
CY
102142011-07-05 Chong Yidong <cyd@stupidchicken.com>
10215
10216 * button.el (button): Inherit from link face. Suggested by Dan
10217 Nicolaescu.
10218
7dbfa719
SM
102192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10220
3db614b0
SM
10221 * progmodes/gdb-mi.el: Fit in 80 columns.
10222 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10223 switch-to-buffer.
10224
7dbfa719
SM
10225 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10226 if imenu is simply not configured (bug#8941).
10227
919d884a
KM
102282011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10229
10230 * allout.el (allout-post-undo-hook): New allout outline-change
10231 event hook to signal undo activity.
10232 (allout-post-command-business): Run allout-post-undo-hook if an
10233 undo just occurred.
7dbfa719
SM
10234 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10235 * allout-widgets.el (allout-widgets-after-undo-function):
10236 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10237 in the vicinity of an undo.
10238 (allout-widgets-mode): Include allout-widgets-after-undo-function
10239 on the new allout-post-undo-hook.
10240
450a0f09
SM
102412011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10242
10243 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10244 Let define-derived-mode define it.
10245 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10246 cycles of abbrev-table inheritance (bug#8998).
10247
2de69e00
RW
102482011-07-05 Roland Winkler <winkler@gnu.org>
10249
10250 * textmodes/bibtex.el: Add support for biblatex.
10251 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10252 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10253 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10254 (bibtex-entry-alist, bibtex-field-alist): New variables.
10255 (bibtex-entry-field-alist): Obsolete alias for
10256 bibtex-BibTeX-entry-alist.
10257 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10258 (bibtex-set-dialect): New command.
10259 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10260 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10261 Bind via bibtex-set-dialect.
2de69e00
RW
10262 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10263 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10264 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10265 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10266 Define via bibtex-set-dialect.
450a0f09
SM
10267 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10268 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10269 (bibtex-vec-push, bibtex-vec-incr): New functions.
10270 (bibtex-format-entry, bibtex-field-list)
10271 (bibtex-print-help-message, bibtex-validate)
10272 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10273
2dcdbdd9
SM
102742011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * progmodes/compile.el (compilation-goto-locus):
10277 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10278 * bs.el (bs-cycle-next, bs-cycle-previous):
10279 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10280 * bindings.el (mode-line-other-buffer):
10281 * autoinsert.el (auto-insert):
10282 * arc-mode.el (archive-extract):
10283 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10284
b27640fe
JB
102852011-07-05 Juanma Barranquero <lekktu@gmail.com>
10286
10287 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10288 Fix check of `emacs-lock-unlockable-modes'.
10289 Coerce true values of `emacs-lock--try-unlocking' to t.
10290
53bbe3ad
JB
102912011-07-05 Juanma Barranquero <lekktu@gmail.com>
10292
10293 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10294 * emacs-lock.el: New file.
10295
1d3cdbc7
JD
102962011-07-05 Julien Danjou <julien@danjou.info>
10297
10298 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10299 than `boundp' to check if face is set.
10300
9173deec
JB
103012011-07-05 Juanma Barranquero <lekktu@gmail.com>
10302
10303 * register.el (registerv-make):
10304 * window.el (window-min-height): Fix typos in docstrings.
10305
869795d6
JD
103062011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10307
9173deec 10308 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10309 Update doc string.
10310
b768cdcd
JB
103112011-07-04 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * server.el (server-execute): Catch quit and call
10314 `server-return-error' to pass the error back to emacsclient and
10315 close the connection (bug#8942).
10316
13aa217b
KM
103172011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10318
10319 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10320 insecure exception for current topic. Also note that auto-saves
10321 are handled differently.
10322
5d3385a0 10323 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10324 State variables for tracking auto-save inhibition situation.
10325
10326 (allout-write-contents-hook-handler): Rename from
10327 'allout-write-file-hook-handler', and describe how it depends on
10328 write-contents-functions sensitivity to non-nil value to prevent
10329 file write.
10330
10331 (allout-auto-save-hook-handler): Remove. auto-save does not check
10332 this in individual buffers, only in the starting buffer, so this
10333 is not the right way for us to inhibit auto-save in a buffer
10334 according to its condition.
10335
10336 (allout-mode): Use new allout-write-contents-hook-handler, and
10337 only with write-contents-functions. Remove auto-save provisions -
10338 they're implemented elsewhere.
10339
10340 (allout-before-change-handler): If undo is in progress, note that
10341 for attention of allout-post-command-business.
10342
10343 (allout-post-command-business): If the command we're following was
10344 an undo, check for change in the status of encrypted items and
10345 adjust auto-save inhibitions accordingly.
10346
10347 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10348 according to whether there are or aren't any plain-text topics
10349 pending encryption.
10350
2dcdbdd9 10351 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10352 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10353 if there are plain-text topics pending encryption.
13aa217b
KM
10354
10355 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10356 buffer-saved-size and some allout state to not inhibit auto-saves
10357 if there are no longer any plain-text topics pending encryption.
10358
0757af94
SM
10359 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10360 No longer provide for exemption of the current topic.
13aa217b 10361
ac89b32c
JL
103622011-07-04 Juri Linkov <juri@jurta.org>
10363
10364 Add 7z operations to delete and save changed members (bug#8968).
10365 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10366 New defcustoms.
10367 (archive-7z-write-file-member): New function.
10368 (archive-7z-summarize): Fix the number of dashes in the
10369 listing output.
10370
8fa39615
SM
103712011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10372
10373 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10374 (bug#8958).
10375
2f11b3f1
CY
103762011-07-04 Chong Yidong <cyd@stupidchicken.com>
10377
d66fef2b
CY
10378 * bindings.el: Ignore next-buffer and previous-buffer in
10379 minibuffer-local-map.
10380
2f11b3f1
CY
10381 * font-lock.el (font-lock-builtin-face): Change light background
10382 color to dark slate blue (Bug#6693).
10383
f932a347
WD
103842011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10385
10386 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10387
c8af70e1
SM
103882011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10391 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10392 Add switch-to-buffer.
10393
f158badc
LMI
103942011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10395
10396 * isearch.el (isearch-search-fun-function): Clarify further the
10397 meaning of the function returned.
10398
6d95bd46
MA
103992011-07-04 Michael Albinus <michael.albinus@gmx.de>
10400
10401 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10402
10403 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10404 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10405 Use it.
10406 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10407 `tramp-default-remote-path' does not exist.
10408 (tramp-send-command-and-read): New optional argument NOERROR.
10409 (tramp-open-connection-setup-interactive-shell)
10410 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10411 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10412 (tramp-process-sentinel): Flush also process' connection property.
10413 (tramp-sh-handle-start-file-process): Do not set process
10414 sentinel. It is done now ...
10415 (tramp-maybe-open-connection): ... here. (Bug#8929)
10416
909e6b67
MK
104172011-07-04 MON KEY <monkey@sandpframing.com>
10418
10419 * play/animate.el (animate-string): Doc fixes and allow changing
10420 the buffer name (bug#5417).
10421
104222011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10423
c8af70e1 10424 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10425
f34755dc
PE
104262011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10427
396cec72
PE
10428 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10429 This is simpler and helps future-proof the code.
10430 (timer-until): Use time-subtract and float-time.
08235028 10431 (timer--time-less-p): Use time-less-p.
f34755dc 10432
56e6cc31
JB
104332011-07-04 Juanma Barranquero <lekktu@gmail.com>
10434
3abb79e5
JB
10435 * type-break.el (timep): Use the value of `float-time' to avoid a
10436 byte-compiler warning.
10437
56e6cc31
JB
10438 * server.el (server-eval-and-print): Return any result, even nil.
10439
7b9430b4
PE
104402011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10441
10442 * type-break.el: Accept time formats that the builtins accept.
10443 (timep, type-break-time-difference): Accept any format that
10444 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10445 This is simpler and helps future-proof the code.
10446 (type-break-time-difference): Round rather than ignoring
10447 subseconds components.
10448
3034e9e7
LMI
104492011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10450
10451 * info.el (Info-apropos-matches): Make non-interactive, since it
10452 doesn't seem to do anything useful as a command (bug#8829).
10453
1485f4c0
CY
104542011-07-03 Chong Yidong <cyd@stupidchicken.com>
10455
10456 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10457 Move from faces.el.
1485f4c0
CY
10458 (frame-default-terminal-background): New function.
10459
10460 * custom.el (custom-push-theme): Don't record faces in `changed'
10461 theme; this doesn't work correctly for per-frame face settings.
10462 (disable-theme): Use face-set-after-frame-default to reset faces.
10463 (custom--frame-color-default): New function.
10464
9fa3dd45
LMI
104652011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10466
c8af70e1 10467 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10468 (bug#8769).
10469
6cbbc20c
KR
104702011-03-29 Kevin Ryde <user42@zip.com.au>
10471
10472 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10473 `perl-Test2' extend to match possible "fail #N" rep count
10474 (bug#8377).
10475
c7f98048
LMI
104762011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10477
65676592
LMI
10478 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10479 `smtpmail-via-smtp' now returns the error instead of nil.
10480
c7f98048
LMI
10481 * isearch.el (isearch-search-fun-function): Clarify the doc string
10482 (bug#8101).
10483
56e6cc31 104842011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10485
10486 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10487 unnecessary spaces (bug#8987).
10488
2b216704
LMI
104892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10490
10491 * net/network-stream.el (open-network-stream): Use the
10492 :end-of-capability command thoughout.
10493
104942011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10495
10496 * net/network-stream.el (open-network-stream): Add the
10497 :end-of-capability command parameter, used by pop3.el.
10498
36adf6ce
LMI
104992011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10500
1ca0da0e
LMI
10501 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10502
fc00f69c
LMI
10503 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10504 for list)" (bug#6475).
10505
28fd8759 10506 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10507 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10508 an error (bug#6297).
10509
0dd8b6da
LMI
10510 * man.el (Man-reference-regexp): Allow matching possible
10511 word-wrapped references (bug#6289).
10512
ce1438d6
LMI
10513 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10514 for consistency with the other vc buffers (bug#6197).
10515 (vc-checkin): Ditto.
10516
10517 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10518
36adf6ce
LMI
10519 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10520
e83cc1f7
LMI
105212011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10522
8a20ca4c
LMI
10523 * custom.el (defcustom): Clarify that :set is only used in the
10524 Customize user interface (bug#6089).
10525
83319045
LMI
10526 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10527 associated with a file, refuse to run instead of erroring out
10528 (bug#6084).
10529
a8392169
LMI
10530 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10531 the doc string, since it appears that using `fill-column' always
10532 controls the width (bug#7845).
10533
e83cc1f7
LMI
10534 * simple.el (shell-command-on-region): Say where the error output
10535 went if `shell-command-default-error-buffer' is set (bug#6857).
10536
e47ca23b
KM
105372011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10538
10539 * allout.el (allout-yank-processing): Adjust cursor position for
10540 backwards-deleted space.
10541
10542 (allout-rebullet-heading): Register changes with
10543 allout-exposure-changed-hook, so the modified topic is properly
10544 decorated.
10545
5cf56143
LMI
105462011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10547
08549772
LMI
10548 * minibuffer.el (completion-in-region): Document PREDICATE
10549 (bug#7136).
10550
48e96771
LMI
10551 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10552 of keyword/argument pairs (bug#6904).
10553
c8af70e1
SM
10554 * replace.el (multi-occur):
10555 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10556
e17d05e2
LMI
105572011-07-02 Drew Adams <drew.adams@oracle.com>
10558
10559 * dired.el (dired-mark-if): Make the message about whether it's
10560 marking or unmarking clearer (bug#8523).
10561
063b0e45
LMI
105622011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10563
10564 * disp-table.el (display-table-print-array): New function.
10565 (describe-display-table): Use it to print the vectors more pretty
10566 (Bug#8859).
10567
28545e04
MR
105682011-07-02 Martin Rudalics <rudalics@gmx.at>
10569
10570 * window.el (window-state-get-1): Don't assign clone numbers.
10571 Add clone-of item to list of window parameters.
10572 (window-state-put-2): Don't process clone numbers.
10573 (display-buffer-alist): Fix doc-string.
10574
3349e122
SM
105752011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * subr.el (remq): Don't allocate if it's not needed.
10578 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10579 (keymap--merge-bindings): New functions.
10580 (keymap-canonicalize): Use them to refine the canonicalization.
10581 * minibuffer.el (minibuffer-local-completion-map)
10582 (minibuffer-local-must-match-map): Move initialization from C.
10583 (minibuffer-local-filename-completion-map): Move initialization from C;
10584 don't inherit from anything here.
10585 (minibuffer-local-filename-must-match-map): Make obsolete.
10586 (completing-read-default): Use make-composed-keymap to combine
10587 minibuffer-local-filename-completion-map with either
10588 minibuffer-local-must-match-map or
10589 minibuffer-local-filename-completion-map.
10590
d224ac83
GM
105912011-07-01 Glenn Morris <rgm@gnu.org>
10592
3de63bf8
GM
10593 * type-break.el (type-break-time-sum): Use dolist.
10594
d224ac83
GM
10595 * textmodes/flyspell.el (flyspell-word-search-backward):
10596 Replace CL function.
10597
1a1e3f32
SM
105982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10599
fe3f64d5
SM
10600 * mouse.el (mouse--strip-first-event): New function.
10601 (function-key-map): Use it to map fringe clicks to normal clicks
10602 by default.
10603
eb604e34
SM
10604 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10605 (vc-bzr-revision-completion-table): Add support for annotate and date.
10606
1a1e3f32
SM
10607 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10608 inherit from parent.
10609
5bd35902
LMI
106102011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10611
ace6c69c 10612 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10613 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10614
191e2bed
LMI
10615 * dired.el (dired-mode): Fix up the doc string as suggested by
10616 Drew Adams (bug#8817).
10617
5bd35902
LMI
10618 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10619 cookie, since the manual says that it should be possible to add
10620 this function to `find-file-hook' (bug#8709).
10621
eee8207a
TZ
106222011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10623
10624 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10625 here. Noted Ted Zlatanov as the maintainer.
10626 (cfengine-common-settings, cfengine-common-syntax): New functions
10627 to set up common things between `cfengine-mode' and
10628 `cfengine3-mode'.
10629 (cfengine3-mode): New mode.
10630 (cfengine3-defuns cfengine3-defuns-regex
10631 (cfengine3-class-selector-regex cfengine3-category-regex)
10632 (cfengine3-vartypes cfengine3-font-lock-keywords)
10633 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10634 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10635
36b148cf
MA
106362011-07-01 Michael Albinus <michael.albinus@gmx.de>
10637
10638 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10639
10640 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10641
0bf4ba9a
MR
106422011-07-01 Martin Rudalics <rudalics@gmx.at>
10643
10644 * window.el (same-window-buffer-names, same-window-regexps)
10645 (same-window-p, special-display-frame-alist)
10646 (special-display-popup-frame, special-display-function)
10647 (special-display-buffer-names, special-display-regexps)
10648 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10649 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10650 (split-window-preferred-function, split-height-threshold)
10651 (split-width-threshold, even-window-heights)
10652 (display-buffer-mark-dedicated, window-splittable-p)
10653 (split-window-sensibly, window-safely-shrinkable-p):
10654 Un-obsolete.
10655 (display-buffer): Don't spread args with function specifier
10656 because special-display-popup-frame won't like it.
10657
35837f51
PE
106582011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10659
d0672f86
PE
10660 Time-stamp simplifications and fixes.
10661 These improve accuracy slightly, and future-proof the code
10662 against some potential changes to current-time format.
10663
b9444d97
PE
10664 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10665 by using time-since and float-time.
10666
0ef923dc
PE
10667 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10668 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10669 + NNN microseconds".
10670
2f81380d
PE
10671 * type-break.el (type-break-time-sum): Rewrite using time-add.
10672
845b5c3e
PE
10673 * play/hanoi.el (hanoi-current-time-float): Remove.
10674 All uses replaced by float-time.
10675
ee6f1be0
PE
10676 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10677 This yields a more-accurate answer.
10678 (rng-time-to-float): Remove; no longer needed.
10679
fe955043
PE
10680 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10681
5777162a
PE
10682 * calendar/timeclock.el (timeclock-seconds-to-time):
10683 Defalias to seconds-to-time, since they're the same thing.
10684
3103f8b6 10685 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10686 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10687 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10688
0e61a35f
SM
106892011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10690
10691 * window.el (bury-buffer): Don't iconify the only frame.
10692 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10693 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10694
ddd63a1e
CY
106952011-07-01 Chong Yidong <cyd@stupidchicken.com>
10696
0e61a35f
SM
10697 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10698 Add mouse-yank-primary.
ddd63a1e 10699
055f4923
TZ
107002011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10701
10702 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10703
6a2fb145
SM
107042011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10705
10706 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10707 (find-library-name): Use it to find relative load names when provided
10708 absolute file name (bug#8803).
10709
fd4983f2
LMI
107102011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10711
887d14ad
LMI
10712 * textmodes/flyspell.el (flyspell-word): Consider words that
10713 differ only in case as potential doublons (bug#5687).
10714
c53dc7fc
LMI
10715 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10716 Remove two rather uninteresting debugging-like messages to make
10717 debbugs.el more silent.
10718
fd4983f2
LMI
10719 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10720 a password-like phrase.
10721
7a71b18d 107222011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10723
10724 * progmodes/cc-guess.el: New file.
10725
6a2fb145 10726 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10727
10728 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10729 derived from `c-basic-common-init'.
10730
10731 * progmodes/cc-mode.el (top-level): Require cc-guess.
10732 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10733
1fa280a3
LM
107342011-06-30 Lawrence Mitchell <wence@gmx.li>
10735
10736 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10737
e6597158
AM
107382011-06-30 Alan Mackenzie <acm@muc.de>
10739
1fa280a3
LM
10740 * progmodes/cc-engine.el (c-guess-continued-construct):
10741 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10742 lock is disabled. Name this case as "CASE G".
10743
68ba37fb
KM
107442011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10745
10746 * allout.el (allout-yank-processing): Fix injection of extra space
10747 between bullet and non-whitespace character in first topic when
10748 pasting, ensuring that the actual spacing in the pasted topic
10749 following the bullet char is preserved. This extra space was
10750 causing pasted encrypted topics to get a decrypted status even
10751 when the content was actually still encrypted. Now the decryption
10752 status from before the paste is preserved.
10753
10754 (allout-flag-region): Set all allout overlays so they evaporate
10755 when reduced to zero length (evanescent), to prevent overlay
10756 leakage.
10757
887a0b34
GM
107582011-06-30 Glenn Morris <rgm@gnu.org>
10759
94b9acce
GM
10760 * w32-fns.el (w32-charset-info-alist): Declare.
10761
1d9b46d4
GM
10762 * find-dired.el (find-grep-options): Simplify.
10763
cc232200
GM
10764 * term/ns-win.el (ns-set-resource): Declare.
10765
28e77c46
GM
10766 * ses.el (row, col): Declare dynamic variables honestly.
10767
887a0b34
GM
10768 * textmodes/reftex-parse.el (index-tags): Declare.
10769
658d8eb8
CY
107702011-06-30 Chong Yidong <cyd@stupidchicken.com>
10771
10772 * cus-edit.el (customize-push-and-save): New function.
10773
10774 * files.el (hack-local-variables-confirm): Use it.
10775
1fa280a3
LM
10776 * custom.el (load-theme): New arg NO-CONFIRM.
10777 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10778 (custom-enabled-themes): Doc fix.
10779
10780 * cus-theme.el (customize-create-theme)
10781 (custom-theme-merge-theme): Callers to load-theme changed.
10782
bb617717
LMI
107832011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10784
d61bdd5d
LMI
10785 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10786 short URLs have at least one dot in them (bug #7614).
10787
bb617717
LMI
10788 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10789 nil, because using a pty is apparently too slow (bug #895).
10790
2f31f37a
LMI
107912011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10792
10793 * mail/sendmail.el (sendmail-query-once): New function.
10794 (sendmail-query-once-function): New variable.
10795
3076b24e
GM
107962011-06-29 Glenn Morris <rgm@gnu.org>
10797
faf2a174
GM
10798 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10799
3076b24e
GM
10800 * ses.el (top-level): Require cl when compiling.
10801 (ses-set-localvars): Fix error statement.
10802 Call it at compile time to silence a storm of warnings.
10803
5386012d
MR
108042011-06-29 Martin Rudalics <rudalics@gmx.at>
10805
10806 * window.el (normalize-live-buffer): Rename to
10807 window-normalize-buffer.
10808 (normalize-live-frame): Rename to window-normalize-frame.
10809 (normalize-any-window): Rename to window-normalize-any-window.
10810 (normalize-live-window): Rename to window-normalize-live-window.
10811 (make-window-atom): Rename to window-make-atom.
10812 (window-resize-reset): Rename to window--resize-reset.
10813 (window-resize-reset-1): Rename to window--resize-reset-1.
10814 (resize-mini-window): Rename to window--resize-mini-window.
10815 (resize-subwindows-skip-p): Rename to
10816 window--resize-subwindows-skip-p.
10817 (resize-subwindows-normal): Rename to
10818 window--resize-subwindows-normal.
10819 (resize-subwindows): Rename to window--resize-subwindows.
10820 (resize-other-windows): Rename to window--resize-siblings.
10821 (resize-this-window): Rename to window--resize-this-window.
10822 (resize-root-window): Rename to window--resize-root-window.
10823 (resize-root-window-vertically): Rename to
10824 window--resize-root-window-vertically.
10825 (normalize-buffer-to-display): Rename to
10826 window-normalize-buffer-to-display.
10827 (normalize-buffer-to-switch-to): Rename to
10828 window-normalize-buffer-to-switch-to.
10829 Correspondingly update all callers of the functions listed
10830 above.
10831 (display-buffer-alist, display-buffer-normalize-arguments)
10832 (display-buffer-normalize-options, display-buffer)
10833 (display-buffer-alist-set): Use "function" instead of
10834 "fun-with-args".
10835
1176868d
CY
108362011-06-28 Chong Yidong <cyd@stupidchicken.com>
10837
10838 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10839 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10840 debbugs.gnu.org. Mention acknowledgment email.
10841
20a7a65f
LMI
108422011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10843
10844 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10845 buffer multibyteness, since it shouldn't matter.
10846
5f45cca5
MR
108472011-06-28 Martin Rudalics <rudalics@gmx.at>
10848
10849 * window.el (display-buffer-in-side-window): Handle dedicated
10850 windows as in display-buffer-reuse-window.
10851 (display-buffer-normalize-alist): Use value of override
10852 specifier.
10853 (display-buffer-normalize-specifiers): Use value of
10854 other-window-means-other-frame specifier.
10855 (display-buffer-alist): Rewrite some texts in widgets.
10856 (display-buffer): Spread arguments when calling function
10857 specified by fun-with-args.
10858
ad85fe1f
DD
108592011-06-28 Deniz Dogan <deniz@dogan.se>
10860
1fa280a3
LM
10861 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10862 Unnest `let'.
da68c4c8 10863
ad85fe1f
DD
10864 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10865 selectors (Bug#5732).
ec49bd31 10866 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10867
a08cc025
JA
108682011-06-27 Jari Aalto <jari.aalto@cante.net>
10869
10870 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10871 (eshell-ls-date-format): New defcustom.
10872 (eshell-ls-file): Use it.
10873
e2b551c5
SM
108742011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10875
10876 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10877
8982b231
KY
108782011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10879
10880 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10881 (ange-ftp-make-tmp-name): New arg.
10882 (ange-ftp-file-local-copy): Use it.
10883
36c9fa27
J
108842011-06-27 Jambunathan K <kjambunathan@gmail.com>
10885
10886 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10887 no-conversion (Bug#8870).
10888
d68443dc
MR
108892011-06-27 Martin Rudalics <rudalics@gmx.at>
10890
10891 * window.el (window-right, window-left, window-child)
10892 (window-child-count, window-last-child)
10893 (window-iso-combination-p, walk-window-tree-1)
10894 (window-atom-check-1, window-tree-1, delete-window)
10895 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10896 new naming conventions - window-vchild, window-hchild,
10897 window-next and window-prev are now called window-top-child,
10898 window-left-child, window-next-sibling and window-prev-sibling
10899 respectively.
d615d6d2
MR
10900 (resize-window-reset): Rename to window-resize-reset.
10901 (resize-window-reset-1): Rename to window-resize-reset-1.
10902 (resize-window): Rename to window-resize.
10903 (window-min-height, window-min-width)
10904 (resize-mini-window, resize-this-window, resize-root-window)
10905 (resize-root-window-vertically, adjust-window-trailing-edge)
10906 (enlarge-window, shrink-window, maximize-window)
10907 (minimize-window, delete-window, quit-restore-window)
10908 (split-window, balance-windows, balance-windows-area-adjust)
10909 (balance-windows-area, window-state-put-2)
10910 (display-buffer-even-window-sizes, display-buffer-set-height)
10911 (display-buffer-set-width, set-window-text-height)
10912 (fit-window-to-buffer): Rename all "resize-window" prefixed
10913 calls to use the "window-resize" prefix convention.
10914 (display-buffer-alist): Fix symbol for label specifier.
10915 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10916 corresponding specifier.
10917 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10918
b6458526
VB
109192011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10920
10921 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10922 convention.
10923 (ses-call-printer): Does not pass an empty string to formatter when the
10924 cell is empty to keep from barking printer Calc math-format-value.
10925
d31fd9ac
RS
109262011-06-27 Richard Stallman <rms@gnu.org>
10927
43d5bf84
RS
10928 * battery.el (battery-mode-line-limit): New variable.
10929 (battery-update): Handle it.
10930
d31fd9ac
RS
10931 * mail/rmailmm.el (rmail-mime-process-multipart):
10932 Handle truncated messages.
10933
819a6054
GM
109342011-06-27 Glenn Morris <rgm@gnu.org>
10935
10936 * progmodes/flymake.el (flymake-err-line-patterns):
10937 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10938
cedc73f2
VB
109392011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10940
819a6054 10941 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10942 (ses--clean-!, ses--clean-_): New functions.
10943 (ses-range): Add configurability of readout order, and conversion
10944 to Calc vector.
10945
5e5d49b6
VB
10946 * ses.el (ses-repair-cell-reference-all): New function.
10947 (ses-cell-symbol): Set macro as safe, so that it can be used in
10948 formulas.
10949
56e6cc31 10950 * ses.el: Update cycle detection algorithm.
90ca8b49 10951 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10952 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10953 (ses-set-localvars): New function.
10954 (ses-make-cell): Add property-list as a cell element.
10955 (ses-cell-property-get-fun, ses-cell-property-get)
10956 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10957 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10958 New functions.
90ca8b49
VB
10959 (ses-cell-property-set, ses-cell-property-pop)
10960 (ses-cell-property-get-handle): New macro.
10961 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10962 New aliases, used for code readability.
10963 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10964 cycle detection.
10965 (ses-self-reference-early-detection): New defcustom.
fac916bf 10966 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10967 (ses-mode): Use ses-set-localvars.
10968 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10969 before lauching the update processing.
10970 (ses-initialize-Dijkstra-attempt): New function.
10971 (ses-recalculate-cell): Update for cycle detection based on
10972 Dijkstra algorithm.
10973
2bb63e81
VB
10974 * ses.el: Fix commenting and indenting convention.
10975
c9d29fb8
SM
109762011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10977
10978 * bs.el (bs-cycle-next): Complete last change.
10979
d8e4b68b
JB
109802011-06-27 Drew Adams <drew.adams@oracle.com>
10981
10982 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10983
40098786
LMI
109842011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10985
c9d29fb8
SM
10986 * net/network-stream.el (network-stream-open-starttls):
10987 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10988 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10989
40098786
LMI
10990 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
10991 to binary to possibly avoid line encoding issues on Windows (among
10992 other things).
10993
468d09d4
LMI
109942011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
10995
10996 * net/network-stream.el (open-network-stream): Return an :error
10997 saying what the problem was, if possible.
10998
10999 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11000 server.
11001
11002 * net/network-stream.el (network-stream-open-starttls): If we
11003 wanted to use STARTTLS, and the server offered it, but we weren't
11004 able to because we had no STARTTLS support, then close the connection.
11005 (open-network-stream): Return an :error element, if present.
11006
16f07dd7
CY
110072011-06-26 Chong Yidong <cyd@stupidchicken.com>
11008
88821ca0
CY
11009 * hl-line.el (hl-line-sticky-flag): Doc fix.
11010 (global-hl-line-sticky-flag): New option (Bug#8323).
11011 (global-hl-line-highlight): Obey it.
11012
16f07dd7
CY
11013 * vc/vc.el (vc-revert-show-diff): Default to t.
11014
6b5ccddf
KM
110152011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11016
c9d29fb8
SM
11017 * allout-widgets.el (allout-widgets-post-command-business):
11018 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11019 undecorated when an isearch is continued past, and isearch
11020 automatically collapses them. This leads to "widget leaks", where
11021 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11022 hidden widgets can slow down cursor travel, substantially.
11023 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11024 so we're doing without this nicety.
11025
11026 (allout-widgets-tally-string): Don't try to do a hash-table-count
11027 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11028 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11029 *Messages* when allout-widgets-maintain-tally is t.
11030
355f2e07
MR
110312011-06-26 Martin Rudalics <rudalics@gmx.at>
11032
11033 * window.el (display-buffer-normalize-argument): Rename to
11034 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11035 LABEL argument. Respect special-display-function when popping up
11036 a new frame. Fix code searching for a window showing the buffer
11037 on another frame.
c9d29fb8
SM
11038 (display-buffer-normalize-specifiers):
11039 Call display-buffer-normalize-arguments.
355f2e07
MR
11040 (display-buffer-in-window): Don't undedicate the window if its
11041 buffer remains the same.
11042 Reported by Drew Adams <drew.adams@oracle.com>.
11043 (display-buffer-alist): Add choice for same-window macro
11044 specfier.
11045 (display-buffer): Mention special meaning of LABEL argument in
11046 doc-string. Fix quoting. Don't pop up a new frame even as
11047 fallback.
11048
7ca8fc42
JB
110492011-06-26 Juanma Barranquero <lekktu@gmail.com>
11050
11051 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11052 avoid deleting the current window in some cases (bug#8911).
11053
bc312254
AS
110542011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11055
11056 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11057 (Bug#8934)
11058
2db18f3f
LMI
110592011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11060
c9d29fb8
SM
11061 * net/network-stream.el (network-stream-open-starttls):
11062 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11063 (network-stream-open-tls): Ditto.
11064
6302e0d3
LL
110652011-06-26 Leo Liu <sdl.web@gmail.com>
11066
11067 * register.el (registerv): New struct.
11068 (registerv-make): New function.
c9d29fb8
SM
11069 (jump-to-register, describe-register-1, insert-register):
11070 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11071 struct. (Bug#8415)
11072
5fdd4046
CY
110732011-06-26 Chong Yidong <cyd@stupidchicken.com>
11074
2afef60a
CY
11075 * vc/vc.el (vc-revert-show-diff): New defcustom.
11076 (vc-diff-internal): New arg specifying diff buffer.
11077 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11078 reuse an existing *vc-diff* buffer (Bug#8927).
11079
5fdd4046
CY
11080 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11081
e93db24a
GM
110822011-06-26 Glenn Morris <rgm@gnu.org>
11083
11084 * progmodes/f90.el (f90-critical-indent): New option.
11085 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11086 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11087 (f90-mode): Doc fix.
11088 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11089 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11090 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11091 (f90-match-end): Handle block, critical.
11092
eefff499
GM
110932011-06-25 Glenn Morris <rgm@gnu.org>
11094
f6ba4cc9
GM
11095 * calendar/diary-lib.el (diary-included-files): Doc fix.
11096 (diary-include-files): New function, extracted from
11097 diary-include-other-diary-files and diary-mark-included-diary-files.
11098 (diary-include-other-diary-files, diary-mark-included-diary-files):
11099 Just call diary-include-files.
11100 (diary-mark-entries): Reset diary-included-files on first call.
11101
16712304
GM
11102 * calendar/diary-lib.el (diary-mark-entries)
11103 (diary-mark-included-diary-files):
11104 Visit included diary-files in temp buffers.
11105
5d8e0d43
GM
11106 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11107 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11108 (f90-start-block-re, f90-imenu-generic-expression)
11109 (f90-looking-at-program-block-start, f90-no-block-limit):
11110 Add support for submodules.
11111
ccf7a5d5
GM
11112 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11113 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11114
11fdef7d 111152011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11116
11117 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11118 buffer-file-type before setting its value, to avoid disastrous
eefff499 11119 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11120
74f53697
JB
111212011-06-25 Juanma Barranquero <lekktu@gmail.com>
11122
11123 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11124
11125 * ses.el (ses-unload-function):
11126 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11127
11128 * proced.el (proced-unload-function):
11129 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11130
18a4ce5e
AR
111312011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11132
11133 * server.el (server-create-window-system-frame): Add parameters arg.
11134 (server-process-filter): Doc fix. Handle frame-parameters.
11135
519d22cc
JB
111362011-06-25 Juanma Barranquero <lekktu@gmail.com>
11137
11138 Fix bug#8730, bug#8781.
11139
11140 * loadhist.el (unload--set-major-mode): New function.
11141 (unload-feature): Use it.
11142
11143 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11144 (python-unload-function): New function.
11145
c206f5b0
SM
111462011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11147
11148 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11149
f9ad64f3
GS
111502011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11151
11152 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11153 the candidates list.
11154
7d0da90e
JB
111552011-06-24 Juanma Barranquero <lekktu@gmail.com>
11156
11157 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11158
14b4e83d
RS
111592011-06-23 Richard Stallman <rms@gnu.org>
11160
11161 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11162 (rmail-variables): Set next-error-move-function.
11163 (rmail-what-message): Take argument POS.
11164 (rmail-next-error-move): New function.
11165
273d2baf
SM
111662011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11169 messages for adjacent non-terminals.
11170
56c2cc9a
RS
111712011-06-23 Richard Stallman <rms@gnu.org>
11172
11173 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11174 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11175 (rmail-start-mail): Don't specify use of rmail-mail-return;
11176 that's done by mail-bury now.
11177 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11178
d59eb518
MA
111792011-06-23 Michael Albinus <michael.albinus@gmx.de>
11180
11181 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11182 SIZE is a number.
11183
02cfc6d6
MR
111842011-06-23 Martin Rudalics <rudalics@gmx.at>
11185
11186 * window.el (get-lru-window, get-mru-window)
11187 (get-largest-window): Never return a minibuffer window.
11188 (display-buffer-pop-up-window): Fix a bug that could lead to
11189 reusing the minibuffer window.
11190 (display-buffer): Pass original specifier argument to
11191 display-buffer-function instead of the normalized one.
11192 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11193
4e323265
LL
111942011-06-22 Leo Liu <sdl.web@gmail.com>
11195
11196 * minibuffer.el (completing-read-function)
11197 (completing-read-default): Move from minibuf.c
11198
7a70468f
RS
111992011-06-22 Richard Stallman <rms@gnu.org>
11200
50718fc2
RS
11201 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11202 to Rmail even if not started by a special Rmail command.
11203
7a70468f
RS
11204 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11205 Copy the buffer currently showing just one message.
11206
297dde5a
RW
112072011-06-22 Roland Winkler <winkler@gnu.org>
11208
11209 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11210 (bibtex-clean-entry): First delete the old key so that a
11211 customized algorithm for generating the new key does not get
11212 confused by the old key.
11213 (bibtex-url): Obey regexp of first step.
11214 (bibtex-search-entries): Do not use add-to-list with local
11215 list-var.
11216
97bb1093
LMI
112172011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11218
11219 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11220 stored a user name, then query for the password first, instead of
11221 waiting for SMTP to give an error message and the trying again.
11222
1c0f1a19
JD
112232011-06-22 Lawrence Mitchell <wence@gmx.li>
11224
11225 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11226 BUFFER in call-process.
11227
396f7c9d
LMI
112282011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11231 QUIT twice.
ddb7ffee
LMI
11232 (smtpmail-try-auth-methods): Require user name and password from
11233 auth-source.
396f7c9d 11234
8998d1b3
MR
112352011-06-22 Martin Rudalics <rudalics@gmx.at>
11236
11237 * window.el (display-buffer-default-specifiers)
11238 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11239 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11240 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11241
11242 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11243 (special-display-frame-alist, special-display-popup-frame):
11244 Remove duplicate declarations. These are now in window.el.
11245
4ea31e07
LMI
112462011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11247
c9d29fb8
SM
11248 * mail/smtpmail.el (smtpmail-via-smtp):
11249 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11250 server supports it. SMTP servers that support STARTTLS commonly
11251 require it.
11252
11253 * net/network-stream.el (network-stream-open-starttls): Support
11254 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11255 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11256
95f41d9a
LMI
11257 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11258 upgrades with `open-network-stream', and rely solely on
11259 auth-source for all credentials. Big changes throughout the file,
11260 but in particular:
c9d29fb8
SM
11261 (smtpmail-auth-credentials): Remove.
11262 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11263 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11264 MAIL FROM, too.
95f41d9a 11265
c9d29fb8
SM
11266 * net/network-stream.el (network-stream-open-starttls):
11267 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11268 STARTTLS.
11269 (auth-source): Require.
11270 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11271 (network-stream-certificate): Change cert-cert to cert and
11272 cert-key to key.
4ea31e07 11273
065ec2c7
MA
112742011-06-21 Michael Albinus <michael.albinus@gmx.de>
11275
11276 * net/tramp-cache.el (top): Don't load the persistency file when
11277 "emacs -Q" has been called.
11278
cd93b359
DR
112792011-06-21 Tim Harper <timcharper@gmail.com>
11280
d8e4b68b
JB
11281 * term/ns-win.el (ns-initialize-window-system):
11282 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11283 resource to NO as it is not yet supported by the NS port.
11284
ae9c0411
JB
112852011-06-21 Juanma Barranquero <lekktu@gmail.com>
11286
11287 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11288 (list-dynamic-libraries): ...not here.
11289
7f3f739f
LL
112902011-06-21 Leo Liu <sdl.web@gmail.com>
11291
11292 * subr.el (sha1): Implement sha1 using secure-hash.
11293
327c8fb1
MR
112942011-06-21 Martin Rudalics <rudalics@gmx.at>
11295
11296 * window.el (display-buffer-alist): In default value do not
11297 enforce searching a window on any but the selected frame.
11298 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11299 (display-buffer-select-window): Remove function.
11300 (display-buffer-in-window): When a window on another frame gets
11301 reused, do not select it any more but just raise its frame if
11302 necessary (Bug#8851) and (Bug#8856).
11303 (display-buffer-normalize-options): Handle pop-up-frames related
11304 options more faithfully.
11305 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11306 window if it is on another frame.
c9d29fb8
SM
11307 (display-buffer-alist, display-buffer-default-specifiers):
11308 Don't make new frame unsplittable by default.
9e9de014
MR
11309 (display-buffer-normalize-argument): Fix doc-string typo and use
11310 'same-frame-other-window instead of 'other-window when associating
11311 with display-buffer-macro-specifiers.
327c8fb1 11312
7cf3f556
VB
113132011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11314
11315 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11316 New functions.
11317 (5x5-mode-map, 5x5-mode-menu): Bind them.
11318 (5x5-draw-grid): Tweak the solver's rendering.
11319
60a406cf
SM
113202011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11323 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11324
d8e4b68b 113252011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11326
11327 * menu-bar.el: Use function variable instead of switch-to-buffer.
11328 (menu-bar-select-buffer-function): New variable.
60a406cf 11329 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11330
478d6f95
SM
113312011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11332
11333 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11334 variable's status.
11335
ca530739
JD
113362011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11337
11338 * x-dnd.el (x-dnd-version-from-flags)
11339 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11340 and long as number (Bug#8899).
11341 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11342
bcd70d97
SM
113432011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11344
60a406cf 11345 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11346 (completion-try-completion, completion-all-completions): Compute the
11347 metadata argument if it's missing; make it optional (bug#8795).
11348
60a406cf 11349 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11350 (widget-complete): Use new :completion-function property.
11351 (widget-completions-at-point): New function.
11352 (default): Use :completion-function instead of :complete.
60a406cf
SM
11353 (widget-default-completions): Rename from widget-default-complete;
11354 Rewrite.
bcd70d97
SM
11355 (widget-string-complete, widget-file-complete, widget-color-complete):
11356 Remove functions.
11357 (file, symbol, function, variable, coding-system, color):
11358 * international/mule-cmds.el (default-input-method, charset)
11359 (language-info-custom-alist):
11360 * cus-edit.el (face): Use new property :completions.
11361
11362 * progmodes/pascal.el (pascal-completions-at-point): New function.
11363 (pascal-mode): Use it.
11364 (pascal-mode-map): Use completion-at-point.
11365 (pascal-toggle-completions): Make obsolete.
11366 (pascal-complete-word, pascal-show-completions):
11367 * progmodes/octave-mod.el (octave-complete-symbol):
11368 Redefine as obsolete alias.
11369 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11370 Signal absence of completion info for old Octave,
11371 (inferior-octave-complete): Redefine as obsolete alias.
11372 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11373 (meta-completions-at-point): Rename from meta-complete-symbol and
11374 adapt it for use on completion-at-point-functions.
11375 (meta-common-mode): Use it.
11376 (meta-looking-at-backward, meta-match-buffer): Remove.
11377 (meta-complete-symbol): Redefine as obsolete alias.
11378 (meta-common-mode-map): Use completion-at-point.
11379 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11380 (makefile-mode-map): Use completion-at-point.
11381 (makefile-completions-at-point): Rename from makefile-complete and
11382 adapt it for use on completion-at-point-functions.
11383 (makefile-mode): Use it.
11384 (makefile-complete): Redefine as obsolete alias.
11385
aebf69c8
DD
113862011-06-20 Deniz Dogan <deniz@dogan.se>
11387
11388 * net/rcirc.el: Delete trailing whitespaces once and for all.
11389
bfbbb27d
DC
113902011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11391
11392 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11393
d264a46b
CY
113942011-06-19 Chong Yidong <cyd@stupidchicken.com>
11395
4ca009e5
CY
11396 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11397
d264a46b
CY
11398 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11399
fbf5b3ce
MR
114002011-06-19 Martin Rudalics <rudalics@gmx.at>
11401
11402 * window.el (display-buffer-other-window-means-other-frame):
11403 Call display-buffer-normalize-alist.
11404 (display-buffer-normalize-specifiers-1): Rename to
11405 display-buffer-normalize-argument. New argument other-frame.
11406 Rewrite.
11407 (display-buffer-normalize-specifiers-2): Rename to
11408 display-buffer-normalize-options.
11409 (display-buffer-normalize-alist-1): New function.
11410 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11411 display-buffer-normalize-alist.
11412 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11413 (display-buffer-normalize-options-inhibit): New variable.
11414 (display-buffer-normalize-specifiers): Rewrite calling
11415 display-buffer-normalize-alist,
11416 display-buffer-normalize-argument, and
11417 display-buffer-normalize-options. Don't call the latter if
11418 display-buffer-normalize-options-inhibit is non-nil.
11419 (frame-auto-delete): New option.
11420 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11421 (window-list-no-nils, window-state-ignored-parameters)
11422 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11423 (window-state-put-1, window-state-put-2, window-state-put):
11424 New functions.
9a028c23
MR
11425 (display-buffer-normalize-options): Move special-display-p group
11426 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11427
6d10d800
CY
114282011-06-18 Chong Yidong <cyd@stupidchicken.com>
11429
6420d28b
CY
11430 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11431 groups (Bug#8776).
11432 (rx-submatch-n): New function.
11433 (rx): Document it.
11434
ddb8b596
CY
11435 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11436 (Bug#8768).
11437
11438 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11439
77080289
CY
11440 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11441
61dfb316
CY
11442 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11443 anytime existing face settings are present (Bug#8889).
11444
6d10d800
CY
11445 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11446 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11447 Remove unused argument.
11448
be3fb2b8
MR
114492011-06-18 Martin Rudalics <rudalics@gmx.at>
11450
bcd70d97
SM
11451 * window.el (display-buffer-default-specifiers):
11452 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11453 pop-up-window-min-width, and another reuse-window specifier
11454 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11455 (display-buffer-normalize-specifiers-2):
11456 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11457 pop-up-windows is unset. Add a reuse-window specifier for the
11458 case popping up a new window fails.
11459 (special-display-popup-frame): Remove double quoting.
28dec25a 11460 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11461
1c6d8c76
SM
114622011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11465 according to comint-completion-addsuffix.
11466
11467 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11468 (pcomplete-suffix-list): Mark as obsolete.
11469 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11470 pcomplete-seen in the closure.
11471 (pcomplete-comint-setup): Setup completion-at-point as well.
11472 (pcomplete--entries): New function.
11473 (pcomplete--env-regexp): New var.
11474 (pcomplete-entries): Rewrite to work with partial-completion and
11475 without relying on pcomplete-suffix-list.
11476 (pcomplete-pare-list): Remove, unused.
11477
25aef8b8
MR
114782011-06-17 Martin Rudalics <rudalics@gmx.at>
11479
11480 * window.el (display-buffer-alist): Set pop-up-window-min-height
11481 and pop-up-window-min-width in default value. Reported by
11482 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11483 other-window-means-other-frame.
11484 (display-buffer-macro-specifiers): Comment out entry for
11485 other-window specifier.
11486 (display-buffer-other-window-means-other-frame): New function.
11487 (display-buffer-normalize-specifiers-1): New arguments
11488 buffer-name and label. Treat other-window case specially.
11489 (display-buffer-normalize-specifiers-2): Treat other-window case
11490 specially.
11491 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11492 (display-buffer-normalize-specifiers):
11493 Call display-buffer-normalize-specifiers-3.
25aef8b8 11494
dbad4f69
MR
114952011-06-17 Martin Rudalics <rudalics@gmx.at>
11496
11497 * window.el (same-window-p): Fix two typos introduced when
11498 adding with-no-warnings.
d1067961
MR
11499 (display-buffer-normalize-specifiers-1): Don't check
11500 pop-up-frames for 'unset initialization.
11501 (display-buffer-normalize-specifiers-2): Major rewrite using
11502 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11503 (pop-up-frames, display-buffer-reuse-frames)
11504 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11505 Suggested by David Engster <deng@randomsample.de>.
11506 (even-window-heights): Initialize to 'unset.
11507 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11508 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11509 other window case.
dbad4f69 11510
9b9c9e3a
MR
115112011-06-16 Martin Rudalics <rudalics@gmx.at>
11512
bcd70d97
SM
11513 * window.el (display-buffer-normalize-specifiers-1):
11514 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11515 second argument of display-buffer (Bug#8865).
981d5c09
MR
11516 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11517 (switch-to-buffer-other-window-same-frame)
11518 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11519 Adams (Bug#8875).
9c2755e9
MR
11520 (display-buffer): Don't check noninteractive when calling
11521 display-buffer-pop-up-frame.
11522 (display-buffer-pop-up-frame): Never pop up a frame in
11523 noninteractive mode (Bug#8857).
67222e1d
MR
11524 (enlarge-window, shrink-window): Don't report an error when the
11525 window can't be resized as requested (Bug#8862).
9b9c9e3a 11526
2b75be67
SM
115272011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11528
9ffdd3ba
SM
11529 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11530
cb581a67
SM
11531 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11532
2b75be67
SM
11533 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11534
8c0e3589
AM
115352011-06-15 Alan Mackenzie <acm@muc.de>
11536
cb581a67
SM
11537 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11538 for declarators, disable knr checking to speed up for normal files.
11539 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11540
b96e6cde
LMI
115412011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11542
4bba86e6
LMI
11543 * net/network-stream.el (open-network-stream): Add the keyword
11544 :always-query-capabilities for the case where you want to force a
11545 `plain' network connection, but the protocol still requires the
11546 capabilitiy command (i.e., SMTP and EHLO).
11547
2b75be67 11548 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11549 consistency with other `-live-p' functions.
11550
efdcdbf8
SM
115512011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11552
11553 * window.el (same-window-buffer-names, same-window-regexps)
11554 (special-display-frame-alist, special-display-popup-frame)
11555 (special-display-function, special-display-buffer-names)
11556 (special-display-regexps, pop-up-frame-alist)
11557 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11558 (pop-up-windows, split-window-preferred-function)
11559 (split-height-threshold, split-width-threshold, even-window-heights)
11560 (display-buffer-mark-dedicated): Don't encourage the use of
11561 display-buffer-alist from Elisp code.
11562
c5cde042
DN
115632011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11564
11565 * progmodes/python.el (python-mode): Derive from prog-mode.
11566 * progmodes/ps-mode.el (ps-mode):
11567 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11568 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11569 * progmodes/ld-script.el (ld-script-mode): Likewise.
11570
baa1c9ab
MR
115712011-06-15 Martin Rudalics <rudalics@gmx.at>
11572
11573 * window.el (display-buffer-alist): Trim default value to avoid
11574 popping up a new frame (Bug#8857) or reusing an arbitrary window
11575 on another frame.
11576 (display-buffer): Do not fall back on popping up a new frame in
11577 batch mode (Bug#8857).
11578
c5dd5a51
CY
115792011-06-14 Chong Yidong <cyd@stupidchicken.com>
11580
11581 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11582 (custom-theme-summary): New function.
11583 (customize-themes): Use it.
11584
d647b7c4
GM
115852011-06-13 Glenn Morris <rgm@gnu.org>
11586
11587 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11588
9481c002
MR
115892011-06-13 Martin Rudalics <rudalics@gmx.at>
11590
357f93d2
MR
11591 * help.el (help-window): Remove variable.
11592 (help-window-point-marker, temp-buffer-max-height)
11593 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11594 (help-print-return-message): Don't set help-window.
11595 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11596 (help-window-setup-finish): Remove.
11597 (help-window-display-message, help-window-setup)
11598 (with-help-window): Major rewrite based on new
11599 display-buffer-window variable.
11600
11601 * help-mode.el (help-mode-finish): Remove help-window related
11602 code.
11603
11604 * view.el (view-exits-all-viewing-windows): Remove reference to
11605 view-return-to-alist in doc-string.
11606 (view-return-to-alist): Make obsolete.
11607 (view-buffer): Call pop-to-buffer-same-window and remove
11608 undo-window code.
11609 (view-buffer-other-window): Call pop-to-buffer-other-window and
11610 simplify code. Ignore second argument.
11611 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11612 simplify code. Ignore second argument.
11613 (view-return-to-alist-update): Make obsolete.
11614 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11615 Rewrite using quit-restore window parameters.
2b75be67
SM
11616 (view-mode-exit): Rename second argument to EXIT-ONLY.
11617 Rewrite using quit-restore-window.
357f93d2
MR
11618 (View-exit, View-exit-and-edit, View-leave, View-quit)
11619 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11620 appropriate arguments.
11621 (view-end-message): Use quit-restore window parameter.
11622
9481c002
MR
11623 * window.el (display-buffer-function): Rewrite doc-string.
11624 (display-buffer-window, display-buffer-alist): New variables.
11625 (display-buffer-split-specifiers)
11626 (display-buffer-side-specifiers)
11627 (display-buffer-macro-specifiers): New constants.
11628 (display-buffer-even-window-sizes, display-buffer-set-height)
11629 (display-buffer-set-width, display-buffer-select-window)
11630 (display-buffer-in-window, display-buffer-reuse-window)
11631 (display-buffer-split-window-1, display-buffer-split-window)
11632 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11633 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11634 (display-buffer-in-side-window, normalize-buffer-to-display)
11635 (display-buffer-normalize-specifiers-1)
11636 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11637 (display-buffer-normalize-specifiers, display-buffer-frame):
11638 New functions.
9481c002
MR
11639 (display-buffer): Major rewrite.
11640 (display-buffer-other-window, display-buffer-other-frame)
11641 (pop-to-buffer, switch-to-buffer-other-window)
11642 (switch-to-buffer-other-frame): Rewrite.
11643 (display-buffer-same-window, display-buffer-same-frame)
11644 (display-buffer-same-frame-other-window)
11645 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11646 (pop-to-buffer-other-window)
11647 (pop-to-buffer-same-frame-other-window)
11648 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11649 (switch-to-buffer-other-window-same-frame): New functions.
11650 (same-window-p, special-display-p): Rewrite disabling warnings.
11651 Make obsolete.
11652 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11653 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11654 Make obsolete
11655 (same-window-buffer-names, same-window-regexps)
11656 (special-display-frame-alist, special-display-popup-frame)
11657 (special-display-function, special-display-buffer-names)
11658 (special-display-regexps, pop-up-frame-alist)
11659 (pop-up-frame-function, split-window-preferred-function)
11660 (split-height-threshold, split-width-threshold)
11661 (even-window-heights): Make obsolete.
11662
9db51aca
GM
116632011-06-12 Glenn Morris <rgm@gnu.org>
11664
11665 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11666 Misc simplifications.
9db51aca 11667
39cffb44
MR
116682011-06-12 Martin Rudalics <rudalics@gmx.at>
11669
11670 * window.el (window-safely-shrinkable-p): Restore function which
11671 was inadvertently removed in change from 2011-06-11. Declare as
11672 obsolete.
11673
2b75be67
SM
11674 * calendar/calendar.el (calendar-generate-window):
11675 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11676 window-safely-shrinkable-p.
11677
a8955be7
GM
116782011-06-12 Glenn Morris <rgm@gnu.org>
11679
11680 * progmodes/fortran.el (fortran-mode-syntax-table):
11681 * progmodes/f90.el (f90-mode-syntax-table):
11682 Set % to punctuation. (Bug#8820)
11683 (f90-find-tag-default): Remove, no longer needed.
11684
f0d4059d
DC
116852011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11686
11687 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11688
1100a63c
CY
116892011-06-11 Chong Yidong <cyd@stupidchicken.com>
11690
11691 * image.el (image-animated-p): Return animation delay in seconds.
11692 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11693 (image-animate-timeout): Remove DELAY argument. Don't assume
11694 every subimage has the same delay; get it from image-animated-p.
11695 (image-animate): Caller changed.
11696
def722bf
MA
116972011-06-11 Michael Albinus <michael.albinus@gmx.de>
11698
11699 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11700 to ignored backtrace functions.
11701
0a2bb1a9
GM
117022011-06-11 Glenn Morris <rgm@gnu.org>
11703
11704 * calendar/appt.el (appt-disp-window-function): Doc fix.
11705 (appt-check): Handle overlapping appointments. (Bug#8337)
11706
6198ccd0
MR
117072011-06-11 Martin Rudalics <rudalics@gmx.at>
11708
11709 * window.el (window-tree-1, window-tree): New functions, moving
11710 the latter to window.el.
11711 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11712 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11713 (bw-refresh-edges): Remove.
11714 (balance-windows-1, balance-windows-2): New functions.
11715 (balance-windows): Rewrite in terms of window tree functions,
11716 balance-windows-1 and balance-windows-2.
11717 (bw-adjust-window): Remove.
11718 (balance-windows-area-adjust): New function with functionality of
11719 bw-adjust-window but using resize-window.
2b75be67
SM
11720 (set-window-text-height): Rewrite doc-string.
11721 Use normalize-live-window and resize-window.
11722 (enlarge-window-horizontally, shrink-window-horizontally):
11723 Rename argument to DELTA.
6198ccd0
MR
11724 (window-buffer-height): New function.
11725 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11726 Rewrite using new window resize routines.
2b75be67
SM
11727 (kill-buffer-and-window, mouse-autoselect-window-select):
11728 Use ignore-errors instead of condition-case.
6198ccd0
MR
11729 (quit-window): Call delete-frame instead of delete-windows-on
11730 for the only buffer on frame.
11731
9397e56f
MR
117322011-06-10 Martin Rudalics <rudalics@gmx.at>
11733
11734 * loadup.el (top-level): Load window before files for the sake
11735 of replace-buffer-in-windows.
11736
11737 * files.el (read-buffer-to-switch)
11738 (switch-to-buffer-other-window)
2b75be67
SM
11739 (switch-to-buffer-other-frame, display-buffer-other-frame):
11740 Move to window.el.
9397e56f
MR
11741
11742 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11743 (previous-buffer): Move to window.el.
11744
11745 * bindings.el (unbury-buffer): Move to window.el.
11746
11747 * window.el (delete-other-windows-vertically): Move after
11748 definition of delete-other-windows.
11749 (other-window, delete-windows-on, replace-buffer-in-windows):
11750 Move here from window.c.
11751 (record-window-buffer, unrecord-window-buffer)
11752 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11753 (switch-to-next-buffer): New functions.
11754 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11755 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11756 (previous-buffer): Move here from simple.el.
11757 Call switch-to-prev-buffer.
9397e56f
MR
11758 (bury-buffer): Move here from buffer.c. Switch to previous
11759 buffer when window cannot be deleted.
11760 (unbury-buffer): Move here from bindings.el.
11761 (ctl-x-map): Move binding for other-window from window.c to
11762 here.
11763 (read-buffer-to-switch, switch-to-buffer-other-window)
11764 (switch-to-buffer-other-frame): Move here from files.el.
11765 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11766 (switch-to-buffer): Move here from buffer.c.
11767 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11768
562dd5e9
MR
117692011-06-10 Martin Rudalics <rudalics@gmx.at>
11770
11771 * window.el (window-min-height, window-min-width): Move here
11772 from window.c. Add defcustoms and rewrite doc-strings.
11773 (resize-mini-window, resize-window): New functions.
11774 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11775 Move here from window.c.
11776 (maximize-window, minimize-window): New functions.
11777 (delete-window, delete-other-windows, split-window): Move here
11778 from window.c.
11779 (window-split-min-size): New function.
11780 (split-window-keep-point): Mention split-window-above-each-other
11781 instead of split-window-vertically.
2b75be67 11782 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11783 Rename split-window-vertically to split-window-above-each-other
11784 and provide defalias for old definition.
11785 (split-window-side-by-side, split-window-horizontally):
11786 Rename split-window-horizontally to split-window-side-by-side
11787 and provide defalias for the old definition.
562dd5e9
MR
11788 (ctl-x-map): Move bindings for delete-window,
11789 delete-other-windows and enlarge-window here from window.c.
11790 Replace bindings for split-window-vertically and
11791 split-window-horizontally by bindings for
11792 split-window-above-each-other and split-window-side-by-side.
11793
11794 * cus-start.el (all): Remove entries for window-min-height and
11795 window-min-width. Add entries for window-splits and
11796 window-nest.
11797
f0da764a
GM
117982011-06-09 Glenn Morris <rgm@gnu.org>
11799
80675c21
GM
11800 * calendar/appt.el (appt-mode-line): New function.
11801 (appt-check, appt-disp-window): Use it.
11802
f0da764a
GM
11803 * files.el (hack-one-local-variable-eval-safep):
11804 Allow minor-modes with explicit +/-1 arguments.
11805
59f623b7
TZ
118062011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11807
11808 * term/xterm.el (xterm): Add defgroup.
11809 (xterm-extra-capabilities): Add defcustom to supply known xterm
11810 capabilities, skip querying them, or query them (default).
11811 (terminal-init-xterm): Use it.
11812 (terminal-init-xterm-modify-other-keys): New function to set up
11813 modifyOtherKeys support to simplify `terminal-init-xterm'.
11814
9aab8e0d
MR
118152011-06-09 Martin Rudalics <rudalics@gmx.at>
11816
11817 * window.el (resize-window-reset, resize-window-reset-1)
11818 (resize-subwindows-skip-p, resize-subwindows-normal)
11819 (resize-subwindows, resize-other-windows, resize-this-window)
11820 (resize-root-window, resize-root-window-vertically)
11821 (window-deletable-p, window-or-subwindow-p)
11822 (frame-root-window-p): New functions.
11823
e8b08aee
GM
118242011-06-09 Glenn Morris <rgm@gnu.org>
11825
11826 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11827 (ange-ftp-get-files): Use it.
11828
254c37a5
AK
118292011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11830
11831 * mail/sendmail.el (mail-recover-1, mail-recover):
11832 * files.el (recover-file, recover-session):
11833 Handle dired-listing-switches not being just a single short option.
11834
35d7dbd3
GM
118352011-06-09 Glenn Morris <rgm@gnu.org>
11836
11837 * calendar/appt.el (appt-display-message, appt-disp-window):
11838 Handle lists of appointments.
11839
387522b2
MR
118402011-06-08 Martin Rudalics <rudalics@gmx.at>
11841
2b75be67
SM
11842 * window.el (one-window-p): Move down in code.
11843 Rewrite doc-string.
11844 (window-current-scroll-bars): Rewrite doc-string.
11845 Normalize live window argument.
387522b2
MR
11846 (walk-windows, get-window-with-predicate, count-windows):
11847 Rewrite doc-string. Use window-list-1.
11848 (window-in-direction-2, window-in-direction, get-mru-window):
11849 New functions.
11850
d8e4b68b 118512011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11852
11853 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11854 Doc fix (Bug#8713).
11855
118562011-06-08 Chong Yidong <cyd@stupidchicken.com>
11857
11858 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11859
118602011-06-08 Juanma Barranquero <lekktu@gmail.com>
11861
11862 * loadhist.el (unload-feature-special-hooks):
11863 Add `comint-output-filter-functions'.
11864
0de12c52
IK
118652011-06-08 Ivan Kanis <gnu@kanis.fr>
11866
11867 * calendar/appt.el (appt-check): Move some initializations into the let.
11868
f3d1777e
MR
118692011-06-08 Martin Rudalics <rudalics@gmx.at>
11870
11871 * window.el (window-height): Defalias to window-total-height.
11872 (window-width): Defalias to window-body-width.
11873
18af70d0
CY
118742011-06-07 Chong Yidong <cyd@stupidchicken.com>
11875
11876 * image-mode.el (image-toggle-animation): New command.
11877 (image-mode-map): Bind it to RET.
11878 (image-mode): Update message.
11879 (image-toggle-display-image): Avoid a spurious cache flush.
11880 (image-transform-rotation): Doc fix.
11881 (image-transform-properties): Return quickly in the normal case.
11882 (image-animate-loop): Rename from image-animate-max-time.
11883
2b75be67 11884 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11885 (create-animated-image): Remove unnecessary function.
11886 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11887 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11888 (image-animate-timer): Use car-safe.
11889 (image-animate-timeout): Rename argument.
11890
190b47e6
MR
118912011-06-07 Martin Rudalics <rudalics@gmx.at>
11892
11893 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11894 window.c. Rename first argument to ALL-FRAMES.
11895 Rephrase doc-strings.
11896 (get-buffer-window-list): Rewrite using window-list-1.
11897 Rephrase doc-string.
a1511caf
MR
11898 (window-safe-min-height, window-safe-min-width): New constants.
11899 (window-size-ignore, window-min-size, window-min-size-1)
11900 (window-sizable, window-sizable-p, window-size-fixed-1)
11901 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11902 (window-max-delta-1, window-max-delta, window-resizable)
11903 (window-resizable-p, window-total-height, window-total-width)
11904 (window-body-width): New functions.
11905 (window-full-height-p, window-full-width-p): Rewrite using
11906 window-total-size.
11907 (window-body-height): Rewrite using window-body-size.
190b47e6 11908
85cc1f11
MR
119092011-06-06 Martin Rudalics <rudalics@gmx.at>
11910
11911 * window.el (window-right, window-left, window-child)
11912 (window-child-count, window-last-child, window-any-p)
11913 (normalize-live-buffer, normalize-live-frame)
11914 (normalize-any-window, normalize-live-window)
11915 (window-iso-combination-p, window-iso-combined-p)
11916 (window-iso-combinations)
11917 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11918 (windows-with-parameter, window-with-parameter)
11919 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11920 (window-atom-check, window-side-check, window-check):
11921 New functions.
85cc1f11
MR
11922 (ignore-window-parameters, window-sides, window-sides-vertical)
11923 (window-sides-slots): New variables.
11924 (window-size-fixed): Move down in code. Minor doc-string fix.
11925
e7156492
AS
119262011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11927
11928 * comint.el (comint-dynamic-complete-as-filename)
11929 (comint-dynamic-complete-filename): Correctly call
11930 completion-in-region.
11931
7e821d0d
DD
119322011-06-05 Deniz Dogan <deniz@dogan.se>
11933
11934 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11935 in last change.
11936
ac09b8a1
DD
119372011-06-05 Deniz Dogan <deniz@dogan.se>
11938
11939 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11940 (rcirc): Use it to prompt for encryption.
11941
34699b85
RW
119422011-06-05 Roland Winkler <winkler@gnu.org>
11943
11944 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11945 (bibtex-search-entries): New command bound to C-c C-a.
11946 (bibtex-display-entries): New function.
11947
004dedd3
RW
119482011-06-05 Roland Winkler <winkler@gnu.org>
11949
11950 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11951 (bibtex-insert-kill): After yanking insert newline if necessary.
11952 (bibtex-initialize): Call bibtex-string-files-init only once.
11953 (bibtex-mode): Do not call easy-menu-add.
11954 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11955 (bibtex-yank): Set arg properly if nil.
11956
022fe7ce
RW
119572011-06-05 Roland Winkler <winkler@gnu.org>
11958
2b75be67
SM
11959 * textmodes/bibtex.el (bibtex-search-entry-globally):
11960 New variable.
022fe7ce
RW
11961 (bibtex-search-entry): Use it.
11962
b7c3692a
RW
119632011-06-05 Roland Winkler <winkler@gnu.org>
11964
11965 * textmodes/bibtex.el (bibtex-entry-format): New option
11966 sort-fields.
11967 (bibtex-format-entry, bibtex-reformat): Honor this option.
11968 (bibtex-parse-entry): Return fields in proper order.
11969
8eda563d
JB
119702011-06-05 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * doc-view.el (doc-view-remove-if): Move computation of result out
11973 of `dolist' to silence misleading lexical-binding warning.
11974
7dbe3dbc
CY
119752011-06-04 Chong Yidong <cyd@stupidchicken.com>
11976
11977 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11978 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11979
0c33dd17
MA
119802011-06-04 Michael Albinus <michael.albinus@gmx.de>
11981
11982 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11983 "SunOS 5.10".
11984
f8f91c2b
MA
119852011-06-04 Michael Albinus <michael.albinus@gmx.de>
11986
11987 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11988 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11989 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11990 (tramp-parse-putty):
11991 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
11992 (tramp-completion-function-alist-ssh)
11993 (tramp-completion-function-alist-telnet)
11994 (tramp-completion-function-alist-su)
11995 (tramp-completion-function-alist-putty): Set `tramp-autoload'
11996 cookie.
11997
11998 * net/tramp-ftp.el:
11999 * net/tramp-sh.el:
12000 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12001 load "tramp.el" `tramp-set-completion-function'.
12002
e17d9003
SM
120032011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * shell.el: Require and use pcomplete.
12006 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12007 (shell-completion-vars): Set pcomplete-default-completion-function.
12008
6c4cab03
DD
120092011-06-04 Deniz Dogan <deniz@dogan.se>
12010
12011 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12012 `memq' (Bug#8799).
12013
ea9fafe0
SM
120142011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12015
12016 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12017
b3e945d3
JB
120182011-06-02 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12021 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12022 * vc/log-view.el (log-view-beginning-of-defun):
12023 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12024 (smerge-refine-forward, smerge-refine-chopup-region):
12025 Silence warning for unused `dotimes' counter variables.
12026
7d520089
SM
120272011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12028
12029 * net/tramp.el (tramp-with-progress-reporter): Rename from
12030 with-progress-reporter. Use `declare'.
12031 * net/tramp-smb.el:
12032 * net/tramp-sh.el:
12033 * net/tramp-gvfs.el: Update all uses.
12034
a1c2400f
JB
120352011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12036
12037 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12038 buffer isn't killed before making it current.
12039
2403c841
SM
120402011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 Silence various byte-compiler warnings.
12043 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12044 `access-type' and new obsolescence format.
12045 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12046 new format.
12047 (byte-compile-check-variable): New `access-type' argument.
12048 Only warn if the access-type is obsolete.
12049 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12050 (byte-compile-variable-set): Adjust callers.
12051 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12052 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12053 setting it as obsolete.
12054 * simple.el (minibuffer-completing-symbol):
12055 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12056 access as obsolete.
12057 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12058 obsolete yet.
12059 * international/quail.el (quail-mouse-choose-completion): Remove unused
12060 code referring to obsolete var.
12061 (quail-choose-completion-string): Remove.
12062 * server.el (server-clients-with, server-kill-buffer-query-function)
12063 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12064 * proced.el (proced-send-signal):
12065 * emacs-lisp/lisp.el (lisp-complete-symbol):
12066 Replace completion-annotate-function with completion-extra-properties.
12067
2462470b
SM
120682011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12069
fb5b2591
SM
12070 * simple.el (goto-line): Use read-number.
12071 (overriding-map-is-bound): Remove.
12072 (saved-overriding-map): Change default.
12073 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12074 Take the map as argument.
12075 (universal-argument, negative-argument, digit-argument): Use it.
12076 (restore-overriding-map): Adjust.
12077 (do-auto-fill): Use fill-forward-paragraph.
12078 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12079
fd6fa53f
SM
12080 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12081 (minibuffer-inactive-mode): New major mode.
12082 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12083 the *Messages* buffer" hack.
12084 (mouse-popup-menubar): Don't burp if the event is a normal key.
12085
2462470b
SM
12086 Miscellaneous tweaks.
12087 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12088 lexical scoping as in subr.el's dolist and dotimes.
12089 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12090 Silence compiler warning.
12091 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12092 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12093 * international/ccl.el (ccl-compile): Trivial simplification.
12094 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12095 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12096 `printflag' argument.
12097 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12098 Purecopy the whole obsolescence data.
12099
108bf785
LL
121002011-06-01 Leo Liu <sdl.web@gmail.com>
12101
12102 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12103 improve doc-string as suggested by Marco Pessotto
12104 <melmothx@gmail.com>.
12105 (rcirc-print): Fix last change.
12106
30a23501
SM
121072011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * minibuffer.el (complete-with-action): Return nil for the metadata and
12110 boundaries of non-functional tables.
12111 (completion-table-dynamic): Return nil for the metadata.
12112 (completion-table-with-terminator): Add default case, using
12113 complete-with-action.
12114 (completion--metadata): New function.
12115 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12116 to try and avoid pathological performance problems.
12117 (completion--embedded-envvar-table): Return `category' metadata.
12118
bcd54f83
LMI
121192011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12120
12121 * subr.el (process-alive-p): New tiny convenience function.
12122
e227544d
SM
121232011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12124
12125 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12126 content but also its previous major mode.
12127
e8296fdc
HE
121282011-05-31 Helmut Eller <eller.helmut@gmail.com>
12129
4d61f28d 12130 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12131 *Backtrace* buffer when we exit with C-M-c.
12132
620c53a6
SM
121332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12134
12135 * minibuffer.el: Add metadata method to completion tables.
12136 (completion-category-overrides): New defcustom.
12137 (completion-metadata, completion--field-metadata)
12138 (completion-metadata-get, completion--styles)
12139 (completion--cycle-threshold): New functions.
12140 (completion-try-completion, completion-all-completions):
12141 Add `metadata' argument to choose completion-styles.
12142 (completion--do-completion): Use metadata to choose cycling.
12143 (completion-all-sorted-completions): Use metadata for sorting.
12144 Remove :completion-cycle-penalty which is not needed any more.
12145 (completion--try-word-completion): Add `metadata' argument.
12146 (minibuffer-completion-help): Check metadata for annotation function
12147 and sorting.
12148 (completion-file-name-table): Return `category' metadata.
12149 (minibuffer-completing-file-name): Make obsolete.
12150 * simple.el (minibuffer-completing-symbol): Make obsolete.
12151 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12152 completion-try-completion.
12153
1257e755
SM
121542011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12155
12156 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12157
3767e706
LL
121582011-05-30 Leo Liu <sdl.web@gmail.com>
12159
12160 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12161 (rcirc-print): Decode all incoming messages (bug#8744).
12162 (rcirc-decode-coding-system): Allow value nil for automatic coding
12163 system detection.
3767e706 12164
d1a5d56a
GM
121652011-06-01 Glenn Morris <rgm@gnu.org>
12166
12167 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12168
e8cbec34
CY
121692011-05-29 Chong Yidong <cyd@stupidchicken.com>
12170
12171 * image.el (image-animate-max-time): Allow nil and t values.
12172 Default to nil.
12173 (create-animated-image): Doc fix.
12174 (image-animate-start): Remove second arg; just use
12175 image-animate-max-time.
12176 (image-animate-timeout): Doc fix. Args changed.
12177
12178 * image-mode.el (image-toggle-display-image): Ensure that the
12179 image spec passed to the animate timer is the same object as in
58179cce 12180 the buffer's display property (Bug#6981).
e8cbec34
CY
12181 (image-transform-properties): Doc fix.
12182
12183 * image.el (image-animate-max-time): Default to nil.
12184
159daf87
MR
121852011-05-29 Martin Rudalics <rudalics@gmx.at>
12186
12187 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12188 entire buffer list (Bug#8184).
12189
d66c4c7c
CY
121902011-05-29 Chong Yidong <cyd@stupidchicken.com>
12191
12192 * image.el (imagemagick-types-inhibit)
12193 (imagemagick-register-types): Doc fix.
12194
80aec780
DD
121952011-05-29 Deniz Dogan <deniz@dogan.se>
12196
12197 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12198 default.
12199
1dd3c2d9
CY
122002011-05-29 Chong Yidong <cyd@stupidchicken.com>
12201
12202 * select.el: Don't perform clipboard-manager saving in hooks;
12203 leave the hooks empty.
12204
60e56523
LL
122052011-05-28 Leo Liu <sdl.web@gmail.com>
12206
12207 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12208 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12209 (occur-edit-mode): New major mode (Bug#8463).
12210 (occur-after-change-function): New function.
12211 (occur-engine): Give Occur tags a read-only property.
12212
2b1e1a22
KR
122132011-05-28 Kevin Ryde <user42@zip.com.au>
12214
12215 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12216
5d344e88
CY
122172011-05-28 Chong Yidong <cyd@stupidchicken.com>
12218
8e6ca83d
CY
12219 * bindings.el (help-echo): Make the initial non-indicator dash
12220 empty on graphical terminals (Bug#7295).
12221
5d344e88
CY
12222 * files.el (auto-mode-alist): Move config rule after the
12223 in-stripping one (Bug#8547).
12224
bfbbace7
CY
12225 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12226
fbeba6e2
CY
12227 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12228 setting (Bug#8740).
12229
60ed8c72
AA
122302011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12231
4ac619f0
AA
12232 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12233 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12234 (Bug#8539).
60ed8c72 12235
23db196e
CY
122362011-05-28 Chong Yidong <cyd@stupidchicken.com>
12237
12238 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12239
5012f24c
DK
122402011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12241
12242 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12243 (hs-hide-block-at-point, hs-find-block-beginning)
12244 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12245 (Bug#8279).
12246
6a639b16
GM
122472011-05-28 Glenn Morris <rgm@gnu.org>
12248
12249 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12250
d43eaf2c
CY
122512011-05-28 Chong Yidong <cyd@stupidchicken.com>
12252
5199bde1
CY
12253 * help-fns.el (describe-function-1): If the function is a derived
12254 major mode, print the parent mode.
12255
d43eaf2c
CY
12256 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12257 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12258
423428a8
SM
122592011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12260
0ff8e1ba 12261 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12262 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12263 * progmodes/etags.el (tags-completion-at-point-function):
12264 * info-look.el (info-lookup-completions-at-point): Mark as
12265 non-exclusive.
12266 (info-complete): Adjust accordingly.
12267
423428a8
SM
12268 * info-look.el: Convert to lexical-binding and completion-at-point.
12269 (info-lookup-completions-at-point): New function.
12270 (info-complete): Use it and completion-in-region.
12271
b74aa22b
DA
122722011-05-28 Drew Adams <drew.adams@oracle.com>
12273
12274 * isearch.el: Let M-e start with point at the first mismatched char.
12275 (isearch-fail-pos): New function.
12276 (isearch-edit-string): Use it.
12277
66e2e71d
DK
122782011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12279
12280 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12281
b1890b0f 122822011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12283
12284 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12285 traversal functions for avl-trees.
12286 (avl-tree--stack): New struct.
12287 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12288 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12289 (avl-tree--do-enter): Add optional `updatefun' arg.
12290 Change return value.
eb95d01d 12291 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12292 (avl-tree--do-delete): Add `test' and `nilflag' args.
12293 Change return value.
eb95d01d
TC
12294 (avl-tree-member): Add optional `nilflag'
12295 (avl-tree-member-p): New function.
12296 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12297 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12298 (avl-tree-stack-empty-p): New functions.
12299
3769ddcf
TC
12300 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12301 avl-tree--del-balance1 and make it work both ways.
12302 (avl-tree--del-balance2): Remove.
12303 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12304 make it work both ways.
12305 (avl-tree--enter-balance2): Remove.
12306 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12307 New macros.
12308 (avl-tree--mapc, avl-tree-map): Add direction argument.
12309
eb95d01d 123102011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12311
12312 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12313
a9f737ee
CY
123142011-05-27 Chong Yidong <cyd@stupidchicken.com>
12315
12316 * select.el: Support clipboard managers with built-in function
12317 x-clipboard-manager-save, via delete-frame-functions and
12318 kill-emacs-hook.
12319 (xselect-convert-to-targets): Add MULTIPLE target to list.
12320 (xselect-convert-to-save-targets): New function.
12321
c92a1e54
KH
123222011-05-27 Kenichi Handa <handa@m17n.org>
12323
12324 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12325 let-binding rfc2047-encode-encoded-words to nil.
12326
e145f188
GM
123272011-05-27 Glenn Morris <rgm@gnu.org>
12328
5ec8a862
GM
12329 * mail/emacsbug.el: Don't require url-util.
12330
4b29d9fb
GM
12331 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12332
e145f188
GM
12333 * files.el (set-auto-mode):
12334 Also respect mode: entries at the end of the file. (Bug#8586)
12335
7d15102b
GM
123362011-05-26 Glenn Morris <rgm@gnu.org>
12337
98f593b8
GM
12338 * files.el (hack-local-variables-prop-line, hack-local-variables):
12339 Downcase mode names, as seems to be traditional.
27b48e63 12340 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12341
7d15102b
GM
12342 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12343 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12344
51d5b4ec
JD
123452011-05-25 Julien Danjou <julien@danjou.info>
12346
12347 * textmodes/rst.el (rst-define-level-faces): Do not define face
12348 symbol if it is already defined.
12349
91513f63
VB
123502011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12351
12352 * play/5x5.el (5x5-new-game, 5x5-randomize):
12353 Reset 5x5-solver-output to nil when a new grid is cast.
12354 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12355 these debugging traces, as defmacro breaks the compiled code.
12356
4d90d6d0
DK
123572011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12358
12359 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12360
e1b90ef6
LL
123612011-05-24 Leo Liu <sdl.web@gmail.com>
12362
12363 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12364 (vc-bzr-sha1): Adapt.
12365
d8e4b68b 12366 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12367
12368 * bindings.el: Provide sha1 feature.
12369
db0406bb 123702011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12371
12372 * mail/sendmail.el: Require `rfc2047'.
12373 (mail-insert-from-field): Do not perform RFC2047 encoding.
12374 (mail-encode-header): New function.
12375 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12376 buffer to the return value of select-message-coding-system.
12377 Call mail-encode-header.
b8d747b9
KH
12378
12379 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12380
db0406bb 123812011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12382
4d90d6d0
DK
12383 * mail/supercite.el (sc-default-cite-frame):
12384 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12385
eb8a5e9b
GM
123862011-05-24 Glenn Morris <rgm@gnu.org>
12387
f8630703
GM
12388 * progmodes/python.el (brm-menu): Declare.
12389
8831bbed
GM
12390 * emulation/viper.el (viper-set-hooks): Declare.
12391
eb8a5e9b
GM
12392 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12393 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12394 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12395 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12396 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12397 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12398
a2a25d24
SM
123992011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12400
12401 Add an :exit-function for completion-at-point.
12402
12403 * minibuffer.el (completion--done): New fun.
12404 (completion--do-completion): Use it. New arg `expect-exact'.
12405 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12406 since completion--do-completion does it for us now.
12407 (minibuffer-force-complete): Use completion--done and
12408 completion--replace. Handle sole-completion case with more care.
12409 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12410 (completion-extra-properties): New var.
12411 (completion-annotate-function): Make obsolete.
12412 (minibuffer-completion-help): Adjust accordingly.
12413 Use completion-list-insert-choice-function.
12414 (completion-at-point, completion-help-at-point):
12415 Bind completion-extra-properties.
12416 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12417 * simple.el (completion-list-insert-choice-function): New var.
12418 (completion-setup-function): Preserve it.
12419 (choose-completion): Pay attention to it, shuffle the code a bit.
12420 (choose-completion-string): New arg `insert-function'.
12421
12422 * textmodes/bibtex.el: Convert to lexical binding.
12423 (bibtex-mode-map): Use completion-at-point.
12424 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12425 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12426 (bibtex-complete): Define as obsolete alias.
12427 (bibtex-complete-internal): Remove.
12428 (bibtex-format-entry): Remove unused sub-group in regexp.
12429 * shell.el (shell--command-completion-data)
12430 (shell-environment-variable-completion):
12431 * pcomplete.el (pcomplete-completions-at-point):
12432 * comint.el (comint--complete-file-name-data): Use :exit-function
12433 instead of completion-table-with-terminator so it also works for
12434 choose-completion.
12435
e44e373d
SM
124362011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12437
4f91a816
SM
12438 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12439
782fc819
SM
12440 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12441 (bug#8710).
12442
e44e373d
SM
12443 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12444
381987c3
KM
124452011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12446
12447 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12448 customization variable and implement: If non-nil, auto-fill will
12449 be inhibited while on topic's header line.
12450
b776bc70
VB
124512011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12452
12453 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12454 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12455 always have a solution in grid size = 5 cases.
12456 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12457 (5x5-solver-output, 5x5-log-buffer): New vars.
12458 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12459 Make these variables buffer local to achieve 5x5 multi-session-ness.
12460 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12461 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12462 (5x5-solve-suggest): New funs.
12463 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12464 randomize a grid so that we ensure that there is always a solution.
12465 (5x5-make-random-grid): Allow other movement than flipping.
12466
7de88b6e
KR
124672011-05-23 Kevin Ryde <user42@zip.com.au>
12468
12469 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12470 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12471 advice and passes PREDICATE.
12472
b1ef1257
SM
124732011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12474
bbca48fe
SM
12475 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12476 byte-compile-lambda if it's actually a lambda.
12477
b1ef1257
SM
12478 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12479 Fix function quoting. Use backquote better.
12480
92a9cc65
YS
124812011-05-22 Yuanle Song <sylecn@gmail.com>
12482
12483 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12484 matching (Bug#8516).
12485
f0fb8059
JA
124862011-01-22 Jari Aalto <jari.aalto@cante.net>
12487
12488 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12489 different face (Bug#8178).
12490
d5b44c93
CY
124912011-05-22 Chong Yidong <cyd@stupidchicken.com>
12492
12493 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12494 defface (Bug#8144).
12495
79106a44
SM
124962011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12497
9c848d8a
SM
12498 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12499 funcall as well (bug#8712). Warn when performing those conversions.
12500 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12501
79106a44
SM
12502 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12503
88dfa756
GM
125042011-05-22 Glenn Morris <rgm@gnu.org>
12505
12506 * files.el (hack-local-variables-prop-line): Small simplifications.
12507 (hack-local-variables, hack-local-variables-prop-line):
12508 If MODE-ONLY, return the mode, rather than just `t'.
12509
b7cf2c79
SM
125102011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12511
12512 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12513
3f1a8558
GM
125142011-05-21 Glenn Morris <rgm@gnu.org>
12515
7e4ccca3
GM
12516 * files.el (hack-local-variables-prop-line, hack-local-variables):
12517 If only interested in the mode, don't bother doing the other stuff.
12518
637d46ca
GM
12519 * image-mode.el (image-after-revert-hook):
12520 Redraw all frames on which the image is visible. (Bug#8567)
12521
973d955b
GM
12522 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12523
3f1a8558
GM
12524 * wid-edit.el (widget-checklist-match-inline):
12525 Fix 2011-04-19 change. (Bug#8649)
12526
96479927
SM
125272011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12528
1dcf791f
SM
12529 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12530 Also allow singlespace after single-letter capitals followed by a dot.
12531
96479927
SM
12532 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12533 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12534
35fd0881
N
125352011-05-20 Nix <nix@esperi.org.uk>
12536
12537 * files.el (basic-save-buffer-2):
12538 Fix handling of break-hardlink-on-save with non-existent files.
12539
82745640
DD
125402011-05-19 Deniz Dogan <deniz@dogan.se>
12541
12542 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12543 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12544
4a720484
GM
125452011-05-19 Glenn Morris <rgm@gnu.org>
12546
d1f21341
GM
12547 * progmodes/f90.el (f90-type-def-re):
12548 Handle "type, bind(c)". (Bug#8691)
12549
4a720484
GM
12550 * emacs-lisp/autoload.el (batch-update-autoloads):
12551 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12552
2fb0a219
MA
125532011-05-18 Michael Albinus <michael.albinus@gmx.de>
12554
12555 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12556 property for the correct connection in case of multihops.
12557
e565dd37
GM
125582011-05-18 Glenn Morris <rgm@gnu.org>
12559
c2571358 12560 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12561 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12562
e565dd37
GM
12563 Rationalize calendar handling of day and month abbrev-arrays.
12564 * calendar/calendar.el (calendar-customized-p): New function.
12565 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12566 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12567 Add :set function.
12568 (calendar-abbrev-length, calendar-day-abbrev-array)
12569 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12570 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12571 Elements may no longer be nil.
12572 (calendar-day-name, calendar-month-name):
12573 Update for changed nature of abbrev arrays.
12574 * calendar/diary-lib.el (diary-name-pattern):
12575 Update for changed nature of abbrev arrays.
12576 (diary-mark-entries-1): Update calendar-make-alist calls.
12577 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12578 * calendar/cal-html.el (cal-html-day-abbrev-array):
12579 Simply inherit from calendar-day-abbrev-array.
12580
1d99a745
SM
125812011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * progmodes/grep.el (grep-mode): Disable default
12584 compilation-directory-matcher setting (bug#8684).
12585
7c1d9aa0
MA
125862011-05-17 Michael Albinus <michael.albinus@gmx.de>
12587
12588 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12589 instead of "head" and "tail". There were problems with SunOS 5.9,
12590 and it performs better.
12591
3952e9d8
GM
125922011-05-17 Glenn Morris <rgm@gnu.org>
12593
2dd12e7f
GM
12594 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12595
e4157b9c
GM
12596 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12597 Replace obsolete function.
12598
8e249bbd
GM
12599 * shell.el (pcomplete-parse-arguments-function): Declare.
12600
3952e9d8
GM
12601 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12602 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12603 (appt-check): Doc fixes.
12604 (appt-disp-window-function, appt-delete-window-function):
12605 Remove needless special case in custom :type.
12606 (appt-display-count): Default to 0, not nil.
12607 (appt-check): Reset appt-display-count to 0, not nil.
12608
c71a0d48 126092011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12610
c71a0d48
GM
12611 * progmodes/python.el (python-font-lock-keywords):
12612 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12613
31d55be9
SM
126142011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12617
3bfacb2f
KR
126182011-05-16 Kevin Ryde <user42@zip.com.au>
12619
12620 * info-look.el (makefile-automake-mode): New setups, looking in
12621 automake manual, then makefile-mode.
12622 (makefile-mode): Remove automake manual, have it just in
12623 makefile-automake-mode since there's various things different or
12624 not relevant to plain make.
12625 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12626 believe a hypothetical automake-mode would go to makefile-mode,
12627 not the other way around.
12628
c8e83751
CY
126292011-05-15 Chong Yidong <cyd@stupidchicken.com>
12630
5e9e35cd
CY
12631 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12632 hunk-end tags (Bug#8672).
12633
c8e83751
CY
12634 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12635 vc-annotate-show-diff-revision-at-line (Bug#8671).
12636
50b23e5a
GM
126372011-05-14 Glenn Morris <rgm@gnu.org>
12638
7210a739
GM
12639 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12640 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12641 (change-log-font-lock-keywords): Also handle multiple author lines
12642 with leading tabs. (Bug#8644)
7210a739 12643
4691905a
GM
12644 * calendar/appt.el (appt-check): Rename some local variables.
12645 Some simplification/reordering.
12646
50b23e5a
GM
12647 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12648 (feedmail-sendmail-f-doesnt-sell-me-out)
12649 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12650 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12651 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12652 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12653 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12654 (feedmail-binmail-gnulinuxish-template):
12655 Rename from feedmail-binmail-linuxish-template.
12656 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12657 Use insert-buffer-substring.
12658
215cda7c
BC
126592011-05-14 Bill Carpenter <bill@carpenter.org>
12660
12661 * mail/feedmail.el (feedmail-patch-level): Increase.
12662 (feedmail-debug): New custom group.
12663 (feedmail-confirm-outgoing-timeout)
12664 (feedmail-sendmail-f-doesnt-sell-me-out)
12665 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12666 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12667 (feedmail-sender-line, feedmail-from-line)
12668 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12669 (feedmail-spray-this-address)
215cda7c
BC
12670 (feedmail-spray-address-fiddle-plex-list)
12671 (feedmail-queue-use-send-time-for-date)
12672 (feedmail-queue-use-send-time-for-message-id)
12673 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12674 (feedmail-buffer-eating-function):
12675 Doc fixes.
12676 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12677 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12678 (feedmail-message-action-scroll-down): New functions.
12679 (feedmail-queue-directory, feedmail-queue-draft-directory):
12680 Use expand-file-name.
12681 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12682 Remove C-v help entry.
12683 (feedmail-queue-buffer-file-name): New variable.
12684 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12685 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12686 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12687 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12688 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12689 (feedmail-message-action-toggle-spray)
12690 (feedmail-run-the-queue-no-prompts)
12691 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12692 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12693 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12694 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12695 (feedmail-envelope-deducer, feedmail-fiddle-from)
12696 (feedmail-fiddle-sender, feedmail-default-date-generator)
12697 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12698 (feedmail-fiddle-spray-address)
12699 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12700 (feedmail-fiddle-list-of-fiddle-plexes)
12701 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12702 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12703 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12704 Change default. Doc fix.
12705 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12706 (feedmail-binmail-linuxish-template): New constant.
12707 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12708 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12709 (feedmail-send-it): Add debug call.
12710 Use feedmail-queue-buffer-file-name, and
12711 feedmail-send-it-immediately-wrapper.
12712 (feedmail-message-action-send): Add debug call.
12713 Use feedmail-send-it-immediately-wrapper.
12714 (feedmail-queue-express-to-queue): Add debug call.
12715 Run feedmail-queue-express-hook.
12716 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12717 (feedmail-message-action-help-blat):
12718 Rename from feedmail-queue-send-edit-prompt-help-first.
12719 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12720 Check line-endings. Handle errors better.
12721 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12722 Doc fix. Add debug call.
12723 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12724 Use feedmail-queue-send-edit-prompt-inner.
12725 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12726 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12727 from feedmail-queue-send-edit-prompt.
12728 (feedmail-queue-send-edit-prompt-help)
12729 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12730 (feedmail-tidy-up-slug): Add debug call.
12731 Respect feedmail-queue-slug-suspect-regexp.
12732 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12733 (feedmail-dump-message-to-queue): Add debug call.
12734 Expand queue-directory.
12735 (feedmail-dump-message-to-queue): Change message slightly.
12736 Use feedmail-say-chatter.
12737 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12738 (feedmail-send-it-immediately-wrapper): New function.
12739 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12740 Insert empty string rather than newline. Handle full-frame case.
12741 Use catch/throw. Use feedmail-say-chatter.
12742 (feedmail-fiddle-from): Try mail-host-address.
12743 (feedmail-default-message-id-generator): Doc fix.
12744 Bind system-time-locale. Handle missing end.
12745 (feedmail-fiddle-x-mailer): Add debug call.
12746 Handle feedmail-x-mailer-line being nil.
12747 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12748 Add debug call. Use buffer-substring-no-properties.
12749 (feedmail-say-debug, feedmail-say-chatter): New functions.
12750 (feedmail-find-eoh): Give an explicit error.
12751
42c7e61e
UJ
127522011-05-13 Ulf Jasper <ulf.jasper@web.de>
12753
c2571358 12754 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12755 family from helvetica to sans.
c2571358 12756 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12757 etc/images/newsticker.
12758
c2571358 12759 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12760 family from helvetica to sans.
12761
12762 * net/newst-plainview.el (newsticker-new-item-face)
12763 (newsticker-old-item-face, newsticker-immortal-item-face)
12764 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12765 (newsticker-statistics-face): Change default family from
42c7e61e 12766 helvetica to sans.
c2571358 12767 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12768 etc/images/newsticker.
12769
5d3385a0
JB
12770 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12771 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12772 auto-marking.
12773
8497a297
DV
127742011-05-13 Didier Verna <didier@xemacs.org>
12775
12776 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12777 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12778 TODO entries.
8497a297
DV
12779 (lisp-lambda-list-keyword-parameter-indentation)
12780 (lisp-lambda-list-keyword-parameter-alignment)
12781 (lisp-lambda-list-keyword-alignment): New customizable user options.
12782 (lisp-indent-defun-method): Improve docstring.
12783 (extended-loop-p): Fix comment.
12784 (lisp-indent-lambda-list-keywords-regexp): New variable.
12785 (lisp-indent-lambda-list): New function.
12786 (lisp-indent-259): Use it.
12787 (lisp-indent-defmethod): Support for more than one
12788 method qualifier and properly indent methods lambda-lists.
12789 (defgeneric): Provide a missing common-lisp-indent-function property.
12790
f278f87f
SM
127912011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12792
12793 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12794 bounds for the empty string (bug#8667).
12795
5233edd7
GM
127962011-05-13 Glenn Morris <rgm@gnu.org>
12797
5237a44f
GM
12798 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12799
8340026c 12800 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12801 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12802
5233edd7 12803 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12804 (appt-time-msg-list): Doc fix.
a5464014 12805 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12806
92d10796
AS
128072011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12808
12809 * progmodes/ld-script.el (ld-script-keywords)
12810 (ld-script-builtins): Update keywords list.
12811
914a0ae1
SM
128122011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12813
c89be45f
SM
12814 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12815
914a0ae1
SM
12816 * shell.el (shell-completion-vars): New function.
12817 (shell-mode):
12818 * simple.el (read-shell-command): Use it.
12819 (blink-matching-open): No need for " [...]" in minibuffer-message.
12820
98dc3df3
GM
128212011-05-12 Glenn Morris <rgm@gnu.org>
12822
12823 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12824 (appt-check): Simplify.
12825
d2fc7e3d 128262011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12827
4d61f28d 12828 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12829 literal "/dev/null".
12830
d2fc7e3d 128312011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12832
12833 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12834 Fix typo.
12835
d2fc7e3d 128362011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12837
3f254caa
SM
12838 * progmodes/which-func.el (which-function):
12839 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12840 which might not be defined (Bug#8260).
12841
d45885f7
GM
128422011-05-12 Glenn Morris <rgm@gnu.org>
12843
12844 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12845 Let byte-compile-initial-macro-environment always take precedence.
12846
488086f4
SM
128472011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12848
12849 * net/rcirc.el: Add support for SSL/TLS connections.
12850 (rcirc-server-alist): New field `encryption'.
12851 (rcirc): Check `encryption' settings.
12852 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12853 Merge make-local-variable into `set'.
12854 (rcirc--connection-open-p): New function.
12855 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12856 the process is not a network process (e.g. running gnutls-cli).
12857 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12858 Make rcirc-(en|de)code-coding-system local here.
12859 (rcirc-mode): Merge make-local-variable into `set'.
12860 (rcirc-parent-buffer): Make permanent buffer-local.
12861 (rcirc-multiline-minor-mode): Don't do it here.
12862 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12863 there's no server buffer.
12864
7d3b9d44
GM
128652011-05-11 Glenn Morris <rgm@gnu.org>
12866
f64049c6
GM
12867 * newcomment.el (comment-kill): Prefix "unused" local.
12868
93c9df73
GM
12869 * term/w32console.el (get-screen-color): Declare.
12870
7d3b9d44
GM
12871 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12872 Handle symbol elements of byte-compile-initial-macro-environment.
12873
9e2dd53f
LL
128742011-05-10 Leo Liu <sdl.web@gmail.com>
12875
488086f4
SM
12876 * bookmark.el (bookmark-bmenu-mode-map):
12877 Bind bookmark-bmenu-search to `/'.
8b340240 12878
9e2dd53f 12879 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12880 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12881 (Footnote-unicode): New function.
12882 (footnote-style-alist): Add unicode style to the list.
12883 (footnote-style): Doc fix.
9e2dd53f 12884
79b70037
GM
128852011-05-10 Jim Meyering <meyering@redhat.com>
12886
12887 Fix doubled-word typos.
12888 * international/quail.el (quail-insert-kbd-layout): and and -> and
12889 * kermit.el: and and -> and
12890 * net/ldap.el (ldap-search-internal): to to -> to
12891 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12892 * progmodes/js.el (js-mode): and and -> and
12893 * textmodes/artist.el (artist-move-to-xy): at at -> at
12894 (artist-draw-region-trim-line-endings): if if -> if
12895 And Safetyc -> Safety.
12896 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12897
b8f82dc1 128982011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12899 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12900
12901 * files.el (hack-one-local-variable-eval-safep):
12902 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12903
4f99f44b
GM
129042011-05-10 Glenn Morris <rgm@gnu.org>
12905
12906 * calendar/diary-lib.el (diary-list-entries-hook)
12907 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12908 (diary-nongregorian-marking-hook, diary-list-entries)
12909 (diary-include-other-diary-files, diary-mark-entries)
12910 (diary-mark-included-diary-files): Doc fixes.
12911
84f29e6b
JB
129122011-05-09 Juanma Barranquero <lekktu@gmail.com>
12913
12914 * misc.el: Require tabulated-list.el during compilation.
12915
9bedd73a
CY
129162011-05-09 Chong Yidong <cyd@stupidchicken.com>
12917
488086f4
SM
12918 * progmodes/compile.el (compilation-start):
12919 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12920 (compilation-filter-hook): Doc fix.
12921
797c735c
DD
129222011-05-09 Deniz Dogan <deniz@dogan.se>
12923
12924 * wdired.el: Remove outdated installation comment. Fix usage
12925 comment.
12926
5f4b1dfe
JB
129272011-05-09 Juanma Barranquero <lekktu@gmail.com>
12928
12929 * misc.el: Implement new command `list-dynamic-libraries'.
12930 (list-dynamic-libraries--loaded-only-p): New variable.
12931 (list-dynamic-libraries--refresh): New function.
12932 (list-dynamic-libraries): New command.
12933
4c44026c
CY
129342011-05-09 Chong Yidong <cyd@stupidchicken.com>
12935
488086f4
SM
12936 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12937 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12938 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12939 higher priority to avoid clobbering by gnu.
12940
027f966d
CY
129412011-05-08 Chong Yidong <cyd@stupidchicken.com>
12942
12943 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12944 if the face has existing theme settings (Bug#8454).
12945
085f5d7d
CY
129462011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12947
488086f4
SM
12948 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12949 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12950
2a86a00c
RS
12951 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12952 special file names `.' and `..' (Bug#8259).
12953
d9c54a06
CY
129542011-05-08 Chong Yidong <cyd@stupidchicken.com>
12955
488086f4
SM
12956 * progmodes/grep.el (grep-mode-font-lock-keywords):
12957 Remove buffer-changing entries.
d9c54a06
CY
12958 (grep-filter): New function.
12959 (grep-mode): Add it to compilation-filter-hook.
12960
12961 * progmodes/compile.el (compilation-filter-hook)
12962 (compilation-filter-start): New defvars.
12963 (compilation-filter): Call compilation-filter-hook prior to
12964 updating the process mark.
12965
c4662635
SM
129662011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12967
12968 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12969
b0512a1d
EZ
129702011-05-07 Eli Zaretskii <eliz@gnu.org>
12971
605c9376
EZ
12972 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12973 mailclient-send-it even if window-system is nil. (Bug#8595)
12974
c4662635
SM
12975 * term/w32console.el (terminal-init-w32console):
12976 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12977 background-mode. (Bug#8597)
12978
d1dc2cc2
SM
129792011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12980
12981 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12982 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12983 New functions.
12984 (defgeneric, eieio--defmethod): Use them.
12985 (eieio-defgeneric): Remove.
12986 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12987
915d1300
GM
129882011-05-07 Glenn Morris <rgm@gnu.org>
12989
a3961c3e
GM
12990 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
12991 Use let rather than let*.
12992 (timeclock-find-discrep): Remove unused local.
12993
314347b9
GM
12994 * calendar/diary-lib.el (diary-comment-start): Doc fix.
12995
915d1300
GM
12996 * calendar/appt.el (appt-time-msg-list): Doc fix.
12997
275b59b0
NF
129982011-05-06 Noah Friedman <friedman@splode.com>
12999
13000 * apropos.el (apropos-print-doc): Only use
13001 emacs-lisp-docstring-fill-column when it is bound to an integer,
13002 per that variable's documentation.
13003
6c19f744
SM
130042011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13007 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13008
60f884b2
GM
130092011-05-06 Glenn Morris <rgm@gnu.org>
13010
5006e634
GM
13011 * calendar/appt.el (appt-message-warning-time): Doc fix.
13012 (appt-warning-time-regexp): New option.
13013 (appt-make-list): Respect appt-message-warning-time.
13014
548d0a63
GM
13015 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13016 New options.
13017 (diary-add-to-list): Strip comments from the displayed string.
13018 (diary-mode): Set comment-start and comment-end.
13019
60f884b2
GM
13020 * vc/diff-mode.el (smerge-refine-subst): Declare.
13021 (diff-refine-hunk): Don't require smerge-mode when compiling.
13022
989681bb
JB
130232011-05-06 Juanma Barranquero <lekktu@gmail.com>
13024
13025 * simple.el (list-processes): Return nil as the docstring says.
13026
a6bc05e1
MA
130272011-05-05 Michael Albinus <michael.albinus@gmx.de>
13028
13029 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13030 to "".
13031 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13032 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13033 determining of binary transfer. (Bug#7383)
13034
23c22e9a
MA
130352011-05-05 Michael Albinus <michael.albinus@gmx.de>
13036
c4662635
SM
13037 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13038 Fix port computation bug. (Bug#8618)
23c22e9a 13039
0bff894f
GM
130402011-05-05 Glenn Morris <rgm@gnu.org>
13041
b8296902
GM
13042 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13043
1f522ce8
GM
13044 * simple.el (shell-dynamic-complete-functions)
13045 (comint-dynamic-complete-functions): Declare.
13046
cf5bee67
GM
13047 * net/network-stream.el (gnutls-negotiate):
13048 * simple.el (tabulated-list-print): Fix declarations.
13049
13050 * progmodes/gud.el (syntax-symbol, syntax-point):
13051 Remove unnecessary and incorrect declarations.
13052
0bff894f
GM
13053 * emacs-lisp/check-declare.el (check-declare-scan):
13054 Handle byte-compile-initial-macro-environment in bytecomp.el
13055
9869b3ae
SM
130562011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 Fix earlier half-done eieio-defmethod change (bug#8338).
13059 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13060 Streamline and change calling convention.
13061 (defmethod): Adjust accordingly and simplify.
13062 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13063 new eieio--defmethod.
13064 (slot-boundp): Minor CSE simplification.
13065
9c1d5ac5
MZ
130662011-05-05 Milan Zamazal <pdm@zamazal.org>
13067
13068 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13069 (glasses-make-readable): Use glasses-separate-capital-groups.
13070
455c834e
JB
130712011-05-05 Juanma Barranquero <lekktu@gmail.com>
13072
13073 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13074 (warning-series): Doc fix.
13075 (display-warning): Don't try to create the buffer if we just found it.
13076
9ed7c8cb
CY
130772011-05-04 Chong Yidong <cyd@stupidchicken.com>
13078
13079 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13080 (autoload-find-generated-file): New function.
13081 (generate-file-autoloads): Bind generated-autoload-file to
13082 buffer-file-name.
9869b3ae
SM
13083 (update-file-autoloads, update-directory-autoloads):
13084 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13085 output file (Bug#7989).
13086 (batch-update-autoloads): Doc fix.
13087
0898ca10
JB
130882011-05-04 Juanma Barranquero <lekktu@gmail.com>
13089
13090 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13091
31dfb76c
GM
130922011-05-04 Glenn Morris <rgm@gnu.org>
13093
f330b642
GM
13094 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13095 function, so it follows changes in calendar-date-style.
13096 (diary-fancy-date-matcher): New function.
13097 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13098 (diary-fancy-font-lock-fontify-region-function):
13099 Use diary-fancy-date-pattern as a function.
13100
31dfb76c
GM
13101 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13102 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13103
48e79d6a
TZ
131042011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13105
13106 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13107 instead of positional arguments. Allow :keylist and :crlfiles
13108 arguments.
13109 (open-gnutls-stream): Call it.
13110
13111 * net/network-stream.el (network-stream-open-starttls): Adjust to
13112 call `gnutls-negotiate' with :process and :hostname arguments.
13113
dd5a5ee0
SM
131142011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13115
ef80fc09
SM
13116 * minibuffer.el (completion--message): New function.
13117 (completion--do-completion, minibuffer-complete)
13118 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13119 (completion--do-completion): Don't ignore completion-auto-help when in
13120 icomplete-mode.
13121
dd5a5ee0
SM
13122 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13123 internal encoding (e.g. tibetan zero is not whitespace).
13124 (global-whitespace-mode): Prefer save-current-buffer.
13125 (whitespace-trailing-regexp): Remove useless save-match-data.
13126 (whitespace-empty-at-bob-regexp): Minor simplification.
13127
b7d22a83
CY
131282011-05-03 Chong Yidong <cyd@stupidchicken.com>
13129
13130 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13131
5192af46
AM
131322011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13133
13134 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13135 Use `concat' to create string for insertion.
5192af46 13136
5767d190
SM
131372011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13138
13139 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13140 Avoid open-line which runs post-self-insert-hook.
13141 (bibtex-fill-entry): Remove unused `end' var.
13142
bf242939
AM
131432011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13144
5767d190
SM
13145 * textmodes/ispell.el (ispell-add-per-file-word-list):
13146 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13147
25666126
LL
131482011-05-03 Leo Liu <sdl.web@gmail.com>
13149
13150 * isearch.el (isearch-yank-pop): New command.
5767d190 13151 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13152 (isearch-forward): Mention it.
13153
52d3c2d0
SM
131542011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13155
1bcace58
SM
13156 * simple.el (minibuffer-complete-shell-command): Remove.
13157 (minibuffer-local-shell-command-map): Use completion-at-point.
13158 (read-shell-command): Setup completion vars here instead.
13159 (read-expression-map): Bind TAB to symbol completion.
13160
52d3c2d0
SM
13161 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13162 error directly rather via storing it into `results'.
13163
35813471
LL
131642011-05-02 Leo Liu <sdl.web@gmail.com>
13165
13166 * vc/diff.el: Fix description.
13167
e793a940
LMI
131682011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13169
13170 * server.el (server-eval-at): New function.
13171
8de66e05
LMI
131722011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13173
13174 * net/network-stream.el (open-network-stream): Take a :nowait
13175 parameter and pass it on to `make-network-process'.
13176 (network-stream-open-plain): Ditto.
13177
dcb79f20
AS
131782011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13179
13180 * faces.el (face-spec-set-match-display): Don't match toolkit
13181 options on terminal frames.
13182
14a7fbd8
SM
131832011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13184
7eabc1be
SM
13185 * progmodes/pascal.el: Use lexical binding.
13186 (pascal-mode-map): Remove author preferences.
13187
14a7fbd8
SM
13188 * pcomplete.el (pcomplete-std-complete): Don't abuse
13189 completion-at-point.
13190
50f84510
JB
131912011-04-28 Juanma Barranquero <lekktu@gmail.com>
13192
6e087a44
JB
13193 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13194 removing code that has been dead since 1991 or so.
13195
50f84510
JB
13196 * startup.el (command-line): When warning about "_emacs", use a
13197 delayed warning to allow the user to filter it out.
13198
0ba690bd
DD
131992011-04-28 Deniz Dogan <deniz@dogan.se>
13200
13201 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13202 user has not joined.
13203
08abfaad
SM
132042011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13205
13206 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13207 aren't any completions at point.
13208
638f053a
JB
132092011-04-28 Juanma Barranquero <lekktu@gmail.com>
13210
13211 * subr.el (display-delayed-warnings): New function.
13212 (delayed-warnings-hook): New variable.
13213
8fff8daa
SM
132142011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13215
08abfaad
SM
13216 * minibuffer.el (completion-at-point, completion-help-at-point):
13217 Don't presume that a given completion-at-point-function will always
13218 use the same calling convention.
13219
8fff8daa
SM
13220 * pcomplete.el (pcomplete-completions-at-point):
13221 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13222 pcomplete-seen is non-nil.
13223 (pcomplete-comint-setup): Also recognize the new comint/shell
13224 completion functions.
13225 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13226 pcomplete-seen is non-nil.
13227
841a1577 132282011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13229
841a1577 13230 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13231 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13232 the first character in the entry. This allows for code to add its
211ec907
UJ
13233 own uid to the entry.
13234 (icalendar--convert-float-to-ical): Add export of
13235 `diary-float'-entries save for those with the optional DAY
13236 argument.
13237
2a782793
DC
132382011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13239
13240 * subr.el (shell-quote-argument): Use alternate escaping strategy
13241 when we spot a variable reference in a string.
13242
0438ce91
DC
132432011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13244
13245 * cus-start.el (all): Define customization for debug-on-event.
13246
841a1577 132472011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13248
13249 * subr.el (shell-quote-argument): Escape correctly under Windows.
13250
d090ed6c
SM
132512011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13252
13253 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13254
bfd31217
MA
132552011-04-25 Michael Albinus <michael.albinus@gmx.de>
13256
d090ed6c
SM
13257 * net/tramp.el (tramp-process-actions): Add POS argument.
13258 Delete region between POS and (pos).
bfd31217 13259
d090ed6c
SM
13260 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13261 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13262 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13263
13264 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13265 position in `tramp-process-actions' call.
13266
13267 * net/trampver.el: Update release number.
13268
e92f3bd3
SM
132692011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13270
850256b5
SM
13271 * custom.el (defcustom): Obey lexical-binding.
13272
e92f3bd3
SM
13273 Fix octave-inf completion problems reported by Alexander Klimov.
13274 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13275 Inherit from octave-mode-syntax-table.
13276 (inferior-octave-mode): Set info-lookup-mode.
13277 (inferior-octave-completion-at-point): New function.
13278 (inferior-octave-complete): Use it and completion-in-region.
13279 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13280 comint-filename-completion.
13281 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13282 symbol elements which shouldn't be word elements.
13283 (octave-font-lock-keywords, octave-beginning-of-defun)
13284 (octave-function-header-regexp): Adjust regexps accordingly.
13285 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13286
cd22b309
JB
132872011-04-25 Juanma Barranquero <lekktu@gmail.com>
13288
13289 * net/gnutls.el (gnutls-errorp): Declare before first use.
13290
8b492194
TZ
132912011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13292
13293 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13294 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13295 default trustfile exists before going to use it. Add missing
5a5fa834 13296 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13297 Reported by Claudio Bley <claudio.bley@gmail.com>.
13298 (open-gnutls-stream): Add usage example.
13299
13300 * net/network-stream.el (network-stream-open-starttls): Give host
13301 parameter to `gnutls-negotiate'.
13302 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13303 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13304
841a1577 133052011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13306
cd22b309
JB
13307 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13308 Use correct match group (bug#8438).
05842630 13309
3ba7869c
CY
133102011-04-24 Chong Yidong <cyd@stupidchicken.com>
13311
512e3ae1
CY
13312 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13313 (package-menu--generate): New arg specifying packages to show.
13314 (package-menu-refresh, package-menu-execute, list-packages):
13315 Callers changed.
13316 (package-show-package-list): New function, replacing deleted
13317 package--list-packages (renamed because it is non-internal).
13318
13319 * finder.el (finder-list-matches): Use package-show-package-list
13320 instead of deleted package--list-packages.
13321
e92f3bd3
SM
13322 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13323 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13324 (vc-annotate-mode-map): Bind it to RET.
13325
7031be6d
UR
133262011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13327
13328 * progmodes/etags.el (next-file): Don't use set-buffer to change
13329 buffers (Bug#8478).
13330
4ef177aa
CY
133312011-04-24 Chong Yidong <cyd@stupidchicken.com>
13332
c8d173eb
CY
13333 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13334
4ef177aa
CY
13335 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13336 (apropos-accumulator): Doc fix.
13337 (apropos-function, apropos-macro, apropos-command)
13338 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13339 (apropos-plist): Add face property.
13340 (apropos-symbols-internal): Fix indentation.
13341 (apropos-print): Simplify help, and recognize apropos-multi-type.
13342 (apropos-print-doc): Use button-type-get to extract the button's
13343 face property. Fill docstring (Bug#8352).
13344
4ffd0d6b 133452011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13346
13347 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13348
c6c32125 13349 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13350 (mpuz-mode-map): Use mapc.
c6c32125
JB
13351 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13352 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13353 Fix typos in docstrings.
13354
58d468b4
JB
13355 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13356 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13357
6470c3c6
JB
13358 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13359
4ffd0d6b 133602011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13361
13362 * minibuffer.el (completion--do-completion): Avoid the "Next char
13363 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13364
3ad8bad0
CY
13365 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13366 mouse-2 into unread-command-events, it is interpreted correctly.
13367
71d73c9c 13368 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13369 (image-toggle-display): Doc fix.
71d73c9c 13370
841a1577 133712011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13372
4ffd0d6b
GM
13373 * textmodes/page.el (what-page): Use line-number-at-pos to
13374 calculate line number (Bug#6825).
6e1dbaa9 13375
c2fb1b60
JB
133762011-04-22 Juanma Barranquero <lekktu@gmail.com>
13377
13378 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13379 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13380 Pass argument NO-DEFAULT to `find-tag-interactive'.
13381
e02f48d7
JB
133822011-04-22 Juanma Barranquero <lekktu@gmail.com>
13383
13384 Lexical-binding cleanup.
13385
13386 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13387 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13388 * progmodes/ada-prj.el (ada-prj-initialize-values)
13389 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13390 (ada-prj-show-value):
13391 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13392 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13393 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13394 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13395 * progmodes/bug-reference.el (bug-reference-push-button):
13396 * progmodes/fortran.el (fortran-line-length):
13397 * progmodes/glasses.el (glasses-change):
13398 * progmodes/octave-mod.el (octave-fill-paragraph):
13399 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13400 (python-pdbtrack-grub-for-buffer, python-sentinel):
13401 * progmodes/sql.el (sql-save-connection):
13402 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13403 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13404 Mark unused parameters.
13405
13406 * progmodes/compile.el (compilation--flush-directory-cache)
13407 (compilation--flush-parse, compile-internal): Mark unused parameters.
13408 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13409 (compilation-next-error-function): Remove unused variable `timestamp'.
13410
13411 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13412 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13413
13414 * progmodes/dcl-mode.el (dcl-end-of-command):
13415 Remove unused variable `start'.
13416 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13417 (dcl-option-value-basic, dcl-option-value-offset)
13418 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13419 Mark unused parameters.
13420 (dcl-save-local-variable): Remove unused variable `val'.
13421 (mode): Declare.
13422
13423 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13424 Mark unused parameters.
13425 (delphi-ignore-changes): Move before first use.
13426 (delphi-charset-token-at): Remove unused variable `start'.
13427 (delphi-else-start): Remove unused variable `if-count'.
13428 (delphi-comment-block-start, delphi-comment-block-end):
13429 Remove unused variable `kind'.
13430 (delphi-indent-line): Remove unused variable `new-point'.
13431
13432 * progmodes/ebrowse.el (ebrowse-files-list)
13433 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13434 Mark unused parameters. Don't quote `lambda'.
13435 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13436 Don't quote `lambda'.
13437 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13438 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13439 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13440 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13441 Use `ignore-errors'.
13442 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13443 (ebrowse-view/find-file-and-search-pattern)
13444 (ebrowse-view/find-member-declaration/definition):
13445 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13446 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13447 Rename parameter PREFIX-ARG to PREFIX.
13448 (ebrowse-tags-read-name): Remove unused variables `start' and
13449 `member-info'.
13450 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13451 to `tags-file'.
13452
13453 * progmodes/etags.el (local-find-tag-hook): Declare.
13454 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13455 Mark unused parameters.
13456
13457 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13458 (executable-interpret): Mark unused parameter.
13459
13460 * progmodes/flymake.el (flymake-process-sentinel)
13461 (flymake-after-change-function)
13462 (flymake-create-temp-with-folder-structure)
13463 (flymake-get-include-dirs-dot): Mark unused parameters.
13464 (flymake-safe-delete-directory): Remove unused variable `err'.
13465
13466 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13467 (speedbar-timer-fn, speedbar-line-text)
13468 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13469 (speedbar-center-buffer-smartly): Declare functions.
13470 (gdb-find-watch-expression): Remove unused variable `array'.
13471 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13472 (gdb-starting): Mark unused parameters.
13473 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13474 (gdb-table-string): Remove unused variable `res'.
13475 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13476 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13477 (gdb-display-buffer): Remove unused variable `cur-size'.
13478
13479 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13480 allow lexical-binding compilation.
13481 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13482 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13483 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13484 Mark unused parameters.
13485 (gud-gdb-marker-filter): Remove unused variable `match'.
13486 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13487 lambda expressions and funcall them, instead of using `fset'.
13488
13489 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13490 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13491
13492 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13493 variable `header-beg'; use `let'.
13494
13495 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13496 `restart', `last-sexp' and `at-do'.
13497
13498 * progmodes/js.el (js--debug): Mark unused parameter.
13499 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13500 (js--splice-into-items): Remove unused variable `item'.
13501 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13502
13503 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13504 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13505 (makefile-complete): Remove unused variable `try'.
13506 (makefile-fill-paragraph, makefile-match-function-end):
13507 Mark unused parameters.
13508
13509 * progmodes/octave-inf.el (inferior-octave-complete):
13510 Remove unused variable `proc'.
13511 (inferior-octave-output-digest): Mark unused parameter.
13512
13513 * progmodes/perl-mode.el (perl-calculate-indent):
13514 Remove unused variable `err'.
13515
13516 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13517 (prolog-indent-line): Mark unused parameters.
13518 (prolog-indent-line): Remove unused variable `beg'.
13519
13520 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13521 (reporter-dont-compact-list): Declare.
13522
13523 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13524 Remove unused variable `char'.
13525 (sh-debug): Mark unused parameter.
13526 (sh-get-indent-info): Remove unused variable `start'.
13527 (sh-calculate-indent): Remove unused variable `var'.
13528
13529 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13530 (simula-electric-keyword): Remove unused variable `null'.
13531 (simula-search-backward, simula-search-forward): Remove unused
13532 variables `begin' and `end'.
13533
13534 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13535 Remove unused variable `pos'.
13536 (vera-electric-tab, vera-comment-uncomment-region):
13537 Mark unused parameters.
13538 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13539
7ede3b65
CY
135402011-04-22 Chong Yidong <cyd@stupidchicken.com>
13541
13542 * emacs-lisp/package.el (package--builtins, package-alist)
13543 (package-load-descriptor, package-built-in-p, package-activate)
13544 (define-package, package-installed-p)
13545 (package-compute-transaction, package-buffer-info)
13546 (package--push): Doc fix. Distinguish more clearly between
13547 version strings and version lists.
13548
121656e9
JB
135492011-04-21 Juanma Barranquero <lekktu@gmail.com>
13550
13551 Lexical-binding cleanup.
13552
13553 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13554 (5x5-make-mutate-best):
13555 * play/fortune.el (fortune-in-buffer):
13556 * play/gomoku.el (gomoku-init-display):
13557 * play/solitaire.el (solitaire, solitaire-do-check):
13558 * play/tetris.el (tetris-default-update-speed-function):
13559 Mark unused parameters.
13560
13561 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13562 (bubbles--shift): Remove unused variable `char-org'.
13563 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13564 (bubbles--show-images): Remove unused variable `char'.
13565
13566 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13567 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13568 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13569 (decipher-analyze-buffer): Use ?\s.
13570 (decipher-make-checkpoint): Remove unused variable `mapping'.
13571
13572 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13573
13574 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13575 Remove unused variable `result'; use `let'.
13576
13577 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13578 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13579 (gametree-children-shown-p, gametree-compute-reduced-score):
13580 Use `ignore-errors'.
13581
13582 * play/handwrite.el (ps-lpr-switches): Declare.
13583 (handwrite): Remove unused variables `pmin' and `lastp'.
13584
13585 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13586
13587 * play/landmark.el (landmark-init-display)
13588 (landmark-update-naught-weights): Mark unused parameters.
13589 (landmark-y): Remove unused variable `noise'. Simplify.
13590 (landmark-human-plays): Remove unused variable `score'.
13591
13592 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13593 (mpuz-try-proposal): Remove unused variable `game'.
13594
13595 * play/zone.el (life-patterns): Declare.
13596
80f499c7
JB
135972011-04-20 Juanma Barranquero <lekktu@gmail.com>
13598
13599 * vc/vc.el (ediff-vc-internal): Declare function.
13600
024ff170
SM
136012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13602
c0a193ea
SM
13603 * shell.el: Use lexical-binding and std completion UI.
13604 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13605 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13606 comint-preoutput-filter-functions rather than on
13607 comint-output-filter-functions.
13608 (shell-command-completion, shell--command-completion-data)
13609 (shell-filename-completion, shell-environment-variable-completion)
13610 (shell-c-a-p-replace-by-expanded-directory): New functions.
13611 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13612 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13613 (shell-dynamic-complete-environment-variable): Use them.
13614 (shell-dynamic-complete-as-environment-variable)
13615 (shell-dynamic-complete-as-command): Remove.
13616 (shell-match-partial-variable): Match past point.
13617 * comint.el: Clean up use of completion-at-point-functions.
13618 (comint-completion-at-point): New function.
13619 (comint-mode): Use it completion-at-point-functions.
13620 (comint-dynamic-complete): Make it obsolete.
13621 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13622 (comint-c-a-p-replace-by-expanded-history): New function.
13623 (comint-dynamic-complete-functions)
13624 (comint-replace-by-expanded-history): Use it.
13625 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13626 termination strings. Try harder to avoid second try-completion.
13627 (completion-in-region-mode-map): Disable bindings that don't work yet.
13628
2dbaa080
SM
13629 * comint.el: Use lexical-binding. Require CL.
13630 (comint-dynamic-complete-functions): Use comint-filename-completion.
13631 (comint-completion-addsuffix): Tweak custom type.
13632 (comint-filename-completion, comint--common-suffix)
13633 (comint--common-quoted-suffix, comint--table-subvert)
13634 (comint--complete-file-name-data): New functions.
13635 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13636 (comint-dynamic-list-filename-completions): Use them.
13637 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13638
2dbaa080
SM
13639 * minibuffer.el (completion-in-region-mode):
13640 Keep completion-in-region-mode--predicate global.
13641 (completion-in-region--postch):
13642 Assume completion-in-region-mode--predicate is not null.
13643
c79a6f38
SM
13644 * progmodes/flymake.el (flymake-start-syntax-check-process):
13645 Obey `dir'. Simplify.
13646
024ff170
SM
13647 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13648 we're in VC after all.
13649
1c6c854e
CS
136502011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13651
13652 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13653 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13654 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13655
bed7f140
SM
136562011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13657
332e62ab
SM
13658 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13659 add sanity check.
13660
bed7f140
SM
13661 * obsolete/erc-hecomplete.el: Make obsolete.
13662 * obsolete/: Standardize obsolescence info in the header.
13663
f195c582
GM
136642011-04-20 Glenn Morris <rgm@gnu.org>
13665
13666 * calendar/solar.el (solar-horizontal-coordinates):
13667 Use the longitude argument rather than `calendar-longitude'.
13668 (solar-date-next-longitude): Remove unused locals.
13669
cb79b8c0
VJL
136702011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13671
13672 * whitespace.el: New version 13.2.1.
13673
136742011-04-20 felix <EmacsWiki> (tiny change)
13675
d8e4b68b 13676 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13677 switching between major modes on a file.
13678
602ea69d
SM
136792011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13682 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13683 multi-line comments as well.
13684
06b60517
JB
136852011-04-19 Juanma Barranquero <lekktu@gmail.com>
13686
13687 Lexical-binding cleanup.
13688
13689 * arc-mode.el (archive-mode-revert):
13690 * cmuscheme.el (scheme-interactively-start-process):
13691 * custom.el (custom-initialize-delay):
13692 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13693 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13694 * emacs-lock.el (emacs-lock-clear-sentinel):
13695 * ezimage.el (defezimage):
13696 * follow.el (follow-avoid-tail-recenter):
13697 * fringe.el (set-fringe-mode-1):
13698 * generic-x.el (bat-generic-mode-compile):
13699 * help-mode.el (help-info-variable, help-do-xref)
13700 (help-mode-revert-buffer):
13701 * help.el (view-emacs-todo):
13702 * iswitchb.el (iswitchb-completion-help):
13703 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13704 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13705 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13706 * locate.el (locate-update):
13707 * longlines.el (longlines-encode-region)
13708 (longlines-after-change-function):
13709 * outline.el (outline-isearch-open-invisible):
13710 * ps-def.el (declare-function, charset-dimension, char-width)
13711 (encode-char):
13712 * ps-mule.el (ps-mule-plot-string):
13713 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13714 (recentf-edit-list-select, recentf-edit-list-validate)
13715 (recentf-open-files-action):
13716 * rect.el (delete-whitespace-rectangle-line)
13717 (rectangle-number-line-callback):
13718 * register.el (window-configuration-to-register)
13719 (frame-configuration-to-register):
13720 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13721 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13722 (xselect-convert-to-targets, xselect-convert-to-delete)
13723 (xselect-convert-to-filename, xselect-convert-to-charpos)
13724 (xselect-convert-to-lineno, xselect-convert-to-colno)
13725 (xselect-convert-to-os, xselect-convert-to-host)
13726 (xselect-convert-to-user, xselect-convert-to-class)
13727 (xselect-convert-to-name, xselect-convert-to-integer)
13728 (xselect-convert-to-atom, xselect-convert-to-identity):
13729 * subr.el (declare, ignore, process-kill-without-query)
13730 (text-clone-maintain):
13731 * terminal.el (te-get-char, te-tic-sentinel):
13732 * tool-bar.el (tool-bar-make-keymap):
13733 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13734 * type-break.el (type-break-mode, type-break-noninteractive-query):
13735 * view.el (View-back-to-mark):
13736 * wid-browse.el (widget-browse-action, widget-browse-widget)
13737 (widget-browse-widgets, widget-browse-sexp):
13738 * widget.el (define-widget-keywords):
13739 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13740 Mark unused parameters.
13741
13742 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13743 (align-areas): Remove unused variable `look'.
13744 (align-region): Remove unused variables `real-end' and `pos-list'.
13745
13746 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13747
13748 * bindings.el (mode-line-modified, mode-line-remote):
13749 Mark unused parameters.
13750 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13751
13752 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13753 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13754
13755 * comint.el (comint-history-isearch-pop-state)
13756 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13757 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13758 (comint-substitute-in-file-name): Doc fix.
13759
13760 * completion.el (cmpl-statistics-block): Mark unused parameter.
13761 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13762 (save-completions-to-file, load-completions-from-file):
13763 Remove unused local variable `e'.
13764
13765 * composite.el (compose-chars): Remove unused variable `len'.
13766 (lgstring-insert-glyph): Remove unused variable `g'.
13767 (compose-glyph-string): Remove unused variables `ascent',
13768 `descent', `lbearing' and `rbearing'.
13769 (compose-glyph-string-relative): Remove unused variables
13770 `lbearing', `rbearing' and `wadjust'.
13771 (compose-gstring-for-graphic): Remove unused variables `header',
13772 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13773 (compose-gstring-for-terminal): Remove unused variables `header'
13774 and `nchars'. Use `let', not `let*'.
13775
13776 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13777 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13778 (Custom-buffer-done, custom-buffer-create-internal)
13779 (custom-browse-visibility-action, custom-browse-group-tag-action)
13780 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13781 (widget-magic-mouse-down-action, custom-toggle-parent)
13782 (custom-add-parent-links, custom-toggle-hide-variable)
13783 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13784 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13785 (custom-face-menu-create, custom-variable-menu-create, get)
13786 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13787 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13788 (customize-apropos): Remove unused variable `tests'.
13789 (custom-group-value-create): Remove unused variable `hidden-p'.
13790 (sort-fold-case): Declare.
13791
13792 * cus-theme.el (custom-reset-standard-faces-list)
13793 (custom-reset-standard-variables-list): Declare.
13794 (customize-create-theme, custom-theme-revert, custom-theme-write)
13795 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13796 Mark unused parameters.
13797
13798 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13799
13800 * delim-col.el (delimit-columns-max): Move defvar before first use.
13801
13802 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13803 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13804
13805 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13806 (auto-insert): Declare.
13807 (desktop-restore-file-buffer): Rename desktop-* parameters;
13808 mark unused ones.
13809 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13810 (desktop-buffer): Rename desktop-* parameters.
13811
13812 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13813 (dframe-reposition-frame-xemacs, dframe-help-echo)
13814 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13815 Mark unused parameters.
13816
13817 * dired-aux.el (backup-extract-version-start, overwrite-query)
13818 (overwrite-backup-query, rename-regexp-query)
13819 (rename-non-directory-query): Declare.
13820 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13821 (dired-add-entry): Remove unused variable `orig-file-name'.
13822 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13823 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13824 `dired-copy-preserve-time' directly.
13825 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13826 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13827
13828 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13829 (dired-virtual-revert, dired-make-relative-symlink):
13830 Mark unused parameters.
13831 (manual-program): Declare.
13832 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13833 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13834 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13835
13836 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13837
13838 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13839
13840 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13841 Declare.
13842
13843 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13844
13845 * electric.el (Electric-command-loop): Rename parameter
13846 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13847
13848 * expand.el (expand-in-literal): Remove unused variable `here'.
13849
13850 * facemenu.el (facemenu-add-new-color):
13851 Remove unused variable `docstring'.
13852
13853 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13854 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13855 (face-attr-construct): Mark unused parameter. Doc fix.
13856 (read-color): Remove unused variable `hex-string'.
13857
13858 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13859 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13860 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13861 (display-buffer-other-frame): Remove unused variable `old-window'.
13862 (kill-buffer-hook): Declare.
13863 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13864 Mark unused parameters.
13865 (after-find-file): Pass 1 to `auto-save-mode', not t.
13866
13867 * files-x.el (auto-insert): Declare.
13868 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13869
13870 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13871 variable `buf'. Mark unused parameter.
06b60517
JB
13872 (find-lisp-insert-directory): Mark unused parameter.
13873
13874 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13875 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13876 (format-common-tail): Remove, unused.
13877 (format-deannotate-region): Remove unused variable `loc'.
13878 (format-annotate-region): Remove unused variable `p'.
13879 (format-annotate-single-property-change): Remove unused variables
13880 `default' and `tail'.
13881
13882 * forms.el (read-file-filter): Declare.
13883 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13884
13885 * frame.el (frame-creation-function-alist): Mark unused parameter.
13886 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13887
13888 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13889 Remove unused parameters.
13890 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13891 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13892
13893 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13894 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13895 (hfy-prepare-tag-map): Mark unused parameters.
13896 (htmlfontify-buffer): Use `called-interactively-p'.
13897
13898 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13899 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13900 (ibuffer-do-occur): Mark unused parameters.
13901 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13902 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13903
13904 * ibuffer.el: Don't quote `lambda'.
13905 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13906 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13907 Mark unused parameters.
13908
13909 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13910 (ido-completing-read): Mark unused parameters.
13911 (ido-copy-current-word): Mark unused parameters;
13912 remove unused variable `name'.
13913 (ido-sort-merged-list): Remove unused parameter `dirs'.
13914
13915 * ielm.el (ielm-input-sender): Mark unused parameter.
13916 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13917 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13918 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13919 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13920 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13921
13922 * image-dired.el (image-dired-display-thumbs): Remove unused
13923 variables `curr-file' and `count'.
13924 (image-dired-remove-tag): Remove unused variable `start'.
13925 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13926 variable `curr-file'
13927 (image-dired-rotate-original): Remove unused variable `temp-file'.
13928 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13929 Remove unused variable `file'.
13930 (image-dired-gallery-generate): Remove unused variable `curr'.
13931 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13932
13933 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13934
13935 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13936
13937 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13938
13939 * isearch.el (minibuffer-history-symbol): Declare.
13940 (isearch-edit-string): Remove unused variable `err'.
13941 (isearch-message-prefix, isearch-message-suffix):
13942 Mark unused parameters.
13943
13944 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13945
13946 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13947
13948 * makesum.el (double-column): Remove unused variable `cnt'.
13949
13950 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13951 (ido-ignore-item-temp-list): Declare.
13952
13953 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13954 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13955 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13956 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13957 `mouse-col-delta'.
13958
13959 * mouse-sel.el (mouse-extend-internal):
13960 Remove unused variable `orig-window-frame'.
13961
13962 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13963 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13964 Move declarations before first use.
13965 (pcomplete-opt): Mark unused parameters; doc fix.
13966
13967 * proced.el (proced-revert): Mark unused parameter.
13968 (proced-send-signal): Remove unused variable `err'.
13969
13970 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13971 Rename parameter PREFIX-ARG to ARG.
13972 (ps-basic-plot-string, ps-basic-plot-whitespace):
13973 Mark unused parameters.
13974
13975 * replace.el (replace-count): Define.
13976 (occur-revert-function): Mark unused parameters.
13977 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13978 (isearch-case-fold-search, isearch-string): Declare.
13979 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13980 bind `case-fold-search'. Remove unused variables `beg' and `end',
13981 and simplify.
13982 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13983 COUNT and bind `replace-count'.
13984 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13985 to COUNT.
13986
13987 * savehist.el (print-readably, print-string-length): Declare.
13988
13989 * shadowfile.el (shadow-expand-cluster-in-file-name):
13990 Remove unused variable `cluster'.
13991 (shadow-copy-file): Remove unused variable `i'.
13992 (shadow-noquery, shadow-clusters, shadow-site-cluster)
13993 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
13994 (shadow-define-literal-group, shadow-define-regexp-group)
13995 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
13996
13997 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
13998 (shell): Use `called-interactively-p'.
13999 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14000
14001 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14002 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14003 (delete-backward-char): Remove unused variable `ocol'.
14004 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14005 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14006 (event-apply-hyper-modifier, event-apply-shift-modifier)
14007 (event-apply-control-modifier, event-apply-meta-modifier):
14008 Mark unused parameters.
14009 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14010 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14011
14012 * speedbar.el (speedbar-ignored-directory-expressions)
14013 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14014 (speedbar-find-file, speedbar-dir-follow)
14015 (speedbar-directory-buttons-follow, speedbar-tag-find)
14016 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14017 (speedbar-buffers-line-directory, speedbar-buffer-click):
14018 Mark unused parameters.
14019 (speedbar-tag-file): Remove unused variable `mode'.
14020 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14021
14022 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14023
14024 * talk.el (talk): Remove unused variable `display'.
14025
14026 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14027 (tar-write-region-annotate): Mark unused parameter.
14028
14029 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14030 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14031 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14032 warning by another.
14033
14034 * time-stamp.el (time-stamp-string-preprocess):
14035 Remove unused variable `require-padding'.
14036
14037 * tree-widget.el (widget-glyph-enable): Declare.
14038 (tree-widget-action): Mark unused parameter.
14039
14040 * w32-fns.el (x-get-selection): Mark unused parameter.
14041 (autoload-make-program, generated-autoload-file): Declare.
14042
14043 * wdired.el (wdired-revert): Mark unused parameters.
14044 (wdired-xcase-word): Remove unused variable `err'.
14045
14046 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14047 (whitespace-help-scroll): Remove unused variable `data-help'.
14048
14049 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14050 (widget-image-insert, widget-after-change, default)
14051 (widget-default-format-handler, widget-default-notify)
14052 (widget-default-prompt-value, widget-info-link-action)
14053 (widget-url-link-action, widget-function-link-action)
14054 (widget-variable-link-action, widget-file-link-action)
14055 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14056 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14057 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14058 (widget-insert-button-action, widget-delete-button-action, visibility)
14059 (widget-documentation-link-action, widget-documentation-string-action)
14060 (widget-const-prompt-value, widget-regexp-match, symbol)
14061 (widget-coding-system-prompt-value)
14062 (widget-key-sequence-value-to-external, sexp)
14063 (widget-sexp-value-to-internal, character, vector, cons)
14064 (widget-choice-prompt-value, widget-boolean-prompt-value)
14065 (widget-color--choose-action): Mark unused parameters.
14066 (widget-item-match-inline, widget-choice-match-inline)
14067 (widget-checklist-match, widget-checklist-match-inline)
14068 (widget-group-match): Rename parameter VALUES to VALS.
14069 (widget-field-value-set): Remove unused variable `size'.
14070 (widget-color-action): Remove unused variables `value' and `start'.
14071
14072 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14073 variable `dir'. Doc fix.
06b60517
JB
14074 (windmove-find-other-window): Don't pass it.
14075
14076 * window.el (count-windows): Mark unused parameter.
14077 (bw-adjust-window): Remove unused variable `err'.
14078
14079 * woman.el (woman-file-name): Remove unused variable `default'.
14080 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14081 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14082 (global-font-lock-mode): Declare.
14083 (woman-decode-region): Mark unused parameter.
14084 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14085
14086 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14087 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14088 (x-dnd-handle-moz-url): Remove unused variable `title'.
14089 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14090
14091 * xml.el (xml-parse-tag, xml-parse-attlist):
14092 Remove unused variable `pos'.
14093
bc4f7f3d
GM
140942011-04-19 Glenn Morris <rgm@gnu.org>
14095
14096 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14097 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14098 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14099 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14100 * calendar/cal-html.el (cal-html-insert-minical):
14101 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14102 (calendar-mark-date-pattern):
14103 Prefix "unused" locals.
14104
14105 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14106 optional argument `style'.
14107
14108 * calendar/appt.el (appt-make-list):
14109 * calendar/cal-china.el (calendar-chinese-date-string):
14110 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14111 (diary-hebrew-yahrzeit):
14112 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14113 * calendar/calendar.el (calendar-generate-window):
14114 * calendar/time-date.el (time-to-days):
14115 Remove unused local variables.
14116
16a43933
CY
141172011-04-18 Chong Yidong <cyd@stupidchicken.com>
14118
14119 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14120 glyphless-char-display table.
14121 (tabulated-list-glyphless-char-display): New var.
14122
7eed1860
SS
141232011-04-18 Sam Steingold <sds@gnu.org>
14124
14125 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14126 to acknowledgments.
14127
4d2d1ccd
GM
141282011-04-17 Glenn Morris <rgm@gnu.org>
14129
14130 * calendar/diary-lib.el (diary-sexp-entry):
14131 * calendar/holidays.el (holiday-sexp):
14132 Set debug-on-error rather than the removed stack-trace-on-error.
14133
239da61d
GM
141342011-04-16 Glenn Morris <rgm@gnu.org>
14135
14136 * progmodes/f90.el: Use lexical-binding.
14137 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14138
8b05752a
SM
141392011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14140
daca8ba5
SM
14141 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14142 (mail-mode): Setup mailalias completion here instead.
14143 * mail/mailalias.el: Use lexical-binding.
14144 (pattern, mailalias-done): Declare dynamic.
14145 (mail-completion-at-point-function): New function, from mail-complete.
14146 (mail-complete): Use it.
14147 (mail-completion-expand): New function.
14148 (mail-get-names): Use it.
14149 (mail-directory, mail-directory-process, mail-directory-stream):
14150 Don't use `pattern' for lexically bound arg.
14151
6f542485
SM
14152 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14153
037e7c3f
SM
14154 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14155 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14156 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14157
8b05752a
SM
14158 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14159 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14160 (byte-interactive-p): Define them again, for use when inlining
14161 old code.
14162
49093f60
JB
141632011-04-15 Juanma Barranquero <lekktu@gmail.com>
14164
14165 * loadup.el: Use `string-to-number', not `string-to-int'.
14166
b5b8e7de
SM
141672011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14170 gud-gdb-complete-command.
14171 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14172 (gud-gdb-completion-at-point): New function.
14173 (gud-gdb-completions): Remove.
14174
f42efeb5
MA
141752011-04-14 Michael Albinus <michael.albinus@gmx.de>
14176
49093f60
JB
14177 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14178 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14179 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14180 whether `executable-find' is bound.
f42efeb5
MA
14181
14182 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14183
e240cc21
SM
141842011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14185
14186 * minibuffer.el (completion-in-region-mode-predicate)
14187 (completion-in-region-mode--predicate): New vars.
14188 (completion-in-region, completion-in-region--postch)
14189 (completion-in-region-mode): Use them.
14190 (completion--capf-wrapper): Also return the hook function.
14191 (completion-at-point, completion-help-at-point):
14192 Adjust and provide a predicate.
c2bd2ab0
SM
14193
14194 Preserve arg names for advice of subr and lexical functions (bug#8457).
14195 * help-fns.el (help-function-arglist): Consolidate the subr and
14196 new-byte-code cases. Add argument `preserve-names' to extract names
14197 from the docstring when needed.
14198 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14199 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14200 (ad-arglist): Use help-function-arglist's new arg.
14201 (ad-definition-type): Use cond.
14202
c183f693
JB
142032011-04-13 Juanma Barranquero <lekktu@gmail.com>
14204
06641a47
JB
14205 * autorevert.el (auto-revert-handler):
14206 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14207 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14208 Don't quote lambda.
14209
c183f693
JB
14210 * image-mode.el (image-transform-set-scale):
14211 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14212
1e3b6001
G
142132011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14214
14215 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14216 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14217 Upgrades via gnutls-cli are too slow to be done opportunistically.
14218
2d6af8dd
JB
142192011-04-12 Juanma Barranquero <lekktu@gmail.com>
14220
14221 * dframe.el (dframe-current-frame): Remove spurious quote.
14222
c0749a51
GM
142232011-04-12 Glenn Morris <rgm@gnu.org>
14224
088d0d61
GM
14225 * calendar/cal-tex.el (cal-tex-end-document):
14226 Try to automatically use latin1 input if needed.
14227
c0749a51
GM
14228 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14229 Don't try to cons a mark onto an empty element.
14230
5c90fde0
LL
142312011-04-11 Leo Liu <sdl.web@gmail.com>
14232
14233 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14234 buffers.
14235 (ido-kill-buffer-at-head): Support killing virtual buffers.
14236
369e974d
CY
142372011-04-10 Chong Yidong <cyd@stupidchicken.com>
14238
14239 * minibuffer.el (completion-show-inline-help): New var.
14240 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14241 (minibuffer-force-complete, minibuffer-complete-word):
14242 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14243
14244 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14245 to avoid interference from inline help (Bug#5849).
14246
37f1c930
LL
142472011-04-10 Leo Liu <sdl.web@gmail.com>
14248
099c39a4
JB
14249 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14250 Fix typo.
37f1c930 14251
a32d4040
CY
142522011-04-09 Chong Yidong <cyd@stupidchicken.com>
14253
14254 * image-mode.el (image-toggle-display-image): Signal an error if
14255 not in Image mode.
14256 (image-transform-mode, image-transform-resize)
14257 (image-transform-set-rotation): Doc fix.
daca8ba5 14258 (image-transform-set-resize): Delete.
a32d4040
CY
14259 (image-transform-set-scale, image-transform-fit-to-height)
14260 (image-transform-fit-to-width): Handle image-toggle-display-image
14261 and image-transform-resize directly.
14262
099c39a4 142632011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14264
14265 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14266 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14267 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14268 (doc-view-mode-map): Add bindings for the new functions.
14269
099c39a4 142702011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14271
4d61f28d 14272 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14273 Fix typo in docstring.
14274
3726838a
EZ
142752011-04-08 Eli Zaretskii <eliz@gnu.org>
14276
04f33f1e
EZ
14277 * files.el (file-size-human-readable): Produce one digit after
14278 decimal, like "ls -lh" does.
14279
14280 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14281 the file size representation.
14282
3726838a
EZ
14283 * simple.el (list-processes): If async subprocesses are not
14284 available, error out with a clear error message.
14285
cbb59342
CY
142862011-04-08 Chong Yidong <cyd@stupidchicken.com>
14287
14288 * help.el (help-form-show): New function, to be called from C.
14289 Put help-form output in a buffer named differently than *Help*.
14290
e3971c44
EZ
142912011-04-08 Eli Zaretskii <eliz@gnu.org>
14292
14293 * files.el (file-size-human-readable): New function.
14294
14295 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14296 computing the representation inline. Don't require `cl'.
14297
12544bbe
GM
142982011-04-08 Glenn Morris <rgm@gnu.org>
14299
a1de6c6a
GM
14300 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14301
3c4671f4
GM
14302 * net/browse-url.el (browse-url-firefox):
14303 Test system-type, not system-configuration.
14304
b605679c
GM
14305 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14306 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14307 Use log-edit-empty-buffer-p. (Bug#7598)
14308
56442f0c
GM
14309 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14310 (rlogin-mode-map): Initialize in the defvar.
14311 (rlogin): Use ignore-errors.
14312
12544bbe
GM
14313 * replace.el (occur-mode-map): Some fixes for menu items.
14314
eb237b0f
AH
143152011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14316
14317 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14318
7d668f2c
CY
143192011-04-06 Chong Yidong <cyd@stupidchicken.com>
14320
e67a13ab
CY
14321 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14322 issuing unused warnings.
14323
14324 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14325 macro directly.
14326
7d668f2c
CY
14327 * simple.el: Lisp reimplement of list-processes. Based on an
14328 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14329 (process-menu-mode): New major mode.
14330 (list-processes--refresh, list-processes):
14331 (process-menu-visit-buffer): New functions.
14332
14333 * files.el (save-buffers-kill-emacs): Don't assume any return
14334 value of list-processes, which is undocumented anyway.
14335
a83ec3c9
CY
143362011-04-06 Chong Yidong <cyd@stupidchicken.com>
14337
14338 * emacs-lisp/tabulated-list.el: New file.
14339
e91a96fe
CY
14340 * emacs-lisp/package.el: Use Tabulated List mode.
14341 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14342 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14343 table format using Tabulated List mode variables.
14344 (package--push): New macro, replacing package-list-maybe-add.
14345 (package-menu--generate): Use package--push. Renamed from
14346 package--generate-package-list.
14347 (package-menu-refresh, list-packages): Use it.
daca8ba5 14348 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14349 Return insertion data instead of inserting it directly.
099c39a4
JB
14350 (package-menu-describe-package, package-menu-execute):
14351 Use tabulated-list-get-id.
e91a96fe
CY
14352 (package-menu-mark-delete, package-menu-mark-install)
14353 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14354 (package-menu-mark-obsolete-for-deletion):
14355 Use tabulated-list-put-tag.
e91a96fe
CY
14356 (package--list-packages, package-menu-revert)
14357 (package-menu-get-package, package-menu-get-version)
14358 (package-menu-sort-by-column): Functions deleted.
14359 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14360 (package-menu--status-predicate, package-menu--version-predicate)
14361 (package-menu--name-predicate)
14362 (package-menu--description-predicate): Handle arguments in the
14363 Tabulated List format.
14364 (package-list-packages-no-fetch): Call list-packages.
14365
3e214b50
JB
143662011-04-06 Juanma Barranquero <lekktu@gmail.com>
14367
14368 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14369 (after-find-file): Don't bind it.
3e214b50
JB
14370 (revert-buffer-in-progress-p): New variable.
14371 (revert-buffer): Bind it.
14372 Pass nil for `after-find-file-from-revert-buffer'.
14373
14374 * saveplace.el (save-place-find-file-hook): Use new variable
14375 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14376
3f0f1700
GM
143772011-04-06 Glenn Morris <rgm@gnu.org>
14378
c0274801
GM
14379 * Makefile.in (AUTOGEN_VCS): New variable.
14380 (autoloads): Use $AUTOGEN_VCS.
14381
3f0f1700
GM
14382 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14383 * calendar/calendar.el (calendar-mode-map):
14384 Check for toolkit scroll bars. (Bug#8305)
14385
41ea9e48
CY
143862011-04-05 Chong Yidong <cyd@stupidchicken.com>
14387
14388 * minibuffer.el (completion-in-region--postch)
14389 (completion-in-region-mode): Remove unnecessary messages.
14390
6194c800
JB
143912011-04-05 Juanma Barranquero <lekktu@gmail.com>
14392
33256f14
JB
14393 * font-lock.el (font-lock-refresh-defaults):
14394 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14395 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14396
6194c800
JB
14397 * info.el (Info-directory-list, Info-read-node-name-2)
14398 (Info-split-parameter-string): Doc fixes.
14399 (Info-virtual-nodes): Reflow docstring.
14400 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14401 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14402 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14403 Fix typos in docstrings.
14404 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14405 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14406 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14407 (Info-restore-desktop-buffer): Mark unused parameters.
14408 (Info-directory-find-file, Info-directory-find-node)
14409 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14410 (Info-virtual-index-find-node, Info-apropos-find-file)
14411 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14412 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14413 (Info-virtual-index): Remove unused local variable `nodename'.
14414
b87a8200 144152011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14416
b87a8200
DD
14417 * net/rcirc.el: Update my e-mail address.
14418 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14419
3b2ff876
CY
144202011-04-05 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * startup.el (command-line): Save the cursor's theme-face
14423 directly, instead of using face-override-spec.
14424
14425 * custom.el (load-theme): Minor optimization in assigning faces.
14426
8d17e7ca
JB
144272011-04-04 Juanma Barranquero <lekktu@gmail.com>
14428
14429 * help-fns.el (describe-variable): Complete all variables having
14430 documentation, including keywords.
14431 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14432
2fbc1934
JB
144332011-04-04 Juanma Barranquero <lekktu@gmail.com>
14434
14435 Convert to lexical-binding.
14436
14437 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14438 (bs--get-marked-string, bs--get-modified-string)
14439 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14440 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14441 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14442
14443 * ehelp.el (electric-help-execute-extended)
14444 (electric-help-ctrl-x-prefix):
14445 * hexl.el (hexl-revert-buffer-function):
14446 * linum.el (linum-after-change, linum-after-scroll):
14447 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14448
14449 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14450
74f50695
DU
144512011-04-04 Daiki Ueno <ueno@unixuser.org>
14452
14453 * epa-dired.el:
14454 * epa-mail.el:
14455 * epa-hook.el:
14456 * epa-file.el:
14457 * epa.el:
14458 * epg.el: Use lexical binding.
14459
c11325f7
CY
144602011-04-03 Chong Yidong <cyd@stupidchicken.com>
14461
0d9e9a12
CY
14462 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14463
c11325f7 14464 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14465 dictionary case for flyspell-mark-duplications-exceptions.
14466 Use regexp matching for languages.
c11325f7
CY
14467 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14468 default dictionary (Bug#7926).
14469
da91b5f2
CY
144702011-04-02 Chong Yidong <cyd@stupidchicken.com>
14471
099c39a4
JB
14472 * emacs-lisp/package.el (package--with-work-buffer):
14473 Recognize https URLs.
da91b5f2 14474
099c39a4
JB
14475 * net/network-stream.el: Move from gnus/proto-stream.el.
14476 Change prefix to network-stream throughout.
da91b5f2
CY
14477 (open-protocol-stream): Merge into open-network-stream, leaving
14478 open-protocol-stream as an alias. Handle nil BUFFER args.
14479
14480 * subr.el (open-network-stream): Move to net/network-stream.el.
14481
afa8e9f6
GM
144822011-04-02 Glenn Morris <rgm@gnu.org>
14483
1d2e369d
GM
14484 * find-dired.el (find-exec-terminator): New option.
14485 (find-ls-option): Test for -ls support.
14486 (find-ls-subdir-switches): Test for -b in find-ls-option.
14487 (find-dired, find-grep-dired): Doc fixes.
14488 (find-dired): Use find-exec-terminator.
14489
8abb7da8 14490 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14491 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14492 (find-name-arg): Remove purecopy.
8abb7da8 14493
f3ca7378
GM
14494 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14495 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14496 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14497 accordingly. Don't add the null-device if not needed.
14498
afa8e9f6
GM
14499 * files.el (save-some-buffers): Doc fix.
14500
35eae264
EZ
145012011-04-02 Eli Zaretskii <eliz@gnu.org>
14502
14503 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14504
26b51db5
JB
145052011-04-01 Juanma Barranquero <lekktu@gmail.com>
14506
14507 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14508 Use `dolist' rather than `mapcar'.
14509
7200d79c
SM
145102011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14511
03408648 14512 Add lexical binding.
7200d79c 14513
03408648
SM
14514 * subr.el (apply-partially): Use new closures rather than CL.
14515 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14516 (dolist, dotimes): Use slightly different expansion for lexical code.
14517 (functionp): Move to C.
14518 (letrec): New macro.
14519 (with-wrapper-hook): Use it and apply-partially instead of CL.
14520 (eval-after-load): Preserve lexical-binding.
14521 (save-window-excursion, with-output-to-temp-buffer): Turn them
14522 into macros.
7200d79c 14523
03408648
SM
14524 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14525
14526 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14527 than the arglist.
14528 (help-add-fundoc-usage): Don't add `Not documented'.
14529 (help-function-arglist): Handle closures, subroutines, and new
14530 byte-code-functions.
14531 (help-make-usage): Remove leading underscores.
14532 (describe-function-1): Handle closures.
14533 (describe-variable): Use special-variable-p for completion.
14534
14535 * files.el (lexical-binding): Declare safe.
f488fb65 14536
03408648
SM
14537 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14538 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14539 (pcase): Add `let' pattern.
14540 Change memoization so it actually works.
14541 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14542 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14543 <let>: New case.
f488fb65 14544
03408648
SM
14545 * emacs-lisp/macroexp.el: Use lexical binding.
14546 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14547 Don't convert ' to #' without checking that it's indeed quoting
14548 a lambda.
14549
14550 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14551 Use eval-sexp-add-defvars.
03408648
SM
14552 (eval-sexp-add-defvars): New fun.
14553
14554 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14555
14556 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14557 Don't autoload.
14558 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14559 than the internal `byte-compile-lambda'.
14560 (defmethod): Don't hide code under quotes.
14561 (eieio-defmethod): New `code' argument.
14562
14563 * emacs-lisp/eieio-comp.el: Remove.
14564
14565 * emacs-lisp/edebug.el (edebug-eval-defun)
14566 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14567 (edebug-toggle): Avoid `eval'.
14568
14569 * emacs-lisp/disass.el (disassemble-internal): Handle new
14570 `closure' objects.
14571 (disassemble-1): Handle new byte codes.
14572
14573 * emacs-lisp/cl.el (pushnew): Silence warning.
14574
14575 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14576 (cl-byte-compile-throw): Remove.
14577 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14578
14579 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14580 closures.
14581
14582 * emacs-lisp/cconv.el: New file.
14583
14584 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14585 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14586 (byte-compile-initial-macro-environment):
14587 Handle declare-function here.
14588 (byte-compile--lexical-environment): New var.
14589 (byte-stack-ref, byte-stack-set, byte-discardN)
14590 (byte-discardN-preserve-tos): New lap codes.
14591 (byte-interactive-p): Don't use any more.
14592 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14593 New macros.
14594 (byte-compile-lapcode): Use them and handle new lap codes.
14595 (byte-compile-obsolete): Remove.
14596 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14597 (byte-compile-arglist-warn): Check late def of inlinable funs.
14598 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14599 since they should have been expanded by now.
14600 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14601 (byte-compile-from-buffer): Remove unused second arg.
14602 (byte-compile-preprocess): New function.
14603 (byte-compile-toplevel-file-form): New function to distinguish
14604 file-form calls from outside from file-form calls from hunk-handlers.
14605 (byte-compile-file-form): Simplify.
14606 (byte-compile-file-form-defsubst): Remove.
14607 (byte-compile-file-form-defmumble): Simplify now that
14608 byte-compile-lambda always returns a byte-code-function.
14609 (byte-compile): Preprocess.
14610 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14611 Remove, not used any more.
14612 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14613 (byte-compile-make-args-desc): New funs.
14614 (byte-compile-lambda): Handle lexical functions. Always return
14615 a byte-code-function.
14616 (byte-compile-reserved-constants): New var, to make up room for
14617 closed-over variables.
14618 (byte-compile-constants-vector): Obey it.
14619 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14620 (byte-compile-macroexpand-declare-function): New function.
14621 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14622 byte-code-functions.
14623 (byte-compile-form): Check obsolescence here.
14624 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14625 (byte-compile-variable-ref): Remove.
14626 (byte-compile-dynamic-variable-op): New fun.
14627 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14628 (byte-compile-variable-set): New funs.
14629 (byte-compile-discard): Add 2 args.
14630 (byte-compile-stack-ref, byte-compile-stack-set)
14631 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14632 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14633 macroexpand-all instead.
14634 (byte-compile-quote-form): Remove.
14635 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14636 (byte-compile-bind, byte-compile-unbind): New funs.
14637 (byte-compile-let): Handle let* and lexical binding.
14638 (byte-compile-let*): Remove.
14639 (byte-compile-catch, byte-compile-unwind-protect)
14640 (byte-compile-track-mouse, byte-compile-condition-case):
14641 Handle a new :fun-body form, used for lexical scoping.
14642 (byte-compile-save-window-excursion)
14643 (byte-compile-with-output-to-temp-buffer): Remove.
14644 (byte-compile-defun): Simplify.
14645 (byte-compile-stack-adjustment): New fun.
14646 (byte-compile-out): Use it.
14647 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14648
14649 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14650 handler any more.
14651
14652 * emacs-lisp/byte-opt.el: Use lexical binding.
14653 (byte-inline-lapcode): Remove (to bytecomp).
14654 (byte-compile-inline-expand): Pay attention to inlining to/from
14655 lexically bound code.
14656 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14657 any more.
14658 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14659 any more and don't call compiler-macros.
14660 (byte-compile-splice-in-already-compiled-code): Remove.
14661 (byte-code): Don't inline any more.
14662 (disassemble-offset): Receive `bytes' as argument rather than via
14663 dynamic scoping.
14664 (byte-compile-tag-number): Declare before first use.
14665 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14666 `return' even if make-spliceable.
14667 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14668 obsolete interactive-p.
14669 (byte-optimize-lapcode): Optimize new lap-codes.
14670 Don't trip up on new form of `byte-constant' lap code.
14671
14672 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14673
14674 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14675
14676 * custom.el (custom-initialize-default, custom-declare-variable):
14677 Use `defvar'.
14678
14679 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14680 New variables.
14681 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14682 (COMPILE_FIRST): Add macroexp and cconv.
14683 * makefile.w32-in: Mirror changes in Makefile.in.
14684
14685 * vc/cvs-status.el:
14686 * vc/diff-mode.el:
14687 * vc/log-edit.el:
14688 * vc/log-view.el:
14689 * vc/smerge-mode.el:
14690 * textmodes/bibtex-style.el:
14691 * textmodes/css.el:
14692 * startup.el:
14693 * uniquify.el:
da91b5f2
CY
14694 * minibuffer.el:
14695 * newcomment.el:
14696 * reveal.el:
14697 * server.el:
14698 * mpc.el:
14699 * emacs-lisp/smie.el:
14700 * doc-view.el:
14701 * dired.el:
03408648
SM
14702 * abbrev.el: Use lexical binding.
14703
0f0c1f27
EZ
147042011-04-01 Eli Zaretskii <eliz@gnu.org>
14705
14706 * info.el (info-display-manual): New function.
14707
c82b2579
SM
147082011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14711
221ddf68
TH
147122011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14713
14714 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14715 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14716
cba6e77e
GM
147172011-03-31 Glenn Morris <rgm@gnu.org>
14718
e040639f
GM
14719 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14720
cba6e77e
GM
14721 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14722
6d0f1c9e
CS
147232011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14724
14725 * progmodes/python.el (python-default-interpreter)
14726 (python-python-command-args, python-jython-command-args)
14727 (python-which-shell, python-which-args, python-which-bufname)
14728 (python-file-queue, python-comint-output-filter-function)
14729 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14730 variables and functions.
14731
3e2d70fd
SM
147322011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14733
14734 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14735 (completion-in-region-mode): New minor mode.
14736 (completion-in-region): Use it.
14737 (completion-in-region--data, completion-in-region-mode-map): New vars.
14738 (completion-in-region--postch): New function.
14739 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14740 New vars.
14741 (completion--capf-wrapper): New function.
14742 (completion-at-point): Use it to track well-behavedness of
14743 hook functions.
14744 (completion-help-at-point): New command.
14745
f3e4086c
JM
147462011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14747
14748 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14749 syntax class to search for whitespace on a single line
14750 (Message-ID: <4D938140.4030905@redhat.com>).
14751
eb7ffc14
LL
147522011-03-30 Leo Liu <sdl.web@gmail.com>
14753
14754 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14755 New commands.
14756 (edit-abbrevs-map): Bind them here.
14757 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14758
d806ab68
KM
147592011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14760
14761 * allout.el (allout-hide-by-annotation, allout-flag-region):
14762 Reduce possibility of overlay leakage by making them volatile.
14763
14764 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14765 hash is not shared between buffers. Mode initialization is
14766 responsible for giving it a useful starting value.
14767 (allout-item-span): Reduce possibility of overlay leakage by
14768 making them volatile.
14769 (allout-widgets-count-buttons-in-region): Add diagnostic function
14770 for tracking down button overlay leaks.
14771
ea622834
LL
147722011-03-29 Leo Liu <sdl.web@gmail.com>
14773
14774 * ido.el (ido-read-internal): Use the default history var
14775 minibuffer-history if no HISTORY is specified.
14776
b62f8267
G
147772011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14778
03408648
SM
14779 * net/imap.el (imap-shell-open, imap-process-connection-type):
14780 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14781 Kerberos, SSL, other subprocesses.
14782
947b6566
LL
147832011-03-28 Leo Liu <sdl.web@gmail.com>
14784
14785 * abbrev.el (abbrev-table-empty-p): New function.
14786 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14787 nonempty ones. (Bug#5937)
14788
5ffb62aa
JD
147892011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14790
14791 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14792
7a097943
LL
147932011-03-27 Leo Liu <sdl.web@gmail.com>
14794
14795 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14796 for foreground and background colors.
14797 (ansi-color-make-color-map): Adapt.
14798
c5b40130
LL
147992011-03-25 Leo Liu <sdl.web@gmail.com>
14800
1f48f7d2
LL
14801 * midnight.el (midnight-time-float): Remove. Note it calculates
14802 the microsecond component incorrectly and seconds-to-time does the
14803 same job.
625897ec 14804 Remove redundant (require 'timer).
1f48f7d2 14805
c5b40130
LL
14806 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14807 (ido-completions): Remove unused arguments. (Bug#8329)
14808
d86d2721
SM
148092011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14810
14811 * minibuffer.el (completion--flush-all-sorted-completions):
14812 Remove itself from hook.
14813 (completion-at-point): Let the functions perform the completion
14814 immediately and return nil or t.
14815 * comint.el (comint-dynamic-complete-functions): Now identical to
14816 completion-at-point-functions.
14817 (comint-dynamic-list-input-ring): Remove unused var `index'.
14818 (comint--match-partial-filename, comint--unquote&expand-filename):
14819 New funs, split from comint-match-partial-filename.
14820 (comint-dynamic-complete): Use completion-at-point.
14821 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14822
e8974c48
DA
148232011-03-24 Drew Adams <drew.adams@oracle.com>
14824
14825 * thingatpt.el: Support `defun'.
14826
def71b5e
LL
148272011-03-23 Leo Liu <sdl.web@gmail.com>
14828
cb5af48e
LL
14829 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14830
def71b5e
LL
14831 * help-mode.el (help-mode-finish): Tweak regexp.
14832
927c53e7
GM
148332011-03-23 Glenn Morris <rgm@gnu.org>
14834
18d05bed
GM
14835 * eshell/esh-opt.el (eshell-eval-using-options):
14836 Do not bind unused local variable `eshell-option-stub'.
14837
927c53e7
GM
14838 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14839
9d0da923
JB
148402011-03-22 Juanma Barranquero <lekktu@gmail.com>
14841
14842 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14843 keymap variable in `with-no-warnings' to avoid a warning when the
14844 keymap has been already `defconst'ed.
14845
4b978a67
LL
148462011-03-22 Leo Liu <sdl.web@gmail.com>
14847
14848 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14849 encode all chars in abbrevs; otherwise use emacs-mule or
14850 utf-8-emacs. (Bug#8308)
14851
5fd62452
JB
148522011-03-22 Juanma Barranquero <lekktu@gmail.com>
14853
0b1596c6
JB
14854 * simple.el (backward-delete-char-untabify):
14855 Avoid warning about using `delete-backward-char'.
14856
5fd62452
JB
14857 * image.el (image-type-file-name-regexps): Make it variable.
14858 `imagemagick-register-types' modifies it, and the user may want
14859 to add new extensions for known image types.
14860 (imagemagick-register-types): Throw error if not using ImageMagick.
14861
0b4e93f1
LL
148622011-03-22 Leo Liu <sdl.web@gmail.com>
14863
14864 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14865 located before rcirc-prompt-end-marker.
14866 (rcirc-complete): Error if point is not after rcirc prompt.
14867 Handle the case when table is nil.
9882e214 14868 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14869
fccee4ab
CY
148702011-03-22 Chong Yidong <cyd@stupidchicken.com>
14871
14872 * custom.el (custom--inhibit-theme-enable): Make it affect only
14873 custom-theme-set-variables and custom-theme-set-faces.
14874 (provide-theme): Ignore custom--inhibit-theme-enable.
14875 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14876 (custom-enabling-themes): Delete variable.
d86d2721
SM
14877 (enable-theme): Accept only loaded themes as arguments.
14878 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14879 (custom-enabled-themes): Forbid themes from setting this.
14880 Eliminate use of custom-enabling-themes.
14881 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14882
af896da6
LL
148832011-03-21 Leo Liu <sdl.web@gmail.com>
14884
14885 * ido.el (ido-read-internal): Add ido-selected to history instead
14886 of user input.
14887
78f64af0
SM
148882011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14889
14890 * subr.el (deferred-action-list, deferred-action-function):
14891 Mark obsolete.
14892
b16ac1ec
LL
148932011-03-21 Leo Liu <sdl.web@gmail.com>
14894
810f7698
LL
14895 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14896 change on 2011-02-13 (bug#8309).
14897
b16ac1ec
LL
14898 * minibuffer.el (read-file-name-function): Change default value.
14899 (read-file-name--defaults): Rename from read-file-name-defaults.
14900 (read-file-name-default): Rename from read-file-name.
14901 (read-file-name): Call read-file-name-function.
14902
4e05e67e
GM
149032011-03-21 Glenn Morris <rgm@gnu.org>
14904
14905 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14906 Doc fixes.
14907
4359915b
CY
149082011-03-21 Chong Yidong <cyd@stupidchicken.com>
14909
14910 * cus-theme.el: Add missing provide statement.
14911 (customize-create-theme): Extract theme value correctly.
14912 (custom-theme-visit-theme): Autoload.
14913 (customize-create-theme): Prompt before inserting default faces.
14914
1fe275ee
JB
149152011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14916
14917 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14918 units and musical notes.
14919
cd394be1 149202011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14921
14922 * ido.el (ido-read-internal): Use completing-read-default.
14923 (ido-completing-read): Fix compatibility with completing-read.
14924
7d476bde
CO
149252011-03-20 Christian Ohler <ohler@gnu.org>
14926
14927 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14928 (ert-delete-all-tests): Use `called-interactively-p' rather than
14929 `interactive-p'.
14930 (ert--make-xrefs-region): Respect END.
14931
fe0fb33e
CY
149322011-03-19 Chong Yidong <cyd@stupidchicken.com>
14933
ff854b0b
CY
14934 * dired-aux.el (dired-create-directory): Signal an error if the
14935 directory already exists (Bug#8246).
14936
fe0fb33e
CY
14937 * facemenu.el (list-colors-display): Call list-faces-display
14938 inside with-help-window.
14939 (list-colors-print): Use display property to align the final
14940 column, instead of checking window-width.
14941
576bce32
EZ
149422011-03-19 Eli Zaretskii <eliz@gnu.org>
14943
4d61f28d 14944 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14945 windows-nt systems.
14946 (emerge-protect-metachars): Quote correctly for ms-dos and
14947 windows-nt systems.
14948
89c41d68 149492011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14950
14951 * info.el (info-initialize): Replace all uses of `:' with
14952 path-separator for compatibility with non-Unix systems.
14953 Cache quoting of path-separator. (Bug#8258)
14954
b14e3e21 149552011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14956
14957 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14958 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14959 (mouse-avoidance-mode): Fix typos in docstrings.
14960
4525ce3e
CY
149612011-03-19 Chong Yidong <cyd@stupidchicken.com>
14962
14963 * startup.el (package-subdirectory-regexp): Move from package.el.
14964 Omit \\` and \\', and let callers add them.
14965
14966 * emacs-lisp/package.el (package-strip-version)
14967 (package-load-all-descriptors): Add \\` and \\' to
14968 package-subdirectory-regexp before using it.
14969 (package-untar-buffer): New arg DIR; ensure that file untars only
14970 into this expected directory. Remove superfluous delete-region.
14971 (package-unpack): Caller changed.
14972 (package-tar-file-info): Use package-subdirectory-regexp.
14973
a904a09a 149742011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14975
a904a09a
SM
14976 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14977 diff-mode-shared-map (bug#8284).
14978 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14979
149802011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14981
14982 * calendar/time-date.el (format-seconds): Use assoc instead of
14983 assoc-string, since assoc-string doesn't exist in XEmacs.
14984
171fc304
JB
149852011-03-17 Juanma Barranquero <lekktu@gmail.com>
14986
14987 * custom.el (custom-known-themes): Reflow docstring.
14988 (custom-theme-load-path): Fix typo in docstring.
14989 (load-theme): Fix typo in error message.
14990 (custom-available-themes, custom-variable-theme-value):
14991 Use `let', not `let*'.
14992
d71990a1
JB
149932011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
14994
14995 * calc/README: Mention inclusion of musical notes.
14996
14997 * calc/calc-units.el (calc-lu-quant): Rename from
14998 `calc-logunits-quantity'.
14999 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15000 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15001 (calc-db): Rename from `calc-dblevel'.
15002 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15003 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15004 (calc-np): Rename from `calc-nplevel'.
15005 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15006 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15007 (calc-lu-plus): Rename from `calc-logunits-add'.
15008 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15009 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15010 (calc-lu-minus): Rename from `calc-logunits-sub'.
15011 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15012 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15013 (calc-lu-times): Rename from `calc-logunits-mul'.
15014 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15015 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15016 (calc-lu-divide): Rename from `calc-logunits-div'.
15017 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15018 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15019
15020 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15021 functions being autoloaded.
15022
15023 * calc/calc.el (calc-lu-power-reference): Rename from
15024 `calc-logunits-power-reference'.
15025 (calc-lu-field-reference): Rename from
15026 `calc-logunits-field-reference'.
15027
7a71b18d
GM
15028 * calc/calc-help.el (calc-l-prefix-help):
15029 Mention musical note functions.
d71990a1 15030
40c2934b
SM
150312011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15032
15033 * minibuffer.el (completion-all-sorted-completions):
15034 Use :completion-cycle-penalty text property if present.
15035
b0911414
KM
150362011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15037
15038 * allout.el (allout-yank-processing): Adjust for new rebulleting
15039 regime so bullet being yanked is used without prompting the user
15040 for a choice.
15041
8a05b668
JB
150422011-03-16 Juanma Barranquero <lekktu@gmail.com>
15043
15044 * startup.el (command-line): Warn the user that _emacs is deprecated.
15045
5ba5fb81
JB
150462011-03-16 Juanma Barranquero <lekktu@gmail.com>
15047
15048 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15049 (delphi-verbose, delphi-comment-face, delphi-string-face)
15050 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15051 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15052 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15053 (delphi-new-comment-line, delphi-font-lock-defaults)
15054 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15055 Fix typos in docstrings.
15056
2dab465b
KM
150572011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15058
5ba5fb81 15059 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15060 Invert the roles of character and string values for INSTEAD, so a
15061 string is used for the more common case of a defaulting prompt.
15062
0adf5618
SM
150632011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15064
15065 * progmodes/ruby-mode.el (ruby-backward-sexp):
15066 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15067 * play/gamegrid.el (gamegrid-make-face):
15068 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15069 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15070 * notifications.el (notifications-notify):
15071 * net/xesam.el (xesam-search-engines):
15072 * net/quickurl.el (quickurl-list-insert):
15073 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15074
d72700e5
CY
150752011-03-15 Chong Yidong <cyd@stupidchicken.com>
15076
15077 * startup.el (command-line): Update package subdirectory regexp.
15078
49c5410a
SM
150792011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15080
c6eee9aa
SM
15081 * allout.el (allout-abbreviate-flattened-numbering)
15082 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15083
49c5410a
SM
15084 * subr.el (read-char-choice): Only show the cursor after the prompt,
15085 not after the answer.
15086
047b2bb9
KR
150872011-03-15 Kevin Ryde <user42@zip.com.au>
15088
15089 * help-fns.el (variable-at-point): Skip leading quotes, if any
15090 (bug#8253).
15091
0a57d256
SM
150922011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15095 warning message.
15096
77c992bc
MA
150972011-03-14 Michael Albinus <michael.albinus@gmx.de>
15098
15099 * shell.el (shell): When called interactively, offer to change the
15100 shell file name on remote hosts.
15101
eebc475d
TZ
151022011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15103
15104 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15105 integration for LDAP parameters. The host, base, user or binddn,
15106 and secret tokens can be specified in a netrc file, for instance.
15107 This is optional because an `auth-source' parameter must be
15108 specified in the search attributes.
15109
9d05d1ba
JB
151102011-03-13 Juanma Barranquero <lekktu@gmail.com>
15111
15112 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15113
09d9db2c
GM
151142011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15115
15116 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15117 into declaration. Remove redundant and harmful binding.
15118
151192011-03-12 Eli Zaretskii <eliz@gnu.org>
15120
15121 * files.el (file-ownership-preserved-p): Pass `integer' as an
15122 explicit 2nd argument to `file-attributes'. If the file's owner
15123 is the Administrators group on Windows, and the current user is
15124 Administrator, consider that a match.
15125
15126 * server.el (server-ensure-safe-dir): Consider server directory
15127 safe on MS-Windows if its owner is the Administrators group while
15128 the current Emacs user is Administrator. Use `=' to compare
15129 numerical UIDs, since they could be integers or floats.
15130
219bd536
JB
151312011-03-12 Juanma Barranquero <lekktu@gmail.com>
15132
15133 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15134
f3afd36b
MA
151352011-03-12 Michael Albinus <michael.albinus@gmx.de>
15136
15137 Sync with Tramp 2.2.1.
15138
15139 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15140
15141 * net/trampver.el: Update release number.
15142
3aaaa6f1
SM
151432011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15144
94642599
SM
15145 * progmodes/compile.el (compilation--previous-directory): Fix up
15146 various nil/dead-marker mismatches (bug#8014).
15147 (compilation-directory-properties, compilation-error-properties):
15148 Don't call it at a position past the one we're about to change.
15149
3aaaa6f1
SM
15150 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15151 Disable obsolescence warnings in the file that declares it.
15152
14239447
KM
151532011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15154
099c39a4
JB
15155 * allout-widgets.el (allout-widgets-tally):
15156 Initialize allout-widgets-tally as a hash table rather than nil to
15157 prevent mode-line redisplay warnings. Also, clarify the module
15158 description and fix a comment typo.
14239447 15159
135e287c
JB
151602011-03-11 Juanma Barranquero <lekktu@gmail.com>
15161
15162 * help-fns.el (describe-variable): Don't complete keywords.
15163 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15164
ffbf300e
CY
151652011-03-10 Chong Yidong <cyd@stupidchicken.com>
15166
ba08b241
CY
15167 * emacs-lisp/package.el (package-version-join): Impose a standard
15168 string representation for pre/alpha/beta version lists.
15169 (package-unpack-single): Standardize the directory name by passing
15170 it through package-version-join.
15171 (package-strip-rcs-id): Accept any version string that does not
15172 signal an error in version-to-list.
ffbf300e 15173
f346fd6b
MA
151742011-03-10 Michael Albinus <michael.albinus@gmx.de>
15175
15176 * simple.el (delete-trailing-whitespace): Return nil for the
15177 benefit of `write-file-functions'.
15178
ccb55d27
GM
151792011-03-10 Glenn Morris <rgm@gnu.org>
15180
5ceaac0c
GM
15181 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15182
02da65ff
GM
15183 * vc/vc-git.el (vc-git-program): New option.
15184 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15185 (vc-git--call): Use it.
15186
b2f603cc
GM
15187 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15188
5772caab
GM
15189 * cus-edit.el (Custom-newline): If no button at point, look
15190 for a subgroup button at start-of-line. (Bug#2298)
15191
ccb55d27
GM
15192 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15193
ec6ecaed
JD
151942011-03-10 Julien Danjou <julien@danjou.info>
15195
15196 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15197 `cursor-type' is nil.
15198
9d5aa01d
JB
151992011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15200
15201 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15202
b6a5875b
KM
152032011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15204
7a71b18d 15205 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15206 preserves the existing header prefix, rebulleting it if necessary,
15207 rather than replacing it. This is necessary for proper operation
15208 of cooperative addons like allout-widgets.
1154d12e
JB
15209 (allout-make-topic-prefix, allout-rebullet-heading):
15210 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15211 value as alternate bullet to be used, instead of prompting the user
15212 for a bullet character.
b6a5875b 15213
ee545c35
MA
152142011-03-09 Michael Albinus <michael.albinus@gmx.de>
15215
d86d2721
SM
15216 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15217 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15218 `tramp-default-port'.
15219
c47971d7
DD
152202011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15221
15222 * net/rcirc.el (rcirc-handler-001): Remove useless
15223 with-rcirc-process-buffer.
15224 (rcirc-check-auth-status): Swap arguments to string-match.
15225
13522cb4
GM
152262011-03-09 Glenn Morris <rgm@gnu.org>
15227
0be6f4f1
GM
15228 * shell.el (shell-mode):
15229 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15230
13522cb4
GM
15231 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15232 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15233
515de2e3
CY
152342011-03-08 Chong Yidong <cyd@stupidchicken.com>
15235
15236 * emacs-lisp/package.el (package-refresh-contents)
15237 (package-menu-execute): Use condition-case-no-debug.
15238
b511b994
MA
152392011-03-08 Michael Albinus <michael.albinus@gmx.de>
15240
15241 * simple.el (shell-command-to-string): Use `process-file'.
15242
15243 * emacs-lisp/package.el (package-tar-file-info): Handle also
15244 remote files.
15245
d86d2721
SM
15246 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15247 Use `equal' for upload base check.
b511b994 15248
25bbfb31
AM
152492011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15250
15251 * textmodes/texinfo.el (texinfo-environments):
15252 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15253
be996521
GM
152542011-03-08 Glenn Morris <rgm@gnu.org>
15255
e9c8529f
GM
15256 * cus-start.el (cursor-in-non-selected-windows):
15257 Fix :set quoting oddness. (Bug#8192)
15258
be996521
GM
15259 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15260 in some setf expressions. (Bug#2159)
15261
2bb5649e
CY
152622011-03-08 Chong Yidong <cyd@stupidchicken.com>
15263
15264 * custom.el (custom-available-themes): Return themes in
15265 alphabetical order.
15266
33383987 15267See ChangeLog.15 for earlier changes.
e3d51b27
MR
15268
15269;; Local Variables:
15270;; coding: utf-8
e3d51b27
MR
15271;; End:
15272
acaf905b 15273 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15274
15275 This file is part of GNU Emacs.
15276
15277 GNU Emacs is free software: you can redistribute it and/or modify
15278 it under the terms of the GNU General Public License as published by
15279 the Free Software Foundation, either version 3 of the License, or
15280 (at your option) any later version.
15281
15282 GNU Emacs is distributed in the hope that it will be useful,
15283 but WITHOUT ANY WARRANTY; without even the implied warranty of
15284 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15285 GNU General Public License for more details.
15286
15287 You should have received a copy of the GNU General Public License
15288 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.