lisp/makefile.w32-in (COMPILE_FIRST): Remove subr.el.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
33377562
JB
12012-06-14 Juanma Barranquero <lekktu@gmail.com>
2
3 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
4 Suggested by Stefan Monnier while discussing bug#11657.
5
54c5ba1a
SS
62012-06-14 Sam Steingold <sds@gnu.org>
7
8 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9
f9f1b1fe
AS
102012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11
12 * play/doctor.el (doctor-doc): Remove parameter and use
13 doctor-sent instead of sent.
14 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
15
a81068ba
SM
162012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
17
5a315f9c
SM
18 * files.el: Require cl-lib.
19 (file-name-non-special): Replace case -> cl-case.
20
21 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
22
a81068ba
SM
23 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
24 mapping from #' to function*.
25
8cca9703
CY
262012-06-13 Chong Yidong <cyd@gnu.org>
27
28 * mouse.el (mouse-drag-track): Do not set the mark if the user
29 releases the mouse without selecting anything (Bug#11588).
30
a12ac9d7
SM
312012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
32
ccf1dc18
SM
33 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
34 as well (bug#11646).
35
ef62b23d
SM
36 * loadup.el: Count byte-code functions as well.
37
c4c8444a
SM
38 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
39 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
40
a12ac9d7
SM
41 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
42 (bug#11649). Add cl-defun and cl-defmacro.
43
87e6e64f
DA
442012-06-13 Drew Adams <drew.adams@oracle.com>
45
46 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
47 Fix last change.
48
682cefaf
MA
492012-06-13 Michael Albinus <michael.albinus@gmx.de>
50
51 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
52 Otherwise, it blocks in batch mode.
53
773e1f08
JB
542012-06-13 Juanma Barranquero <lekktu@gmail.com>
55
56 * help-mode.el (bookmark-make-record-default): Declare.
57
60057926
CY
582012-06-13 Chong Yidong <cyd@gnu.org>
59
60 * emacs-lisp/package.el (list-packages): Compute a list of
61 packages that are newly-available since the last list-packages
62 invocation.
63 (package-menu--new-package-list): New var.
64 (package-menu--generate, package-menu--print-info)
65 (package-menu--status-predicate, package-menu-mark-install):
66 Handle new status label "new".
67
ad4d226c
SM
682012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
71 conversion to backquotes.
72
f1a4e679
CY
732012-06-12 Chong Yidong <cyd@gnu.org>
74
75 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
76 Rename from gud-inhibit-global-bindings.
77
78 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
79
80 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
81 hook from nxml-glyph-set-hook.
82
83 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
84 declaration.
85
86 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
87
88 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
89 Convert to defcustom.
90
0c9e42b5
DA
912012-06-12 Drew Adams <drew.adams@oracle.com>
92
93 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
94 New functions.
95 (help-mode): Use them.
96
09e06855
GM
972012-06-11 Glenn Morris <rgm@gnu.org>
98
99 * progmodes/fortran.el (fortran-font-lock-keywords-3):
100 Use preprocessor face for directives.
101 (fortran-directive-re): Doc fix.
102
71adb94b
SM
1032012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
104
2eb87922
SM
105 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
106 conversion to backquotes (bug#11652).
107
71adb94b
SM
108 Fix compiler-expansion of CL's cXXr functions (bug#11673).
109 * emacs-lisp/cl-lib.el (cl--defalias): New function.
110 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
111 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
112 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
113 (cl-ninth, cl-tenth): Mark them as inlinable.
114 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
115 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
116 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
117 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
118 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
119 (cl-list*, cl-adjoin): Don't put an autoload manually.
120 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
121 (cl--compiler-macro-list*): Add autoload cookie.
122 (cl--compiler-macro-cXXr): New function.
2eb87922 123
71adb94b
SM
124 * help-fns.el (help-fns--compiler-macro): New function extracted from
125 describe-function-1; follow aliases and use `compiler-macro' property.
126 (describe-function-1): Use it.
127
a6674402
CY
1282012-06-11 Chong Yidong <cyd@gnu.org>
129
130 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
131 is uninstalled, if imagemagick is installed.
132
bb3faf5b
SM
1332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
134
135 * emacs-lisp/cl-lib.el: Use lexical-binding.
136 (cl-map-extents, cl-maclisp-member): Remove.
137 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
138 (cl--set-substring, cl--block-wrapper, cl--block-throw)
139 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
140 * emacs-lisp/cl-extra.el: Use lexical-binding.
141 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
142 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
143 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
144 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
145 * emacs-lisp/cl-seq.el: Use lexical-binding.
146 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
147 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
148 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
149 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
150 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
151 CL's internals.
152
2fe4b125
MA
1532012-06-11 Michael Albinus <michael.albinus@gmx.de>
154
155 Sync with Tramp 2.2.6-pre.
156
157 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
158 `print-length' and `print-level' to nil, in order to avoid
159 truncation. Reported by Christopher Schmidt
160 <christopher@ristopher.com>.
161
162 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
163
164 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
165 New defmacro.
166 (tramp-compat-copy-directory): Add optional argument
167 COPY-CONTENTS. It is not handled yet.
168
169 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
170 (tramp-ftp-file-name-p): Simplify.
171
172 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
173 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
174 connection vector.
175
176 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
177 (tramp-methods): Do not use `tramp-password-end-of-line'.
178 (tramp-completion-function-alist-putty): Handle UNIX case.
179 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
180 (tramp-do-file-attributes-with-stat)
181 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
182 gid as real numbers. They could run out of integer range on cygwin.
183 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
184 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
185 (tramp-open-connection-setup-interactive-shell):
186 Use `tramp-cleanup'. Move check for busyboxes ...
187 (tramp-find-shell): ... here. Simplify implementation.
188 Set "remote-shell" property also for alternative shells.
189 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
190 If failing, a regular file would be written otherwise.
191 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
192 (tramp-find-inline-encoding): Cache the coding commands in the
193 process cache. Apply test command on the remote side, if defined.
194 (tramp-find-inline-compress): Cache the compress commands in the
195 process cache.
196 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
197 when requested. Handle hops.
198 (tramp-current-connection): New defvar.
87e6e64f
DA
199 (tramp-maybe-open-connection): Use `tramp-cleanup'.
200 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 201 Handle user interrupt. (Bug#10187)
87e6e64f
DA
202 (tramp-get-inline-compress, tramp-get-inline-coding):
203 Read connection properties from the process cache.
2fe4b125
MA
204
205 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
206 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
207 New defconsts.
2fe4b125
MA
208 (tramp-smb-prompt): Extend for powershell prompt.
209 (tramp-smb-file-name-handler-alist): Add handlers for
210 `process-file', `shell-command' and `start-file-process'.
211 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
212 (tramp-smb-winexe-shell-command-switch): New defcustoms.
213 (tramp-smb-file-name-p): Simplify.
214 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
215 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
216 (tramp-smb-shell-quote-argument): New defuns.
217 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
218 Implement using "tar". By this, time-stamps are preserved.
219 (tramp-smb-handle-copy-file): Handle also the case of directories.
220 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
221 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
222 Use `tramp-get-connection-buffer').
2fe4b125
MA
223 (tramp-smb-handle-rename-file): Use "rename", when source and
224 target are on the same share.
87e6e64f
DA
225 (tramp-smb-maybe-open-connection): Handle wrong passwords.
226 Use `tramp-smb-server-version'.
2fe4b125
MA
227 (tramp-smb-wait-for-output): Remove prompt.
228
229 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
230 (tramp-methods, tramp-rsh-end-of-line):
231 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
232 (tramp-save-ad-hoc-proxies): New defcustom.
233 (tramp-completion-function-alist): Adapt docstring.
234 (tramp-default-password-end-of-line): Remove defcustom.
235 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
236 (tramp-user-regexp, tramp-file-name-regexp-unified)
237 (tramp-file-name-regexp-url): Extend regexp by hop separator.
238 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
239 (tramp-remote-file-name-spec-regexp): New defconst.
240 (tramp-file-name-structure): Extend structure for hops.
241 (tramp-get-method-parameter): Move up.
242 (tramp-file-name-p, tramp-dissect-file-name)
243 (with-parsed-tramp-file-name): Handle hops.
244 (tramp-file-name-hop): New defun.
245 (tramp-make-tramp-file-name): New optional arg HOP.
246 (tramp-message-show-progress-reporter-message): New defvar.
247 (tramp-with-progress-reporter): Use it. We cannot use
248 `tramp-message-show-message' here, because this suppresses also
249 error buffers.
250 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
251 `tramp-message-show-message' is nil.
252 Use `tramp-get-connection-buffer'.
2fe4b125
MA
253 (tramp-cleanup): New defun.
254 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
255 (tramp-file-name-handler): If `debug-on-error' is set, propagate
256 an error unchanged.
257 (tramp-completion-handle-file-name-all-completions): Handle hops.
258 Fix an error when called from ido.
259 (tramp-completion-dissect-file-name): Use better local variable
260 name. Add hop to the vector.
261 (tramp-handle-insert-file-contents): Use progress-reporter for the
262 whole scenario.
263 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
264 to `t'.
265 (tramp-check-for-regexp): Simplify search.
266 (tramp-enter-password): Remove it. Move implementation ...
267 (tramp-action-password): ... here.
268 (tramp-mode-string-to-int, tramp-local-host-p)
269 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
270 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
271 Set tramp-autoload cookie.
2fe4b125
MA
272
273 * net/trampver.el: Update release number.
274
2752012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
276 Michael Albinus <michael.albinus@gmx.de>
277
278 * net/tramp.el (tramp-set-completion-function): Fix docstring.
279 (tramp-parse-group, tramp-parse-file)
280 (tramp-parse-shostkeys-sknownhosts): New defuns.
281 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
282 (tramp-parse-shosts-group, tramp-parse-sconfig)
283 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
284 (tramp-parse-sknownhosts, tramp-parse-hosts)
285 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
286 Use them.
287 (tramp-parse-passwd-group, tramp-parse-netrc-group)
288 (tramp-parse-putty-group): Don't narrow.
289 (tramp-parse-putty): Make a loop.
290 (tramp-file-name-handler): Catch the `suppress' signal.
291
72834e10
CY
2922012-06-11 Chong Yidong <cyd@gnu.org>
293
294 * image.el (imagemagick-register-types): Put the ImageMagick entry
295 at the end of image-type-file-name-regexps.
296
a4712e11
JB
2972012-06-11 Johan Bockgård <bojohan@gnu.org>
298
299 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
300 (pcase, pcase-let*, pcase-dolist): Use them.
301
82ad98e3
SM
3022012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * emacs-lisp/pcase.el (pcase--let*): New function.
305 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
306 (pcase--expand): Use macroexp-let².
307
f80efb86
SM
3082012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
309
310 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
311 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
312 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
313 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
314 * emacs-lisp/derived.el: Use pcase instead of `cl'.
315 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
316
31ca4639 3172012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 318
31ca4639
CY
319 * mail/rmail.el (rmail-yank-current-message): Leave point at
320 correct position. (Bug#11660)
94f0aa34 321
31ca4639 3222012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 323
31ca4639 324 * allout-widgets.el: Fix code header.
9e1b8ec4 325
31ca4639 3262012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 327
f80efb86
SM
328 * cus-edit.el (customize-changed-options-previous-release):
329 Bump to 24.1.
31ca4639 330
642b6d30
AS
3312012-06-09 Andreas Schwab <schwab@linux-m68k.org>
332
333 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
334
4f5d2ba1
CY
3352012-06-09 Chong Yidong <cyd@gnu.org>
336
337 * ebuff-menu.el (electric-buffer-list): Preserve header line.
338
e75852fd
MR
3392012-06-09 Martin Rudalics <rudalics@gmx.at>
340
341 * window.el (special-display-popup-frame): Don't use
342 window--display-buffer (Bug#11651).
343
1e48e282
EZ
3442012-06-09 Eli Zaretskii <eliz@gnu.org>
345
8a26b487
EZ
346 Fix parallel builds: make sure loaddefs.el is not being written
347 while Lisp files are compiled.
348 (compile): Don't depend on 'mh-autoloads'.
349 (compile-CMD, compile-SH): Depend on 'autoloads'.
350 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
351
1e48e282
EZ
352 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
353
6175e34b
CY
3542012-06-09 Chong Yidong <cyd@gnu.org>
355
356 * face-remap.el (face-remap-add-relative, face-remap-set-base)
357 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
358 Doc fixes (Bug#11225).
359
d9857e53
SM
3602012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
361
362 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
363 a function if there's a clear indication that it has a compiler-macro.
364 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
365 (macro-declarations-alist): Add arglist to declaration functions.
366 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
367 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
368 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
369 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
370 Also add autoload to find the compiler macro.
371 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
372 (cl--compiler-macro-member, cl--compiler-macro-assoc)
373 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
374 (cl--compiler-macro-get): New functions, replacing calls to
375 cl-define-compiler-macro.
376 (cl-typep) [compiler-macro]: Use macroexp-let².
377
f81298f8 3782012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
379
380 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
381 string properly, fixes Bug#11473.
382
4b56d0fe
CY
3832012-06-08 Chong Yidong <cyd@gnu.org>
384
385 * faces.el (set-face-attribute): Doc fix.
386 (modify-face): Don't use :bold and :italic.
387 (error, warning, success): Tweak definitions.
388
389 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
390 (custom-modified, custom-set, custom-changed, custom-themed)
391 (custom-saved, custom-button, custom-button-mouse)
392 (custom-button-pressed, custom-state, custom-comment-tag)
393 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
394 (custom-group-subtitle): Use new-style face specs.
395 (custom-invalid-face, custom-rogue-face, custom-modified-face)
396 (custom-set-face, custom-changed-face, custom-saved-face)
397 (custom-button-face, custom-button-pressed-face)
398 (custom-documentation-face, custom-state-face)
399 (custom-comment-face, custom-comment-tag-face)
400 (custom-variable-tag-face, custom-variable-button-face)
401 (custom-face-tag-face, custom-group-tag-face-1)
402 (custom-group-tag-face): Remove obsolete face alias.
403
404 * epa.el (epa-validity-high, epa-validity-medium)
405 (epa-validity-low, epa-mark, epa-field-name, epa-string)
406 (epa-field-name, epa-field-body):
407 * font-lock.el (font-lock-comment-face, font-lock-string-face)
408 (font-lock-keyword-face, font-lock-builtin-face)
409 (font-lock-function-name-face, font-lock-variable-name-face)
410 (font-lock-type-face, font-lock-constant-face):
411 * ido.el (ido-first-match, ido-only-match, ido-subdir)
412 (ido-virtual, ido-indicator, ido-incomplete-regexp):
413 * speedbar.el (speedbar-button-face, speedbar-file-face)
414 (speedbar-directory-face, speedbar-tag-face)
415 (speedbar-selected-face, speedbar-highlight-face)
416 (speedbar-separator-face):
417 * whitespace.el (whitespace-newline, whitespace-space)
418 (whitespace-hspace, whitespace-tab, whitespace-trailing)
419 (whitespace-line, whitespace-space-before-tab)
420 (whitespace-space-after-tab, whitespace-indentation)
421 (whitespace-empty):
422 * emulation/cua-base.el (cua-global-mark):
423 * eshell/em-prompt.el (eshell-prompt):
424 * net/newst-plainview.el (newsticker-new-item-face)
425 (newsticker-old-item-face, newsticker-immortal-item-face)
426 (newsticker-obsolete-item-face, newsticker-date-face)
427 (newsticker-statistics-face, newsticker-default-face):
428 * net/newst-reader.el (newsticker-feed-face)
429 (newsticker-extra-face, newsticker-enclosure-face):
430 * net/newst-treeview.el (newsticker-treeview-face)
431 (newsticker-treeview-new-face, newsticker-treeview-old-face)
432 (newsticker-treeview-immortal-face)
433 (newsticker-treeview-obsolete-face)
434 (newsticker-treeview-selection-face):
435 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
436 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
437 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
438 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
439 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
440 (nxml-outline-active-indicator, nxml-outline-ellipsis):
441 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
442 (mpuz-text):
443 * progmodes/vera-mode.el (vera-font-lock-number)
444 (vera-font-lock-function, vera-font-lock-interface):
445 * textmodes/table.el (table-cell): Use new-style face specs, and
446 don't use the old :bold and :italic attributes.
447
448 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
449 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
450 (ebrowse-member-class, ebrowse-progress): Likewise.
451 (ebrowse-tree-mark-face, ebrowse-root-class-face)
452 (ebrowse-file-name-face, ebrowse-default-face)
453 (ebrowse-member-attribute-face, ebrowse-member-class-face)
454 (ebrowse-progress-face): Remove obsolete faces.
455
456 * progmodes/flymake.el (flymake-errline, flymake-warnline):
457 Inherit from error and warning faces respectively.
458
459 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
460 Likewise.
f80efb86
SM
461 (flyspell-incorrect-face, flyspell-duplicate-face):
462 Remove obsolete aliases.
4b56d0fe 463
03310646
MA
4642012-06-08 Michael Albinus <michael.albinus@gmx.de>
465
466 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
467 Avoid infloop.
468
513749ee
SM
4692012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * startup.el (argv, argi): Make lexically scoped.
472 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
473 * emacs-lisp/cl-macs.el: Use lexical-binding.
474 Rename cl-bind-* to cl--bind-*.
475 * files.el: Don't require `cl' since it doesn't use it.
476 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
477
595ef4ad
JB
4782012-06-08 Juanma Barranquero <lekktu@gmail.com>
479
480 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
481 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
482 instead of calling external sort utility.
483 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
484
e9f66fcb
EZ
4852012-06-08 Eli Zaretskii <eliz@gnu.org>
486
487 * descr-text.el (describe-char): Mention how to insert the
488 character, if the current input method doesn't support it.
489 See the discussion in this thread for the details:
490 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
491
3d10db47
SS
4922012-06-08 Sam Steingold <sds@gnu.org>
493
494 * bindings.el (global-map): Bind XF86Forward to next-buffer and
495 XF86Back to previous-buffer.
496 (minibuffer-local-map): Bind them to next-history-element and
497 previous-history-element respectively.
498 * help-mode.el (help-mode-map): Bind them to help-go-forward and
499 help-go-back respectively.
500 * info.el (Info-mode-map): Bind them to Info-history-forward and
501 Info-history-back respectively.
502 These are the keys next to Up on the ThinkPad keyboard.
503
de7e2b36
SM
5042012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
505
506 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
507 * emacs-lisp/cl-macs.el: Provide itself.
508 (cl--labels-convert-cache): New var.
509 (cl--labels-convert): New function.
510 (cl-flet, cl-labels): New implementation with new semantics, relying on
511 lexical-binding.
512 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
513 (cl-closure-vars, cl--function-convert-cache)
514 (cl--function-convert): Move from cl-macs.el.
515 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
516 rename by removing the "cl-" prefix.
517 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
518
6fa6c4ae
SM
5192012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
520
521 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
522 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
523 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
524 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
525 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
526 (cl-hash-table-count): Add old compatibility aliases.
527
528 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
529 Use macroexpand-all-environment instead.
530 (cl--old-macroexpand): New var.
531 (cl--sm-macroexpand): New function.
532 (cl-symbol-macrolet): Use it during macro expansion.
533 (cl--function-convert-cache): New var.
534 (cl--function-convert): New function, extracted from
535 cl-macroexpand-all.
536 (cl-lexical-let): Use it.
537
538 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
539 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
540 (cl-member): Remove old alias.
541
542 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
543 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
544 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
545 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
546 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
547 (cl-macroexpand-cmacs): Remove var.
548 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
549 Use macroexpand-all instead.
550
4dd1c416
SM
5512012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
552
553 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
554 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
555 (macroexp-copyable-p): New functions and macros.
556 * emacs-lisp/edebug.el (edebug-unwrap):
557 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
558 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
559 (pcase--let*): Remove.
560 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
561 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
562 macroexp-const-p instead.
563 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
564
565 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
566 instead of "cl-" for internal definitions. Use macroexp-const-p.
567 (cl-old-bc-file-form): Remove var.
568 (cl-const-exprs-p): Remove fun.
569 (cl-labels, cl-macrolet): Use backquote.
570 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
571 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
572 (cl-define-setf-expander): Rename from cl-define-setf-method.
573 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
574
575 * international/mule-cmds.el: Don't require CL.
576 (view-hello-file): Don't use `letf'.
577
ed8bd4d7
SM
5782012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
579
7287f2f3
SM
580 * tmm.el (tmm-prompt): Use string-prefix-p.
581 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
582 (tmm-add-prompt): Use minibuffer-completion-help.
583 (tmm-delete-map): Remove.
584
ed8bd4d7
SM
585 * subr.el (kbd): Make it its own function.
586
7b4cdbf4
SM
5872012-06-07 Stefan Merten <smerten@oekonux.de>
588
589 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
590 Silence compiler warnings. Fix versions.
ed8bd4d7 591 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 592 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 593 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
594 (rst-package-emacs-version-alist): Correct Emacs version to
595 represent major merge with upstream.
ed8bd4d7 596 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 597
2b48d721
GM
5982012-06-06 Glenn Morris <rgm@gnu.org>
599
600 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
601 Only print environment variables if set.
602
fa779ab0
SM
6032012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
606 (macroexp--cons): Rename from maybe-cons.
607 (macroexp--accumulate): Rename from macroexp-accumulate.
608 (macroexp--all-forms): Rename from macroexpand-all-forms.
609 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
610 (macroexp--expand-all): Rename from macroexpand-all-1.
611
628299e0
SS
6122012-06-06 Sam Steingold <sds@gnu.org>
613
614 * calendar/calendar.el (calendar-in-read-only-buffer):
615 Call `special-mode' to enable the standard read-only keybindings.
616
b7bb5838
SM
6172012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
620 with "loading" messages (bug#11635).
621
dfb308ba
MA
6222012-06-06 Michael Albinus <michael.albinus@gmx.de>
623
624 * files.el (enable-remote-dir-locals): New option.
625 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
626
0372ee92
MA
627 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
628 Ensure, that the temp directory is local.
629
630 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
631 `temporary-file-directory'.
632
eed0bb91
MA
633 * progmodes/python.el (python-send-region): Ensure, that the
634 temporary file is created also in the remote case.
635
7a58f64d
GM
6362012-06-06 Glenn Morris <rgm@gnu.org>
637
f7dd4e98
GM
638 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
639 (vc-rcs-update-changelog): Use it.
640
276d5f5d
GM
641 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff
642
7a58f64d
GM
643 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
644 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
645 (vc-sccs-diff): Replace use of the external vcdiff script.
646
daed4003
GM
6472012-06-05 Glenn Morris <rgm@gnu.org>
648
649 * ledit.el: Move to obsolete/.
650
48c455c7
SS
6512012-06-05 Sam Steingold <sds@gnu.org>
652
653 * calendar/calendar.el (calendar-exit): reinstate the 2012-03-28
654 patch (Bug#11140).
655
57a7d507
SM
6562012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
657
d32926ff
SM
658 * emacs-list/cust-print.el: Move to obsolete.
659
53aacf21
SM
660 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
661 compiler-macro expansion.
662
57a7d507
SM
663 Add native compiler-macro support.
664 * emacs-lisp/macroexp.el (macroexpand-all-1):
665 Support compiler-macros directly. Properly follow aliases and apply
666 the compiler macros more thoroughly.
667 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
668 macroexpand now properly follows aliases.
669 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
670 (cl-compiler-macroexpand): Use new prop.
671 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
672
673 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
674
51a5f9d8
MR
6752012-06-05 Martin Rudalics <rudalics@gmx.at>
676
677 * window.el (get-lru-window, get-mru-window, get-largest-window):
678 New argument NOT-SELECTED to avoid picking the selected window.
679 (window--display-buffer-1, window--display-buffer-2): Replace by
680 new function window--display-buffer
681 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
682 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
683 Use window--display-buffer.
51a5f9d8
MR
684 (display-buffer-use-some-window): Remove temporary dedication
685 hack by calling get-lru-window and get-largest-window with
686 NOT-SELECTED argument non-nil. Call window--display-buffer.
687
08f9f738
GM
6882012-06-05 Glenn Morris <rgm@gnu.org>
689
690 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
691 Replace external vcdiff script.
692
e364a2b7
SM
6932012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
694
695 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
696
041df390
CY
6972012-06-04 Chong Yidong <cyd@gnu.org>
698
e364a2b7
SM
699 * image.el (imagemagick-types-inhibit): Revert last change.
700 Add INFO and M.
47b36b94 701 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 702
7c1898a7
SM
7032012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
704
705 * emacs-lisp/cl-lib.el: Rename from cl.el.
706 * emacs-lisp/cl.el: New compatibility file.
707 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
708 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
709 to obey the "cl-" prefix.
710 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
711
0c3461de
GM
7122012-06-03 Glenn Morris <rgm@gnu.org>
713
1e266c88
GM
714 * emacs-lisp/authors.el (authors-aliases): Addition.
715
0c3461de
GM
716 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
717 Fix :version.
718
d8a52e15
SM
7192012-06-03 Stefan Merten <smerten@oekonux.de>
720
721 * textmodes/rst.el: Add comments.
722 (rst-transition, rst-adornment): New faces.
723 (rst-adornment-faces-alist): Make default safe to reevaluate.
724 Fixes
725 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
726 Improve customization tags.
727 (rst-define-level-faces): Clarify meaning.
728
5205d6f6
CY
7292012-06-03 Chong Yidong <cyd@gnu.org>
730
731 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
732 (compilation-mode-line-run, compilation-mode-line-exit):
733 New faces.
5205d6f6
CY
734 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
735
757ee657
JD
7362012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
737
7c1898a7
SM
738 * progmodes/which-func.el (which-func-update-ediff-windows):
739 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 740
5f2c76c6
CY
7412012-06-03 Chong Yidong <cyd@gnu.org>
742
743 * bindings.el: Remove explicit help text from format-mode-line.
744 It is now supplied by mode-line-default-help-echo.
745 (mode-line-front-space, mode-line-end-spaces)
746 (mode-line-misc-info): New variables.
747 (mode-line-modes, mode-line-position): Move the default value to
748 the variable definition.
749 (mode-line-default-help-echo): New defcustom.
383f7350
CY
750 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
751 (mode-line-modified-help-echo): New functions.
752 (mode-line-mule-info, mode-line-modified): Use them.
753 (mode-line-eol-desc, propertized-buffer-identification):
754 Consistency fixes for help text.
cbe46e5f
CY
755 (mode-line-coding-system-map): Allow using mouse-3 to invoke
756 set-buffer-file-coding-system (Bug#289).
757 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 758
f2d6a3df
SM
7592012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
760
761 * simple.el (execute-extended-command): Set real-this-command
762 (bug#11506).
763
37269466
CY
7642012-06-02 Chong Yidong <cyd@gnu.org>
765
766 Remove incorrect uses of "modeline" in comments, docstrings, and
767 function/variable names (Bug#10329).
768
769 * cus-edit.el (mode-line):
770 * dframe.el (dframe-mouse-hscroll):
771 * emacs-lisp/re-builder.el:
772 * emacs-lisp/easy-mmode.el (define-minor-mode):
773 * frame.el (set-frame-name):
774 * help.el (lookup-minor-mode-from-indicator):
775 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
776 * progmodes/cc-cmds.el (c-toggle-auto-newline)
777 (c-toggle-hungry-state):
778 * progmodes/antlr-mode.el (antlr-language-alist):
779 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
780 * progmodes/vhdl-mode.el (vhdl-mode):
781 * progmodes/which-func.el (which-func, which-func-cleanup-function):
782 * term/ns-win.el (ns-face-at-pos):
783 * term/sup-mouse.el (sup-mouse-report):
784 * textmodes/flyspell.el (flyspell-mode-line-string):
785 * textmodes/ispell.el (ispell-highlight-face):
786 * textmodes/reftex-global.el:
787 * vc/vc-arch.el (vc-arch-mode-line-string):
788 * vc/vc-cvs.el (vc-cvs-mode-line-string):
789 * vc/vc-git.el (vc-git-mode-line-string):
790 * vc/vc-hooks.el (vc-display-status)
791 (vc-default-mode-line-string):
792 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
793
794 * ansi-color.el (ansi-color-faces-vector): Change default faces.
795
796 * dired.el (dired-sort-set-mode-line): Rename from
797 dired-sort-set-modeline. All callers changed.
798
799 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
800 eshell-status-in-modeline.
801
802 * foldout.el (foldout-mode-line-string): Rename from
803 foldout-modeline-string. All callers changed.
804 (foldout-update-mode-line): Rename from foldout-update-modeline.
805
806 * subr.el (redraw-modeline): Make into obsolete alias.
807
808 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
809 timeclock-modeline-display. Make old name an alias.
810 (timeclock-update-mode-line): Likewise. All callers changed.
811 (timeclock-mode-line-display): No need to check before using
812 add-hook.
813 (timeclock-relative, timeclock-day-over-hook)
814 (timeclock-use-elapsed, timeclock-mode-string)
815 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
816
817 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
818 crisp-mode-modeline-string.
819
820 * play/solitaire.el (solitaire-build-mode-line): Rename from
821 solitaire-build-modeline. All callers changed.
822
823 * play/zone.el (zone-hiding-mode-line): Rename from
824 zone-hiding-modeline. All callers changed.
825 (zone): Remove unusued `modeline-hidden-level' property.
826
827 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
828 xscheme-modeline-initialize. All callers changed.
829
830 * strokes.el (strokes-lighter): Rename from
831 strokes-modeline-string.
832
833 * textmodes/sgml-mode.el (html-face-tag-alist)
834 (html-tag-face-alist): Use mode-line face instead of obsolete
835 alias modeline.
836
42152ee4
SM
8372012-06-02 Stefan Merten <smerten@oekonux.de>
838
839 * textmodes/rst.el: Always require `cl'.
4cf9b38d 840 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 841
95f520b5
CY
8422012-06-02 Chong Yidong <cyd@gnu.org>
843
844 * image.el (imagemagick-enabled-types): Rename from
845 imagemagick-types-enable. Add many more types.
846 (imagemagick-types-inhibit): Change default to nil.
847 (imagemagick-filter-types): Caller changed.
848
4a5f187a
SM
8492012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
850
03fef3e6
SM
851 * emacs-lisp/cl-macs.el: Use backquotes.
852 (cl-transform-function-property): Use eval-and-compile rather than
853 abusing `require'.
854 (defstruct): Use declare-function instead of with-no-warnings.
855
4a5f187a
SM
856 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
857 (byte-compile-output-docform): Re-add the print-circle bindings.
858 (byte-compile-fix-header): Use #$ just because it's shorter.
859 (byte-compile-output-file-form): Remove defun/defmacro.
860
bd56924f
MR
8612012-06-01 Martin Rudalics <rudalics@gmx.at>
862
863 * simple.el (choose-completion): Remove now obsolete binding for
864 owindow.
865
046e38ce
MA
8662012-06-01 Michael Albinus <michael.albinus@gmx.de>
867
868 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
869 in order to avoid "Stack overflow in regexp matcher".
870
32d72c2f
GM
8712012-05-31 Glenn Morris <rgm@gnu.org>
872
873 * image.el: For clarity, call imagemagick-register-types at
874 top-level, rather than relying on a custom :initialize.
875 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
876 (imagemagick-filter-types): New function. (Bug#7406)
877 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
878 If disabling support, remove elements altogether rather
879 than using an impossible regexp.
880 (imagemagick-types-inhibit): Give it the default init function.
881
dd41169b
SM
8822012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
883
4a5f187a
SM
884 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
885 Handle arbitrary file name lengths (Bug#11585).
dd41169b 886
efc00ab1 8872012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
888
889 * desktop.el (desktop-read): Clear previous and next buffers for
890 all windows and bury *Messages* buffer (bug#11556).
891
500fcedc
SM
8922012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 Add `declare' for `defun'. Align `defmacro's with it.
895 * emacs-lisp/easy-mmode.el (define-minor-mode)
896 (define-globalized-minor-mode): Don't autoload the var definitions.
897 * emacs-lisp/byte-run.el: Use lexical-binding.
898 (defun-declarations-alist, macro-declarations-alist): New vars.
899 (defmacro, defun): Use them.
900 (make-obsolete, define-obsolete-function-alias)
901 (make-obsolete-variable, define-obsolete-variable-alias):
902 Use `declare'.
903 (macro-declaration-function): Mark obsolete.
904 * emacs-lisp/autoload.el: Use lexical-binding.
905 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
906
6e8a1786
AM
9072012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
908
909 * textmodes/ispell.el (ispell-with-no-warnings):
910 Define as a macro.
500fcedc
SM
911 (ispell-kill-ispell, ispell-change-dictionary):
912 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
913 `interactive-p'.
914
61b108cc
SM
9152012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
918 (macro-declaration-function): Move var from C code.
919 (macro-declaration-function): Define function with defalias.
920 * emacs-lisp/macroexp.el (macroexpand-all-1):
921 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
922 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
923 defun/defmacro any more.
924 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
925 Provide fallback for unknown arglist.
926 (byte-compile-arglist-warn): Change calling convention.
927 (byte-compile-output-file-form): Move print-vars binding.
928 (byte-compile-output-docform): Simplify accordingly.
929 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
930 (byte-compile-defmacro-declaration): Remove.
931 (byte-compile-file-form-defmumble): Generalize to defalias.
932 (byte-compile-output-as-comment): Return byte-positions.
933 Simplify callers accordingly.
934 (byte-compile-lambda): Use `assert'.
935 (byte-compile-defun, byte-compile-defmacro): Remove.
936 (byte-compile-file-form-defalias):
937 Use byte-compile-file-form-defmumble.
938 (byte-compile-defalias-warn): Remove.
939
6d3f7c2f
SM
9402012-05-29 Stefan Merten <smerten@oekonux.de>
941
942 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 943 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
944
945 (rst-mode-abbrev-table): Merge definition.
946 (rst-mode): Make sure `font-lock-defaults' is buffer local.
947 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
948
6dbaa1c7
UJ
9492012-05-29 Ulf Jasper <ulf.jasper@web.de>
950
951 * calendar/icalendar.el
952 (icalendar-export-region): Export UID properly.
953
9542012-05-29 Leo <sdl.web@gmail.com>
61b108cc
SM
955 * calendar/icalendar.el (icalendar-import-format):
956 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
957 (icalendar-import-format-uid): New.
958 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
959 Export UID.
960
6876a58d
SM
9612012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
964 different alternative patterns.
965 (pcase-codegen): Be more careful to preserve identity.
966 (pcase--u1): Don't forget to mark vars as used.
967
968 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
969 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
970 (byte-compile-from-buffer): ...rather than here.
971
972 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
973 functions from byte-compile-function-environment.
974
46b7967e
TN
9752012-05-29 Troels Nielsen <bn.troels@gmail.com>
976
977 * window.el (window-deletable-p): Avoid deleting the root window
978 of a frame with an active minibuffer.
979
69d565e2
MR
9802012-05-29 Martin Rudalics <rudalics@gmx.at>
981
982 * simple.el (choose-completion): Use quit-window (Bug#11567).
983
a149fa51
CY
9842012-05-29 Chong Yidong <cyd@gnu.org>
985
986 * whitespace.el (whitespace-cleanup): Fix usage of
987 whitespace-empty-at-bob-regexp (Bug#11492).
988
2b311310
AH
9892012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
990
991 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
992 revert (Bug#11488).
993
b9cb2387
JL
9942012-05-29 Juri Linkov <juri@jurta.org>
995
996 * isearch.el (isearch-mode-map): Bind `M-s _' to
997 `isearch-toggle-symbol'. Bind `M-s c' to
998 `isearch-toggle-case-fold'.
999 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
1000 (isearch-forward): Add `M-s _' to the docstring.
1001 (isearch-forward-symbol, isearch-toggle-case-fold)
1002 (isearch-symbol-regexp): New functions. (Bug#11381)
1003
d5e61c1c
JL
10042012-05-29 Juri Linkov <juri@jurta.org>
1005
1006 * isearch.el (isearch-word): Add docstring. (Bug#11381)
1007 (isearch-occur, isearch-search-and-update): If `isearch-word' is
1008 a function, call it to get the regexp.
1009 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
1010 property `isearch-message-prefix' instead of the string "word ".
1011 (isearch-search-fun-default): For the case of `isearch-word',
1012 return a lambda that calls re-search-forward/re-search-backward
1013 with a regexp returned by `word-search-regexp' or by the function
1014 in `isearch-word'.
1015
8cbd80f7
JL
10162012-05-29 Juri Linkov <juri@jurta.org>
1017
1018 * isearch.el (isearch-search-fun-default): New function.
1019 (isearch-search-fun): Move default part to the new function
1020 `isearch-search-fun-default'.
1021 (isearch-search-fun-function): Set the default value to
1022 `isearch-search-fun-default'. (Bug#11381)
1023
1024 * comint.el (comint-history-isearch-end):
1025 Use `isearch-search-fun-default'.
1026 (comint-history-isearch-search): Use `isearch-search-fun-default'
1027 and remove spacial case for `isearch-word'.
1028 (comint-history-isearch-wrap): Remove spacial case for
1029 `isearch-word'.
1030
1031 * hexl.el (hexl-isearch-search-function):
1032 Use `isearch-search-fun-default'.
1033
1034 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
1035 Use `word-search-regexp' for `isearch-word'.
1036
1037 * misearch.el (multi-isearch-search-fun):
1038 Use `isearch-search-fun-default'.
1039
1040 * simple.el (minibuffer-history-isearch-search):
1041 Use `isearch-search-fun-default' and remove spacial case for
1042 `isearch-word'.
1043 (minibuffer-history-isearch-wrap): Remove spacial case for
1044 `isearch-word'.
1045
1046 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
1047 Remove spacial case for `isearch-word'.
1048 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
1049
85c8c5b6
AM
10502012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1051
1052 Decrease XEmacs incompatibilities.
1053 * textmodes/flyspell.el (flyspell-check-pre-word-p):
1054 Use `string-match'.
1055 (flyspell-delete-region-overlays): Use alternative definition for
1056 XEmacs.
1057 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
1058 (flyspell-word): Use `process-kill-without-query' if XEmacs.
1059 (flyspell-mode-on): Use `interactive-p' if XEmacs.
1060 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
1061 `define-obsolete-face-alias' under XEmacs, but old method.
1062
1063 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
1064 `with-no-warnings' definition or Emacs alias.
1065 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
1066 (ispell-word): Do not use `region-p' if XEmacs.
1067
8cab9efc
AM
10682012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1069
1070 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
1071 Check for `ispell-dictionary-base-alist' instead of full
1072 `ispell-dictionary-alist'.
1073 (ispell-init-process): Show spellchecker when starting new Ispell
1074 process.
1075
fda91268
RZ
10762012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1077
1078 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
1079 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
1080
694ea8e3
JB
10812012-05-27 Juanma Barranquero <lekktu@gmail.com>
1082
1083 * version.el (motif-version-string, gtk-version-string)
1084 (ns-version-string): Declare.
1085
e4d4f539
JL
10862012-05-27 Juri Linkov <juri@jurta.org>
1087
1088 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
1089 after the `eval-defun-1' specialcaseing
1090 like in `edebug-eval-defun' (bug#10181).
1091
1092 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
1093 like in `eval-defun-1'.
1094
33017faf 10952012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 1096
fda91268
RZ
1097 * mail/sendmail.el (mail-yank-region):
1098 Recognize rmail-yank-current-message in addition to insert-buffer.
1099 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
1100 a *mail* buffer created through rmail-start-mail with sendmail as
1101 mail-user-agent.
1102
33017faf
GM
11032012-05-27 Chong Yidong <cyd@gnu.org>
1104
1105 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
1106 Default to 256 (Bug#11267).
1107
1108 * help.el (describe-mode): Doc fix.
1109
04188bb9
GM
11102012-05-26 Glenn Morris <rgm@gnu.org>
1111
38264cc9
GM
1112 * w32-fns.el (w32-init-info): Remove.
1113 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
1114
eb7afdad
GM
1115 * info.el (info-initialize): For self-contained NS builds, put the
1116 included info/ directory at the front. (Bug#2791)
1117
04188bb9
GM
1118 * paths.el (Info-default-directory-list): Make it a defcustom,
1119 mainly so that we can use custom-initialize-delay.
1120
a179e3f7
SM
11212012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1122
43416392
SM
1123 * subr.el (buffer-has-markers-at): Mark obsolete.
1124
a179e3f7 1125 * subr.el (lambda): Use declare.
43416392 1126
a179e3f7
SM
1127 * emacs-lisp/lisp-mode.el (lambda):
1128 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
1129
34a008d9
AH
11302012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1131
1132 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
1133
0a3b289f
GM
11342012-05-26 Glenn Morris <rgm@gnu.org>
1135
1136 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
1137
758c81e8
GM
11382012-05-25 Glenn Morris <rgm@gnu.org>
1139
f9f334f0
GM
1140 * paths.el: Remove no-byte-compile.
1141 * loadup.el: No need to load paths.el uncompiled.
1142
87eb79c2
GM
1143 * image.el (imagemagick-types-inhibit): Doc fix.
1144
758c81e8
GM
1145 * version.el: Remove no-byte-compile and associated formatting.
1146 * loadup.el: No need to load version.el uncompiled. AFAICS, this
1147 is ancient code from when there was an "inc-vers.el".
1148
e7e85dc0
SM
11492012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
1150
1151 * progmodes/gdb-mi.el: Minor style changes.
1152 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
1153 Turn into minor modes.
1154 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
1155 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
1156 (gdb-shell): Remove unneeded let-binding.
1157 (gdb-get-many-fields): Eliminate O(n²) behavior.
1158
f31237a4
EZ
11592012-05-25 Eli Zaretskii <eliz@gnu.org>
1160
1161 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
1162 platforms that don't link in fontset.c.
1163
bc1b21bb
JL
11642012-05-25 Juri Linkov <juri@jurta.org>
1165
1166 Use the same diff color scheme as in modern VCSes (bug#10181).
1167
1168 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
1169 to avoid confusion with `diff-added' that now uses green colors.
1170 (diff-removed): Use shades of red.
1171 (diff-added): Use shades of green.
1172 (diff-changed): Leave just the yellow color.
1173 (diff-use-changed-face): New variable.
1174 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
1175 how to highlight context diff changes.
1176 (diff-refine-change): Use shades of yellow.
1177 (diff-refine-removed): New face that uses shades of red.
1178 (diff-refine-added): New face that uses shades of green.
1179 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
1180 `diff-refine-removed' in the call to `smerge-refine-subst'
1181 depending on the value of `diff-use-changed-face'.
1182
1183 * vc/smerge-mode.el (smerge-mine): Use shades of red.
1184 (smerge-other): Use shades of green.
1185 (smerge-base): Use shades of yellow.
1186 (smerge-refined-change): Empty face.
1187 (smerge-refined-removed): New face that uses shades of red.
1188 (smerge-refined-added): New face that uses shades of green.
1189 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
1190 args `props-r' and `props-a', and use them. Doc fix.
1191 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
1192 on its value use different faces `smerge-refined-change',
1193 `smerge-refined-removed', `smerge-refined-added' in the call to
1194 `smerge-refine-subst'.
1195
1196 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
1197 Add face condition `min-colors 88' with shades of red.
1198 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
1199 `min-colors 88' with shades of green.
1200 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
1201 `min-colors 88' with shades of yellow.
1202
6df9112c
GM
12032012-05-24 Glenn Morris <rgm@gnu.org>
1204
ead5edc0
GM
1205 * paths.el (prune-directory-list, remote-shell-program): Move to...
1206 * files.el (prune-directory-list, remote-shell-program): ...here.
1207 For the latter, delay initialization, prefer ssh, just search PATH.
1208
f18b81e6
GM
1209 * paths.el (term-file-prefix): Move to faces.el (the only user).
1210 * faces.el (term-file-prefix): Move here, make it a defcustom.
1211
ee2f89a6
GM
1212 * paths.el (news-directory, news-path, news-inews-program):
1213 Move to gnus/nnspool.el.
61a583ca 1214
f8815e4c
GM
1215 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
1216
c8f3b42c
GM
1217 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
1218 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
1219 Make the latter a defcustom, with a delayed initialization.
1220
6df9112c
GM
1221 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
1222 These were deleted from Gnus itself late 2010.
1223
5dadff36
JB
12242012-05-22 Juanma Barranquero <lekktu@gmail.com>
1225
9e1701c6
JB
1226 * progmodes/which-func.el (which-func-ff-hook):
1227 Check against user-error, not error.
1228
bd7239f5 1229 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
1230 cl-specs.el, which no longer exists.
1231
3290526d
GM
12322012-05-22 Glenn Morris <rgm@gnu.org>
1233
1234 * info.el (info-emacs-bug): New command.
1235 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
1236 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
1237
ff0c3cfb
GM
12382012-05-21 Glenn Morris <rgm@gnu.org>
1239
1240 * makefile.w32-in (update-subdirs-SH):
1241 * Makefile.in (update-subdirs): Update for moved update-subdirs.
1242
5814f126
SM
12432012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
1244
a52c0aa0
SM
1245 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
1246
5814f126
SM
1247 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1248 Simplify Maven regexp, and make sure the file can't start with a space
1249 (bug#11517).
1250
b847032c
GM
12512012-05-21 Glenn Morris <rgm@gnu.org>
1252
1253 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1254 Scrap superfluous subshells.
1255
3858bfe7
SM
12562012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
1257
1258 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
1259 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
1260
d14b0029
JB
12612012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
1262
1263 * calc/calc.el (calc-ensure-consistent-units): New variable.
1264
a52c0aa0
SM
1265 * calc/calc-units.el (math-consistent-units-p)
1266 (math-check-unit-consistency): New functions.
1267 (calc-quick-units, calc-convert-units):
1268 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
1269 is non-nil.
d14b0029
JB
1270 (calc-extract-units): Fix typo.
1271
60c4db3a
SM
12722012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1273
77f3b62e
SM
1274 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
1275
60c4db3a
SM
1276 * textmodes/flyspell.el: Commenting style, plus code simplifications.
1277 (flyspell-default-deplacement-commands): Don't spell check after
1278 repeated window/frame switches (e.g. triggered by mouse-movement).
1279 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
1280 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
1281 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
1282 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
1283 Remove unused vars.
1284 (flyspell-get-casechars, flyspell-get-not-casechars):
1285 Simplify; Don't bother removing a ] just to add it back.
1286 * textmodes/ispell.el (ispell-program-name): Use executable-find.
1287
b1a10716
RS
12882012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1289
1290 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
1291 New functions.
bd7239f5 1292 (math-function-table): Add support for more C functions.
b1a10716 1293
3f1b25b5
AM
12942012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1295
1296 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1297 (flyspell-debug-signal-word-checked): Protect delay handling for
1298 otherchars against empty otherchars.
1299
b581bb5c
SM
13002012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1301
1302 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
1303 their respective macro declarations.
1304 * skeleton.el (define-skeleton):
1305 * progmodes/compile.el (define-compilation-mode):
1306 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
1307 (define-ibuffer-filter):
1308 * emacs-lisp/generic.el (define-generic-mode):
1309 * emacs-lisp/easy-mmode.el (define-minor-mode)
1310 (define-globalized-minor-mode):
1311 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
1312 * emacs-lisp/byte-run.el (defsubst):
1313 * custom.el (deftheme): Add doc-string metadata.
1314
70b8ef8f
SM
13152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
1318
b1198e17
SM
13192012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1320
9abdc45d
SM
1321 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
1322
b1198e17
SM
1323 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
1324 * emacs-lisp/cl-macs.el: Idem.
1325 * emacs-lisp/cl-specs.el: Remove.
1326
4735906a
SM
13272012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1328
1329 Minor renaming of internal CL functions and variables.
1330 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
1331 (cl--position): Rename from cl-position.
1332 (cl--delete-duplicates): Rename from cl-delete-duplicates.
1333 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
1334 (cl--random-state): Rename from *random-state*.
1335
ac348012
SM
13362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
1337
1338 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
1339 parens around the arg list (bug#11499).
1340
a0a79cde
JL
13412012-05-17 Juri Linkov <juri@jurta.org>
1342
1343 * isearch.el (word-search-regexp, word-search-backward)
1344 (word-search-forward, word-search-backward-lax)
1345 (word-search-forward-lax): Move functions from search.c
1346 (bug#10145, bug#11381).
1347
65034a51
AM
13482012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1349
1350 * flyspell.el (flyspell-check-pre-word-p, flyspell-check-word-p)
1351 (flyspell-debug-signal-word-checked): Delay for otherchars as for
1352 normal word components.
1353
1a72a195
SM
13542012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
1355
1356 * minibuffer.el (completion--sifn-requote): Fix last change.
1357 (minibuffer-local-must-match-filename-map):
1358 Move define-obsolete-variable-alias before its var.
1359
fdb058c2
SM
13602012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
1361
c41045e6
SM
1362 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
1363
036dfb8b
SM
1364 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
1365 behavior.
1366 (completion--string-equal-p): New function.
1367 (completion--twq-all): Use it to get better assertion failure data.
1368
2473256d
SM
1369 Only handle ".." and '..' quoting in shell-mode (bug#11466).
1370 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
1371 (shell--requote-argument): New functions.
1372 (shell-completion-vars): Use them.
1373 (shell--parse-pcomplete-arguments): Rename from
1374 shell-parse-pcomplete-arguments.
1375 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
1376 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
1377 Obey comint-file-name-quote-list.
1378
fdb058c2
SM
1379 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
1380 (smie-indent-keyword): Use it.
1381
51fa99f1
SM
13822012-05-14 Stefan Merten <smerten@oekonux.de>
1383
1384 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
1385
e18afed7 13862012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
1387
1388 * net/rlogin.el (rlogin-mode-map): Fix last change.
1389
e18afed7 13902012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
1391
1392 * mail/smtpmail.el (smtpmail-send-command): Send the command and
1393 the following \r\n using a single `process-send-string', since the
1394 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 1395 with two `process-send-string's (Bug#11444).
8633b1f4 1396
e18afed7 13972012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 1398
fdb058c2
SM
1399 * shell.el (shell-parse-pcomplete-arguments):
1400 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 1401
2d21d7f6
WJ
14022012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1403
e18afed7 1404 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
1405 (image-transform-scale, image-transform-right-angle-fudge): New vars.
1406 (image-transform-width, image-transform-fit-width): New functions.
1407 (image-transform-properties): Use them.
1408 (image-transform-check-size): New function.
1409 (image-toggle-display-image): Use it (for testing).
1410 (image-transform-set-rotation): Reduce angle mod 360.
1411 Delete obsolete comment.
1412
7102e6d0
WJ
14132012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
1414
1415 * image-mode.el: Fix scaling (bug#11399).
1416 (image-transform-resize): Doc fix.
1417 (image-transform-properties): Default scale is 1 and height should
1418 be an integer.
1419
06bc5e6e
SM
14202012-05-13 Johan Bockgård <bojohan@gnu.org>
1421
1422 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
1423 than hard-coding `car', to fix misbehavior when moving forward.
1424
0ae03b6a
CY
14252012-05-13 Chong Yidong <cyd@gnu.org>
1426
1427 * emacs-lisp/tabulated-list.el (tabulated-list-format)
1428 (tabulated-list-entries, tabulated-list-padding)
1429 (tabulated-list-sort-key): Make permanent-local.
1430
1431 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
1432 (electric-buffer-list): Put electric buffer menu
1433 command descriptions in this docstring, instead of the docstring
1434 of electric-buffer-menu-mode. Code cleanups.
1435 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
1436 Electric-buffer-menu-mode.
1437 (electric-buffer-update-highlight): Minor code cleanup.
1438
205a7391
MA
14392012-05-13 Michael Albinus <michael.albinus@gmx.de>
1440
1441 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
1442 (Bug#11447)
1443
e5bd0a28
SM
14442012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1445
1446 Move define-obsolete-variable-alias before the var's definition.
1447 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
1448 * tooltip.el (tooltip-hook):
1449 * textmodes/reftex-toc.el (reftex-toc-map):
1450 * textmodes/reftex-sel.el (reftex-select-label-map)
1451 (reftex-select-bib-map):
1452 * textmodes/reftex-index.el (reftex-index-map)
1453 (reftex-index-phrases-map):
1454 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
1455 * progmodes/meta-mode.el (meta-mode-map):
1456 * novice.el (disabled-command-hook):
1457 * loadhist.el (unload-hook-features-list):
1458 * frame.el (blink-cursor):
1459 * files.el (find-file-not-found-hooks, write-file-hooks)
1460 (write-contents-hooks):
1461 * emulation/tpu-edt.el (GOLD-map):
1462 * emacs-lock.el (emacs-lock-from-exiting):
1463 * emacs-lisp/generic.el (generic-font-lock-defaults):
1464 * emacs-lisp/chart.el (chart-map):
1465 * dos-fns.el (register-name-alist):
1466 * dired-x.el (dired-omit-files-p):
1467 * desktop.el (desktop-enable):
1468 * cus-edit.el (custom-mode-hook):
1469 * buff-menu.el (buffer-menu-mode-hook):
1470 * bookmark.el (bookmark-read-annotation-text-func)
1471 (bookmark-exit-hooks):
1472 * allout.el (allout-mode-deactivate-hook)
1473 (allout-exposure-change-hook, allout-structure-added-hook)
1474 (allout-structure-deleted-hook, allout-structure-shifted-hook):
1475 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
1476 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
1477 comes before the corresponding variable's definition.
1478
ac59c2f6
CY
14792012-05-12 Chong Yidong <cyd@gnu.org>
1480
1481 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
1482 (Buffer-menu-mouse-select): Restore function (Bug#11459).
1483 (Buffer-menu-mode-map): Bind it.
1484 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 1485
dee6c9a3
SM
14862012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1487
2171cea5
SM
1488 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
1489 (prolog-upper-case-string, prolog-lower-case-string)
1490 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
1491 (prolog-use-smie, prolog-smie-grammar): New vars.
1492 (prolog-smie-forward-token, prolog-smie-backward-token)
1493 (prolog-smie-rules): New funs.
1494 (prolog-comment-indent): Remove.
1495 (prolog-mode-variables): Use default comment indentation instead.
1496 Setup SMIE.
1497 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
1498 (prolog-mode): Don't call them any more.
1499 (prolog-electric-colon, prolog-electric-dash)
1500 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
1501
aa0382bd
SM
1502 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
1503
dbacb4bd
SM
1504 * minibuffer.el (completion--twq-all): Again, allow case differences.
1505
13bdd94c
SM
1506 * term.el: Move keymap initialization code to be more idiomatic.
1507 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
1508 (term-terminal-menu): Move initialization into declaration.
1509 (term-escape-char): Let the user set it in her .emacs.
1510
ff46c759
SM
1511 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
1512 Provide SMIE-based indentation (not enabled by default yet).
1513 (sh-mode-map): Don't bind electric keys.
1514 Use electric-pair-mode instead of skeleton-pair.
1515 (sh-assignment-regexp): Fit within 80 columns.
1516 (sh-indent-supported): Specify actual shell name instead of boolean.
1517 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
1518 (sh-maybe-here-document): Use it. Make obsolete.
1519 (sh-electric-here-document-mode) New minor mode.
1520 (sh-mode): Use it. Don't set sh-indent-supported-here here.
1521 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
1522 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
1523 (sh-smie-rc-grammar, sh-use-smie): New vars.
1524 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
1525 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
1526 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
1527 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
1528 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
1529 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
1530 (sh-set-shell): Use smie-setup if requested.
1531
dee6c9a3
SM
1532 * term.el (term-set-escape-char): Properly set term-escape-char.
1533 See http://stackoverflow.com/questions/10524656.
1534
9f9aa044
CY
15352012-05-10 Chong Yidong <cyd@gnu.org>
1536
1537 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
1538 Use url-generic-parse-url, and handle host names and Windows
1539 filenames properly.
1540 (ffap-url-unwrap-remote): Use url-generic-parse-url.
1541 (ffap-url-unwrap-remote): Accept list values, specifying a list of
1542 URL schemes to work on.
1543 (ffap--toggle-read-only): New function.
1544 (ffap-read-only, ffap-read-only-other-window)
1545 (ffap-read-only-other-frame): Use it.
1546 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
1547 necessary for ffap-url-unwrap-remote.
1548
836d29b3
DA
15492012-05-10 Dave Abrahams <dave@boostpro.com>
1550
1551 * cus-start.el (create-lockfiles): Add it.
1552
00fd78ed
CY
15532012-05-09 Chong Yidong <cyd@gnu.org>
1554
1555 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
1556 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
1557
666b903b 15582012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
1559
1560 * shell.el (shell-completion-vars): Fix last change (bug#11348).
1561
666b903b 15622012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
1563
1564 * ansi-color.el (ansi-color-process-output): Check for validity of
1565 comint-last-output-start before using it. This avoids a bad
1566 interaction with gdb-mi's input/output buffer.
1567
666b903b 15682012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
1569
1570 * files.el (dir-locals-read-from-file):
1571 Mention dir-locals in any error message.
1572
666b903b 15732012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
1574
1575 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
1576 package (Bug#11410).
1577
f677562b
CY
1578 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
1579 variables into description.
1580
666b903b 15812012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
1582
1583 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
1584 shell-delimiter-argument-list (bug#11348).
1585 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
1586
b499d8d0
JB
15872012-05-09 Juanma Barranquero <lekktu@gmail.com>
1588
8f6b6da8
JB
1589 * textmodes/rst.el: Silence byte-compiler warnings.
1590 (rst-re-alist, rst-reset-section-caches): Move around.
1591 (rst-re): Use `characterp', not `char-valid-p'.
1592 (font-lock-beg, font-lock-end): Declare.
1593
4824146a
JB
1594 * progmodes/idlw-shell.el (specs): Remove reference to deleted
1595 variable `idlwave-shell-activate-alt-keybindings' and simplify.
1596
b499d8d0
JB
1597 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
1598
ad89bb83
GM
15992012-05-08 Glenn Morris <rgm@gnu.org>
1600
1601 * files.el (auto-mode-alist): Treat ".make" like ".mk".
1602
8bba5a75
SM
16032012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1604
49ed9c8e
SM
1605 * vc/log-edit.el: Add GNU coding standards highlighting.
1606 (log-edit-font-lock-gnu-style)
1607 (log-edit-font-lock-gnu-keywords): New vars.
1608 (log-edit-font-lock-keywords): New fun.
1609 (log-edit-mode): Don't fold case in font-lock.
1610 (log-edit-font-lock-keywords): Do not assume case-folding.
1611
07d00b56
SM
1612 * imenu.el: Misc cleanup. Make docstrings out of comments.
1613 Use lexical-binding.
1614 (imenu--index-alist, imenu--last-menubar-index-alist)
1615 (imenu-menubar-modified-tick): Use defvar-local.
1616 (imenu--split-menu): Remove unused var.
1617 (imenu--cleanup-seen): Declare as global.
1618 (imenu--cleanup): Use dolist.
1619
8bba5a75
SM
1620 * subr.el (defvar-local): Add debug spec and doc-string position.
1621
5075bdb5
GM
16222012-05-08 Glenn Morris <rgm@gnu.org>
1623
c052c904
GM
1624 * lisp/language/burmese.el, language/cham.el, language/czech.el:
1625 * language/english.el, language/georgian.el, language/greek.el:
1626 * language/japanese.el, language/khmer.el, language/korean.el:
1627 * language/lao.el, language/misc-lang.el, language/romanian.el:
1628 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
1629 * language/thai.el, language/utf-8-lang.el:
1630 Remove no-byte-compile setting.
1631
5075bdb5
GM
1632 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
1633
06f679a7
AH
16342012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1635
1636 * progmodes/make-mode.el (makefile-browse):
1637 Remove unnecessary interactive. (Bug#11324)
1638
03794570
GM
16392012-05-07 Glenn Morris <rgm@gnu.org>
1640
af8630f4
GM
1641 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
1642
03794570
GM
1643 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
1644
f0809a9d
SM
16452012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
1646
28be5ce7
SM
1647 * loadup.el: Preload newcomment.el.
1648 * newcomment.el: Move autoload-only code to toplevel.
1649
f0809a9d
SM
1650 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
1651 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
1652 Handle new :right-align column property.
1653 (tabulated-list-print-col): Idem, plus use `display' text-property to
1654 try and preserve alignment for variable pitch fonts.
1655
1241b724
CY
16562012-05-07 Chong Yidong <cyd@gnu.org>
1657
1658 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
1659 (tabulated-list-use-header-line): New var.
1660 (tabulated-list-init-header): Use it.
1661 (tabulated-list-print-fake-header): New function.
1662 (tabulated-list-print): Use it.
1663 (tabulated-list-sort-button-map): Add non-header-line commands.
1664 (tabulated-list-init-header): Add column name property to basic
1665 labels as well.
1666 (tabulated-list-col-sort): Handle non-header-line button case.
1667 (tabulated-list--sort-by-column-name): Fix a corner case.
1668
f0809a9d
SM
1669 * buff-menu.el (list-buffers--refresh):
1670 Handle Buffer-menu-use-header-line.
1241b724 1671
e5f9458f
CY
16722012-05-06 Chong Yidong <cyd@gnu.org>
1673
1674 * buff-menu.el: Convert to Tabulated List mode.
1675 (Buffer-menu-buffer+size-width): Make obsolete.
1676 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
1677 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
1678 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
1679 documentation into docstring of buffer-menu.
1680 (Buffer-menu-toggle-files-only): Add an informative message.
1681 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
1682 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
1683 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
1684 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
1685 (Buffer-menu-execute, Buffer-menu-select)
1686 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
1687 (Buffer-menu-bury): Use Tabulated List machinery.
1688 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
1689 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 1690 Delete.
e5f9458f
CY
1691 (list-buffers--refresh): New function.
1692 (list-buffers-noselect): Use it.
1693 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
1694 (Buffer-menu--pretty-file-name): New helper functions.
1695
1696 * loadup.el: Preload tabulated-list.
1697
1698 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
1699 tabulated-list-sort-column.
1700 (tabulated-list-init-header): Add the initial aligning space even
1701 if tabulated-list-padding is zero.
1702
e129292c
CS
17032012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
1704
1705 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
1706 whose cdr is not a cons cell correctly (bug#11038).
1707
6632d361
CY
17082012-05-06 Chong Yidong <cyd@gnu.org>
1709
e129292c
CS
1710 * emacs-lisp/tabulated-list.el (tabulated-list-format):
1711 Accept additional plist in column descriptors.
6632d361
CY
1712 (tabulated-list-init-header): Obey it.
1713 (tabulated-list-get-entry): New function.
1714 (tabulated-list-put-tag): Use it. Use string-width instead of
1715 length.
1716 (tabulated-list--column-number): New function.
1717 (tabulated-list-print): Use it.
e129292c
CS
1718 (tabulated-list-print-col): New function.
1719 Set `tabulated-list-column-name' property on each column's text.
6632d361 1720 (tabulated-list-print-entry): Use it.
e129292c
CS
1721 (tabulated-list-delete-entry, tabulated-list-set-col):
1722 New functions.
6632d361
CY
1723 (tabulated-list-sort-column): New command (Bug#11337).
1724
3cc99f68
CY
1725 * buff-menu.el (list-buffers): Move C-x C-b binding from
1726 buff-menu.el to bindings.el.
1727
1728 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
1729 :advertised-binding feature.
1730
52b61776
TN
17312012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
1732
1733 * progmodes/compile.el (compilation-internal-error-properties):
1734 Calculate start position correctly when end-col is set but
1735 end-line is not (Bug#11382).
1736
ebfe2597
WJ
17372012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
1738
1739 * man.el (Man-unindent): Use text-property-default-nonsticky to
1740 prevent untabify from inheriting face properties (Bug#11408).
1741
6d3f7c2f
SM
17422012-05-05 Stefan Merten <smerten@oekonux.de>
1743
1744 * textmodes/rst.el: Major merge with upstream development up to
1745 Docutils SVN r7399 / rst.el V1.2.1.
1746
1747 Clarify maintainership and authors.
1748
1749 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
1750 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
1751 (rst-official-version, rst-official-cvs-rev, rst-version)
1752 (rst-package-emacs-version-alist): New functions and variables
1753 for version information.
1754
1755 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
1756 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
1757 (rst-mode-syntax-table, rst-mode): New and corrected functions
1758 and variables representing reStructuredText features.
1759
1760 (rst-re): New function for reStructuredText regexes. Use in
1761 many places.
1762
1763 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
1764 (rst-mode-map): Rebind keys.
1765
1766 (rst-mode-lazy, rst-font-lock-keywords)
1767 (rst-font-lock-extend-region)
1768 (rst-font-lock-extend-region-internal)
1769 (rst-font-lock-extend-region-extend)
1770 (rst-font-lock-find-unindented-line-limit)
1771 (rst-font-lock-find-unindented-line-match)
1772 (rst-adornment-level, rst-font-lock-adornment-level)
1773 (rst-font-lock-adornment-match)
1774 (rst-font-lock-handle-adornment-pre-match-form)
1775 (rst-font-lock-handle-adornment-matcher): Major revision of
1776 font-locking. Integrate with other code. Use `jit-lock-mode'.
1777
1778 (rst-preferred-adornments, rst-adjust-hook)
1779 (rst-new-adornment-down, rst-preferred-bullets)
1780 (rst-preferred-bullets, rst-indent, rst-indent-width)
1781 (rst-indent-field, rst-indent-literal-normal)
1782 (rst-indent-literal-minimized, rst-indent-comment): Change,
1783 extend and improve customization.
1784
1785 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
1786 (rst-normalize-cursor-position, rst-get-decoration)
1787 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
1788 (rst-rstrip, rst-toc-insert-find-delete-contents)
1789 (rst-shift-fill-region, rst-compute-bullet-tabs)
1790 (rst-debug-print-tabs, rst-debug-mark-found)
1791 (rst-shift-region-guts, rst-shift-region-right)
1792 (rst-shift-region-left, rst-use-char-classes)
1793 (rst-font-lock-keywords-function)
1794 (rst-font-lock-indentation-point)
1795 (rst-font-lock-find-unindented-line-begin)
1796 (rst-font-lock-find-unindented-line-end)
1797 (rst-font-lock-find-unindented-line)
1798 (rst-font-lock-adornment-point, rst-font-lock-level)
1799 (rst-adornment-level-alist): Remove functions and variables.
1800
1801 (rst-compare-adornments, rst-get-adornment-match)
1802 (rst-suggest-new-adornment, rst-get-adornments-around)
1803 (rst-adornment-complete-p, rst-get-next-adornment)
1804 (rst-adjust-adornment, rst-display-adornments-hierarchy)
1805 (rst-straighten-adornments): Standardize function names to
1806 use "adornment" instead of "decoration". Correct callers.
1807 Similar standardizing in many places.
1808
1809 (rst-update-section, rst-adjust, rst-promote-region)
1810 (rst-enumerate-region, rst-bullet-list-region)
1811 (rst-repeat-last-character): Correct use of `interactive'.
1812
1813 (rst-classify-adornment, rst-find-all-adornments)
1814 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
1815 (rst-find-leftmost-column, rst-repeat-last-character):
1816 Refactor functions.
1817
1818 (rst-find-title-line, rst-reset-section-caches)
1819 (rst-get-adornments-around, rst-adjust-adornment-work)
1820 (rst-arabic-to-roman, rst-roman-to-arabic)
1821 (rst-insert-list-pos, rst-insert-list-new-item)
1822 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
1823 New functions.
1824
1825 (rst-all-sections, rst-section-hierarchy)
1826 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
1827 New variables.
1828
1829 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
1830 configuration instead of only buffer. Change where necessary.
1831
1832 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
1833 (rst-shift-region, rst-adaptive-fill): New functions for
1834 indentation and filling.
1835
1836 (rst-comment-line-break, rst-comment-indent)
1837 (rst-comment-insert-comment, rst-comment-region)
1838 (rst-uncomment-region): New functions for handling comments.
1839
1840 (rst-compile): Quote shell arguments.
1841
1842 (rst-compile-pdf-preview, rst-compile-slides-preview):
1843 Delete temporary files after use.
1844
a43f98b3
GM
18452012-05-05 Glenn Morris <rgm@gnu.org>
1846
48176e8b
GM
1847 * calendar/cal-html.el: Optionally include holidays in the output.
1848 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
1849 (cal-html-holidays): New option.
1850 (cal-html-css-default): Add holiday entry.
1851 (holiday-in-range): Autoload it.
1852 (cal-html-htmlify-entry): Add optional class argument.
1853 (cal-html-htmlify-list): Add optional holidays argument.
1854 (cal-html-insert-agenda-days): Include holidays in the output.
1855 (cal-html-one-month): Maybe include holidays.
1856
a43f98b3
GM
1857 * calendar/holidays.el (holiday-in-range):
1858 Move here from cal-tex-list-holidays.
1859 * calendar/cal-tex.el (cal-tex-list-holidays):
1860 Make it an obsolete alias for holiday-in-range. Update all callers.
1861
fef9d149 18622012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
1863
1864 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
1865 Nextstep.
1866
248da2f4
RW
18672012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
1868
1869 * files.el (file-auto-mode-skip): New var.
1870 (set-auto-mode-1): Use it.
1871
f95e9344
SM
18722012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1873
df96ab1e
SM
1874 * repeat.el: Use lexical-binding.
1875 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
1876 (repeat-undo-count): Remove.
1877 (repeat):
1878 * progmodes/octave-mod.el (octave-abbrev-start):
1879 * progmodes/f90.el (f90-abbrev-start):
1880 * face-remap.el (text-scale-adjust):
1881 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
1882
5342bb06
SM
1883 * emacs-lisp/pcase.el (pcase--let*): New function.
1884 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
1885 a bit more.
1886 (pcase--split-pred): Be more clever about ruling out overlap between
1887 a predicate and some constant pattern.
1888 (pcase--q1): Use `null' instead of (eq foo nil).
1889
f95e9344
SM
1890 * subr.el (setq-local, defvar-local): New macros.
1891 (kbd): Redefine as an alias.
1892 (with-selected-window): Leave unrelated frames alone.
1893 (set-temporary-overlay-map): New function.
1894
71873e2b
SM
18952012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1896
1897 * subr.el (user-error): New function.
1898 * window.el (switch-to-buffer):
1899 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
1900 (smerge-match-conflict):
1901 * simple.el (previous-matching-history-element)
1902 (next-matching-history-element, goto-history-element, undo-more)
1903 (undo-start):
1904 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
1905 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
1906 (next-file, tags-loop-scan, list-tags, complete-tag):
1907 * progmodes/compile.el (compilation-loop):
1908 * mouse.el (mouse-minibuffer-check):
1909 * man.el (Man-bgproc-sentinel, Man-goto-page):
1910 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
1911 (Info-history-forward, Info-follow-reference, Info-menu)
1912 (Info-extract-menu-item, Info-extract-menu-counting)
1913 (Info-forward-node, Info-backward-node, Info-next-menu-item)
1914 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
1915 (Info-next-reference, Info-prev-reference, Info-index)
1916 (Info-index-next, Info-follow-nearest-node)
1917 (Info-copy-current-node-name):
1918 * imenu.el (imenu--make-index-alist)
1919 (imenu-default-create-index-function, imenu-add-to-menubar):
1920 * files.el (basic-save-buffer, recover-file):
1921 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
1922 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
1923 (checkdoc-message-text, checkdoc-defun):
1924 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
1925 * cus-edit.el (customize-changed-options, customize-rogue)
1926 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
1927 (custom-variable-mark-to-reset-standard)
1928 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
1929 (custom-file):
1930 * completion.el (check-completion-length):
1931 * comint.el (comint-search-arg)
1932 (comint-previous-matching-input-string-position)
1933 (comint-previous-matching-input)
1934 (comint-replace-by-expanded-history-before-point, comint-send-input)
1935 (comint-copy-old-input, comint-backward-matching-input)
1936 (comint-goto-process-mark, comint-set-process-mark):
1937 * calendar/calendar.el (calendar-cursor-to-date): Use it.
1938 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
1939
8a61ee22
SM
19402012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1941
66408d1e
SM
1942 * dabbrev.el (dabbrev--ignore-case-p): New function.
1943 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
1944 Use it.
1945
8a61ee22
SM
1946 * files.el (automount-dir-prefix): Mark as obsolete.
1947
3c74813a
GM
19482012-05-04 Glenn Morris <rgm@gnu.org>
1949
1950 * patcomp.el, play/bruce.el: Move to obsolete/.
1951
0bfcf5c5
PE
19522012-05-04 Paul Eggert <eggert@cs.ucla.edu>
1953
1954 Fix minor Y10k bugs.
1955 * arc-mode.el (archive-unixdate):
1956 * autoinsert.el (auto-insert-alist):
1957 * calc/calc-forms.el (math-this-year):
1958 * emacs-lisp/copyright.el (copyright-current-year)
1959 (copyright-update-year, copyright):
1960 * tar-mode.el (tar-clip-time-string):
1961 * time.el (display-time-update):
1962 Don't assume years have 4 digits.
1963
78f3273a
CY
19642012-05-04 Chong Yidong <cyd@gnu.org>
1965
1966 * dos-w32.el (file-name-buffer-file-type-alist)
1967 (direct-print-region-use-command-dot-com):
1968 * ffap.el (ffap-menu-regexp):
1969 * find-file.el (ff-special-constructs):
1970 * follow.el (follow-debug):
1971 * forms.el (forms--debug):
1972 * iswitchb.el (iswitchb-all-frames):
1973 * ido.el (ido-all-frames):
1974 * emacs-lisp/timer.el (timer-max-repeats):
1975 * mail/feedmail.el (feedmail-mail-send-hook)
1976 (feedmail-mail-send-hook-queued):
1977 * mail/footnote.el (footnote-signature-separator):
1978 * mail/mailabbrev.el (mail-alias-separator-string)
1979 (mail-abbrev-mode-regexp):
1980 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
1981 * progmodes/idlwave.el (idlwave-libinfo-file)
1982 (idlwave-default-completion-case-is-down)
1983 (idlwave-library-routines): Convert defvars to defcustoms.
1984
1985 * mail/rmail.el (rmail-decode-mime-charset):
1986 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
1987 (idlwave-shell-fix-inserted-breaks)
1988 (idlwave-shell-activate-alt-keybindings)
1989 (idlwave-shell-use-breakpoint-glyph):
1990 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
1991
f7ae6719
SM
19922012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1993
1994 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
1995
47086495
WS
19962012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
1997
1998 * progmodes/verilog-mode.el (font-lock-keywords):
1999 Fix mis-highligting auto. Reported by Craig Barner.
2000 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
2001 defines from global name space. Reported by Dan Dever.
2002 (verilog-auto-reset, verilog-auto-reset-widths)
2003 (verilog-auto-tieoff): Support using unbased numbers for
2004 AUTORESET and AUTOTIEOFF.
2005 (verilog-submit-bug-report): Update variable list.
2006 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
2007 parenthesis from not matching. Reported by Michael Rytting.
2008 (verilog-auto-template-lint): Fix hash error when linting modules
2009 with no used templates.
2010 (verilog-warn, verilog-warn-error)
2011 (verilog-warn-fatal): When non-interactive report multiple
2012 warnings before exiting. Suggested by Brad Dobbie.
2013 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
2014 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
2015 to report unused template errors. Reported by Brad Dobbie.
2016 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
2017 nets, bug438. Reported by Vns Blore.
2018 (verilog-auto-inout-module, verilog-auto-reg)
2019 (verilog-read-decls, verilog-read-sub-decls-sig)
2020 (verilog-signals-edit-wire-reg, verilog-signals-with):
2021 Fix passing of Verilog data types in ANSI input/output ports
2022 such as "output logic" into the AUTOs. Special case "wire" and
2023 "reg" for backwards compatibility presuming Verilog 2001.
2024 (verilog-auto-ascii-enum): Add "auto enum" as alias.
2025 (verilog-preprocess): Fix replication of preprocess output.
2026 Reported by Brad Dobbie.
2027 (verilog-auto-inst-interfaced-ports):
2028 Create verilog-auto-inst-interfaced-ports, bug429.
2029 Reported by Julian Gorfajn.
2030 (verilog-after-save-font-hook)
2031 (verilog-before-save-font-hook): New variable.
2032 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
2033 (verilog-save-font-mods): Wrap disabling fontification, reported
2034 by David Rogoff.
2035 (verilog-do-indent, verilog-pretty-declarations-auto)
2036 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
2037 Reported by Pierre-David Pfister.
2038 (verilog-set-auto-endcomments): Fix endtask auto comments outside
2039 of class declarations, bug292. Reported by Kevin Heilman.
2040 (verilog-read-decls): Fix 'parameter type' not appearing in
2041 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
2042 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
2043 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
2044 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
2045 Reported by David Kravitz.
2046
20472012-05-03 Michael McNamara <mac@mail.brushroad.com>
2048
2049 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
2050 assignment with tests in ifs and for loops.
2051 (verilog-extended-complete-re, verilog-complete-reg): Change so
2052 that DPI inport functions don't look like fuction declarations.
2053 (verilog-pretty-expr): Don't line up assignment
2054 operations to the test and increment in if and for loops
2055 (verilog-extended-complete-re, verilog-complete-reg): Change so
2056 that DPI inport functions don't look like fuction declarations
2057
2e51d4b5
KH
20582012-05-03 Kenichi Handa <handa@m17n.org>
2059
2060 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 2061 decoding, and show a warning message without signaling an error
2e51d4b5
KH
2062 (Bug#11282).
2063
2bd785a2
SM
20642012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
2065
2066 * emacs-lisp/bytecomp.el
2067 (byte-compile-file-form-custom-declare-variable): Compile all elements,
2068 since cconv.el might have introduced :fun-body, internal-make-closure,
2069 and friends for bytecomp to handle (bug#11391).
2070 * custom.el (defcustom): Avoid ((λ ..) ..).
2071
99d27583
SM
20722012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
2073
2074 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
2075
55a71479
JB
20762012-05-02 Juanma Barranquero <lekktu@gmail.com>
2077
2078 * notifications.el (dbus-debug):
2079 * term/linux.el (gpm-mouse-enable):
2080 * term/screen.el (xterm-register-default-colors): Declare.
2081
7b97c764
CY
20822012-05-02 Chong Yidong <cyd@gnu.org>
2083
2bc356d7
CY
2084 * cus-start.el (gc-cons-percentage, exec-suffixes)
2085 (dos-display-scancodes, dos-hyper-key, dos-super-key)
2086 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
2087 (make-cursor-line-fully-visible, void-text-area-pointer)
2088 (font-list-limit): Add customization data.
2089
7b97c764
CY
2090 * allout.el (allout-exposure-change-functions)
2091 (allout-structure-added-functions)
2092 (allout-structure-deleted-functions)
2093 (allout-structure-shifted-functions): Rename abnormal hooks from
2094 *-hook, and convert to defcustoms.
5d3385a0
JB
2095 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
2096 Convert to defcustoms.
7b97c764
CY
2097 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
2098
2099 * allout-widgets.el: Hook callers changed.
2100
90207a15 21012012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
2102
2103 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
2104 the yanked message in preference to the default value of
2105 buffer-file-coding-system.
2106
90207a15 21072012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 2108
5d3385a0
JB
2109 * window.el (display-buffer--action-function-custom-type):
2110 Fix entry.
d9558cad 2111
90207a15 21122012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
2113
2114 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
2115
d80ac57b
GM
21162012-05-01 Glenn Morris <rgm@gnu.org>
2117
976f7668
GM
2118 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
2119
beb83b5a
GM
2120 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
2121
d80ac57b
GM
2122 * cus-edit.el (custom-variable-documentation): Simplify with format.
2123
b593d6a9
AH
21242012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2125 Stefan Monnier <monnier@iro.umontreal.ca>
2126
2127 * simple.el (suggest-key-bindings, execute-extended-command):
2128 Move from keyboard.c.
2129
782fbf2a
CY
21302012-05-01 Chong Yidong <cyd@gnu.org>
2131
2132 * follow.el: Eliminate advice.
2133 (set-process-filter, process-filter, sit-for): Advice deleted.
2134 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
2135 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
2136 Vars deleted.
782fbf2a
CY
2137 (follow-auto): Use a :set function.
2138 (follow-mode): Rewritten. Don't advise process filters.
2139 (follow-switch-to-current-buffer-all, follow-scroll-up)
2140 (follow-scroll-down): Assume follow-mode is bound.
2141 (follow-comint-scroll-to-bottom)
2142 (follow-align-compilation-windows): New functions.
2143 (follow--window-sorter): New function.
2144 (follow-all-followers): Use it to explicitly sort windows by their
2145 positions; don't make assumptions about next-window order.
2146 (follow-windows-start-end, follow-delete-other-windows-and-split)
2147 (follow-calc-win-start): Doc fix.
2148 (follow-windows-aligned-p, follow-select-if-visible): Don't call
2149 vertical-motion unnecessarily.
2150 (follow-adjust-window): New function.
2151 (follow-post-command-hook): Use it.
2152 (follow-call-set-process-filter, follow-call-process-filter)
2153 (follow-intercept-process-output, follow-tidy-process-filter-alist)
2154 (follow-stop-intercept-process-output, follow-generic-filter):
2155 Functions deleted.
2156 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
2157 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
2158 New functions, replacing advice on scroll-bar-* commands.
87233a14 2159 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
2160
2161 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
2162 (comint-postoutput-scroll-to-bottom): Use it.
2163 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 2164
290af740
GM
21652012-05-01 Glenn Morris <rgm@gnu.org>
2166
2167 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
2168 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
2169 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
2170 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
2171 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
2172 Remove no-byte-compile setting.
2173
6eac8dc9
SM
21742012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2175
2176 * minibuffer.el (completion-table-with-quoting): Fix compatibility
2177 all-completions code to not return a number in the last cdr.
2178
9cc7819c
LL
21792012-04-30 Leo Liu <sdl.web@gmail.com>
2180
2181 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
2182 read-only error.
2183
c93b886f
CY
21842012-04-29 Chong Yidong <cyd@gnu.org>
2185
2186 * follow.el (follow-calc-win-end): Rewrite to handle partial
2187 screen lines correctly (Bug#8390).
2188 (follow-avoid-tail-recenter): Minor cleanup.
2189
8b6c19f4
SM
21902012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2191
2192 Avoid the obsolete `assoc' package.
2193 * speedbar.el (speedbar-refresh): Avoid adelete.
2194 (speedbar-file-lists): Simplify and avoid aput.
2195 * man.el (Man--sections, Man--refpages): New vars, replacing
2196 Man-sections-alist and Man-refpages-alist.
2197 (Man-build-section-alist, Man-build-references-alist):
2198 Use them; avoid aput.
2199 (Man--last-section, Man--last-refpage): New vars.
2200 (Man-follow-manual-reference): Use them.
2201 Use the `default' arg of completing-read.
2202 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
2203
c5bb7569
CY
22042012-04-27 Chong Yidong <cyd@gnu.org>
2205
d1d2e2e8
CY
2206 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
2207
15cd8efd
CY
2208 * startup.el (x-apply-session-resources): New function.
2209
2210 * term/ns-win.el (ns-initialize-window-system):
2211 * term/w32-win.el (w32-initialize-window-system):
2212 * term/x-win.el (x-initialize-window-system): Use it to properly
2213 set menu-bar-mode and other vars from X resources, even if the
2214 initial frame is not a window-system frame (Bug#2299).
2215
c5bb7569
CY
2216 * subr.el (read-key): Avoid running filter function when setting
2217 up temporary tool bar entries (Bug#9922).
2218
a8e7d6d7 22192012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
2220
2221 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
2222 (Bug#11344)
2223
a8e7d6d7 22242012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
2225
2226 * select.el (xselect--encode-string): New function, split from
2227 xselect-convert-to-string.
2228 (xselect-convert-to-string): Use it.
2229 (xselect-convert-to-filename, xselect-convert-to-os)
2230 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
2231 returned strings are properly encoded (Bug#11315).
2232
a8e7d6d7 22332012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
2234
2235 * simple.el (delete-active-region): Move to killing custom group.
2236
a8e7d6d7 22372012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
2238
2239 * progmodes/which-func.el (which-func-current): Quote %
2240 characters for mode-line processing.
2241
578c1d4b 22422012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
2243
2244 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
2245 reaching eob (Bug#11286).
2246
a8e7d6d7 22472012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
2248
2249 * progmodes/gdb-mi.el (gdb-control-level): New variable.
2250 (gdb): Make it buffer-local and init to zero.
2251 (gdb-control-commands-regexp): New variable.
2252 (gdb-send): Don't wrap in "-interpreter-exec console" if
2253 gdb-control-level is positive. Increment gdb-control-level
2254 whenever the command matches gdb-control-commands-regexp, and
2255 decrement it each time the command is "end". (Bug#11279)
2256
a8e7d6d7 22572012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
2258
2259 * window.el (adjust-window-trailing-edge, enlarge-window)
2260 (shrink-window, window-resize):
2261 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
2262 windows (Bug#11276).
2263
b3608390
CY
22642012-04-27 Chong Yidong <cyd@gnu.org>
2265
2266 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 2267 fix "missing prefix" warning. All callers changed.
b3608390 2268
797e6e88
SM
22692012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
2270
2271 * emacs-lisp/assoc.el: Move to obsolete/.
2272
e95a67dc
SM
22732012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2274
657c21e4 2275 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
2276
2277 * term/ns-win.el (ns-define-service):
2278 * progmodes/pascal.el (pascal-goto-defun):
2279 * progmodes/js.el (js--read-tab):
2280 * progmodes/etags.el (tags-lazy-completion-table):
2281 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
2282 * emacs-lisp/ewoc.el (ewoc--wrap):
2283 * emacs-lisp/assoc.el (aput, adelete, amake):
2284 * doc-view.el (doc-view-convert-current-doc):
2285 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
2286
cb3e7ae0
CY
22872012-04-26 Chong Yidong <cyd@gnu.org>
2288
dce04f7f
CY
2289 * image.el (image-type-from-buffer): Only return supported image
2290 type (Bug#9045).
2291
cb3e7ae0
CY
2292 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
2293 value, for symmetry with diff-end-of-hunk.
2294 (diff-split-hunk, diff-find-source-location)
2295 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
2296 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
2297 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
2298 compute the relevant hunk or file properly (Bug#6005).
2299 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
2300
0d42eb3e
SM
23012012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
2302
2303 * vc/vc-mtn.el:
2304 * vc/vc-hg.el:
2305 * vc/vc-git.el:
2306 * vc/vc-dir.el:
2307 * vc/vc-cvs.el:
2308 * vc/vc-bzr.el:
2309 * vc/vc-arch.el:
2310 * vc/vc.el: Replace lexical-let by lexical-binding.
2311 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
2312 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
2313 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
2314
f08ae1c9
CY
23152012-04-26 Chong Yidong <cyd@gnu.org>
2316
8b71081d
CY
2317 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
2318 (diff-mode-shared-map): Bind it to / and [remap undo].
2319
f08ae1c9
CY
2320 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
2321 (ediff-window-setup-function): Use it as the default, to set up
2322 windows based on whether the current frame is graphical (Bug#2138).
2323 (ediff-choose-window-setup-function-automatically): Make obsolete.
2324
2325 * vc/ediff-init.el: Always define ediff-pixel-width/height.
2326
ef24141c
SM
23272012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2328
cc356a5d
SM
2329 * ffap.el: Remove old code for obsolete package.
2330 (ffap-complete-as-file-p): Remove.
2331
b4ff4f1f
SM
2332 Use completion-table-with-quoting for comint and pcomplete.
2333 * comint.el (comint--unquote&requote-argument)
2334 (comint--unquote-argument, comint--requote-argument): New functions.
2335 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
2336 (comint-quote-filename): Use regexp-opt-charset.
2337 (comint--common-suffix, comint--common-quoted-suffix)
2338 (comint--table-subvert): Remove.
2339 (comint-unquote-function, comint-requote-function): New vars.
2340 (comint--complete-file-name-data): Use them with
2341 completion-table-with-quoting.
2342 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
2343 * pcomplete.el (pcomplete-arg-quote-list)
2344 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
2345 (pcomplete-unquote-argument-function): Default to non-nil.
2346 (pcomplete-unquote-argument): Simplify.
2347 (pcomplete--common-quoted-suffix): Remove.
2348 (pcomplete-requote-argument-function): New var.
2349 (pcomplete--common-suffix): New function.
2350 (pcomplete-completions-at-point): Use completion-table-with-quoting
2351 and completion-table-subvert.
2352
79c4eeb4
SM
2353 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
2354 (minibuffer--double-dollars): Preserve properties.
2355 (completion--sifn-requote): New function.
2356 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
2357
ef24141c
SM
2358 * minibuffer.el: Add support for completion of quoted/escaped data.
2359 (completion-table-with-quoting, completion-table-subvert): New funs.
2360 (completion--twq-try, completion--twq-all): New functions.
2361 (completion--nth-completion): New function.
2362 (completion-try-completion, completion-all-completions): Use it.
2363
784e7d6e
LL
23642012-04-25 Leo Liu <sdl.web@gmail.com>
2365
dd2ac746
SM
2366 * progmodes/python.el (python-pdbtrack-get-source-buffer):
2367 Use compilation-message if available to find real filename.
784e7d6e 2368
07875ee7
CY
23692012-04-25 Chong Yidong <cyd@gnu.org>
2370
2371 * vc/diff-mode.el (diff-setup-whitespace): New function.
2372 (diff-mode): Use it.
2373
2374 * vc/diff.el (diff-sentinel):
2375 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
2376 Whitespace mode variables based on diff style (Bug#8612).
2377
5055880d
LL
23782012-04-25 Leo Liu <sdl.web@gmail.com>
2379
daf75653
LL
2380 * progmodes/python.el (python-send-region): Add suffix .py to the
2381 temp file.
2382
5055880d
LL
2383 * files.el (auto-mode-alist): Use javascript-mode instead.
2384
db9b177b
AH
23852012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
2386
ef24141c 2387 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b
AH
2388
2389 * soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 2390 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 2391 references, see Bug#9.
ef24141c 2392 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 2393 when receiving a fault reply.
ef24141c 2394 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b
AH
2395
2396 * soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 2397 (soap-inspect-simple-type): New function.
db9b177b 2398
ef24141c 2399 * soap-client.el (soap-simple-type): New struct.
db9b177b 2400 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
2401 (soap-decode-basic-type, soap-encode-basic-type):
2402 support unsignedInt and double basic types.
db9b177b 2403 (soap-resolve-references-for-simple-type)
ef24141c
SM
2404 (soap-parse-simple-type, soap-encode-simple-type): New function.
2405 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b
AH
2406
2407 * soap-client.el (soap-default-xsd-types)
ef24141c
SM
2408 (soap-default-soapenc-types): Add integer, byte and anyURI types.
2409 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
2410 the local name of "soapenc:Array".
2411 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
2412 decoding integer, byte and anyURI xsd types.
2413
1fc6097b
CY
24142012-04-25 Chong Yidong <cyd@gnu.org>
2415
2416 * cus-edit.el (custom-buffer-create-internal): Update header text.
2417
afc6df87
EZ
24182012-04-25 Eli Zaretskii <eliz@gnu.org>
2419
2420 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
2421 settings on 'system-type', not on 'window-system'. On MS-Windows,
2422 set interactive-mode on in GDB.
2423
dfbd787f
SM
24242012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2425
2426 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
2427 (ruby-syntax-propertize-regexp): Remove.
2428 (ruby-syntax-propertize-function): Split regexp into chunks.
2429 Match following code directly.
2430
85222d44
DG
24312012-04-24 Dmitry Gutov <dgutov@yandex.ru>
2432
51a8ea2a
DG
2433 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
2434 (ruby-syntax-propertize-regexp): New function.
2435 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
2436 by a special keyword.
2437
85222d44
DG
2438 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
2439 (ruby-syntax-general-delimiters-goto-beg)
2440 (ruby-syntax-propertize-general-delimiters): New functions.
2441 (ruby-syntax-propertize-function): Use them to handle GDL.
2442 (ruby-font-lock-keywords): Move old handling of GDL...
2443 (ruby-font-lock-syntactic-keywords): .. to here.
2444 (ruby-calculate-indent): Adjust indentation for GDL.
2445
b613912b
MA
24462012-04-24 Michael Albinus <michael.albinus@gmx.de>
2447
b5380639
MA
2448 * notifications.el (top): Remove unneeded declarations.
2449 (notifications-specification-version): Change to "1.2".
e43042fe 2450 (notifications-interface, notifications-notify-method)
b613912b
MA
2451 (notifications-close-notification-method): Fix docstring.
2452 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
2453 (notifications-notify): Add :action-items, :resident and
2454 :transient hints. Change "image_data" to "image-data" and
2455 "image_path" to "image-path".
b613912b
MA
2456 (notifications-get-capabilities): New defun.
2457
257440aa
LL
24582012-04-24 Leo Liu <sdl.web@gmail.com>
2459
2460 * progmodes/python.el: Move hideshow setup to the end.
2461
b1bac16e
MR
24622012-04-24 Martin Rudalics <rudalics@gmx.at>
2463
2464 * window.el (handle-select-window): Clear echo area since this is
2465 no more done by read_char (Bug#11304).
2466
d81bd059
SM
24672012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2468
2469 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
2470 and `/ M' to filter-derived-mode.
2471 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
2472 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
2473 (ibuffer-mark-by-mode): Use default rather than initial-input.
2474 (ibuffer-filter-by-derived-mode): Autoload and require-match.
2475
c4cf6d91
IA
24762012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
2477
2478 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
2479 (ibuffer-filter-by-derived-mode): New filter.
2480 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
2481
7511ded8
CY
24822012-04-23 Andreas Politz <politza@fh-trier.de>
2483
2484 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
2485
775c916b
CY
24862012-04-23 Chong Yidong <cyd@gnu.org>
2487
2488 * cus-edit.el (customize-apropos, customize-apropos-options):
2489 Disable matching of non-option variables (Bug#11176).
2490 (customize-option, customize-option-other-window)
2491 (customize-changed-options): Doc fix.
2492 (customize-apropos-options, customize-apropos-faces)
2493 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
2494
2495 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 2496 Fix word list splitting (Bug#11132).
46c71e23
CY
2497 (apropos-symbol, apropos-keybinding, apropos-label)
2498 (apropos-property, apropos-function-button)
2499 (apropos-variable-button, apropos-misc-button): New faces.
2500 (apropos-symbol-face, apropos-keybinding-face)
2501 (apropos-label-face, apropos-property-face, apropos-match-face):
2502 Variables removed (Bug#8396).
2503 (apropos-library-button, apropos-format-plist, apropos-print)
2504 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 2505
2df41f9c
MA
25062012-04-23 Michael Albinus <michael.albinus@gmx.de>
2507
2508 * net/xesam.el (xesam-mode-map): Use let-bound map in
2509 initialization. (Bug#11292)
2510
da00640a
AM
25112012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2512
2513 Preserve ispell session localwords when switching back to
2514 original buffer.
2515
2516 * ispell.el (ispell-buffer-session-localwords): New buffer-local
2517 variable to hold buffer session localwords.
2518 (ispell-kill-ispell): add option 'clear to delete session
2519 localwords.
2520 (ispell-command-loop, ispell-change-dictionary)
2521 (ispell-buffer-local-words): Preserve session localwords when
2522 needed.
2523
2524 * flyspell.el (flyspell-process-localwords, flyspell-do-correct):
2525 Preserve session localwords when needed.
2526
f621ccf5
AM
25272012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2528
2529 * ispell.el (ispell-insert-word) Remove unneeded function using
2530 obsolete `translation-table-for-input'.
ef24141c
SM
2531 (ispell-word, ispell-process-line, ispell-complete-word):
2532 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 2533
c2d1019e
CY
25342012-04-22 Chong Yidong <cyd@gnu.org>
2535
2536 * cus-edit.el (custom-variable-menu)
2537 (custom-variable-reset-saved, custom-face-menu)
2538 (custom-face-reset-saved): If there is no saved value, make the
2539 "reset-saved" operation bring back the default (Bug#9509).
2540 (custom-face-state): Properly detect themed faces.
2541
eeddc531
CY
2542 * faces.el (face-spec-set): Stop supporting deprecated form of
2543 third arg.
2544
dcbf5805
MA
25452012-04-22 Michael Albinus <michael.albinus@gmx.de>
2546
2547 Move functions from C to Lisp. Make non-blocking method calls
2548 the default. Implement further D-Bus standard interfaces.
2549
ef24141c
SM
2550 * net/dbus.el (dbus-message-internal): Declare function.
2551 Remove unneeded function declarations.
dcbf5805
MA
2552 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
2553 (dbus-message-type-method-return, dbus-message-type-error)
2554 (dbus-message-type-signal): Declare variables. Remove local
2555 definitions.
2556 (dbus-interface-dbus, dbus-interface-peer)
2557 (dbus-interface-introspectable, dbus-interface-properties)
2558 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
2559 Adapt docstring.
2560 (dbus-interface-objectmanager): New defconst.
2561 (dbus-call-method, dbus-call-method-asynchronously)
2562 (dbus-send-signal, dbus-method-return-internal)
2563 (dbus-method-error-internal, dbus-register-service)
2564 (dbus-register-signal, dbus-register-method): New defuns, moved
2565 from dbusbind.c
2566 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
2567 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
2568 New defuns.
dcbf5805
MA
2569 (dbus-call-method-non-blocking): Make it an obsolete function.
2570 (dbus-unregister-object, dbus-unregister-service)
2571 (dbus-handle-event, dbus-register-property)
2572 (dbus-property-handler): Obey the new structure of
2573 `bus-registered-objects'.
2574 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
2575 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2576 Use `dbus-call-method'.
2577
cf20dee0
CY
25782012-04-22 Chong Yidong <cyd@gnu.org>
2579
2580 * cus-edit.el (custom-commands, custom-reset-menu)
2581 (Custom-reset-standard): Tweak labels.
2582 (custom-reset-button-menu): Change default to t.
2583 (custom-buffer-create-internal): For the custom-reset-button-menu
2584 case, put the revert button first.
2585 (custom-group-subtitle): New face.
2586 (custom-group-value-create): Align docstring to a specific column.
2587
2588 * wid-edit.el (widget-documentation-link-add): Don't handle
2589 indentation in this function.
2590 (widget-documentation-string-indent-to): New function.
2591 (widget-documentation-string-value-create): Use it.
2592
2593 * autorevert.el (auto-revert):
2594 * epg-config.el (epg):
2595 * ibuffer.el (ibuffer):
2596 * mpc.el (mpc):
2597 * ses.el (ses):
2598 * eshell/eshell.el (eshell):
2599 * net/ange-ftp.el (ange-ftp):
2600 * progmodes/ebnf2ps.el (postscript):
2601 * progmodes/flymake.el (flymake):
2602 * progmodes/prolog.el (prolog):
2603 * progmodes/verilog-mode.el (verilog-mode):
2604 * progmodes/which-func.el (which-func):
2605 * term/xterm.el (xterm):
2606 * textmodes/picture.el (picture):
2607 * textmodes/tildify.el (tildify):
2608 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
2609 customization buffers.
2610
583e23bd
AM
26112012-04-22 Alan Mackenzie <acm@muc.de>
2612
2613 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
2614 Adding a ) can hide the resulting (..) from searches. Fix it.
2615 Bound the backward search to the position of the existing (.
2616
7dd51bf1
JB
26172012-04-21 Juanma Barranquero <lekktu@gmail.com>
2618
2619 * progmodes/verilog-mode.el (verilog-mode): Check whether
2620 which-func-modes is t before adding verilog-mode.
2621 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
2622
d64a438f
LL
26232012-04-21 Leo Liu <sdl.web@gmail.com>
2624
7dd51bf1 2625 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 2626
081e8d65
MV
26272012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
2628
2629 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
2630 filling of the last column of a table (Bug#5635).
2631 (woman-find-next-control-line): New arg, specifying an additional
2632 regexp component for the control line.
2633 (woman2-roff-buffer): Use it.
2634 (woman-break-table): New function.
2635 (woman2-TS): Use it.
2636
26372012-04-21 Chong Yidong <cyd@gnu.org>
2638
2639 * woman.el (woman-set-buffer-display-table, woman-decode-region)
2640 (woman-horizontal-escapes, woman-negative-vertical-space)
2641 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
2642 (WoMan-warn-ignored): Use ?\s instead of ?\ .
2643
ed571ccb
SM
26442012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
2645
2646 * minibuffer.el (completion-file-name-table): Complete user names.
2647
39773899
LL
26482012-04-20 Leo Liu <sdl.web@gmail.com>
2649
2650 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
2651 and pcase-let*.
2652
de6ff46d
CY
26532012-04-20 Chong Yidong <cyd@gnu.org>
2654
2655 * server.el (server-execute): Respect initial-buffer-choice if it
2656 is a string and there are no files to open (Bug#2825).
2657 (server-create-window-system-frame, server-create-tty-frame):
2658 Don't switch buffers here.
2d0e8e61
CY
2659 (server-process-filter): Only try to open a window system frame if
2660 compiled with graphical support (Bug#8314).
de6ff46d 2661
54071013
DN
26622012-04-20 Dan Nicolaescu <dann@gnu.org>
2663
2664 * battery.el (battery-echo-area-format): Display remaining time
2665 for sysfs backend too (Bug#11269).
2666 (battery-linux-sysfs): Fix conditional for the charge.
2667
f30d612a
CY
26682012-04-20 Chong Yidong <cyd@gnu.org>
2669
c07a4c0b 2670 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
2671 (gdb-inferior-io--init-proc): New function.
2672 (gdb-init-1): Use it.
2673 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
2674 responsible for allocating a new pty and hooking it to gdb when
2675 the old pty gets an EIO due to process exit.
2676 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
2677 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
2678 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
2679
2116e93c
EZ
26802012-04-20 Eli Zaretskii <eliz@gnu.org>
2681
2682 * window.el (window-min-size, window-sizable, window-min-delta)
2683 (window-max-delta, window--resizable, window-resizable)
2684 (window-total-size, window-full-height-p, window-full-width-p)
2685 (window-in-direction, window--resize-mini-window, window-resize)
2686 (window--resize-child-windows-normal)
2687 (window--resize-child-windows, window--resize-siblings)
2688 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 2689 (enlarge-window, shrink-window): Doc fixes.
2116e93c 2690
c07a4c0b 26912012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 2692
ef24141c
SM
2693 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
2694 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
2695 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
2696 pty process (Bug#11273).
2697 (gdb-update): New arg to suppress talking to the gdb process.
2698 (gdb-done-or-error): Use it.
2699 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
2700 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
2701 sentinel not being called.
2702
2703 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
2704
d02766ab
CY
2705 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
2706
c07a4c0b 27072012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
2708
2709 * net/network-stream.el (open-network-stream): Doc fix.
2710
c07a4c0b 27112012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
2712
2713 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
2714
c07a4c0b 27152012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
2716
2717 Ensure searching for keywords is case sensitive.
2718
2719 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
2720 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
2721 (c-defun-name, c-mark-function, c-cpp-define-name)
2722 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 2723 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 2724
ef24141c
SM
2725 * progmodes/cc-mode.el (c-font-lock-fontify-region):
2726 Bind case-fold-search to nil.
f0f6bc35 2727
c07a4c0b 27282012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
2729
2730 * mail/sendmail.el (mail-bury): Call return action with the right
2731 Rmail buffer (Bug#11242).
2732
9a864fa2
CY
2733 * server.el (server-process-filter): Handle corner case where both
2734 tty and nowait options are present (Bug#11102).
2735
539aa513
EZ
27362012-04-20 Eli Zaretskii <eliz@gnu.org>
2737
2738 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
2739 (top level): Put into the executable the ident-style '$Id:' tag on
2740 windows-nt as well.
539aa513 2741
cfc7d5da
SM
27422012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2743
2744 * electric.el (electric-indent-post-self-insert-function): Check that
2745 electric-indent-mode is enabled in current buffer.
2746
5b01685c
JB
27472012-04-19 Juanma Barranquero <lekktu@gmail.com>
2748
2749 * imenu.el (imenu-progress-message): Restore; it is "used" in
2750 erc/erc-imenu.el and net/snmp-mode.el.
2751
4d6769e1
JB
27522012-04-19 Juanma Barranquero <lekktu@gmail.com>
2753
2754 * avoid.el (mouse-avoidance-mode): Mark unused arg.
2755 (mouse-avoidance-nudge-mouse): Remove unused binding.
2756
2757 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
2758
2759 * descr-text.el (describe-char):
2760 * progmodes/python.el (python-describe-symbol):
2761 Don't call `toggle-read-only', set `buffer-read-only'.
2762
2763 * imenu.el (imenu-default-goto-function): Mark unused args.
2764 (imenu-progress-message): Remove obsolete macro; all callers changed.
2765
2766 * subr.el (keymap-canonicalize): Remove unused binding.
2767 (read-passwd): Mark unused arg.
2768
2769 * tutorial.el (tutorial--display-changes): Remove unused binding.
2770 (tutorial--save-tutorial-to): Remove unused variable.
2771
2772 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
2773 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
2774 (package-generate-autoloads, package-menu--generate)
2775 (package-menu--find-upgrades): Remove unused bindings.
2776
2777 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
2778 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
2779 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
2780 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
2781 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
2782 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
2783 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
2784 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
2785 (cua-delete-char-rectangle): Mark unused args.
2786 (cua-align-rectangle): Remove unused binding.
2787
2788 * mail/rmail.el (compilation--message->loc)
2789 (epa--find-coding-system-for-mime-charset): Declare.
2790
2791 * net/dbus.el (dbus-register-service): Declare.
2792 (dbus-name-owner-changed-handler): Remove unused binding.
2793
2794 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
2795 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
2796 (nxml-scan-backward-within): Mark unused arg.
2797 (nxml-dynamic-markup-word): Remove unused binding.
2798
2799 * mouse.el (mouse-menu-major-mode-map):
2800 * emacs-lisp/authors.el (authors-scan-change-log)
2801 (authors-add-to-author-list):
2802 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
2803 * emacs-lisp/smie.el (smie-auto-fill):
2804 * mail/sendmail.el (mail-bury):
2805 * mail/unrmail.el (unrmail):
2806 * net/tls.el (open-tls-stream):
2807 * textmodes/picture.el (picture-mouse-set-point):
2808 Remove unused bindings.
2809
8c8fc5df
MA
28102012-04-19 Michael Albinus <michael.albinus@gmx.de>
2811
2812 * net/tramp.el (tramp-action-password): Let-bind
2813 `enable-recursive-minibuffers' to t.
2814
a77b0ac9
SS
28152012-04-18 Sam Steingold <sds@gnu.org>
2816
2817 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
2818 instead of 'string to accommodate values like [f11].
2819 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
2820 * progmodes/gdb-mi.el: Likewise.
2821
12a106a9
LL
28222012-04-18 Leo Liu <sdl.web@gmail.com>
2823
2824 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
2825 current buffer.
2826 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
2827 LOCAL is nil.
2828
bc6494ef
CY
28292012-04-18 Chong Yidong <cyd@gnu.org>
2830
2831 * simple.el (line-move): Use forward-line if in batch mode
2832 (Bug#11053).
2833
c09c46b2
CS
28342012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
2835
2836 * files.el (after-find-file): Do not try to add a final newline if
2837 the buffer is read-only (Bug#11156).
2838
5f6530ea
RS
28392012-04-17 Richard Stallman <rms@gnu.org>
2840
2841 * mail/rmail.el (rmail-start-mail):
2842 Pass (rmail-mail-return...) for the return-action.
2843 Pass (rmail-yank-current-message...) for the yank-action.
2844 (rmail-yank-current-message): New function.
2845 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
2846 (rmail-reply): Likewise.
2847 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
2848
2849 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 2850 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
2851 buffer, not newbuf.
2852
197b6f3c
JB
28532012-04-17 Juanma Barranquero <lekktu@gmail.com>
2854
2855 * server.el (server-ensure-safe-dir): Simplify.
2856
2311d8e5 28572012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 2858
2311d8e5
GM
2859 * emacs-lisp/smie.el: Provide smarter auto-filling.
2860 (smie-auto-fill): New function.
2861 (smie-setup): Use it.
98fb480e 2862
2311d8e5
GM
2863 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
2864
28652012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
2866
2867 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
2868 (comment-indent): Use it.
2869
2311d8e5 28702012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
2871
2872 * ses.el: The overall change is to add cell renaming, that is
2873 setting fancy names for cell symbols other than name matching
2874 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 2875 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 2876 (ses-create-cell-variable): New defun.
2311d8e5 2877 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
2878 (ses-relocate-formula): Relocate formulas only for cells the
2879 symbols of which are not renamed, i.e. symbols whose names do not
2880 match regexp "\\`[A-Z]+[0-9]+\\'".
2881 (ses-relocate-all): Relocate values only for cells the symbols of
2882 which are not renamed.
2883 (ses-load): Create cells variables as the (ses-cell ...) are read,
2884 in order to check row col consistency with cell symbol name only
2885 for cells that are not renamed.
2886 (ses-replace-name-in-formula): New defun.
2887 (ses-rename-cell): New defun.
4bdf2ad2 2888
fc72b15c
PO
28892012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
2890
2891 * progmodes/perl-mode.el (perl-indent-parens-as-block):
2892 New option (bug#11118).
2893 (perl-calculate-indent): Respect it.
2894
12e10e61
GM
28952012-04-17 Glenn Morris <rgm@gnu.org>
2896
2897 * dired-aux.el (dired-mark-read-string): Doc fix.
2898
30009afd
DA
28992012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
2900
2901 * dired-aux.el (dired-mark-read-string): Offer optional completion.
2902 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
2903
41f03f4d
GM
29042012-04-17 Glenn Morris <rgm@gnu.org>
2905
2906 * mouse.el (mouse-drag-track):
2907 * speedbar.el (speedbar-frame-mode):
2908 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
2909
f45f90f3
LL
29102012-04-16 Leo Liu <sdl.web@gmail.com>
2911
2912 * progmodes/python.el: Trivial cleanup.
2913
94ee8db5
GM
29142012-04-16 Glenn Morris <rgm@gnu.org>
2915
121b8917
GM
2916 * vc/vc.el (vc-string-prefix-p):
2917 * vc/pcvs-util.el (cvs-string-prefix-p):
2918 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
2919 * mpc.el (mpc-string-prefix-p):
2920 Make all of these into obsolete aliases for string-prefix-p.
2921 Update callers.
2922 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
2923
1197ecfa
GM
2924 * textmodes/two-column.el: Move custom options to the start.
2925 (frame-width): Remove compat definition.
2926 (2C-associate-buffer, 2C-dissociate):
2927 Use with-current-buffer rather than save-excursion.
2928 (2C-dissociate): Force a mode-line update.
2929 (2C-autoscroll): Use ignore-errors.
2930
099e7202
GM
2931 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
2932 Autoload trivia.
2933
bf350d6a
GM
2934 * emacs-lisp/cl-extra.el (*random-state*):
2935 Remove unnecessary declaration.
2936
0e829eab
GM
2937 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
2938
e3ad7552
GM
2939 * play/cookie1.el (cookie-snarf):
2940 Give an explicit error if input file cannot be read.
2941
68892d27
GM
2942 * play/yow.el (yow-file): Use expand-file-name rather than concat.
2943
20f0c46d
GM
2944 * progmodes/perl-mode.el (c-macro-expand):
2945 Remove unnecessary autoload (it is in loaddefs.el).
2946
5a0978ce
GM
2947 * textmodes/picture.el (picture-desired-column)
2948 (picture-update-desired-column): Convert comments to doc-strings.
2949 (picture-substitute): Remove function.
2950 (picture-mode-map): Initialize in the defvar.
2951
6b955486
GM
2952 * woman.el: Remove eval-after-load for tar-mode.
2953 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
2954 (woman-tar-extract-file): Autoload it.
2955
94ee8db5
GM
2956 * frame.el (automatic-hscrolling): Make this alias obsolete.
2957
177eca34
AM
29582012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2959
2960 * ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 2961 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
2962 (ispell-dictionary-base-alist): Revert to original XEmacs
2963 friendly version for default. [:alpha:] will be added in
2964 `ispell-set-spellchecker-params' if needed
177eca34 2965
c505aaeb
CY
29662012-04-16 Chong Yidong <cyd@gnu.org>
2967
2968 * image.el (imagemagick--extension-regexp): New variable.
2969 (imagemagick-register-types): Use it.
2970 (imagemagick-types-inhibit): Add :set function. Allow new value
2971 of t to inhibit all types.
2972
2973 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
2974 so we can preload it.
2975
2976 * loadup.el (fboundp): Preload regexp-opt, needed by
2977 imagemagick-register-types.
2978
60efac0f
CY
29792012-04-15 Chong Yidong <cyd@gnu.org>
2980
2981 * frame.el (scrolling): Remove nearly unused customization group.
2982
2983 * scroll-all.el (scroll-all-mode): Move to windows group.
2984
5dd1713e
CY
29852012-04-15 Chong Yidong <cyd@gnu.org>
2986
2987 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
2988
e6fd457e
CY
29892012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
2990
2991 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 2992 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 2993
e153c136
GM
29942012-04-15 Glenn Morris <rgm@gnu.org>
2995
2996 * simple.el (process-file-side-effects): Doc fix.
2997
e6fd457e 29982012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
2999
3000 * international/mule-cmds.el (set-language-environment): Doc fix.
3001
3603c3b1
JB
30022012-04-14 Juanma Barranquero <lekktu@gmail.com>
3003
3004 * server.el (server-auth-key, server-generate-key): Doc fixes.
3005 (server-get-auth-key): Doc fix. Use `string-match-p'.
3006 (server-start): Reflow docstring.
3007
e6de100c
LI
30082012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
3009
3010 * server.el (server-generate-key): `called-interactively-p'
3011 requires a parameter.
3012
29734c21
MN
30132012-04-14 Michal Nazarewicz <mina86@mina86.com>
3014
3015 * server.el (server-auth-key): New variable.
75f1671a 3016 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
3017 (server-start): Use the new variable and functions to allow
3018 setting a permanent server key (bug#9423).
3019
d65c9521
LL
30202012-04-14 Leo Liu <sdl.web@gmail.com>
3021
3022 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
3023
5ae255c7
PE
30242012-04-14 Paul Eggert <eggert@cs.ucla.edu>
3025
3026 Spelling fixes.
3027 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
3028 Emacs uses American spelling.
3029
d5e6342e
JB
30302012-04-14 Juanma Barranquero <lekktu@gmail.com>
3031
3032 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
3033 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
3034 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
3035 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
3036
ab036cd7
SM
30372012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
3038
3039 * progmodes/which-func.el (which-func-modes): Change default.
3040
35dc09a1 30412012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
3042
3043 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
3044 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
3045
35dc09a1 30462012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
3047
3048 * custom.el (custom-theme-set-variables): Doc fix.
3049
35dc09a1 30502012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
3051
3052 * international/mule.el (set-auto-coding-for-load): Doc fix.
3053
35dc09a1 30542012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 3055
35dc09a1
GM
3056 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
3057 imenu work again for Objective C Mode. Correct the *-index values,
3058 these having been disturbed by a previous change in 2011-08.
57f845ee 3059
0de3da9f
AM
3060 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
3061 Correct two search limits.
3062
35dc09a1 30632012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
3064
3065 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
3066
35dc09a1 30672012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
3068
3069 * international/characters.el: Fix sorting.
3070
35dc09a1 30712012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
3072
3073 * international/characters.el: Add more missing Latin case pairs.
3074
35dc09a1 30752012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
3076
3077 * files.el (dir-locals-set-class-variables): Doc fix.
3078
35dc09a1 30792012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 3080
3f1b5bf8
EZ
3081 * international/characters.el: Add set-case-syntax-pair call for
3082 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
3083 counterpart. (Bug#11209)
3084
9f847f41
EZ
3085 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
3086
35dc09a1 30872012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
3088
3089 * calendar/holidays.el (calendar-check-holidays): Doc fix.
3090
35dc09a1 30912012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 3092
35dc09a1
GM
3093 * textmodes/ispell.el (ispell-dictionary-base-alist):
3094 Add data for Hebrew.
e2627d21 3095
35dc09a1 30962012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 3097
35dc09a1
GM
3098 * net/rcirc.el (rcirc-cmd-quit):
3099 Revert 2012-03-18 change (Bug#11192).
5c14e333 3100
35dc09a1 31012012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
3102
3103 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
3104
35dc09a1 31052012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 3106
4517fe3a
SM
3107 * minibuffer.el (completion-in-region-mode-map):
3108 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 3109
b472a594
VD
31102012-04-13 Vivek Dasmohapatra <vivek@etla.org>
3111
3112 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
3113
09b95ce3
MY
31142012-04-13 Masatake YAMATO <yamato@redhat.com>
3115
3116 * minibuffer.el (minibuffer-local-filename-syntax): New variable
3117 to allow `C-M-f' and `C-M-b' to move to the nearest path
3118 separator (bug#9511).
3119
4b63a9ca
LI
31202012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
3121
3122 * avoid.el: Require cl when compiling. And also move the
3123 `provide' to the end.
3124
7b55b8bf
TV
31252012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3126
3127 * avoid.el (mouse-avoidance-banish-position): New variable.
3128 (mouse-avoidance-banish-destination): Use it (bug#10165).
3129
adedaa1f
LL
31302012-04-13 Leo Liu <sdl.web@gmail.com>
3131
3132 * progmodes/which-func.el (which-func-modes): Add objc-mode.
3133
70e74021
KB
31342012-04-13 Ken Brown <kbrown@cornell.edu>
3135
3136 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 3137 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
3138 (browse-url-filename-alist): For the same reason, don't modify
3139 file:// URLs on Cygwin.
3140
e75e89ba
SM
31412012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
3142
3143 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
3144 the region on shift if the binding is already shifted (bug#11221).
3145
82f289a4
GM
31462012-04-12 Glenn Morris <rgm@gnu.org>
3147
3148 * mail/mailpost.el: Move to obsolete/.
3149
d333dc4c
DA
31502012-04-12 Drew Adams <drew.adams@oracle.com>
3151
3152 * imenu.el (imenu--generic-function): Ignore invisible definitions
3153 (bug#10123).
3154
0d15b5ba
VD
31552012-04-12 Vivek Dasmohapatra <vivek@etla.org>
3156
3157 * hexl.el (hexl-bits): New variable.
3158 (hexl-options): Mention the variable in the doc string.
75f1671a 3159 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 3160 (hexl-mode): Mention the new variable.
75f1671a
JB
3161 (hexl-mode, hexl-current-address, hexl-current-address):
3162 Use the displen.
0d15b5ba
VD
3163 (hexl-ascii-start-column): New function.
3164 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
3165 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
3166
64a440db
AM
31672012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3168
3169 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
3170 '("-i" ENCODING), in 2 separate command-line arguments, to specify
3171 the encoding, as expected by hunspell.
3172
6decb6c2
SM
31732012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
3174
3175 * battery.el (battery--linux-sysfs-regexp): New const.
3176 (battery-status-function): Use it. Remove yeeloong special case.
3177 (battery-yeeloong-sysfs): Remove.
3178 (battery-echo-area-format): Remove yeeloong special case.
3179
088be6fb
SM
31802012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3181
6622e416
SM
3182 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
3183 Reported by Noah Friedman.
3184
088be6fb
SM
3185 * subr.el (read-passwd): Use read-string.
3186
b49f886e
LMI
31872012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3188
3189 * vcursor.el (vcursor-move): Increase the priority of the overlay
3190 (bug#9663).
3191
a63067fc
DD
31922012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
3193
3194 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
3195 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
3196
ac3cf14a
WS
31972012-04-11 William Stevenson <yhvh2000@gmail.com>
3198
3199 * textmodes/artist.el (artist-mode): Convert artist-mode to use
3200 define-minor-mode (bug#10760).
3201
c4fc691b 32022012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 3203
4d6769e1 3204 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
3205 that directories matching `grep-find-ignored-files' won't be
3206 pruned (bug#10351).
3207
af23e2e5
CY
32082012-04-11 Chong Yidong <cyd@gnu.org>
3209
3210 * startup.el (command-line): Remove support for long-obsolete
3211 variable font-lock-face-attributes.
3212
ab7ce8c1
GM
32132012-04-11 Glenn Morris <rgm@gnu.org>
3214
3215 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
3216
de8c03dc
SM
32172012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3218
3219 * window.el (window--state-get-1): Obey window-point-insertion-type.
3220
050cc68b
LB
32212012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
3222
3223 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
3224 to previous function when point is on the first character of a
75f1671a 3225 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 3226
a38c310c
GM
32272012-04-11 Glenn Morris <rgm@gnu.org>
3228
effed0c2
GM
3229 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
3230 not just file-errors.
3231
a38c310c
GM
3232 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
3233 (vc-bzr-sha1): Use internal sha1.
3234
0221e323
SM
32352012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
3236
3237 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
3238
43956923
SG
32392012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
3240
3241 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
3242 that start in the middle of the line (bug#10496).
3243
6a8c9eaf
DN
32442012-04-10 Dan Nicolaescu <dann@gnu.org>
3245
3246 * battery.el (battery-linux-proc-acpi): Only one battery is
3247 discharged at a time, but that seems to confuse battery.el when
3248 computing `rate-type' for the battery not being discharged
3249 (bug#10332).
3250
1930bf5d
SM
32512012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
3252
2a718f6f
SM
3253 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
3254
599430d0
SM
3255 * international/quail.el: Use dolist and simplify.
3256 (quail-define-package, quail-update-keyboard-layout)
3257 (quail-define-rules): Use dolist.
3258 (quail-insert-kbd-layout, quail-get-translation): CSE.
3259
a2754b6c
SM
3260 * tmm.el: Use dolist, remove left over hook.
3261 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
3262 Use dolist.
3263 (calendar-load-hook): Don't mess with it.
3264
1930bf5d
SM
3265 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
3266 Use derived-mode-p. Run the diff asynchronously.
3267
9f67961c
LMI
32682012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3269
3270 * obsolete/mouse-sel.el: Add an Obsolete-since header.
3271
2a8ce227
JB
32722012-04-10 Juanma Barranquero <lekktu@gmail.com>
3273
3274 * misc.el: Display absolute path of loaded DLLs (bug#10424).
3275 (list-dynamic-libraries--loaded): New function.
3276 (list-dynamic-libraries--refresh): Use it.
3277
8f33b5f8
NW
32782012-04-10 Nathan Weizenbaum <nweiz@google.com>
3279
1930bf5d
SM
3280 * progmodes/python.el (python-fill-paragraph):
3281 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
3282 disabled (bug#7018).
3283
b12f0439
L
32842012-04-10 Laimonas VÄ—bra <laimonas.vebra@gmail.com> (tiny change)
3285
1930bf5d 3286 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
3287 DOS/MS Windows for the Baltic languages. There are still plenty
3288 of texts written in this encoding/codepage (bug#6519).
b12f0439 3289
57c3bd01
GM
32902012-04-10 Glenn Morris <rgm@gnu.org>
3291
3292 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
3293 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
3294
6c3eab30
FA
32952012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
3296
1930bf5d 3297 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
3298 next-line "n" and previous-line "p" in order to make recentf more
3299 consistent with ibuffer, dired or org-mode (bug#9387).
3300
24d78a88
LMI
33012012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
3302
bc72b5d9
LMI
3303 * image.el (put-image): Return the overlay created instead of the
3304 optional input string (bug#7834). Note that this may break code
3305 that is (for some reason or other) depending on `put-image'
3306 returning the string.
3307
bd2dba5a
LMI
3308 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
3309
74beb59f
LMI
3310 * simple.el (zap-to-char): Allow zapping using input methods
3311 (bug#1580).
3312
24d78a88
LMI
3313 * textmodes/fill.el (fill-region): Leave point and mark where they
3314 were before filling (bug#5399).
3315
263f20cd
GM
33162012-04-09 Glenn Morris <rgm@gnu.org>
3317
3318 * version.el (emacs-bzr-get-version):
3319 Handle lightweight checkouts of local branches.
3320
58d1f797
AS
33212012-04-09 Andreas Schwab <schwab@linux-m68k.org>
3322
263f20cd 3323 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 3324
b4d3bc10
CY
33252012-04-09 Chong Yidong <cyd@gnu.org>
3326
3327 * custom.el (custom-variable-p): Return nil for non-symbol
3328 arguments instead of signaling an error.
3329 (user-variable-p): Obsolete alias for custom-variable-p.
3330
3331 * apropos.el (apropos-variable):
3332 * files-x.el (read-file-local-variable):
3333 * simple.el (set-variable):
3334 * woman.el (woman-mini-help):
3335 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
3336
fd06db5d
GM
33372012-04-09 Glenn Morris <rgm@gnu.org>
3338
e5fcdb5e
GM
3339 * startup.el (normal-top-level): Don't look for leim-list.el
3340 in places where it will not be found. (Bug#910)
3341
fd06db5d
GM
3342 * international/mule-cmds.el (set-default-coding-systems):
3343 * files.el (normal-mode):
3344 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
3345 This function was removed with ucs-tables.el in 2008.
3346
b39bb7e1
EZ
33472012-04-08 Eli Zaretskii <eliz@gnu.org>
3348
3349 * textmodes/ispell.el (ispell-check-version): For hunspell, set
3350 ispell-encoding8-command to "-i", without a trailing space.
3351 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
3352 separate command-line arguments, to specify the encoding, since
3353 that's how hunspell expects it.
3354
5c5b8e23
GM
33552012-04-08 Glenn Morris <rgm@gnu.org>
3356
3357 * loadup.el: Load bindings before cus-start.
3358 This reduces somewhat the number of "rogue" settings in emacs -Q.
3359
a1ed8b05
GM
33602012-04-07 Glenn Morris <rgm@gnu.org>
3361
3362 * version.el (emacs-bzr-get-version): New function.
dfae128a 3363 (emacs-bzr-version): New variable.
a1ed8b05
GM
3364 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
3365 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
3366
b142f158
EZ
33672012-04-07 Eli Zaretskii <eliz@gnu.org>
3368
dfae128a
GM
3369 * international/uni-bidi.el, international/uni-category.el:
3370 * international/uni-combining.el, international/uni-decimal.el:
3371 * international/uni-decomposition.el, international/uni-digit.el:
3372 * international/uni-lowercase.el, international/uni-mirrored.el:
3373 * international/uni-name.el, international/uni-numeric.el:
3374 * international/uni-titlecase.el, international/uni-uppercase.el:
3375 Update for Unicode 6.1.
b142f158 3376
9078ead6
EZ
33772012-04-07 Eli Zaretskii <eliz@gnu.org>
3378
3379 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
3380
f23d2c7d
LMI
33812012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3382
3383 * window.el (shrink-window): Mention the `window-min-height'
3384 variable in the doc string.
3385
0a0a3573
BG
33862012-04-05 Bastien Guerry <bzg@altern.org>
3387
3388 * color.el (color-lighten-name): Fix typo.
3389
e5248ac9
SM
33902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3391
3392 * server.el (server--on-display-p): New function.
3393 (server--on-display-p): Use it.
3394
b4243e22
GV
33952012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
3396
3397 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
3398 (bug#11145).
3399
305d9f44
SM
34002012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
3401
3402 * comint.el (comint--common-quoted-suffix): Check string boundary
3403 before comparing (bug#11158).
3404 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
3405
3d439cd1
CY
34062012-04-04 Chong Yidong <cyd@gnu.org>
3407
321cc491
CY
3408 * minibuffer.el (completion-extra-properties): Doc fix.
3409
3d439cd1
CY
3410 * subr.el (delayed-warnings-hook): Doc fix.
3411
2d562c0f
DU
34122012-04-04 Daiki Ueno <ueno@unixuser.org>
3413
3414 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
3415 selection (Bug#11159).
3416 (epa-insert-keys): Inform that the default public key will be
3417 exported if no key is selected.
3418
4443f204
RS
34192012-04-04 Richard Stallman <rms@gnu.org>
3420
3421 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
3422
529c06b6
CY
34232012-04-03 Chong Yidong <cyd@gnu.org>
3424
3425 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
3426 mail-insert-file, not its obsolete alias mail-attach-file.
3427
66b907dc
MA
34282012-04-03 Michael Albinus <michael.albinus@gmx.de>
3429
3430 * notifications.el (notifications-notify): Fix docstring.
3431
c0ea195d
GM
34322012-04-02 Glenn Morris <rgm@gnu.org>
3433
3434 * emacs-lisp/authors.el (authors-aliases): Another addition.
3435
5ca64e00
MA
34362012-04-02 Michael Albinus <michael.albinus@gmx.de>
3437
3438 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
3439 `tramp-compat-call-process' instead of `tramp-local-call-process'.
3440 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
3441
42ee526b
CY
34422012-04-01 Chong Yidong <cyd@gnu.org>
3443
3444 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
3445 Handle root directory properly.
3446 (copy-directory): Caller changed.
3447
3448 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3449 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
3450
0b021094
GM
34512012-03-31 Glenn Morris <rgm@gnu.org>
3452
40f86458
GM
3453 * term/xterm.el (xterm-extra-capabilities): Doc fix.
3454
7019c177
GM
3455 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
3456
a1daddd6
GM
3457 * calendar/calendar.el (calendar-window-list)
3458 (calendar-hide-window): Restore. (Bug#11140)
3459 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
3460
0b021094
GM
3461 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
3462
40311efc
TV
34632012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3464
3465 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
3466 Check if file is a symlink (Bug#10489).
3467
3468 * files.el (copy-directory): Likewise.
3469
5319014e
CY
34702012-03-30 Chong Yidong <cyd@gnu.org>
3471
3472 * image.el (imagemagick-types-inhibit)
3473 (imagemagick-register-types): Doc fix.
3474
935d1290
AM
34752012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3476
ef24141c
SM
3477 * ispell.el (ispell-get-extended-character-mode):
3478 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 3479 and treats ~word as ordinary words in pipe mode.
935d1290 3480
61c6e8fd
GM
34812012-03-30 Glenn Morris <rgm@gnu.org>
3482
3483 * tutorial.el (help-with-tutorial): Ensure local variables don't
3484 happen to make the buffer read-only. (Bug#11127)
3485
81fdff00
SM
34862012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
3489 (perl-calculate-indent): Return `noindent' in strings.
3490
6e7a6ec0
SS
34912012-03-28 Sam Steingold <sds@gnu.org>
3492
3493 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
3494 instead of the broken adhockery which does not prevent calendar
3495 buffers from being displayed at random after exit.
3496 (calendar-window-list, calendar-hide-window): Remove the broken
3497 adhockery.
3498
fee88ca0
GM
34992012-03-28 Glenn Morris <rgm@gnu.org>
3500
3501 * replace.el (query-replace-map): Doc fix.
3502
38de3354
AS
35032012-03-28 Andreas Schwab <schwab@linux-m68k.org>
3504
3505 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
3506 contents. (Bug#11109)
3507
b973155e
SM
35082012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
3509
3510 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
3511 (bug#11077).
3512 (avl-tree--check, avl-tree--check-node): New funs.
3513
dcb6e7b3
MR
35142012-03-27 Martin Rudalics <rudalics@gmx.at>
3515
3516 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
3517 (switch-to-prev-buffer, switch-to-next-buffer):
3518 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
3519 showing a buffer already is done on the same frame.
3520
b4fa35fa
GM
35212012-03-27 Glenn Morris <rgm@gnu.org>
3522
3523 * startup.el (mail-host-address): Doc fix.
3524
f9210e18
SM
35252012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3526
3527 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
3528 than 197 variables.
3529
c0bf7753
AF
35302012-03-26 Ami Fischman <ami@fischman.org>
3531
3532 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
3533
33da7b16
GM
35342012-03-26 Glenn Morris <rgm@gnu.org>
3535
02243d9d
GM
3536 * files.el (save-buffers-kill-emacs): Doc fix.
3537
33da7b16
GM
3538 * startup.el (normal-top-level, command-line, command-line-1):
3539 Give them doc strings.
3540
e5a69fd0
EZ
35412012-03-25 Eli Zaretskii <eliz@gnu.org>
3542
3543 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 3544 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 3545
9a69676a
CY
35462012-03-25 Chong Yidong <cyd@gnu.org>
3547
4125cb8b
CY
3548 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
3549 theme if it was previously enabled before (Bug#11031).
3550
dd470960
CY
3551 * cus-theme.el (custom-theme-write-faces): Retrieve current face
3552 spec with custom-face-get-current-spec if its :shown-value is not
3553 determined yet (Bug#9337).
4125cb8b 3554 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 3555
9a69676a
CY
3556 * button.el (button-at): Minor addition to docstring.
3557
6e7e90fa
SL
35582012-03-24 Simon Leinen <simon.leinen@gmail.com>
3559
3560 * vc/vc.el (vc-merge): Fix a prompt.
3561
f06e2758
CY
35622012-03-24 Chong Yidong <cyd@gnu.org>
3563
3564 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
3565 point (Bug#9623).
3566
6e7e90fa
SL
3567 * button.el (button-at): Minor addition to docstring.
3568
b9d0879b
SM
35692012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
3570
3571 * newcomment.el (comment-choose-indent): No space after BOL.
3572
e71cebb3
SS
35732012-03-22 Sam Steingold <sds@gnu.org>
3574
3575 * window.el (switch-to-prev-buffer): Revert last patch because the
3576 bug turned out to be an advertised feature (Elisp manual 28.14).
3577
335aff35
GM
35782012-03-22 Glenn Morris <rgm@gnu.org>
3579
3580 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
3581 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
3582
c676576a
LMI
35832012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
3584
3585 * net/network-stream.el (network-stream-open-starttls): Make error
3586 message under Windows be less misleading.
3587
126f3d39
LW
35882012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
3589
3590 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
3591 understands (bug#9942).
3592
64fee311
CY
35932012-03-22 Chong Yidong <cyd@gnu.org>
3594
3595 * simple.el (end-of-visible-line): Handle return value of
3596 next-single-property-change properly (Bug#9371).
3597
a640d29a
KH
35982012-03-22 Kenichi Handa <handa@m17n.org>
3599
3600 * international/quail.el (quail-insert-kbd-layout): Fix previous
3601 change. To avoid unwanted bidi reordering, use
3602 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
3603
39675016
DG
36042012-03-21 Dmitry Gutov <dgutov@yandex.ru>
3605
3606 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
3607 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
3608 (ruby-beginning-of-indent): Be more careful with the difference
3609 between word-boundary and symbol boundary.
3610 (ruby-mode-syntax-table): Make : a symbol constituent.
3611
0a6934fc 36122012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 3613
3d008e4f
SM
3614 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
3615
0a6934fc
SM
36162012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3617
af67c9d7
SM
3618 * progmodes/etags.el (tags-completion-at-point-function):
3619 Improve last fix.
3620
1acad97c
SM
3621 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
3622
e298b5da
SS
36232012-03-21 Sam Steingold <sds@gnu.org>
3624
3625 * progmodes/etags.el (tags-completion-at-point-function):
3626 Avoid the error when point is inside the pattern.
3627
91d82a70
JY
36282012-03-21 John Yates <john@yates-sheets.org> (tiny change)
3629
3630 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
3631 line (Bug#10855).
3632
69188b79
CY
36332012-03-21 Drew Adams <drew.adams@oracle.com>
3634
3635 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
3636
99fc91fe
AK
36372012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
3638
3639 * ido.el (ido-set-current-directory, ido-read-internal)
3640 (ido-choose-completion-string, ido-completion-help): Handle nil
3641 value of ido-completion-buffer (Bug#11008).
3642
087bbb4c
SS
36432012-03-21 Sam Steingold <sds@gnu.org>
3644
3645 * window.el (switch-to-prev-buffer): Do not switch to a visible
3646 window previous buffer, just like with the frame previous buffers.
3647
fb5b8aca
CY
36482012-03-21 Chong Yidong <cyd@gnu.org>
3649
3650 * faces.el (make-face, make-empty-face, copy-face):
3651 * face-remap.el (face-remap-add-relative, face-remap-set-base):
3652 Doc fixes.
3653
dc9924b8
SM
36542012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
3655
3656 * wid-edit.el (widget-complete-field): Remove (bug#11051).
3657 (widget-complete): Remove broken use of it.
3658
f0bcceb9
CY
36592012-03-20 Chong Yidong <cyd@gnu.org>
3660
dc9924b8
SM
3661 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
3662 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
3663 characters.
3664
ee52ebf3
TH
36652012-03-20 Tassilo Horn <tassilo@member.fsf.org>
3666
3667 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
3668 to draw rectangles, not squares. (Regression introduced by revno
3669 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
3670
4c5779ab
CY
36712012-03-18 Chong Yidong <cyd@gnu.org>
3672
3673 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
3674 it is not yet defined (for temacs).
3675
15360934
LL
36762012-03-18 Leo Liu <sdl.web@gmail.com>
3677
dc9924b8 3678 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 3679
d9a8eb66
EZ
36802012-03-17 Eli Zaretskii <eliz@gnu.org>
3681
3682 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
3683 (ispell-choices-win-default-height, ispell-silently-savep)
3684 (ispell-dictionary-alist, ispell-encoding8-command)
3685 (ispell-check-version, ispell-aspell-find-dictionary)
3686 (ispell-valid-dictionary-list, ispell-words-keyword)
3687 (ispell-get-word, ispell-internal-change-dictionary)
3688 (ispell-region, ispell-skip-region-list)
3689 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
3690 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
3691 (ispell-message-text-end, ispell-message)
3692 (ispell-buffer-local-parsing): Doc fix.
3693
f02ff80d
J
36942012-03-13 Jambunathan K <kjambunathan@gmail.com>
3695
3696 * htmlfontify.el: Add support for code block fontification for ODT
3697 export (Bug #9914).
3698 (hfy-optimisations): Define new option
3699 `body-text-only'
3700 (hfy-fontify-buffer): Honor above setting.
3701 (hfy-begin-span, hfy-end-span): New routines factored out form
3702 `hfy-fontify-buffer'.
3703 (hfy-begin-span-handler, hfy-end-span-handler): New variables
3704 that permit insertion of custom tags.
3705 (hfy-fontify-buffer): Use above handlers.
3706 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
3707 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 3708 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 3709 over multiple runs. This is made possible by having the caller let
f02ff80d
J
3710 bind a special variable `hfy-user-sheet-assoc'.
3711 (htmlfontify-string): New defun.
3712 (hfy-compile-face-map): Make sure that the last char in the
3713 buffer is correctly fontified.
3714 (hfy-face-resolve-face): Whitespace only change.
3715
9ac7a13f
EZ
37162012-03-17 Eli Zaretskii <eliz@gnu.org>
3717
3718 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
3719 message more clear.
3720
e2b5bdd7
LL
37212012-03-16 Leo Liu <sdl.web@gmail.com>
3722
3723 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
3724
2e492df3
AM
37252012-03-16 Alan Mackenzie <acm@muc.de>
3726
3727 Further optimise the handling of large macros.
3728
3729 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
3730 limit to a call of `c-literal-limits'.
3731 (c-determine-+ve-limit): New function.
dc9924b8
SM
3732 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
3733 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
3734 In CASE 5B, restrict a search limit to 500.
3735 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
3736
3737 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
3738 Restrict macro bounds to +-500 from after-change's BEG END.
3739
50e94f0c
LL
37402012-03-16 Leo Liu <sdl.web@gmail.com>
3741
3742 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
3743
6f09f6ed
AH
37442012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
3745
3746 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 3747 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 3748
c7e73d51
GM
37492012-03-16 Glenn Morris <rgm@gnu.org>
3750
da986230
GM
3751 * view.el (view-buffer, view-buffer-other-window)
3752 (view-buffer-other-frame): Doc fixes re special mode-class.
3753
0835f01e
GM
3754 * subr.el (eval-after-load): If named feature is provided not from
3755 a file, run after-load forms. (Bug#10946)
3756
c7e73d51
GM
3757 * calendar/calendar.el (calendar-insert-at-column):
3758 Handle non-unit-width characters a bit better. (Bug#10978)
3759
3f2eafd1
CY
37602012-03-15 Chong Yidong <cyd@gnu.org>
3761
3762 * emacs-lisp/ring.el (ring-extend): New function.
3763 (ring-insert+extend): Extend the ring correctly (Bug#11019).
3764
3765 * comint.el (comint-read-input-ring)
3766 (comint-add-to-input-history): Grow comint-input-ring lazily.
3767
103af3fe
SM
37682012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
3769
663b1677
SM
3770 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
3771 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
3772
103af3fe
SM
3773 * imenu.el: Fix multiple inheritance breakage (bug#9199).
3774 (imenu-add-to-menubar): Don't add a redundant index.
3775 (imenu-update-menubar): Handle a dynamically composed keymap.
3776
899cb7cb
KY
37772012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
3778
3779 * mail/sendmail.el (mail-encode-header):
3780 Bind rfc2047-encode-encoded-words to nil.
3781
3809f91d
GM
37822012-03-13 Glenn Morris <rgm@gnu.org>
3783
3784 * calendar/calendar.el (calendar-string-spread):
3785 Handle non-unit-width characters a bit better. (Bug#10978)
3786
9e345a01
LL
37872012-03-13 Leo Liu <sdl.web@gmail.com>
3788
3789 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
3790 directory and file as argument (Bug#10822).
3791
4a07df36
KS
37922012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
3793
3794 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
3795 For dynamically generated code, follow $PC.
3796 (gdb-disassembly-handler-custom): Handle no function name case.
3797
4aaa9356
TL
37982012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
3799
3800 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
3801 * emulation/ws-mode.el (ws-query-replace):
3802 * sort.el (sort-regexp-fields):
3803 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
3804
225979da
SM
38052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3806
3807 * dabbrev.el: Fix cycle completion order (bug#10963).
3808 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
3809 (dabbrev-completion): Don't use an obarray; provide
3810 a cycle-sort-function.
3811
e2f1fdab
LL
38122012-03-12 Leo Liu <sdl.web@gmail.com>
3813
dc9924b8 3814 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
3815 (kill-do-not-save-duplicates): Doc fix.
3816
b19490ed
SM
38172012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3818
3819 * dabbrev.el: Fix cycle completion (bug#10963).
3820 Use lexical binding and wrap to 80 columns.
3821 (dabbrev-completion): Delay computing the list of completions.
3822
4b05d722
KH
38232012-03-12 Kenichi Handa <handa@m17n.org>
3824
3825 * international/quail.el (quail-insert-kbd-layout): Surround each
3826 row by LRO and PDF instead of inserting many LRMs. Pad the left
3827 and right of each non-spacing marks. Insert invisible space
3828 between lower and upper characters to prevent composition.
3829
dbbc2e69
SM
38302012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
3831
3832 * minibuffer.el (minibuffer-complete): Don't get confused when the
3833 function is run twice via different commands (bug#10958).
3834 (complete-with-action): Fix docstring.
3835
292112ed
CY
38362012-03-12 Chong Yidong <cyd@gnu.org>
3837
5d1ac394
CY
3838 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
3839 (nxml-completion-at-point-function): New function.
3840 (nxml-mode): Use it.
3841 (nxml-bind-meta-tab-to-complete-flag): Default to t.
3842
292112ed
CY
3843 * emacs-lisp/package.el (package-unpack, package-unpack-single):
3844 Load generated autoloads file before byte compiling (Bug#10970).
3845 (package--make-autoloads-and-compile): New helper fun.
3846
4098f8f7
CS
38472012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
3848
3849 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
3850
8f754691
MA
38512012-03-11 Michael Albinus <michael.albinus@gmx.de>
3852
3853 * autorevert.el (auto-revert-handler): Ensure, that
3854 file-readable-p is applied only for local files or in
3855 auto-revert-tail-mode.
3856
e29ab36b
AS
38572012-03-11 Andreas Schwab <schwab@linux-m68k.org>
3858
dbbc2e69
SM
3859 * server.el (server-eval-at): Handle non-tcp connections.
3860 Decode result string.
ad0bf5b6 3861
e29ab36b
AS
3862 * server.el (server-msg-size): New constant.
3863 (server-reply-print): New function.
3864 (server-eval-and-print): Use it.
3865 (server-eval-at): Use server-quote-arg and server-unquote-arg.
3866 Handle -print-nonl.
3867
de5939ba
CS
38682012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
3869
3870 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
3871 (Bug#10987).
3872
0c93eabf
CY
38732012-03-11 Chong Yidong <cyd@gnu.org>
3874
397a688f
CY
3875 * simple.el (goto-line): Doc fix (Bug#9938).
3876
2cc775f9
CY
3877 * subr.el (save-window-excursion): Doc fix (Bug#9979).
3878
0c93eabf
CY
3879 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
3880 when finished (Bug#10963).
3881
c491fa41
MR
38822012-03-11 Martin Rudalics <rudalics@gmx.at>
3883
3884 * window.el (split-window-below): Fix bug in case where
3885 split-window-keep-point is nil (Bug#10971).
3886
300e8fa5
JL
38872012-03-11 Juri Linkov <juri@jurta.org>
3888
3889 * replace.el (replace-highlight): Set isearch-word to nil
3890 unconditionally. (Bug#10887)
3891
dbf6c5a1
EZ
38922012-03-10 Eli Zaretskii <eliz@gnu.org>
3893
3894 * net/mairix.el (mairix-replace-invalid-chars): Rename from
3895 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 3896 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
3897 (mairix-widget-create-query): Add usage information about mairix
3898 search forms: negating words, searching for substrings, etc.
3899
b9e501de
JP
39002012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
3901
3902 * international/fontset.el (font-encoding-alist): Add an entry for
3903 ksx1001 (Bug#5667).
3904
92795c91
RS
39052012-03-10 Richard Stallman <rms@gnu.org>
3906
1694e6c1
RS
3907 * mail/sendmail.el (mail-encode-header):
3908 Set rfc2047-encode-encoded-words.
3909
607e8555
RS
3910 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
3911
de3bc99a
RS
3912 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
3913 view buffer means not swapped.
3914 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
3915 (rmail-write-region-annotate): Error if real text has disappeared.
3916
92795c91
RS
3917 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
3918
699bd04e
CY
39192012-03-10 Chong Yidong <cyd@gnu.org>
3920
3921 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
3922 * emulation/cua-base.el (cua--init-keymaps):
3923 Add delete-forward-char to remappings (Bug#9666).
699bd04e 3924
570a1714
MR
39252012-03-10 Martin Rudalics <rudalics@gmx.at>
3926
dbbc2e69
SM
3927 * speedbar.el (speedbar-unhighlight-one-tag-line):
3928 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 3929
82dcf4e4
CY
39302012-03-10 Chong Yidong <cyd@gnu.org>
3931
7a2c7ca7
CY
3932 * minibuffer.el (completion-in-region, completion-help-at-point):
3933 Give the completion field overlay a high priority (Bug#6830).
3934
82dcf4e4
CY
3935 * dired.el (dired-goto-file): Recognize absolute file name
3936 listings (Bug#7126).
3937 (dired-goto-file-1): New helper function.
3938 (dired-toggle-read-only): Inhibit warnings.
3939
052e28ac
MA
39402012-03-09 Michael Albinus <michael.albinus@gmx.de>
3941
75f1671a 3942 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
3943 there are no properties.
3944
95d5e396
LL
39452012-03-09 Leo Liu <sdl.web@gmail.com>
3946
3947 * savehist.el (savehist-printable): Stricter check for string
3948 value (Bug#10937).
3949
3f018d6d
EZ
39502012-03-09 Eli Zaretskii <eliz@gnu.org>
3951
dbbc2e69
SM
3952 * mail/smtpmail.el (smtpmail-send-it):
3953 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
3954 valid mbox format.
3955
f7fd3d79
GM
39562012-03-09 Glenn Morris <rgm@gnu.org>
3957
3958 * files.el (dir-locals-find-file):
3959 Don't check result is regular, readable.
3960 (dir-locals-read-from-file): Demote errors.
3961
6ff6e72f
EZ
39622012-03-08 Eli Zaretskii <eliz@gnu.org>
3963
dbbc2e69
SM
3964 * international/quail.el (quail-insert-kbd-layout):
3965 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
3966 layout cell, to prevent their reordering by bidi display engine.
3967 For details, see the discussion in
3968 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
3969
9cec7834
AM
39702012-03-08 Alan Mackenzie <acm@muc.de>
3971
3972 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
3973 the starting position; make it extend the marked region when
3974 invoked repeatedly - all under appropriate circumstances.
3975 Fixes bugs #5525, #10906.
3976
9a40b8d4
GM
39772012-03-08 Glenn Morris <rgm@gnu.org>
3978
3979 * files.el (locate-dominating-file, dir-locals-find-file):
3980 Undo 2012-03-06 change.
3981
7a08ed35
EZ
39822012-03-07 Eli Zaretskii <eliz@gnu.org>
3983
dbbc2e69
SM
3984 * international/quail.el (quail-help):
3985 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
3986 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
3987 for the reason.
3988
5aca4f71 39892012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
3990
3991 Avoid superfluous registering of signals. (Bug#10807)
3992
3993 * notifications.el (notifications-on-action-object)
3994 (notifications-on-close-object): New defvars.
3995 (notifications-on-action-signal, notifications-on-closed-signal):
3996 Unregister the signal if not needed any longer.
3997 (notifications-notify): Register `notifications-action-signal' or
3998 `notifications-closed-signal', if :on-action or :on-close has been
3999 passed as argument.
4000
78e8b10a
CY
40012012-03-07 Chong Yidong <cyd@gnu.org>
4002
4003 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
4004 non-X platforms.
4005
69481eb8
GM
40062012-03-06 Glenn Morris <rgm@gnu.org>
4007
4008 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4009 (x-disown-selection-internal, x-get-selection-internal):
4010 Doc fix (add arglist signatures). (Bug#10783)
4011
133b8e11
KS
40122012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
4013
4014 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
4015 Handle breakpoints with no "type".
4016
99a83064
GM
40172012-03-06 Glenn Morris <rgm@gnu.org>
4018
4019 * files.el (locate-dominating-file): Add optional predicate argument.
4020 (dir-locals-find-file): Make use of above change.
4021
17798e78
TTN
40222012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
4023
4024 * info.el (Info-insert-dir): Also try "dir.gz".
4025
eb182446
GM
40262012-03-06 Glenn Morris <rgm@gnu.org>
4027
8f2114ee
GM
4028 * files.el (dir-locals-find-file):
4029 Ignore non-readable or non-regular files. (Bug#10928)
4030
eb182446
GM
4031 * files.el (locate-dominating-file): Doc fix.
4032
24679323
AS
40332012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
4034
4035 * calendar/calendar.el (calendar-set-mode-line):
4036 `getenv' returns a string. (Bug#10951)
4037
01d972a9
LL
40382012-03-05 Leo Liu <sdl.web@gmail.com>
4039
109aa8a9
LL
4040 * simple.el (backward-delete-char-untabify): Constrain point to
4041 field (Bug#10939).
4042
01d972a9
LL
4043 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
4044
10607bea
CY
40452012-03-05 Chong Yidong <cyd@gnu.org>
4046
4047 * simple.el (count-words): If called from Lisp, return the word
4048 count, for symmetry with `count-lines'. Arglist changed.
4049 (count-words--message): Args changed. Consolidate counting code
4050 from count-words and count-words-region.
4051 (count-words-region): Caller changed.
4052 (count-lines-region): Make it an obsolete alias.
4053
5dd11cfe
TH
40542012-03-04 Tassilo Horn <tassilo@member.fsf.org>
4055
4056 * saveplace.el (save-place-to-alist)
4057 (save-place-ignore-files-regexp): Allow value nil to disable this
4058 feature.
4059
c349f4e6
CY
40602012-03-04 Chong Yidong <cyd@gnu.org>
4061
4062 * faces.el (face-spec-reset-face): For the default face, reset the
4063 attributes to default values (Bug#10748).
4064
e627be4c
LMI
40652012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
4066
4067 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
4068 previous patch: Check `message-send-mail-function', and not the
4069 default function (bug#10897).
4070
ebeabff4
MA
40712012-03-04 Michael Albinus <michael.albinus@gmx.de>
4072
a41a6cf4
MA
4073 * notifications.el (notifications-on-action-signal)
4074 (notifications-on-closed-signal): Check for unique service name of
4075 incoming event. Fix error in removing entry.
ebeabff4 4076 (top): Register for signals with wildcard service name.
a41a6cf4 4077 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 4078
c1ca42b4
CY
40792012-03-04 Chong Yidong <cyd@gnu.org>
4080
dc9924b8 4081 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 4082
ea16568d
GM
40832012-03-04 Glenn Morris <rgm@gnu.org>
4084
4085 * abbrev.el (copy-abbrev-table, abbrev-table-p)
4086 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
4087 (expand-abbrev, define-abbrev-table): Doc fixes.
4088
fbae4637
LMI
40892012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
4090
4091 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
4092 `message-default-send-mail-function' and not `send-mail-function'
4093 when doing the prompting for `sendmail-query-once' before sending
4094 in Message buffers (bug#10897).
4095
a1e7225c
LMI
4096 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
4097 This is inconsistent with all the other stream functions, which leave
4098 the setting up to the higher levels (if so wanted) (bug#10931).
4099
56d093a9
AM
41002012-03-02 Alan Mackenzie <acm@muc.de>
4101
4102 Depessimize the handling of very large macros.
4103
4104 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
4105 (c-macro-cache-syntactic): New variables to implement a one
4106 element macro cache.
4107 (c-invalidate-macro-cache): New function.
4108 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
4109 Adapt to use the new cache.
4110 (c-state-safe-place): Use better the cache of safe positions.
4111 (c-state-semi-nonlit-pos-cache)
4112 (c-state-semi-nonlit-pos-cache-limit):
4113 New variables for...
4114 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
4115 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
4116 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
4117 Use c-state-semi-safe-place.
56d093a9 4118
dbbc2e69
SM
4119 * progmodes/cc-langs.el (c-get-state-before-change-functions):
4120 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 4121
817e5c3d
MA
41222012-03-02 Michael Albinus <michael.albinus@gmx.de>
4123
dbbc2e69
SM
4124 * jka-compr.el (jka-compr-call-process):
4125 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
4126 not remote.
4127
a032a702
MA
41282012-03-01 Michael Albinus <michael.albinus@gmx.de>
4129
4130 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
4131 access of FILE2, if FILE1 does not exist.
4132
99a54f21
MA
4133 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
4134 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
4135
4136 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
4137 Add "PAGER=" to `process-environment'.
4138
f6561e1f
MM
41392012-03-01 Michael R. Mauger <mmaug@yahoo.com>
4140
4141 * progmodes/sql.el: Bug fix
4142 (sql-get-login-ext): Save login values in globals.
4143 (sql-get-login): Use new version of `sql-get-login-ext'.
4144 (sql-interactive-mode): Set global `sql-connection' to nil.
4145 (sql-connect): Set global values for connection.
4146 (sql-product-interactive): Save global values as buffer local.
4147
2d44d9cc
LL
41482012-02-29 Leo Liu <sdl.web@gmail.com>
4149
4150 * abbrev.el (define-abbrevs): Reset sys to nil.
4151
96b49301 41522012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4153
bf7f9bc5
JB
4154 * files.el (file-equal-p): Rename from `files-equal-p'.
4155 Return nil when one or both files don't exist.
96b49301 4156 (file-subdir-of-p): Now only top directory must exists,
4157 return nil if it doesn't.
bf7f9bc5
JB
4158 (copy-directory): No need to test with `file-subdir-of-p' after
4159 creating dir.
4160 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
4161 to `file-equal-p'.
96b49301 4162
44e97401
GM
41632012-02-28 Glenn Morris <rgm@gnu.org>
4164
4165 * shell.el (shell-mode):
4166 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
4167 * play/landmark.el (landmark-font-lock-face-O):
4168 * play/handwrite.el (handwrite):
4169 * play/gomoku.el (gomoku-O):
4170 * net/browse-url.el (browse-url-browser-display):
4171 * international/mule.el (define-charset):
4172 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
4173 * filesets.el (filesets-find-file-delay):
4174 * eshell/em-xtra.el (eshell-xtra):
4175 * eshell/em-unix.el (eshell-grep):
4176 * emulation/viper.el (viper-mode):
4177 * emacs-lisp/regexp-opt.el (regexp-opt-group):
4178 * emacs-lisp/easymenu.el (easy-menu-define):
4179 * calendar/timeclock.el (timeclock-use-display-time):
4180 * bs.el (bs-mode):
4181 * bookmark.el (bookmark-save-flag):
4182 Doc fix (standardize possessive apostrophe usage).
4183
c98c6276
CY
41842012-02-27 Chong Yidong <cyd@gnu.org>
4185
bf7f9bc5
JB
4186 * emulation/viper-cmd.el (viper-intercept-ESC-key):
4187 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 4188
c98c6276
CY
4189 * font-lock.el (font-lock-specified-p): Rename from
4190 font-lock-spec-present. Callers changed.
4191
9c62cd04 41922012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 4193
bf7f9bc5
JB
4194 * emacs-lisp/package.el (package-compute-transaction):
4195 Handle holding a package version to t in package-load-list.
8ac9e529 4196
530739c9
MA
41972012-02-26 Michael Albinus <michael.albinus@gmx.de>
4198
4199 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
4200 (tramp-get-inode, tramp-get-device): Use cached values.
4201
487915d7
AM
42022012-02-26 Alan Mackenzie <acm@muc.de>
4203
4204 Check there is a font-lock specification before doing initial
4205 fontification.
4206
4207 * font-core.el (font-lock-mode): Move the conditional from
4208 :after-hook to font-lock-initial-fontify.
4209 (font-lock-default-function): Move the check for a specification
4210 to font-lock-spec-present.
4211
dc9924b8 4212 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
4213 (font-lock-spec-present): New function.
4214
4fd96557
JB
42152012-02-26 Jim Blandy <jimb@red-bean.com>
4216
4217 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
4218 (gdb-send): Apply it to the operand of the '-interpreter-exec
4219 console' command, so that we can pass arguments with (say) quotes
4220 in them. Store exact string sent in gdb-debug-log (Bug#10765).
4221
9a4888c0
CY
42222012-02-26 Chong Yidong <cyd@gnu.org>
4223
07498861
CY
4224 * help-fns.el (describe-function-1): Clarify description of
4225 remapping (Bug#10844).
4226
9a4888c0
CY
4227 * files.el (files-equal-p): Doc fix.
4228 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
4229 and quit the loop once a mismatch is found.
4230
ea8fb88d
JB
42312012-02-25 Juanma Barranquero <lekktu@gmail.com>
4232
4233 * bs.el (bs--show-with-configuration): Don't throw an error
4234 if the window cannot be split; otherwise, subsequent calls to
4235 bs-show fail, restoring a stale window config. (Bug#10882)
4236
525795c1
JD
42372012-02-25 Jan Djärv <jan.h.d@swipnet.se>
4238
4239 * term/ns-win.el (global-map): Bind ns-drag-file to
4240 ns-find-file (Bug#5855, Bug#10050).
4241
f008086f
AS
42422012-02-25 Andreas Schwab <schwab@linux-m68k.org>
4243
4244 * calendar/parse-time.el (parse-time-string): Allow extractor to
4245 return nil.
4246
a3fcfa99
MA
42472012-02-25 Michael Albinus <michael.albinus@gmx.de>
4248
91027d08
JB
4249 * net/tramp.el (tramp-file-name-for-operation):
4250 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
4251
4252 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
4253 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4254 Add COPY-CONTENTS argument.
a3fcfa99 4255
67b0de11
CY
42562012-02-25 Chong Yidong <cyd@gnu.org>
4257
4258 Add custom groups for VC backends, for consistency with vc-bzr.
4259
4260 * vc/vc-arch.el (vc-arch):
4261 * vc/vc-cvs.el (vc-cvs):
4262 * vc/vc-git.el (vc-git):
4263 * vc/vc-hg.el (vc-hg):
4264 * vc/vc-mtn.el (vc-mtn):
4265 * vc/vc-rcs.el (vc-rcs):
4266 * vc/vc-sccs.el (vc-sccs):
4267 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
4268 All relevant defcustoms reassigned.
4269
3c9dfce6
CY
42702012-02-25 Chong Yidong <cyd@gnu.org>
4271
1339bf43
CY
4272 * newcomment.el (comment-styles): Add autoload (Bug#10868).
4273
3c9dfce6
CY
4274 * term/x-win.el (x-initialize-window-system): Reduce default for
4275 x-selection-timeout to 5 seconds (Bug#8869).
4276
25b2e303 42772012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
4278
ec70a47d
GM
4279 * files.el (files-equal-p, file-subdir-of-p): New functions.
4280 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 4281 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
4282 * dired-aux.el (dired-copy-file-recursive): Same.
4283 (dired-create-files): Modify destination when source is equal to
4284 dest when copying files.
53a46cd0 4285 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 4286
914260cd
MA
42872012-02-24 Michael Albinus <michael.albinus@gmx.de>
4288
4289 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
4290 (Bug#10874)
4291
2cb228f7
AM
42922012-02-23 Alan Mackenzie <acm@muc.de>
4293
4294 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
4295 parameter "after-hook:" to allow the expansion to run code after
4296 the execution of the mode hooks.
4297
4298 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 4299 from font-lock-mode-internal.
2cb228f7 4300
91027d08 4301 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
4302 :after-hook.
4303
8f0fde21
SM
43042012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4305
3e88618b
SM
4306 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
4307 (completion--cache-all-sorted-completions): New function.
4308 (completion-all-sorted-completions): Use it.
4309 (completion--do-completion, minibuffer-force-complete):
4310 Use it to re-instate the flush hook.
4311
8f0fde21
SM
4312 * icomplete.el (icomplete-completions): Replace last fix with a better
4313 one (bug#10850).
4314
8e911f6f
DG
43152012-02-23 Dmitry Gutov <dgutov@yandex.ru>
4316
4317 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
4318 when it might call us back infinitely (bug#10797).
4319
49fe4321
GM
43202012-02-23 Glenn Morris <rgm@gnu.org>
4321
4322 * minibuffer.el (completion-category-overrides): Doc fix.
4323
b291b572
SM
43242012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * minibuffer.el (completion-table-with-context): Fix inf-loop.
4327 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
4328
31a9ef2e
GM
43292012-02-23 Glenn Morris <rgm@gnu.org>
4330
5e6e6794 4331 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
4332 (authors-obsolete-files-regexps, authors-ignored-files)
4333 (authors-ambiguous-files, authors-renamed-files-alist):
4334 Add more entries.
4335
0bd1e074
JL
43362012-02-23 Juri Linkov <juri@jurta.org>
4337
4338 * isearch.el (isearch-occur): Sync interactive spec with occur's
4339 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
4340
b617673c
JL
4341 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
4342
19e9789e
JL
43432012-02-22 Juri Linkov <juri@jurta.org>
4344
4345 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
4346 (ucs-insert): Doc fix. Check for hex digits in the string.
4347 Don't display `nil' in the error message. (Bug#10857)
4348
f41ce09d
AM
43492012-02-22 Alan Mackenzie <acm@muc.de>
4350
7a71b18d 4351 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 4352
ac2eceee
GM
43532012-02-22 Glenn Morris <rgm@gnu.org>
4354
4355 * ffap.el (ffap-c-path):
4356 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
4357
abd1f678
CY
43582012-02-22 Chong Yidong <cyd@gnu.org>
4359
4360 * custom.el (load-theme): Doc fix.
4361
f25aef2e
GM
43622012-02-22 Glenn Morris <rgm@gnu.org>
4363
4364 * dired-x.el (dired-guess-shell-alist-default):
4365 Remove escape sequences from nroff output. (Bug#172)
4366
5f8dc2ca
GM
43672012-02-21 Glenn Morris <rgm@gnu.org>
4368
6ff86ec4
GM
4369 * vc/emerge.el (emerge-defvar-local):
4370 Set `permanent-local' property rather than unused `preserved'.
4371
be3223a3 4372 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
4373 (picture-mode-map): Use it. (Bug#10860)
4374 (picture-mode): Doc fix.
4375
3fe58f4f
JB
43762012-02-21 Juanma Barranquero <lekktu@gmail.com>
4377
4378 * newcomment.el (uncomment-region-default): Remove unused binding.
4379
f9a998c3
GM
43802012-02-21 Glenn Morris <rgm@gnu.org>
4381
4382 * textmodes/picture.el (picture-motion, picture-motion-reverse)
4383 (picture-self-insert, picture-tab-chars): Doc fix.
4384 (picture-mode-map): Fix C-a, C-e.
4385
c6029348
GM
43862012-02-20 Glenn Morris <rgm@gnu.org>
4387
4388 * emacs-lisp/authors.el (authors-aliases): Add another entry.
4389
ab1ce9d7
LL
43902012-02-20 Leo Liu <sdl.web@gmail.com>
4391
4392 * icomplete.el (icomplete-completions): Check FROM arg before
4393 passing to substring (Bug#10850).
4394
0fd40f89
CY
43952012-02-19 Chong Yidong <cyd@gnu.org>
4396
4397 * comint.el: Require ansi-color.
4398 (comint-output-filter-functions): Add ansi-color-process-output.
4399
4400 * ansi-color.el: Don't set comint-output-filter-functions; it is
4401 now in the initial value defined in comint.el.
4402 (ansi-color-apply-face-function): New variable.
4403 (ansi-color-apply-on-region): Use it.
4404 (ansi-color-apply-overlay-face): New function.
4405
4406 * shell.el (shell): No need to require ansi-color.
4407 (shell-mode): Use ansi-color-apply-face-function to highlight
4408 color escapes using font-lock-face property (Bug#10835).
4409
20af2394
CY
44102012-02-19 Chong Yidong <cyd@gnu.org>
4411
4412 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
4413 mode-line formats (Bug#10839).
4414
e23a3fbe
GM
44152012-02-18 Glenn Morris <rgm@gnu.org>
4416
b474519e
GM
4417 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
4418
4419 * mail/undigest.el (unforward-rmail-message): Doc fix.
4420
e23a3fbe
GM
4421 * saveplace.el (save-place-ignore-files-regexp): Add :version.
4422
57939ff4
EZ
44232012-02-18 Eli Zaretskii <eliz@gnu.org>
4424
4425 * international/characters.el (script-list): Sync with the latest
4426 Unicode Character Database.
4427
0c23686e
AS
44282012-02-18 Andreas Schwab <schwab@linux-m68k.org>
4429
4430 * international/titdic-cnv.el: Remove duplicate coding tag.
4431 * language/cham.el: Likewise.
4432 * language/tai-viet.el: Likewise.
4433
6818b449
GM
44342012-02-18 Glenn Morris <rgm@gnu.org>
4435
4436 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
4437 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
4438 (calendar-bahai-all-holidays-flag, calendar-other-dates):
4439 * calendar/diary-lib.el (diary-abbreviated-year-flag):
4440 * calendar/holidays.el (holiday-bahai-holidays)
4441 (calendar-holidays, list-holidays):
4442 Use utf-8 Bahá'í in doc-strings, menus, etc.
4443
0311a3fc
TH
44442012-02-17 Tassilo Horn <tassilo@member.fsf.org>
4445
4446 * saveplace.el (save-place-ignore-files-regexp): New variable
4447 allowing for excluding files from saving their location of point.
4448 The default value matches the temporary commit message editing
4449 files from Git, SVN, Bazaar, and Mercurial.
4450 (save-place-to-alist): Use it.
4451
eb864a71
LM
44522012-02-17 Lawrence Mitchell <wence@gmx.li>
4453 Stefan Monnier <monnier@iro.umontreal.ca>
4454
4455 * newcomment.el (uncomment-region-default): Don't leave extra space
4456 when an arg is provided (bug#8150).
4457
ee0ce425
TZ
44582012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
4459
eb864a71 4460 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 4461
95ddf442
GM
44622012-02-17 Glenn Morris <rgm@gnu.org>
4463
4464 * net/socks.el: Require network-stream. (Bug#10599)
4465
48dd1e39 44662012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
4467
4468 * international/charprop.el:
4469 * international/uni-name.el:
4470 * international/uni-old-name.el:
4471 * international/uni-comment.el: Regenerate.
4472
d68cd087
GM
44732012-02-16 Glenn Morris <rgm@gnu.org>
4474
4475 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
4476 Interactively in calendar buffer, give an error if not on a date.
4477
13932042
GM
44782012-02-15 Glenn Morris <rgm@gnu.org>
4479
4480 * shell.el (shell-delimiter-argument-list):
4481 Revert 2011-02-17 change. (Bug#8027)
4482
c3a70e2b
CY
44832012-02-15 Chong Yidong <cyd@gnu.org>
4484
60236b0d
CY
4485 * minibuffer.el (completion-at-point-functions): Doc fix.
4486
c3a70e2b
CY
4487 * custom.el (defcustom): Doc fix; note use of defvar.
4488
9f26dc24
GM
44892012-02-15 Glenn Morris <rgm@gnu.org>
4490
4491 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
4492 Doc fixes.
4493
6546b134
GM
44942012-02-14 Glenn Morris <rgm@gnu.org>
4495
4496 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
4497
d29b2b4c
LI
44982012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
4499
4500 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
4501 way the ports list is computed.
835bdcba
LI
4502 (smtpmail-query-smtp-server): Prompt the user for a port number if
4503 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 4504
08dcdbc9
TZ
45052012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
4506
4507 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
4508
2605051a
GM
45092012-02-13 Glenn Morris <rgm@gnu.org>
4510
4511 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
4512
7ee99f32
TZ
45132012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
4514
4515 * net/gnutls.el (gnutls-trustfiles): New variable.
4516 (gnutls-negotiate): Use it.
4517
5f0af64f
LI
45182012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
4519
4520 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
4521 does its stuff if Gnus is running.
4522
c14fcc95
AM
45232012-02-13 Alan Mackenzie <acm@muc.de>
4524
4525 Fix a loop in c-set-fl-decl-start.
4526
7a71b18d 4527 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
4528 c-backward-syntactic-ws actually moves backwards.
4529
142b4d90
LL
45302012-02-13 Leo Liu <sdl.web@gmail.com>
4531
4532 * net/rcirc.el (rcirc-markup-attributes): Move point to the
4533 beginning so that all \C-o chars are removed.
4534
fa9958a6
TZ
45352012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
4536
dc9924b8 4537 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 4538
0bc5886a
AM
45392012-02-12 Alan Mackenzie <acm@muc.de>
4540
4541 Fix infinite loop with long macros.
4d6769e1 4542 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 4543
d4bd55e7
CY
45442012-02-12 Chong Yidong <cyd@gnu.org>
4545
4546 * window.el (display-buffer): Doc fix (Bug#10785).
4547
66f3fe22
GM
45482012-02-12 Glenn Morris <rgm@gnu.org>
4549
bd7da63e
GM
4550 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4551 (x-disown-selection-internal, x-get-selection-internal):
4552 Sync docs with the xselect.c versions.
4553
66f3fe22
GM
4554 * allout-widgets.el: Add missing license notice.
4555
3e0d2fa7
GM
45562012-02-11 Glenn Morris <rgm@gnu.org>
4557
cfecdf09
GM
4558 * select.el (x-get-selection-internal, x-own-selection-internal)
4559 (x-disown-selection-internal):
4560 * x-dnd.el (x-get-selection-internal): Update declarations.
4561
6d216d7f
GM
4562 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
4563
2bed3f04
GM
4564 * window.el (window-sides-slots):
4565 * tool-bar.el (tool-bar-position):
4566 * term/xterm.el (xterm-extra-capabilities):
4567 * ses.el (ses-self-reference-early-detection):
4568 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
4569 (verilog-auto-wire-type)
4570 (verilog-auto-delete-trailing-whitespace)
4571 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
4572 (verilog-auto-tieoff-declaration):
4573 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
4574 (sql-oracle-statement-starters, sql-oracle-scan-on):
4575 * progmodes/prolog.el (prolog-align-comments-flag)
4576 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
4577 (prolog-left-indent-regexp, prolog-paren-indent-p)
4578 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
4579 (prolog-types, prolog-mode-specificators)
4580 (prolog-determinism-specificators, prolog-directives)
4581 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
4582 (prolog-electric-dot-flag)
4583 (prolog-electric-dot-full-predicate-template)
4584 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
4585 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
4586 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
4587 (prolog-program-switches, prolog-prompt-regexp)
4588 (prolog-debug-on-string, prolog-debug-off-string)
4589 (prolog-trace-on-string, prolog-trace-off-string)
4590 (prolog-zip-on-string, prolog-zip-off-string)
4591 (prolog-use-standard-consult-compile-method-flag)
4592 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
4593 (prolog-imenu-max-lines, prolog-info-predicate-index)
4594 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
4595 (prolog-char-quote-workaround):
4596 * progmodes/cc-vars.el (c-defun-tactic):
4597 * net/tramp.el (tramp-encoding-command-interactive)
4598 (tramp-local-end-of-line):
4599 * net/soap-client.el (soap-client):
4600 * net/netrc.el (netrc-file):
4601 * net/gnutls.el (gnutls):
4602 * minibuffer.el (completion-category-overrides)
4603 (completion-cycle-threshold)
4604 (completion-pcm-complete-word-inserts-delimiters):
4605 * man.el (Man-name-local-regexp):
4606 * mail/feedmail.el (feedmail-display-full-frame):
4607 * international/characters.el (glyphless-char-display-control):
4608 * eshell/em-ls.el (eshell-ls-date-format):
4609 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
4610 (lisp-lambda-list-keyword-parameter-indentation)
4611 (lisp-lambda-list-keyword-parameter-alignment):
4612 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
4613 * dired-x.el (dired-omit-verbose):
4614 * cus-theme.el (custom-theme-allow-multiple-selections):
4615 * calc/calc.el (calc-highlight-selections-with-faces)
4616 (calc-lu-field-reference, calc-lu-power-reference)
4617 (calc-note-threshold):
4618 * battery.el (battery-mode-line-limit):
4619 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4620 (archive-7z-update):
4621 * allout.el (allout-prefixed-keybindings)
4622 (allout-unprefixed-keybindings)
4623 (allout-inhibit-auto-fill-on-headline)
4624 (allout-flattened-numbering-abbreviation):
4625 * allout-widgets.el (allout-widgets-auto-activation)
4626 (allout-widgets-icons-dark-subdir)
4627 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
4628 (allout-widgets-theme-dark-background)
4629 (allout-widgets-theme-light-background)
4630 (allout-widgets-item-image-properties-emacs)
4631 (allout-widgets-item-image-properties-xemacs)
4632 (allout-widgets-run-unit-tests-on-load)
4633 (allout-widgets-time-decoration-activity)
4634 (allout-widgets-hook-error-post-time)
4635 (allout-widgets-track-decoration):
4636 Add missing :version tags to new defcustoms and defgroups.
4637
5fec1b8e
GM
4638 * progmodes/sql.el (sql-ansi-statement-starters)
4639 (sql-oracle-statement-starters): Add custom type.
4640
3e0d2fa7
GM
4641 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
4642 (prolog-system-version): Give it a type.
4643
90b671e2
EZ
46442012-02-11 Eli Zaretskii <eliz@gnu.org>
4645
4646 * term/pc-win.el (x-select-text, x-selection-owner-p)
4647 (x-own-selection-internal, x-disown-selection-internal)
4648 (x-get-selection-internal): Sync doc strings and argument lists
4649 with xselect.c, common-win.el and x-win.el. (Bug#10783)
4650
5eac0c02
LL
46512012-02-11 Leo Liu <sdl.web@gmail.com>
4652
4653 * progmodes/python.el (python-end-of-statement): Fix infinite
4654 loop. (Bug#10788)
4655
f82cb659
GM
46562012-02-10 Glenn Morris <rgm@gnu.org>
4657
4658 * international/mule-cmds.el (unify-8859-on-encoding-mode)
4659 (unify-8859-on-decoding-mode): Properly mark as obsolete.
4660
cc26d239
LI
46612012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4662
4663 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
4664 about SMTP before checking the From header.
4665
91027d08 4666 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
4667 into own function for reuse by emacsbug.el.
4668
1be3ca5a
LL
46692012-02-10 Leo Liu <sdl.web@gmail.com>
4670
4671 * subr.el (condition-case-unless-debug): Rename from
4672 condition-case-no-debug. All callers changed.
4673 (with-demoted-errors): Fix caller.
4674
4675 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
4676 * nxml/rng-valid.el (rng-do-some-validation):
4677 * emacs-lisp/package.el (package-refresh-contents)
4678 (package-menu-execute):
4679 * desktop.el (desktop-create-buffer):
91027d08 4680 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 4681
b011fbfe
GM
46822012-02-10 Glenn Morris <rgm@gnu.org>
4683
b2096d72
GM
4684 * textmodes/bibtex.el:
4685 Add missing :version tags for new/changed defcustoms.
4686
b011fbfe
GM
4687 * files.el (remote-file-name-inhibit-cache): Doc fixes.
4688
4c7e65bf
LI
46892012-02-09 Lars Ingebrigtsen <larsi@rusty>
4690
4691 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
4692 (smtpmail-via-smtp): Use it, or fall back on the From address.
4693 (smtpmail-send-it): Ditto.
4694
f3934f6f
SM
46952012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4698 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
4699 (byte-compile-tmp-var): New const.
4700 (byte-compile-defvar): Use it to minimize .elc size.
4701 Just use `defvar' rather than simulate it (bug#10761).
4702
a075a2c5
GM
47032012-02-09 Glenn Morris <rgm@gnu.org>
4704
cf3aa21b
GM
4705 * files.el (rename-uniquely): Doc fix. (Bug#3806)
4706
354998cd
GM
4707 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
4708 Add :version tags.
4709
dc9924b8
SM
4710 * progmodes/compile.el (compilation-error-screen-columns)
4711 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 4712
dab3703d
GM
4713 * vc/log-view.el (log-view-toggle-entry-display):
4714 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
4715
3f88cd72
GM
4716 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
4717 (report-emacs-bug-can-use-xdg-email):
4718 (report-emacs-bug-insert-to-mailer): Doc fixes.
4719 (report-emacs-bug): Message fix.
4720
d95b247d
GM
4721 * net/browse-url.el (browse-url-can-use-xdg-open)
4722 (browse-url-xdg-open): Doc fixes.
4723
a075a2c5
GM
4724 * electric.el (electric-indent-mode, electric-pair-mode)
4725 (electric-layout-rules, electric-layout-mode): Doc fixes.
4726 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
4727
ffb6157e
MR
47282012-02-08 Martin Rudalics <rudalics@gmx.at>
4729
4730 * server.el (server-unselect-display): Don't inadvertently kill
4731 the current buffer. (Bug#10729)
4732
e1ac4066
GM
47332012-02-08 Glenn Morris <rgm@gnu.org>
4734
34e8a2da
GM
4735 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
4736 (sql-list-table): Doc fixes.
4737
b4ac6e8c
GM
4738 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
4739 Comment out (does nothing).
4740
e1ac4066
GM
4741 * completion.el (dynamic-completion-mode):
4742 * dirtrack.el (dirtrack-debug-mode):
4743 * electric.el (electric-layout-mode):
4744 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
4745 * face-remap.el (text-scale-mode, buffer-face-mode):
4746 * iimage.el (iimage-mode):
4747 * image-mode.el (image-transform-mode):
4748 * minibuffer.el (completion-in-region-mode):
4749 * scroll-lock.el (scroll-lock-mode):
4750 * simple.el (next-error-follow-minor-mode):
4751 * tar-mode.el (tar-subfile-mode):
4752 * tooltip.el (tooltip-mode):
4753 * vcursor.el (vcursor-use-vcursor-map):
4754 * wid-browse.el (widget-minor-mode):
4755 * emulation/tpu-edt.el (tpu-edt-mode):
4756 * emulation/tpu-extras.el (tpu-cursor-free-mode):
4757 * international/iso-ascii.el (iso-ascii-mode):
4758 * language/thai-util.el (thai-word-mode):
4759 * mail/supercite.el (sc-minor-mode):
4760 * net/goto-addr.el (goto-address-mode):
4761 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
4762 * progmodes/cwarn.el (cwarn-mode):
4763 * progmodes/flymake.el (flymake-mode):
4764 * progmodes/glasses.el (glasses-mode):
4765 * progmodes/hideshow.el (hs-minor-mode):
4766 * progmodes/pascal.el (pascal-outline-mode):
4767 * textmodes/enriched.el (enriched-mode):
4768 * vc/smerge-mode.el (smerge-mode):
4769 Doc fixes (minor mode argument).
4770
5e0d957f
EZ
47712012-02-07 Eli Zaretskii <eliz@gnu.org>
4772
4773 * ls-lisp.el (ls-lisp-sanitize): New function.
4774 (ls-lisp-insert-directory): Use it to fix or remove any elements
4775 in file-alist with missing attributes. (Bug#4673)
4776
98d7371e
AM
47772012-02-07 Alan Mackenzie <acm@muc.de>
4778
4779 Fix spurious recognition of c-in-knr-argdecl.
4780
4781 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
4782 putative K&R region.
4783
667ced3a
AM
47842012-02-07 Alan Mackenzie <acm@muc.de>
4785
eb864a71
LM
4786 * progmodes/cc-engine.el (c-forward-objc-directive):
4787 Prevent looping in "#pragma mark @implementation".
667ced3a 4788
5b77774d
MA
47892012-02-07 Michael Albinus <michael.albinus@gmx.de>
4790
4791 * notifications.el (notifications-on-closed-signal): Make `reason'
4792 optional. (Bug#10744)
4793
af008560
GM
47942012-02-07 Glenn Morris <rgm@gnu.org>
4795
60d47423
GM
4796 * emacs-lisp/easy-mmode.el (define-minor-mode):
4797 Doc fixes for the macro and the mode it defines.
4798
dd605cc4
GM
4799 * image.el (imagemagick-types-inhibit): Doc fix.
4800
af008560
GM
4801 * cus-start.el (imagemagick-render-type): Add it.
4802
5cc59a37
LI
48032012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
4804
4d6769e1
JB
4805 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
4806 Set the default at load time, too, so that `font-lock-fontify-buffer'
4807 can be called without setting up the entire mode first. This fixes
4808 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 4809
9a6dd747
CY
48102012-02-06 Chong Yidong <cyd@gnu.org>
4811
2d16b285
CY
4812 * simple.el (list-processes--refresh): Delete exited processes
4813 (Bug#8094).
4814
171e9b6e
CY
4815 * comint.el (comint-next-prompt): next-single-char-property-change
4816 and prev-single-char-property-change never return nil (Bug#8657).
4817
9a6dd747
CY
4818 * custom.el (defcustom): Doc fix (Bug#9711).
4819
aa4589a7
CY
48202012-02-05 Chong Yidong <cyd@gnu.org>
4821
5c2a252f
CY
4822 * cus-edit.el (custom-variable-reset-backup): Quote the value
4823 before storing it in the customized-value property (Bug#6712).
4aab9006 4824 (custom-display): Add a customization type tag.
983b9602 4825 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 4826
aa4589a7
CY
4827 * wid-edit.el (widget-field-value-get): New optional arg to
4828 suppress trailing whitespace truncation.
4829 (character): Use it (Bug#2689).
4830
1ff980ae
AS
48312012-02-05 Andreas Schwab <schwab@linux-m68k.org>
4832
4833 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
4834 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
4835
03988c98
CY
48362012-02-05 Chong Yidong <cyd@gnu.org>
4837
eeb6cc88
CY
4838 * cus-edit.el (custom-variable-value-create): For mismatched
4839 types, show the current value (Bug#7600).
4840
03988c98
CY
4841 * custom.el (defcustom): Doc fix.
4842
f8cdeef0
GM
48432012-02-05 Glenn Morris <rgm@gnu.org>
4844
4845 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
4846
0696d255
JB
48472012-02-05 Juanma Barranquero <lekktu@gmail.com>
4848
4849 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
4850 (pp-buffer): Use `ignore-errors', `looking-at-p'.
4851 (pp-last-sexp): Use `looking-at-p'.
4852
34c99998
GM
48532012-02-04 Glenn Morris <rgm@gnu.org>
4854
8f05da42
GM
4855 * files.el (revert-buffer):
4856 Doc fix (mention revert-buffer-in-progress-p).
4857
f160676e
GM
4858 * emacs-lisp/ert-x.el (ert-simulate-command):
4859 Check deferred-action-list (which is obsolete) is bound.
4860
c7291ad9
GM
4861 * subr.el (with-wrapper-hook): Doc fixes.
4862
34c99998
GM
4863 * simple.el (filter-buffer-substring-functions)
4864 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
4865
6283a7d3
LL
48662012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
4867
4868 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
4869 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
4870
e96e3013
LL
48712012-02-04 Leo Liu <sdl.web@gmail.com>
4872
4873 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
4874
8ded50f2
GM
48752012-02-04 Glenn Morris <rgm@gnu.org>
4876
82ff1d13
GM
4877 * image.el (image-extension-data): Add obsolete alias.
4878
987a0a16
GM
4879 * isearch.el (isearch-update): Doc fix.
4880
ea32ef46
GM
4881 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
4882
8ded50f2
GM
4883 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
4884
eea14f31
GM
48852012-02-03 Glenn Morris <rgm@gnu.org>
4886
4887 * image.el (image-animated-p): Doc fix. Use image-animated-types.
4888 (image-animate-timeout): Doc fix.
4889
4890 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
4891
12f381b7
GM
48922012-02-02 Glenn Morris <rgm@gnu.org>
4893
953cebf5
GM
4894 * server.el (server-auth-dir): Doc fix.
4895 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
4896
12f381b7
GM
4897 * subr.el (run-mode-hooks): Doc fix.
4898
953a8c3b
JL
48992012-02-02 Juri Linkov <juri@jurta.org>
4900
4901 * image-mode.el (image-toggle-display-image): Remove tautological
4902 `major-mode' from the `derived-mode-p' test.
4903
c5d3843c
KH
49042012-02-02 Kenichi Handa <handa@m17n.org>
4905
9f6e692e 4906 * composite.el (compose-region): Cancel previous change.
c5d3843c 4907
159462d4 49082012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
4909
4910 * composite.el (compose-region, compose-string): Signal error for
4911 a null string component (Bug#6988).
4912
9f562668
CY
49132012-02-01 Chong Yidong <cyd@gnu.org>
4914
e2cef717
CY
4915 * view.el (view-buffer-other-window, view-buffer-other-frame):
4916 Handle special modes like view-buffer (Bug#10650).
4917 (view-buffer): Simplify.
4918
9f562668
CY
4919 * frame.el (set-frame-font): Tweak meaning of third argument.
4920
9f6e692e
JB
4921 * dynamic-setting.el (font-setting-change-default-font):
4922 Use set-frame-font (Bug#9982).
9f562668 4923
781acb9f
GM
49242012-02-01 Glenn Morris <rgm@gnu.org>
4925
6035be52
GM
4926 * progmodes/compile.el (compilation-internal-error-properties):
4927 Respect compilation-first-column in the "*compilation*" buffer.
4928
781acb9f
GM
4929 * emacs-lisp/easy-mmode.el (define-minor-mode):
4930 Relax :variable's test for a named function.
4931
abbceb00
AM
49322012-01-31 Alan Mackenzie <acm@muc.de>
4933
4934 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
4935 off by one error.
4936
fce3fdeb
CY
49372012-01-31 Chong Yidong <cyd@gnu.org>
4938
4939 * frame.el (set-frame-font): New arg ALL-FRAMES.
4940
4941 * menu-bar.el (menu-set-font): Use set-frame-font.
4942
4943 * faces.el (face-spec-reset-face): Don't apply unspecified
4944 attribute values to the default face.
4945
47893581
JB
49462012-01-31 Juanma Barranquero <lekktu@gmail.com>
4947
4948 * progmodes/cwarn.el (cwarn): Remove dead link.
4949 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
4950 Remove * from defcustom docstrings.
4951 (turn-on-cwarn-mode): Make obsolete.
4952 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
4953 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
4954
e58e988a
GM
49552012-01-31 Glenn Morris <rgm@gnu.org>
4956
60dc2671 4957 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 4958 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 4959 Allow named functions to be used as the cdr of :variable.
e58e988a 4960
7a3f511d
GM
49612012-01-30 Glenn Morris <rgm@gnu.org>
4962
4963 * emacs-lisp/authors.el (authors-fixed-entries):
4964 Remove reference to deleted file rnewspost.el.
4965
cb882333
JB
49662012-01-29 Juanma Barranquero <lekktu@gmail.com>
4967
4968 * window.el (window-with-parameter): Remove unused variable `windows'.
4969 (window--side-check): Remove unused variable `code'.
4970 (window--resize-siblings): Remove unused variable `first'.
4971 (adjust-window-trailing-edge): Remove unused variable `failed'.
4972 (window-deletable-p, window--delete): Remove unused variable `buffer'.
4973 Use `let', not `let*'.
4974 (balance-windows-2): Remove unused variable `found'.
4975 (window--state-put-2): Remove unused variable `splits'.
4976 (window-state-put): Remove unused variable `selected'.
4977 (same-window-p): Use `string-match-p'.
4978 (display-buffer-assq-regexp): Remove unused variable `value'.
4979 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
4980 Mark argument ALIST as ignored.
4981 (pop-to-buffer): Remove unused variable `old-window'.
4982
907201af
EZ
49832012-01-29 Eli Zaretskii <eliz@gnu.org>
4984
4985 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
4986 and .lzma compressed files.
4987
ea162670
CY
49882012-01-29 Chong Yidong <cyd@gnu.org>
4989
5b95ee8a
CY
4990 * frame.el (window-system-default-frame-alist): Doc fix.
4991
ea162670
CY
4992 * dynamic-setting.el (font-setting-change-default-font): Don't
4993 change the default face if SET-FONT argument is non-nil (Bug#9982).
4994
d6e6f4b1
SB
49952012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
4996
4997 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
4998
0f29fa41 49992012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
5000
5001 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
5002 breakpoints in files outside current directory (Bug#6098).
5003
db174434
CY
50042012-01-29 Chong Yidong <cyd@gnu.org>
5005
6b25e4e2
SE
5006 * progmodes/python.el: Require ansi-color at top-level.
5007
6df6ae42
JB
5008 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
5009 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
5010 (lisp-mode-abbrev-table): Add doc.
5011 (lisp-mode-variables): Don't set local-abbrev-table.
5012 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
5013
e70ee681
RW
50142012-01-28 Roland Winkler <winkler@gnu.org>
5015
5016 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
5017
ace88aa2
RW
50182012-01-28 Roland Winkler <winkler@gnu.org>
5019
5020 * textmodes/bibtex.el (bibtex-entry-alist): New function.
5021 (bibtex-set-dialect): Use it. Either set global values of
5022 dialect-dependent variables or bind these variables buffer-locally
5023 (Bug#10254).
5024 (bibtex-mode): Call bibtex-set-dialect via
5025 hack-local-variables-hook.
eb864a71
LM
5026 (bibtex-dialect): Update docstring.
5027 Add safe-local-variable predicate.
ace88aa2
RW
5028 (bibtex-entry-alist, bibtex-field-alist): Initialize via
5029 bibtex-set-dialect.
5030 (bibtex-mode-map): Define menu for each dialect.
5031 (bibtex-entry): Fix docstring.
5032
93376c5b
CY
50332012-01-28 Chong Yidong <cyd@gnu.org>
5034
5035 * eshell/esh-arg.el (eshell-quote-argument): New function.
5036
5037 * eshell/esh-ext.el (eshell-invoke-batch-file):
5038 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
5039 first arg to eshell-parse-command (Bug#10523).
5040
4372494f
DA
50412012-01-28 Drew Adams <drew.adams@oracle.com>
5042
5043 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
5044 `default-directory' is non-nil.
5045
4d4ec1f8
EZ
50462012-01-28 Eli Zaretskii <eliz@gnu.org>
5047
5048 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
5049 line that displays system-configuration-options. (Bug#9924)
5050
7c188927
DA
50512012-01-28 Drew Adams <drew.adams@oracle.com>
5052
5053 * descr-text.el (describe-char): Show information about POS, in
5054 addition to information about the character at POS. Improve and
5055 update the doc string. Change "code point" to "code point in
5056 charset", to avoid confusion with the character's Unicode code
5057 point shown above that. (Bug#10129)
5058
e0da685a
EZ
50592012-01-28 Eli Zaretskii <eliz@gnu.org>
5060
5061 * descr-text.el (describe-char): Show the raw character, not only
5062 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
5063 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
5064 for the reasons.
5065
70550acf
PH
50662012-01-28 Phil Hagelberg <phil@hagelb.org>
5067
eb864a71
LM
5068 * emacs-lisp/package.el (package-install):
5069 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 5070
0ce8e868
CY
50712012-01-28 Chong Yidong <cyd@gnu.org>
5072
cb882333
JB
5073 * emacs-lisp/package.el (package-maybe-load-descriptor):
5074 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
5075 (package-maybe-load-descriptor): Use it.
5076 (package-download-transaction): Fully load required packages
5077 inside the loop, so that `require' calls work (Bug#10593).
5078 (package-install): No need to call package-initialize now.
5079
2e7f3bea
CY
50802012-01-28 Chong Yidong <cyd@gnu.org>
5081
6e9bad14
CY
5082 * simple.el (deactivate-mark): Doc fix (Bug#8614).
5083
f823b8ca
CY
5084 * tooltip.el (tooltip-mode): Doc fix.
5085 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
5086
2680c309
CY
5087 * frame.el (set-cursor-color): Doc fix (Bug#352).
5088
d7a9e63b
CY
5089 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
5090 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
5091
2e7f3bea
CY
5092 * cus-edit.el (custom-buffer-create-internal): Fix search button
5093 action (Bug#10542).
2ae01800 5094 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 5095
fc4f7a23
EW
50962012-01-27 Eduard Wiebe <usenet@pusto.de>
5097
5098 * dired.el (dired-mark-files-regexp):
5099 Include any subdirectory components. (Bug#10445)
5100
7dd37071
ML
51012012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
5102
5103 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
5104 Handle [host]:port syntax. (Bug#10533)
5105
a268160b
AH
51062012-01-27 Alex Harsanyi <harsanyi@mac.com>
5107
5108 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
5109
e43273ef
GM
51102012-01-26 Glenn Morris <rgm@gnu.org>
5111
5112 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
5113 * term.el (term-raw-escape-map): Use Control-X-prefix.
5114 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
5115
1edf595d
MR
51162012-01-25 Martin Rudalics <rudalics@gmx.at>
5117
5118 * window.el (window-state-get, window--state-get-1): Don't deal
5119 with fixed-sizeness of windows. Simplify code.
5120
fa8eafef
JC
51212012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
5122
6df6ae42
JB
5123 * window.el (window--state-get-1, window--state-put-2):
5124 Don't save and restore the mark.
fa8eafef 5125
0b21c100
CY
51262012-01-25 Chong Yidong <cyd@gnu.org>
5127
5128 * custom.el (custom-variable-p): Doc fix.
5129
5ae1a6c8
GM
51302012-01-25 Glenn Morris <rgm@gnu.org>
5131
40047858
GM
5132 * dired.el (dired-goto-file): Handle some of the more common
5133 characters that `ls -b' escapes. (Bug#10596)
5134
5ddce96c
GM
5135 * progmodes/compile.el (compilation-next-error-function):
5136 Respect compilation-first-column in the "*compilation*" buffer.
5137 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
5138
5ae1a6c8
GM
5139 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
5140
b559f1a9
GM
51412012-01-24 Glenn Morris <rgm@gnu.org>
5142
5143 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
5144
6725d21a
JD
51452012-01-24 Julien Danjou <julien@danjou.info>
5146
5147 * color.el (color-rgb-to-hsl): Fix value computing.
5148 (color-hue-to-rgb): New function.
5149 (color-hsl-to-rgb): New function.
5150 (color-clamp, color-saturate-hsl, color-saturate-name)
5151 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
5152 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
5153
70df4bbe
GM
51542012-01-24 Glenn Morris <rgm@gnu.org>
5155
5156 * vc/vc-rcs.el (vc-rcs-create-tag):
5157 * vc/vc-sccs.el (vc-sccs-create-tag):
5158 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
5159
802a2ae2
ML
51602012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
5161
5162 * eshell/esh-util.el (eshell-read-hosts-file):
5163 Skip comment lines. (Bug#10549)
5164
d7128bb1
ML
5165 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
5166
d1a5c3b4
JB
51672012-01-23 Juanma Barranquero <lekktu@gmail.com>
5168
2724d9c7
JB
5169 * subr.el (display-delayed-warnings): Doc fix.
5170 (collapse-delayed-warnings): New function to collapse identical
5171 adjacent warnings.
5172 (delayed-warnings-hook): Add it.
d1a5c3b4 5173
a5509865
MA
51742012-01-22 Michael Albinus <michael.albinus@gmx.de>
5175
5176 * net/tramp.el (tramp-action-login): Set connection property "login-as".
5177
a5509865
MA
5178 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
5179 (tramp-default-user-alist): Don't add "pscp".
5180 (tramp-do-copy-or-rename-file-out-of-band): Use connection
5181 property "login-as", if set. (Bug#10530)
5182
cc6d5805
MA
51832012-01-21 Michael Albinus <michael.albinus@gmx.de>
5184
5185 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
5186 "plink1" and "psftp". (Bug#10530)
5187
51882012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
5189
5190 * international/mule-cmds.el (prefer-coding-system): Show a
5191 warning message if the default value of file-name-coding-system
5192 was not changed.
5193
f0960428
JC
51942012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5195
cb882333
JB
5196 * windmove.el (windmove-reference-loc):
5197 Fix windmove-reference-loc miscalculation.
f0960428 5198
dd6f2a63
JB
51992012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
5200
5201 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
5202 default unit.
5203
7b447e9b
GM
52042012-01-21 Glenn Morris <rgm@gnu.org>
5205
117a9ea1
GM
5206 * international/mule.el (auto-coding-alist): Add .tbz.
5207
7b447e9b
GM
5208 * files.el (local-enable-local-variables): Doc fix.
5209 (inhibit-local-variables-regexps): Rename from
5210 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
5211 Doc fix. Add some extensions from auto-coding-alist.
5212 (inhibit-local-variables-suffixes):
5213 Rename from inhibit-first-line-modes-suffixes. Doc fix.
5214 (inhibit-local-variables-p):
5215 New function, extracted from set-auto-mode-1.
5216 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
5217 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
5218 (hack-local-variables): Doc fix. Make the mode-only case
5219 respect enable-local-variables and friends.
5220 Respect inhibit-local-variables-regexps for file-locals, but
5221 not for directory-locals.
5222 (set-visited-file-name):
5223 Take account of inhibit-local-variables-regexps.
5224 Whether it applies may change as the file name is changed.
5225 * jka-cmpr-hook.el (jka-compr-install):
5226 * jka-compr.el (jka-compr-uninstall):
5227 Update for inhibit-first-line-modes-suffixes name change.
5228
dd6e3cdd
MR
52292012-01-20 Martin Rudalics <rudalics@gmx.at>
5230
5231 * help-macro.el (make-help-screen): Temporarily restore original
5232 binding for minor-mode-map-alist (Bug#10454).
5233
0d0deb38
JD
52342012-01-19 Julien Danjou <julien@danjou.info>
5235
5236 * color.el (color-name-to-rgb): Use the white color to find the max
5237 color component value and return correctly computed values.
5238 (color-name-to-rgb): Add missing float conversion for max value.
5239
34a02f46
MR
52402012-01-19 Martin Rudalics <rudalics@gmx.at>
5241
5242 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
5243 special state value for window-persistent-parameters.
5244 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
5245 (window--state-put-2): Reset all window parameters to nil before
5246 assigning values of persistent parameters.
5247
606c44c4
AM
52482012-01-18 Alan Mackenzie <acm@muc.de>
5249
5250 Eliminate sluggishness and hangs in fontification of "semicolon
5251 deserts".
5252
cb882333
JB
5253 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
5254 Change value 10000 -> 3000.
606c44c4
AM
5255 (c-state-safe-place): Reformulate so it doesn't stack up an
5256 infinite number of wrong entries in c-state-nonlit-pos-cache.
5257 (c-determine-limit-get-base, c-determine-limit): New functions to
5258 determine backward search limits disregarding literals.
5259 (c-find-decl-spots): Amend commenting.
5260 (c-cheap-inside-bracelist-p): New function which detects "={".
5261
5262 * progmodes/cc-fonts.el
5263 (c-make-font-lock-BO-decl-search-function): Give a limit to a
5264 backward search.
5265 (c-font-lock-declarations): Fix an occurrence of point being
5266 undefined. Check additionally for point being in a bracelist or
5267 near a macro invocation without a semicolon so as to avoid a
5268 fruitless time consuming search for a declarator. Give a more
5269 precise search limit for declarators using the new
5270 c-determine-limit.
5271
f3860cea
GM
52722012-01-18 Glenn Morris <rgm@gnu.org>
5273
5274 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
5275 (set-auto-mode): Doc fixes.
5276
1db03b16
GM
52772012-01-17 Glenn Morris <rgm@gnu.org>
5278
0e6038be
GM
5279 * isearch.el (search-nonincremental-instead): Fix doc typo.
5280
1db03b16
GM
5281 * dired.el (dired-insert-directory): Handle newlines in directory name.
5282 (dired-build-subdir-alist): Unescape newlines in directory name.
5283
4cb0aa75
MA
52842012-01-17 Michael Albinus <michael.albinus@gmx.de>
5285
5286 * net/tramp.el (tramp-local-end-of-line): New defcustom.
5287 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
5288 (tramp-action-terminal): Use it. (Bug#10530)
5289
1d00653d
SM
52902012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5291
5292 * minibuffer.el (completion--replace): Strip properties (bug#10062).
5293
6a6ee00d
MR
52942012-01-16 Martin Rudalics <rudalics@gmx.at>
5295
5296 * window.el (window-state-ignored-parameters): Remove variable.
5297 (window--state-get-1): Rename argument MARKERS to IGNORE.
5298 Handle persistent window parameters. Make copy of clone-of
5299 parameter only if requested. (Bug#10348)
5300 (window--state-put-2): Install a window parameter only if it has
5301 a non-nil value or an existing parameter shall be overwritten.
5302
97912def
MA
53032012-01-15 Michael Albinus <michael.albinus@gmx.de>
5304
5305 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
5306
688070a5
EZ
53072012-01-14 Eli Zaretskii <eliz@gnu.org>
5308
5309 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
5310 don't pass the (nil) value of `upnode' to string-match.
5311
301afadc
CY
53122012-01-14 Chong Yidong <cyd@gnu.org>
5313
5314 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 5315 Fix values recognized by the cursorBlink resource.
301afadc 5316
9e5788aa
PE
53172012-01-14 Paul Eggert <eggert@cs.ucla.edu>
5318
5319 * epg.el (epg--make-temp-file): Avoid permission race condition
5320 when running on old Emacs versions (bug#10403).
5321
3cdb7f5a
GM
53222012-01-14 Glenn Morris <rgm@gnu.org>
5323
5324 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
5325
8c82b1b4
AM
53262012-01-13 Alan Mackenzie <acm@muc.de>
5327
5328 Fix filling for when filladapt mode is enabled.
5329
5330 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
5331 c-mask-paragraph, pass in `fill-paragraph' rather than
5332 `fill-region-as-paragraph'. (This is a reversion of a previous
5333 change.)
eb864a71
LM
5334 * progmodes/cc-mode.el (c-basic-common-init):
5335 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 5336
e517eda4
GM
53372012-01-13 Glenn Morris <rgm@gnu.org>
5338
1498536e
GM
5339 * dired.el (dired-switches-escape-p): New function.
5340 (dired-insert-directory): Use dired-switches-escape-p.
5341 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
5342
e517eda4
GM
5343 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
5344
328f984d
GM
53452012-01-12 Glenn Morris <rgm@gnu.org>
5346
5347 * mail/sendmail.el (mail-mode): Update paragraph-separate for
5348 changes in adaptive-fill-regexp. (Bug#10276)
5349
2cc769a8
AM
53502012-01-11 Alan Mackenzie <acm@muc.de>
5351
5352 Fix Emacs bug #10463 - put `widen's around the critical spots.
5353
1d00653d 5354 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
5355 widen around each invocation of c-state-pp-to-literal. Remove an
5356 unused let variable.
5357
e52c37fa
GM
53582012-01-11 Glenn Morris <rgm@gnu.org>
5359
5360 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 5361 Doc fix.
e52c37fa 5362
96f8741e
CY
53632012-01-10 Chong Yidong <cyd@gnu.org>
5364
1d00653d
SM
5365 * net/network-stream.el (network-stream-open-starttls):
5366 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
5367 response to the capability command.
5368
b09a806e
GM
53692012-01-10 Glenn Morris <rgm@gnu.org>
5370
5371 * mail/unrmail.el (unrmail): Tweak previous change.
5372
7655cb66
CY
53732012-01-09 Chong Yidong <cyd@gnu.org>
5374
5375 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
5376
9d5a8f0b
AM
53772012-01-08 Alan Mackenzie <acm@muc.de>
5378
5379 Optimise font locking in long enum definitions.
5380
5381 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
5382 arm to a cond form to handle enums.
5383 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
5384 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
5385
9a0115ab 53862012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
5387
5388 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 5389 (Bug#10401)
6bb72cbd 5390
f186bb95
LMI
53912012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5392
29232a68
LMI
5393 * faces.el (set-face-attribute): Clarify the meaning of the nil
5394 frame (bug#10294).
5395
4e5d086d
LMI
5396 * subr.el (with-selected-frame): Mention that the selected frame
5397 is restored (bug#9980).
5398
8e66aebe
LMI
5399 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
5400 (bug#9759).
5401
cd394be1 5402 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
5403 (password-read): Don't autoload unused function.
5404
adf4e762
JB
54052012-01-07 Juanma Barranquero <lekktu@gmail.com>
5406
5407 * progmodes/which-func.el (which-func-mode): Turn into a
5408 non-interactive function and mark as obsolete (bug#10428).
5409
89bd9ccd
CY
54102012-01-06 Chong Yidong <cyd@gnu.org>
5411
5412 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
5413 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
5414 functions, along with 1 and -1.
5415
4afee9d5
EZ
54162012-01-06 Eli Zaretskii <eliz@gnu.org>
5417
5418 * time.el (display-time-load-average)
5419 (display-time-default-load-average): Doc fixes. See the thread
5420 starting at
5421 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
5422 for the details.
5423
536aea70
GM
54242012-01-06 Glenn Morris <rgm@gnu.org>
5425
665ae865
GM
5426 * mail/unrmail.el (unrmail): Give an explicit error if the input file
5427 has no messages. (Bug#10377)
5428
c869783d
GM
5429 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
5430 than Info-edit. (Bug#10385)
5431
2bb4227e
GM
5432 * time.el (display-time-load-average, display-time-next-load-average):
5433 Doc fixes.
5434
7d5944b9
GM
5435 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
5436 local setting of buffer-read-only to the input buffer. (Bug#10419)
5437
536aea70
GM
5438 * calendar/calendar.el (calendar-mode):
5439 Locally set scroll-margin to 0. (Bug#10379)
5440
7dccca16
UM
54412012-01-06 Ulrich Mueller <ulm@gentoo.org>
5442
5443 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
5444
afbb7930
GM
54452012-01-05 Glenn Morris <rgm@gnu.org>
5446
5447 * eshell/em-unix.el (diff-no-select): Autoload it.
5448 (eshell/diff): Use diff-no-select. (Bug#10420)
5449
04482335
CY
54502012-01-05 Chong Yidong <cyd@gnu.org>
5451
7baca3bc
CY
5452 * shell.el (shell-dynamic-complete-functions): Revert last change.
5453 (shell-command-completion-function): New function.
5454 (shell-completion-vars): Use it to implement
5455 shell-completion-execonly (Bug#10417).
5456
04482335
CY
5457 * custom.el (enable-theme): Don't set custom-safe-themes.
5458
1d00653d
SM
5459 * cus-theme.el (custom-theme-merge-theme):
5460 Ignore custom-enabled-themes and custom-safe-themes.
04482335 5461
bb5aa5d6
MM
54622012-01-05 Michael R. Mauger <mmaug@yahoo.com>
5463
5464 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
5465 first prompt in `sql-interacive-mode'.
5466 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 5467 keywords.
6df6ae42 5468 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
5469 (sql-product-interactive): Bug fix: Set `sql-buffer' in
5470 context of original buffer. Invoke `sql-login-hook'.
5471
a7183d7c
EZ
54722012-01-04 Eli Zaretskii <eliz@gnu.org>
5473
5474 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
5475 letters in cite-prefix.
5476
a1eacd1e
LMI
54772012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
5478
5479 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
5480
787cdb34
CY
54812012-01-03 Chong Yidong <cyd@gnu.org>
5482
1d00653d
SM
5483 * shell.el (shell-dynamic-complete-functions):
5484 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
5485 comint-filename-completion first (Bug#10417).
5486
30710442
RS
54872012-01-02 Richard Stallman <rms@gnu.org>
5488
5489 * battery.el (battery-status-function):
5490 Detect when to use battery-yeeloong-sysfs.
5491 (battery-echo-area-format): Add string for Yeeloong.
5492 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
5493 (battery-yeeloong-sysfs): New function.
5494
f75bfc33
CY
54952012-01-02 Chong Yidong <cyd@gnu.org>
5496
5497 * dirtrack.el (dirtrack-list): Eliminate unused third element.
5498 (dirtrack): Merge code for handling relative filenames in prompt
5499 from shell-dir-cookie-watcher.
5500 (dirtrack-debug-message): New arg to avoid excess format calls.
5501
5502 * shell.el (shell-dir-cookie-re): Variable deleted.
5503 (shell-dir-cookie-watcher): Function deleted.
5504 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
5505 with dirtrack-mode.
5506
651e947e
EZ
55072012-01-01 Eli Zaretskii <eliz@gnu.org>
5508
1d00653d
SM
5509 * term/w32-win.el (dynamic-library-alist) <gnutls>:
5510 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
5511 libgnutls-26.dll.
5512
94d4c7dc
AS
55132011-12-31 Andreas Schwab <schwab@linux-m68k.org>
5514
5515 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
5516
8d43f3cd
EZ
55172011-12-31 Eli Zaretskii <eliz@gnu.org>
5518
5519 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
5520 headers of non-MIME messages, when rmail-enable-mime is non-nil.
5521
98c8795a
MA
55222011-12-29 Michael Albinus <michael.albinus@gmx.de>
5523
5524 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
5525 also for alternative shells.
5526 (tramp-open-connection-setup-interactive-shell): Check, whether
5527 the shell is a busybox.
5528 (tramp-send-command): Don't suppress multiple prompts for
5529 busyboxes, it hurts.
5530
51281b32
CY
55312011-12-28 Chong Yidong <cyd@gnu.org>
5532
5533 * progmodes/gdb-mi.el (gdb-get-source-file-list)
5534 (gdb-get-source-file): Move mode line update to
5535 gdb-get-source-file (Bug#10087).
5536
2170cb53
CY
55372011-12-25 Chong Yidong <cyd@gnu.org>
5538
5539 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
5540 gud-gdb-marker-filter without taking it as an argument.
5541 (gud-gdb-run-command-fetch-lines): Caller changed.
5542 (gud-gdb-completion-function): New variable.
5543 (gud-gdb-completion-at-point): Use it.
5544 (gud-gdb-completions-1): Split from gud-gdb-completions.
5545
5546 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
5547 function as separate arguments.
5548 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
5549 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
5550 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
5551 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
5552 (gdb-stopped, def-gdb-auto-update-trigger)
5553 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
5554 (gdb-get-changed-registers, gdb-get-main-selected-frame):
5555 Callers changed.
2170cb53
CY
5556 (gud-gdbmi-completions): New function.
5557 (gdb): Use it for generating the completion table.
5558
be8b11bb
AM
55592011-12-24 Alan Mackenzie <acm@muc.de>
5560
5561 Introduce a mechanism to widen the region used in context font
1d00653d 5562 locking. Use this to protect declarations from losing their contexts.
be8b11bb 5563
1d00653d
SM
5564 * progmodes/cc-langs.el (c-before-font-lock-functions):
5565 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 5566 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
5567 functions to be run just before context (etc.) font locking.
5568
5569 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 5570 New, functionality extracted from
be8b11bb 5571 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 5572 (c-in-after-change-fontification): New variable.
be8b11bb
AM
5573 (c-after-change): Set c-in-after-change-fontification.
5574 (c-set-fl-decl-start): Rejig its interface, so it can be called
5575 from both after-change and context fontifying.
b81d40f0
JB
5576 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
5577 New functions.
5578 (c-standard-font-lock-fontify-region-function): New variable.
5579 (c-font-lock-fontify-region): New function.
be8b11bb 5580
341cf6ac
JL
55812011-12-24 Juri Linkov <juri@jurta.org>
5582
5583 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
5584 (Bug#10348)
5585
bffcee0a
MA
55862011-12-23 Michael Albinus <michael.albinus@gmx.de>
5587
5588 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
5589 existence of source file. (Bug#10325)
5590
cb5e207c
AM
55912011-12-23 Alan Mackenzie <acm@muc.de>
5592
5593 Fix unstable fontification inside templates.
5594
b81d40f0
JB
5595 * progmodes/cc-langs.el (c-before-font-lock-functions):
5596 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
5597 additionally has c-set-fl-decl-start. The other languages (apart
5598 from AWK) have that as a single entry.
5599
b81d40f0
JB
5600 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
5601 The functionality for "local" declarations has been extracted to
cb5e207c
AM
5602 c-set-fl-decl-start.
5603
b81d40f0
JB
5604 * progmodes/cc-mode.el (c-common-init, c-after-change):
5605 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
5606 (c-set-fl-decl-start): New function, extracted from
5607 c-font-lock-enclosing-decls and enhanced.
5608
60ff536c
JB
56092011-12-23 Juanma Barranquero <lekktu@gmail.com>
5610
5611 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
5612
1c4757d6
JL
56132011-12-22 Juri Linkov <juri@jurta.org>
5614
5615 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
5616
d031f2c7
CY
56172011-12-22 Chong Yidong <cyd@gnu.org>
5618
5619 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
5620
bace743a
DA
56212011-12-21 Drew Adams <drew.adams@oracle.com>
5622
5623 * files.el (file-remote-p): Fix docstring. (Bug#10319)
5624
728a1f2b
JC
56252011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
5626
5627 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
5628
0d373f73
TZ
56292011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
5630
fec0aaa4
TZ
5631 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
5632 highlighting and support. Fix up comments for capitalization.
5633 (cfengine-mode-debug): New var.
5634 (cfengine3-mode): Change the modeline indicator to "CFE3".
5635 (cfengine3-font-lock-keywords): Improve defun highlighting.
5636 (cfengine2-actions): Rename from `cfengine-actions'.
5637 (cfengine2-font-lock-keywords): Rename from
5638 `cfengine-font-lock-keywords'.
5639 (cfengine2-imenu-expression): Rename from
5640 `cfengine-imenu-expression'.
5641 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
5642 (cfengine2-beginning-of-defun): Rename from
5643 `cfengine-beginning-of-defun'.
5644 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
5645 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
5646 (cfengine2-mode): Rename from `cfengine-mode'. Change the
5647 modeline indicator to "CFE2".
5648 (cfengine-mode): Defalias to `cfengine-auto-mode'.
5649 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 5650
bc86f573
CY
56512011-12-21 Chong Yidong <cyd@gnu.org>
5652
5653 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
5654 filename argument.
5655
d45ba96b
MR
56562011-12-20 Martin Rudalics <rudalics@gmx.at>
5657
5658 * window.el (window-normalize-buffer-to-display): Remove.
5659 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
5660
a6198c90
CY
56612011-12-19 Chong Yidong <cyd@gnu.org>
5662
5663 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
5664 Don't signal an error in a predicate function; return non-nil.
5665 (vc-dir-mark-file): Move the error here.
5666 (vc-dir-mark-unmark): If acting on the region, keep going if one
5667 of the entries cannot be marked/unmarked.
5668 (vc-dir-mark-all-files): If current entry is a directory, mark
5669 only child files, as documented.
5670
34c5fb55
VB
56712011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
5672
5673 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
5674 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
5675 addition.
5676
c803b2b7
JD
56772011-12-18 Jan Djärv <jan.h.d@swipnet.se>
5678
5679 * term/ns-win.el (ns-get-selection-internal)
5680 (ns-store-selection-internal): Declare.
1154d12e
JB
5681 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
5682 Declare as obsolete.
5683 (ns-get-pasteboard, ns-paste-secondary):
5684 Use ns-get-selection-internal.
5685 (ns-set-pasteboard, ns-copy-including-secondary):
5686 Use ns-store-selection-internal.
c803b2b7 5687
9cff91f8 56882011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
5689
5690 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 5691 (vc-deduce-fileset): Doc fix.
99a289d9 5692
f16c898a
AS
56932011-12-16 Andreas Schwab <schwab@linux-m68k.org>
5694
5695 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
5696
763237c4
SS
56972011-12-13 Sam Steingold <sds@gnu.org>
5698
5699 * man.el (Man-getpage-in-background): When running under a
5700 window-system, ignore $MANWIDTH and $COLUMNS.
5701
5fc1c122
KH
57022011-12-15 Kenichi Handa <handa@m17n.org>
5703
5704 * language/ethio-util.el: Change coding tag to utf-8-emacs.
5705 (setup-ethiopic-environment-internal): Comment out key-binding for
5706 ethio-toggle-punctuation.
5707
13d49cbb
AM
57082011-12-13 Alan Mackenzie <acm@muc.de>
5709
898169a2
AM
5710 Add the switch statement to AWK Mode.
5711
7a71b18d 5712 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
5713 "default" to the keywords regexp.
5714
7a71b18d 5715 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 5716 expression as the rest.
1d00653d
SM
5717 (c-nonlabel-token-key): Allow string literals for AWK.
5718 Refactor for the other modes.
898169a2 5719
13d49cbb 5720 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 5721 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
5722 routines. Limit backward searching in c-font-lock-enclosing.decl.
5723
5724 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
5725 pp-state and literal type in addition to the limits.
1d00653d 5726 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 5727 (c-state-literal-at): Use the above new defun.
1d00653d
SM
5728 (c-slow-in-literal, c-fast-in-literal): Remove.
5729 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
5730
5731 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
5732 being in a literal. Add a limit for backward searching.
5733
5734 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
5735 c-slow-in-literal.
5736
15e0efc7
SM
57372011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
5740
454592a6
MR
57412011-12-13 Martin Rudalics <rudalics@gmx.at>
5742
5743 * window.el (delete-other-windows): Use correct frame in call to
5744 window-with-parameter.
5745
87393f26
DP
57462011-12-12 Daniel Pfeiffer <occitan@t-online.de>
5747
5748 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
5749 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
5750 (makefile-gmake-statements, makefile-makepp-statements):
5751 Use it and add new makepp keywords.
5752 (makefile-makepp-font-lock-keywords): Add new patterns.
5753 (makefile-match-function-end): Match new [...] and [[...]].
5754
11636b22
JB
57552011-12-11 Juanma Barranquero <lekktu@gmail.com>
5756
5757 * ses.el (ses-call-printer-return, ses-cell-property-get)
5758 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
5759 (ses-create-cell-variable, ses-reset-header-string)
5760 (ses-cell-set-formula, ses-repair-cell-reference-all)
5761 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
5762 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
5763 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
5764 (ses-aset-with-undo, ses-load, ses-truncate-cell)
5765 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
5766 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
5767 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
5768 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
5769 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
5770 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
5771 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
5772 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
5773
cf018193
VB
57742011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
5775
5776 * ses.el: The overall change is to add cell renaming, that is
5777 setting fancy names for cell symbols other than name matching
5778 "\\`[A-Z]+[0-9]+\\'" regexp .
5779 (ses-create-cell-variable): New defun.
5780 (ses-relocate-formula): Relocate formulas only for cells the
5781 symbols of which are not renamed, i.e. symbols whose names do not
5782 match regexp "\\`[A-Z]+[0-9]+\\'".
5783 (ses-relocate-all): Relocate values only for cells the symbols of
5784 which are not renamed.
5785 (ses-load): Create cells variables as the (ses-cell ...) are read,
5786 in order to check row col consistency with cell symbol name only
5787 for cells that are not renamed.
5788 (ses-replace-name-in-formula): New defun.
5789 (ses-rename-cell): New defun.
5790
ee957461
CY
57912011-12-11 Chong Yidong <cyd@gnu.org>
5792
5793 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
5794 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
5795
9a9e9ef0
MR
57962011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
5797
5798 * window.el (other-window): Fix docstring.
5799
92a8eba5
EZ
58002011-12-10 Eli Zaretskii <eliz@gnu.org>
5801
5802 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
5803 `from' or `to' address before taking its substring.
5804 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
5805 encoded name is chopped in the middle of the encoded string, and
5806 thus displayed encoded.
5807
e152e577
JB
58082011-12-10 Juanma Barranquero <lekktu@gmail.com>
5809
5810 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
5811
e5d84bfe
EZ
58122011-12-10 Eli Zaretskii <eliz@gnu.org>
5813
5814 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
5815 to use texinfo-update-node and commands that call it if the
5816 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 5817 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
5818 (texinfo-all-menus-update, texinfo-master-menu)
5819 (texinfo-update-node, texinfo-every-node-update)
5820 (texinfo-multiple-files-update): Doc fix. Warn against updating
5821 all the @node lines.
5822 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
5823 argument is numeric. Explain better in the doc string what the
5824 function really does.
5825 (texinfo-insert-master-menu-list): Improve the error message
5826 displayed if there's no menu in the Top node.
5827 (Bug#2975) See also this thread:
e5d84bfe
EZ
5828 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
5829
1d84e9bb
MG
58302011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
5831
5832 * speedbar.el (speedbar-supported-extension-expressions):
5833 Add .adb and .ads, commonly used for Ada source code (bug#10256).
5834
382c953b
JB
58352011-12-09 Juanma Barranquero <lekktu@gmail.com>
5836
5837 * printing.el (pr-mode-alist):
5838 * simple.el (filter-buffer-substring-functions)
5839 (completion-list-insert-choice-function):
5840 * window.el (window-with-parameter, window-atom-root)
5841 (window-sides-slots, window-size-fixed, window-min-delta)
5842 (window-max-delta, window--resize-mini-window)
5843 (window--resize-child-windows-normal, window-tree)
5844 (delete-other-windows, quit-window, split-window)
5845 (display-buffer-record-window, special-display-buffer-names)
5846 (special-display-regexps, special-display-popup-frame)
5847 (same-window-p, split-window-sensibly)
5848 (display-buffer-overriding-action, display-buffer-alist)
5849 (display-buffer-base-action, display-buffer, switch-to-buffer)
5850 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
5851 (fit-window-to-buffer, recenter-positions)
5852 (mouse-autoselect-window-state, mouse-autoselect-window-select):
5853 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
5854 and remove unneeded backslashes in docstrings.
5855
39c9faef
SM
58562011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5857
98449af8
SM
5858 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
5859
39c9faef
SM
5860 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
5861 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
5862 end in ".mk".
5863 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
5864 when reading the makefile (bug#10116).
5865
86ed9fdc
SM
58662011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
5867
5868 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
5869 (bug#10116).
5870
5580f89d
GM
58712011-12-06 Glenn Morris <rgm@gnu.org>
5872
5873 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
5874
28d3917c
CY
58752011-12-06 Chong Yidong <cyd@gnu.org>
5876
5877 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
5878
a98edce9
JB
58792011-12-06 Juanma Barranquero <lekktu@gmail.com>
5880
5881 * textmodes/table.el (table-shorten-cell): Fix typo.
5882
e65adfac
CG
58832011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
5884
5885 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
5886
71cc0b74
EZ
58872011-12-05 Eli Zaretskii <eliz@gnu.org>
5888
5889 * descr-text.el (describe-char): Fix display of strong
5890 right-to-left characters and directional embeddings and overrides.
5891
5892 * simple.el (what-cursor-position): Fix display of codepoints of
5893 strong right-to-left characters.
5894
315bc30d
CY
58952011-12-05 Chong Yidong <cyd@gnu.org>
5896
5897 * faces.el (read-color): Doc fix.
5898
58a70b94
GM
58992011-12-05 Glenn Morris <rgm@gnu.org>
5900
5901 * align.el (align--set-marker): Add doc-string.
5902 Don't try to move something that is not a marker. (Bug#10216)
5903
5158face
GM
59042011-12-04 Glenn Morris <rgm@gnu.org>
5905
5906 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
5907 overly zealous deletion of trailing whitespace.
5908
520fca41
JB
59092011-12-04 Juanma Barranquero <lekktu@gmail.com>
5910
5911 * server.el (server-delete-client): On Windows, do not try to delete
5912 the only terminal.
5913 (server-process-filter): On Windows, treat requests for a tty frame as
5914 if they were for a GUI frame if the running server is in GUI mode.
5915
5e605a2e
GM
59162011-12-03 Glenn Morris <rgm@gnu.org>
5917
5918 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
5919
5c3fe83f
SM
59202011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
5921
6f5e57e7
SM
5922 * electric.el: Streamline electric-indent's hook.
5923 (electric-indent-chars): Revert to simple list.
5924 (electric-indent-functions): New var.
5925 (electric-indent-post-self-insert-function): Use it.
5926
5c3fe83f
SM
5927 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
5928 there's no inferior buffer (bug#10196).
5929 (prolog-consult-compile): Don't use toggle-read-only.
5930
6bdac736
MA
59312011-12-02 Michael Albinus <michael.albinus@gmx.de>
5932
5933 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
5934 interrupt. (Bug#10187)
5935
6131ba7f
SM
59362011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5937
99c79fee
SM
5938 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
5939 (bug#9160).
5940
6131ba7f
SM
5941 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
5942 (bug#10191).
5943
cb0a02ea
JL
59442011-12-02 Juri Linkov <juri@jurta.org>
5945
5946 * info.el (Info-search): Display "end of manual" when Isearch
5947 reaches the end of single-file Info manual. (Bug#9918)
5948
66e0570c
EZ
59492011-12-02 Eli Zaretskii <eliz@gnu.org>
5950
5951 * isearch.el (isearch-message-prefix): Run the input method part
5952 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
5953
02b16839
JL
59542011-12-02 Juri Linkov <juri@jurta.org>
5955
5956 * isearch.el (isearch-occur): Use `word-search-regexp' for
5957 `isearch-word'.
5958 (isearch-search-and-update): Add condition for `isearch-word' and
5959 call `word-search-regexp'. (Bug#10145)
5960
0b950688
GM
59612011-12-01 Glenn Morris <rgm@gnu.org>
5962
5963 * eshell/em-hist.el (eshell-hist-initialize):
5964 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 5965 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 5966
9505c3c7
SM
59672011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
5970
1bbe96b2 59712011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 5972
a1beca85
SM
5973 * progmodes/verilog-mode.el (verilog-pretty-expr):
5974 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
5975 verilog, such as += *= and the like.
5976 (verilog-assignment-operator-re): Regular expression to find the
5977 assigment operator in a verilog assignment.
5978 (verilog-assignment-operation-re): Regular expression to find an
5979 assignment statement for pretty-expr.
5980 (verilog-in-attribute-p): Query returns true if point is in an
5981 attribute context; used to skip these for expression line up from
5982 pretty-expr.
5983 (verilog-in-parameter-p): Query returns true if point is in an
5984 parameter definition context; used to skip these for expression
5985 line up from pretty-expr.
5986 (verilog-in-parenthesis-p): Query returns true if point is in a
5987 parenthetical expression, specifically ( ) but not [ ] or { };
5988 used by pretty-expr.
5989 (verilog-just-one-space): If there is no space, don't add one.
5990 (verilog-get-lineup-indent-2): Specifically skip just attribute
5991 contexts for expression lineup, rather than skipping all
5992 parenthetical expressions.
5993 (verilog-calculate-indent): Fix comment, and fix indent.
5994 (verilog-do-indent): Indent declarations in lists (suggested by
5995 Joachim Lechner).
5996 (verilog-mode-abbrev-table): Populate abbrev mode with the various
5997 skeleton items.
5998 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
5999 by Alain Mellan).
6000
1bbe96b2 60012011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
6002
6003 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
6004 parameters with embedded comments. Reported by Ray Stevens.
6005 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
6006 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
6007 Reported by Tim Holt.
6008 (verilog-auto): Fix AUTOing a upper module then AUTOing module
6009 instantiated by upper module causing wrong expansion until AUTOed a
6010 second time. Reported by K C Buckenmaier.
6011 (verilog-diff-auto): Fix showing .* as a difference when
6012 `verilog-auto-star-save' off. Reported by Dan Dever.
6013 (verilog-auto-reset, verilog-read-always-signals)
6014 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
6015 temporary signals in reset list if
6016 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
6017 style to each signal's assignment type, bug381.
6018 Reported by Thomas Esposito.
6288f0ca
WS
6019 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
6020 (verilog-uvm-statement-re): Support UVM indentation and
6021 highlighting, with old OVM keywords only.
a1beca85 6022 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
6023 Support AUTOTIEOFF creating non-wire data types.
6024 Suggested by Jonathan Greenlaw.
6288f0ca
WS
6025 (verilog-auto-insert-lisp, verilog-delete-to-paren)
6026 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
6027 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
6028 (verilog-read-sub-decls, verilog-read-sub-decls-line):
6029 Fix mismatching parenthesis inside commented out code when deleting
382c953b 6030 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
6031 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
6032 non-numeric vector width. Reported by Alex Reed.
6033 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 6034 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
6035 (verilog-auto-delete-trailing-whitespace):
6036 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
6037 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
6038 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
6039 Fix verilog-scan-cache corruption when running user AUTO expansion
6040 hooks that call indentation routines.
6041 (verilog-simplify-range-expression): Fix typo ignoring lower case
6042 identifiers.
6043 (verilog-delete-auto): Fix delete-autos to also remove user created
6044 automatics, as long as they start with AUTO.
6045 (verilog-batch-diff-auto, verilog-diff-auto)
6046 (verilog-diff-function): Add `verilog-diff-auto' and bind to
6047 "C-c?" to report differences in AUTO expansion, ignoring spaces.
6048 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
6049 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
6050 (verilog-re-search-forward-quick, verilog-syntax-ppss):
6051 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
6052 is disabled and its cache will get corrupt, causing AUTOS not to
6053 expand. Instead use only -quick functions.
6054 (verilog-scan-region): Fix scanning over escaped quotes.
6055 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
6056 (verilog-re-search-backward-quick)
6057 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
6058 related functions now ignore strings, to fix misparsing of strings
6059 with magic comments embedded in them.
a1beca85
SM
6060 (verilog-read-auto-template):
6061 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
6062 Reported by Brad Dobbie.
6063 (verilog-read-auto-template):
6064 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 6065 Reported by Brad Dobbie.
6288f0ca
WS
6066 (verilog-auto-inst, verilog-auto-inst-param)
6067 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
6068 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
6069 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
6070 debugging templates without merge conflicts, bug357.
6071 Reported by Brad Dobbie.
6072 (verilog-read-auto-template):
6073 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
6074 Reported by Brad Dobbie.
6075 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
6076 abbrevs so user won't be asked to save.
6077 (verilog-read-auto-lisp-present): Fix to start at beginning of
6078 buffer in case called outside of verilog-auto.
6079 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
6080 to "X-2". Reported by Matthew Myers.
6081 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
6082 all inputs from module templates. Reported by Leith Johnson.
6083 (verilog-module-inside-filename-p): Fix locating programs as with
6084 modules.
6085 (verilog-auto-inst-port): Fix vl-width expressions when using
6086 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
6087 (verilog-decls-get-regs, verilog-decls-get-signals,
6088 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
6089 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
6090 verilog-read-decls): Combine reg and wire structures into one var
6091 structure to represent SystemVerilog concepts.
6092 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
6093 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
6094 (verilog-auto-wire-type, verilog-insert-definition):
6095 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
6096 SystemVerilog "logic" keyword instead of "wire"/"reg".
6097 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
6098 to declares outputs that also have assignments (presumably in an
a1beca85
SM
6099 ifdef or generate if so there's not a driver conflict).
6100 Reported by Matthew Myers.
6101 (verilog-auto-declare-nettype, verilog-insert-definition):
6102 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
6103 `default_nettype none. Reported by Julian Gorfajn.
6104 (verilog-read-always-signals-recurse, verilog-read-decls)
6105 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
6106 malformed end statement, bug325. Reported by Joshua Wise and
6107 Andrew Drake.
6108 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
6109 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
6110 when expanding .* in interfaces, bug320.
6111 Reported by Pierre-David Pfister.
6288f0ca 6112 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
6113 name and open parenthesis, bug317.
6114 Reported by Pierre-David Pfister.
6288f0ca
WS
6115 (verilog-simplify-range-expression): Fix simplification of
6116 multiplications inside AUTOWIRE connections, bug303.
6117 (verilog-auto-inst-port): Support parameter expansion in
6118 multidimensional arrays.
6119 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
6120 after "assert property". Reported by Julian Gorfajn.
6121 (verilog-simplify-range-expression): Fix "couldn't merge" errors
6122 with multiplication, bug303.
6123 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
6124 Reported by Jan Frode Lonnum.
6125
1bbe96b2
GM
61262011-11-30 Juanma Barranquero <lekktu@gmail.com>
6127
6128 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
6129 (hfy-shell-file-name, hfy-shell):
6130 * international/fontset.el (x-decompose-font-name): Fix typos.
6131
61322011-11-29 Ken Brown <kbrown@cornell.edu>
6133
6134 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
6135 (gdb-version): Remove defvar.
6136 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
6137 (gdb-gud-context-command, gdb-non-stop-handler)
6138 (gdb-current-context-command, gdb-stopped): Use it.
6139 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
6140 (gdb-non-stop-handler): Don't enable pretty-printing here.
6141 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
6142 non-stop mode. Use the following.
6143 (gdb-check-target-async): New defun.
6144 (gud-watch, gdb-stopped): Fix whitespace.
6145 (gdb-get-source-file): Don't try to display the source file if
6146 `gdb-main-file' is nil.
6147
61482011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * align.el: Try to generate fewer markers (bug#10047).
6151 (align--set-marker): New macro.
6152 (align-region): Use it.
6153
c935221f
SM
61542011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6155
6156 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
6157
e70b5064
CY
61582011-11-29 Chong Yidong <cyd@gnu.org>
6159
6160 * indent.el (indent-for-tab-command, indent-according-to-mode):
6161 Doc fix.
6162 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
6163
f3af92b7
MA
61642011-11-29 Michael Albinus <michael.albinus@gmx.de>
6165
6166 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
6167 aware of remote file names. (Bug#10124)
6168
ed472be9
CY
61692011-11-29 Chong Yidong <cyd@gnu.org>
6170
6171 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
6172
24510c22
SM
61732011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6174
6175 * files.el (find-file): Don't use force-same-window (bug#10144).
6176 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
6177 use pop-to-buffer if the selected window can't be used.
6178 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
6179
c60c3703
EZ
61802011-11-28 Eli Zaretskii <eliz@gnu.org>
6181
6182 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
6183 special-mode-map.
6184
e95def75
CY
61852011-11-28 Chong Yidong <cyd@gnu.org>
6186
6187 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
6188
c3f1c606
NR
61892011-11-27 Nick Roberts <nickrob@snap.net.nz>
6190
6191 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
6192 gdb-get-source-file-list on gdb-create-source-file-list.
6193
00db469c
EZ
61942011-11-26 Eli Zaretskii <eliz@gnu.org>
6195
6196 * whitespace.el (whitespace-newline): Use a different foreground
6197 color for 16-color light-background displays.
6198
4ad3bc2a
CY
61992011-11-24 Chong Yidong <cyd@gnu.org>
6200
6201 * window.el (display-buffer--special-action): Doc fix.
6202
e9fce1ac
JB
62032011-11-25 Juanma Barranquero <lekktu@gmail.com>
6204
6205 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
6206 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
6207 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
6208 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
6209 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
6210 (avl-tree-stack-first):
6211 * emacs-lisp/cconv.el (cconv--analyse-use):
6212 * net/gnutls.el (gnutls-negotiate): Fix typos.
6213
cb825e5d
GM
62142011-11-24 Glenn Morris <rgm@gnu.org>
6215
3adbe224
GM
6216 * lpr.el (lpr-windows-system, lpr-lp-system):
6217 * mail/binhex.el (binhex-begin-line):
6218 * progmodes/grep.el (grep-history, grep-find-history):
6219 * textmodes/flyspell.el:
6220 * vc/pcvs-defs.el (cvs-global-menu):
6221 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
6222 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
6223 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
6224
321decc8
GM
6225 * net/tls.el: Fix case of "GnuTLS".
6226
420b63ad
GM
6227 * paths.el (rmail-file-name): Format doc-string for make-docfile.
6228
cb825e5d
GM
6229 * version.el (emacs-build-system): Give it a doc-string.
6230
a0649f08
JL
62312011-11-24 Juri Linkov <juri@jurta.org>
6232
6233 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
6234
c0bc0fd4
GM
62352011-11-24 Glenn Morris <rgm@gnu.org>
6236
6237 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
6238 if called on a non-mime message just toggle the headers. (Bug#8006)
6239
20db1522
JB
62402011-11-24 Juanma Barranquero <lekktu@gmail.com>
6241
6242 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
6243 (allout-lead-with-comment-string, allout-structure-deleted-hook)
6244 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
6245 (allout-rebullet-heading, allout-open-sibtopic)
6246 (allout-toggle-current-subtree-encryption)
6247 (allout-toggle-subtree-encryption, allout-encrypt-string)
6248 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
6249 (allout-distinctive-bullets-string, allout-auto-activation):
6250 * window.el (window-normalize-buffer-to-display):
6251 * progmodes/verilog-mode.el (verilog-batch-indent):
6252 * textmodes/bibtex.el (bibtex-field-braces-opt)
6253 (bibtex-field-strings-opt):
6254 * vc/cvs-status.el (cvs-tree-merge):
6255 Fix typos.
6256
7262a87c
MA
62572011-11-23 Michael Albinus <michael.albinus@gmx.de>
6258
6259 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
6260 `non-essential' to t, in order to avoid remote connections.
6261
283430a1
EZ
62622011-11-23 Eli Zaretskii <eliz@gnu.org>
6263
a1beca85
SM
6264 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6265 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
6266 case-insensitively.
6267
d2992a38
ML
62682011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6269
6270 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
6271
50419064
GM
62722011-11-23 Glenn Morris <rgm@gnu.org>
6273
da94eca1
GM
6274 * paths.el (rmail-file-name): Reformat the doc-string so that it
6275 is picked up.
6276
9aac4de2
GM
6277 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
6278 (rmail-auto-file): Ignore case in the "special" field names,
6279 as mail-fetch-field does for all others.
6280
8038d2d2
GM
6281 * mail/rmail.el (rmail-forward):
6282 * mail/rmailkwd.el (rmail-set-label):
6283 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
6284 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
6285
f3fe222a
GM
6286 * mail/rmail.el (rmail-current-message): Doc fix.
6287
50419064
GM
6288 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
6289
28109f49
SM
62902011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
6291
6292 * server.el (server-eval-and-print): Allow C-g (bug#6585).
6293
394c65f1
GM
62942011-11-22 Glenn Morris <rgm@gnu.org>
6295
6296 * mail/rmailmm.el (test-rmail-mime-handler)
6297 (test-rmail-mime-bulk-handler)
6298 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
6299
f2a0aa3a
JL
63002011-11-21 Juri Linkov <juri@jurta.org>
6301
1154d12e
JB
6302 * calc/calc.el (calc-read-key-sequence):
6303 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 6304
9c34a344
LMI
63052011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6306
6307 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
6308 Tell the caller that the next line needs recomputation, even
6309 though it doesn't start a sexp (bug#10094).
6310
f04a3be9
SM
63112011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6312
6313 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
6314
7978747f
SM
63152011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6316
f04a3be9
SM
6317 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6318 Use force-same-window.
7978747f 6319
fe7a3057
JB
63202011-11-20 Juanma Barranquero <lekktu@gmail.com>
6321
6322 * descr-text.el (describe-char-unicode-data):
6323 * json.el (json-string-escape):
6324 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
6325 (Footnote-unicode, Footnote-style-p):
6326 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
6327
24901d61
CY
63282011-11-20 Chong Yidong <cyd@gnu.org>
6329
6330 * window.el (replace-buffer-in-windows): Restore interactive spec.
6331
bac7ff22
SM
63322011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
6333
24f3d7b9
SM
6334 * electric.el (electric-indent-mode): Fix last change (too optimistic).
6335
bac7ff22
SM
6336 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
6337 (byte-compile-global-not-obsolete-vars): New var.
6338 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
6339 Use it.
6340 (byte-compile-warn-obsolete): Align text with the one in *Help*.
6341
cd1181db
JB
63422011-11-20 Juanma Barranquero <lekktu@gmail.com>
6343
6344 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
6345 * progmodes/pascal.el (electric-pascal-equal):
6346 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
6347 * xml.el (xml-substitute-special): Fix typos.
6348
7fb18e9e
GM
63492011-11-20 Glenn Morris <rgm@gnu.org>
6350
6351 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
6352 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
6353 Doc fixes.
6354 (rmail-decode-mime-charset): Mark as obsolete.
6355
6356 * mail/rmailsum.el (rmail-message-regexp-p-1):
6357 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
6358 Before using mime functions, check they are set. (Bug#10077)
6359
d5a6b3ba
JL
63602011-11-19 Juri Linkov <juri@jurta.org>
6361
6362 * info.el (Info-finder-find-node): Use `package--builtins' instead
6363 of `package-alist'. Use node names formed by the pattern "Keyword "
6364 and the keyword name.
6365
e981b61f
AS
63662011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6367
1d00653d 6368 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 6369
3ffbc301
JL
63702011-11-19 Juri Linkov <juri@jurta.org>
6371
6372 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
6373 that calls `revert-buffer' on all Info buffers. (Bug#9915)
6374 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
6375 `old-history', `old-history-forward'. Add let-binding
6376 `window-selected'. Remove calls to `kill-buffer',
6377 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
6378 before calling `Info-find-node', so `Info-find-node-2' will reread
6379 the Info file. Restore window positions only when `window-selected'
6380 is non-nil.
6381
30c62133
JL
63822011-11-19 Juri Linkov <juri@jurta.org>
6383
6384 * isearch.el (isearch-lazy-highlight-new-loop):
6385 Remove condition `(not isearch-error)'. (Bug#9918)
6386
6387 * misearch.el (multi-isearch-search-fun): Add condition
6388 `(not bound)' to ignore lazy-highlighting search.
6389 Add the search-failed message "end of multi" when the end of
6390 multi-sequence is reached. Uncapitalize the search-failed
6391 message "Repeat for next buffer".
6392
6393 * info.el (Info-search): Add the search-failed message
6394 "end of the manual" when the end of the manual is reached
6395 in Isearch mode.
6396
645ca9cf
JL
63972011-11-19 Juri Linkov <juri@jurta.org>
6398
6399 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
6400 Use non-destructive `remove' instead of `delete' because
6401 `Info-history-list' stored to `Info-isearch-initial-history-list' in
6402 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
6403
df754f66
JL
64042011-11-19 Juri Linkov <juri@jurta.org>
6405
6406 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
6407 to nil instead of binding `search-ring' and `regexp-search-ring'.
6408 (Bug#9185)
6409
0e23d96a
EZ
64102011-11-19 Eli Zaretskii <eliz@gnu.org>
6411
6412 * simple.el (line-move): Force movement by logical lines for any
6413 hscrolled window, not only when auto-hscroll-mode is on.
6414 (line-move-visual): Update doc string to that effect. (Bug#10076)
6415
8a6ccb66
AS
64162011-11-19 Andreas Schwab <schwab@linux-m68k.org>
6417
6418 * language/european.el (macintosh): Define as alias for mac-roman.
6419
49ae5b39
EZ
64202011-11-19 Eli Zaretskii <eliz@gnu.org>
6421
6422 * mail/rmailmm.el (rmail-mime-display-header)
6423 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
6424 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
6425 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
6426 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
6427 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
6428 of a raw aref.
6429 (rmail-mime-entity-segment): To get past the tagline, move forward
6430 2 more lines, to account for the 2 empty lines that precede and
6431 follow the line with the buttons.
6432 (rmail-mime-update-tagline): Move one more line, to get past the
6433 empty line that follows the buttons in the tagline. (Bug#9520)
6434
c56cad4a
MR
64352011-11-19 Martin Rudalics <rudalics@gmx.at>
6436
6437 * window.el (window-max-delta-1, window-min-delta-1)
6438 (window-min-size-1, window-state-get-1, window-state-put-1)
6439 (window-state-put-2): Use "window--" prefix.
6440
cbe71af3
SM
64412011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6442
2ad52c60
SM
6443 * emacs-lisp/smie.el: Improve warnings and conflict detection.
6444 (smie-warning-count): New var.
6445 (smie-set-prec2tab): Use it.
6446 (smie-bnf->prec2): Improve warnings. Add docstring.
6447 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
6448 (smie-bnf--set-class): New function.
6449 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
6450 corner case.
6451
6944dbc1
SM
6452 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
6453 (compilation-error-properties, compilation-move-to-column):
6454 Handle compilation-first-column while in the target buffer.
6455
c400c4d7
SM
6456 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
6457 Don't hardcode point-min==1.
6458
6dbe3e96
SM
6459 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
6460 (eshell-rewrite-for-command): Remove workaround.
6461 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
6462 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
6463 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
6464
cbe71af3
SM
6465 * files-x.el (modify-file-local-variable): Obey commenting conventions.
6466
a8e1496d
GM
64672011-11-17 Glenn Morris <rgm@gnu.org>
6468
6469 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6470 Ignore buffer-local generated-autoload-file if it is the same
6471 as the global value. (Bug#10049)
6472
df85d315
JB
64732011-11-17 Juanma Barranquero <lekktu@gmail.com>
6474
6475 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
6476 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
6477 (reftex-toc-previous-heading, reftex-toc-max-level)
6478 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
6479 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
6480 (reftex-toc-do-promote, reftex-toc-promote-prepare)
6481 (reftex-toc-promote-action, reftex-toc-extract-section-number)
6482 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
6483 (reftex-toc-rename-label, reftex-toc-visit-location)
6484 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
6485 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
6486 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
6487 leaving "*toc*" only for references to the buffer.
6488
a0c2d0ae
MR
64892011-11-17 Martin Rudalics <rudalics@gmx.at>
6490
6491 * window.el (window-resize, delete-window, split-window):
6492 Replace window-splits by window-combination-resize.
1d00653d 6493 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 6494
35c0bac8
GM
64952011-11-17 Glenn Morris <rgm@gnu.org>
6496
6497 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6498 Make bash entry derive from sh entry, not shell entry.
6499
d0c8fc8a
MA
65002011-11-16 Michael Albinus <michael.albinus@gmx.de>
6501
7262a87c
MA
6502 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
6503 local file name.
6504
7877f373
JB
65052011-11-16 Juanma Barranquero <lekktu@gmail.com>
6506
6507 * menu-bar.el (menu-bar-file-menu):
6508 * printing.el (pr-ps-utility):
6509 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
6510 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
6511 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
6512 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
6513 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
6514 (icalendar--convert-cyclic-to-ical)
6515 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
6516 (icalendar--convert-ical-to-diary)
6517 (icalendar--convert-recurring-to-diary)
6518 (icalendar--convert-non-recurring-all-day-to-diary)
6519 (icalendar-import-format-sample):
6520 * progmodes/idlw-shell.el (idlwave-shell-mode):
6521 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
6522 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
6523 (vhdl-ps-print-init): Fix typos.
6524
10649b82
KM
65252011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
6526
9d0cfcd6
GM
6527 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
6528 FSF and collapse date sequence, obscure author/maintainer email address
6529 better, remove extra version line, track relocation of author's webpage.
10649b82 6530
9d0cfcd6
GM
6531 * progmodes/python.el (python-pdbtrack-input-prompt)
6532 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
6533 regular python pdb prompts. Adjustments shamelessly taken exactly as
6534 suggested in EmacsWiki page (tiny change):
6535 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 6536
58179cce
JB
65372011-11-16 Juanma Barranquero <lekktu@gmail.com>
6538
6539 * expand.el (expand-pos, expand-index, expand-point):
6540 Remove redundant info from docstring.
6541 (expand-add-abbrevs): Doc fix.
6542 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
6543 (expand-sample-perl-mode-expand-list): Fix typos.
6544
6545 * net/dbus.el (dbus-event-member-name):
6546 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
6547 * term/pc-win.el (msdos-create-frame-with-faces):
6548 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
6549
b6f67890
MR
65502011-11-16 Martin Rudalics <rudalics@gmx.at>
6551
6552 * window.el (split-window, window-state-get-1)
6553 (window-state-put-1, window-state-put-2): Rename occurrences of
6554 window-nest to window-combination-limit.
1d00653d 6555 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 6556
ce7ddba0
CY
65572011-11-16 Chong Yidong <cyd@gnu.org>
6558
6559 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
6560 regexp (Bug#10033).
6561
3ae704f4
SM
65622011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6563
6564 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
6565 `completing-read' will remove *Completions* and will preserve
6566 current-buffer for us.
6567 (tmm-add-prompt): Users of *Completions* will always (re)set its
6568 major mode.
6569 (tmm-old-comp-map): Remove.
6570
6ad1cdde
GM
65712011-11-16 Glenn Morris <rgm@gnu.org>
6572
6573 * mail/rmailedit.el: Require rmailmm when compiling.
6574 (rmail-old-mime-state): New declaration.
6575 (rmail-edit-current-message): If editing a mime message,
6576 edit the "raw" message from the mbox buffer.
6577 (rmail-cease-edit): Handle mime messages. (Bug#9840)
6578
d20faa20
GM
65792011-11-15 Glenn Morris <rgm@gnu.org>
6580
6581 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
6582 which wasn't being used. Add optional arg to force given state.
6583 (rmail-mime): Add optional arg to force given state.
6584
c7015153
JB
65852011-11-15 Juanma Barranquero <lekktu@gmail.com>
6586
6587 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6588 * frame.el (display-mm-dimensions-alist):
6589 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
6590 (outline-move-subtree-down):
6591 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
6592 (newsticker--treeview-do-get-node):
6593 * net/quickurl.el (quickurl-list-buffer-name):
6594 * progmodes/dcl-mode.el (dcl-mode):
6595 * progmodes/gdb-mi.el (gdb-mapcar*):
6596 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
6597
45261b50
GM
65982011-11-15 Glenn Morris <rgm@gnu.org>
6599
6600 * mail/rmail.el (rmail-file-coding-system): It's only ever used
6601 in a boolean sense, so just make it a boolean, and fix the doc.
6602 (rmail-show-mime-function, rmail-mime-feature)
6603 (rmail-require-mime-maybe): Doc fixes.
6604 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
6605
6606 * mail/rmailmm.el (rmail-show-mime): Doc fix.
6607
0d26e0b6
JB
66082011-11-15 Juanma Barranquero <lekktu@gmail.com>
6609
6610 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
6611 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
6612 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
6613 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
6614
447f30f6
GM
66152011-11-15 Glenn Morris <rgm@gnu.org>
6616
672b871d
GM
6617 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
6618 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
6619 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
6620 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
6621 (rmail-mime, rmail-show-mime): Doc fixes.
6622
f6aa5bb1
GM
6623 * term/ns-win.el (mode-line-frame-identification):
6624 Leave it alone. (Bug#10051)
6625
947cd66b
GM
6626 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
6627
447f30f6
GM
6628 * mail/rmailout.el (rmail-output-to-rmail-buffer):
6629 Handle empty buffers. (Bug#9978)
6630
0b381c7e
JB
66312011-11-14 Juanma Barranquero <lekktu@gmail.com>
6632
6633 * international/mule.el (define-charset):
6634 * mail/rmailmm.el (rmail-mime-find-header-encoding):
6635 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
6636 * progmodes/verilog-mode.el (verilog-backward-token):
6637 * textmodes/ispell.el (lookup-words):
6638 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
6639
71e027ac
GM
66402011-11-14 Glenn Morris <rgm@gnu.org>
6641
56632ce4
GM
6642 * progmodes/executable.el
6643 (executable-make-buffer-file-executable-if-script-p):
6644 Handle file-modes returning nil.
6645
40500957
GM
6646 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
6647 message - not necessary, and causes problems. (Bug#9831)
6648
071c2340
GM
6649 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
6650
d3cfca60
GM
6651 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
6652
71e027ac
GM
6653 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
6654 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
6655 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
6656
89d61221
MR
66572011-11-12 Martin Rudalics <rudalics@gmx.at>
6658
6659 * window.el (window-resize, delete-window): Use window-splits
6660 variable instead of function.
6661 (window-state-get-1, window-state-put-2, window-state-put):
6662 Don't deal with windows' splits status.
6663
98282f6f
GM
66642011-11-12 Glenn Morris <rgm@gnu.org>
6665
6666 * apropos.el (apropos-do-all, apropos-library, apropos-value)
6667 (apropos-documentation): Doc fixes.
6668
40a8bdf6
JB
66692011-11-11 Juanma Barranquero <lekktu@gmail.com>
6670
6671 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
6672 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
6673
65bd19ff
SM
66742011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * electric.el (electric-indent-post-self-insert-function): Make it
6677 possible for a char to only indent in some circumstances.
6678 (electric-indent-mode): Simplify.
6679
54f9154c
MR
66802011-11-11 Martin Rudalics <rudalics@gmx.at>
6681
6682 * window.el (windows-with-parameter): Remove unused function.
6683 (windows-at-side): Rename to window-at-side-list.
6684 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
6685 (window-side-check, window-size-ignore, window-size-fixed-1)
6686 (window-in-direction-2): Prefix with "window--".
6687 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 6688
68cbc58b
GM
66892011-11-11 Glenn Morris <rgm@gnu.org>
6690
6691 * subr.el (eval-after-load): If FILE is already loaded,
6692 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
6693
b2621720
GM
66942011-11-10 Glenn Morris <rgm@gnu.org>
6695
9a4de110
GM
6696 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
6697 Call svn via vc-svn-command rather than vc-do-command.
6698 (vc-svn-command): Add --non-interactive. (Bug#9993)
6699 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
6700
b2621720
GM
6701 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6702 Add toggle-read-only. (Bug#7292)
6703 * files.el (toggle-read-only): Mention that it should only
6704 be used interactively. (Bug#10006)
6705
1dce7193
SM
67062011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
6707
d9ac1a1e
SM
6708 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6709 Adjust regexp for OCaml warnings.
6710
0c325082
SM
6711 * electric.el (electric-pair-post-self-insert-function): Let user
6712 turn it off buffer-locally (bug#9932).
6713
90132c14
SM
6714 * progmodes/python.el (python-beginning-of-statement):
6715 Rewrite (bug#2703).
6716
1dce7193
SM
6717 * progmodes/compile.el: Better handle TABs (bug#9749).
6718 (compilation-internal-error-properties)
6719 (compilation-next-error-function): Obey the target buffer's
6720 compilation-error-screen-columns.
6721
c4e7c63a
JB
67222011-11-09 Juanma Barranquero <lekktu@gmail.com>
6723
6724 * progmodes/meta-mode.el: Remove obsolete comments.
6725 (meta-right-comment-regexp, meta-ignore-comment-regexp):
6726 Fix typos in docstrings.
6727
2cffd681
MR
67282011-11-09 Martin Rudalics <rudalics@gmx.at>
6729
6730 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 6731 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
6732 (window--resizable): New function. Make all callers of
6733 window-resizable call window--resizable instead.
6734 (window-resizable): Rewrite in terms of window--resizable.
6735
0edcba87
GM
67362011-11-08 Glenn Morris <rgm@gnu.org>
6737
6738 * progmodes/delphi.el (delphi-mode-syntax-table):
6739 Let define-derived-mode define a proper syntax table. (Bug#9994)
6740
4b0d61e3
SM
67412011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6742
6743 * window.el: Stay away from defsubst.
6744 (window-list-no-nils): Remove.
6745 (window-state-get-1, window-state-get): Use backquote instead.
6746
cd394be1 67472011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 6748
4b0d61e3 6749 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 6750 Fix incorrect use of default argument in `completing-read'.
6751
e1c2c6f2
MR
67522011-11-08 Martin Rudalics <rudalics@gmx.at>
6753
6754 * window.el (display-buffer-function, special-display-function):
6755 Mention display-buffer-record-window but do not mention
6756 help-setup parameter in doc-strings.
b3f4a882 6757 (window-min-delta): Fix doc-string typo.
e1c2c6f2 6758
105216ed
CY
67592011-11-08 Chong Yidong <cyd@gnu.org>
6760
6761 * window.el (window-total-height, window-total-width): Doc fix.
6762 (window-body-size): Move from C.
6763 (window-body-height, window-body-width): Move to C.
6764
0a9f9ab5
SM
67652011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * window.el: Make special-display like display-buffer-alist (bug#9532).
6768 (display-buffer--special-action): New function, morphed
6769 from display-buffer--special.
6770 (display-buffer): Use it to handle special-display-buffers at higher
6771 priority (just after display-buffer-alist).
6772 (display-buffer-fallback-action, display-buffer--other-frame-action)
6773 (pop-to-buffer-same-window): Remove display-buffer--special.
6774
a769dd15
GM
67752011-11-07 Glenn Morris <rgm@gnu.org>
6776
6777 * calendar/cal-menu.el (cal-menu-set-date-title):
6778 Do nothing if not in a calendar. (Bug#9976)
6779
05a61ee3
SM
67802011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6781
6782 * files.el (find-file): Always use selected-window.
6783
be7f5545
MR
67842011-11-07 Martin Rudalics <rudalics@gmx.at>
6785
6786 * window.el (window-combinations): Make WINDOW argument
6787 mandatory. Rewrite doc-string.
6788 (walk-window-subtree, window-atom-check, window-min-delta)
6789 (window-max-delta, window--resize-this-window)
6790 (window--resize-root-window-vertically, window-tree)
6791 (balance-windows, window-state-put): Rewrite doc-strings as to
6792 not mention the term "subwindow".
6793 (window--resize-subwindows-skip-p): Rename to
6794 window--resize-child-windows-skip-p.
6795 (window--resize-subwindows-normal): Rename to
6796 window--resize-child-windows-normal.
6797 (window--resize-subwindows): Rename to
6798 window--resize-child-windows.
6799 (window-or-subwindow-p): Rename to window--in-subtree-p.
6800
3c6702ef
ML
68012011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
6802
6803 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
6804 Ensure that mbox format messages end in two newlines (Bug#9974).
6805
49745b39
CY
68062011-11-06 Chong Yidong <cyd@gnu.org>
6807
6808 * window.el (window-combination-p): Function deleted; its
6809 side-effect is not used in any existing code.
6810 (window-combinations, window-combined-p): Call window-*-child
6811 directly.
6812
24300f5f
CY
68132011-11-05 Chong Yidong <cyd@gnu.org>
6814
6815 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
6816 (window-size-ignore, window-state-get): Callers changed.
6817 (window-normalize-window): Rename from window-normalize-any-window.
6818 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 6819 (window-normalize-live-window): Delete.
447f16b8
CY
6820 (window-combination-p, window-combined-p, window-combinations)
6821 (walk-window-subtree, window-atom-root, window-min-size)
6822 (window-sizable, window-sizable-p, window-size-fixed-p)
6823 (window-min-delta, window-max-delta, window-resizable)
6824 (window-resizable-p, window-full-height-p, window-full-width-p)
6825 (window-current-scroll-bars, window-point-1, set-window-point-1)
6826 (window-at-side-p, window-in-direction, window-resize)
6827 (adjust-window-trailing-edge, maximize-window, minimize-window)
6828 (window-deletable-p, delete-window, delete-other-windows)
6829 (record-window-buffer, unrecord-window-buffer)
6830 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
6831 (quit-window, split-window, window-state-put)
6832 (set-window-text-height, fit-window-to-buffer)
6833 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 6834
89bd5ee1
EZ
68352011-11-04 Eli Zaretskii <eliz@gnu.org>
6836
53479029
EZ
6837 * mail/rmail.el (rmail-simplified-subject): Decode subject with
6838 rfc2047-decode-string.
6839 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
6840 warnings.
6841
89bd5ee1
EZ
6842 * window.el (window-body-height, window-body-width): Mention in
6843 the doc string that the return values are in frame's canonical
6844 units. (Bug#9949)
6845
bd17fdee
AM
68462011-11-03 Alan Mackenzie <acm@muc.de>
6847
6848 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
6849 change in cc-engine.el.
6850
acc825c5
SM
68512011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
6852
6853 * window.el (switch-to-buffer): Use `force-same-window' interactively.
6854
1885e5b8
MR
68552011-11-02 Martin Rudalics <rudalics@gmx.at>
6856
6857 * window.el (quit-window): Call unrecord-window-buffer after
6858 showing another buffer in the window. (Bug#9937)
acc825c5 6859 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 6860
ebe06da9
JB
68612011-11-02 Juanma Barranquero <lekktu@gmail.com>
6862
6863 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
6864 Accept status with more than 9 shelves. (Bug#9935)
6865 Reported by Colin D Bennett <colin@gibibit.com>.
6866
4ee88440
MR
68672011-11-01 Martin Rudalics <rudalics@gmx.at>
6868
6869 * help.el (with-help-window): Don't reference
6870 temp-buffer-show-specifiers in doc-string.
6871
08e1d82c
AS
68722011-10-31 Andreas Schwab <schwab@linux-m68k.org>
6873
6874 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
6875 menu-item.
6876
84bd6e9e
VJL
68772011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6878
6879 * whitespace.el: New version 13.2.2.
6880 (whitespace-newline-mode): Disable properly. Reported by Sarah
6881 <EmacsWiki>.
6882
dba0634a
UJ
68832011-10-30 Ulf Jasper <ulf.jasper@web.de>
6884
6885 * net/newst-treeview.el: Remove "Time-stamp".
6886 (newsticker--group-manage-orphan-feeds): Do not call
6887 newsticker--treeview-tree-update.
db22a3c2
JB
6888 (newsticker-treeview-update, newsticker-treeview):
6889 Call newsticker--treeview-tree-update if necessary.
dba0634a 6890
3d8daefe
MR
68912011-10-30 Martin Rudalics <rudalics@gmx.at>
6892
6893 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
6894 (window-iso-combinations): Remove "iso-" infix.
6895 Suggested by Chong Yidong.
3d8daefe
MR
6896 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
6897 (window-max-delta-1, window-resize, window--resize-siblings)
6898 (window--resize-this-window, adjust-window-trailing-edge)
6899 (split-window, balance-windows-1)
6900 (shrink-window-if-larger-than-buffer):
6901 * calendar/calendar.el (calendar-generate-window):
db22a3c2 6902 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 6903
1bc4c3ae
SM
69042011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6905
6906 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
6907 in place (bug#9907).
6908 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
6909 (eshell-rewrite-if-command, eshell-rewrite-for-command)
6910 (eshell-structure-basic-command, eshell-rewrite-while-command)
6911 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
6912 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
6913 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
6914 (eshell-do-pipelines-synchronously, eshell-eval-command):
6915 Use backquotes and prefer setq to set.
6916 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
6917 (eshell-macrop): Use functionp.
c1e2f5fa 6918 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 6919
30b65d9c
CY
69202011-10-30 Chong Yidong <cyd@gnu.org>
6921
6922 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
6923 instead of set-mark (Bug#9810).
6924
2d197ffb
CY
69252011-10-30 Chong Yidong <cyd@gnu.org>
6926
6927 * window.el (split-window-below, split-window-right): Rename from
6928 split-window-above-each-other and split-window-side-by-side
6929 respectively. All callers changed.
6930 (split-window-sensibly, split-window-sensibly): Use them.
6931 (split-window-keep-point): Doc fix.
6932
6933 * isearch.el: Add isearch-scroll property to split-window-below
6934 and split-window-right.
6935
6936 * follow.el (follow-mode):
6937 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
6938 * progmodes/ada-xref.el (ada-gdb-application):
6939 * emulation/vip.el (vip-buffer-in-two-windows):
6940 * image-dired.el (image-dired-dired-with-window-configuration):
6941 * dired-x.el (dired-do-find-marked-files):
6942 * dired.el (dired-pop-to-buffer):
6943 * bs.el (bs--show-with-configuration):
6944 * vc/emerge.el (emerge-setup-windows):
6945 * textmodes/two-column.el (2C-two-columns):
6946 * textmodes/reftex-toc.el (reftex-toc):
6947 * progmodes/gdb-mi.el (gdb-setup-windows):
6948 * progmodes/fortran.el (fortran-window-create):
6949 * net/newst-treeview.el (newsticker--treeview-window-init):
6950 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
6951 * emulation/tpu-edt.el (tpu-gold-map):
6952 * emulation/crisp.el (crisp-mode-map):
6953 * calendar/calendar.el (calendar-basic-setup): Callers changed.
6954
38bb2ca8
CY
69552011-10-29 Chong Yidong <cyd@gnu.org>
6956
aa4de341
CY
6957 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
6958
e1eb5385
CY
6959 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
6960
5d2ece3c
CY
6961 * textmodes/flyspell.el (flyspell-word): Fix char offset for
6962 forged Ispell output (Bug#7904).
6963
38bb2ca8
CY
6964 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
6965
d0af9f77
SM
69662011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6967
6968 * doc-view.el: Avoid ugly errors about not finding nil.
6969 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
6970 (doc-view-dvipdf-program, doc-view-unoconv-program)
6971 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
6972 Avoid nil or absolute file name as default value.
6973 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
6974
52bedd34
AM
69752011-10-28 Alan Mackenzie <acm@muc.de>
6976
db22a3c2 6977 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 6978
7e43cfa5
AM
69792011-10-28 Alan Mackenzie <acm@muc.de>
6980
6981 Amend the handling of c-beginning/end-of-defun in nested declaration
6982 scopes.
6983
52bedd34
AM
6984 * progmodes/cc-vars.el (c-defun-tactic): Move here from
6985 cc-langs.el. Change it to a defcustom.
7e43cfa5 6986
52bedd34
AM
6987 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
6988 cc-vars.el.
7e43cfa5 6989
d0af9f77
SM
6990 * progmodes/cc-engine.el (c-beginning-of-statement-1):
6991 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 6992
52bedd34 6993 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 6994 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
6995 (c-widen-to-enclosing-decl-scope): New function.
6996 (c-while-widening-to-decl-block): New macro.
6997 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
6998 outward for defun boundaries, and correspondingly change symbol
6999 `respect-enclosure' to `go-outward'.
7000 (c-declaration-limits): Change algorithm to report only the "innermost"
7001 defun's boundaries.
7002
1a2ce9ee
DD
70032011-10-28 Deniz Dogan <deniz@dogan.se>
7004
7005 * net/rcirc.el (rcirc-mode): Use hard newlines.
7006
bc97a826
AM
70072011-10-28 Alan Mackenzie <acm@muc.de>
7008
7009 Amend to indent and fontify macros "which include their own semicolon"
7010 correctly, using the "virtual semicolon" mechanism.
7011
52bedd34 7012 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 7013
d0af9f77 7014 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 7015 Recode to scan one line at a time rather than having \n and \r
58179cce 7016 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 7017 (c-forward-label): Amend for virtual semicolons.
58179cce 7018 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 7019
52bedd34
AM
7020 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
7021 of the new C macros.
bc97a826 7022
52bedd34 7023 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
7024 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
7025 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
7026 (c-opt-cpp-macro-define): Make into a full language variable.
7027 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
7028 AWK Mode (including \n, \r) removed, no longer needed.
7029
d0af9f77
SM
7030 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
7031 Invoke c-make-macro-with-semi-re.
bc97a826 7032
52bedd34
AM
7033 * progmodes/cc-vars.el (c-macro-with-semi-re):
7034 (c-macro-names-with-semicolon): New variables.
58179cce 7035 (c-make-macro-with-semi-re): New function.
bc97a826 7036
7a6c0941
SM
70372011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7038
7039 * vc/log-edit.el: Fill empty field rather than adding new one.
7040 (log-edit-add-field): New function.
7041 (log-edit-insert-changelog): Use it.
7042
b0c4cdcf
ML
70432011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
7044
7045 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
7046
ee1f1da9
SM
70472011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
7050 (gdb--check-interpreter): New function.
7051 (gdb): Use it.
7052
51bc5f8b
GM
70532011-10-27 Glenn Morris <rgm@gnu.org>
7054
416a2c45
GM
7055 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
7056 (least-positive-float, least-negative-float)
7057 (least-positive-normalized-float, least-negative-normalized-float)
7058 (float-epsilon, float-negative-epsilon):
7059 Remove unnecessary declarations.
7060
7061 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
7062 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
7063 (least-positive-float, least-negative-float)
7064 (least-positive-normalized-float, least-negative-normalized-float)
7065 (float-epsilon, float-negative-epsilon): Add doc-strings,
7066 based on those in cl.texi.
7067
51bc5f8b
GM
7068 * files.el (set-visited-file-name): If the major-mode changed,
7069 reload the local variables. (Bug#9796)
7070
15de15c6
CY
70712011-10-27 Chong Yidong <cyd@gnu.org>
7072
7073 * subr.el (change-major-mode-after-body-hook): New hook.
7074 (run-mode-hooks): Run it.
7075
ee1f1da9
SM
7076 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7077 Use change-major-mode-before-body-hook.
15de15c6
CY
7078
7079 * simple.el (fundamental-mode):
7080 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
7081 change introducing fundamental-mode-hook.
7082
5430d399
JB
70832011-10-26 Juanma Barranquero <lekktu@gmail.com>
7084
acc825c5 7085 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 7086
ad74a69e
MA
70872011-10-26 Michael Albinus <michael.albinus@gmx.de>
7088
7089 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 7090 tramp.el explicitly. (Bug#7583)
ad74a69e 7091
71d4c2a5
SM
70922011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7093
7094 * progmodes/octave-mod.el:
7095 * progmodes/octave-inf.el: Update maintainer.
7096
b1f6fa26
CY
70972011-10-26 Chong Yidong <cyd@gnu.org>
7098
7099 * subr.el (with-wrapper-hook): Rewrite doc.
7100
3f04efd6
MA
71012011-10-25 Michael Albinus <michael.albinus@gmx.de>
7102
7103 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 7104 filenames "/method:foo:". (Bug#9793)
3f04efd6 7105
410488d3
SM
71062011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7107
7108 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
7109 (bug#9865).
7110
c1ebb47e
GM
71112011-10-24 Glenn Morris <rgm@gnu.org>
7112
7113 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
7114
7f5c46c7
MA
71152011-10-24 Michael Albinus <michael.albinus@gmx.de>
7116
7117 * notifications.el: Add the requirement of a running D-Bus session
7118 bus to the Commentary.
7119
db2440b6
JL
71202011-10-24 Juri Linkov <juri@jurta.org>
7121
7122 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
7123 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
7124 (Bug#9364)
7125
feecf435
JL
71262011-10-24 Juri Linkov <juri@jurta.org>
7127
7128 * info.el (Info-following-node-name-re): Add newline to the list
7129 of allowed characters for leading space. (Bug#9824)
7130
a3839de2
SM
71312011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7132
acc825c5
SM
7133 * progmodes/octave-inf.el (inferior-octave-mode-map):
7134 Fix C-c C-h binding.
a3839de2
SM
7135 * progmodes/octave-mod.el (octave-help): Remove.
7136
09388e76
MA
71372011-10-23 Michael Albinus <michael.albinus@gmx.de>
7138
7139 Sync with Tramp 2.2.3.
7140
7141 * net/tramp-cache.el (top): Pacify byte-compiler using
7142 `init-file-user' and `site-run-file'.
7143
7144 * net/trampver.el: Update release number.
7145
86c60681
CY
71462011-10-23 Chong Yidong <cyd@gnu.org>
7147
7148 * files.el (toggle-read-only): Remove obsolete comment about
7149 version control.
7150
7151 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
7152 for toggle-read-only. Note that this hasn't called vc-next-action
7153 since 2008-05-02, though it wasn't documented at the time.
7154
a3839de2
SM
7155 * vc/ediff-init.el (ediff-toggle-read-only-function):
7156 Use toggle-read-only.
86c60681 7157
cd5495ff
AM
71582011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
7159
7160 Fix bug #9560, sporadic wrong indentation; improve instrumentation
7161 of c-parse-state.
7162
00b77525 7163 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 7164 correct faulty logical expression.
cd5495ff
AM
7165 (c-parse-state-state, c-record-parse-state-state):
7166 (c-replay-parse-state-state): New defvar/defuns.
7167 (c-debug-parse-state): Use new functions.
7168
42ee24ed
MR
71692011-10-22 Martin Rudalics <rudalics@gmx.at>
7170
7171 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 7172 last fix. Use window-in-direction correctly.
42ee24ed 7173
a7dee7e7
CY
71742011-10-21 Chong Yidong <cyd@gnu.org>
7175
7176 * progmodes/idlwave.el (idlwave-mode):
7177 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
7178 require-final-newline; that's done in prog-mode.
7179 Suggested by Stefan Monnier.
a7dee7e7 7180
e07b9a6d
MR
71812011-10-21 Martin Rudalics <rudalics@gmx.at>
7182
7183 * mouse.el (mouse-drag-window-above)
7184 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
7185 (mouse-drag-mode-line-1, mouse-drag-header-line)
7186 (mouse-drag-vertical-line-rightward-window): Remove.
7187 (mouse-drag-line): New function.
7188 (mouse-drag-mode-line, mouse-drag-header-line)
7189 (mouse-drag-vertical-line): Call mouse-drag-line.
7190 * window.el (window-at-side-p, windows-at-side): New functions.
7191
7e1361d9
UM
71922011-10-21 Ulrich Mueller <ulm@gentoo.org>
7193
7194 * tar-mode.el (tar-grind-file-mode):
7195 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
7196
30fcaf3a
CY
71972011-10-21 Chong Yidong <cyd@gnu.org>
7198
7199 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
7200 * progmodes/vera-mode.el (vera-mode):
7201 Use mode-require-final-newline.
30fcaf3a 7202
516eddb0
GM
72032011-10-20 Glenn Morris <rgm@gnu.org>
7204
db22a3c2 7205 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 7206
10d5f513
CS
72072011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
7208
7209 * emulation/cua-base.el (cua-set-mark): Fix case of string.
7210
ac6c8639
CY
72112011-10-20 Chong Yidong <cyd@gnu.org>
7212
7213 * emulation/cua-base.el (cua-mode):
7214 * mail/footnote.el (footnote-mode):
7215 * mail/mailabbrev.el (mail-abbrevs-mode):
7216 * net/xesam.el (xesam-minor-mode):
7217 * progmodes/bug-reference.el (bug-reference-mode):
7218 * progmodes/cap-words.el (capitalized-words-mode):
7219 * progmodes/compile.el (compilation-minor-mode)
7220 (compilation-shell-minor-mode):
7221 * progmodes/gud.el (gud-tooltip-mode):
7222 * progmodes/hideif.el (hide-ifdef-mode):
7223 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
7224 * progmodes/subword.el (subword-mode):
7225 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7226 * progmodes/which-func.el (which-function-mode):
7227 * term/tvi970.el (tvi970-set-keypad-mode):
7228 * term/vt100.el (vt100-wide-mode):
7229 * textmodes/flyspell.el (flyspell-mode):
7230 * textmodes/ispell.el (ispell-minor-mode):
7231 * textmodes/nroff-mode.el (nroff-electric-mode):
7232 * textmodes/paragraphs.el (use-hard-newlines):
7233 * textmodes/refill.el (refill-mode):
7234 * textmodes/reftex.el (reftex-mode):
7235 * textmodes/rst.el (rst-minor-mode):
7236 * textmodes/sgml-mode.el (html-autoview-mode)
7237 (sgml-electric-tag-pair-mode):
7238 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
7239 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
7240 * emulation/crisp.el (crisp-mode):
7241 * emacs-lisp/eldoc.el (eldoc-mode):
7242 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
7243 minor mode behavior.
7244
aa42ab43
JL
72452011-10-19 Juri Linkov <juri@jurta.org>
7246
7247 * descr-text.el (describe-char): Add #x2010 and #x2011 to
7248 the list of hard-coded chars with escape-glyph face.
7249
89400f1d
SM
72502011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7251
7252 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
7253
305c07f6
MA
72542011-10-19 Michael Albinus <michael.albinus@gmx.de>
7255
7256 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
7257 running process.
7258
13754b54
GM
72592011-10-19 Glenn Morris <rgm@gnu.org>
7260
7261 * vc/vc-bzr.el (vc-bzr-after-dir-status):
7262 Ignore ignored files. (Bug#9726)
7263
06e21633
CY
72642011-10-19 Chong Yidong <cyd@gnu.org>
7265
7266 Doc fix for minor modes, stating that an omitted argument enables
7267 the mode unconditionally when called from Lisp.
7268
7269 * abbrev.el (abbrev-mode):
7270 * allout.el (allout-mode):
7271 * autoinsert.el (auto-insert-mode):
7272 * autoarg.el (autoarg-mode, autoarg-kp-mode):
7273 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
7274 (global-auto-revert-mode):
7275 * battery.el (display-battery-mode):
7276 * composite.el (global-auto-composition-mode)
7277 (auto-composition-mode):
7278 * delsel.el (delete-selection-mode):
7279 * desktop.el (desktop-save-mode):
7280 * dired-x.el (dired-omit-mode):
7281 * dirtrack.el (dirtrack-mode):
7282 * doc-view.el (doc-view-minor-mode):
7283 * double.el (double-mode):
7284 * electric.el (electric-indent-mode, electric-pair-mode):
7285 * emacs-lock.el (emacs-lock-mode):
7286 * epa-hook.el (auto-encryption-mode):
7287 * follow.el (follow-mode):
7288 * font-core.el (font-lock-mode):
7289 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
7290 * help.el (temp-buffer-resize-mode):
7291 * hilit-chg.el (highlight-changes-mode)
7292 (highlight-changes-visible-mode):
7293 * hi-lock.el (hi-lock-mode):
7294 * hl-line.el (hl-line-mode, global-hl-line-mode):
7295 * icomplete.el (icomplete-mode):
7296 * ido.el (ido-everywhere):
7297 * image-file.el (auto-image-file-mode):
7298 * image-mode.el (image-minor-mode):
7299 * iswitchb.el (iswitchb-mode):
7300 * jka-cmpr-hook.el (auto-compression-mode):
7301 * linum.el (linum-mode):
7302 * longlines.el (longlines-mode):
7303 * master.el (master-mode):
7304 * mb-depth.el (minibuffer-depth-indicate-mode):
7305 * menu-bar.el (menu-bar-mode):
7306 * minibuf-eldef.el (minibuffer-electric-default-mode):
7307 * mouse-sel.el (mouse-sel-mode):
7308 * msb.el (msb-mode):
7309 * mwheel.el (mouse-wheel-mode):
7310 * outline.el (outline-minor-mode):
7311 * paren.el (show-paren-mode):
7312 * recentf.el (recentf-mode):
7313 * reveal.el (reveal-mode, global-reveal-mode):
7314 * rfn-eshadow.el (file-name-shadow-mode):
7315 * ruler-mode.el (ruler-mode):
7316 * savehist.el (savehist-mode):
7317 * scroll-all.el (scroll-all-mode):
7318 * scroll-bar.el (scroll-bar-mode):
7319 * server.el (server-mode):
7320 * shell.el (shell-dirtrack-mode):
7321 * simple.el (auto-fill-mode, transient-mark-mode)
7322 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
7323 (line-number-mode, column-number-mode, size-indication-mode)
7324 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
7325 * strokes.el (strokes-mode):
7326 * time.el (display-time-mode):
7327 * t-mouse.el (gpm-mouse-mode):
7328 * tool-bar.el (tool-bar-mode):
7329 * tooltip.el (tooltip-mode):
7330 * type-break.el (type-break-mode-line-message-mode)
7331 (type-break-query-mode):
7332 * view.el (view-mode):
7333 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7334 (global-whitespace-mode, global-whitespace-newline-mode):
7335 * xt-mouse.el (xterm-mouse-mode): Doc fix.
7336
a3839de2
SM
7337 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7338 Fix autogenerated docstring.
06e21633 7339
5214e501
JL
73402011-10-19 Juri Linkov <juri@jurta.org>
7341
7342 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
7343 by checking environment variables "DESKTOP_SESSION" and
7344 "XDG_CURRENT_DESKTOP". (Bug#9779)
7345
195f8db9
JL
73462011-10-19 Juri Linkov <juri@jurta.org>
7347
7348 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
7349 (browse-url-chromium-program, browse-url-chromium-arguments):
7350 New defcustoms.
7351 (browse-url-default-browser): Check for `browse-url-chromium' and
7352 call `browse-url-chromium-program'.
7353 (browse-url-chromium): New command. (Bug#9779)
7354
343a34ff
JB
73552011-10-18 Juanma Barranquero <lekktu@gmail.com>
7356
7357 * facemenu.el (list-colors-duplicates): On Windows, detect more
7358 duplicates by assuming that only colors matching "^System" are
7359 special "system colors". (Bug#9722)
7360
6978a151
SM
73612011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7362
7363 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
7364 to distinguish the author from the committer.
7365
6a80b297
MA
73662011-10-18 Michael Albinus <michael.albinus@gmx.de>
7367
7368 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
7369
b31a5677
JK
73702011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
7371
7372 * international/mule.el (sgml-html-meta-auto-coding-function):
7373 Add support for detecting encoding in HTML5 specified only as
7374 <meta charset="UTF-8">. Implementation just makes http-equiv and
7375 content-type parts from HTML4 encoding string optional. (Bug#9716)
7376
80c6d77f
GM
73772011-10-18 Glenn Morris <rgm@gnu.org>
7378
7379 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
7380
08b0fee8
CY
73812011-10-18 Chong Yidong <cyd@gnu.org>
7382
7383 * faces.el (cursor): Doc fix.
7384
67e729a5
CY
73852011-10-17 Chong Yidong <cyd@gnu.org>
7386
7387 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
7388
343a34ff 73892011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
7390
7391 * dirtrack.el (dirtrack): Support shell buffers with path
7392 prefixes, e.g. tramp-based remote shells. (Bug#9647)
7393
0bc06380
TZ
73942011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
7395
7396 * json.el: Bump version to 1.3 and note change in History.
7397 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
7398
8b79f3e0
SM
73992011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7400
5a7c536b
SM
7401 * comint.el (comint-insert-input, comint-send-input)
7402 (comint-get-old-input-default, comint-backward-matching-input)
7403 (comint-next-prompt): Use nil instead of `input' for field property of
7404 past user input (bug#114).
7405
96a8a0df
SM
7406 * minibuffer.el (completion--replace): Inherit surrounding properties
7407 (bug#114).
7408 (minibuffer-complete-and-exit): Use it.
7409
8b79f3e0
SM
7410 * comint.el (comint--table-subvert): Quote the all-completions output
7411 (bug#9160).
7412
b8f7ff0d
MR
74132011-10-17 Martin Rudalics <rudalics@gmx.at>
7414
8b79f3e0 7415 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 7416
b8f7ff0d 7417 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 7418 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
7419 entries and separate them from frame entries.
7420
c235b555
GM
74212011-10-15 Glenn Morris <rgm@gnu.org>
7422
7423 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
7424 Doc fixes.
7425
6bbfa6e1
CY
74262011-10-15 Chong Yidong <cyd@stupidchicken.com>
7427
8b79f3e0
SM
7428 * net/network-stream.el (network-stream-open-starttls):
7429 Improve detection of failure due to lack of TLS support.
ec5c990d 7430
6bbfa6e1
CY
7431 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
7432 putting the input text in front and in bold.
7433
98488977
SM
74342011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7435
3d1337be
SM
7436 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
7437
ee0b45e4
SM
7438 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
7439 empty buffer.
7440
98488977
SM
7441 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
7442 unread-command-events rather than pushing yet-another event.
7443
186f4720
EZ
74442011-10-14 Eli Zaretskii <eliz@gnu.org>
7445
7446 * mail/sendmail.el (sendmail-query-once): Improve the wording of
7447 the explanation of the possible choices. Make the options passed
7448 to completing-read shorter.
7449
8b7a997c
AM
74502011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
7451
7452 * textmodes/flyspell.el (flyspell-large-region): Make sure
7453 extended character mode is used if defined (Bug#1339).
7454
12587bbb
EZ
74552011-10-13 Eli Zaretskii <eliz@gnu.org>
7456
7457 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
7458 character info for LRE, LRO, RLE, and RLO characters by appending
7459 an invisible PDF.
12587bbb 7460
bad41229
SM
74612011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
7462
7463 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
7464 even in case of error; add debug spec; simplify data flow.
7465 (with-timeout-handler): Remove.
7466
28dbc92f
MA
74672011-10-12 Michael Albinus <michael.albinus@gmx.de>
7468
7469 Fix Bug#6019, Bug#9315.
7470
7471 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
7472 complete `buffer-file-name', the local file name part could look
7473 remotely (for example on VMS).
7474
7475 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
7476 `tramp-run-real-handler'.
7477 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
7478 already quoted by '"'.
7479
7480 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
7481 Let `file-name-handler-alist' be nil, the local file name part
7482 could look remotely (for example on VMS).
7483
e1b0b23a
SM
74842011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
7487 from here...
7488 (flyspell-post-command-hook): ...to here.
7489
a120bde9
SM
74902011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7491
7492 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
7493 if not needed.
7494 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
7495 using completion. Protect against "slow" callers.
7496 Remove the "message hack".
7497
7ce7717b
JL
74982011-10-11 Juri Linkov <juri@jurta.org>
7499
7500 * isearch.el (isearch-lazy-highlight-word): New variable.
7501 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7502 Use it. (Bug#9727)
7503
c02ee9d6
GM
75042011-10-11 Glenn Morris <rgm@gnu.org>
7505
7506 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
7507 like f90-previous-statement does.
7508
93e616fd 75092011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7510
1f190e73 7511 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
7512 only in interactive use, to avoid error.
7513
af7b6078
SM
75142011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7515
7516 * minibuffer.el (completion-file-name-table): Fix last change,
7517 i.e. ignore normal errors but not the other ones.
7518
0563dae9
MR
75192011-10-10 Martin Rudalics <rudalics@gmx.at>
7520
7521 * window.el (special-display-buffer-names)
7522 (special-display-regexps): Remove some remnants of earlier
7523 changes from doc-strings.
366ca7f3
MR
7524 (quit-windows-on): New function.
7525
7526 * vc/vc.el (vc-revert, vc-rollback):
7527 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
7528 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 7529 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 7530
49677495
MR
75312011-10-09 Martin Rudalics <rudalics@gmx.at>
7532
7533 * window.el (frame-auto-hide-function): Add version tag.
7534 (Bug#9699)
7535
56f2d1e1
MA
75362011-10-09 Michael Albinus <michael.albinus@gmx.de>
7537
7538 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
7539 condition.
7540
112a6592
LL
75412011-10-09 Leo Liu <sdl.web@gmail.com>
7542
7543 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
7544 (Bug#9701)
7545
0812589b
GM
75462011-10-08 Glenn Morris <rgm@gnu.org>
7547
7548 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
7549 before the first code statement zero indent. (Bug#9690)
7550
b2b0776e
CY
75512011-10-08 Chong Yidong <cyd@stupidchicken.com>
7552
7553 * simple.el (count-words-region): Always count in the region.
7554 Report the number of lines and characters too.
7555 (count-words): New command, which counts in the buffer if the
7556 region is inactive, as count-words-region used to.
7557 (count-words--message): New function. Handle plurals.
7558 (count-lines-region): Make it an alias for count-words-region.
7559
7560 * bindings.el (esc-map): Replace count-lines-region with
7561 count-words-region.
7562
c557cd6b
MR
75632011-10-08 Martin Rudalics <rudalics@gmx.at>
7564
7565 * window.el (window--delete): Delete dedicated frame
7566 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 7567 (switch-to-buffer): Fix doc-string typo.
c557cd6b 7568
61a57ef4 75692011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7570
3a7d293b 7571 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 7572
c3833279
CY
75732011-10-07 Chong Yidong <cyd@stupidchicken.com>
7574
7575 * bindings.el ([M-left],[M-right]): Bind to left-word and
7576 right-word respectively.
7577
21ce8245
GM
75782011-10-07 Glenn Morris <rgm@gnu.org>
7579
7580 * cus-start.el (debug-on-quit): Fix custom type.
7581
6d823bb2
LMI
75822011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7583
0181e193
LMI
7584 * subr.el (define-key-after): Clarify that the function is not
7585 useful for non-menu keymaps.
7586
6d823bb2
LMI
7587 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
7588
8e3459ce 75892011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7590
21ce8245 7591 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 7592 in current minibuffer (Fix bug with recursive minibuffers).
7593
a1c2d21e
CY
75942011-10-06 Chong Yidong <cyd@stupidchicken.com>
7595
7596 * progmodes/gdb-mi.el (gdb): Doc fix.
7597
5a4cf282
MR
75982011-10-05 Martin Rudalics <rudalics@gmx.at>
7599
7600 * window.el (frame-auto-hide-function): New option replacing
7601 frame-auto-delete. Suggested by Stefan Monnier.
7602 (window--delete): Call frame-auto-hide-function instead of
7603 investigating frame-auto-delete.
c96111ea
MR
7604 (window-point-1, set-window-point-1): New functions.
7605 (window-in-direction, record-window-buffer, window-state-get-1)
7606 (display-buffer-record-window): Use window-point-1 instead of
7607 window-point.
7608 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 7609
9854542e
SM
76102011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
7613
8943cfb0
GM
76142011-10-05 Glenn Morris <rgm@gnu.org>
7615
7616 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
7617 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
7618
647ab967
LL
76192011-10-05 Leo Liu <sdl.web@gmail.com>
7620
7621 * subr.el (read-char-choice): Fix argument to buffer-live-p which
7622 works with buffer object.
7623
3ddfbced
SM
76242011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7625
7626 * mpc.el (mpc-tool-bar-map): Add labels.
7627
bdfa5dd2
GM
76282011-10-04 Glenn Morris <rgm@gnu.org>
7629
7630 * calendar/holidays.el (calendar-check-holidays): Doc fix.
7631
0e2070b5
MR
76322011-10-04 Martin Rudalics <rudalics@gmx.at>
7633
7634 * window.el (window--delete): New function.
7635 (frame-auto-delete): Resuscitate option.
7636 (bury-buffer, replace-buffer-in-windows)
7637 (quit-window): Rewrite using window--delete.
7638 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7639 Pass display-buffer-mark-dedicated to window--display-buffer-2
7640 (Bug#9639).
7641
3dc61a09
SM
76422011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7643
915a9b64
SM
7644 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
7645 returns a list (bug#9554). Add remote file name completion.
7646 * comint.el (comint--table-subvert): Curry and get quote&unquote
7647 functions as arguments.
7648 (comint--complete-file-name-data): Adjust call accordingly.
7649 * pcomplete.el (pcomplete--table-subvert): Remove.
7650 (pcomplete-completions-at-point): Use comint--table-subvert instead.
7651
3dc61a09
SM
7652 * minibuffer.el (completion-table-case-fold): Use currying.
7653 (completion--styles-type, completion--cycling-threshold-type):
7654 New constants.
7655 (completion-styles, completion-category-overrides)
7656 (completion-cycle-threshold): Use them.
7657 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
7658 completion-table-case-fold.
7659
8ea0a993
SB
76602011-10-03 Stephen Berman <stephen.berman@gmx.net>
7661
7662 * minibuffer.el (completion-category-overrides): Fix type of styles
7663 and add more user friendly tags (bug#9660).
7664
8c24b7f6
SM
76652011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7666
7667 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
7668 (mule-input-method-string): New widget.
7669 (default-input-method, language-info-custom-alist): Use it.
7670
428fe61a
SM
76712011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
7672
32c1fffd
SM
7673 * pcomplete.el: Require comint.
7674 (pcomplete--common-suffix): Remove.
7675 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
7676 (pcomplete--table-subvert): Sync with comint--table-subvert.
7677 (pcomplete--entries): Use comint-completion-file-name-table.
7678 * comint.el (comint-unquote-filename): Simplify.
7679 (comint-completion-file-name-table): New function (bug#9616).
7680 (comint--complete-file-name-data): Use it.
7681
428fe61a
SM
7682 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
7683 (pcmpl-gnu-tar-buffer): Remove.
7684 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
7685 around. Make sure pcomplete-suffix-list is only changed temporarily.
7686 Don't look inside the tar's file if it's too large.
428fe61a 7687
04c52e2f
CY
76882011-10-01 Chong Yidong <cyd@stupidchicken.com>
7689
ce3cefcc
CY
7690 * cus-edit.el (custom-mode-map):
7691 * epa.el (epa-key-list-mode-map):
7692 * man.el (Man-mode-map):
7693 * startup.el (splash-screen-keymap):
7694 * simple.el (special-mode-map): Use scroll-up-command and
7695 scroll-down-command.
7696
7697 * progmodes/idlw-help.el (idlwave-help-mode-map):
7698 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
7699 * net/newst-plainview.el (newsticker-mode-map):
7700 * emulation/ws-mode.el (wordstar-mode-map):
7701 * emulation/vi.el (vi-com-map):
7702 * calc/calc-graph.el (calc-graph-show-dumb):
7703 * term/sun.el (terminal-init-sun):
7704 * term/ns-win.el (global-map):
7705 * progmodes/grep.el (grep-mode-map):
7706 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
7707 * mail/rmail.el (rmail-mode-map):
7708 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
7709
04c52e2f
CY
7710 * custom.el (custom-safe-themes, load-theme): Treat value of t for
7711 custom-safe-themes as special.
7712
79adf8c8
JD
77132011-10-01 Julien Danjou <julien@danjou.info>
7714
7715 * notifications.el (notifications-notify): Fix docstring.
7716
63bd50d3
PS
77172011-10-01 Per Starbäck <per@starback.se>
7718
7719 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
7720
199e4c7e
MR
77212011-09-30 Martin Rudalics <rudalics@gmx.at>
7722
7723 * startup.el (command-line-1): Fix last fix by inserting
7724 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 7725 (Bug#9605) and (Bug#9636)
199e4c7e 7726
fe5f08dd
EZ
77272011-09-29 Eli Zaretskii <eliz@gnu.org>
7728
7729 * simple.el (line-move): If auto-hscroll-mode is disabled and the
7730 window is hscrolled, move by logical lines. (Bug#9607)
7731 (line-move-visual): Update the doc string to the above effect.
7732
b5516bbd
MR
77332011-09-29 Martin Rudalics <rudalics@gmx.at>
7734
ccee00c0
MR
7735 * window.el (display-buffer-record-window): When WINDOW is the
7736 selected window use `point' instead of `window-point'. (Bug#9626)
7737
b5516bbd
MR
7738 * startup.el (command-line-1): Use insert-before-markers when
7739 inserting initial-scratch-message. (Bug#9605)
ccee00c0 7740
b5516bbd
MR
7741 * help.el (help-window): Remove variable.
7742
52aa0014
GM
77432011-09-29 Glenn Morris <rgm@gnu.org>
7744
7745 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
7746
df9a7357
JB
77472011-09-29 Juanma Barranquero <lekktu@gmail.com>
7748
7749 * descr-text.el (describe-char-categories): Accept category
7750 descriptions more than one line long.
7751
a8406c20
SM
77522011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7753
88d9610c
SM
7754 * simple.el (delete-trailing-whitespace): Fix last change.
7755
a5daf810
SM
7756 * progmodes/perl-mode.el (perl-syntax-propertize-function):
7757 Don't confuse "y => 3" as the beginning of a `y' operation.
7758
a8406c20
SM
7759 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
7760 object has more than 4 slots (bug#9613).
7761
a239d4e9
JB
77622011-09-28 Juanma Barranquero <lekktu@gmail.com>
7763
7764 * subr.el (with-output-to-temp-buffer):
7765 * net/quickurl.el (quickurl, quickurl-browse-url):
7766 Fix typos in docstrings.
7767
693fbdb6
EZ
77682011-09-27 Eli Zaretskii <eliz@gnu.org>
7769
7770 * minibuffer.el (completion-styles)
7771 (completion-category-overrides): Cross reference each other in doc
7772 strings.
7773
8b457e28
GM
77742011-09-27 Glenn Morris <rgm@gnu.org>
7775
7776 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
7777 to split-string. (Bug#9606)
7778
85a16208
LMI
77792011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
7780
7781 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
7782 (bug#9615).
7783
502f9ebd
CY
77842011-09-27 Chong Yidong <cyd@stupidchicken.com>
7785
7786 * emacs-lisp/package.el (list-packages): Fix echo area message.
7787
7690bdea
LL
77882011-09-27 Leo Liu <sdl.web@gmail.com>
7789
7790 * ido.el (ido-read-internal): Accept cons cell HIST arg.
7791
e2ee6f30
MA
77922011-09-25 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * net/dbus.el (dbus-unregister-object): Don't release services for
7795 registered signals. (Bug#9581)
7796
f3f98342
TZ
77972011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
7798
7799 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
7800 function that picks between cfengine 2 and 3 support
7801 automatically. Update docs accordingly.
7802
dd7aa8dd
KH
78032011-09-22 Kenichi Handa <handa@m17n.org>
7804
7805 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
7806 ZERO.
7807 (indian-itrans-v5-table-for-tamil): New variable.
7808 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
7809
3f2b07f8
KM
78102011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
7811
7812 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
7813 that's true if the current command involved collapsing of text.
7814 It's reset to false at the beginning of the next command.
7815 (allout-post-command-business): Move the cursor to the beginning
7816 of entry if the cursor is hidden and collapsing activity just
7817 happened.
7818
371d6a61
CY
78192011-09-24 Chong Yidong <cyd@stupidchicken.com>
7820
7821 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
7822 tracking (Bug#9541).
7823
2ac2721a
UJ
78242011-09-24 Ulf Jasper <ulf.jasper@web.de>
7825
7826 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
7827 (newsticker-show-news): Automatically load html rendering package
7828 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
7829 because w3m-fill-column is let-bound" and the error "Symbol's value
7830 as variable is void: w3m-fill-column".
2ac2721a 7831
fac7ae53
MA
78322011-09-24 Michael Albinus <michael.albinus@gmx.de>
7833
7834 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
7835 Release services only if they are defined. (Bug#9581)
7836
e08b633b
RS
78372011-09-23 Richard Stallman <rms@gnu.org>
7838
e488d29c
RS
7839 * textmodes/paragraphs.el (forward-sentence): For backwards case,
7840 distinguish start of paragraph from start of its text.
7841
19c38752
RS
7842 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
7843
e08b633b
RS
7844 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
7845 (rmail-generate-viewer-buffer): Put that hook on view buffer.
7846 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
7847
0a39f27e
AS
78482011-09-23 Andreas Schwab <schwab@linux-m68k.org>
7849
7850 * international/mule-diag.el (mule-diag): Insert a newline after
7851 each fontset description.
7852
db4e950d
SM
78532011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7854
7855 * simple.el (delete-trailing-whitespace):
7856 Document last change; simplify.
7857
eca3f3ea
PW
78582011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
7859
d68e189a
PW
7860 * simple.el (delete-trailing-whitespace): Also delete
7861 extra newlines at the end of the buffer.
7862
eca3f3ea
PW
7863 * textmodes/picture.el: Make motion commands obey shift-select-mode.
7864 (picture-newline): Use forward-line so as to ignore fields.
7865
01c157cc
SM
78662011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * subr.el (with-wrapper-hook): Fix edebug spec.
7869
022de23e
LMI
78702011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
7871
7872 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
7873 (bug#4538).
7874
91683089
MA
78752011-09-23 Michael Albinus <michael.albinus@gmx.de>
7876
eca3f3ea
PW
7877 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
7878 Fix nasty bug using wrong cached values.
91683089 7879
5bdd6fa4
AM
78802011-09-23 Alan Mackenzie <acm@muc.de>
7881
7882 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
7883
97adfb97
CY
78842011-09-23 Chong Yidong <cyd@stupidchicken.com>
7885
7886 * window.el (pop-to-buffer): Ensure right window is selected if we
7887 chose another frame.
7888
d4ef2b50
EZ
78892011-09-22 Eli Zaretskii <eliz@gnu.org>
7890
7891 * simple.el (what-cursor-position): Use get-char-property-change
7892 and next-single-char-property-change, to be able to show display
7893 properties that come from overlays as well as text properties.
7894
72258fe5
CY
78952011-09-22 Chong Yidong <cyd@stupidchicken.com>
7896
7897 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
7898
7899 * cmuscheme.el (run-scheme, switch-to-scheme):
7900 * cus-edit.el (customize-group, custom-buffer-create)
7901 (customize-browse):
7902 * info.el (info):
7903 * shell.el (shell):
7904 * mail/sendmail.el (mail):
7905 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
7906
8f098516
RS
79072011-09-22 Richard Stallman <rms@gnu.org>
7908
7909 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
7910 move back only to line beg, don't move back over blank lines.
7911
e74f1bb6
MA
79122011-09-22 Michael Albinus <michael.albinus@gmx.de>
7913
7914 * files.el (copy-directory): Set directory attributes only in case
7915 they could be retrieved from the source directory. (Bug#9565)
7916
bfeef8b6
DK
79172011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
7918
7919 * progmodes/hideshow.el (hs-looking-at-block-start-p)
7920 (hs-find-block-beginning, hs-hide-level-recursive):
7921 Ignore strings as well as comments. (Bug#9502)
7922
7e423bb8
AS
79232011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
7924
7925 * progmodes/sql.el (sql-comint-postgres):
7926 Convert port number to a string. (Bug#9566)
7927
b4d72fcf
MR
79282011-09-22 Martin Rudalics <rudalics@gmx.at>
7929
7930 * window.el (quit-window): Undedicate window when switching to
7931 previous buffer. Reported by Thierry Volpiatto
7932 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
7933 (special-display-popup-frame): When popping up a new frame reset
7934 its previous buffers to nil. Simplify code.
b4d72fcf 7935
a7b88dc6
MA
79362011-09-21 Michael Albinus <michael.albinus@gmx.de>
7937
7938 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
7939 and process filter, as done also in `shell-command'.
7940
cf4eacfd
MR
79412011-09-21 Martin Rudalics <rudalics@gmx.at>
7942
eca3f3ea 7943 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
7944 Call set-window-start with NOFORCE argument t.
7945 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
7946 (quit-window): Reword doc-string. Handle new format of
7947 quit-restore parameter. Don't delete window if it has a
7948 previous buffer we can show instead of the present one.
7949 (display-buffer-record-window): Rewrite using a new format for
7950 the quit-restore window parameter
7951 (special-display-popup-frame, display-buffer-same-window)
7952 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7953 (display-buffer-pop-up-window, display-buffer-use-some-window):
7954 Adapt symbol passed to display-buffer-record-window.
7955 * help.el (help-window-setup): Handle new format of quit-restore
7956 parameter.
7957
8d28cb95
SM
79582011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
7959
94ab793f
SM
7960 * faces.el (face-list): Fix docstring (bug#9564).
7961
8d28cb95
SM
7962 * window.el (display-buffer--action-function-custom-type):
7963 Don't include internal functions in the Custom interface.
7964
3820edeb
JL
79652011-09-20 Juri Linkov <juri@jurta.org>
7966
7967 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
7968 (Info-forward-node, Info-backward-node, Info-next-preorder)
7969 (Info-last-preorder): Use it. (Bug#9528)
7970
5147931d
JL
79712011-09-20 Juri Linkov <juri@jurta.org>
7972
7973 * info.el (Info-last-preorder): Visit last menu item only when
7974 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
7975
cf499a1a
JD
79762011-09-20 Julien Danjou <julien@danjou.info>
7977
7978 * password-cache.el (password-cache-remove): Remove entries even if the
7979 value is nil, so that password with a nil value (negative caching) is
7980 possible to invalidate.
7981
f84e2fe2
LM
79822011-09-20 Lawrence Mitchell <wence@gmx.li>
7983
7984 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
7985 all whitespace around breakpoint. (Bug#9553)
7986 (f90-find-breakpoint): Only break at whitespace inside a comment.
7987
78054a46
SM
79882011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * minibuffer.el (completion-file-name-table): Keep track of errors.
7991 (completion-table-with-predicate): Handle the case where pred1 is nil.
7992 * pcomplete.el (pcomplete-completions-at-point): Simplify.
7993
345083b2
SM
79942011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7995
e24e27be
SM
7996 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
7997 (debugger-return-value): Signal an error if the debugging context does
7998 not await any return value.
7999
345083b2
SM
8000 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
8001 * image-mode.el (image-toggle-display-text)
8002 (image-toggle-display-image): Stay away from evil `intangible'.
8003
08d355e3
LL
80042011-09-19 Leo Liu <sdl.web@gmail.com>
8005
8006 * replace.el (occur-revert-arguments): Make it permanent-local.
8007 (occur-mode): Don't call font-lock-defontify.
8008
f01da43f
CY
80092011-09-19 Chong Yidong <cyd@stupidchicken.com>
8010
8011 * net/ldap.el (ldap-search-internal): Don't push empty search
8012 result (Bug#9508).
8013
b6072fa6
SM
80142011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8015
8016 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
8017
443d6696
MA
80182011-09-19 Michael Albinus <michael.albinus@gmx.de>
8019
8020 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
8021 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
8022
7cc6e154
JL
80232011-09-18 Juri Linkov <juri@jurta.org>
8024
8025 * buff-menu.el (Buffer-menu-mode-map):
8026 * dired.el (dired-mode-map):
8027 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
8028 (lisp-interaction-mode-map):
8029 * emacs-lisp/package.el (package-menu-mode-map):
8030 * epa.el (epa-key-list-mode-map):
8031 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
8032 (menu-bar-options-menu):
8033 * outline.el (outline-mode-menu-bar-map):
8034 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
8035 * vc/vc-dir.el (vc-dir-menu-map):
8036 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
8037 Capitalize non-function content words in menu item strings.
8038
8039 * dired.el (dired-mode-map): Add menu item for
8040 `image-dired-dired-toggle-marked-thumbs'.
8041
80302a81
JL
80422011-09-18 Juri Linkov <juri@jurta.org>
8043
8044 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
8045 to `isearch-case-fold-search' and restore its original value
8046 after the `isearch-mode' call.
8047
46c5cf66
JL
80482011-09-18 Juri Linkov <juri@jurta.org>
8049
8050 * progmodes/grep.el (grep-process-setup): Don't check code for 1
8051 because `zgrep' returns 1 for successful matches (bug#9226).
8052
d18b513b
JL
80532011-09-18 Juri Linkov <juri@jurta.org>
8054
8055 * info.el (Info-extract-menu-node-name): Check the second match
8056 for empty string (second test-case of bug#9528).
8057 (Info-last-preorder): Let-bind `Info-history' to nil to not add
8058 intermediate nodes to the history (first test-case of bug#9528).
8059
72753f87
JL
80602011-09-18 Juri Linkov <juri@jurta.org>
8061
8062 * info.el (Info-mode-syntax-table): New variable.
1154d12e 8063 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 8064
c9384295
JL
80652011-09-18 Juri Linkov <juri@jurta.org>
8066
1154d12e
JB
8067 * info.el (Info-file-supports-index-cookies):
8068 Increment line-beginning-position's arg from 3 to 4 because makeinfo
8069 outputs one more line for long file names (bug#4142).
c9384295 8070
d473dce8
CY
80712011-09-18 Chong Yidong <cyd@stupidchicken.com>
8072
8073 * newcomment.el (comment-normalize-vars): If prompting for
8074 comment-start, set comment-start-skip too (Bug#8424).
8075
2176854d
JB
80762011-09-18 Johan Bockgård <bojohan@gnu.org>
8077
8078 * icomplete.el: Fix previous fix of Bug#5849.
8079 (icomplete-mode): Don't set completion-show-inline-help.
8080 (icomplete-minibuffer-setup): Set completion-show-inline-help
8081 locally during icompletion.
8082
3aace4e4
CY
80832011-09-18 Chong Yidong <cyd@stupidchicken.com>
8084
c940224f
CY
8085 * woman.el (woman2-process-escapes): Don't delete unrecognized
8086 escapes (Bug#7843).
8087
3aace4e4
CY
8088 * files.el (inhibit-first-line-modes-regexps): Add image files.
8089 (hack-local-variables-prop-line): Return nil for malformed
8090 prop-lines (Bug#9044).
8091
710dec63
MA
80922011-09-18 Michael Albinus <michael.albinus@gmx.de>
8093
8094 * net/tramp.el (top): Don't require 'shell.
8095 (tramp-methods): Fix docstring.
8096 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
8097 Return complete remote file name. Handle "smb" case.
8098 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
8099 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
8100
8101 * net/tramp-compat.el (top): Require 'shell.
8102
8103 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8104 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
8105 `tramp-current-host'.
8106 (tramp-get-remote-tmpdir): Remove.
8107
8108 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
8109 `tramp-tmpdir' entries.
8110 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
8111 (tramp-smb-handle-file-attributes): Ignore errors.
8112 (tramp-smb-wait-for-output): Check also for process end.
8113
5d5ac8ec
LMI
81142011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
8115
8116 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
8117 when sending QUIT (bug#9312).
8118
8c0f49f0
CY
81192011-09-17 Chong Yidong <cyd@stupidchicken.com>
8120
8121 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
8122 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
8123 occur-mode-display-occurrence.
8124 (occur-edit-mode): Add usage message.
8125 (occur-cease-edit): New command.
8126 (occur-after-change-function): Use text properties to find the
8127 position of the prefix text.
8128 (occur-engine): Set stickiness of prefix text properties.
8129
8f1383f7
GM
81302011-09-17 Glenn Morris <rgm@gnu.org>
8131
8132 * progmodes/etags.el (complete-tag):
8133 Fix call to completion-in-region. (Bug#9526)
8134
744ba0e3
JL
81352011-09-17 Juri Linkov <juri@jurta.org>
8136
8137 * textmodes/ispell.el (ispell-word): Add to the error message
8138 the word, ispell program name and current dictionary (bug#9121).
8139 (ispell-tex-arg-end): Capitalize "error" in the error message.
8140
d9bbf400
AS
81412011-09-17 Andreas Schwab <schwab@linux-m68k.org>
8142
8143 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
8144 check. (Bug#4251)
8145
8da11505
JL
81462011-09-17 Juri Linkov <juri@jurta.org>
8147
8148 * window.el (window-safe-min-height, window-safe-min-width):
8149 Fix typos (followup to bug#9522).
8150
a91adc7e
SJ
81512011-09-17 Sven Joachim <svenjoac@gmx.de>
8152
8153 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
8154
064f328a
EZ
81552011-09-16 Eli Zaretskii <eliz@gnu.org>
8156
8157 * simple.el (line-move): If goal-column is set, move by logical
8158 lines, not by display lines. (Bug#971)
8159 (next-line, previous-line, goal-column, line-move-visual): Doc fix
8160 to reflect the above change.
8161
e69df516
SM
81622011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * image.el (imagemagick-register-types): Use regexp-opt.
8165
cbb0f9ab
CY
81662011-09-15 Chong Yidong <cyd@stupidchicken.com>
8167
8168 * window.el (display-buffer-base-action): Rename from
8169 display-buffer-default-action. Make default value empty.
8170 (display-buffer-overriding-action): Convert to defvar.
8171 (display-buffer-fallback-action): New var.
8172
25322144
CY
81732011-09-15 Chong Yidong <cyd@stupidchicken.com>
8174
8175 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
8176 declaration.
8177 (package--add-to-archive-contents): If there is a duplicate entry
8178 with an older version, remove it.
8179 (package-menu-mark-delete, package-menu-mark-install)
8180 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
8181 (package-menu-mark-obsolete-for-deletion):
8182 Use package-menu-get-status instead of a regexp search.
25322144
CY
8183 (package-menu-get-status): Use tabulated-list-entry.
8184 (package-menu-mark-upgrades): New command.
d770725a 8185 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
8186 (package-menu-execute): Do installation before deletion.
8187 (package-menu-refresh, package-menu-execute): Use derived-mode-p
8188 instead of checking major-mode.
8189 (package-menu--find-upgrades): New function.
8190
7520339c
LMI
81912011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
8192
8193 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
8194 passwords in the log buffer.
65a046c4
LMI
8195 (smtpmail-process-filter): Update the process marker so that the
8196 "broken by peer" status message is inserted in the right place.
7520339c 8197
d3c30954
SM
81982011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
8199
3fe48822
SM
8200 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
8201 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
8202 bibtex-completion-at-point-function.
8203 (bibtex-completion-at-point-function): Use them.
8204
1b8b3954
SM
8205 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
8206
d3c30954
SM
8207 * mpc.el (mpc-constraints-tag-lookup): New function.
8208 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
8209 also to browser "album|playlist".
8210
72779976
JL
82112011-09-14 Juri Linkov <juri@jurta.org>
8212
8213 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
8214 (isearch-edit-string): Use length of `isearch-string' when
8215 `isearch-fail-pos' returns nil.
8216 (isearch-message): Remove duplicate code and call
8217 `isearch-fail-pos' with arg `t'.
8218
a0bf2bcd
CY
82192011-09-14 Chong Yidong <cyd@stupidchicken.com>
8220
17bb0a2d
CY
8221 * replace.el (occur-mode-goto-occurrence): Don't force using other
8222 window (Bug#9499).
8223
a0bf2bcd
CY
8224 * dired-aux.el (dired-do-chmod): Don't provide initial input.
8225
f678e0b6
MR
82262011-09-14 Martin Rudalics <rudalics@gmx.at>
8227
8228 * window.el (display-buffer-window): Remove.
8229 (display-buffer-record-window): Use help-setup window parameter
8230 instead of variable display-buffer-window.
8231 (display-buffer-function, special-display-buffer-names)
8232 (special-display-function): Mention help-setup parameter instead
8233 of display-buffer-window in doc-string.
d3c30954
SM
8234 * help.el (help-window-setup): New argument help-window.
8235 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
8236 Reword some messages.
8237 (with-help-window): Pass window used for displaying the buffer
8238 to help-window-setup. Don't set display-buffer-window.
8239
8e39b2e8
GM
82402011-09-13 Glenn Morris <rgm@gnu.org>
8241
8242 * emacs-lisp/debug.el (debugger-make-xrefs):
8243 Preserve point. (Bug#9462)
8244
85e9c04b
CY
82452011-09-13 Chong Yidong <cyd@stupidchicken.com>
8246
8247 * window.el (window-deletable-p): Use next-frame.
8248
1b36ed6a
MR
82492011-09-13 Martin Rudalics <rudalics@gmx.at>
8250
8251 * window.el (window-auto-delete): Remove.
8252 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 8253 dedication and previous buffers.
1b36ed6a
MR
8254 (switch-to-prev-buffer): Don't delete window.
8255 (delete-windows-on): Delete a window's frame if and only if the
8256 window is dedicated.
8257 (replace-buffer-in-windows): Delete buffer's window or frame if
8258 and only if window is dedicated.
8259 (quit-window): Handle quit-restore as before last change.
4d61f28d 8260 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 8261
ef8ef9fb
CY
82622011-09-13 Chong Yidong <cyd@stupidchicken.com>
8263
8264 * window.el (window-deletable-p): Never delete the last frame on a
8265 given terminal.
8266
b2cba41e
GM
82672011-09-13 Glenn Morris <rgm@gnu.org>
8268
8269 * help.el (describe-key-briefly): Copy previous standard-output change.
8270
51553db6 82712011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
8272
8273 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
8274
b7556719
GM
82752011-09-13 Glenn Morris <rgm@gnu.org>
8276
8277 * emacs-lisp/lisp-mode.el (lisp-indent-function):
8278 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
8279
64b51947
CY
82802011-09-12 Chong Yidong <cyd@stupidchicken.com>
8281
8282 * dired-aux.el (dired-mark-read-string): Don't return default
8283 value on empty input (Bug#9361).
8284 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
8285 Omit initial minibuffer contents.
8286 (dired-do-chmod): Signal an error on empty input.
8287 (dired-mark-read-string): Don't return default on empty input.
8288
8289 * files.el (file-modes-symbolic-to-number): Doc fix.
8290
393a301e
SM
82912011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8292
8293 * international/mule-cmds.el (ucs-completions): Remove.
8294 (read-char-by-name): Use complete-with-action instead; add metadata.
8295
fa5660f9
CY
82962011-09-11 Chong Yidong <cyd@stupidchicken.com>
8297
8298 * window.el (display-buffer--action-function-custom-type)
8299 (display-buffer--action-custom-type): New vars.
8300 (display-buffer-alist, display-buffer-default-action)
8301 (display-buffer-overriding-action): Add defcustom types.
8302
4a592f66
CY
8303 * frame.el (delete-other-frames): Doc fix (Bug#276).
8304
73d56dbd
LMI
83052011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8306
8307 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
8308
37ac18a3
CY
83092011-09-11 Chong Yidong <cyd@stupidchicken.com>
8310
8311 Change modes that used same-window-* vars to use switch-to-buffer.
8312
8313 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
8314 Use switch-to-buffer.
8315
8316 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
8317 (customize-browse, custom-buffer-create-other-window):
8318 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
8319
8320 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
8321 (Info-prev, Info-up, Info-speedbar-goto-node)
8322 (info-display-manual): Use switch-to-buffer.
8323 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
8324
8325 * mail/sendmail.el (mail): Use switch-to-buffer.
8326 (mail-recover): Use switch-to-buffer-other-window.
8327
8328 * cmuscheme.el (run-scheme, switch-to-scheme):
8329 * ielm.el (ielm):
8330 * shell.el (shell):
8331 * net/rlogin.el (rlogin):
8332 * net/telnet.el (telnet, rsh):
8333 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
8334
10195bd6
AS
83352011-09-11 Andreas Schwab <schwab@linux-m68k.org>
8336
8337 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
8338
b322f63a
LMI
83392011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
8340
39d7fed6
LMI
8341 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
8342 so don't mention it (bug#9301).
ba5a81f1 8343 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 8344
ee0e9f11
LMI
8345 * faces.el (face-spec-set-match-display): Make `(type graphic)'
8346 match `x', `w32' and `ns', like the manual says (bug#9029).
8347
0b1c89c1 8348 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
8349 (process-kill-buffer-query-function): Mention the buffer name in
8350 the query.
0b1c89c1 8351
77549ea8
LMI
8352 * image-mode.el (image-next-line): The line parameter is mandatory
8353 (bug#9258).
8354
803ef892
LMI
8355 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
8356 which can be useful (bug#9301).
8357
12980837
LMI
8358 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
8359
91054f8f
LMI
8360 * subr.el (match-string): Mention that the current buffer should
8361 be the same as the search was done in (bug#9282).
8362
b322f63a
LMI
8363 * facemenu.el: Disable the remove-* commands if the mark isn't
8364 active (bug#9162).
8365
3199b96f
CY
83662011-09-10 Chong Yidong <cyd@stupidchicken.com>
8367
8368 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
8369 of display-buffer.
8370 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
8371
8372 * replace.el (occur-mode-goto-occurrence)
8373 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
8374 and display-buffer.
8375
8376 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
8377 display-buffer.
8378
8379 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
8380 special-display and same-window variables.
8381 (mail-other-window): Use switch-to-buffer-other-window.
8382 (mail-other-frame): USe switch-to-buffer-other-frame.
8383
393a301e
SM
8384 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
8385 Use display-buffer-other-frame.
3199b96f
CY
8386 (gdb-display-gdb-buffer): Use pop-to-buffer.
8387
8388 * progmodes/gud.el (gud-goto-info): Use info-other-window.
8389
8390 * progmodes/python.el: Don't set same-window-buffer-names.
8391
8392 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
8393
8394 * window.el (display-buffer-alist): Add *Python*.
8395
8319e0bf
CY
83962011-09-10 Chong Yidong <cyd@stupidchicken.com>
8397
8398 * window.el (display-buffer-alist): Add entry for buffers
8399 previously handled same-window-*.
8400 (display-buffer-alist, display-buffer-default-action)
8401 (display-buffer-overriding-action): Mark as risky.
8402 (display-buffer-alist): Document action function changes.
8403 (display-buffer--same-window-action)
8404 (display-buffer--other-frame-action): New variables.
8405 (switch-to-buffer, display-buffer-other-frame): Use them.
8406 (display-buffer): Rename reuse-frame entry to reusable-frames.
8407 (display-buffer-reuse-selected-window): Function deleted.
8408 (display-buffer-reuse-window): Handle reusable-frames alist entry.
8409 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
8410 (display-buffer-special): New function.
8411 (display-buffer--maybe-pop-up-frame-or-window): Rename from
8412 display-buffer-reuse-or-pop-window. Split off special-display
8413 part into display-buffer-special.
8414 (display-buffer-use-some-window): Don't perform any special
8415 pop-up-frames handling.
8416 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 8417 (display-buffer--maybe-same-window): Rename from
0d3ff375 8418 display-buffer-maybe-same-window.
8319e0bf 8419
919a69aa
CY
8420 * info.el: Don't set same-window-regexps.
8421 (info-setup): New function.
8422 (info-other-window, info): Call it.
8423
8424 * cus-edit.el: Don't set same-window-regexps.
8425 (customize-group): New argument.
8426 (customize-group-other-window): Use it.
8427 (customize-face, customize-face-other-window): Likewise.
8428 (custom-buffer-create-other-window): Use pop-to-buffer directly.
8429
8319e0bf
CY
8430 * net/rlogin.el:
8431 * net/telnet.el:
8432 * progmodes/gud.el: Don't set same-window-regexps.
8433
8434 * cmuscheme.el:
8435 * ielm.el:
8436 * shell.el:
8437 * mail/sendmail.el:
8438 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
8439
25173000
JL
84402011-09-10 Juri Linkov <juri@jurta.org>
8441
8442 * isearch.el (isearch-edit-string): Remove obsolete mention of
8443 `C-w' (`isearch-yank-word-or-char') from docstring.
8444 (isearch-query-replace): Fix typo in docstring (bug#9466).
8445
056e44ef
JL
84462011-09-10 Juri Linkov <juri@jurta.org>
8447
8448 * paren.el (show-paren-function): Don't show escaped parens.
8449 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
8450
c3760c17
EZ
84512011-09-10 Eli Zaretskii <eliz@gnu.org>
8452
8453 * mail/sendmail.el (mml-to-mime, mml-attach-file)
8454 (mm-default-file-encoding): Remove autoload forms, they are
8455 replaced with autoload cookies in mml.el and mm-encode.el.
8456 (mail-add-attachment): New command.
8457 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
8458 (mail-mode): Mention mail-insert-file and mail-add-attachment in
8459 the doc string.
8460 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
8461
fece895e
RT
84622011-09-10 Reuben Thomas <rrt@sc3d.org>
8463
e69df516
SM
8464 * simple.el (count-words-region): Use buffer if there's no region
8465 (bug#9429).
fece895e 8466
5e68ce4a
JL
84672011-09-09 Juri Linkov <juri@jurta.org>
8468
8469 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
8470 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
8471 (wdired-isearch-filter-read-only): New function. (Bug#6362)
8472
0a6b9622
AM
84732011-09-09 Alan Mackenzie <acm@muc.de>
8474
8475 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
8476 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
8477
14a29deb
EZ
84782011-09-09 Eli Zaretskii <eliz@gnu.org>
8479
8480 Fix for Savannah bug#9392.
8481 * simple.el (mail-encode-mml): New defvar.
8482
8483 * mail/rmail.el (mail-encode-mml): Add a defvar.
8484 (rmail-enable-mime-composing): Default to t.
8485 (rmail-forward): Use MIME method of forwarding only if both
8486 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
8487 Set mail-encode-mml non-nil if the MIME method was used.
8488
8489 * mail/sendmail.el (mml-to-mime): Add autoload form.
8490 (mail-encode-mml): Add a defvar.
8491 (mail-mode): Make mail-encode-mml buffer-local and initialize it
8492 to nil.
8493 (mail-send): If mail-encode-mml is non-nil, run the outgoing
8494 message through mml-to-mime, and reset mail-encode-mml to nil.
8495
28c45130
GM
84962011-09-09 Glenn Morris <rgm@gnu.org>
8497
8498 * woman.el (woman-if-body): When processing an .el block,
8499 do not delete the next .el block as well. (Bug#9447)
69f4b618 8500 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 8501
9b1c252e
MR
85022011-09-08 Martin Rudalics <rudalics@gmx.at>
8503
8504 * window.el (window-deletable-p): Make sure window is live before
8505 invoking window-prev-buffers.
8506
567457e3
LL
85072011-09-08 Leo Liu <sdl.web@gmail.com>
8508
8509 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
8510
97f05794
JL
85112011-09-08 Juri Linkov <juri@jurta.org>
8512
8513 * progmodes/compile.el (compilation-environment): Make it
8514 a defcustom (bug#8340).
8515
8b0874b5
MR
85162011-09-08 Martin Rudalics <rudalics@gmx.at>
8517
8518 * window.el (frame-auto-delete): Rename to window-auto-delete.
8519 Make it control auto-deletion of windows and/or frames.
8520 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 8521 for deleting window/frame. (Bug#9419)
8b0874b5
MR
8522 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
8523 Rewrite handling of case when window/frame can be deleted.
8524 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 8525 argument t. (Bug#9456)
8b0874b5 8526
4feb6e73
CY
85272011-09-07 Chong Yidong <cyd@stupidchicken.com>
8528
8529 * help-mode.el (help-mode): Restore autoload.
8530
91ab9c13
JL
85312011-09-07 Juri Linkov <juri@jurta.org>
8532
8533 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
8534 `compilation-environment'. Set buffer-local
8535 `compilation-environment' to `thisenv' later after (funcall mode).
8536 (Bug#8340)
8537
8538 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
8539 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
8540 instead of replacing its value. (Bug#8340)
8541
0527e251
JL
85422011-09-07 Juri Linkov <juri@jurta.org>
8543
8544 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
8545 based on text properties put by `grep-filter' instead of matching
8546 escape sequences.
8547 (grep-mode): Set buffer-local `compilation-error-screen-columns'
8548 to the value of `grep-error-screen-columns' (bug#9438).
8549
249f792c
JL
85502011-09-07 Juri Linkov <juri@jurta.org>
8551
8552 * simple.el (next-error-highlight, next-error-highlight-no-select):
8553 Doc fix (bug#9432).
8554
ff7271b9
OT
85552011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
8556
8557 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8558 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
8559
183fc730
LL
85602011-09-07 Leo Liu <sdl.web@gmail.com>
8561
8562 * net/rcirc.el (rcirc-mode): Conditionally initialize
8563 rcirc-input-ring.
8564
77694924
SM
85652011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
8566
8567 * emacs-lisp/find-func.el (find-function-C-source): Only set
8568 find-function-C-source-directory after checking that we found a source
8569 file there (bug#9440).
8570
d809b8eb
AM
85712011-09-06 Alan Mackenzie <acm@muc.de>
8572
8573 * isearch.el (isearch-other-meta-char): Wherever a key list is
8574 unread, "unread" the prefix arg, too. This fixes bug #8901.
8575
453de99f
OG
85762011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
8577
8578 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
8579
90439906
JL
85802011-09-05 Juri Linkov <juri@jurta.org>
8581
8582 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
8583
f62bd846
JL
85842011-09-05 Juri Linkov <juri@jurta.org>
8585
8586 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
8587 keeping point where processing of grep matches begins, and
8588 continue to delete remaining escape sequences from the same point.
8589 (grep-filter): Make leading zero optional in "0?1;31m" because
8590 git-grep emits "\033[1;31m" escape sequences unlike expected
8591 "\033[01;31m" as GNU Grep does (bug#9408).
8592 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
8593
045820ec
JL
85942011-09-05 Juri Linkov <juri@jurta.org>
8595
8596 * subr.el (y-or-n-p): Capitalize "yes".
8597
f5e29b9b
MA
85982011-09-04 Michael Albinus <michael.albinus@gmx.de>
8599
8600 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
8601 `tramp-cache-unload-hook' where appropriate.
8602 (tramp-methods): Rename `tramp-remote-sh' to
8603 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
8604 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
8605
8606 * net/tramp-sh.el (top): Don't require 'shell.
8607 (tramp-methods): Add `tramp-remote-shell' and
8608 `tramp-remote-shell-args' entries.
8609 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
8610 (tramp-sh-handle-shell-command): Remove.
8611 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8612 Use `tramp-remote-shell'.
8613
2784c434
CY
86142011-09-03 Chong Yidong <cyd@stupidchicken.com>
8615
393a301e 8616 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
8617 (sendmail-query-once): Save directly to send-mail-function.
8618 Update message-send-mail-function too.
8619
8620 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
8621
464cdf56
CS
86222011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8623
8624 * progmodes/python.el (python-mode-map): Use correct function to
8625 start python interpreter from menu-bar (as reported by Geert
8626 Kloosterman).
8627 (inferior-python-mode-map): Fix typo.
393a301e 8628 (python-shell-map): Remove.
464cdf56 8629
d37e5c87
DD
86302011-09-03 Deniz Dogan <deniz@dogan.se>
8631
8632 * net/rcirc.el (rcirc-print): Simplify code for
8633 rcirc-scroll-show-maximum-output. There is no need to walk
8634 through all windows to find the right one.
8635
f3ada0ee
CS
86362011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
8637
8638 * help.el (help-return-method): Doc fix.
8639
1f3c99ca
MR
86402011-09-03 Martin Rudalics <rudalics@gmx.at>
8641
8642 * window.el (window-deletable-p): Don't return a non-nil value
8643 when there's a buffer that was shown in the window before.
8644 (Bug#9419)
393a301e
SM
8645 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8646 Set window's previous buffers to nil.
1f3c99ca 8647
a3cf097f
EZ
86482011-09-03 Eli Zaretskii <eliz@gnu.org>
8649
8650 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
8651 newline before and after the tag line, so it doesn't interfere
8652 with determining the paragraph direction of bidirectional text.
8653
3d03de90
LL
86542011-09-03 Leo Liu <sdl.web@gmail.com>
8655
8656 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
8657
c3313451
CY
86582011-09-02 Chong Yidong <cyd@stupidchicken.com>
8659
393a301e 8660 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
8661 (pop-to-buffer): Change interactive spec. Pass second argument
8662 directly to display-buffer.
8663 (display-buffer): Fix interactive spec. Use functionp to
8664 distinguish between a function and a list of functions.
8665
8666 * abbrev.el (edit-abbrevs):
8667 * arc-mode.el (archive-extract):
8668 * autoinsert.el (auto-insert):
8669 * bookmark.el (bookmark-bmenu-list):
8670 * files.el (find-file):
8671 * view.el (view-buffer):
8672 * progmodes/compile.el (compilation-goto-locus):
8673 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
8674
89894cd8
CY
86752011-09-02 Chong Yidong <cyd@stupidchicken.com>
8676
8677 * window.el (display-buffer-alist): Doc fix.
8678 (display-buffer): Add docstring. Don't treat
8679 display-buffer-default specially.
8680 (display-buffer-reuse-selected-window)
8681 (display-buffer-same-window, display-buffer-maybe-same-window)
8682 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8683 (display-buffer-pop-up-window)
8684 (display-buffer-reuse-or-pop-window)
8685 (display-buffer-use-some-window): New functions.
8686 (display-buffer-default-action): Use them.
393a301e 8687 (display-buffer-default): Delete.
89894cd8
CY
8688 (pop-to-buffer-1): Fix choice of actions.
8689
ae0bc9fb
SM
86902011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
8691
8692 * minibuffer.el (completion--insert-strings): Don't get confused by
8693 completion entries that end with an LF char.
8694
e9d90883
EZ
86952011-09-01 Eli Zaretskii <eliz@gnu.org>
8696
8697 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
8698
437014c8
CY
86992011-09-01 Chong Yidong <cyd@stupidchicken.com>
8700
8701 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
8702 (display-buffer-same-window, display-buffer-other-window):
8703 New functions.
437014c8
CY
8704 (pop-to-buffer-1): New function. Use the above.
8705 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 8706 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
8707
8708 * view.el (view-buffer-other-window, view-buffer-other-frame):
8709 Just use pop-to-buffer.
8710
a5e063d5
TV
87112011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8712
8713 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
8714
793d32bb
WH
87152011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
8716
8717 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
8718
d65e4c15
RS
87192011-08-31 Richard Stallman <rms@gnu.org>
8720
8721 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
8722 of the separation of rmail-view-buffer from rmail-buffer.
8723 If you say no to "replace original", the decrypt is in the
8724 view buffer. If you say yes, the decrypt goes into the
8725 rmail buffer also.
8726
f818cd2a
MR
87272011-08-31 Martin Rudalics <rudalics@gmx.at>
8728
8729 * window.el (display-buffer-window): Rewrite doc-string.
8730 (display-buffer-record-window): New function.
8731 (display-buffer-macro-specifiers)
8732 (display-buffer-even-window-sizes, display-buffer-set-height)
8733 (display-buffer-set-width, display-buffer-in-window)
8734 (display-buffer-reuse-window, display-buffer-split-specifiers)
8735 (display-buffer-side-specifiers, display-buffer-split-window-1)
8736 (display-buffer-split-window, display-buffer-split-atom-window)
8737 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
8738 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
8739 (display-buffer-other-window-means-other-frame)
8740 (display-buffer-normalize-special)
8741 (display-buffer-normalize-default)
8742 (display-buffer-normalize-argument)
8743 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
8744 (display-buffer-normalize-specifiers, display-buffer-frame)
8745 (display-buffer-same-window, display-buffer-same-frame)
8746 (display-buffer-other-window)
8747 (display-buffer-same-frame-other-window)
8748 (display-buffer-other-frame, pop-to-buffer-same-window)
8749 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
8750 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
8751 (switch-to-buffer-same-frame)
8752 (switch-to-buffer-other-window-same-frame)
8753 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
8754 (display-buffer-alist-set-1, display-buffer-alist-set-2)
8755 (display-buffer-alist-set): Remove.
8756 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
8757 (special-display-regexps, special-display-function):
8758 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
8759 parameter.
8760 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
8761 (special-display-frame-alist, special-display-popup-frame)
8762 (same-window-buffer-names, same-window-regexps, same-window-p)
8763 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
8764 (split-window-preferred-function, split-height-threshold)
8765 (split-width-threshold, window-splittable-p)
8766 (split-window-sensibly, window--try-to-split-window)
8767 (window--frame-usable-p, even-window-heights)
8768 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
8769 (window--display-buffer-2, display-buffer-other-frame):
8770 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
8771 (display-buffer-default, display-buffer-assq-regexp): New functions.
8772 (display-buffer-alist): Rewrite doc-string.
8773 (display-buffer-default-action)
8774 (display-buffer-overriding-action): New variables.
8775 (display-buffer, switch-to-buffer): Rewrite.
8776 (pop-to-buffer): Restore Emacs 23 behavior but use
8777 window-normalize-buffer-to-display.
8778 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
8779 Restore Emacs 23 behavior but use
8780 window-normalize-buffer-to-switch-to.
8781 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
8782 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
8783 Rewrite using Emacs 23 options.
f818cd2a 8784
5bc3b51d
MA
87852011-08-31 Michael Albinus <michael.albinus@gmx.de>
8786
8787 * net/tramp.el (tramp-root-regexp): Remove.
8788 (tramp-completion-file-name-regexp-unified)
8789 (tramp-completion-file-name-regexp-separate)
8790 (tramp-completion-file-name-regexp-url): Don't use leading volume
8791 letter on win32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
8792 (tramp-drop-volume-letter): Simplify definition.
8793 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 8794
b1a4f8e1
SM
87952011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
8796
8797 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
8798 (bug#9356).
8799
5664fa7b
RT
88002011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
8801
b1a4f8e1 8802 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 8803
9a45d6c3
JL
88042011-08-29 Juri Linkov <juri@jurta.org>
8805
8806 * isearch.el (isearch-done): Don't display message "Mark saved"
8807 when arg `edit' is non-nil to prevent its flicker in the echo area.
8808
fb87e0fb
CY
88092011-08-28 Chong Yidong <cyd@stupidchicken.com>
8810
8811 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
8812 obsolete packages for deletion.
8813
09ac1c2a
CS
88142011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
8815
8816 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 8817 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
8818 view-mode from help-mode.
8819 (help-xref-override-view-map): Remove.
8820 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
8821 view-mode is not used anymore.
8822
7a1ff57f
CY
88232011-08-28 Chong Yidong <cyd@stupidchicken.com>
8824
8825 * server.el (server-port): Doc fix.
8826
b9696605
CY
8827 * cus-theme.el (custom-theme-choose-mode): Inherit from
8828 special-mode (Bug#9124).
8829 (custom-theme-choose-mode-map): Add special-mode to parent.
8830
ef8cdf8c
AM
88312011-08-28 Alan Mackenzie <acm@muc.de>
8832
8833 * progmodes/cc-fonts.el
8834 (c-make-font-lock-BO-decl-search-function): New function.
8835 (c-basic-matchers-after - "Fontify the clauses after various
8836 keywords"): Extract the three keyword lists for the 3 erroneous
8837 constructs from the list of four, and use the new function above
8838 in place of an old one.
8839
27de4e20
DD
88402011-08-28 Deniz Dogan <deniz@dogan.se>
8841
8842 * net/rcirc.el (rcirc-insert-prev-input)
8843 (rcirc-insert-next-input): Remove unused argument.
8844
356a3681
SM
88452011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8846
8847 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
8848
3fc9b218
AM
88492011-08-27 Alan Mackenzie <acm@muc.de>
8850
8851 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
8852 handle function pointer parameters properly.
8853
538a061c
MR
88542011-08-27 Martin Rudalics <rudalics@gmx.at>
8855
8856 * window.el (display-buffer-reuse-window): Fix case where
8857 selected window was reused with non-nil OTHER-WINDOW argument.
8858 (Bug#9381)
8859
35b1c40c
DD
88602011-08-27 Deniz Dogan <deniz@dogan.se>
8861
8862 * net/rcirc.el (rcirc-check-auth-status): Adding support for
8863 oftc's NickServ messages.
8864
2f6a3e79
GM
88652011-08-27 Glenn Morris <rgm@gnu.org>
8866
8867 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
8868
7254299e
CY
88692011-08-26 Chong Yidong <cyd@stupidchicken.com>
8870
8871 * emacs-lisp/package.el (package-install): Call package-initialize
8872 if called interactively.
8873
f8ccf167
LL
88742011-08-26 Leo Liu <sdl.web@gmail.com>
8875
8876 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
8877
3e8cd5ce
JL
88782011-08-25 Juri Linkov <juri@jurta.org>
8879
8880 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
8881 `search-whitespace-regexp' (bug#9364).
8882
93eb7113
JL
88832011-08-25 Juri Linkov <juri@jurta.org>
8884
8885 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
8886 `regexp-search-ring' to their global values to protect from
8887 updating by `read-from-minibuffer' (bug#9185).
8888
f65d1611
JL
88892011-08-25 Juri Linkov <juri@jurta.org>
8890
8891 * textmodes/ispell.el (ispell-command-loop): Add newline
8892 at the end of the "Use option `i'..." line.
8893
f1cf7a31
JL
88942011-08-25 Juri Linkov <juri@jurta.org>
8895
8896 * battery.el (display-battery-mode): If `battery-status-function'
8897 or `battery-mode-line-format' is nil, display the message and set
8898 `display-battery-mode' to nil (bug#9363).
8899
0c95fcf7
EZ
89002011-08-25 Eli Zaretskii <eliz@gnu.org>
8901
8902 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
8903 bidi-string-mark-left-to-right; they are unnecessary now.
8904
a2ebe600
DD
89052011-08-25 Deniz Dogan <deniz@dogan.se>
8906
8907 * net/quickurl.el: Documentation typo fixes.
8908
e4ed06f1
CY
89092011-08-25 Chong Yidong <cyd@stupidchicken.com>
8910
8911 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
8912
e5f1c99e
GM
89132011-08-25 Glenn Morris <rgm@gnu.org>
8914
b2948976
GM
8915 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
8916
e5f1c99e
GM
8917 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
8918 (smtpmail-via-smtp): Handle nil response from smtp.
8919
f22f4808
JL
89202011-08-24 Juri Linkov <juri@jurta.org>
8921
8922 * proced.el (proced-marked): Inherit from `error' instead of
8923 `font-lock-warning-face'.
8924
8925 * ibuffer.el (ibuffer-marked-face): Change default face from
8926 `font-lock-warning-face' to `warning'.
8927 (ibuffer-deletion-face): Change default face from
8928 `font-lock-type-face' to `error'.
8929
8930 * battery.el (battery-update): Use the face `error' instead of
8931 `font-lock-warning-face' (bug#6117).
8932
6a93965e
JL
89332011-08-24 Juri Linkov <juri@jurta.org>
8934
8935 * faces.el (success): Change face color from "Green3" to
8936 "ForestGreen" on light background (bug#9353).
8937
1ed43b09
CY
89382011-08-24 Chong Yidong <cyd@stupidchicken.com>
8939
5664fa7b
RT
8940 * window.el (quit-window): Rename from quit-restore-window.
8941 Use same arglist as old quit-window.
1ed43b09
CY
8942 (frame-auto-delete): Doc fix.
8943
8944 * view.el (view-mode-exit): Use quit-window.
8945
11dcdbb2
JL
89462011-08-24 Juri Linkov <juri@jurta.org>
8947
8948 * isearch.el (isearch-ring-adjust1): Start visiting previous
8949 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
8950 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
8951 for empty search string (when the last search string is reused
8952 automatically) to adjust the isearch ring to the last element and
8953 prepare the correct index for further M-p commands (bug#9185).
8954
de62b4df
KH
89552011-08-24 Kenichi Handa <handa@m17n.org>
8956
8957 * international/ucs-normalize.el: If decomposition property of
8958 CHAR is the default one (i.e. a list of CHAR itself), treat it as
8959 nil.
8960 (nfd, nfkd): Likewise.
8961
963b492b
SM
89622011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
8965 from process filters aren't reliably transmitted to the surrounding
8966 accept-process-output.
8967 (mpc-proc-check): New function.
8968 (mpc-proc-sync): Use it (bug#8293)
8969
93b6b5e1
SM
89702011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
8973 Add compatibility functions (bug#9313).
8974
bca633fb
EZ
89752011-08-23 Eli Zaretskii <eliz@gnu.org>
8976
b177498a
EZ
8977 * cus-start.el (all): Add entry for bidi-paragraph-direction.
8978
6df6ae42 8979 * international/uni-bidi.el: Regenerate.
bca633fb 8980
0902a04e
KH
89812011-08-23 Kenichi Handa <handa@m17n.org>
8982
8983 * international/charprop.el:
8984 * international/uni-bidi.el:
8985 * international/uni-category.el:
8986 * international/uni-combining.el:
8987 * international/uni-comment.el:
8988 * international/uni-decimal.el:
8989 * international/uni-decomposition.el:
8990 * international/uni-digit.el:
8991 * international/uni-lowercase.el:
8992 * international/uni-mirrored.el:
8993 * international/uni-name.el:
8994 * international/uni-numeric.el:
8995 * international/uni-old-name.el:
8996 * international/uni-titlecase.el:
8997 * international/uni-uppercase.el: Regenerate.
8998
3bbf23bc
MR
89992011-08-23 Martin Rudalics <rudalics@gmx.at>
9000
9001 * help.el (help-window-setup): Fix message displayed when other
9002 window is reused. (Bug#9341)
9003
b3fd59bd
SM
90042011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9005
1802e444
SM
9006 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
9007 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
9008
b3fd59bd
SM
9009 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
9010 Mark obsolete.
9011 * shell.el (shell-parse-pcomplete-arguments): New function.
9012 (shell-completion-vars): Use it instead (bug#9160).
9013
4eb61348
SM
90142011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9015
867cab74
SM
9016 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
9017 strings and comments (bug#9333).
9018
4eb61348
SM
9019 * emacs-lisp/debug.el (debug-arglist): New function.
9020 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
9021 (debug-on-entry-1): Handle interpreted closures (bug#9120).
9022
262a1439
JL
90232011-08-22 Juri Linkov <juri@jurta.org>
9024
56ee679c
JL
9025 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9026 Revert regexp that highlights output switches to its old
9027 pre-2010-10-28 value and remove one `?' from it (bug#9319).
9028
262a1439
JL
9029 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
9030 to check for empty output (bug#9226).
9031
f13f86fb
CY
90322011-08-22 Chong Yidong <cyd@stupidchicken.com>
9033
9034 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
9035 symbol-constituent as the default, as that stops font-lock from
9036 working properly (Bug#8843).
9037
c65c9622
LMI
90382011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9039
9040 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
9041 `coding-system-for-*' around the process open call to avoid
9042 auth-source side effects.
e7f2c178 9043 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
9044 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
9045 probe hangs.
c65c9622 9046
23a8a5ab
CY
90472011-08-21 Chong Yidong <cyd@stupidchicken.com>
9048
ff98b2dd
CY
9049 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
9050
23a8a5ab
CY
9051 * emacs-lisp/find-func.el (find-function-noselect): New arg
9052 lisp-only.
9053
9054 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
9055 signal an error for built-in functions (Bug#6664).
9056
f5e3c598
LMI
90572011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9058
9059 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
9060 (smtpmail-try-auth-methods): Use it.
9061
a3f2468a
CY
90622011-08-21 Chong Yidong <cyd@stupidchicken.com>
9063
2c34e8da
CY
9064 * font-lock.el (font-lock-fontify-region)
9065 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
9066 (font-lock-default-unfontify-buffer)
9067 (font-lock-default-fontify-region)
9068 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
9069
b3fd59bd
SM
9070 * progmodes/compile.el (compilation-error-properties):
9071 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
9072 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
9073 `ant' regexp.
ee31aabc 9074
a3f2468a
CY
9075 * net/browse-url.el (browse-url-firefox): Don't call
9076 browse-url-firefox-sentinel unless using -remote (Bug#9328).
9077
8e999f70
GM
90782011-08-20 Glenn Morris <rgm@gnu.org>
9079
c21a496a
GM
9080 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
9081
59ee0542
GM
9082 * tutorial.el (tutorial--default-keys): Update some default bindings.
9083
8e999f70
GM
9084 * files.el (hack-local-variables): Fully ignore case for "mode:".
9085
e3715033
AM
90862011-08-20 Alan Mackenzie <acm@muc.de>
9087
9088 Resolve invalid use of a regexp in regexp-opt.
9089
4d61f28d
JB
9090 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
9091 detection for a java annotation.
e3715033 9092
4d61f28d 9093 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
9094 detection for a java annotation.
9095
4d61f28d
JB
9096 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
9097 handling for java.
e3715033
AM
9098 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
9099
04ed2e9c
CY
91002011-08-20 Chong Yidong <cyd@stupidchicken.com>
9101
9102 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
9103 (Bug#9274).
9104
826cee64
AM
91052011-08-20 Alan Mackenzie <acm@muc.de>
9106
58179cce 9107 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
9108 such a construct. Mainly for when jit-lock etc. starts a chunk
9109 here.
9110
58179cce 9111 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 9112 variable.
58179cce 9113 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
9114 c-make-font-lock-search-function.
9115 (c-make-font-lock-search-function): Use the above function.
9116 (c-make-font-lock-context-search-function): New function.
9117 (c-cpp-matchers): Enhance the preprocessor expression case with
9118 the above function
9119 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
9120 which takes an expression.
9121
9122 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
9123
13009bd8
MR
91242011-08-20 Martin Rudalics <rudalics@gmx.at>
9125
9126 * window.el (display-buffer-reuse-window)
9127 (display-buffer-pop-up-window): Don't reuse or split a side
9128 window.
9129
9234ff7f
GM
91302011-08-19 Glenn Morris <rgm@gnu.org>
9131
9132 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 9133 Downcase "Mode:". (Bug#9331)
9234ff7f 9134
f635daa1
CY
91352011-08-18 Chong Yidong <cyd@stupidchicken.com>
9136
9137 * international/characters.el: Add L and R categories.
9138
9139 * subr.el (bidi-string-mark-left-to-right): Rename from
9140 string-mark-left-to-right. Use category search.
9141
9142 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
9143
bc987f8b
JL
91442011-08-18 Juri Linkov <juri@jurta.org>
9145
9146 * faces.el (error, warning, success): New faces with definitions
9147 copied from old default values of `font-lock-warning-face',
9148 `compilation-warning', `compilation-info' (bug#6117).
9149
9150 * font-lock.el (font-lock-warning-face): Inherit from `error'.
9151
9152 * progmodes/compile.el (compilation-error): Inherit from `error'.
9153 (compilation-warning): Inherit from `warning'.
9154 (compilation-info): Inherit from `success'.
9155
9156 * dired.el (dired-marked): Inherit from `warning'.
9157 (dired-flagged): Inherit from `error'.
9158
57173b96
LMI
91592011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9160
3e79eb87
LMI
9161 * mail/smtpmail.el (auth-source): Require to avoid problems with
9162 binding variables (bug#9298). Also clean up some unused
9163 autoloads.
9164
b3fd59bd
SM
9165 * net/network-stream.el (network-stream-open-starttls):
9166 Support using starttls.el without using gnutls-cli.
57173b96 9167
02b404de
JL
91682011-08-17 Juri Linkov <juri@jurta.org>
9169
9170 * progmodes/grep.el (rgrep): Handle the case when
9171 `grep-find-command' is a cons cell (bug#9278).
9172
8c9177f2
MR
91732011-08-17 Martin Rudalics <rudalics@gmx.at>
9174
9175 * window.el (display-buffer-pop-up-frame): Run frame creation
9176 function with BUFFER current (as special-display-popup-frame
9177 does). Reported by Drew Adams.
9178
3644a0ab
DU
91792011-08-17 Daiki Ueno <ueno@unixuser.org>
9180
9181 * epa-mail.el: Simplify GnuPG group expansion using
9182 epg-expand-group.
9183 (epa-mail-group-alist, epa-mail-group-modtime)
9184 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
9185 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
9186 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
9187 Remove.
9188
5e617bc2 91892011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
9190
9191 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
9192
9c4aeabf
AM
91932011-08-16 Alan Mackenzie <acm@muc.de>
9194
9195 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
9196 Correct, to avoid the inside of macros.
9197
3a99bf64
RS
91982011-08-16 Richard Stallman <rms@gnu.org>
9199
04963aa8
RS
9200 * epa-mail.el: Handle GnuPG group definitions.
9201 (epa-mail-group-alist, epa-mail-group-modtime)
9202 (epa-mail-gnupg-conf-file): New variables.
9203 (epa-mail-parse-groups, epa-mail-sync-groups)
9204 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
9205 (epa-mail-expand-recipients): New functions.
9206 (epa-mail-encrypt): Call epa-mail-expand-recipients.
9207
177549d0
RS
9208 * mail/rmail.el (rmail-epa-decrypt): New command.
9209
fe38beef
RS
9210 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
9211 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
9212 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
9213 (epa-decrypt-armor-in-region): Make error message clearer.
9214
934eacb9
SM
92152011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9216
9217 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
9218 and "a2b" to "ab" for `prefix'.
9219
d024fb4e
CY
92202011-08-14 Chong Yidong <cyd@stupidchicken.com>
9221
9222 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
9223 filter groups.
de148fee
CY
9224 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
9225 Fourquet (Bug#8804).
d024fb4e 9226
62f1ca49
JB
92272011-08-12 Juanma Barranquero <lekktu@gmail.com>
9228
9229 * startup.el (argi): Declare as global variable (bug#9275).
9230
9ccaaa4b
CY
92312011-08-12 Chong Yidong <cyd@stupidchicken.com>
9232
9233 * subr.el (string-mark-left-to-right): Search the entire string
9234 for RTL script, not just the terminating character. Doc fix.
9235
a3dae87a
SM
92362011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
9237
6cd18349
SM
9238 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
9239 New function.
9240 (js--regexp-literal, js-syntax-propertize-function): Remove.
9241 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
9242 (js-mode-map): Don't rebind electric keys.
9243 (js-insert-and-indent): Remove.
9244 (js-mode): Setup electric-layout and electric-indent instead.
9245
a3dae87a
SM
9246 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
9247
9d5cb631
DU
92482011-08-12 Daiki Ueno <ueno@unixuser.org>
9249
9250 * epa.el (epa-progress-callback-function): Fix the logic of
9251 displaying progress.
9252 * epa-file.el (epa-file-insert-file-contents): Make progress
9253 display more user-friendly.
9254 (epa-file-write-region): Ditto.
9255
3e26a4a2
CY
92562011-08-10 Chong Yidong <cyd@stupidchicken.com>
9257
9258 * subr.el (string-mark-left-to-right): New function.
9259
9260 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
9261 Use string-mark-left-to-right.
9262 (list-buffers-noselect): Caller changed.
9263
a3dae87a
SM
9264 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9265 Use string-mark-left-to-right.
3e26a4a2
CY
9266 (tabulated-list-print): Recenter after moving point.
9267
ac8cf6e6
JL
92682011-08-10 Juri Linkov <juri@jurta.org>
9269
9270 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
9271 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
9272 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
9273
8d96c9a4
CY
92742011-08-09 Chong Yidong <cyd@stupidchicken.com>
9275
9276 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
9277 (Bug#7554).
9278
7be1c708 92792011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
9280
9281 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
9282 character. (Bug#6594)
9283
37e11a63
CY
92842011-08-08 Chong Yidong <cyd@stupidchicken.com>
9285
839dde57
CY
9286 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
9287 (image-dired--with-db-file): New macro.
9288 (image-dired-write-tags, image-dired-remove-tag)
9289 (image-dired-create-gallery-lists, image-dired-write-comments)
9290 (image-dired-get-comment, image-dired-mark-tagged-files)
9291 (image-dired-list-tags, image-dired-gallery-generate): Use it.
9292 (image-dired-gallery-generate): Use insert-file-contents.
9293
37e11a63
CY
9294 * time.el (display-time-world-list, display-time-world-display):
9295 * time-stamp.el (time-stamp-string):
9296 * vc/add-log.el (add-change-log-entry): Use setenv instead of
9297 set-time-zone-rule (Bug#7337).
9298
0b4946c4
DU
92992011-08-08 Daiki Ueno <ueno@unixuser.org>
9300
9301 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
9302 (epg-error-to-string, epg-errors-to-string): New function.
9303 (epg-wait-for-completion): Reverse errors list.
9304 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
9305 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
9306 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
9307 (epg-sign-keys, epg-generate-key-from-file)
9308 (epg-generate-key-from-string): Format errors by using
9309 epg-errors-to-string (bug#9255).
9310 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
9311
75bfc667
JL
93122011-08-07 Juri Linkov <juri@jurta.org>
9313
9314 * faces.el (list-faces-display): Remove extra angle bracket
9315 from `help-mode-map'.
9316
9317 * info.el (Info-history-toc-nodes): Doc fix.
9318
9319 * longlines.el (longlines-mode): Doc fix.
9320
673e08bb
SM
93212011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9322
4640dd88
SM
9323 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
9324 of statements and in a few more cases (bug#9183).
9325
673e08bb
SM
9326 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
9327 New functions.
9328 (cl-transform-lambda): Use them (bug#9239).
9329
89b3f019
MR
93302011-08-05 Martin Rudalics <rudalics@gmx.at>
9331
9332 * window.el (display-buffer-same-window)
9333 (display-buffer-same-frame, display-buffer-other-window)
9334 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
9335 (pop-to-buffer-other-window)
9336 (pop-to-buffer-same-frame-other-window)
9337 (pop-to-buffer-other-frame): Make them defuns.
9338 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
9339
640c8776
SM
93402011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9341
9342 * subr.el (make-composed-keymap): Move from C. Change calling
9343 convention, and improve docstring to bring attention to a subtle point.
9344 * minibuffer.el (completing-read-default): Adjust accordingly.
9345
63648a95
MA
93462011-08-03 Michael Albinus <michael.albinus@gmx.de>
9347
9348 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9349 (tramp-open-shell): Use `tramp-shell-quote-argument'.
9350
9351 * net/trampver.el: Update release number.
9352
b796c9b7
SM
93532011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9354
9355 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
9356 "in" (bug#9190).
9357
2239d7d5
LMI
93582011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
9359
e07dd7c3
LMI
9360 * mail/sendmail.el (sendmail-query-once): Restore the current
9361 buffer after querying (bug#9074).
9362
0e6a2bd7
LMI
9363 * dired.el (dired-flagged): Use different faces for marked and
9364 flagged files (bug#6117).
9365
ce887515
LMI
9366 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
9367 (bug#4433).
9368
92f2affc
LMI
9369 * ido.el (ido-mode): Switch off the message if called
9370 non-interactively.
9371
57d5aff0
LMI
9372 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
9373 before 587, since it appears that that's more likely to work for
9374 more people.
9375
98cd6c18 9376 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 9377 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
9378 exist.
9379
b96dec83
LMI
9380 * info.el: Remove the `Info-beginning-of-buffer' function
9381 (bug#8325).
9382
b796c9b7
SM
9383 * net/network-stream.el (network-stream-open-starttls):
9384 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 9385
d90e2ea0
MR
93862011-08-01 Martin Rudalics <rudalics@gmx.at>
9387
9388 * window.el (display-buffer-in-window): Don't set dedicated status
9389 of window here (Bug#9215).
9390 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
9391 (display-buffer-pop-up-side-window)
b796c9b7 9392 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 9393
cca09170
SM
93942011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
9397 before binding generated-autoload-file.
9398
027b979c
DD
93992011-08-01 Deniz Dogan <deniz@dogan.se>
9400
9401 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
9402
3c7ee4f3
MA
94032011-07-30 Michael Albinus <michael.albinus@gmx.de>
9404
9405 Sync with Tramp 2.2.2.
9406
9407 * net/trampver.el: Update release number.
9408
2cc8e51a
JL
94092011-07-30 Juri Linkov <juri@jurta.org>
9410
9411 * dired-aux.el (dired-touch-initial): Remove function.
9412 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
9413 current time, and `default' to the last modification time of the
9414 current marked file (bug#6887).
9415
a514d856
JM
94162011-07-28 Jose E. Marchesi <jemarch@gnu.org>
9417
9418 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 9419 numeric argument to read-number (bug#9163).
a514d856 9420
8a7eddd7
MA
94212011-07-27 Michael Albinus <michael.albinus@gmx.de>
9422
9423 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
9424 connection process, it could be nil.
9425
1ddd96f5
LL
94262011-07-27 Leo Liu <sdl.web@gmail.com>
9427
9428 Simplify url handling in rcirc-mode.
9429
9430 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
9431 (rcirc-browse-url-at-mouse): Remove.
9432 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
9433
b248a85d
AM
94342011-07-26 Alan Mackenzie <acm@muc.de>
9435
9436 Fontify bitfield declarations properly.
9437
9438 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
9439 (c-symbol-chars): Now exported as a lang variable.
9440 (c-not-primitive-type-keywords): New lang variable.
9441
9442 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
9443 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 9444 parsed as a bitfield declaration.
b248a85d 9445
b796c9b7
SM
9446 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9447 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
9448 (c-punctuation-in): New function.
9449 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
9450 declarations properly.
9451
68575ab0
UJ
94522011-07-26 Ulf Jasper <ulf.jasper@web.de>
9453
9454 * calendar/icalendar.el (icalendar--all-events): Take care of
9455 multiple vcalendars in a single file.
b796c9b7 9456 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 9457
0f0a88b9
DD
94582011-07-25 Deniz Dogan <deniz@dogan.se>
9459
9460 * image.el (insert-image): Clarifying docstring.
9461
0b3f36df
MA
94622011-07-24 Michael Albinus <michael.albinus@gmx.de>
9463
9464 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
9465 `tramp-send-command-and-check' if there is no error.
9466 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
9467
a9901f61
AM
94682011-07-22 Alan Mackenzie <acm@muc.de>
9469
9470 Prevent cc-langs.elc being loaded at run time.
9471
9472 * progmodes/cc-mode.el: Remove two autoload forms which loaded
9473 cc-langs.
9474
4d61f28d 9475 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
9476 "(require 'cc-langs)". Quote a form so it will evaluate at
9477 (cc-mode's) compilation time.
9478
11d074b2
MA
94792011-07-22 Michael Albinus <michael.albinus@gmx.de>
9480
9481 * net/tramp.el (tramp-file-name-handler): Avoid recursive
9482 loading. (Bug#9114)
9483
938b94c8
MR
94842011-07-21 Martin Rudalics <rudalics@gmx.at>
9485
9486 * window.el (display-buffer-pop-up-window)
9487 (display-buffer-pop-up-side-window)
9488 (display-buffer-in-side-window): Call display-buffer-set-height
9489 and display-buffer-set-width after setting the new window's
b796c9b7 9490 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 9491
bfa4f190
SS
94922011-07-20 Sam Steingold <sds@gnu.org>
9493
9494 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
9495 (etags-tags-included-tables): Call `convert-standard-filename' on
9496 the file names contained in TAGS so that windows Emacs can handle
9497 TAGS files created by cygwin ctags.
9498
8ca42262
LMI
94992011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
9500
9501 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
9502 which apparently didn't work.
9503
5db2afd2 95042011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 9505
5db2afd2
RW
9506 * proced.el (proced-send-signal): For *Marked Processes* buffer
9507 put point at beginning of buffer.
9508
92e15d10
SB
95092011-07-19 Stephen Berman <stephen.berman@gmx.net>
9510
9511 * proced.el (proced-format): Make header lines align with the text
9512 (bug#1779).
9513
1bfd59e5
LMI
95142011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9515
9516 * view.el (view-buffer): Allow running in `special' modes if we're
9517 visiting a file (bug#8615).
9518
f5aae37c
MR
95192011-07-19 Martin Rudalics <rudalics@gmx.at>
9520
9521 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
9522 (display-buffer-alist-set-1, display-buffer-alist-set-2):
9523 New functions.
f5aae37c
MR
9524 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
9525 more accurately.
9526
bf2c1571
AM
95272011-07-18 Alan Mackenzie <acm@muc.de>
9528
9529 Fontify declarators properly when, e.g., a jit-lock chunk begins
9530 inside a declaration.
9531
9532 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
9533
b796c9b7
SM
9534 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
9535 New function.
bf2c1571
AM
9536 (c-complex-decl-matchers): Insert reference to
9537 c-font-lock-enclosing-decls.
9538
9539 * progmodes/cc-engine.el (c-backward-single-comment):
9540 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
9541 to nil around calls to (forward-comment -1).
9542
4e190b80
LMI
95432011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9544
12dc863d
LMI
9545 * image.el (put-image): Doc typo fix.
9546
a762e966
LMI
9547 * progmodes/etags.el (tags-search): Doc typo fix.
9548
4e190b80
LMI
9549 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
9550 password if we get errors 550 to 554.
9551
f019fb21
LMI
95522011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9553
b796c9b7 9554 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 9555
81746738
LMI
9556 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
9557 indentation character (bug#6380).
9558
3ee3a1b5
LMI
9559 * files.el (buffer-offer-save): Made permanently local (bug#6241).
9560
c82f64de
LMI
9561 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
9562 to clarify what the problem is (bug#4291).
9563
f019fb21
LMI
9564 * simple.el (current-kill): Clarify what
9565 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
9566 (auto-fill-mode): Document `auto-fill-function' in relation to
9567 `auto-fill-mode' (bug#2470).
f019fb21 9568
0794775d
LM
95692011-07-16 Lawrence Mitchell <wence@gmx.li>
9570
9571 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
9572 method if slot is read-only (bug#9035).
9573
be39b8cc
MR
95742011-07-16 Martin Rudalics <rudalics@gmx.at>
9575
b796c9b7 9576 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 9577 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
9578 selected before, see discussion of (Bug#8615), (Bug#6954).
9579 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 9580
6ccf7859
GM
95812011-07-15 Glenn Morris <rgm@gnu.org>
9582
9583 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 9584 Respect help-form.
6ccf7859 9585
87e86684
LM
95862011-07-09 Lawrence Mitchell <wence@gmx.li>
9587
9588 * net/gnutls.el (gnutls-min-prime-bits): New variable.
9589 (gnutls-negotiate): Use it.
9590
d6066239
LMI
95912011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9592
b796c9b7
SM
9593 * net/gnutls.el (gnutls-negotiate):
9594 Upcase `gnutls-algorithm-priority'.
d6066239 9595
bd23ebc0
GM
95962011-07-15 Glenn Morris <rgm@gnu.org>
9597
c65bca65
GM
9598 * jka-compr.el (jka-compr-verbose): Move from here...
9599 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
9600 Add missing :version tag.
9601 * info.el: No need to require jka-compr when compiling.
bd23ebc0 9602
478615cc
LMI
96032011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
9604
7b41decb
LMI
9605 * net/gnutls.el (gnutls-algorithm-priority): New variable.
9606 (gnutls-negotiate): Use it.
9607
dbc44fcd
LMI
9608 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
9609
06789f97
LMI
9610 * info.el (Info-beginning-of-buffer): New command.
9611 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
9612 announcing `b' as the key (bug#8325).
ab896c37 9613 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 9614
c39da690
LMI
9615 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
9616
3aa5f34b
LMI
9617 * international/mule-cmds.el
9618 (describe-specified-language-support): Make the error message
9619 clearer (bug#8905).
9620
4bf0979f
LMI
9621 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
9622
478615cc
LMI
9623 * isearch.el (isearch-barrier): Add a doc string, since it's
9624 mentioned in a function doc string (bug#8678).
9625
75c68aa1
MR
96262011-07-15 Martin Rudalics <rudalics@gmx.at>
9627
9628 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
9629 buffer argument (Bug#9083) and self-identifying label argument.
9630
a7c33da2
GM
96312011-07-15 Glenn Morris <rgm@gnu.org>
9632
9633 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
9634
2f5c6024
LMI
96352011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9636
9637 * man.el (Man-fontify-manpage): Fix message when formatting the
9638 man page (bug#7929).
9639
0bb23927 96402011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
9641
9642 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
9643 argument LRM; if non-nil, append an invisible LRM character to the
9644 buffer name.
9645 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
9646 last argument non-nil, when formatting buffer names.
0bb23927
EZ
9647 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
9648 paragraph direction.
cce4b0a7 9649
621ef9ab
LMI
96502011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
9651
d1583c48
LMI
9652 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
9653 the man page name (bug#7929).
9654
6a57fb5f
LMI
9655 * image.el (put-image): Mention the `put-image' overlay property
9656 (bug#7834).
9657
d7956b14
LMI
9658 * scroll-bar.el (set-scroll-bar-mode): Mention that
9659 `scroll-bar-mode' lists the values (bug#7772).
9660
5b2d4a66
LMI
9661 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
9662 command (bug#7729).
9663
7509a874
LMI
9664 * rect.el (apply-on-rectangle): Return the point after the last
9665 operation.
9666 (string-rectangle): Go to the point after the last operation
9667 (bug#7522).
9668
4fe74b19
LMI
9669 * printing.el (pr-toggle-region): Clarify the documentation
9670 slightly (bug#7493).
9671
b796c9b7
SM
9672 * time.el (display-time-update):
9673 Allow `display-time-mail-function' to return nil (bug#7158).
9674 Fix suggested by Detlev Zundel.
ab283561 9675
fc233c9d
LMI
9676 * vc/diff.el (diff): Clarify the order the file names are read
9677 (bug#7111).
9678
43f5740b
LMI
9679 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
9680 the doc string (bug#7015).
9681
f2182a76
LMI
9682 * font-lock.el (font-lock-maximum-decoration): Mention what
9683 numeric levels mean (bug#6935).
9684
621ef9ab
LMI
9685 * startup.el (initial-buffer-choice): Don't mention the `none'
9686 selection, which is against policy.
9687
adc47434
MR
96882011-07-14 Martin Rudalics <rudalics@gmx.at>
9689
b796c9b7
SM
9690 * window.el (display-buffer-normalize-special):
9691 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 9692
7e5bfb8f
EZ
96932011-07-14 Eli Zaretskii <eliz@gnu.org>
9694
9695 * subr.el (version<, version<=, version=): Mention "-CVS" and
9696 "-12345" alpha version numbers.
9697
27fa387a
CY
96982011-07-14 Chong Yidong <cyd@stupidchicken.com>
9699
9700 * bindings.el: Add advertised binding for set-mark-command
9701 (Bug#5772).
9702
8bdfa064
CY
97032011-07-14 Chong Yidong <cyd@stupidchicken.com>
9704
9705 * bindings.el (mode-line-other-buffer):
9706 * bookmark.el (bookmark-bmenu-2-window):
9707 * bs.el (bs-cycle-next, bs-cycle-previous):
9708 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
9709 switch-to-buffer.
9710
9711 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 9712 Delete.
8bdfa064 9713
5eba16a3
JB
97142011-07-14 Juanma Barranquero <lekktu@gmail.com>
9715
9716 * follow.el (follow-debug-message, follow-redisplay):
9717 * jka-cmpr-hook.el (with-auto-compression-mode):
9718 Fix typos in docstrings.
9719
15853710
LMI
97202011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9721
a28e4607
LMI
9722 * subr.el (with-silent-modifications): Clarify somewhat what the
9723 macro inhibits (bug#6525).
9724
15853710
LMI
9725 * simple.el (eval-expression): Note what it does if called
9726 interactively (bug#6495).
9727
bee0fcef
CY
97282011-07-13 Chong Yidong <cyd@stupidchicken.com>
9729
b796c9b7
SM
9730 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
9731 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
9732
9733 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9734 Remove switch-to-buffer.
9735
58274504
LMI
97362011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9737
bd2fcc8d
LMI
9738 * files.el (make-directory): Clarify that an error will be raised
9739 if there's an error (bug#6397).
9740
0f04b32c
LMI
9741 * startup.el (initial-buffer-choice): Add `none' as a choice
9742 (bug#6234).
9743
465c5fc8
LMI
9744 * subr.el (add-hook): Clarify section about buffer-local hooks
9745 (bug#6218).
9746
58274504
LMI
9747 * dired.el (dired-flagged): Clarify doc string (bug#6117).
9748
bead9a43
JB
97492011-07-13 Juanma Barranquero <lekktu@gmail.com>
9750
9751 * tabify.el (untabify): Preserve the current column so that point
9752 doesn't move (bug#6032).
9753
3af98a7b
LMI
97542011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9755
b796c9b7
SM
9756 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
9757 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 9758
6240145a
GM
97592011-07-13 Glenn Morris <rgm@gnu.org>
9760
9761 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
9762 (dired-insert-directory): Give a message the first time
9763 if ls is found not to support --dired.
9764
1d8c2ccc
LMI
97652011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9766
9767 * simple.el (toggle-truncate-lines): Clarify what is toggled
9768 (bug#5580). Text by Drew Adams.
9769
5fc4038e
CY
97702011-07-13 Chong Yidong <cyd@stupidchicken.com>
9771
9772 * simple.el (blink-matching-open): Make the error message from the
9773 last change less verbose.
9774
bf6012e5
DN
97752011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
9776
9777 * font-lock.el (font-lock-comment-face): Use the high contrast
9778 "yellow" color for font-lock-comment-face on low color terminals
9779 using a dark background color (bug#4221).
9780
343c3b5a
LMI
97812011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9782
7e9505c5
LMI
9783 * dired.el (dired-insert-set-properties): Make the doc string
9784 reflect what it does now (bug#5325).
9785
c26fdcf5
LMI
9786 * simple.el (blink-matching-open): Say that we were unable to find
9787 the match within the limit, if we're limited (bug#5122).
9788
bb388cc5
LMI
9789 * international/mule-cmds.el (prefer-coding-system): Add an
9790 example (bug#4869).
9791
343c3b5a
LMI
9792 * progmodes/etags.el (tags-search): Document `file-list-form'
9793 (bug#4731).
9794
2a517d45
LM
97952011-07-13 Lawrence Mitchell <wence@gmx.li>
9796
9797 * net/browse-url.el (browse-url-default-browser)
9798 (browse-url-browser-function): Make the default browser choice a
9799 bit more logical (bug#4300). Also clean up the doc string.
9800
b6c78ef2
JB
98012011-07-13 Juanma Barranquero <lekktu@gmail.com>
9802
9803 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
9804 binary endings (bug#4440).
9805
1c4dd947
LMI
98062011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9807
a2014063
LMI
9808 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
9809 which can be pretty annoying (bug#8971).
9810
9c9c2d88
LMI
9811 * jka-compr.el (jka-compr-verbose): New variable, and use
9812 throughout (bug#8971).
9813
1c4dd947
LMI
9814 * info.el (Info-find-file): Fall back on the installation
9815 directory if we can't find the info node anywhere else.
9816
a1c9f41b
SO
98172011-07-13 Sergei Organov <osv@javad.com> (tiny change)
9818
9819 * vc/vc.el (vc-revert-file):
9820 Don't set file time-stamp in the past. (Bug#5181)
9821
536f3d36
LMI
98222011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9823
7152b011
LMI
9824 * files.el (after-find-file): Give a better error message when
9825 trying to find a symlink that points to a file that doesn't exist
9826 (bug#4398).
9827
536f3d36
LMI
9828 * progmodes/cc-vars.el: Remove (probably) misleading comment
9829 (bug#4396).
9830
460c0fba
JB
98312011-07-12 Johan Bockgård <bojohan@gnu.org>
9832
9833 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
9834
7a6bda45
CY
98352011-07-12 Chong Yidong <cyd@stupidchicken.com>
9836
9837 * mouse-sel.el: Hack restoring functionality, while keeping
9838 compatibility with 2010-07-03 changes to mouse selection.
9839 (mouse-sel-primary-overlay): New var.
9840 (mouse-sel-selection-alist): Use it.
9841 (mouse-sel-mode): Doc fix; remove points that are default features
9842 of mouse.el.
9843
c79598ef
JB
98442011-07-12 Johan Bockgård <bojohan@gnu.org>
9845
9846 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9847 Fix previous fix (bug#2490).
9848
ff8be6ef
RW
98492011-07-12 Roland Winkler <winkler@gnu.org>
9850
b796c9b7
SM
9851 * textmodes/bibtex.el (bibtex-initialize):
9852 Use pop-to-buffer-same-window.
ff8be6ef
RW
9853 (bibtex-search-entries): Fix interactive call.
9854
296ba3ee
LMI
98552011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
9856
f5242a02 9857 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
9858 Fontise bytecomp Error lines more correctly (bug#2490).
9859 Fix suggested by Johan Bockgård.
f5242a02 9860
296ba3ee
LMI
9861 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
9862
9863 * dired-x.el (dired-guess-default): Use `delete-dups'.
9864
f69fd0d2
CY
98652011-07-12 Chong Yidong <cyd@stupidchicken.com>
9866
9867 * dired.el (dired-mark-prompt):
9868 * dired-aux.el (dired-read-shell-command): Doc fix.
9869
eab5dc07
LMI
98702011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9871
b796c9b7
SM
9872 * mail/sendmail.el (sendmail-query-once):
9873 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
9874 emacs -Q.
9875
9876 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
9877
eab5dc07
LMI
9878 * cus-edit.el (custom-file): Take an optional no-error variable.
9879 (customize-save-variable): Set the variable, and give a warning if
9880 running under "emacs -q".
9881
a1e65d42
JB
98822011-07-11 Juanma Barranquero <lekktu@gmail.com>
9883
9884 * loadhist.el (unload-feature-special-hooks):
9885 Add `auto-coding-functions', `fill-nobreak-predicate' and
9886 `find-directory-functions' (bug#5327).
9887
1d52da10
LMI
98882011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9889
be958f1d
LMI
9890 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
9891
5bedb26c
LMI
9892 * cus-edit.el (custom-guess-name-alist): -alist variables should
9893 use the `alist' type (bug#3120). Suggested by Drew Adams.
9894
1d52da10
LMI
9895 * printing.el: Add documentation to all the `pr-toggle-' commands.
9896
cd394be1 98972011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
9898
9899 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
9900 backends where it makes sense (bug#2623).
9901
dcc88d8a
LMI
99022011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9903
c3de9feb
LMI
9904 * dired-x.el (dired-guess-default): Remove duplicate shell command
9905 entries (bug#2028).
8a93078b 9906 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 9907 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 9908
dcc88d8a
LMI
9909 * subr.el (remove-duplicates): New conveniency function.
9910
505e3645
LMI
99112011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
9912
9913 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
9914 (bug#1526).
9915
99162011-07-10 Martin Rudalics <rudalics@gmx.at>
9917
9918 * window.el (display-buffer-normalize-default): Don't invert
9919 meaning of even-window-heights. Reported by Eli Zaretskii
9920 <eliz@gnu.org>.
9921
455e4fa1
BR
99222011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
9923
9924 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
9925
8e0bc3e9
CY
99262011-07-10 Chong Yidong <cyd@stupidchicken.com>
9927
9928 * window.el (display-buffer): Fix arguments to
9929 display-buffer-reuse-window in last change.
9930
fa7c3228
CY
9931 * faces.el (link): Use a less saturated blue on light backgrounds.
9932
9933 * startup.el (fancy-startup-text, fancy-about-text)
9934 (fancy-startup-tail): Use font-lock faces, for background safety.
9935
c0a7f300
BN
99362011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
9937
b796c9b7
SM
9938 * emulation/viper-cmd.el (viper-change-state-to-vi):
9939 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 9940
4dc2a129
MR
99412011-07-09 Martin Rudalics <rudalics@gmx.at>
9942
9943 * window.el (display-buffer-default-specifiers): Remove.
9944 (display-buffer-macro-specifiers): Remove default specifiers.
9945 (display-buffer-alist): Default to nil.
b796c9b7 9946 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
9947 (display-buffer-pop-up-window): Allow splitting internal
9948 windows. Check whether a live window was created.
9949 (display-buffer-other-window-means-other-frame)
9950 (display-buffer-normalize-arguments): Rename to
9951 display-buffer-normalize-argument and rewrite. Set the
9952 other-window specifier.
9953 (display-buffer-normalize-special): New function.
9954 (display-buffer-normalize-options): Rename to
9955 display-buffer-normalize-default and rewrite.
9956 (display-buffer-normalize-options-inhibit): Remove.
9957 (display-buffer-normalize-specifiers): Rewrite.
9958 (display-buffer): Process other-window specifier and call
9959 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
9960 more faithfully.
b796c9b7 9961 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 9962 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
9963 (display-buffer-in-window, display-buffer-alist-set):
9964 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
9965 <tassilo@member.fsf.org>.
9966
2d43b8c9
LL
99672011-07-09 Leo Liu <sdl.web@gmail.com>
9968
9969 * register.el (insert-register): Restore accidental change on
9970 2011-06-26. (Bug#9028)
9971
7f9b7c53
GM
99722011-07-09 Glenn Morris <rgm@gnu.org>
9973
9974 * subr.el (remq): Handle the empty list. (Bug#9024)
9975
f042cfd8
AS
99762011-07-08 Andreas Schwab <schwab@linux-m68k.org>
9977
9978 * mail/sendmail.el (send-mail-function): No longer delay custom
9979 initialization.
9980 * custom.el (custom-initialize-delay): Doc fix.
9981
856b2f11
SM
99822011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
9985
afae1d68
MA
99862011-07-08 Michael Albinus <michael.albinus@gmx.de>
9987
9988 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
9989 human-friendly prompt.
9990
0757af94
SM
99912011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
9994 provided by a particular plugin.
9995
d760b731
LMI
99962011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
9998 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
9999 save customizations (with "emacs -Q"), just set the variable
10000 instead of erroring out.
10001
10002 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
10003
cd79ce90
JL
100042011-07-08 Juri Linkov <juri@jurta.org>
10005
10006 * arc-mode.el (archive-zip-expunge, archive-zip-update)
10007 (archive-zip-update-case): Use 7z if found by `executable-find'.
10008 The order of searching the available programs is the same as in
10009 `archive-zip-extract' (bug#8968).
10010
14cc04aa
CY
100112011-07-07 Chong Yidong <cyd@stupidchicken.com>
10012
10013 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
10014 (menu-bar-options-menu): Tweak descriptions.
10015
0a1848ec
LMI
100162011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10017
10018 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
10019 menu items into verb phrases (bug#1421). Also refill to fit under
10020 80 columns.
10021
f5bd0689
CY
100222011-07-07 Chong Yidong <cyd@stupidchicken.com>
10023
538e85c6
CY
10024 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
10025 (Info-read-node-name): Doc fix (Bug#1084).
10026
f5bd0689
CY
10027 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
10028 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
10029 (end-of-sexp, beginning-of-sexp)
10030 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
10031 (forward-symbol, forward-same-syntax, word-at-point)
10032 (sentence-at-point): Doc fix (Bug#1144).
10033
56ec5115
LMI
100342011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
10035
f3f8e37f
LMI
10036 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
10037 should cover it (bug#1281).
10038
0757af94 10039 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 10040
e9fce1ac 10041 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
10042 negotiation fails, then possibly try again with a non-encrypted
10043 connection (bug#9017).
10044
56ec5115
LMI
10045 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
10046 be used.
10047
c2f9aec8
RS
100482011-07-07 Richard Stallman <rms@gnu.org>
10049
10050 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
10051 property, and handle its changed format.
10052 Look for the correct line number.
10053 Use file's line contents (but not past first =) to find
10054 correct line in message.
10055
ef7b981d 100562011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
10057
10058 * international/characters.el (build-unicode-category-table):
10059 Delete it.
0757af94 10060 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 10061
0757af94 10062 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
10063 to src/chartab.c.
10064 (get-char-code-property): Call unicode-property-table-internal to
10065 load a file. Call get-unicode-property-internal where necessary.
10066 (put-char-code-property): Call unicode-property-table-internal to
10067 load a file. Call put-unicode-property-internal where necessary.
10068 put-unicode-property-internal where necessary.
0757af94
SM
10069 (char-code-property-description):
10070 Call unicode-property-table-internal to load a file.
c805dec0
KH
10071
10072 * international/charprop.el:
10073 * international/uni-bidi.el:
10074 * international/uni-category.el:
10075 * international/uni-combining.el:
10076 * international/uni-comment.el:
10077 * international/uni-decimal.el:
10078 * international/uni-decomposition.el:
10079 * international/uni-digit.el:
10080 * international/uni-lowercase.el:
10081 * international/uni-mirrored.el:
10082 * international/uni-name.el:
10083 * international/uni-numeric.el:
10084 * international/uni-old-name.el:
10085 * international/uni-titlecase.el:
10086 * international/uni-uppercase.el: Regenerate.
10087
10088 * loadup.el: Load international/charprop.el before
10089 international/characters.
10090
e14b388a
CY
100912011-07-07 Chong Yidong <cyd@stupidchicken.com>
10092
10093 * window.el (next-buffer, previous-buffer): Signal an error if
10094 called from a minibuffer window.
10095
10096 * bindings.el: Revert 2011-07-04 change.
10097
354cf0ba
RS
100982011-07-06 Richard Stallman <rms@gnu.org>
10099
10100 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
10101 (rmail-mime-insert-bulk, rmail-mime-insert-text):
10102 Treat markers like ints.
10103 (rmail-mime-entity): Doc fix.
10104
a48868a7
LMI
101052011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10106
4906cd3d
LMI
10107 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
10108 defcustom again for backwards compatibility.
10109
e0457abe
LMI
10110 * simple.el (shell-command-on-region): Fill.
10111
d67f7e1f
LMI
10112 * dired-aux.el (dired-kill-line): Add a doc string.
10113
fe204702
LMI
10114 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
10115 to "\\sw\\|\\s_" (bug#358).
10116
a48868a7
LMI
10117 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
10118 (dired-unmark-backward): Ditto.
10119 (dired-flag-backup-files): Ditto.
10120
10121 * dired-x.el (dired-mark-sexp): Ditto.
10122
aa8a705c
RS
101232011-07-06 Richard Stallman <rms@gnu.org>
10124
10125 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
10126 (rmail-mime-entity): New arg TRUNCATED.
10127 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
10128 New functions.
10129 (rmail-mime-save): Warn if entity is truncated.
10130 (rmail-mime-toggle-hidden): Likewise, for showing.
10131 (rmail-mime-process-multipart): Record when an entity is truncated.
10132
a9a936b9
RS
10133 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
10134 if ENTITY is a string.
10135
1f2b92cb
LMI
101362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10137
f4f73198 10138 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
10139 of faces when `M-C-x'-ing their definitions (bug#8378).
10140 Also clean up the code slightly.
f4f73198 10141
12b16734 10142 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 10143 because that makes the colors go away.
12b16734 10144
f0691d22
LMI
10145 * mail/sendmail.el (send-mail-function): Change the default to
10146 `sendmail-query-once'.
9e87df06 10147 (sendmail-query-once): Add an autoload cookie.
f0691d22 10148
1f2b92cb
LMI
10149 * net/network-stream.el (network-stream-open-starttls): Try using
10150 a plain connection even if the server offered STARTTLS, and we
10151 kinda wanted to use it, if Emacs doesn't have any STARTTLS
10152 capability. This should make smtpmail.el work in slightly more
10153 configurations.
10154
1cdd2a1b
MA
101552011-07-06 Michael Albinus <michael.albinus@gmx.de>
10156
10157 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
10158 New defun.
10159 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
10160
fbcc67e2
MM
101612011-07-06 Michael R. Mauger <mmaug@yahoo.com>
10162
10163 * progmodes/sql.el: Version 3.0
0757af94 10164 (sql-product-alist): Add product :completion-object,
fbcc67e2 10165 :completion-column, and :statement attributes.
0757af94 10166 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 10167 (sql-mode-syntax-table): Mark all punctuation.
0757af94 10168 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
10169 ansi keywords.
10170 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 10171 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
10172 (sql-oracle-show-reserved-words): New function for development.
10173 (sql-product-font-lock): Simplify for source code buffers.
10174 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
10175 New functions.
10176 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
10177 (sql-mode-map): Add statement movement functions.
10178 (sql-ansi-statement-starters, sql-oracle-statement-starters):
10179 New variable.
fbcc67e2
MM
10180 (sql-statement-regexp, sql-beginning-of-statement)
10181 (sql-end-of-statement, sql-signum): New functions.
0757af94 10182 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
10183 (sql-show-sqli-buffer): Bug fix.
10184 (sql-interactive-mode): Store connection data as buffer local.
0757af94 10185 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
10186 with sql-interactive-mode.
10187 (sql-save-connection): Save buffer local settings.
0757af94 10188 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
10189 (sql-product-interactive): Bug fix.
10190 (sql-preoutput-hold): New variable.
10191 (sql-interactive-remove-continuation-prompt): Bug fixes.
10192 (sql-debug-redirect): New variable.
10193 (sql-str-literal): New function.
10194 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 10195 Redesign.
fbcc67e2
MM
10196 (sql-oracle-save-settings, sql-oracle-restore-settings)
10197 (sql-oracle-list-all, sql-oracle-list-table): New functions.
10198 (sql-completion-object, sql-completion-column)
10199 (sql-completion-sqlbuf): New variables.
10200 (sql-build-completions-1, sql-build-completions)
10201 (sql-try-completion): New functions.
10202 (sql-read-table-name): Use them.
10203 (sql-contains-names): New buffer local variable.
10204 (sql-list-all, sql-list-table): Use it.
10205 (sql-oracle-completion-types): New variable.
10206 (sql-oracle-completion-object, sql-sqlite-completion-object)
10207 (sql-postgres-completion-object): New functions.
10208
d4eaeab1
GM
102092011-07-06 Glenn Morris <rgm@gnu.org>
10210
10211 * window.el (pop-to-buffer): Doc fix.
10212
322b7dab 102132011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
10214
10215 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
10216
322b7dab 102172011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 10218
322b7dab 10219 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 10220
322b7dab 10221 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 10222
605dd5bf
CY
102232011-07-05 Chong Yidong <cyd@stupidchicken.com>
10224
10225 * button.el (button): Inherit from link face. Suggested by Dan
10226 Nicolaescu.
10227
7dbfa719
SM
102282011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10229
3db614b0
SM
10230 * progmodes/gdb-mi.el: Fit in 80 columns.
10231 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
10232 switch-to-buffer.
10233
7dbfa719
SM
10234 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
10235 if imenu is simply not configured (bug#8941).
10236
919d884a
KM
102372011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
10238
10239 * allout.el (allout-post-undo-hook): New allout outline-change
10240 event hook to signal undo activity.
10241 (allout-post-command-business): Run allout-post-undo-hook if an
10242 undo just occurred.
7dbfa719
SM
10243 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
10244 * allout-widgets.el (allout-widgets-after-undo-function):
10245 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
10246 in the vicinity of an undo.
10247 (allout-widgets-mode): Include allout-widgets-after-undo-function
10248 on the new allout-post-undo-hook.
10249
450a0f09
SM
102502011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
10253 Let define-derived-mode define it.
10254 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
10255 cycles of abbrev-table inheritance (bug#8998).
10256
2de69e00
RW
102572011-07-05 Roland Winkler <winkler@gnu.org>
10258
10259 * textmodes/bibtex.el: Add support for biblatex.
10260 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
10261 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
10262 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
10263 (bibtex-entry-alist, bibtex-field-alist): New variables.
10264 (bibtex-entry-field-alist): Obsolete alias for
10265 bibtex-BibTeX-entry-alist.
10266 (bibtex-entry-alist, bibtex-field-alist): New widgets.
10267 (bibtex-set-dialect): New command.
10268 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
10269 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
10270 Bind via bibtex-set-dialect.
2de69e00
RW
10271 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
10272 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
10273 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
10274 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
10275 Define via bibtex-set-dialect.
450a0f09
SM
10276 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
10277 Obey bibtex-no-opt-remove-re.
2de69e00
RW
10278 (bibtex-vec-push, bibtex-vec-incr): New functions.
10279 (bibtex-format-entry, bibtex-field-list)
10280 (bibtex-print-help-message, bibtex-validate)
10281 (bibtex-search-entries): Use new format of bibtex-entry-alist.
10282
2dcdbdd9
SM
102832011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
10284
10285 * progmodes/compile.el (compilation-goto-locus):
10286 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10287 * bs.el (bs-cycle-next, bs-cycle-previous):
10288 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
10289 * bindings.el (mode-line-other-buffer):
10290 * autoinsert.el (auto-insert):
10291 * arc-mode.el (archive-extract):
10292 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
10293
b27640fe
JB
102942011-07-05 Juanma Barranquero <lekktu@gmail.com>
10295
10296 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
10297 Fix check of `emacs-lock-unlockable-modes'.
10298 Coerce true values of `emacs-lock--try-unlocking' to t.
10299
53bbe3ad
JB
103002011-07-05 Juanma Barranquero <lekktu@gmail.com>
10301
10302 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
10303 * emacs-lock.el: New file.
10304
1d3cdbc7
JD
103052011-07-05 Julien Danjou <julien@danjou.info>
10306
10307 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
10308 than `boundp' to check if face is set.
10309
9173deec
JB
103102011-07-05 Juanma Barranquero <lekktu@gmail.com>
10311
10312 * register.el (registerv-make):
10313 * window.el (window-min-height): Fix typos in docstrings.
10314
869795d6
JD
103152011-07-05 Jan Djärv <jan.h.d@swipnet.se>
10316
9173deec 10317 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
10318 Update doc string.
10319
b768cdcd
JB
103202011-07-04 Juanma Barranquero <lekktu@gmail.com>
10321
10322 * server.el (server-execute): Catch quit and call
10323 `server-return-error' to pass the error back to emacsclient and
10324 close the connection (bug#8942).
10325
13aa217b
KM
103262011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
10327
10328 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
10329 insecure exception for current topic. Also note that auto-saves
10330 are handled differently.
10331
5d3385a0 10332 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
10333 State variables for tracking auto-save inhibition situation.
10334
10335 (allout-write-contents-hook-handler): Rename from
10336 'allout-write-file-hook-handler', and describe how it depends on
10337 write-contents-functions sensitivity to non-nil value to prevent
10338 file write.
10339
10340 (allout-auto-save-hook-handler): Remove. auto-save does not check
10341 this in individual buffers, only in the starting buffer, so this
10342 is not the right way for us to inhibit auto-save in a buffer
10343 according to its condition.
10344
10345 (allout-mode): Use new allout-write-contents-hook-handler, and
10346 only with write-contents-functions. Remove auto-save provisions -
10347 they're implemented elsewhere.
10348
10349 (allout-before-change-handler): If undo is in progress, note that
10350 for attention of allout-post-command-business.
10351
10352 (allout-post-command-business): If the command we're following was
10353 an undo, check for change in the status of encrypted items and
10354 adjust auto-save inhibitions accordingly.
10355
10356 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
10357 according to whether there are or aren't any plain-text topics
10358 pending encryption.
10359
2dcdbdd9 10360 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
10361 Adjust buffer-saved-size and some allout state to inhibit auto-saves
10362 if there are plain-text topics pending encryption.
13aa217b
KM
10363
10364 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
10365 buffer-saved-size and some allout state to not inhibit auto-saves
10366 if there are no longer any plain-text topics pending encryption.
10367
0757af94
SM
10368 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
10369 No longer provide for exemption of the current topic.
13aa217b 10370
ac89b32c
JL
103712011-07-04 Juri Linkov <juri@jurta.org>
10372
10373 Add 7z operations to delete and save changed members (bug#8968).
10374 * arc-mode.el (archive-7z-expunge, archive-7z-update):
10375 New defcustoms.
10376 (archive-7z-write-file-member): New function.
10377 (archive-7z-summarize): Fix the number of dashes in the
10378 listing output.
10379
8fa39615
SM
103802011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10381
10382 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
10383 (bug#8958).
10384
2f11b3f1
CY
103852011-07-04 Chong Yidong <cyd@stupidchicken.com>
10386
d66fef2b
CY
10387 * bindings.el: Ignore next-buffer and previous-buffer in
10388 minibuffer-local-map.
10389
2f11b3f1
CY
10390 * font-lock.el (font-lock-builtin-face): Change light background
10391 color to dark slate blue (Bug#6693).
10392
f932a347
WD
103932011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
10394
10395 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
10396
c8af70e1
SM
103972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10398
10399 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
10400 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10401 Add switch-to-buffer.
10402
f158badc
LMI
104032011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10404
10405 * isearch.el (isearch-search-fun-function): Clarify further the
10406 meaning of the function returned.
10407
6d95bd46
MA
104082011-07-04 Michael Albinus <michael.albinus@gmx.de>
10409
10410 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
10411
10412 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
10413 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
10414 Use it.
10415 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
10416 `tramp-default-remote-path' does not exist.
10417 (tramp-send-command-and-read): New optional argument NOERROR.
10418 (tramp-open-connection-setup-interactive-shell)
10419 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
10420 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
10421 (tramp-process-sentinel): Flush also process' connection property.
10422 (tramp-sh-handle-start-file-process): Do not set process
10423 sentinel. It is done now ...
10424 (tramp-maybe-open-connection): ... here. (Bug#8929)
10425
909e6b67
MK
104262011-07-04 MON KEY <monkey@sandpframing.com>
10427
10428 * play/animate.el (animate-string): Doc fixes and allow changing
10429 the buffer name (bug#5417).
10430
104312011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
10432
c8af70e1 10433 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 10434
f34755dc
PE
104352011-07-04 Paul Eggert <eggert@cs.ucla.edu>
10436
396cec72
PE
10437 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
10438 This is simpler and helps future-proof the code.
10439 (timer-until): Use time-subtract and float-time.
08235028 10440 (timer--time-less-p): Use time-less-p.
f34755dc 10441
56e6cc31
JB
104422011-07-04 Juanma Barranquero <lekktu@gmail.com>
10443
3abb79e5
JB
10444 * type-break.el (timep): Use the value of `float-time' to avoid a
10445 byte-compiler warning.
10446
56e6cc31
JB
10447 * server.el (server-eval-and-print): Return any result, even nil.
10448
7b9430b4
PE
104492011-07-03 Paul Eggert <eggert@cs.ucla.edu>
10450
10451 * type-break.el: Accept time formats that the builtins accept.
10452 (timep, type-break-time-difference): Accept any format that
10453 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
10454 This is simpler and helps future-proof the code.
10455 (type-break-time-difference): Round rather than ignoring
10456 subseconds components.
10457
3034e9e7
LMI
104582011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10459
10460 * info.el (Info-apropos-matches): Make non-interactive, since it
10461 doesn't seem to do anything useful as a command (bug#8829).
10462
1485f4c0
CY
104632011-07-03 Chong Yidong <cyd@stupidchicken.com>
10464
10465 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 10466 Move from faces.el.
1485f4c0
CY
10467 (frame-default-terminal-background): New function.
10468
10469 * custom.el (custom-push-theme): Don't record faces in `changed'
10470 theme; this doesn't work correctly for per-frame face settings.
10471 (disable-theme): Use face-set-after-frame-default to reset faces.
10472 (custom--frame-color-default): New function.
10473
9fa3dd45
LMI
104742011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10475
c8af70e1 10476 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
10477 (bug#8769).
10478
6cbbc20c
KR
104792011-03-29 Kevin Ryde <user42@zip.com.au>
10480
10481 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10482 `perl-Test2' extend to match possible "fail #N" rep count
10483 (bug#8377).
10484
c7f98048
LMI
104852011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10486
65676592
LMI
10487 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
10488 `smtpmail-via-smtp' now returns the error instead of nil.
10489
c7f98048
LMI
10490 * isearch.el (isearch-search-fun-function): Clarify the doc string
10491 (bug#8101).
10492
56e6cc31 104932011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
10494
10495 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
10496 unnecessary spaces (bug#8987).
10497
2b216704
LMI
104982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10499
10500 * net/network-stream.el (open-network-stream): Use the
10501 :end-of-capability command thoughout.
10502
105032011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
10504
10505 * net/network-stream.el (open-network-stream): Add the
10506 :end-of-capability command parameter, used by pop3.el.
10507
36adf6ce
LMI
105082011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
10509
1ca0da0e
LMI
10510 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
10511
fc00f69c
LMI
10512 * fringe.el (fringe-query-style): Remove redundant text " (type ?
10513 for list)" (bug#6475).
10514
28fd8759 10515 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 10516 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
10517 an error (bug#6297).
10518
0dd8b6da
LMI
10519 * man.el (Man-reference-regexp): Allow matching possible
10520 word-wrapped references (bug#6289).
10521
ce1438d6
LMI
10522 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
10523 for consistency with the other vc buffers (bug#6197).
10524 (vc-checkin): Ditto.
10525
10526 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
10527
36adf6ce
LMI
10528 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
10529
e83cc1f7
LMI
105302011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10531
8a20ca4c
LMI
10532 * custom.el (defcustom): Clarify that :set is only used in the
10533 Customize user interface (bug#6089).
10534
83319045
LMI
10535 * progmodes/flymake.el (flymake-mode): If the buffer isn't
10536 associated with a file, refuse to run instead of erroring out
10537 (bug#6084).
10538
a8392169
LMI
10539 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
10540 the doc string, since it appears that using `fill-column' always
10541 controls the width (bug#7845).
10542
e83cc1f7
LMI
10543 * simple.el (shell-command-on-region): Say where the error output
10544 went if `shell-command-default-error-buffer' is set (bug#6857).
10545
e47ca23b
KM
105462011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
10547
10548 * allout.el (allout-yank-processing): Adjust cursor position for
10549 backwards-deleted space.
10550
10551 (allout-rebullet-heading): Register changes with
10552 allout-exposure-changed-hook, so the modified topic is properly
10553 decorated.
10554
5cf56143
LMI
105552011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10556
08549772
LMI
10557 * minibuffer.el (completion-in-region): Document PREDICATE
10558 (bug#7136).
10559
48e96771
LMI
10560 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
10561 of keyword/argument pairs (bug#6904).
10562
c8af70e1
SM
10563 * replace.el (multi-occur):
10564 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 10565
e17d05e2
LMI
105662011-07-02 Drew Adams <drew.adams@oracle.com>
10567
10568 * dired.el (dired-mark-if): Make the message about whether it's
10569 marking or unmarking clearer (bug#8523).
10570
063b0e45
LMI
105712011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
10572
10573 * disp-table.el (display-table-print-array): New function.
10574 (describe-display-table): Use it to print the vectors more pretty
10575 (Bug#8859).
10576
28545e04
MR
105772011-07-02 Martin Rudalics <rudalics@gmx.at>
10578
10579 * window.el (window-state-get-1): Don't assign clone numbers.
10580 Add clone-of item to list of window parameters.
10581 (window-state-put-2): Don't process clone numbers.
10582 (display-buffer-alist): Fix doc-string.
10583
3349e122
SM
105842011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10585
10586 * subr.el (remq): Don't allocate if it's not needed.
10587 (keymap--menu-item-binding, keymap--menu-item-with-binding)
10588 (keymap--merge-bindings): New functions.
10589 (keymap-canonicalize): Use them to refine the canonicalization.
10590 * minibuffer.el (minibuffer-local-completion-map)
10591 (minibuffer-local-must-match-map): Move initialization from C.
10592 (minibuffer-local-filename-completion-map): Move initialization from C;
10593 don't inherit from anything here.
10594 (minibuffer-local-filename-must-match-map): Make obsolete.
10595 (completing-read-default): Use make-composed-keymap to combine
10596 minibuffer-local-filename-completion-map with either
10597 minibuffer-local-must-match-map or
10598 minibuffer-local-filename-completion-map.
10599
d224ac83
GM
106002011-07-01 Glenn Morris <rgm@gnu.org>
10601
3de63bf8
GM
10602 * type-break.el (type-break-time-sum): Use dolist.
10603
d224ac83
GM
10604 * textmodes/flyspell.el (flyspell-word-search-backward):
10605 Replace CL function.
10606
1a1e3f32
SM
106072011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10608
fe3f64d5
SM
10609 * mouse.el (mouse--strip-first-event): New function.
10610 (function-key-map): Use it to map fringe clicks to normal clicks
10611 by default.
10612
eb604e34
SM
10613 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
10614 (vc-bzr-revision-completion-table): Add support for annotate and date.
10615
1a1e3f32
SM
10616 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
10617 inherit from parent.
10618
5bd35902
LMI
106192011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
10620
ace6c69c 10621 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 10622 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 10623
191e2bed
LMI
10624 * dired.el (dired-mode): Fix up the doc string as suggested by
10625 Drew Adams (bug#8817).
10626
5bd35902
LMI
10627 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
10628 cookie, since the manual says that it should be possible to add
10629 this function to `find-file-hook' (bug#8709).
10630
eee8207a
TZ
106312011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10632
10633 * progmodes/cfengine.el: Moved all cfengine3.el functionality
10634 here. Noted Ted Zlatanov as the maintainer.
10635 (cfengine-common-settings, cfengine-common-syntax): New functions
10636 to set up common things between `cfengine-mode' and
10637 `cfengine3-mode'.
10638 (cfengine3-mode): New mode.
10639 (cfengine3-defuns cfengine3-defuns-regex
10640 (cfengine3-class-selector-regex cfengine3-category-regex)
10641 (cfengine3-vartypes cfengine3-font-lock-keywords)
10642 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 10643 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 10644
36b148cf
MA
106452011-07-01 Michael Albinus <michael.albinus@gmx.de>
10646
10647 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
10648
10649 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
10650
0bf4ba9a
MR
106512011-07-01 Martin Rudalics <rudalics@gmx.at>
10652
10653 * window.el (same-window-buffer-names, same-window-regexps)
10654 (same-window-p, special-display-frame-alist)
10655 (special-display-popup-frame, special-display-function)
10656 (special-display-buffer-names, special-display-regexps)
10657 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
10658 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10659 (split-window-preferred-function, split-height-threshold)
10660 (split-width-threshold, even-window-heights)
10661 (display-buffer-mark-dedicated, window-splittable-p)
10662 (split-window-sensibly, window-safely-shrinkable-p):
10663 Un-obsolete.
10664 (display-buffer): Don't spread args with function specifier
10665 because special-display-popup-frame won't like it.
10666
35837f51
PE
106672011-07-01 Paul Eggert <eggert@cs.ucla.edu>
10668
d0672f86
PE
10669 Time-stamp simplifications and fixes.
10670 These improve accuracy slightly, and future-proof the code
10671 against some potential changes to current-time format.
10672
b9444d97
PE
10673 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
10674 by using time-since and float-time.
10675
0ef923dc
PE
10676 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
10677 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
10678 + NNN microseconds".
10679
2f81380d
PE
10680 * type-break.el (type-break-time-sum): Rewrite using time-add.
10681
845b5c3e
PE
10682 * play/hanoi.el (hanoi-current-time-float): Remove.
10683 All uses replaced by float-time.
10684
ee6f1be0
PE
10685 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
10686 This yields a more-accurate answer.
10687 (rng-time-to-float): Remove; no longer needed.
10688
fe955043
PE
10689 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
10690
5777162a
PE
10691 * calendar/timeclock.el (timeclock-seconds-to-time):
10692 Defalias to seconds-to-time, since they're the same thing.
10693
3103f8b6 10694 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 10695 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
10696 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
10697
0e61a35f
SM
106982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10699
10700 * window.el (bury-buffer): Don't iconify the only frame.
10701 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
10702 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
10703
ddd63a1e
CY
107042011-07-01 Chong Yidong <cyd@stupidchicken.com>
10705
0e61a35f
SM
10706 * eshell/em-smart.el (eshell-smart-display-navigate-list):
10707 Add mouse-yank-primary.
ddd63a1e 10708
055f4923
TZ
107092011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
10710
10711 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
10712
6a2fb145
SM
107132011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
10714
10715 * emacs-lisp/find-func.el (find-library--load-name): New fun.
10716 (find-library-name): Use it to find relative load names when provided
10717 absolute file name (bug#8803).
10718
fd4983f2
LMI
107192011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10720
887d14ad
LMI
10721 * textmodes/flyspell.el (flyspell-word): Consider words that
10722 differ only in case as potential doublons (bug#5687).
10723
c53dc7fc
LMI
10724 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
10725 Remove two rather uninteresting debugging-like messages to make
10726 debbugs.el more silent.
10727
fd4983f2
LMI
10728 * comint.el (comint-password-prompt-regexp): Accept "Response" as
10729 a password-like phrase.
10730
7a71b18d 107312011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
10732
10733 * progmodes/cc-guess.el: New file.
10734
6a2fb145 10735 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
10736
10737 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
10738 derived from `c-basic-common-init'.
10739
10740 * progmodes/cc-mode.el (top-level): Require cc-guess.
10741 (c-basic-common-init): Use `cc-choose-style-for-mode'.
10742
1fa280a3
LM
107432011-06-30 Lawrence Mitchell <wence@gmx.li>
10744
10745 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
10746
e6597158
AM
107472011-06-30 Alan Mackenzie <acm@muc.de>
10748
1fa280a3
LM
10749 * progmodes/cc-engine.el (c-guess-continued-construct):
10750 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
10751 lock is disabled. Name this case as "CASE G".
10752
68ba37fb
KM
107532011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
10754
10755 * allout.el (allout-yank-processing): Fix injection of extra space
10756 between bullet and non-whitespace character in first topic when
10757 pasting, ensuring that the actual spacing in the pasted topic
10758 following the bullet char is preserved. This extra space was
10759 causing pasted encrypted topics to get a decrypted status even
10760 when the content was actually still encrypted. Now the decryption
10761 status from before the paste is preserved.
10762
10763 (allout-flag-region): Set all allout overlays so they evaporate
10764 when reduced to zero length (evanescent), to prevent overlay
10765 leakage.
10766
887a0b34
GM
107672011-06-30 Glenn Morris <rgm@gnu.org>
10768
94b9acce
GM
10769 * w32-fns.el (w32-charset-info-alist): Declare.
10770
1d9b46d4
GM
10771 * find-dired.el (find-grep-options): Simplify.
10772
cc232200
GM
10773 * term/ns-win.el (ns-set-resource): Declare.
10774
28e77c46
GM
10775 * ses.el (row, col): Declare dynamic variables honestly.
10776
887a0b34
GM
10777 * textmodes/reftex-parse.el (index-tags): Declare.
10778
658d8eb8
CY
107792011-06-30 Chong Yidong <cyd@stupidchicken.com>
10780
10781 * cus-edit.el (customize-push-and-save): New function.
10782
10783 * files.el (hack-local-variables-confirm): Use it.
10784
1fa280a3
LM
10785 * custom.el (load-theme): New arg NO-CONFIRM.
10786 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
10787 (custom-enabled-themes): Doc fix.
10788
10789 * cus-theme.el (customize-create-theme)
10790 (custom-theme-merge-theme): Callers to load-theme changed.
10791
bb617717
LMI
107922011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10793
d61bdd5d
LMI
10794 * thingatpt.el (thing-at-point-short-url-regexp): Require that
10795 short URLs have at least one dot in them (bug #7614).
10796
bb617717
LMI
10797 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
10798 nil, because using a pty is apparently too slow (bug #895).
10799
2f31f37a
LMI
108002011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
10801
10802 * mail/sendmail.el (sendmail-query-once): New function.
10803 (sendmail-query-once-function): New variable.
10804
3076b24e
GM
108052011-06-29 Glenn Morris <rgm@gnu.org>
10806
faf2a174
GM
10807 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
10808
3076b24e
GM
10809 * ses.el (top-level): Require cl when compiling.
10810 (ses-set-localvars): Fix error statement.
10811 Call it at compile time to silence a storm of warnings.
10812
5386012d
MR
108132011-06-29 Martin Rudalics <rudalics@gmx.at>
10814
10815 * window.el (normalize-live-buffer): Rename to
10816 window-normalize-buffer.
10817 (normalize-live-frame): Rename to window-normalize-frame.
10818 (normalize-any-window): Rename to window-normalize-any-window.
10819 (normalize-live-window): Rename to window-normalize-live-window.
10820 (make-window-atom): Rename to window-make-atom.
10821 (window-resize-reset): Rename to window--resize-reset.
10822 (window-resize-reset-1): Rename to window--resize-reset-1.
10823 (resize-mini-window): Rename to window--resize-mini-window.
10824 (resize-subwindows-skip-p): Rename to
10825 window--resize-subwindows-skip-p.
10826 (resize-subwindows-normal): Rename to
10827 window--resize-subwindows-normal.
10828 (resize-subwindows): Rename to window--resize-subwindows.
10829 (resize-other-windows): Rename to window--resize-siblings.
10830 (resize-this-window): Rename to window--resize-this-window.
10831 (resize-root-window): Rename to window--resize-root-window.
10832 (resize-root-window-vertically): Rename to
10833 window--resize-root-window-vertically.
10834 (normalize-buffer-to-display): Rename to
10835 window-normalize-buffer-to-display.
10836 (normalize-buffer-to-switch-to): Rename to
10837 window-normalize-buffer-to-switch-to.
10838 Correspondingly update all callers of the functions listed
10839 above.
10840 (display-buffer-alist, display-buffer-normalize-arguments)
10841 (display-buffer-normalize-options, display-buffer)
10842 (display-buffer-alist-set): Use "function" instead of
10843 "fun-with-args".
10844
1176868d
CY
108452011-06-28 Chong Yidong <cyd@stupidchicken.com>
10846
10847 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
10848 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
10849 debbugs.gnu.org. Mention acknowledgment email.
10850
20a7a65f
LMI
108512011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
10852
10853 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
10854 buffer multibyteness, since it shouldn't matter.
10855
5f45cca5
MR
108562011-06-28 Martin Rudalics <rudalics@gmx.at>
10857
10858 * window.el (display-buffer-in-side-window): Handle dedicated
10859 windows as in display-buffer-reuse-window.
10860 (display-buffer-normalize-alist): Use value of override
10861 specifier.
10862 (display-buffer-normalize-specifiers): Use value of
10863 other-window-means-other-frame specifier.
10864 (display-buffer-alist): Rewrite some texts in widgets.
10865 (display-buffer): Spread arguments when calling function
10866 specified by fun-with-args.
10867
ad85fe1f
DD
108682011-06-28 Deniz Dogan <deniz@dogan.se>
10869
1fa280a3
LM
10870 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
10871 Unnest `let'.
da68c4c8 10872
ad85fe1f
DD
10873 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
10874 selectors (Bug#5732).
ec49bd31 10875 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 10876
a08cc025
JA
108772011-06-27 Jari Aalto <jari.aalto@cante.net>
10878
10879 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
10880 (eshell-ls-date-format): New defcustom.
10881 (eshell-ls-file): Use it.
10882
e2b551c5
SM
108832011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10884
10885 * help-fns.el (describe-variable): Fix message for terminal-local vars.
10886
8982b231
KY
108872011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
10888
10889 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
10890 (ange-ftp-make-tmp-name): New arg.
10891 (ange-ftp-file-local-copy): Use it.
10892
36c9fa27
J
108932011-06-27 Jambunathan K <kjambunathan@gmail.com>
10894
10895 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
10896 no-conversion (Bug#8870).
10897
d68443dc
MR
108982011-06-27 Martin Rudalics <rudalics@gmx.at>
10899
10900 * window.el (window-right, window-left, window-child)
10901 (window-child-count, window-last-child)
10902 (window-iso-combination-p, walk-window-tree-1)
10903 (window-atom-check-1, window-tree-1, delete-window)
10904 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
10905 new naming conventions - window-vchild, window-hchild,
10906 window-next and window-prev are now called window-top-child,
10907 window-left-child, window-next-sibling and window-prev-sibling
10908 respectively.
d615d6d2
MR
10909 (resize-window-reset): Rename to window-resize-reset.
10910 (resize-window-reset-1): Rename to window-resize-reset-1.
10911 (resize-window): Rename to window-resize.
10912 (window-min-height, window-min-width)
10913 (resize-mini-window, resize-this-window, resize-root-window)
10914 (resize-root-window-vertically, adjust-window-trailing-edge)
10915 (enlarge-window, shrink-window, maximize-window)
10916 (minimize-window, delete-window, quit-restore-window)
10917 (split-window, balance-windows, balance-windows-area-adjust)
10918 (balance-windows-area, window-state-put-2)
10919 (display-buffer-even-window-sizes, display-buffer-set-height)
10920 (display-buffer-set-width, set-window-text-height)
10921 (fit-window-to-buffer): Rename all "resize-window" prefixed
10922 calls to use the "window-resize" prefix convention.
10923 (display-buffer-alist): Fix symbol for label specifier.
10924 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
10925 corresponding specifier.
10926 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 10927
b6458526
VB
109282011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10929
10930 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
10931 convention.
10932 (ses-call-printer): Does not pass an empty string to formatter when the
10933 cell is empty to keep from barking printer Calc math-format-value.
10934
d31fd9ac
RS
109352011-06-27 Richard Stallman <rms@gnu.org>
10936
43d5bf84
RS
10937 * battery.el (battery-mode-line-limit): New variable.
10938 (battery-update): Handle it.
10939
d31fd9ac
RS
10940 * mail/rmailmm.el (rmail-mime-process-multipart):
10941 Handle truncated messages.
10942
819a6054
GM
109432011-06-27 Glenn Morris <rgm@gnu.org>
10944
10945 * progmodes/flymake.el (flymake-err-line-patterns):
10946 Allow for column numbers in the ant/javac pattern. (Bug#8866)
10947
cedc73f2
VB
109482011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
10949
819a6054 10950 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
10951 (ses--clean-!, ses--clean-_): New functions.
10952 (ses-range): Add configurability of readout order, and conversion
10953 to Calc vector.
10954
5e5d49b6
VB
10955 * ses.el (ses-repair-cell-reference-all): New function.
10956 (ses-cell-symbol): Set macro as safe, so that it can be used in
10957 formulas.
10958
56e6cc31 10959 * ses.el: Update cycle detection algorithm.
90ca8b49 10960 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 10961 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
10962 (ses-set-localvars): New function.
10963 (ses-make-cell): Add property-list as a cell element.
10964 (ses-cell-property-get-fun, ses-cell-property-get)
10965 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
10966 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
10967 New functions.
90ca8b49
VB
10968 (ses-cell-property-set, ses-cell-property-pop)
10969 (ses-cell-property-get-handle): New macro.
10970 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
10971 New aliases, used for code readability.
10972 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
10973 cycle detection.
10974 (ses-self-reference-early-detection): New defcustom.
fac916bf 10975 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
10976 (ses-mode): Use ses-set-localvars.
10977 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
10978 before lauching the update processing.
10979 (ses-initialize-Dijkstra-attempt): New function.
10980 (ses-recalculate-cell): Update for cycle detection based on
10981 Dijkstra algorithm.
10982
2bb63e81
VB
10983 * ses.el: Fix commenting and indenting convention.
10984
c9d29fb8
SM
109852011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * bs.el (bs-cycle-next): Complete last change.
10988
d8e4b68b
JB
109892011-06-27 Drew Adams <drew.adams@oracle.com>
10990
10991 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
10992
40098786
LMI
109932011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10994
c9d29fb8
SM
10995 * net/network-stream.el (network-stream-open-starttls):
10996 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
10997 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
10998
40098786
LMI
10999 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
11000 to binary to possibly avoid line encoding issues on Windows (among
11001 other things).
11002
468d09d4
LMI
110032011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11004
11005 * net/network-stream.el (open-network-stream): Return an :error
11006 saying what the problem was, if possible.
11007
11008 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
11009 server.
11010
11011 * net/network-stream.el (network-stream-open-starttls): If we
11012 wanted to use STARTTLS, and the server offered it, but we weren't
11013 able to because we had no STARTTLS support, then close the connection.
11014 (open-network-stream): Return an :error element, if present.
11015
16f07dd7
CY
110162011-06-26 Chong Yidong <cyd@stupidchicken.com>
11017
88821ca0
CY
11018 * hl-line.el (hl-line-sticky-flag): Doc fix.
11019 (global-hl-line-sticky-flag): New option (Bug#8323).
11020 (global-hl-line-highlight): Obey it.
11021
16f07dd7
CY
11022 * vc/vc.el (vc-revert-show-diff): Default to t.
11023
6b5ccddf
KM
110242011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
11025
c9d29fb8
SM
11026 * allout-widgets.el (allout-widgets-post-command-business):
11027 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
11028 undecorated when an isearch is continued past, and isearch
11029 automatically collapses them. This leads to "widget leaks", where
11030 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
11031 hidden widgets can slow down cursor travel, substantially.
11032 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
11033 so we're doing without this nicety.
11034
11035 (allout-widgets-tally-string): Don't try to do a hash-table-count
11036 of allout-widgets-tally when it's nil. This eliminates spurious "Error
11037 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
11038 *Messages* when allout-widgets-maintain-tally is t.
11039
355f2e07
MR
110402011-06-26 Martin Rudalics <rudalics@gmx.at>
11041
11042 * window.el (display-buffer-normalize-argument): Rename to
11043 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
11044 LABEL argument. Respect special-display-function when popping up
11045 a new frame. Fix code searching for a window showing the buffer
11046 on another frame.
c9d29fb8
SM
11047 (display-buffer-normalize-specifiers):
11048 Call display-buffer-normalize-arguments.
355f2e07
MR
11049 (display-buffer-in-window): Don't undedicate the window if its
11050 buffer remains the same.
11051 Reported by Drew Adams <drew.adams@oracle.com>.
11052 (display-buffer-alist): Add choice for same-window macro
11053 specfier.
11054 (display-buffer): Mention special meaning of LABEL argument in
11055 doc-string. Fix quoting. Don't pop up a new frame even as
11056 fallback.
11057
7ca8fc42
JB
110582011-06-26 Juanma Barranquero <lekktu@gmail.com>
11059
11060 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
11061 avoid deleting the current window in some cases (bug#8911).
11062
bc312254
AS
110632011-06-26 Andreas Schwab <schwab@linux-m68k.org>
11064
11065 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
11066 (Bug#8934)
11067
2db18f3f
LMI
110682011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11069
c9d29fb8
SM
11070 * net/network-stream.el (network-stream-open-starttls):
11071 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
11072 (network-stream-open-tls): Ditto.
11073
6302e0d3
LL
110742011-06-26 Leo Liu <sdl.web@gmail.com>
11075
11076 * register.el (registerv): New struct.
11077 (registerv-make): New function.
c9d29fb8
SM
11078 (jump-to-register, describe-register-1, insert-register):
11079 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
11080 struct. (Bug#8415)
11081
5fdd4046
CY
110822011-06-26 Chong Yidong <cyd@stupidchicken.com>
11083
2afef60a
CY
11084 * vc/vc.el (vc-revert-show-diff): New defcustom.
11085 (vc-diff-internal): New arg specifying diff buffer.
11086 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
11087 reuse an existing *vc-diff* buffer (Bug#8927).
11088
5fdd4046
CY
11089 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
11090
e93db24a
GM
110912011-06-26 Glenn Morris <rgm@gnu.org>
11092
11093 * progmodes/f90.el (f90-critical-indent): New option.
11094 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
11095 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
11096 (f90-mode): Doc fix.
11097 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
11098 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
11099 (f90-beginning-of-block, f90-next-block, f90-indent-region)
11100 (f90-match-end): Handle block, critical.
11101
eefff499
GM
111022011-06-25 Glenn Morris <rgm@gnu.org>
11103
f6ba4cc9
GM
11104 * calendar/diary-lib.el (diary-included-files): Doc fix.
11105 (diary-include-files): New function, extracted from
11106 diary-include-other-diary-files and diary-mark-included-diary-files.
11107 (diary-include-other-diary-files, diary-mark-included-diary-files):
11108 Just call diary-include-files.
11109 (diary-mark-entries): Reset diary-included-files on first call.
11110
16712304
GM
11111 * calendar/diary-lib.el (diary-mark-entries)
11112 (diary-mark-included-diary-files):
11113 Visit included diary-files in temp buffers.
11114
5d8e0d43
GM
11115 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
11116 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
11117 (f90-start-block-re, f90-imenu-generic-expression)
11118 (f90-looking-at-program-block-start, f90-no-block-limit):
11119 Add support for submodules.
11120
ccf7a5d5
GM
11121 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11122 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 11123
11fdef7d 111242011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
11125
11126 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
11127 buffer-file-type before setting its value, to avoid disastrous
eefff499 11128 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 11129
74f53697
JB
111302011-06-25 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
11133
11134 * ses.el (ses-unload-function):
11135 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
11136
11137 * proced.el (proced-unload-function):
11138 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
11139
18a4ce5e
AR
111402011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
11141
11142 * server.el (server-create-window-system-frame): Add parameters arg.
11143 (server-process-filter): Doc fix. Handle frame-parameters.
11144
519d22cc
JB
111452011-06-25 Juanma Barranquero <lekktu@gmail.com>
11146
11147 Fix bug#8730, bug#8781.
11148
11149 * loadhist.el (unload--set-major-mode): New function.
11150 (unload-feature): Use it.
11151
11152 * progmodes/python.el (python-after-info-look): Add autoload cookie.
11153 (python-unload-function): New function.
11154
c206f5b0
SM
111552011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
11158
f9ad64f3
GS
111592011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
11160
11161 * net/browse-url.el (browse-url-firefox-program): Add icecat to
11162 the candidates list.
11163
7d0da90e
JB
111642011-06-24 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
11167
14b4e83d
RS
111682011-06-23 Richard Stallman <rms@gnu.org>
11169
11170 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
11171 (rmail-variables): Set next-error-move-function.
11172 (rmail-what-message): Take argument POS.
11173 (rmail-next-error-move): New function.
11174
273d2baf
SM
111752011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
11176
11177 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
11178 messages for adjacent non-terminals.
11179
56c2cc9a
RS
111802011-06-23 Richard Stallman <rms@gnu.org>
11181
11182 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 11183 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
11184 (rmail-start-mail): Don't specify use of rmail-mail-return;
11185 that's done by mail-bury now.
11186 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 11187
d59eb518
MA
111882011-06-23 Michael Albinus <michael.albinus@gmx.de>
11189
11190 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
11191 SIZE is a number.
11192
02cfc6d6
MR
111932011-06-23 Martin Rudalics <rudalics@gmx.at>
11194
11195 * window.el (get-lru-window, get-mru-window)
11196 (get-largest-window): Never return a minibuffer window.
11197 (display-buffer-pop-up-window): Fix a bug that could lead to
11198 reusing the minibuffer window.
11199 (display-buffer): Pass original specifier argument to
11200 display-buffer-function instead of the normalized one.
11201 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11202
4e323265
LL
112032011-06-22 Leo Liu <sdl.web@gmail.com>
11204
11205 * minibuffer.el (completing-read-function)
11206 (completing-read-default): Move from minibuf.c
11207
7a70468f
RS
112082011-06-22 Richard Stallman <rms@gnu.org>
11209
50718fc2
RS
11210 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
11211 to Rmail even if not started by a special Rmail command.
11212
7a70468f
RS
11213 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
11214 Copy the buffer currently showing just one message.
11215
297dde5a
RW
112162011-06-22 Roland Winkler <winkler@gnu.org>
11217
11218 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
11219 (bibtex-clean-entry): First delete the old key so that a
11220 customized algorithm for generating the new key does not get
11221 confused by the old key.
11222 (bibtex-url): Obey regexp of first step.
11223 (bibtex-search-entries): Do not use add-to-list with local
11224 list-var.
11225
97bb1093
LMI
112262011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11227
11228 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
11229 stored a user name, then query for the password first, instead of
11230 waiting for SMTP to give an error message and the trying again.
11231
1c0f1a19
JD
112322011-06-22 Lawrence Mitchell <wence@gmx.li>
11233
11234 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
11235 BUFFER in call-process.
11236
396f7c9d
LMI
112372011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
11238
11239 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
11240 QUIT twice.
ddb7ffee
LMI
11241 (smtpmail-try-auth-methods): Require user name and password from
11242 auth-source.
396f7c9d 11243
8998d1b3
MR
112442011-06-22 Martin Rudalics <rudalics@gmx.at>
11245
11246 * window.el (display-buffer-default-specifiers)
11247 (display-buffer-alist): Remove entries for pop-up-frame-alist.
11248 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 11249 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
11250
11251 * frame.el (pop-up-frame-alist, pop-up-frame-function)
11252 (special-display-frame-alist, special-display-popup-frame):
11253 Remove duplicate declarations. These are now in window.el.
11254
4ea31e07
LMI
112552011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11256
c9d29fb8
SM
11257 * mail/smtpmail.el (smtpmail-via-smtp):
11258 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
11259 server supports it. SMTP servers that support STARTTLS commonly
11260 require it.
11261
11262 * net/network-stream.el (network-stream-open-starttls): Support
11263 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 11264 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 11265
95f41d9a
LMI
11266 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
11267 upgrades with `open-network-stream', and rely solely on
11268 auth-source for all credentials. Big changes throughout the file,
11269 but in particular:
c9d29fb8
SM
11270 (smtpmail-auth-credentials): Remove.
11271 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
11272 (smtpmail-via-smtp): Check for servers saying they want AUTH after
11273 MAIL FROM, too.
95f41d9a 11274
c9d29fb8
SM
11275 * net/network-stream.el (network-stream-open-starttls):
11276 Provide support for client certificates both for external and built-in
4ea31e07
LMI
11277 STARTTLS.
11278 (auth-source): Require.
11279 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
11280 (network-stream-certificate): Change cert-cert to cert and
11281 cert-key to key.
4ea31e07 11282
065ec2c7
MA
112832011-06-21 Michael Albinus <michael.albinus@gmx.de>
11284
11285 * net/tramp-cache.el (top): Don't load the persistency file when
11286 "emacs -Q" has been called.
11287
cd93b359
DR
112882011-06-21 Tim Harper <timcharper@gmail.com>
11289
d8e4b68b
JB
11290 * term/ns-win.el (ns-initialize-window-system):
11291 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
11292 resource to NO as it is not yet supported by the NS port.
11293
ae9c0411
JB
112942011-06-21 Juanma Barranquero <lekktu@gmail.com>
11295
11296 * misc.el (list-dynamic-libraries--refresh): Compute header here...
11297 (list-dynamic-libraries): ...not here.
11298
7f3f739f
LL
112992011-06-21 Leo Liu <sdl.web@gmail.com>
11300
11301 * subr.el (sha1): Implement sha1 using secure-hash.
11302
327c8fb1
MR
113032011-06-21 Martin Rudalics <rudalics@gmx.at>
11304
11305 * window.el (display-buffer-alist): In default value do not
11306 enforce searching a window on any but the selected frame.
11307 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
11308 (display-buffer-select-window): Remove function.
11309 (display-buffer-in-window): When a window on another frame gets
11310 reused, do not select it any more but just raise its frame if
11311 necessary (Bug#8851) and (Bug#8856).
11312 (display-buffer-normalize-options): Handle pop-up-frames related
11313 options more faithfully.
11314 (pop-to-buffer): Don't rely on `display-buffer' selecting the
11315 window if it is on another frame.
c9d29fb8
SM
11316 (display-buffer-alist, display-buffer-default-specifiers):
11317 Don't make new frame unsplittable by default.
9e9de014
MR
11318 (display-buffer-normalize-argument): Fix doc-string typo and use
11319 'same-frame-other-window instead of 'other-window when associating
11320 with display-buffer-macro-specifiers.
327c8fb1 11321
7cf3f556
VB
113222011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
11323
11324 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
11325 New functions.
11326 (5x5-mode-map, 5x5-mode-menu): Bind them.
11327 (5x5-draw-grid): Tweak the solver's rendering.
11328
60a406cf
SM
113292011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11330
11331 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
11332 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
11333
d8e4b68b 113342011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
11335
11336 * menu-bar.el: Use function variable instead of switch-to-buffer.
11337 (menu-bar-select-buffer-function): New variable.
60a406cf 11338 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 11339
478d6f95
SM
113402011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11341
11342 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
11343 variable's status.
11344
ca530739
JD
113452011-06-20 Jan Djärv <jan.h.d@swipnet.se>
11346
11347 * x-dnd.el (x-dnd-version-from-flags)
11348 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
11349 and long as number (Bug#8899).
11350 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
11351
bcd70d97
SM
113522011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11353
60a406cf 11354 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
11355 (completion-try-completion, completion-all-completions): Compute the
11356 metadata argument if it's missing; make it optional (bug#8795).
11357
60a406cf 11358 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
11359 (widget-complete): Use new :completion-function property.
11360 (widget-completions-at-point): New function.
11361 (default): Use :completion-function instead of :complete.
60a406cf
SM
11362 (widget-default-completions): Rename from widget-default-complete;
11363 Rewrite.
bcd70d97
SM
11364 (widget-string-complete, widget-file-complete, widget-color-complete):
11365 Remove functions.
11366 (file, symbol, function, variable, coding-system, color):
11367 * international/mule-cmds.el (default-input-method, charset)
11368 (language-info-custom-alist):
11369 * cus-edit.el (face): Use new property :completions.
11370
11371 * progmodes/pascal.el (pascal-completions-at-point): New function.
11372 (pascal-mode): Use it.
11373 (pascal-mode-map): Use completion-at-point.
11374 (pascal-toggle-completions): Make obsolete.
11375 (pascal-complete-word, pascal-show-completions):
11376 * progmodes/octave-mod.el (octave-complete-symbol):
11377 Redefine as obsolete alias.
11378 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
11379 Signal absence of completion info for old Octave,
11380 (inferior-octave-complete): Redefine as obsolete alias.
11381 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
11382 (meta-completions-at-point): Rename from meta-complete-symbol and
11383 adapt it for use on completion-at-point-functions.
11384 (meta-common-mode): Use it.
11385 (meta-looking-at-backward, meta-match-buffer): Remove.
11386 (meta-complete-symbol): Redefine as obsolete alias.
11387 (meta-common-mode-map): Use completion-at-point.
11388 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
11389 (makefile-mode-map): Use completion-at-point.
11390 (makefile-completions-at-point): Rename from makefile-complete and
11391 adapt it for use on completion-at-point-functions.
11392 (makefile-mode): Use it.
11393 (makefile-complete): Redefine as obsolete alias.
11394
aebf69c8
DD
113952011-06-20 Deniz Dogan <deniz@dogan.se>
11396
11397 * net/rcirc.el: Delete trailing whitespaces once and for all.
11398
bfbbb27d
DC
113992011-06-20 Daniel Colascione <dan.colascione@gmail.com>
11400
11401 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
11402
d264a46b
CY
114032011-06-19 Chong Yidong <cyd@stupidchicken.com>
11404
4ca009e5
CY
11405 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
11406
d264a46b
CY
11407 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
11408
fbf5b3ce
MR
114092011-06-19 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (display-buffer-other-window-means-other-frame):
11412 Call display-buffer-normalize-alist.
11413 (display-buffer-normalize-specifiers-1): Rename to
11414 display-buffer-normalize-argument. New argument other-frame.
11415 Rewrite.
11416 (display-buffer-normalize-specifiers-2): Rename to
11417 display-buffer-normalize-options.
11418 (display-buffer-normalize-alist-1): New function.
11419 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
11420 display-buffer-normalize-alist.
11421 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
11422 (display-buffer-normalize-options-inhibit): New variable.
11423 (display-buffer-normalize-specifiers): Rewrite calling
11424 display-buffer-normalize-alist,
11425 display-buffer-normalize-argument, and
11426 display-buffer-normalize-options. Don't call the latter if
11427 display-buffer-normalize-options-inhibit is non-nil.
11428 (frame-auto-delete): New option.
11429 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
11430 (window-list-no-nils, window-state-ignored-parameters)
11431 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
11432 (window-state-put-1, window-state-put-2, window-state-put):
11433 New functions.
9a028c23
MR
11434 (display-buffer-normalize-options): Move special-display-p group
11435 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 11436
6d10d800
CY
114372011-06-18 Chong Yidong <cyd@stupidchicken.com>
11438
6420d28b
CY
11439 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
11440 groups (Bug#8776).
11441 (rx-submatch-n): New function.
11442 (rx): Document it.
11443
ddb8b596
CY
11444 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
11445 (Bug#8768).
11446
11447 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
11448
77080289
CY
11449 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
11450
61dfb316
CY
11451 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
11452 anytime existing face settings are present (Bug#8889).
11453
6d10d800
CY
11454 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
11455 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
11456 Remove unused argument.
11457
be3fb2b8
MR
114582011-06-18 Martin Rudalics <rudalics@gmx.at>
11459
bcd70d97
SM
11460 * window.el (display-buffer-default-specifiers):
11461 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
11462 pop-up-window-min-width, and another reuse-window specifier
11463 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
11464 (display-buffer-normalize-specifiers-2):
11465 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
11466 pop-up-windows is unset. Add a reuse-window specifier for the
11467 case popping up a new window fails.
11468 (special-display-popup-frame): Remove double quoting.
28dec25a 11469 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 11470
1c6d8c76
SM
114712011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11472
11473 * shell.el (shell-completion-vars): Set pcomplete-termination-string
11474 according to comint-completion-addsuffix.
11475
11476 * pcomplete.el: Convert to lexical binding and fix bug#8819.
11477 (pcomplete-suffix-list): Mark as obsolete.
11478 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
11479 pcomplete-seen in the closure.
11480 (pcomplete-comint-setup): Setup completion-at-point as well.
11481 (pcomplete--entries): New function.
11482 (pcomplete--env-regexp): New var.
11483 (pcomplete-entries): Rewrite to work with partial-completion and
11484 without relying on pcomplete-suffix-list.
11485 (pcomplete-pare-list): Remove, unused.
11486
25aef8b8
MR
114872011-06-17 Martin Rudalics <rudalics@gmx.at>
11488
11489 * window.el (display-buffer-alist): Set pop-up-window-min-height
11490 and pop-up-window-min-width in default value. Reported by
11491 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
11492 other-window-means-other-frame.
11493 (display-buffer-macro-specifiers): Comment out entry for
11494 other-window specifier.
11495 (display-buffer-other-window-means-other-frame): New function.
11496 (display-buffer-normalize-specifiers-1): New arguments
11497 buffer-name and label. Treat other-window case specially.
11498 (display-buffer-normalize-specifiers-2): Treat other-window case
11499 specially.
11500 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
11501 (display-buffer-normalize-specifiers):
11502 Call display-buffer-normalize-specifiers-3.
25aef8b8 11503
dbad4f69
MR
115042011-06-17 Martin Rudalics <rudalics@gmx.at>
11505
11506 * window.el (same-window-p): Fix two typos introduced when
11507 adding with-no-warnings.
d1067961
MR
11508 (display-buffer-normalize-specifiers-1): Don't check
11509 pop-up-frames for 'unset initialization.
11510 (display-buffer-normalize-specifiers-2): Major rewrite using
11511 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
11512 (pop-up-frames, display-buffer-reuse-frames)
11513 (display-buffer-mark-dedicated): Don't initialize to 'unset.
11514 Suggested by David Engster <deng@randomsample.de>.
11515 (even-window-heights): Initialize to 'unset.
11516 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
11517 (display-buffer-macro-specifiers): Don't pop up a new frame in the
11518 other window case.
dbad4f69 11519
9b9c9e3a
MR
115202011-06-16 Martin Rudalics <rudalics@gmx.at>
11521
bcd70d97
SM
11522 * window.el (display-buffer-normalize-specifiers-1):
11523 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 11524 second argument of display-buffer (Bug#8865).
981d5c09
MR
11525 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
11526 (switch-to-buffer-other-window-same-frame)
11527 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
11528 Adams (Bug#8875).
9c2755e9
MR
11529 (display-buffer): Don't check noninteractive when calling
11530 display-buffer-pop-up-frame.
11531 (display-buffer-pop-up-frame): Never pop up a frame in
11532 noninteractive mode (Bug#8857).
67222e1d
MR
11533 (enlarge-window, shrink-window): Don't report an error when the
11534 window can't be resized as requested (Bug#8862).
9b9c9e3a 11535
2b75be67
SM
115362011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11537
9ffdd3ba
SM
11538 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
11539
cb581a67
SM
11540 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
11541
2b75be67
SM
11542 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
11543
8c0e3589
AM
115442011-06-15 Alan Mackenzie <acm@muc.de>
11545
cb581a67
SM
11546 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
11547 for declarators, disable knr checking to speed up for normal files.
11548 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 11549
b96e6cde
LMI
115502011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11551
4bba86e6
LMI
11552 * net/network-stream.el (open-network-stream): Add the keyword
11553 :always-query-capabilities for the case where you want to force a
11554 `plain' network connection, but the protocol still requires the
11555 capabilitiy command (i.e., SMTP and EHLO).
11556
2b75be67 11557 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
11558 consistency with other `-live-p' functions.
11559
efdcdbf8
SM
115602011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11561
11562 * window.el (same-window-buffer-names, same-window-regexps)
11563 (special-display-frame-alist, special-display-popup-frame)
11564 (special-display-function, special-display-buffer-names)
11565 (special-display-regexps, pop-up-frame-alist)
11566 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
11567 (pop-up-windows, split-window-preferred-function)
11568 (split-height-threshold, split-width-threshold, even-window-heights)
11569 (display-buffer-mark-dedicated): Don't encourage the use of
11570 display-buffer-alist from Elisp code.
11571
c5cde042
DN
115722011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
11573
11574 * progmodes/python.el (python-mode): Derive from prog-mode.
11575 * progmodes/ps-mode.el (ps-mode):
11576 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 11577 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
11578 * progmodes/ld-script.el (ld-script-mode): Likewise.
11579
baa1c9ab
MR
115802011-06-15 Martin Rudalics <rudalics@gmx.at>
11581
11582 * window.el (display-buffer-alist): Trim default value to avoid
11583 popping up a new frame (Bug#8857) or reusing an arbitrary window
11584 on another frame.
11585 (display-buffer): Do not fall back on popping up a new frame in
11586 batch mode (Bug#8857).
11587
c5dd5a51
CY
115882011-06-14 Chong Yidong <cyd@stupidchicken.com>
11589
11590 * cus-theme.el (describe-theme-1): Use custom-theme-p.
11591 (custom-theme-summary): New function.
11592 (customize-themes): Use it.
11593
d647b7c4
GM
115942011-06-13 Glenn Morris <rgm@gnu.org>
11595
11596 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
11597
9481c002
MR
115982011-06-13 Martin Rudalics <rudalics@gmx.at>
11599
357f93d2
MR
11600 * help.el (help-window): Remove variable.
11601 (help-window-point-marker, temp-buffer-max-height)
11602 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
11603 (help-print-return-message): Don't set help-window.
11604 (resize-temp-buffer-window): Rewrite cod eand doc-string.
11605 (help-window-setup-finish): Remove.
11606 (help-window-display-message, help-window-setup)
11607 (with-help-window): Major rewrite based on new
11608 display-buffer-window variable.
11609
11610 * help-mode.el (help-mode-finish): Remove help-window related
11611 code.
11612
11613 * view.el (view-exits-all-viewing-windows): Remove reference to
11614 view-return-to-alist in doc-string.
11615 (view-return-to-alist): Make obsolete.
11616 (view-buffer): Call pop-to-buffer-same-window and remove
11617 undo-window code.
11618 (view-buffer-other-window): Call pop-to-buffer-other-window and
11619 simplify code. Ignore second argument.
11620 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
11621 simplify code. Ignore second argument.
11622 (view-return-to-alist-update): Make obsolete.
11623 (view-mode-enter): Rename second argument to QUIT-RESTORE.
11624 Rewrite using quit-restore window parameters.
2b75be67
SM
11625 (view-mode-exit): Rename second argument to EXIT-ONLY.
11626 Rewrite using quit-restore-window.
357f93d2
MR
11627 (View-exit, View-exit-and-edit, View-leave, View-quit)
11628 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
11629 appropriate arguments.
11630 (view-end-message): Use quit-restore window parameter.
11631
9481c002
MR
11632 * window.el (display-buffer-function): Rewrite doc-string.
11633 (display-buffer-window, display-buffer-alist): New variables.
11634 (display-buffer-split-specifiers)
11635 (display-buffer-side-specifiers)
11636 (display-buffer-macro-specifiers): New constants.
11637 (display-buffer-even-window-sizes, display-buffer-set-height)
11638 (display-buffer-set-width, display-buffer-select-window)
11639 (display-buffer-in-window, display-buffer-reuse-window)
11640 (display-buffer-split-window-1, display-buffer-split-window)
11641 (display-buffer-split-atom-window, display-buffer-pop-up-window)
11642 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
11643 (display-buffer-in-side-window, normalize-buffer-to-display)
11644 (display-buffer-normalize-specifiers-1)
11645 (display-buffer-normalize-specifiers-2)
2b75be67
SM
11646 (display-buffer-normalize-specifiers, display-buffer-frame):
11647 New functions.
9481c002
MR
11648 (display-buffer): Major rewrite.
11649 (display-buffer-other-window, display-buffer-other-frame)
11650 (pop-to-buffer, switch-to-buffer-other-window)
11651 (switch-to-buffer-other-frame): Rewrite.
11652 (display-buffer-same-window, display-buffer-same-frame)
11653 (display-buffer-same-frame-other-window)
11654 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11655 (pop-to-buffer-other-window)
11656 (pop-to-buffer-same-frame-other-window)
11657 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
11658 (switch-to-buffer-other-window-same-frame): New functions.
11659 (same-window-p, special-display-p): Rewrite disabling warnings.
11660 Make obsolete.
11661 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11662 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
11663 Make obsolete
11664 (same-window-buffer-names, same-window-regexps)
11665 (special-display-frame-alist, special-display-popup-frame)
11666 (special-display-function, special-display-buffer-names)
11667 (special-display-regexps, pop-up-frame-alist)
11668 (pop-up-frame-function, split-window-preferred-function)
11669 (split-height-threshold, split-width-threshold)
11670 (even-window-heights): Make obsolete.
11671
9db51aca
GM
116722011-06-12 Glenn Morris <rgm@gnu.org>
11673
11674 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 11675 Misc simplifications.
9db51aca 11676
39cffb44
MR
116772011-06-12 Martin Rudalics <rudalics@gmx.at>
11678
11679 * window.el (window-safely-shrinkable-p): Restore function which
11680 was inadvertently removed in change from 2011-06-11. Declare as
11681 obsolete.
11682
2b75be67
SM
11683 * calendar/calendar.el (calendar-generate-window):
11684 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
11685 window-safely-shrinkable-p.
11686
a8955be7
GM
116872011-06-12 Glenn Morris <rgm@gnu.org>
11688
11689 * progmodes/fortran.el (fortran-mode-syntax-table):
11690 * progmodes/f90.el (f90-mode-syntax-table):
11691 Set % to punctuation. (Bug#8820)
11692 (f90-find-tag-default): Remove, no longer needed.
11693
f0d4059d
DC
116942011-06-12 Daniel Colascione <dan.colascione@gmail.com>
11695
11696 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
11697
1100a63c
CY
116982011-06-11 Chong Yidong <cyd@stupidchicken.com>
11699
11700 * image.el (image-animated-p): Return animation delay in seconds.
11701 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
11702 (image-animate-timeout): Remove DELAY argument. Don't assume
11703 every subimage has the same delay; get it from image-animated-p.
11704 (image-animate): Caller changed.
11705
def722bf
MA
117062011-06-11 Michael Albinus <michael.albinus@gmx.de>
11707
11708 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
11709 to ignored backtrace functions.
11710
0a2bb1a9
GM
117112011-06-11 Glenn Morris <rgm@gnu.org>
11712
11713 * calendar/appt.el (appt-disp-window-function): Doc fix.
11714 (appt-check): Handle overlapping appointments. (Bug#8337)
11715
6198ccd0
MR
117162011-06-11 Martin Rudalics <rudalics@gmx.at>
11717
11718 * window.el (window-tree-1, window-tree): New functions, moving
11719 the latter to window.el.
11720 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
11721 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
11722 (bw-refresh-edges): Remove.
11723 (balance-windows-1, balance-windows-2): New functions.
11724 (balance-windows): Rewrite in terms of window tree functions,
11725 balance-windows-1 and balance-windows-2.
11726 (bw-adjust-window): Remove.
11727 (balance-windows-area-adjust): New function with functionality of
11728 bw-adjust-window but using resize-window.
2b75be67
SM
11729 (set-window-text-height): Rewrite doc-string.
11730 Use normalize-live-window and resize-window.
11731 (enlarge-window-horizontally, shrink-window-horizontally):
11732 Rename argument to DELTA.
6198ccd0
MR
11733 (window-buffer-height): New function.
11734 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
11735 Rewrite using new window resize routines.
2b75be67
SM
11736 (kill-buffer-and-window, mouse-autoselect-window-select):
11737 Use ignore-errors instead of condition-case.
6198ccd0
MR
11738 (quit-window): Call delete-frame instead of delete-windows-on
11739 for the only buffer on frame.
11740
9397e56f
MR
117412011-06-10 Martin Rudalics <rudalics@gmx.at>
11742
11743 * loadup.el (top-level): Load window before files for the sake
11744 of replace-buffer-in-windows.
11745
11746 * files.el (read-buffer-to-switch)
11747 (switch-to-buffer-other-window)
2b75be67
SM
11748 (switch-to-buffer-other-frame, display-buffer-other-frame):
11749 Move to window.el.
9397e56f
MR
11750
11751 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
11752 (previous-buffer): Move to window.el.
11753
11754 * bindings.el (unbury-buffer): Move to window.el.
11755
11756 * window.el (delete-other-windows-vertically): Move after
11757 definition of delete-other-windows.
11758 (other-window, delete-windows-on, replace-buffer-in-windows):
11759 Move here from window.c.
11760 (record-window-buffer, unrecord-window-buffer)
11761 (set-window-buffer-start-and-point, switch-to-prev-buffer)
11762 (switch-to-next-buffer): New functions.
11763 (get-next-valid-buffer, last-buffer, next-buffer): Move here
11764 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
11765 (previous-buffer): Move here from simple.el.
11766 Call switch-to-prev-buffer.
9397e56f
MR
11767 (bury-buffer): Move here from buffer.c. Switch to previous
11768 buffer when window cannot be deleted.
11769 (unbury-buffer): Move here from bindings.el.
11770 (ctl-x-map): Move binding for other-window from window.c to
11771 here.
11772 (read-buffer-to-switch, switch-to-buffer-other-window)
11773 (switch-to-buffer-other-frame): Move here from files.el.
11774 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
11775 (switch-to-buffer): Move here from buffer.c.
11776 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 11777
562dd5e9
MR
117782011-06-10 Martin Rudalics <rudalics@gmx.at>
11779
11780 * window.el (window-min-height, window-min-width): Move here
11781 from window.c. Add defcustoms and rewrite doc-strings.
11782 (resize-mini-window, resize-window): New functions.
11783 (adjust-window-trailing-edge, enlarge-window, shrink-window):
11784 Move here from window.c.
11785 (maximize-window, minimize-window): New functions.
11786 (delete-window, delete-other-windows, split-window): Move here
11787 from window.c.
11788 (window-split-min-size): New function.
11789 (split-window-keep-point): Mention split-window-above-each-other
11790 instead of split-window-vertically.
2b75be67 11791 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
11792 Rename split-window-vertically to split-window-above-each-other
11793 and provide defalias for old definition.
11794 (split-window-side-by-side, split-window-horizontally):
11795 Rename split-window-horizontally to split-window-side-by-side
11796 and provide defalias for the old definition.
562dd5e9
MR
11797 (ctl-x-map): Move bindings for delete-window,
11798 delete-other-windows and enlarge-window here from window.c.
11799 Replace bindings for split-window-vertically and
11800 split-window-horizontally by bindings for
11801 split-window-above-each-other and split-window-side-by-side.
11802
11803 * cus-start.el (all): Remove entries for window-min-height and
11804 window-min-width. Add entries for window-splits and
11805 window-nest.
11806
f0da764a
GM
118072011-06-09 Glenn Morris <rgm@gnu.org>
11808
80675c21
GM
11809 * calendar/appt.el (appt-mode-line): New function.
11810 (appt-check, appt-disp-window): Use it.
11811
f0da764a
GM
11812 * files.el (hack-one-local-variable-eval-safep):
11813 Allow minor-modes with explicit +/-1 arguments.
11814
59f623b7
TZ
118152011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
11816
11817 * term/xterm.el (xterm): Add defgroup.
11818 (xterm-extra-capabilities): Add defcustom to supply known xterm
11819 capabilities, skip querying them, or query them (default).
11820 (terminal-init-xterm): Use it.
11821 (terminal-init-xterm-modify-other-keys): New function to set up
11822 modifyOtherKeys support to simplify `terminal-init-xterm'.
11823
9aab8e0d
MR
118242011-06-09 Martin Rudalics <rudalics@gmx.at>
11825
11826 * window.el (resize-window-reset, resize-window-reset-1)
11827 (resize-subwindows-skip-p, resize-subwindows-normal)
11828 (resize-subwindows, resize-other-windows, resize-this-window)
11829 (resize-root-window, resize-root-window-vertically)
11830 (window-deletable-p, window-or-subwindow-p)
11831 (frame-root-window-p): New functions.
11832
e8b08aee
GM
118332011-06-09 Glenn Morris <rgm@gnu.org>
11834
11835 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
11836 (ange-ftp-get-files): Use it.
11837
254c37a5
AK
118382011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
11839
11840 * mail/sendmail.el (mail-recover-1, mail-recover):
11841 * files.el (recover-file, recover-session):
11842 Handle dired-listing-switches not being just a single short option.
11843
35d7dbd3
GM
118442011-06-09 Glenn Morris <rgm@gnu.org>
11845
11846 * calendar/appt.el (appt-display-message, appt-disp-window):
11847 Handle lists of appointments.
11848
387522b2
MR
118492011-06-08 Martin Rudalics <rudalics@gmx.at>
11850
2b75be67
SM
11851 * window.el (one-window-p): Move down in code.
11852 Rewrite doc-string.
11853 (window-current-scroll-bars): Rewrite doc-string.
11854 Normalize live window argument.
387522b2
MR
11855 (walk-windows, get-window-with-predicate, count-windows):
11856 Rewrite doc-string. Use window-list-1.
11857 (window-in-direction-2, window-in-direction, get-mru-window):
11858 New functions.
11859
d8e4b68b 118602011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
11861
11862 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
11863 Doc fix (Bug#8713).
11864
118652011-06-08 Chong Yidong <cyd@stupidchicken.com>
11866
11867 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
11868
118692011-06-08 Juanma Barranquero <lekktu@gmail.com>
11870
11871 * loadhist.el (unload-feature-special-hooks):
11872 Add `comint-output-filter-functions'.
11873
0de12c52
IK
118742011-06-08 Ivan Kanis <gnu@kanis.fr>
11875
11876 * calendar/appt.el (appt-check): Move some initializations into the let.
11877
f3d1777e
MR
118782011-06-08 Martin Rudalics <rudalics@gmx.at>
11879
11880 * window.el (window-height): Defalias to window-total-height.
11881 (window-width): Defalias to window-body-width.
11882
18af70d0
CY
118832011-06-07 Chong Yidong <cyd@stupidchicken.com>
11884
11885 * image-mode.el (image-toggle-animation): New command.
11886 (image-mode-map): Bind it to RET.
11887 (image-mode): Update message.
11888 (image-toggle-display-image): Avoid a spurious cache flush.
11889 (image-transform-rotation): Doc fix.
11890 (image-transform-properties): Return quickly in the normal case.
11891 (image-animate-loop): Rename from image-animate-max-time.
11892
2b75be67 11893 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
11894 (create-animated-image): Remove unnecessary function.
11895 (image-animate): Rename from image-animate-start. New arg.
2b75be67 11896 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
11897 (image-animate-timer): Use car-safe.
11898 (image-animate-timeout): Rename argument.
11899
190b47e6
MR
119002011-06-07 Martin Rudalics <rudalics@gmx.at>
11901
11902 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
11903 window.c. Rename first argument to ALL-FRAMES.
11904 Rephrase doc-strings.
11905 (get-buffer-window-list): Rewrite using window-list-1.
11906 Rephrase doc-string.
a1511caf
MR
11907 (window-safe-min-height, window-safe-min-width): New constants.
11908 (window-size-ignore, window-min-size, window-min-size-1)
11909 (window-sizable, window-sizable-p, window-size-fixed-1)
11910 (window-size-fixed-p, window-min-delta-1, window-min-delta)
11911 (window-max-delta-1, window-max-delta, window-resizable)
11912 (window-resizable-p, window-total-height, window-total-width)
11913 (window-body-width): New functions.
11914 (window-full-height-p, window-full-width-p): Rewrite using
11915 window-total-size.
11916 (window-body-height): Rewrite using window-body-size.
190b47e6 11917
85cc1f11
MR
119182011-06-06 Martin Rudalics <rudalics@gmx.at>
11919
11920 * window.el (window-right, window-left, window-child)
11921 (window-child-count, window-last-child, window-any-p)
11922 (normalize-live-buffer, normalize-live-frame)
11923 (normalize-any-window, normalize-live-window)
11924 (window-iso-combination-p, window-iso-combined-p)
11925 (window-iso-combinations)
11926 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
11927 (windows-with-parameter, window-with-parameter)
11928 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
11929 (window-atom-check, window-side-check, window-check):
11930 New functions.
85cc1f11
MR
11931 (ignore-window-parameters, window-sides, window-sides-vertical)
11932 (window-sides-slots): New variables.
11933 (window-size-fixed): Move down in code. Minor doc-string fix.
11934
e7156492
AS
119352011-06-05 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 * comint.el (comint-dynamic-complete-as-filename)
11938 (comint-dynamic-complete-filename): Correctly call
11939 completion-in-region.
11940
7e821d0d
DD
119412011-06-05 Deniz Dogan <deniz@dogan.se>
11942
11943 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
11944 in last change.
11945
ac09b8a1
DD
119462011-06-05 Deniz Dogan <deniz@dogan.se>
11947
11948 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
11949 (rcirc): Use it to prompt for encryption.
11950
34699b85
RW
119512011-06-05 Roland Winkler <winkler@gnu.org>
11952
11953 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
11954 (bibtex-search-entries): New command bound to C-c C-a.
11955 (bibtex-display-entries): New function.
11956
004dedd3
RW
119572011-06-05 Roland Winkler <winkler@gnu.org>
11958
11959 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
11960 (bibtex-insert-kill): After yanking insert newline if necessary.
11961 (bibtex-initialize): Call bibtex-string-files-init only once.
11962 (bibtex-mode): Do not call easy-menu-add.
11963 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
11964 (bibtex-yank): Set arg properly if nil.
11965
022fe7ce
RW
119662011-06-05 Roland Winkler <winkler@gnu.org>
11967
2b75be67
SM
11968 * textmodes/bibtex.el (bibtex-search-entry-globally):
11969 New variable.
022fe7ce
RW
11970 (bibtex-search-entry): Use it.
11971
b7c3692a
RW
119722011-06-05 Roland Winkler <winkler@gnu.org>
11973
11974 * textmodes/bibtex.el (bibtex-entry-format): New option
11975 sort-fields.
11976 (bibtex-format-entry, bibtex-reformat): Honor this option.
11977 (bibtex-parse-entry): Return fields in proper order.
11978
8eda563d
JB
119792011-06-05 Juanma Barranquero <lekktu@gmail.com>
11980
11981 * doc-view.el (doc-view-remove-if): Move computation of result out
11982 of `dolist' to silence misleading lexical-binding warning.
11983
7dbe3dbc
CY
119842011-06-04 Chong Yidong <cyd@stupidchicken.com>
11985
11986 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
11987 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
11988
0c33dd17
MA
119892011-06-04 Michael Albinus <michael.albinus@gmx.de>
11990
11991 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
11992 "SunOS 5.10".
11993
f8f91c2b
MA
119942011-06-04 Michael Albinus <michael.albinus@gmx.de>
11995
11996 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
11997 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
11998 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
11999 (tramp-parse-putty):
12000 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
12001 (tramp-completion-function-alist-ssh)
12002 (tramp-completion-function-alist-telnet)
12003 (tramp-completion-function-alist-su)
12004 (tramp-completion-function-alist-putty): Set `tramp-autoload'
12005 cookie.
12006
12007 * net/tramp-ftp.el:
12008 * net/tramp-sh.el:
12009 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
12010 load "tramp.el" `tramp-set-completion-function'.
12011
e17d9003
SM
120122011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
12013
12014 * shell.el: Require and use pcomplete.
12015 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
12016 (shell-completion-vars): Set pcomplete-default-completion-function.
12017
6c4cab03
DD
120182011-06-04 Deniz Dogan <deniz@dogan.se>
12019
12020 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
12021 `memq' (Bug#8799).
12022
ea9fafe0
SM
120232011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12024
12025 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
12026
b3e945d3
JB
120272011-06-02 Juanma Barranquero <lekktu@gmail.com>
12028
12029 * bs.el (bs--mark-unmark, bs--nth-wrapper):
12030 * mpc.el (mpc-select-extend, mpc-songpointer-context):
12031 * vc/log-view.el (log-view-beginning-of-defun):
12032 * vc/smerge-mode.el (smerge-apply-resolution-patch)
12033 (smerge-refine-forward, smerge-refine-chopup-region):
12034 Silence warning for unused `dotimes' counter variables.
12035
7d520089
SM
120362011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * net/tramp.el (tramp-with-progress-reporter): Rename from
12039 with-progress-reporter. Use `declare'.
12040 * net/tramp-smb.el:
12041 * net/tramp-sh.el:
12042 * net/tramp-gvfs.el: Update all uses.
12043
a1c2400f
JB
120442011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
12045
12046 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
12047 buffer isn't killed before making it current.
12048
2403c841
SM
120492011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12050
12051 Silence various byte-compiler warnings.
12052 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
12053 `access-type' and new obsolescence format.
12054 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
12055 new format.
12056 (byte-compile-check-variable): New `access-type' argument.
12057 Only warn if the access-type is obsolete.
12058 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
12059 (byte-compile-variable-set): Adjust callers.
12060 * help-fns.el (describe-variable): Adjust to new obsolescence format.
12061 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
12062 setting it as obsolete.
12063 * simple.el (minibuffer-completing-symbol):
12064 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
12065 access as obsolete.
12066 * minibuffer.el (minibuffer-completing-file-name): Don't make it
12067 obsolete yet.
12068 * international/quail.el (quail-mouse-choose-completion): Remove unused
12069 code referring to obsolete var.
12070 (quail-choose-completion-string): Remove.
12071 * server.el (server-clients-with, server-kill-buffer-query-function)
12072 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
12073 * proced.el (proced-send-signal):
12074 * emacs-lisp/lisp.el (lisp-complete-symbol):
12075 Replace completion-annotate-function with completion-extra-properties.
12076
2462470b
SM
120772011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
12078
fb5b2591
SM
12079 * simple.el (goto-line): Use read-number.
12080 (overriding-map-is-bound): Remove.
12081 (saved-overriding-map): Change default.
12082 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
12083 Take the map as argument.
12084 (universal-argument, negative-argument, digit-argument): Use it.
12085 (restore-overriding-map): Adjust.
12086 (do-auto-fill): Use fill-forward-paragraph.
12087 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
12088
fd6fa53f
SM
12089 * minibuffer.el (minibuffer-inactive-mode-map): New var.
12090 (minibuffer-inactive-mode): New major mode.
12091 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
12092 the *Messages* buffer" hack.
12093 (mouse-popup-menubar): Don't burp if the event is a normal key.
12094
2462470b
SM
12095 Miscellaneous tweaks.
12096 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
12097 lexical scoping as in subr.el's dolist and dotimes.
12098 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
12099 Silence compiler warning.
12100 * thingatpt.el (forward-whitespace): Trivial coding style fix.
12101 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
12102 * international/ccl.el (ccl-compile): Trivial simplification.
12103 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
12104 * emacs-lisp/testcover.el (testcover-end): Remove spurious
12105 `printflag' argument.
12106 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
12107 Purecopy the whole obsolescence data.
12108
108bf785
LL
121092011-06-01 Leo Liu <sdl.web@gmail.com>
12110
12111 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
12112 improve doc-string as suggested by Marco Pessotto
12113 <melmothx@gmail.com>.
12114 (rcirc-print): Fix last change.
12115
30a23501
SM
121162011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * minibuffer.el (complete-with-action): Return nil for the metadata and
12119 boundaries of non-functional tables.
12120 (completion-table-dynamic): Return nil for the metadata.
12121 (completion-table-with-terminator): Add default case, using
12122 complete-with-action.
12123 (completion--metadata): New function.
12124 (completion-all-sorted-completions, minibuffer-completion-help): Use it
12125 to try and avoid pathological performance problems.
12126 (completion--embedded-envvar-table): Return `category' metadata.
12127
bcd54f83
LMI
121282011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129
12130 * subr.el (process-alive-p): New tiny convenience function.
12131
e227544d
SM
121322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12133
12134 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
12135 content but also its previous major mode.
12136
e8296fdc
HE
121372011-05-31 Helmut Eller <eller.helmut@gmail.com>
12138
4d61f28d 12139 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
12140 *Backtrace* buffer when we exit with C-M-c.
12141
620c53a6
SM
121422011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
12143
12144 * minibuffer.el: Add metadata method to completion tables.
12145 (completion-category-overrides): New defcustom.
12146 (completion-metadata, completion--field-metadata)
12147 (completion-metadata-get, completion--styles)
12148 (completion--cycle-threshold): New functions.
12149 (completion-try-completion, completion-all-completions):
12150 Add `metadata' argument to choose completion-styles.
12151 (completion--do-completion): Use metadata to choose cycling.
12152 (completion-all-sorted-completions): Use metadata for sorting.
12153 Remove :completion-cycle-penalty which is not needed any more.
12154 (completion--try-word-completion): Add `metadata' argument.
12155 (minibuffer-completion-help): Check metadata for annotation function
12156 and sorting.
12157 (completion-file-name-table): Return `category' metadata.
12158 (minibuffer-completing-file-name): Make obsolete.
12159 * simple.el (minibuffer-completing-symbol): Make obsolete.
12160 * icomplete.el (icomplete-completions): Pass new `metadata' param to
12161 completion-try-completion.
12162
1257e755
SM
121632011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12164
12165 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
12166
3767e706
LL
121672011-05-30 Leo Liu <sdl.web@gmail.com>
12168
12169 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
12170 (rcirc-print): Decode all incoming messages (bug#8744).
12171 (rcirc-decode-coding-system): Allow value nil for automatic coding
12172 system detection.
3767e706 12173
d1a5d56a
GM
121742011-06-01 Glenn Morris <rgm@gnu.org>
12175
12176 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
12177
e8cbec34
CY
121782011-05-29 Chong Yidong <cyd@stupidchicken.com>
12179
12180 * image.el (image-animate-max-time): Allow nil and t values.
12181 Default to nil.
12182 (create-animated-image): Doc fix.
12183 (image-animate-start): Remove second arg; just use
12184 image-animate-max-time.
12185 (image-animate-timeout): Doc fix. Args changed.
12186
12187 * image-mode.el (image-toggle-display-image): Ensure that the
12188 image spec passed to the animate timer is the same object as in
58179cce 12189 the buffer's display property (Bug#6981).
e8cbec34
CY
12190 (image-transform-properties): Doc fix.
12191
12192 * image.el (image-animate-max-time): Default to nil.
12193
159daf87
MR
121942011-05-29 Martin Rudalics <rudalics@gmx.at>
12195
12196 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
12197 entire buffer list (Bug#8184).
12198
d66c4c7c
CY
121992011-05-29 Chong Yidong <cyd@stupidchicken.com>
12200
12201 * image.el (imagemagick-types-inhibit)
12202 (imagemagick-register-types): Doc fix.
12203
80aec780
DD
122042011-05-29 Deniz Dogan <deniz@dogan.se>
12205
12206 * net/rcirc.el (rcirc): Use the user's stored encryption method by
12207 default.
12208
1dd3c2d9
CY
122092011-05-29 Chong Yidong <cyd@stupidchicken.com>
12210
12211 * select.el: Don't perform clipboard-manager saving in hooks;
12212 leave the hooks empty.
12213
60e56523
LL
122142011-05-28 Leo Liu <sdl.web@gmail.com>
12215
12216 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
12217 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
12218 (occur-edit-mode): New major mode (Bug#8463).
12219 (occur-after-change-function): New function.
12220 (occur-engine): Give Occur tags a read-only property.
12221
2b1e1a22
KR
122222011-05-28 Kevin Ryde <user42@zip.com.au>
12223
12224 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
12225
5d344e88
CY
122262011-05-28 Chong Yidong <cyd@stupidchicken.com>
12227
8e6ca83d
CY
12228 * bindings.el (help-echo): Make the initial non-indicator dash
12229 empty on graphical terminals (Bug#7295).
12230
5d344e88
CY
12231 * files.el (auto-mode-alist): Move config rule after the
12232 in-stripping one (Bug#8547).
12233
bfbbace7
CY
12234 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
12235
fbeba6e2
CY
12236 * startup.el (normal-splash-screen): Remove gratuitous mode-line
12237 setting (Bug#8740).
12238
60ed8c72
AA
122392011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
12240
4ac619f0
AA
12241 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
12242 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
12243 (Bug#8539).
60ed8c72 12244
23db196e
CY
122452011-05-28 Chong Yidong <cyd@stupidchicken.com>
12246
12247 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
12248
5012f24c
DK
122492011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
12250
12251 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
12252 (hs-hide-block-at-point, hs-find-block-beginning)
12253 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
12254 (Bug#8279).
12255
6a639b16
GM
122562011-05-28 Glenn Morris <rgm@gnu.org>
12257
12258 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
12259
d43eaf2c
CY
122602011-05-28 Chong Yidong <cyd@stupidchicken.com>
12261
5199bde1
CY
12262 * help-fns.el (describe-function-1): If the function is a derived
12263 major mode, print the parent mode.
12264
d43eaf2c
CY
12265 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
12266 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
12267
423428a8
SM
122682011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12269
0ff8e1ba 12270 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 12271 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
12272 * progmodes/etags.el (tags-completion-at-point-function):
12273 * info-look.el (info-lookup-completions-at-point): Mark as
12274 non-exclusive.
12275 (info-complete): Adjust accordingly.
12276
423428a8
SM
12277 * info-look.el: Convert to lexical-binding and completion-at-point.
12278 (info-lookup-completions-at-point): New function.
12279 (info-complete): Use it and completion-in-region.
12280
b74aa22b
DA
122812011-05-28 Drew Adams <drew.adams@oracle.com>
12282
12283 * isearch.el: Let M-e start with point at the first mismatched char.
12284 (isearch-fail-pos): New function.
12285 (isearch-edit-string): Use it.
12286
66e2e71d
DK
122872011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12288
12289 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12290
b1890b0f 122912011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
12292
12293 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
12294 traversal functions for avl-trees.
12295 (avl-tree--stack): New struct.
12296 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
12297 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
12298 (avl-tree--do-enter): Add optional `updatefun' arg.
12299 Change return value.
eb95d01d 12300 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
12301 (avl-tree--do-delete): Add `test' and `nilflag' args.
12302 Change return value.
eb95d01d
TC
12303 (avl-tree-member): Add optional `nilflag'
12304 (avl-tree-member-p): New function.
12305 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
12306 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
12307 (avl-tree-stack-empty-p): New functions.
12308
3769ddcf
TC
12309 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
12310 avl-tree--del-balance1 and make it work both ways.
12311 (avl-tree--del-balance2): Remove.
12312 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
12313 make it work both ways.
12314 (avl-tree--enter-balance2): Remove.
12315 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
12316 New macros.
12317 (avl-tree--mapc, avl-tree-map): Add direction argument.
12318
eb95d01d 123192011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
12320
12321 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
12322
a9f737ee
CY
123232011-05-27 Chong Yidong <cyd@stupidchicken.com>
12324
12325 * select.el: Support clipboard managers with built-in function
12326 x-clipboard-manager-save, via delete-frame-functions and
12327 kill-emacs-hook.
12328 (xselect-convert-to-targets): Add MULTIPLE target to list.
12329 (xselect-convert-to-save-targets): New function.
12330
c92a1e54
KH
123312011-05-27 Kenichi Handa <handa@m17n.org>
12332
12333 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
12334 let-binding rfc2047-encode-encoded-words to nil.
12335
e145f188
GM
123362011-05-27 Glenn Morris <rgm@gnu.org>
12337
5ec8a862
GM
12338 * mail/emacsbug.el: Don't require url-util.
12339
4b29d9fb
GM
12340 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
12341
e145f188
GM
12342 * files.el (set-auto-mode):
12343 Also respect mode: entries at the end of the file. (Bug#8586)
12344
7d15102b
GM
123452011-05-26 Glenn Morris <rgm@gnu.org>
12346
98f593b8
GM
12347 * files.el (hack-local-variables-prop-line, hack-local-variables):
12348 Downcase mode names, as seems to be traditional.
27b48e63 12349 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 12350
7d15102b
GM
12351 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
12352 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
12353
51d5b4ec
JD
123542011-05-25 Julien Danjou <julien@danjou.info>
12355
12356 * textmodes/rst.el (rst-define-level-faces): Do not define face
12357 symbol if it is already defined.
12358
91513f63
VB
123592011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
12360
12361 * play/5x5.el (5x5-new-game, 5x5-randomize):
12362 Reset 5x5-solver-output to nil when a new grid is cast.
12363 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
12364 these debugging traces, as defmacro breaks the compiled code.
12365
4d90d6d0
DK
123662011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
12367
12368 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
12369
e1b90ef6
LL
123702011-05-24 Leo Liu <sdl.web@gmail.com>
12371
12372 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
12373 (vc-bzr-sha1): Adapt.
12374
d8e4b68b 12375 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
12376
12377 * bindings.el: Provide sha1 feature.
12378
db0406bb 123792011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
12380
12381 * mail/sendmail.el: Require `rfc2047'.
12382 (mail-insert-from-field): Do not perform RFC2047 encoding.
12383 (mail-encode-header): New function.
12384 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
12385 buffer to the return value of select-message-coding-system.
12386 Call mail-encode-header.
b8d747b9
KH
12387
12388 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
12389
db0406bb 123902011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 12391
4d90d6d0
DK
12392 * mail/supercite.el (sc-default-cite-frame):
12393 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 12394
eb8a5e9b
GM
123952011-05-24 Glenn Morris <rgm@gnu.org>
12396
f8630703
GM
12397 * progmodes/python.el (brm-menu): Declare.
12398
8831bbed
GM
12399 * emulation/viper.el (viper-set-hooks): Declare.
12400
eb8a5e9b
GM
12401 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
12402 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
12403 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
12404 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
12405 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
12406 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
12407
a2a25d24
SM
124082011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
12409
12410 Add an :exit-function for completion-at-point.
12411
12412 * minibuffer.el (completion--done): New fun.
12413 (completion--do-completion): Use it. New arg `expect-exact'.
12414 (minibuffer-complete, minibuffer-complete-word): Don't output message,
12415 since completion--do-completion does it for us now.
12416 (minibuffer-force-complete): Use completion--done and
12417 completion--replace. Handle sole-completion case with more care.
12418 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
12419 (completion-extra-properties): New var.
12420 (completion-annotate-function): Make obsolete.
12421 (minibuffer-completion-help): Adjust accordingly.
12422 Use completion-list-insert-choice-function.
12423 (completion-at-point, completion-help-at-point):
12424 Bind completion-extra-properties.
12425 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
12426 * simple.el (completion-list-insert-choice-function): New var.
12427 (completion-setup-function): Preserve it.
12428 (choose-completion): Pay attention to it, shuffle the code a bit.
12429 (choose-completion-string): New arg `insert-function'.
12430
12431 * textmodes/bibtex.el: Convert to lexical binding.
12432 (bibtex-mode-map): Use completion-at-point.
12433 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
12434 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
12435 (bibtex-complete): Define as obsolete alias.
12436 (bibtex-complete-internal): Remove.
12437 (bibtex-format-entry): Remove unused sub-group in regexp.
12438 * shell.el (shell--command-completion-data)
12439 (shell-environment-variable-completion):
12440 * pcomplete.el (pcomplete-completions-at-point):
12441 * comint.el (comint--complete-file-name-data): Use :exit-function
12442 instead of completion-table-with-terminator so it also works for
12443 choose-completion.
12444
e44e373d
SM
124452011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12446
4f91a816
SM
12447 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
12448
782fc819
SM
12449 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
12450 (bug#8710).
12451
e44e373d
SM
12452 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
12453
381987c3
KM
124542011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
12455
12456 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
12457 customization variable and implement: If non-nil, auto-fill will
12458 be inhibited while on topic's header line.
12459
b776bc70
VB
124602011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
12461
12462 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 12463 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
12464 always have a solution in grid size = 5 cases.
12465 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
12466 (5x5-solver-output, 5x5-log-buffer): New vars.
12467 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
12468 Make these variables buffer local to achieve 5x5 multi-session-ness.
12469 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
12470 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
12471 (5x5-solve-suggest): New funs.
12472 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
12473 randomize a grid so that we ensure that there is always a solution.
12474 (5x5-make-random-grid): Allow other movement than flipping.
12475
7de88b6e
KR
124762011-05-23 Kevin Ryde <user42@zip.com.au>
12477
12478 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 12479 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
12480 advice and passes PREDICATE.
12481
b1ef1257
SM
124822011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
12483
bbca48fe
SM
12484 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
12485 byte-compile-lambda if it's actually a lambda.
12486
b1ef1257
SM
12487 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
12488 Fix function quoting. Use backquote better.
12489
92a9cc65
YS
124902011-05-22 Yuanle Song <sylecn@gmail.com>
12491
12492 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
12493 matching (Bug#8516).
12494
f0fb8059
JA
124952011-01-22 Jari Aalto <jari.aalto@cante.net>
12496
12497 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
12498 different face (Bug#8178).
12499
d5b44c93
CY
125002011-05-22 Chong Yidong <cyd@stupidchicken.com>
12501
12502 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
12503 defface (Bug#8144).
12504
79106a44
SM
125052011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
12506
9c848d8a
SM
12507 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
12508 funcall as well (bug#8712). Warn when performing those conversions.
12509 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
12510
79106a44
SM
12511 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
12512
88dfa756
GM
125132011-05-22 Glenn Morris <rgm@gnu.org>
12514
12515 * files.el (hack-local-variables-prop-line): Small simplifications.
12516 (hack-local-variables, hack-local-variables-prop-line):
12517 If MODE-ONLY, return the mode, rather than just `t'.
12518
b7cf2c79
SM
125192011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
12522
3f1a8558
GM
125232011-05-21 Glenn Morris <rgm@gnu.org>
12524
7e4ccca3
GM
12525 * files.el (hack-local-variables-prop-line, hack-local-variables):
12526 If only interested in the mode, don't bother doing the other stuff.
12527
637d46ca
GM
12528 * image-mode.el (image-after-revert-hook):
12529 Redraw all frames on which the image is visible. (Bug#8567)
12530
973d955b
GM
12531 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
12532
3f1a8558
GM
12533 * wid-edit.el (widget-checklist-match-inline):
12534 Fix 2011-04-19 change. (Bug#8649)
12535
96479927
SM
125362011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
12537
1dcf791f
SM
12538 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
12539 Also allow singlespace after single-letter capitals followed by a dot.
12540
96479927
SM
12541 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
12542 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
12543
35fd0881
N
125442011-05-20 Nix <nix@esperi.org.uk>
12545
12546 * files.el (basic-save-buffer-2):
12547 Fix handling of break-hardlink-on-save with non-existent files.
12548
82745640
DD
125492011-05-19 Deniz Dogan <deniz@dogan.se>
12550
12551 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 12552 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 12553
4a720484
GM
125542011-05-19 Glenn Morris <rgm@gnu.org>
12555
d1f21341
GM
12556 * progmodes/f90.el (f90-type-def-re):
12557 Handle "type, bind(c)". (Bug#8691)
12558
4a720484
GM
12559 * emacs-lisp/autoload.el (batch-update-autoloads):
12560 Set autoload-excludes by parsing loadup.el rather than Makefiles.
12561
2fb0a219
MA
125622011-05-18 Michael Albinus <michael.albinus@gmx.de>
12563
12564 * net/tramp.el (tramp-process-actions): Set "first-password-request"
12565 property for the correct connection in case of multihops.
12566
e565dd37
GM
125672011-05-18 Glenn Morris <rgm@gnu.org>
12568
c2571358 12569 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
12570 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
12571
e565dd37
GM
12572 Rationalize calendar handling of day and month abbrev-arrays.
12573 * calendar/calendar.el (calendar-customized-p): New function.
12574 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
12575 (calendar-day-name-array, calendar-month-name-array): Doc fix.
12576 Add :set function.
12577 (calendar-abbrev-length, calendar-day-abbrev-array)
12578 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
12579 (calendar-day-abbrev-array, calendar-month-abbrev-array):
12580 Elements may no longer be nil.
12581 (calendar-day-name, calendar-month-name):
12582 Update for changed nature of abbrev arrays.
12583 * calendar/diary-lib.el (diary-name-pattern):
12584 Update for changed nature of abbrev arrays.
12585 (diary-mark-entries-1): Update calendar-make-alist calls.
12586 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
12587 * calendar/cal-html.el (cal-html-day-abbrev-array):
12588 Simply inherit from calendar-day-abbrev-array.
12589
1d99a745
SM
125902011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12591
12592 * progmodes/grep.el (grep-mode): Disable default
12593 compilation-directory-matcher setting (bug#8684).
12594
7c1d9aa0
MA
125952011-05-17 Michael Albinus <michael.albinus@gmx.de>
12596
12597 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
12598 instead of "head" and "tail". There were problems with SunOS 5.9,
12599 and it performs better.
12600
3952e9d8
GM
126012011-05-17 Glenn Morris <rgm@gnu.org>
12602
2dd12e7f
GM
12603 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
12604
e4157b9c
GM
12605 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
12606 Replace obsolete function.
12607
8e249bbd
GM
12608 * shell.el (pcomplete-parse-arguments-function): Declare.
12609
3952e9d8
GM
12610 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
12611 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
12612 (appt-check): Doc fixes.
12613 (appt-disp-window-function, appt-delete-window-function):
12614 Remove needless special case in custom :type.
12615 (appt-display-count): Default to 0, not nil.
12616 (appt-check): Reset appt-display-count to 0, not nil.
12617
c71a0d48 126182011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 12619
c71a0d48
GM
12620 * progmodes/python.el (python-font-lock-keywords):
12621 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 12622
31d55be9
SM
126232011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12624
12625 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
12626
3bfacb2f
KR
126272011-05-16 Kevin Ryde <user42@zip.com.au>
12628
12629 * info-look.el (makefile-automake-mode): New setups, looking in
12630 automake manual, then makefile-mode.
12631 (makefile-mode): Remove automake manual, have it just in
12632 makefile-automake-mode since there's various things different or
12633 not relevant to plain make.
12634 (makefile-mode): Remove "other-modes" non-existent automake-mode,
12635 believe a hypothetical automake-mode would go to makefile-mode,
12636 not the other way around.
12637
c8e83751
CY
126382011-05-15 Chong Yidong <cyd@stupidchicken.com>
12639
5e9e35cd
CY
12640 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
12641 hunk-end tags (Bug#8672).
12642
c8e83751
CY
12643 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
12644 vc-annotate-show-diff-revision-at-line (Bug#8671).
12645
50b23e5a
GM
126462011-05-14 Glenn Morris <rgm@gnu.org>
12647
7210a739
GM
12648 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
12649 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
12650 (change-log-font-lock-keywords): Also handle multiple author lines
12651 with leading tabs. (Bug#8644)
7210a739 12652
4691905a
GM
12653 * calendar/appt.el (appt-check): Rename some local variables.
12654 Some simplification/reordering.
12655
50b23e5a
GM
12656 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
12657 (feedmail-sendmail-f-doesnt-sell-me-out)
12658 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12659 (feedmail-debug-sit-for, feedmail-queue-express-hook)
12660 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
12661 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
12662 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
12663 (feedmail-binmail-gnulinuxish-template):
12664 Rename from feedmail-binmail-linuxish-template.
12665 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
12666 Use insert-buffer-substring.
12667
215cda7c
BC
126682011-05-14 Bill Carpenter <bill@carpenter.org>
12669
12670 * mail/feedmail.el (feedmail-patch-level): Increase.
12671 (feedmail-debug): New custom group.
12672 (feedmail-confirm-outgoing-timeout)
12673 (feedmail-sendmail-f-doesnt-sell-me-out)
12674 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
12675 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
12676 (feedmail-sender-line, feedmail-from-line)
12677 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 12678 (feedmail-spray-this-address)
215cda7c
BC
12679 (feedmail-spray-address-fiddle-plex-list)
12680 (feedmail-queue-use-send-time-for-date)
12681 (feedmail-queue-use-send-time-for-message-id)
12682 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
12683 (feedmail-buffer-eating-function):
12684 Doc fixes.
12685 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
12686 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
12687 (feedmail-message-action-scroll-down): New functions.
12688 (feedmail-queue-directory, feedmail-queue-draft-directory):
12689 Use expand-file-name.
12690 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
12691 Remove C-v help entry.
12692 (feedmail-queue-buffer-file-name): New variable.
12693 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
12694 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
12695 (feedmail-message-action-send-strong, feedmail-message-action-edit)
12696 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
12697 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
12698 (feedmail-message-action-toggle-spray)
12699 (feedmail-run-the-queue-no-prompts)
12700 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
12701 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
12702 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
12703 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
12704 (feedmail-envelope-deducer, feedmail-fiddle-from)
12705 (feedmail-fiddle-sender, feedmail-default-date-generator)
12706 (feedmail-fiddle-date, feedmail-fiddle-message-id)
12707 (feedmail-fiddle-spray-address)
12708 (feedmail-fiddle-list-of-spray-fiddle-plexes)
12709 (feedmail-fiddle-list-of-fiddle-plexes)
12710 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
12711 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
12712 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
12713 Change default. Doc fix.
12714 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
12715 (feedmail-binmail-linuxish-template): New constant.
12716 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
12717 Respect feedmail-sendmail-f-doesnt-sell-me-out.
12718 (feedmail-send-it): Add debug call.
12719 Use feedmail-queue-buffer-file-name, and
12720 feedmail-send-it-immediately-wrapper.
12721 (feedmail-message-action-send): Add debug call.
12722 Use feedmail-send-it-immediately-wrapper.
12723 (feedmail-queue-express-to-queue): Add debug call.
12724 Run feedmail-queue-express-hook.
12725 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
12726 (feedmail-message-action-help-blat):
12727 Rename from feedmail-queue-send-edit-prompt-help-first.
12728 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
12729 Check line-endings. Handle errors better.
12730 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
12731 Doc fix. Add debug call.
12732 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
12733 Use feedmail-queue-send-edit-prompt-inner.
12734 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
12735 (feedmail-queue-send-edit-prompt-inner): New function, extracted
12736 from feedmail-queue-send-edit-prompt.
12737 (feedmail-queue-send-edit-prompt-help)
12738 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
12739 (feedmail-tidy-up-slug): Add debug call.
12740 Respect feedmail-queue-slug-suspect-regexp.
12741 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
12742 (feedmail-dump-message-to-queue): Add debug call.
12743 Expand queue-directory.
12744 (feedmail-dump-message-to-queue): Change message slightly.
12745 Use feedmail-say-chatter.
12746 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
12747 (feedmail-send-it-immediately-wrapper): New function.
12748 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
12749 Insert empty string rather than newline. Handle full-frame case.
12750 Use catch/throw. Use feedmail-say-chatter.
12751 (feedmail-fiddle-from): Try mail-host-address.
12752 (feedmail-default-message-id-generator): Doc fix.
12753 Bind system-time-locale. Handle missing end.
12754 (feedmail-fiddle-x-mailer): Add debug call.
12755 Handle feedmail-x-mailer-line being nil.
12756 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
12757 Add debug call. Use buffer-substring-no-properties.
12758 (feedmail-say-debug, feedmail-say-chatter): New functions.
12759 (feedmail-find-eoh): Give an explicit error.
12760
42c7e61e
UJ
127612011-05-13 Ulf Jasper <ulf.jasper@web.de>
12762
c2571358 12763 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 12764 family from helvetica to sans.
c2571358 12765 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12766 etc/images/newsticker.
12767
c2571358 12768 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
12769 family from helvetica to sans.
12770
12771 * net/newst-plainview.el (newsticker-new-item-face)
12772 (newsticker-old-item-face, newsticker-immortal-item-face)
12773 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 12774 (newsticker-statistics-face): Change default family from
42c7e61e 12775 helvetica to sans.
c2571358 12776 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
12777 etc/images/newsticker.
12778
5d3385a0
JB
12779 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
12780 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
12781 auto-marking.
12782
8497a297
DV
127832011-05-13 Didier Verna <didier@xemacs.org>
12784
12785 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
12786 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
12787 TODO entries.
8497a297
DV
12788 (lisp-lambda-list-keyword-parameter-indentation)
12789 (lisp-lambda-list-keyword-parameter-alignment)
12790 (lisp-lambda-list-keyword-alignment): New customizable user options.
12791 (lisp-indent-defun-method): Improve docstring.
12792 (extended-loop-p): Fix comment.
12793 (lisp-indent-lambda-list-keywords-regexp): New variable.
12794 (lisp-indent-lambda-list): New function.
12795 (lisp-indent-259): Use it.
12796 (lisp-indent-defmethod): Support for more than one
12797 method qualifier and properly indent methods lambda-lists.
12798 (defgeneric): Provide a missing common-lisp-indent-function property.
12799
f278f87f
SM
128002011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
12803 bounds for the empty string (bug#8667).
12804
5233edd7
GM
128052011-05-13 Glenn Morris <rgm@gnu.org>
12806
5237a44f
GM
12807 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
12808
8340026c 12809 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 12810 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 12811
5233edd7 12812 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 12813 (appt-time-msg-list): Doc fix.
a5464014 12814 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 12815
92d10796
AS
128162011-05-12 Andreas Schwab <schwab@linux-m68k.org>
12817
12818 * progmodes/ld-script.el (ld-script-keywords)
12819 (ld-script-builtins): Update keywords list.
12820
914a0ae1
SM
128212011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12822
c89be45f
SM
12823 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
12824
914a0ae1
SM
12825 * shell.el (shell-completion-vars): New function.
12826 (shell-mode):
12827 * simple.el (read-shell-command): Use it.
12828 (blink-matching-open): No need for " [...]" in minibuffer-message.
12829
98dc3df3
GM
128302011-05-12 Glenn Morris <rgm@gnu.org>
12831
12832 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
12833 (appt-check): Simplify.
12834
d2fc7e3d 128352011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 12836
4d61f28d 12837 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
12838 literal "/dev/null".
12839
d2fc7e3d 128402011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
12841
12842 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
12843 Fix typo.
12844
d2fc7e3d 128452011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 12846
3f254caa
SM
12847 * progmodes/which-func.el (which-function):
12848 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
12849 which might not be defined (Bug#8260).
12850
d45885f7
GM
128512011-05-12 Glenn Morris <rgm@gnu.org>
12852
12853 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
12854 Let byte-compile-initial-macro-environment always take precedence.
12855
488086f4
SM
128562011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
12857
12858 * net/rcirc.el: Add support for SSL/TLS connections.
12859 (rcirc-server-alist): New field `encryption'.
12860 (rcirc): Check `encryption' settings.
12861 (rcirc-connect): New arg `encryption'. Use open-network-stream.
12862 Merge make-local-variable into `set'.
12863 (rcirc--connection-open-p): New function.
12864 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
12865 the process is not a network process (e.g. running gnutls-cli).
12866 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
12867 Make rcirc-(en|de)code-coding-system local here.
12868 (rcirc-mode): Merge make-local-variable into `set'.
12869 (rcirc-parent-buffer): Make permanent buffer-local.
12870 (rcirc-multiline-minor-mode): Don't do it here.
12871 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
12872 there's no server buffer.
12873
7d3b9d44
GM
128742011-05-11 Glenn Morris <rgm@gnu.org>
12875
f64049c6
GM
12876 * newcomment.el (comment-kill): Prefix "unused" local.
12877
93c9df73
GM
12878 * term/w32console.el (get-screen-color): Declare.
12879
7d3b9d44
GM
12880 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
12881 Handle symbol elements of byte-compile-initial-macro-environment.
12882
9e2dd53f
LL
128832011-05-10 Leo Liu <sdl.web@gmail.com>
12884
488086f4
SM
12885 * bookmark.el (bookmark-bmenu-mode-map):
12886 Bind bookmark-bmenu-search to `/'.
8b340240 12887
9e2dd53f 12888 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
12889 (footnote-unicode-string, footnote-unicode-regexp): New variable.
12890 (Footnote-unicode): New function.
12891 (footnote-style-alist): Add unicode style to the list.
12892 (footnote-style): Doc fix.
9e2dd53f 12893
79b70037
GM
128942011-05-10 Jim Meyering <meyering@redhat.com>
12895
12896 Fix doubled-word typos.
12897 * international/quail.el (quail-insert-kbd-layout): and and -> and
12898 * kermit.el: and and -> and
12899 * net/ldap.el (ldap-search-internal): to to -> to
12900 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
12901 * progmodes/js.el (js-mode): and and -> and
12902 * textmodes/artist.el (artist-move-to-xy): at at -> at
12903 (artist-draw-region-trim-line-endings): if if -> if
12904 And Safetyc -> Safety.
12905 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
12906
b8f82dc1 129072011-05-10 Glenn Morris <rgm@gnu.org>
c2571358 12908 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
12909
12910 * files.el (hack-one-local-variable-eval-safep):
12911 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
12912
4f99f44b
GM
129132011-05-10 Glenn Morris <rgm@gnu.org>
12914
12915 * calendar/diary-lib.el (diary-list-entries-hook)
12916 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
12917 (diary-nongregorian-marking-hook, diary-list-entries)
12918 (diary-include-other-diary-files, diary-mark-entries)
12919 (diary-mark-included-diary-files): Doc fixes.
12920
84f29e6b
JB
129212011-05-09 Juanma Barranquero <lekktu@gmail.com>
12922
12923 * misc.el: Require tabulated-list.el during compilation.
12924
9bedd73a
CY
129252011-05-09 Chong Yidong <cyd@stupidchicken.com>
12926
488086f4
SM
12927 * progmodes/compile.el (compilation-start):
12928 Run compilation-filter-hook for the async case too.
9bedd73a
CY
12929 (compilation-filter-hook): Doc fix.
12930
797c735c
DD
129312011-05-09 Deniz Dogan <deniz@dogan.se>
12932
12933 * wdired.el: Remove outdated installation comment. Fix usage
12934 comment.
12935
5f4b1dfe
JB
129362011-05-09 Juanma Barranquero <lekktu@gmail.com>
12937
12938 * misc.el: Implement new command `list-dynamic-libraries'.
12939 (list-dynamic-libraries--loaded-only-p): New variable.
12940 (list-dynamic-libraries--refresh): New function.
12941 (list-dynamic-libraries): New command.
12942
4c44026c
CY
129432011-05-09 Chong Yidong <cyd@stupidchicken.com>
12944
488086f4
SM
12945 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12946 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
12947 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
12948 higher priority to avoid clobbering by gnu.
12949
027f966d
CY
129502011-05-08 Chong Yidong <cyd@stupidchicken.com>
12951
12952 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
12953 if the face has existing theme settings (Bug#8454).
12954
085f5d7d
CY
129552011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
12956
488086f4
SM
12957 * progmodes/perl-mode.el (perl-imenu-generic-expression):
12958 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 12959
2a86a00c
RS
12960 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
12961 special file names `.' and `..' (Bug#8259).
12962
d9c54a06
CY
129632011-05-08 Chong Yidong <cyd@stupidchicken.com>
12964
488086f4
SM
12965 * progmodes/grep.el (grep-mode-font-lock-keywords):
12966 Remove buffer-changing entries.
d9c54a06
CY
12967 (grep-filter): New function.
12968 (grep-mode): Add it to compilation-filter-hook.
12969
12970 * progmodes/compile.el (compilation-filter-hook)
12971 (compilation-filter-start): New defvars.
12972 (compilation-filter): Call compilation-filter-hook prior to
12973 updating the process mark.
12974
c4662635
SM
129752011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12976
12977 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
12978
b0512a1d
EZ
129792011-05-07 Eli Zaretskii <eliz@gnu.org>
12980
605c9376
EZ
12981 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
12982 mailclient-send-it even if window-system is nil. (Bug#8595)
12983
c4662635
SM
12984 * term/w32console.el (terminal-init-w32console):
12985 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
12986 background-mode. (Bug#8597)
12987
d1dc2cc2
SM
129882011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12989
12990 Make bytecomp.el understand that defmethod defines funs (bug#8631).
12991 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
12992 New functions.
12993 (defgeneric, eieio--defmethod): Use them.
12994 (eieio-defgeneric): Remove.
12995 (defmethod): Call defgeneric in a way visible to the byte-compiler.
12996
915d1300
GM
129972011-05-07 Glenn Morris <rgm@gnu.org>
12998
a3961c3e
GM
12999 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
13000 Use let rather than let*.
13001 (timeclock-find-discrep): Remove unused local.
13002
314347b9
GM
13003 * calendar/diary-lib.el (diary-comment-start): Doc fix.
13004
915d1300
GM
13005 * calendar/appt.el (appt-time-msg-list): Doc fix.
13006
275b59b0
NF
130072011-05-06 Noah Friedman <friedman@splode.com>
13008
13009 * apropos.el (apropos-print-doc): Only use
13010 emacs-lisp-docstring-fill-column when it is bound to an integer,
13011 per that variable's documentation.
13012
6c19f744
SM
130132011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 13016 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 13017
60f884b2
GM
130182011-05-06 Glenn Morris <rgm@gnu.org>
13019
5006e634
GM
13020 * calendar/appt.el (appt-message-warning-time): Doc fix.
13021 (appt-warning-time-regexp): New option.
13022 (appt-make-list): Respect appt-message-warning-time.
13023
548d0a63
GM
13024 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
13025 New options.
13026 (diary-add-to-list): Strip comments from the displayed string.
13027 (diary-mode): Set comment-start and comment-end.
13028
60f884b2
GM
13029 * vc/diff-mode.el (smerge-refine-subst): Declare.
13030 (diff-refine-hunk): Don't require smerge-mode when compiling.
13031
989681bb
JB
130322011-05-06 Juanma Barranquero <lekktu@gmail.com>
13033
13034 * simple.el (list-processes): Return nil as the docstring says.
13035
a6bc05e1
MA
130362011-05-05 Michael Albinus <michael.albinus@gmx.de>
13037
13038 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
13039 to "".
13040 (ange-ftp-write-region, ange-ftp-insert-file-contents)
13041 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
13042 determining of binary transfer. (Bug#7383)
13043
23c22e9a
MA
130442011-05-05 Michael Albinus <michael.albinus@gmx.de>
13045
c4662635
SM
13046 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13047 Fix port computation bug. (Bug#8618)
23c22e9a 13048
0bff894f
GM
130492011-05-05 Glenn Morris <rgm@gnu.org>
13050
b8296902
GM
13051 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
13052
1f522ce8
GM
13053 * simple.el (shell-dynamic-complete-functions)
13054 (comint-dynamic-complete-functions): Declare.
13055
cf5bee67
GM
13056 * net/network-stream.el (gnutls-negotiate):
13057 * simple.el (tabulated-list-print): Fix declarations.
13058
13059 * progmodes/gud.el (syntax-symbol, syntax-point):
13060 Remove unnecessary and incorrect declarations.
13061
0bff894f
GM
13062 * emacs-lisp/check-declare.el (check-declare-scan):
13063 Handle byte-compile-initial-macro-environment in bytecomp.el
13064
9869b3ae
SM
130652011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
13066
13067 Fix earlier half-done eieio-defmethod change (bug#8338).
13068 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
13069 Streamline and change calling convention.
13070 (defmethod): Adjust accordingly and simplify.
13071 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
13072 new eieio--defmethod.
13073 (slot-boundp): Minor CSE simplification.
13074
9c1d5ac5
MZ
130752011-05-05 Milan Zamazal <pdm@zamazal.org>
13076
13077 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
13078 (glasses-make-readable): Use glasses-separate-capital-groups.
13079
455c834e
JB
130802011-05-05 Juanma Barranquero <lekktu@gmail.com>
13081
13082 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
13083 (warning-series): Doc fix.
13084 (display-warning): Don't try to create the buffer if we just found it.
13085
9ed7c8cb
CY
130862011-05-04 Chong Yidong <cyd@stupidchicken.com>
13087
13088 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
13089 (autoload-find-generated-file): New function.
13090 (generate-file-autoloads): Bind generated-autoload-file to
13091 buffer-file-name.
9869b3ae
SM
13092 (update-file-autoloads, update-directory-autoloads):
13093 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
13094 output file (Bug#7989).
13095 (batch-update-autoloads): Doc fix.
13096
0898ca10
JB
130972011-05-04 Juanma Barranquero <lekktu@gmail.com>
13098
13099 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
13100
31dfb76c
GM
131012011-05-04 Glenn Morris <rgm@gnu.org>
13102
f330b642
GM
13103 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
13104 function, so it follows changes in calendar-date-style.
13105 (diary-fancy-date-matcher): New function.
13106 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
13107 (diary-fancy-font-lock-fontify-region-function):
13108 Use diary-fancy-date-pattern as a function.
13109
31dfb76c
GM
13110 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
13111 non-numbers for `year' etc pseudo-variables. (Bug#8583)
13112
48e79d6a
TZ
131132011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
13114
13115 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
13116 instead of positional arguments. Allow :keylist and :crlfiles
13117 arguments.
13118 (open-gnutls-stream): Call it.
13119
13120 * net/network-stream.el (network-stream-open-starttls): Adjust to
13121 call `gnutls-negotiate' with :process and :hostname arguments.
13122
dd5a5ee0
SM
131232011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
13124
ef80fc09
SM
13125 * minibuffer.el (completion--message): New function.
13126 (completion--do-completion, minibuffer-complete)
13127 (minibuffer-force-complete, minibuffer-complete-word): Use it.
13128 (completion--do-completion): Don't ignore completion-auto-help when in
13129 icomplete-mode.
13130
dd5a5ee0
SM
13131 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
13132 internal encoding (e.g. tibetan zero is not whitespace).
13133 (global-whitespace-mode): Prefer save-current-buffer.
13134 (whitespace-trailing-regexp): Remove useless save-match-data.
13135 (whitespace-empty-at-bob-regexp): Minor simplification.
13136
b7d22a83
CY
131372011-05-03 Chong Yidong <cyd@stupidchicken.com>
13138
13139 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
13140
5192af46
AM
131412011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13142
13143 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 13144 Use `concat' to create string for insertion.
5192af46 13145
5767d190
SM
131462011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13147
13148 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
13149 Avoid open-line which runs post-self-insert-hook.
13150 (bibtex-fill-entry): Remove unused `end' var.
13151
bf242939
AM
131522011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
13153
5767d190
SM
13154 * textmodes/ispell.el (ispell-add-per-file-word-list):
13155 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 13156
25666126
LL
131572011-05-03 Leo Liu <sdl.web@gmail.com>
13158
13159 * isearch.el (isearch-yank-pop): New command.
5767d190 13160 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
13161 (isearch-forward): Mention it.
13162
52d3c2d0
SM
131632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13164
1bcace58
SM
13165 * simple.el (minibuffer-complete-shell-command): Remove.
13166 (minibuffer-local-shell-command-map): Use completion-at-point.
13167 (read-shell-command): Setup completion vars here instead.
13168 (read-expression-map): Bind TAB to symbol completion.
13169
52d3c2d0
SM
13170 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
13171 error directly rather via storing it into `results'.
13172
35813471
LL
131732011-05-02 Leo Liu <sdl.web@gmail.com>
13174
13175 * vc/diff.el: Fix description.
13176
e793a940
LMI
131772011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
13178
13179 * server.el (server-eval-at): New function.
13180
8de66e05
LMI
131812011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
13182
13183 * net/network-stream.el (open-network-stream): Take a :nowait
13184 parameter and pass it on to `make-network-process'.
13185 (network-stream-open-plain): Ditto.
13186
dcb79f20
AS
131872011-04-30 Andreas Schwab <schwab@linux-m68k.org>
13188
13189 * faces.el (face-spec-set-match-display): Don't match toolkit
13190 options on terminal frames.
13191
14a7fbd8
SM
131922011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
13193
7eabc1be
SM
13194 * progmodes/pascal.el: Use lexical binding.
13195 (pascal-mode-map): Remove author preferences.
13196
14a7fbd8
SM
13197 * pcomplete.el (pcomplete-std-complete): Don't abuse
13198 completion-at-point.
13199
50f84510
JB
132002011-04-28 Juanma Barranquero <lekktu@gmail.com>
13201
6e087a44
JB
13202 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
13203 removing code that has been dead since 1991 or so.
13204
50f84510
JB
13205 * startup.el (command-line): When warning about "_emacs", use a
13206 delayed warning to allow the user to filter it out.
13207
0ba690bd
DD
132082011-04-28 Deniz Dogan <deniz@dogan.se>
13209
13210 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
13211 user has not joined.
13212
08abfaad
SM
132132011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13214
13215 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
13216 aren't any completions at point.
13217
638f053a
JB
132182011-04-28 Juanma Barranquero <lekktu@gmail.com>
13219
13220 * subr.el (display-delayed-warnings): New function.
13221 (delayed-warnings-hook): New variable.
13222
8fff8daa
SM
132232011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13224
08abfaad
SM
13225 * minibuffer.el (completion-at-point, completion-help-at-point):
13226 Don't presume that a given completion-at-point-function will always
13227 use the same calling convention.
13228
8fff8daa
SM
13229 * pcomplete.el (pcomplete-completions-at-point):
13230 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
13231 pcomplete-seen is non-nil.
13232 (pcomplete-comint-setup): Also recognize the new comint/shell
13233 completion functions.
13234 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
13235 pcomplete-seen is non-nil.
13236
841a1577 132372011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 13238
841a1577 13239 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 13240 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 13241 the first character in the entry. This allows for code to add its
211ec907
UJ
13242 own uid to the entry.
13243 (icalendar--convert-float-to-ical): Add export of
13244 `diary-float'-entries save for those with the optional DAY
13245 argument.
13246
2a782793
DC
132472011-04-27 Daniel Colascione <dan.colascione@gmail.com>
13248
13249 * subr.el (shell-quote-argument): Use alternate escaping strategy
13250 when we spot a variable reference in a string.
13251
0438ce91
DC
132522011-04-26 Daniel Colascione <dan.colascione@gmail.com>
13253
13254 * cus-start.el (all): Define customization for debug-on-event.
13255
841a1577 132562011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
13257
13258 * subr.el (shell-quote-argument): Escape correctly under Windows.
13259
d090ed6c
SM
132602011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
13263
bfd31217
MA
132642011-04-25 Michael Albinus <michael.albinus@gmx.de>
13265
d090ed6c
SM
13266 * net/tramp.el (tramp-process-actions): Add POS argument.
13267 Delete region between POS and (pos).
bfd31217 13268
d090ed6c
SM
13269 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
13270 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
13271 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
13272
13273 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
13274 position in `tramp-process-actions' call.
13275
13276 * net/trampver.el: Update release number.
13277
e92f3bd3
SM
132782011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13279
850256b5
SM
13280 * custom.el (defcustom): Obey lexical-binding.
13281
e92f3bd3
SM
13282 Fix octave-inf completion problems reported by Alexander Klimov.
13283 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
13284 Inherit from octave-mode-syntax-table.
13285 (inferior-octave-mode): Set info-lookup-mode.
13286 (inferior-octave-completion-at-point): New function.
13287 (inferior-octave-complete): Use it and completion-in-region.
13288 (inferior-octave-dynamic-complete-functions): Use it as well, and use
13289 comint-filename-completion.
13290 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
13291 symbol elements which shouldn't be word elements.
13292 (octave-font-lock-keywords, octave-beginning-of-defun)
13293 (octave-function-header-regexp): Adjust regexps accordingly.
13294 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
13295
cd22b309
JB
132962011-04-25 Juanma Barranquero <lekktu@gmail.com>
13297
13298 * net/gnutls.el (gnutls-errorp): Declare before first use.
13299
8b492194
TZ
133002011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
13301
13302 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
13303 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 13304 default trustfile exists before going to use it. Add missing
5a5fa834 13305 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
13306 Reported by Claudio Bley <claudio.bley@gmail.com>.
13307 (open-gnutls-stream): Add usage example.
13308
13309 * net/network-stream.el (network-stream-open-starttls): Give host
13310 parameter to `gnutls-negotiate'.
13311 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 13312 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 13313
841a1577 133142011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 13315
cd22b309
JB
13316 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
13317 Use correct match group (bug#8438).
05842630 13318
3ba7869c
CY
133192011-04-24 Chong Yidong <cyd@stupidchicken.com>
13320
512e3ae1
CY
13321 * emacs-lisp/package.el (package-built-in-p): Fix typo.
13322 (package-menu--generate): New arg specifying packages to show.
13323 (package-menu-refresh, package-menu-execute, list-packages):
13324 Callers changed.
13325 (package-show-package-list): New function, replacing deleted
13326 package--list-packages (renamed because it is non-internal).
13327
13328 * finder.el (finder-list-matches): Use package-show-package-list
13329 instead of deleted package--list-packages.
13330
e92f3bd3
SM
13331 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
13332 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
13333 (vc-annotate-mode-map): Bind it to RET.
13334
7031be6d
UR
133352011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
13336
13337 * progmodes/etags.el (next-file): Don't use set-buffer to change
13338 buffers (Bug#8478).
13339
4ef177aa
CY
133402011-04-24 Chong Yidong <cyd@stupidchicken.com>
13341
c8d173eb
CY
13342 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
13343
4ef177aa
CY
13344 * apropos.el (apropos-label-face): Avoid variable-pitch face.
13345 (apropos-accumulator): Doc fix.
13346 (apropos-function, apropos-macro, apropos-command)
13347 (apropos-variable, apropos-face, apropos-group, apropos-widget)
13348 (apropos-plist): Add face property.
13349 (apropos-symbols-internal): Fix indentation.
13350 (apropos-print): Simplify help, and recognize apropos-multi-type.
13351 (apropos-print-doc): Use button-type-get to extract the button's
13352 face property. Fill docstring (Bug#8352).
13353
4ffd0d6b 133542011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
13355
13356 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
13357
c6c32125 13358 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 13359 (mpuz-mode-map): Use mapc.
c6c32125
JB
13360 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
13361 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
13362 Fix typos in docstrings.
13363
58d468b4
JB
13364 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
13365 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
13366
6470c3c6
JB
13367 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
13368
4ffd0d6b 133692011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
13370
13371 * minibuffer.el (completion--do-completion): Avoid the "Next char
13372 not unique" prompt if icomplete-mode is enabled (Bug#5849).
13373
3ad8bad0
CY
13374 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
13375 mouse-2 into unread-command-events, it is interpreted correctly.
13376
71d73c9c 13377 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 13378 (image-toggle-display): Doc fix.
71d73c9c 13379
841a1577 133802011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 13381
4ffd0d6b
GM
13382 * textmodes/page.el (what-page): Use line-number-at-pos to
13383 calculate line number (Bug#6825).
6e1dbaa9 13384
c2fb1b60
JB
133852011-04-22 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * eshell/esh-mode.el (find-tag-interactive): Declare function.
13388 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
13389 Pass argument NO-DEFAULT to `find-tag-interactive'.
13390
e02f48d7
JB
133912011-04-22 Juanma Barranquero <lekktu@gmail.com>
13392
13393 Lexical-binding cleanup.
13394
13395 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
13396 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
13397 * progmodes/ada-prj.el (ada-prj-initialize-values)
13398 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
13399 (ada-prj-show-value):
13400 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
13401 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
13402 (antlr-invalidate-context-cache, antlr-options-menu-filter)
13403 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
13404 * progmodes/bug-reference.el (bug-reference-push-button):
13405 * progmodes/fortran.el (fortran-line-length):
13406 * progmodes/glasses.el (glasses-change):
13407 * progmodes/octave-mod.el (octave-fill-paragraph):
13408 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
13409 (python-pdbtrack-grub-for-buffer, python-sentinel):
13410 * progmodes/sql.el (sql-save-connection):
13411 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
13412 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
13413 Mark unused parameters.
13414
13415 * progmodes/compile.el (compilation--flush-directory-cache)
13416 (compilation--flush-parse, compile-internal): Mark unused parameters.
13417 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
13418 (compilation-next-error-function): Remove unused variable `timestamp'.
13419
13420 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
13421 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
13422
13423 * progmodes/dcl-mode.el (dcl-end-of-command):
13424 Remove unused variable `start'.
13425 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
13426 (dcl-option-value-basic, dcl-option-value-offset)
13427 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
13428 Mark unused parameters.
13429 (dcl-save-local-variable): Remove unused variable `val'.
13430 (mode): Declare.
13431
13432 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
13433 Mark unused parameters.
13434 (delphi-ignore-changes): Move before first use.
13435 (delphi-charset-token-at): Remove unused variable `start'.
13436 (delphi-else-start): Remove unused variable `if-count'.
13437 (delphi-comment-block-start, delphi-comment-block-end):
13438 Remove unused variable `kind'.
13439 (delphi-indent-line): Remove unused variable `new-point'.
13440
13441 * progmodes/ebrowse.el (ebrowse-files-list)
13442 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
13443 Mark unused parameters. Don't quote `lambda'.
13444 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
13445 Don't quote `lambda'.
13446 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
13447 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
13448 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
13449 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
13450 Use `ignore-errors'.
13451 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
13452 (ebrowse-view/find-file-and-search-pattern)
13453 (ebrowse-view/find-member-declaration/definition):
13454 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
13455 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
13456 Rename parameter PREFIX-ARG to PREFIX.
13457 (ebrowse-tags-read-name): Remove unused variables `start' and
13458 `member-info'.
13459 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
13460 to `tags-file'.
13461
13462 * progmodes/etags.el (local-find-tag-hook): Declare.
13463 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
13464 Mark unused parameters.
13465
13466 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
13467 (executable-interpret): Mark unused parameter.
13468
13469 * progmodes/flymake.el (flymake-process-sentinel)
13470 (flymake-after-change-function)
13471 (flymake-create-temp-with-folder-structure)
13472 (flymake-get-include-dirs-dot): Mark unused parameters.
13473 (flymake-safe-delete-directory): Remove unused variable `err'.
13474
13475 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
13476 (speedbar-timer-fn, speedbar-line-text)
13477 (speedbar-change-expand-button-char, speedbar-delete-subblock)
13478 (speedbar-center-buffer-smartly): Declare functions.
13479 (gdb-find-watch-expression): Remove unused variable `array'.
13480 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
13481 (gdb-starting): Mark unused parameters.
13482 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
13483 (gdb-table-string): Remove unused variable `res'.
13484 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
13485 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
13486 (gdb-display-buffer): Remove unused variable `cur-size'.
13487
13488 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
13489 allow lexical-binding compilation.
13490 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
13491 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
13492 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
13493 Mark unused parameters.
13494 (gud-gdb-marker-filter): Remove unused variable `match'.
13495 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
13496 lambda expressions and funcall them, instead of using `fset'.
13497
13498 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
13499 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
13500
13501 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
13502 variable `header-beg'; use `let'.
13503
13504 * progmodes/icon.el (indent-icon-exp): Remove unused variables
13505 `restart', `last-sexp' and `at-do'.
13506
13507 * progmodes/js.el (js--debug): Mark unused parameter.
13508 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
13509 (js--splice-into-items): Remove unused variable `item'.
13510 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
13511
13512 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
13513 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
13514 (makefile-complete): Remove unused variable `try'.
13515 (makefile-fill-paragraph, makefile-match-function-end):
13516 Mark unused parameters.
13517
13518 * progmodes/octave-inf.el (inferior-octave-complete):
13519 Remove unused variable `proc'.
13520 (inferior-octave-output-digest): Mark unused parameter.
13521
13522 * progmodes/perl-mode.el (perl-calculate-indent):
13523 Remove unused variable `err'.
13524
13525 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
13526 (prolog-indent-line): Mark unused parameters.
13527 (prolog-indent-line): Remove unused variable `beg'.
13528
13529 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
13530 (reporter-dont-compact-list): Declare.
13531
13532 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
13533 Remove unused variable `char'.
13534 (sh-debug): Mark unused parameter.
13535 (sh-get-indent-info): Remove unused variable `start'.
13536 (sh-calculate-indent): Remove unused variable `var'.
13537
13538 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
13539 (simula-electric-keyword): Remove unused variable `null'.
13540 (simula-search-backward, simula-search-forward): Remove unused
13541 variables `begin' and `end'.
13542
13543 * progmodes/vera-mode.el (vera-guess-basic-syntax):
13544 Remove unused variable `pos'.
13545 (vera-electric-tab, vera-comment-uncomment-region):
13546 Mark unused parameters.
13547 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
13548
7ede3b65
CY
135492011-04-22 Chong Yidong <cyd@stupidchicken.com>
13550
13551 * emacs-lisp/package.el (package--builtins, package-alist)
13552 (package-load-descriptor, package-built-in-p, package-activate)
13553 (define-package, package-installed-p)
13554 (package-compute-transaction, package-buffer-info)
13555 (package--push): Doc fix. Distinguish more clearly between
13556 version strings and version lists.
13557
121656e9
JB
135582011-04-21 Juanma Barranquero <lekktu@gmail.com>
13559
13560 Lexical-binding cleanup.
13561
13562 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
13563 (5x5-make-mutate-best):
13564 * play/fortune.el (fortune-in-buffer):
13565 * play/gomoku.el (gomoku-init-display):
13566 * play/solitaire.el (solitaire, solitaire-do-check):
13567 * play/tetris.el (tetris-default-update-speed-function):
13568 Mark unused parameters.
13569
13570 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
13571 (bubbles--shift): Remove unused variable `char-org'.
13572 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
13573 (bubbles--show-images): Remove unused variable `char'.
13574
13575 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
13576 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
13577 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
13578 (decipher-analyze-buffer): Use ?\s.
13579 (decipher-make-checkpoint): Remove unused variable `mapping'.
13580
13581 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
13582
13583 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
13584 Remove unused variable `result'; use `let'.
13585
13586 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
13587 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
13588 (gametree-children-shown-p, gametree-compute-reduced-score):
13589 Use `ignore-errors'.
13590
13591 * play/handwrite.el (ps-lpr-switches): Declare.
13592 (handwrite): Remove unused variables `pmin' and `lastp'.
13593
13594 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
13595
13596 * play/landmark.el (landmark-init-display)
13597 (landmark-update-naught-weights): Mark unused parameters.
13598 (landmark-y): Remove unused variable `noise'. Simplify.
13599 (landmark-human-plays): Remove unused variable `score'.
13600
13601 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
13602 (mpuz-try-proposal): Remove unused variable `game'.
13603
13604 * play/zone.el (life-patterns): Declare.
13605
80f499c7
JB
136062011-04-20 Juanma Barranquero <lekktu@gmail.com>
13607
13608 * vc/vc.el (ediff-vc-internal): Declare function.
13609
024ff170
SM
136102011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13611
c0a193ea
SM
13612 * shell.el: Use lexical-binding and std completion UI.
13613 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
13614 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
13615 comint-preoutput-filter-functions rather than on
13616 comint-output-filter-functions.
13617 (shell-command-completion, shell--command-completion-data)
13618 (shell-filename-completion, shell-environment-variable-completion)
13619 (shell-c-a-p-replace-by-expanded-directory): New functions.
13620 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
13621 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
13622 (shell-dynamic-complete-environment-variable): Use them.
13623 (shell-dynamic-complete-as-environment-variable)
13624 (shell-dynamic-complete-as-command): Remove.
13625 (shell-match-partial-variable): Match past point.
13626 * comint.el: Clean up use of completion-at-point-functions.
13627 (comint-completion-at-point): New function.
13628 (comint-mode): Use it completion-at-point-functions.
13629 (comint-dynamic-complete): Make it obsolete.
13630 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
13631 (comint-c-a-p-replace-by-expanded-history): New function.
13632 (comint-dynamic-complete-functions)
13633 (comint-replace-by-expanded-history): Use it.
13634 * minibuffer.el (completion-table-with-terminator): Allow dynamic
13635 termination strings. Try harder to avoid second try-completion.
13636 (completion-in-region-mode-map): Disable bindings that don't work yet.
13637
2dbaa080
SM
13638 * comint.el: Use lexical-binding. Require CL.
13639 (comint-dynamic-complete-functions): Use comint-filename-completion.
13640 (comint-completion-addsuffix): Tweak custom type.
13641 (comint-filename-completion, comint--common-suffix)
13642 (comint--common-quoted-suffix, comint--table-subvert)
13643 (comint--complete-file-name-data): New functions.
13644 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
13645 (comint-dynamic-list-filename-completions): Use them.
13646 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 13647
2dbaa080
SM
13648 * minibuffer.el (completion-in-region-mode):
13649 Keep completion-in-region-mode--predicate global.
13650 (completion-in-region--postch):
13651 Assume completion-in-region-mode--predicate is not null.
13652
c79a6f38
SM
13653 * progmodes/flymake.el (flymake-start-syntax-check-process):
13654 Obey `dir'. Simplify.
13655
024ff170
SM
13656 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
13657 we're in VC after all.
13658
1c6c854e
CS
136592011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
13660
13661 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 13662 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
13663 (vc-version-diff): Use vc-diff-build-argument-list-internal.
13664
bed7f140
SM
136652011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13666
332e62ab
SM
13667 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
13668 add sanity check.
13669
bed7f140
SM
13670 * obsolete/erc-hecomplete.el: Make obsolete.
13671 * obsolete/: Standardize obsolescence info in the header.
13672
f195c582
GM
136732011-04-20 Glenn Morris <rgm@gnu.org>
13674
13675 * calendar/solar.el (solar-horizontal-coordinates):
13676 Use the longitude argument rather than `calendar-longitude'.
13677 (solar-date-next-longitude): Remove unused locals.
13678
cb79b8c0
VJL
136792011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
13680
13681 * whitespace.el: New version 13.2.1.
13682
136832011-04-20 felix <EmacsWiki> (tiny change)
13684
d8e4b68b 13685 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
13686 switching between major modes on a file.
13687
602ea69d
SM
136882011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
13691 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
13692 multi-line comments as well.
13693
06b60517
JB
136942011-04-19 Juanma Barranquero <lekktu@gmail.com>
13695
13696 Lexical-binding cleanup.
13697
13698 * arc-mode.el (archive-mode-revert):
13699 * cmuscheme.el (scheme-interactively-start-process):
13700 * custom.el (custom-initialize-delay):
13701 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
13702 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
13703 * emacs-lock.el (emacs-lock-clear-sentinel):
13704 * ezimage.el (defezimage):
13705 * follow.el (follow-avoid-tail-recenter):
13706 * fringe.el (set-fringe-mode-1):
13707 * generic-x.el (bat-generic-mode-compile):
13708 * help-mode.el (help-info-variable, help-do-xref)
13709 (help-mode-revert-buffer):
13710 * help.el (view-emacs-todo):
13711 * iswitchb.el (iswitchb-completion-help):
13712 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
13713 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
13714 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
13715 * locate.el (locate-update):
13716 * longlines.el (longlines-encode-region)
13717 (longlines-after-change-function):
13718 * outline.el (outline-isearch-open-invisible):
13719 * ps-def.el (declare-function, charset-dimension, char-width)
13720 (encode-char):
13721 * ps-mule.el (ps-mule-plot-string):
13722 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
13723 (recentf-edit-list-select, recentf-edit-list-validate)
13724 (recentf-open-files-action):
13725 * rect.el (delete-whitespace-rectangle-line)
13726 (rectangle-number-line-callback):
13727 * register.el (window-configuration-to-register)
13728 (frame-configuration-to-register):
13729 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
13730 * select.el (xselect-convert-to-string, xselect-convert-to-length)
13731 (xselect-convert-to-targets, xselect-convert-to-delete)
13732 (xselect-convert-to-filename, xselect-convert-to-charpos)
13733 (xselect-convert-to-lineno, xselect-convert-to-colno)
13734 (xselect-convert-to-os, xselect-convert-to-host)
13735 (xselect-convert-to-user, xselect-convert-to-class)
13736 (xselect-convert-to-name, xselect-convert-to-integer)
13737 (xselect-convert-to-atom, xselect-convert-to-identity):
13738 * subr.el (declare, ignore, process-kill-without-query)
13739 (text-clone-maintain):
13740 * terminal.el (te-get-char, te-tic-sentinel):
13741 * tool-bar.el (tool-bar-make-keymap):
13742 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
13743 * type-break.el (type-break-mode, type-break-noninteractive-query):
13744 * view.el (View-back-to-mark):
13745 * wid-browse.el (widget-browse-action, widget-browse-widget)
13746 (widget-browse-widgets, widget-browse-sexp):
13747 * widget.el (define-widget-keywords):
13748 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
13749 Mark unused parameters.
13750
13751 * align.el (align-adjust-col-for-rule): Mark unused parameter.
13752 (align-areas): Remove unused variable `look'.
13753 (align-region): Remove unused variables `real-end' and `pos-list'.
13754
13755 * apropos.el (apropos-score-doc): Remove unused variable `i'.
13756
13757 * bindings.el (mode-line-modified, mode-line-remote):
13758 Mark unused parameters.
13759 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
13760
13761 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
13762 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
13763
13764 * comint.el (comint-history-isearch-pop-state)
13765 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
13766 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
13767 (comint-substitute-in-file-name): Doc fix.
13768
13769 * completion.el (cmpl-statistics-block): Mark unused parameter.
13770 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
13771 (save-completions-to-file, load-completions-from-file):
13772 Remove unused local variable `e'.
13773
13774 * composite.el (compose-chars): Remove unused variable `len'.
13775 (lgstring-insert-glyph): Remove unused variable `g'.
13776 (compose-glyph-string): Remove unused variables `ascent',
13777 `descent', `lbearing' and `rbearing'.
13778 (compose-glyph-string-relative): Remove unused variables
13779 `lbearing', `rbearing' and `wadjust'.
13780 (compose-gstring-for-graphic): Remove unused variables `header',
13781 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
13782 (compose-gstring-for-terminal): Remove unused variables `header'
13783 and `nchars'. Use `let', not `let*'.
13784
13785 * cus-edit.el (Custom-set, Custom-save, custom-reset)
13786 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
13787 (Custom-buffer-done, custom-buffer-create-internal)
13788 (custom-browse-visibility-action, custom-browse-group-tag-action)
13789 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
13790 (widget-magic-mouse-down-action, custom-toggle-parent)
13791 (custom-add-parent-links, custom-toggle-hide-variable)
13792 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
13793 (custom-toggle-hide-face, face, hook, custom-group-link-action)
13794 (custom-face-menu-create, custom-variable-menu-create, get)
13795 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
13796 (custom-reset-standard-save-and-update): Remove unused variable `value'.
13797 (customize-apropos): Remove unused variable `tests'.
13798 (custom-group-value-create): Remove unused variable `hidden-p'.
13799 (sort-fold-case): Declare.
13800
13801 * cus-theme.el (custom-reset-standard-faces-list)
13802 (custom-reset-standard-variables-list): Declare.
13803 (customize-create-theme, custom-theme-revert, custom-theme-write)
13804 (custom-theme-choose-mode, customize-themes, custom-theme-save):
13805 Mark unused parameters.
13806
13807 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
13808
13809 * delim-col.el (delimit-columns-max): Move defvar before first use.
13810
13811 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 13812 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
13813
13814 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
13815 (auto-insert): Declare.
13816 (desktop-restore-file-buffer): Rename desktop-* parameters;
13817 mark unused ones.
13818 (desktop-create-buffer): Rename desktop-* parameters and bind them.
13819 (desktop-buffer): Rename desktop-* parameters.
13820
13821 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
13822 (dframe-reposition-frame-xemacs, dframe-help-echo)
13823 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
13824 Mark unused parameters.
13825
13826 * dired-aux.el (backup-extract-version-start, overwrite-query)
13827 (overwrite-backup-query, rename-regexp-query)
13828 (rename-non-directory-query): Declare.
13829 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
13830 (dired-add-entry): Remove unused variable `orig-file-name'.
13831 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
13832 Use parameter PRESERVE-TIME instead of accessing dynamic variable
13833 `dired-copy-preserve-time' directly.
13834 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
13835 (dired-insert-subdir-newpos): Rename unused variable `pos'.
13836
13837 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
13838 (dired-virtual-revert, dired-make-relative-symlink):
13839 Mark unused parameters.
13840 (manual-program): Declare.
13841 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
13842 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
13843 wrapped in `with-no-warnings' to avoid replacing one warning by another.
13844
13845 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
13846
13847 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
13848
13849 * echistory.el (electric-history-in-progress, Helper-return-blurb):
13850 Declare.
13851
13852 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
13853
13854 * electric.el (Electric-command-loop): Rename parameter
13855 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
13856
13857 * expand.el (expand-in-literal): Remove unused variable `here'.
13858
13859 * facemenu.el (facemenu-add-new-color):
13860 Remove unused variable `docstring'.
13861
13862 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
13863 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
13864 (face-attr-construct): Mark unused parameter. Doc fix.
13865 (read-color): Remove unused variable `hex-string'.
13866
13867 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
13868 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
13869 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
13870 (display-buffer-other-frame): Remove unused variable `old-window'.
13871 (kill-buffer-hook): Declare.
13872 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
13873 Mark unused parameters.
13874 (after-find-file): Pass 1 to `auto-save-mode', not t.
13875
13876 * files-x.el (auto-insert): Declare.
13877 (modify-file-local-variable-prop-line): Remove unused variable `val'.
13878
13879 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 13880 variable `buf'. Mark unused parameter.
06b60517
JB
13881 (find-lisp-insert-directory): Mark unused parameter.
13882
13883 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
13884 (format-encode-region): Remove unused variables `cur-buf' and `result'.
13885 (format-common-tail): Remove, unused.
13886 (format-deannotate-region): Remove unused variable `loc'.
13887 (format-annotate-region): Remove unused variable `p'.
13888 (format-annotate-single-property-change): Remove unused variables
13889 `default' and `tail'.
13890
13891 * forms.el (read-file-filter): Declare.
13892 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
13893
13894 * frame.el (frame-creation-function-alist): Mark unused parameter.
13895 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
13896
13897 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
13898 Remove unused parameters.
13899 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
13900 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
13901
13902 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
13903 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
13904 (hfy-prepare-tag-map): Mark unused parameters.
13905 (htmlfontify-buffer): Use `called-interactively-p'.
13906
13907 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
13908 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
13909 (ibuffer-do-occur): Mark unused parameters.
13910 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
13911 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
13912
13913 * ibuffer.el: Don't quote `lambda'.
13914 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
13915 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
13916 Mark unused parameters.
13917
13918 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
13919 (ido-completing-read): Mark unused parameters.
13920 (ido-copy-current-word): Mark unused parameters;
13921 remove unused variable `name'.
13922 (ido-sort-merged-list): Remove unused parameter `dirs'.
13923
13924 * ielm.el (ielm-input-sender): Mark unused parameter.
13925 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
13926 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
13927 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
13928 `ielm-string' as a dynamic variable accessible from the IELM prompt.
13929 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
13930
13931 * image-dired.el (image-dired-display-thumbs): Remove unused
13932 variables `curr-file' and `count'.
13933 (image-dired-remove-tag): Remove unused variable `start'.
13934 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
13935 variable `curr-file'
13936 (image-dired-rotate-original): Remove unused variable `temp-file'.
13937 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
13938 Remove unused variable `file'.
13939 (image-dired-gallery-generate): Remove unused variable `curr'.
13940 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
13941
13942 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
13943
13944 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
13945
13946 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
13947
13948 * isearch.el (minibuffer-history-symbol): Declare.
13949 (isearch-edit-string): Remove unused variable `err'.
13950 (isearch-message-prefix, isearch-message-suffix):
13951 Mark unused parameters.
13952
13953 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
13954
13955 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
13956
13957 * makesum.el (double-column): Remove unused variable `cnt'.
13958
13959 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
13960 (ido-ignore-item-temp-list): Declare.
13961
13962 * mouse-drag.el (mouse-drag-throw): Remove unused variables
13963 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
13964 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
13965 (mouse-drag-drag): Remove unused variables `mouse-delta' and
13966 `mouse-col-delta'.
13967
13968 * mouse-sel.el (mouse-extend-internal):
13969 Remove unused variable `orig-window-frame'.
13970
13971 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
13972 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
13973 Move declarations before first use.
13974 (pcomplete-opt): Mark unused parameters; doc fix.
13975
13976 * proced.el (proced-revert): Mark unused parameter.
13977 (proced-send-signal): Remove unused variable `err'.
13978
13979 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
13980 Rename parameter PREFIX-ARG to ARG.
13981 (ps-basic-plot-string, ps-basic-plot-whitespace):
13982 Mark unused parameters.
13983
13984 * replace.el (replace-count): Define.
13985 (occur-revert-function): Mark unused parameters.
13986 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
13987 (isearch-case-fold-search, isearch-string): Declare.
13988 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
13989 bind `case-fold-search'. Remove unused variables `beg' and `end',
13990 and simplify.
13991 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
13992 COUNT and bind `replace-count'.
13993 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
13994 to COUNT.
13995
13996 * savehist.el (print-readably, print-string-length): Declare.
13997
13998 * shadowfile.el (shadow-expand-cluster-in-file-name):
13999 Remove unused variable `cluster'.
14000 (shadow-copy-file): Remove unused variable `i'.
14001 (shadow-noquery, shadow-clusters, shadow-site-cluster)
14002 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
14003 (shadow-define-literal-group, shadow-define-regexp-group)
14004 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
14005
14006 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
14007 (shell): Use `called-interactively-p'.
14008 (shell-directory-tracker): Remove unused variable `chdir-failure'.
14009
14010 * simple.el (compilation-context-lines, comint-file-name-quote-list)
14011 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
14012 (delete-backward-char): Remove unused variable `ocol'.
14013 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
14014 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
14015 (event-apply-hyper-modifier, event-apply-shift-modifier)
14016 (event-apply-control-modifier, event-apply-meta-modifier):
14017 Mark unused parameters.
14018 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
14019 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
14020
14021 * speedbar.el (speedbar-ignored-directory-expressions)
14022 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
14023 (speedbar-find-file, speedbar-dir-follow)
14024 (speedbar-directory-buttons-follow, speedbar-tag-find)
14025 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
14026 (speedbar-buffers-line-directory, speedbar-buffer-click):
14027 Mark unused parameters.
14028 (speedbar-tag-file): Remove unused variable `mode'.
14029 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
14030
14031 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
14032
14033 * talk.el (talk): Remove unused variable `display'.
14034
14035 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
14036 (tar-write-region-annotate): Mark unused parameter.
14037
14038 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
14039 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
14040 Declare them, wrapped in `with-no-warnings' to avoid replacing one
14041 warning by another.
14042
14043 * time-stamp.el (time-stamp-string-preprocess):
14044 Remove unused variable `require-padding'.
14045
14046 * tree-widget.el (widget-glyph-enable): Declare.
14047 (tree-widget-action): Mark unused parameter.
14048
14049 * w32-fns.el (x-get-selection): Mark unused parameter.
14050 (autoload-make-program, generated-autoload-file): Declare.
14051
14052 * wdired.el (wdired-revert): Mark unused parameters.
14053 (wdired-xcase-word): Remove unused variable `err'.
14054
14055 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
14056 (whitespace-help-scroll): Remove unused variable `data-help'.
14057
14058 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
14059 (widget-image-insert, widget-after-change, default)
14060 (widget-default-format-handler, widget-default-notify)
14061 (widget-default-prompt-value, widget-info-link-action)
14062 (widget-url-link-action, widget-function-link-action)
14063 (widget-variable-link-action, widget-file-link-action)
14064 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
14065 (widget-field-prompt-internal, widget-field-action, widget-field-match)
14066 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
14067 (widget-insert-button-action, widget-delete-button-action, visibility)
14068 (widget-documentation-link-action, widget-documentation-string-action)
14069 (widget-const-prompt-value, widget-regexp-match, symbol)
14070 (widget-coding-system-prompt-value)
14071 (widget-key-sequence-value-to-external, sexp)
14072 (widget-sexp-value-to-internal, character, vector, cons)
14073 (widget-choice-prompt-value, widget-boolean-prompt-value)
14074 (widget-color--choose-action): Mark unused parameters.
14075 (widget-item-match-inline, widget-choice-match-inline)
14076 (widget-checklist-match, widget-checklist-match-inline)
14077 (widget-group-match): Rename parameter VALUES to VALS.
14078 (widget-field-value-set): Remove unused variable `size'.
14079 (widget-color-action): Remove unused variables `value' and `start'.
14080
14081 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 14082 variable `dir'. Doc fix.
06b60517
JB
14083 (windmove-find-other-window): Don't pass it.
14084
14085 * window.el (count-windows): Mark unused parameter.
14086 (bw-adjust-window): Remove unused variable `err'.
14087
14088 * woman.el (woman-file-name): Remove unused variable `default'.
14089 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
14090 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
14091 (global-font-lock-mode): Declare.
14092 (woman-decode-region): Mark unused parameter.
14093 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
14094
14095 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
14096 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
14097 (x-dnd-handle-moz-url): Remove unused variable `title'.
14098 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
14099
14100 * xml.el (xml-parse-tag, xml-parse-attlist):
14101 Remove unused variable `pos'.
14102
bc4f7f3d
GM
141032011-04-19 Glenn Morris <rgm@gnu.org>
14104
14105 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
14106 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
14107 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
14108 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
14109 * calendar/cal-html.el (cal-html-insert-minical):
14110 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
14111 (calendar-mark-date-pattern):
14112 Prefix "unused" locals.
14113
14114 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
14115 optional argument `style'.
14116
14117 * calendar/appt.el (appt-make-list):
14118 * calendar/cal-china.el (calendar-chinese-date-string):
14119 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
14120 (diary-hebrew-yahrzeit):
14121 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
14122 * calendar/calendar.el (calendar-generate-window):
14123 * calendar/time-date.el (time-to-days):
14124 Remove unused local variables.
14125
16a43933
CY
141262011-04-18 Chong Yidong <cyd@stupidchicken.com>
14127
14128 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
14129 glyphless-char-display table.
14130 (tabulated-list-glyphless-char-display): New var.
14131
7eed1860
SS
141322011-04-18 Sam Steingold <sds@gnu.org>
14133
14134 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
14135 to acknowledgments.
14136
4d2d1ccd
GM
141372011-04-17 Glenn Morris <rgm@gnu.org>
14138
14139 * calendar/diary-lib.el (diary-sexp-entry):
14140 * calendar/holidays.el (holiday-sexp):
14141 Set debug-on-error rather than the removed stack-trace-on-error.
14142
239da61d
GM
141432011-04-16 Glenn Morris <rgm@gnu.org>
14144
14145 * progmodes/f90.el: Use lexical-binding.
14146 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
14147
8b05752a
SM
141482011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14149
daca8ba5
SM
14150 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
14151 (mail-mode): Setup mailalias completion here instead.
14152 * mail/mailalias.el: Use lexical-binding.
14153 (pattern, mailalias-done): Declare dynamic.
14154 (mail-completion-at-point-function): New function, from mail-complete.
14155 (mail-complete): Use it.
14156 (mail-completion-expand): New function.
14157 (mail-get-names): Use it.
14158 (mail-directory, mail-directory-process, mail-directory-stream):
14159 Don't use `pattern' for lexically bound arg.
14160
6f542485
SM
14161 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
14162
037e7c3f
SM
14163 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
14164 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
14165 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
14166
8b05752a
SM
14167 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
14168 (byte-save-window-excursion, byte-temp-output-buffer-setup)
14169 (byte-interactive-p): Define them again, for use when inlining
14170 old code.
14171
49093f60
JB
141722011-04-15 Juanma Barranquero <lekktu@gmail.com>
14173
14174 * loadup.el: Use `string-to-number', not `string-to-int'.
14175
b5b8e7de
SM
141762011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14177
14178 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
14179 gud-gdb-complete-command.
14180 (gud-gdb-completions): New function, from gud-gdb-complete-command.
14181 (gud-gdb-completion-at-point): New function.
14182 (gud-gdb-completions): Remove.
14183
f42efeb5
MA
141842011-04-14 Michael Albinus <michael.albinus@gmx.de>
14185
49093f60
JB
14186 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
14187 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
14188 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
14189 whether `executable-find' is bound.
f42efeb5
MA
14190
14191 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
14192
e240cc21
SM
141932011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * minibuffer.el (completion-in-region-mode-predicate)
14196 (completion-in-region-mode--predicate): New vars.
14197 (completion-in-region, completion-in-region--postch)
14198 (completion-in-region-mode): Use them.
14199 (completion--capf-wrapper): Also return the hook function.
14200 (completion-at-point, completion-help-at-point):
14201 Adjust and provide a predicate.
c2bd2ab0
SM
14202
14203 Preserve arg names for advice of subr and lexical functions (bug#8457).
14204 * help-fns.el (help-function-arglist): Consolidate the subr and
14205 new-byte-code cases. Add argument `preserve-names' to extract names
14206 from the docstring when needed.
14207 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
14208 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
14209 (ad-arglist): Use help-function-arglist's new arg.
14210 (ad-definition-type): Use cond.
14211
c183f693
JB
142122011-04-13 Juanma Barranquero <lekktu@gmail.com>
14213
06641a47
JB
14214 * autorevert.el (auto-revert-handler):
14215 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
14216 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
14217 Don't quote lambda.
14218
c183f693
JB
14219 * image-mode.el (image-transform-set-scale):
14220 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
14221
1e3b6001
G
142222011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
14223
14224 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 14225 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
14226 Upgrades via gnutls-cli are too slow to be done opportunistically.
14227
2d6af8dd
JB
142282011-04-12 Juanma Barranquero <lekktu@gmail.com>
14229
14230 * dframe.el (dframe-current-frame): Remove spurious quote.
14231
c0749a51
GM
142322011-04-12 Glenn Morris <rgm@gnu.org>
14233
088d0d61
GM
14234 * calendar/cal-tex.el (cal-tex-end-document):
14235 Try to automatically use latin1 input if needed.
14236
c0749a51
GM
14237 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
14238 Don't try to cons a mark onto an empty element.
14239
5c90fde0
LL
142402011-04-11 Leo Liu <sdl.web@gmail.com>
14241
14242 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
14243 buffers.
14244 (ido-kill-buffer-at-head): Support killing virtual buffers.
14245
369e974d
CY
142462011-04-10 Chong Yidong <cyd@stupidchicken.com>
14247
14248 * minibuffer.el (completion-show-inline-help): New var.
14249 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
14250 (minibuffer-force-complete, minibuffer-complete-word):
14251 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
14252
14253 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
14254 to avoid interference from inline help (Bug#5849).
14255
37f1c930
LL
142562011-04-10 Leo Liu <sdl.web@gmail.com>
14257
099c39a4
JB
14258 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14259 Fix typo.
37f1c930 14260
a32d4040
CY
142612011-04-09 Chong Yidong <cyd@stupidchicken.com>
14262
14263 * image-mode.el (image-toggle-display-image): Signal an error if
14264 not in Image mode.
14265 (image-transform-mode, image-transform-resize)
14266 (image-transform-set-rotation): Doc fix.
daca8ba5 14267 (image-transform-set-resize): Delete.
a32d4040
CY
14268 (image-transform-set-scale, image-transform-fit-to-height)
14269 (image-transform-fit-to-width): Handle image-toggle-display-image
14270 and image-transform-resize directly.
14271
099c39a4 142722011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
14273
14274 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
14275 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
14276 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
14277 (doc-view-mode-map): Add bindings for the new functions.
14278
099c39a4 142792011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 14280
4d61f28d 14281 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
14282 Fix typo in docstring.
14283
3726838a
EZ
142842011-04-08 Eli Zaretskii <eliz@gnu.org>
14285
04f33f1e
EZ
14286 * files.el (file-size-human-readable): Produce one digit after
14287 decimal, like "ls -lh" does.
14288
14289 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
14290 the file size representation.
14291
3726838a
EZ
14292 * simple.el (list-processes): If async subprocesses are not
14293 available, error out with a clear error message.
14294
cbb59342
CY
142952011-04-08 Chong Yidong <cyd@stupidchicken.com>
14296
14297 * help.el (help-form-show): New function, to be called from C.
14298 Put help-form output in a buffer named differently than *Help*.
14299
e3971c44
EZ
143002011-04-08 Eli Zaretskii <eliz@gnu.org>
14301
14302 * files.el (file-size-human-readable): New function.
14303
14304 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
14305 computing the representation inline. Don't require `cl'.
14306
12544bbe
GM
143072011-04-08 Glenn Morris <rgm@gnu.org>
14308
a1de6c6a
GM
14309 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
14310
3c4671f4
GM
14311 * net/browse-url.el (browse-url-firefox):
14312 Test system-type, not system-configuration.
14313
b605679c
GM
14314 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
14315 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
14316 Use log-edit-empty-buffer-p. (Bug#7598)
14317
56442f0c
GM
14318 * net/rlogin.el (rlogin-process-connection-type): Simplify.
14319 (rlogin-mode-map): Initialize in the defvar.
14320 (rlogin): Use ignore-errors.
14321
12544bbe
GM
14322 * replace.el (occur-mode-map): Some fixes for menu items.
14323
eb237b0f
AH
143242011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
14325
14326 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
14327
7d668f2c
CY
143282011-04-06 Chong Yidong <cyd@stupidchicken.com>
14329
e67a13ab
CY
14330 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
14331 issuing unused warnings.
14332
14333 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
14334 macro directly.
14335
7d668f2c
CY
14336 * simple.el: Lisp reimplement of list-processes. Based on an
14337 earlier reimplementation by Leo Liu, but using tabulated-list.el.
14338 (process-menu-mode): New major mode.
14339 (list-processes--refresh, list-processes):
14340 (process-menu-visit-buffer): New functions.
14341
14342 * files.el (save-buffers-kill-emacs): Don't assume any return
14343 value of list-processes, which is undocumented anyway.
14344
a83ec3c9
CY
143452011-04-06 Chong Yidong <cyd@stupidchicken.com>
14346
14347 * emacs-lisp/tabulated-list.el: New file.
14348
e91a96fe
CY
14349 * emacs-lisp/package.el: Use Tabulated List mode.
14350 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
14351 (package-menu-mode): Derive from tabulated-list-mode. Set up the
14352 table format using Tabulated List mode variables.
14353 (package--push): New macro, replacing package-list-maybe-add.
14354 (package-menu--generate): Use package--push. Renamed from
14355 package--generate-package-list.
14356 (package-menu-refresh, list-packages): Use it.
daca8ba5 14357 (package-menu--print-info): Rename from package-print-package.
e91a96fe 14358 Return insertion data instead of inserting it directly.
099c39a4
JB
14359 (package-menu-describe-package, package-menu-execute):
14360 Use tabulated-list-get-id.
e91a96fe
CY
14361 (package-menu-mark-delete, package-menu-mark-install)
14362 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
14363 (package-menu-mark-obsolete-for-deletion):
14364 Use tabulated-list-put-tag.
e91a96fe
CY
14365 (package--list-packages, package-menu-revert)
14366 (package-menu-get-package, package-menu-get-version)
14367 (package-menu-sort-by-column): Functions deleted.
14368 (package-menu-package-list, package-menu-sort-key): Vars deleted.
14369 (package-menu--status-predicate, package-menu--version-predicate)
14370 (package-menu--name-predicate)
14371 (package-menu--description-predicate): Handle arguments in the
14372 Tabulated List format.
14373 (package-list-packages-no-fetch): Call list-packages.
14374
3e214b50
JB
143752011-04-06 Juanma Barranquero <lekktu@gmail.com>
14376
14377 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 14378 (after-find-file): Don't bind it.
3e214b50
JB
14379 (revert-buffer-in-progress-p): New variable.
14380 (revert-buffer): Bind it.
14381 Pass nil for `after-find-file-from-revert-buffer'.
14382
14383 * saveplace.el (save-place-find-file-hook): Use new variable
14384 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
14385
3f0f1700
GM
143862011-04-06 Glenn Morris <rgm@gnu.org>
14387
c0274801
GM
14388 * Makefile.in (AUTOGEN_VCS): New variable.
14389 (autoloads): Use $AUTOGEN_VCS.
14390
3f0f1700
GM
14391 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
14392 * calendar/calendar.el (calendar-mode-map):
14393 Check for toolkit scroll bars. (Bug#8305)
14394
41ea9e48
CY
143952011-04-05 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * minibuffer.el (completion-in-region--postch)
14398 (completion-in-region-mode): Remove unnecessary messages.
14399
6194c800
JB
144002011-04-05 Juanma Barranquero <lekktu@gmail.com>
14401
33256f14
JB
14402 * font-lock.el (font-lock-refresh-defaults):
14403 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
14404 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
14405
6194c800
JB
14406 * info.el (Info-directory-list, Info-read-node-name-2)
14407 (Info-split-parameter-string): Doc fixes.
14408 (Info-virtual-nodes): Reflow docstring.
14409 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
14410 (Info-apropos-toc-nodes, info-finder, Info-get-token)
14411 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
14412 Fix typos in docstrings.
14413 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
14414 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
14415 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
14416 (Info-restore-desktop-buffer): Mark unused parameters.
14417 (Info-directory-find-file, Info-directory-find-node)
14418 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
14419 (Info-virtual-index-find-node, Info-apropos-find-file)
14420 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 14421 Mark unused parameters; fix typos in docstrings.
6194c800
JB
14422 (Info-virtual-index): Remove unused local variable `nodename'.
14423
b87a8200 144242011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 14425
b87a8200
DD
14426 * net/rcirc.el: Update my e-mail address.
14427 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 14428
3b2ff876
CY
144292011-04-05 Chong Yidong <cyd@stupidchicken.com>
14430
14431 * startup.el (command-line): Save the cursor's theme-face
14432 directly, instead of using face-override-spec.
14433
14434 * custom.el (load-theme): Minor optimization in assigning faces.
14435
8d17e7ca
JB
144362011-04-04 Juanma Barranquero <lekktu@gmail.com>
14437
14438 * help-fns.el (describe-variable): Complete all variables having
14439 documentation, including keywords.
14440 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
14441
2fbc1934
JB
144422011-04-04 Juanma Barranquero <lekktu@gmail.com>
14443
14444 Convert to lexical-binding.
14445
14446 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
14447 (bs--get-marked-string, bs--get-modified-string)
14448 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
14449 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
14450 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
14451
14452 * ehelp.el (electric-help-execute-extended)
14453 (electric-help-ctrl-x-prefix):
14454 * hexl.el (hexl-revert-buffer-function):
14455 * linum.el (linum-after-change, linum-after-scroll):
14456 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
14457
14458 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
14459
74f50695
DU
144602011-04-04 Daiki Ueno <ueno@unixuser.org>
14461
14462 * epa-dired.el:
14463 * epa-mail.el:
14464 * epa-hook.el:
14465 * epa-file.el:
14466 * epa.el:
14467 * epg.el: Use lexical binding.
14468
c11325f7
CY
144692011-04-03 Chong Yidong <cyd@stupidchicken.com>
14470
0d9e9a12
CY
14471 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
14472
c11325f7 14473 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
14474 dictionary case for flyspell-mark-duplications-exceptions.
14475 Use regexp matching for languages.
c11325f7
CY
14476 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
14477 default dictionary (Bug#7926).
14478
da91b5f2
CY
144792011-04-02 Chong Yidong <cyd@stupidchicken.com>
14480
099c39a4
JB
14481 * emacs-lisp/package.el (package--with-work-buffer):
14482 Recognize https URLs.
da91b5f2 14483
099c39a4
JB
14484 * net/network-stream.el: Move from gnus/proto-stream.el.
14485 Change prefix to network-stream throughout.
da91b5f2
CY
14486 (open-protocol-stream): Merge into open-network-stream, leaving
14487 open-protocol-stream as an alias. Handle nil BUFFER args.
14488
14489 * subr.el (open-network-stream): Move to net/network-stream.el.
14490
afa8e9f6
GM
144912011-04-02 Glenn Morris <rgm@gnu.org>
14492
1d2e369d
GM
14493 * find-dired.el (find-exec-terminator): New option.
14494 (find-ls-option): Test for -ls support.
14495 (find-ls-subdir-switches): Test for -b in find-ls-option.
14496 (find-dired, find-grep-dired): Doc fixes.
14497 (find-dired): Use find-exec-terminator.
14498
8abb7da8 14499 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
14500 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
14501 (find-name-arg): Remove purecopy.
8abb7da8 14502
f3ca7378
GM
14503 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
14504 (grep-compute-defaults): Check for `-exec COMMAND +' support.
14505 Set grep-find-use-xargs, grep-find-command, and grep-find-template
14506 accordingly. Don't add the null-device if not needed.
14507
afa8e9f6
GM
14508 * files.el (save-some-buffers): Doc fix.
14509
35eae264
EZ
145102011-04-02 Eli Zaretskii <eliz@gnu.org>
14511
14512 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
14513
26b51db5
JB
145142011-04-01 Juanma Barranquero <lekktu@gmail.com>
14515
14516 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
14517 Use `dolist' rather than `mapcar'.
14518
7200d79c
SM
145192011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
14520
03408648 14521 Add lexical binding.
7200d79c 14522
03408648
SM
14523 * subr.el (apply-partially): Use new closures rather than CL.
14524 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
14525 (dolist, dotimes): Use slightly different expansion for lexical code.
14526 (functionp): Move to C.
14527 (letrec): New macro.
14528 (with-wrapper-hook): Use it and apply-partially instead of CL.
14529 (eval-after-load): Preserve lexical-binding.
14530 (save-window-excursion, with-output-to-temp-buffer): Turn them
14531 into macros.
7200d79c 14532
03408648
SM
14533 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
14534
14535 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
14536 than the arglist.
14537 (help-add-fundoc-usage): Don't add `Not documented'.
14538 (help-function-arglist): Handle closures, subroutines, and new
14539 byte-code-functions.
14540 (help-make-usage): Remove leading underscores.
14541 (describe-function-1): Handle closures.
14542 (describe-variable): Use special-variable-p for completion.
14543
14544 * files.el (lexical-binding): Declare safe.
f488fb65 14545
03408648
SM
14546 * emacs-lisp/pcase.el: Don't use destructuring-bind.
14547 (pcase--memoize): Rename from pcase-memoize. Change weakness.
14548 (pcase): Add `let' pattern.
14549 Change memoization so it actually works.
14550 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
14551 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
14552 <let>: New case.
f488fb65 14553
03408648
SM
14554 * emacs-lisp/macroexp.el: Use lexical binding.
14555 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
14556 Don't convert ' to #' without checking that it's indeed quoting
14557 a lambda.
14558
14559 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 14560 Use eval-sexp-add-defvars.
03408648
SM
14561 (eval-sexp-add-defvars): New fun.
14562
14563 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
14564
14565 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
14566 Don't autoload.
14567 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
14568 than the internal `byte-compile-lambda'.
14569 (defmethod): Don't hide code under quotes.
14570 (eieio-defmethod): New `code' argument.
14571
14572 * emacs-lisp/eieio-comp.el: Remove.
14573
14574 * emacs-lisp/edebug.el (edebug-eval-defun)
14575 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
14576 (edebug-toggle): Avoid `eval'.
14577
14578 * emacs-lisp/disass.el (disassemble-internal): Handle new
14579 `closure' objects.
14580 (disassemble-1): Handle new byte codes.
14581
14582 * emacs-lisp/cl.el (pushnew): Silence warning.
14583
14584 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
14585 (cl-byte-compile-throw): Remove.
14586 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
14587
14588 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
14589 closures.
14590
14591 * emacs-lisp/cconv.el: New file.
14592
14593 * emacs-lisp/bytecomp.el: Use lexical binding instead of
14594 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
14595 (byte-compile-initial-macro-environment):
14596 Handle declare-function here.
14597 (byte-compile--lexical-environment): New var.
14598 (byte-stack-ref, byte-stack-set, byte-discardN)
14599 (byte-discardN-preserve-tos): New lap codes.
14600 (byte-interactive-p): Don't use any more.
14601 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
14602 New macros.
14603 (byte-compile-lapcode): Use them and handle new lap codes.
14604 (byte-compile-obsolete): Remove.
14605 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
14606 (byte-compile-arglist-warn): Check late def of inlinable funs.
14607 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
14608 since they should have been expanded by now.
14609 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
14610 (byte-compile-from-buffer): Remove unused second arg.
14611 (byte-compile-preprocess): New function.
14612 (byte-compile-toplevel-file-form): New function to distinguish
14613 file-form calls from outside from file-form calls from hunk-handlers.
14614 (byte-compile-file-form): Simplify.
14615 (byte-compile-file-form-defsubst): Remove.
14616 (byte-compile-file-form-defmumble): Simplify now that
14617 byte-compile-lambda always returns a byte-code-function.
14618 (byte-compile): Preprocess.
14619 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
14620 Remove, not used any more.
14621 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
14622 (byte-compile-make-args-desc): New funs.
14623 (byte-compile-lambda): Handle lexical functions. Always return
14624 a byte-code-function.
14625 (byte-compile-reserved-constants): New var, to make up room for
14626 closed-over variables.
14627 (byte-compile-constants-vector): Obey it.
14628 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
14629 (byte-compile-macroexpand-declare-function): New function.
14630 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
14631 byte-code-functions.
14632 (byte-compile-form): Check obsolescence here.
14633 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
14634 (byte-compile-variable-ref): Remove.
14635 (byte-compile-dynamic-variable-op): New fun.
14636 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14637 (byte-compile-variable-set): New funs.
14638 (byte-compile-discard): Add 2 args.
14639 (byte-compile-stack-ref, byte-compile-stack-set)
14640 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
14641 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
14642 macroexpand-all instead.
14643 (byte-compile-quote-form): Remove.
14644 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
14645 (byte-compile-bind, byte-compile-unbind): New funs.
14646 (byte-compile-let): Handle let* and lexical binding.
14647 (byte-compile-let*): Remove.
14648 (byte-compile-catch, byte-compile-unwind-protect)
14649 (byte-compile-track-mouse, byte-compile-condition-case):
14650 Handle a new :fun-body form, used for lexical scoping.
14651 (byte-compile-save-window-excursion)
14652 (byte-compile-with-output-to-temp-buffer): Remove.
14653 (byte-compile-defun): Simplify.
14654 (byte-compile-stack-adjustment): New fun.
14655 (byte-compile-out): Use it.
14656 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
14657
14658 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
14659 handler any more.
14660
14661 * emacs-lisp/byte-opt.el: Use lexical binding.
14662 (byte-inline-lapcode): Remove (to bytecomp).
14663 (byte-compile-inline-expand): Pay attention to inlining to/from
14664 lexically bound code.
14665 (byte-compile-unfold-lambda): Don't handle byte-code-functions
14666 any more.
14667 (byte-optimize-form-code-walker): Don't handle save-window-excursion
14668 any more and don't call compiler-macros.
14669 (byte-compile-splice-in-already-compiled-code): Remove.
14670 (byte-code): Don't inline any more.
14671 (disassemble-offset): Receive `bytes' as argument rather than via
14672 dynamic scoping.
14673 (byte-compile-tag-number): Declare before first use.
14674 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
14675 `return' even if make-spliceable.
14676 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
14677 obsolete interactive-p.
14678 (byte-optimize-lapcode): Optimize new lap-codes.
14679 Don't trip up on new form of `byte-constant' lap code.
14680
14681 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
14682
14683 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
14684
14685 * custom.el (custom-initialize-default, custom-declare-variable):
14686 Use `defvar'.
14687
14688 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
14689 New variables.
14690 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
14691 (COMPILE_FIRST): Add macroexp and cconv.
14692 * makefile.w32-in: Mirror changes in Makefile.in.
14693
14694 * vc/cvs-status.el:
14695 * vc/diff-mode.el:
14696 * vc/log-edit.el:
14697 * vc/log-view.el:
14698 * vc/smerge-mode.el:
14699 * textmodes/bibtex-style.el:
14700 * textmodes/css.el:
14701 * startup.el:
14702 * uniquify.el:
da91b5f2
CY
14703 * minibuffer.el:
14704 * newcomment.el:
14705 * reveal.el:
14706 * server.el:
14707 * mpc.el:
14708 * emacs-lisp/smie.el:
14709 * doc-view.el:
14710 * dired.el:
03408648
SM
14711 * abbrev.el: Use lexical binding.
14712
0f0c1f27
EZ
147132011-04-01 Eli Zaretskii <eliz@gnu.org>
14714
14715 * info.el (info-display-manual): New function.
14716
c82b2579
SM
147172011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
14718
14719 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
14720
221ddf68
TH
147212011-03-31 Tassilo Horn <tassilo@member.fsf.org>
14722
14723 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 14724 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 14725
cba6e77e
GM
147262011-03-31 Glenn Morris <rgm@gnu.org>
14727
e040639f
GM
14728 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
14729
cba6e77e
GM
14730 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
14731
6d0f1c9e
CS
147322011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
14733
14734 * progmodes/python.el (python-default-interpreter)
14735 (python-python-command-args, python-jython-command-args)
14736 (python-which-shell, python-which-args, python-which-bufname)
14737 (python-file-queue, python-comint-output-filter-function)
14738 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
14739 variables and functions.
14740
3e2d70fd
SM
147412011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14742
14743 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
14744 (completion-in-region-mode): New minor mode.
14745 (completion-in-region): Use it.
14746 (completion-in-region--data, completion-in-region-mode-map): New vars.
14747 (completion-in-region--postch): New function.
14748 (completion--capf-misbehave-funs, completion--capf-safe-funs):
14749 New vars.
14750 (completion--capf-wrapper): New function.
14751 (completion-at-point): Use it to track well-behavedness of
14752 hook functions.
14753 (completion-help-at-point): New command.
14754
f3e4086c
JM
147552011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
14756
14757 * vc/add-log.el (add-change-log-entry): Don't use whitespace
14758 syntax class to search for whitespace on a single line
14759 (Message-ID: <4D938140.4030905@redhat.com>).
14760
eb7ffc14
LL
147612011-03-30 Leo Liu <sdl.web@gmail.com>
14762
14763 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
14764 New commands.
14765 (edit-abbrevs-map): Bind them here.
14766 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
14767
d806ab68
KM
147682011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
14769
14770 * allout.el (allout-hide-by-annotation, allout-flag-region):
14771 Reduce possibility of overlay leakage by making them volatile.
14772
14773 * allout-widgets.el (allout-widgets-tally): Define as nil so the
14774 hash is not shared between buffers. Mode initialization is
14775 responsible for giving it a useful starting value.
14776 (allout-item-span): Reduce possibility of overlay leakage by
14777 making them volatile.
14778 (allout-widgets-count-buttons-in-region): Add diagnostic function
14779 for tracking down button overlay leaks.
14780
ea622834
LL
147812011-03-29 Leo Liu <sdl.web@gmail.com>
14782
14783 * ido.el (ido-read-internal): Use the default history var
14784 minibuffer-history if no HISTORY is specified.
14785
b62f8267
G
147862011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
14787
03408648
SM
14788 * net/imap.el (imap-shell-open, imap-process-connection-type):
14789 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
14790 Kerberos, SSL, other subprocesses.
14791
947b6566
LL
147922011-03-28 Leo Liu <sdl.web@gmail.com>
14793
14794 * abbrev.el (abbrev-table-empty-p): New function.
14795 (prepare-abbrev-list-buffer): Place empty abbrev tables after
14796 nonempty ones. (Bug#5937)
14797
5ffb62aa
JD
147982011-03-27 Jan Djärv <jan.h.d@swipnet.se>
14799
14800 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
14801
7a097943
LL
148022011-03-27 Leo Liu <sdl.web@gmail.com>
14803
14804 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
14805 for foreground and background colors.
14806 (ansi-color-make-color-map): Adapt.
14807
c5b40130
LL
148082011-03-25 Leo Liu <sdl.web@gmail.com>
14809
1f48f7d2
LL
14810 * midnight.el (midnight-time-float): Remove. Note it calculates
14811 the microsecond component incorrectly and seconds-to-time does the
14812 same job.
625897ec 14813 Remove redundant (require 'timer).
1f48f7d2 14814
c5b40130
LL
14815 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
14816 (ido-completions): Remove unused arguments. (Bug#8329)
14817
d86d2721
SM
148182011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
14819
14820 * minibuffer.el (completion--flush-all-sorted-completions):
14821 Remove itself from hook.
14822 (completion-at-point): Let the functions perform the completion
14823 immediately and return nil or t.
14824 * comint.el (comint-dynamic-complete-functions): Now identical to
14825 completion-at-point-functions.
14826 (comint-dynamic-list-input-ring): Remove unused var `index'.
14827 (comint--match-partial-filename, comint--unquote&expand-filename):
14828 New funs, split from comint-match-partial-filename.
14829 (comint-dynamic-complete): Use completion-at-point.
14830 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
14831
e8974c48
DA
148322011-03-24 Drew Adams <drew.adams@oracle.com>
14833
14834 * thingatpt.el: Support `defun'.
14835
def71b5e
LL
148362011-03-23 Leo Liu <sdl.web@gmail.com>
14837
cb5af48e
LL
14838 * abbrevlist.el: Move to obsolete/abbrevlist.el.
14839
def71b5e
LL
14840 * help-mode.el (help-mode-finish): Tweak regexp.
14841
927c53e7
GM
148422011-03-23 Glenn Morris <rgm@gnu.org>
14843
18d05bed
GM
14844 * eshell/esh-opt.el (eshell-eval-using-options):
14845 Do not bind unused local variable `eshell-option-stub'.
14846
927c53e7
GM
14847 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
14848
9d0da923
JB
148492011-03-22 Juanma Barranquero <lekktu@gmail.com>
14850
14851 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
14852 keymap variable in `with-no-warnings' to avoid a warning when the
14853 keymap has been already `defconst'ed.
14854
4b978a67
LL
148552011-03-22 Leo Liu <sdl.web@gmail.com>
14856
14857 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
14858 encode all chars in abbrevs; otherwise use emacs-mule or
14859 utf-8-emacs. (Bug#8308)
14860
5fd62452
JB
148612011-03-22 Juanma Barranquero <lekktu@gmail.com>
14862
0b1596c6
JB
14863 * simple.el (backward-delete-char-untabify):
14864 Avoid warning about using `delete-backward-char'.
14865
5fd62452
JB
14866 * image.el (image-type-file-name-regexps): Make it variable.
14867 `imagemagick-register-types' modifies it, and the user may want
14868 to add new extensions for known image types.
14869 (imagemagick-register-types): Throw error if not using ImageMagick.
14870
0b4e93f1
LL
148712011-03-22 Leo Liu <sdl.web@gmail.com>
14872
14873 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
14874 located before rcirc-prompt-end-marker.
14875 (rcirc-complete): Error if point is not after rcirc prompt.
14876 Handle the case when table is nil.
9882e214 14877 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 14878
fccee4ab
CY
148792011-03-22 Chong Yidong <cyd@stupidchicken.com>
14880
14881 * custom.el (custom--inhibit-theme-enable): Make it affect only
14882 custom-theme-set-variables and custom-theme-set-faces.
14883 (provide-theme): Ignore custom--inhibit-theme-enable.
14884 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
14885 (custom-enabling-themes): Delete variable.
d86d2721
SM
14886 (enable-theme): Accept only loaded themes as arguments.
14887 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
14888 (custom-enabled-themes): Forbid themes from setting this.
14889 Eliminate use of custom-enabling-themes.
14890 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 14891
af896da6
LL
148922011-03-21 Leo Liu <sdl.web@gmail.com>
14893
14894 * ido.el (ido-read-internal): Add ido-selected to history instead
14895 of user input.
14896
78f64af0
SM
148972011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14898
14899 * subr.el (deferred-action-list, deferred-action-function):
14900 Mark obsolete.
14901
b16ac1ec
LL
149022011-03-21 Leo Liu <sdl.web@gmail.com>
14903
810f7698
LL
14904 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
14905 change on 2011-02-13 (bug#8309).
14906
b16ac1ec
LL
14907 * minibuffer.el (read-file-name-function): Change default value.
14908 (read-file-name--defaults): Rename from read-file-name-defaults.
14909 (read-file-name-default): Rename from read-file-name.
14910 (read-file-name): Call read-file-name-function.
14911
4e05e67e
GM
149122011-03-21 Glenn Morris <rgm@gnu.org>
14913
14914 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
14915 Doc fixes.
14916
4359915b
CY
149172011-03-21 Chong Yidong <cyd@stupidchicken.com>
14918
14919 * cus-theme.el: Add missing provide statement.
14920 (customize-create-theme): Extract theme value correctly.
14921 (custom-theme-visit-theme): Autoload.
14922 (customize-create-theme): Prompt before inserting default faces.
14923
1fe275ee
JB
149242011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
14925
14926 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
14927 units and musical notes.
14928
cd394be1 149292011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
14930
14931 * ido.el (ido-read-internal): Use completing-read-default.
14932 (ido-completing-read): Fix compatibility with completing-read.
14933
7d476bde
CO
149342011-03-20 Christian Ohler <ohler@gnu.org>
14935
14936 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
14937 (ert-delete-all-tests): Use `called-interactively-p' rather than
14938 `interactive-p'.
14939 (ert--make-xrefs-region): Respect END.
14940
fe0fb33e
CY
149412011-03-19 Chong Yidong <cyd@stupidchicken.com>
14942
ff854b0b
CY
14943 * dired-aux.el (dired-create-directory): Signal an error if the
14944 directory already exists (Bug#8246).
14945
fe0fb33e
CY
14946 * facemenu.el (list-colors-display): Call list-faces-display
14947 inside with-help-window.
14948 (list-colors-print): Use display property to align the final
14949 column, instead of checking window-width.
14950
576bce32
EZ
149512011-03-19 Eli Zaretskii <eliz@gnu.org>
14952
4d61f28d 14953 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
14954 windows-nt systems.
14955 (emerge-protect-metachars): Quote correctly for ms-dos and
14956 windows-nt systems.
14957
89c41d68 149582011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
14959
14960 * info.el (info-initialize): Replace all uses of `:' with
14961 path-separator for compatibility with non-Unix systems.
14962 Cache quoting of path-separator. (Bug#8258)
14963
b14e3e21 149642011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
14965
14966 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
14967 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
14968 (mouse-avoidance-mode): Fix typos in docstrings.
14969
4525ce3e
CY
149702011-03-19 Chong Yidong <cyd@stupidchicken.com>
14971
14972 * startup.el (package-subdirectory-regexp): Move from package.el.
14973 Omit \\` and \\', and let callers add them.
14974
14975 * emacs-lisp/package.el (package-strip-version)
14976 (package-load-all-descriptors): Add \\` and \\' to
14977 package-subdirectory-regexp before using it.
14978 (package-untar-buffer): New arg DIR; ensure that file untars only
14979 into this expected directory. Remove superfluous delete-region.
14980 (package-unpack): Caller changed.
14981 (package-tar-file-info): Use package-subdirectory-regexp.
14982
a904a09a 149832011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 14984
a904a09a
SM
14985 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
14986 diff-mode-shared-map (bug#8284).
14987 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
14988
149892011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14990
14991 * calendar/time-date.el (format-seconds): Use assoc instead of
14992 assoc-string, since assoc-string doesn't exist in XEmacs.
14993
171fc304
JB
149942011-03-17 Juanma Barranquero <lekktu@gmail.com>
14995
14996 * custom.el (custom-known-themes): Reflow docstring.
14997 (custom-theme-load-path): Fix typo in docstring.
14998 (load-theme): Fix typo in error message.
14999 (custom-available-themes, custom-variable-theme-value):
15000 Use `let', not `let*'.
15001
d71990a1
JB
150022011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15003
15004 * calc/README: Mention inclusion of musical notes.
15005
15006 * calc/calc-units.el (calc-lu-quant): Rename from
15007 `calc-logunits-quantity'.
15008 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
15009 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
15010 (calc-db): Rename from `calc-dblevel'.
15011 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
15012 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
15013 (calc-np): Rename from `calc-nplevel'.
15014 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
15015 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
15016 (calc-lu-plus): Rename from `calc-logunits-add'.
15017 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
15018 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
15019 (calc-lu-minus): Rename from `calc-logunits-sub'.
15020 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
15021 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
15022 (calc-lu-times): Rename from `calc-logunits-mul'.
15023 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
15024 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
15025 (calc-lu-divide): Rename from `calc-logunits-div'.
15026 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
15027 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
15028
15029 * calc/calc-ext.el (calc-init-extensions): Update the names of the
15030 functions being autoloaded.
15031
15032 * calc/calc.el (calc-lu-power-reference): Rename from
15033 `calc-logunits-power-reference'.
15034 (calc-lu-field-reference): Rename from
15035 `calc-logunits-field-reference'.
15036
7a71b18d
GM
15037 * calc/calc-help.el (calc-l-prefix-help):
15038 Mention musical note functions.
d71990a1 15039
40c2934b
SM
150402011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
15041
15042 * minibuffer.el (completion-all-sorted-completions):
15043 Use :completion-cycle-penalty text property if present.
15044
b0911414
KM
150452011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
15046
15047 * allout.el (allout-yank-processing): Adjust for new rebulleting
15048 regime so bullet being yanked is used without prompting the user
15049 for a choice.
15050
8a05b668
JB
150512011-03-16 Juanma Barranquero <lekktu@gmail.com>
15052
15053 * startup.el (command-line): Warn the user that _emacs is deprecated.
15054
5ba5fb81
JB
150552011-03-16 Juanma Barranquero <lekktu@gmail.com>
15056
15057 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
15058 (delphi-verbose, delphi-comment-face, delphi-string-face)
15059 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
15060 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
15061 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
15062 (delphi-new-comment-line, delphi-font-lock-defaults)
15063 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
15064 Fix typos in docstrings.
15065
2dab465b
KM
150662011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
15067
5ba5fb81 15068 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
15069 Invert the roles of character and string values for INSTEAD, so a
15070 string is used for the more common case of a defaulting prompt.
15071
0adf5618
SM
150722011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * progmodes/ruby-mode.el (ruby-backward-sexp):
15075 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
15076 * play/gamegrid.el (gamegrid-make-face):
15077 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
15078 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
15079 * notifications.el (notifications-notify):
15080 * net/xesam.el (xesam-search-engines):
15081 * net/quickurl.el (quickurl-list-insert):
15082 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
15083
d72700e5
CY
150842011-03-15 Chong Yidong <cyd@stupidchicken.com>
15085
15086 * startup.el (command-line): Update package subdirectory regexp.
15087
49c5410a
SM
150882011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15089
c6eee9aa
SM
15090 * allout.el (allout-abbreviate-flattened-numbering)
15091 (allout-mode-deactivate-hook): Fix up obsolescence "date".
15092
49c5410a
SM
15093 * subr.el (read-char-choice): Only show the cursor after the prompt,
15094 not after the answer.
15095
047b2bb9
KR
150962011-03-15 Kevin Ryde <user42@zip.com.au>
15097
15098 * help-fns.el (variable-at-point): Skip leading quotes, if any
15099 (bug#8253).
15100
0a57d256
SM
151012011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
15102
15103 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
15104 warning message.
15105
77c992bc
MA
151062011-03-14 Michael Albinus <michael.albinus@gmx.de>
15107
15108 * shell.el (shell): When called interactively, offer to change the
15109 shell file name on remote hosts.
15110
eebc475d
TZ
151112011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
15112
15113 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
15114 integration for LDAP parameters. The host, base, user or binddn,
15115 and secret tokens can be specified in a netrc file, for instance.
15116 This is optional because an `auth-source' parameter must be
15117 specified in the search attributes.
15118
9d05d1ba
JB
151192011-03-13 Juanma Barranquero <lekktu@gmail.com>
15120
15121 * help.el (describe-mode): Link to the mode's definition (bug#8185).
15122
09d9db2c
GM
151232011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
15126 into declaration. Remove redundant and harmful binding.
15127
151282011-03-12 Eli Zaretskii <eliz@gnu.org>
15129
15130 * files.el (file-ownership-preserved-p): Pass `integer' as an
15131 explicit 2nd argument to `file-attributes'. If the file's owner
15132 is the Administrators group on Windows, and the current user is
15133 Administrator, consider that a match.
15134
15135 * server.el (server-ensure-safe-dir): Consider server directory
15136 safe on MS-Windows if its owner is the Administrators group while
15137 the current Emacs user is Administrator. Use `=' to compare
15138 numerical UIDs, since they could be integers or floats.
15139
219bd536
JB
151402011-03-12 Juanma Barranquero <lekktu@gmail.com>
15141
15142 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
15143
f3afd36b
MA
151442011-03-12 Michael Albinus <michael.albinus@gmx.de>
15145
15146 Sync with Tramp 2.2.1.
15147
15148 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
15149
15150 * net/trampver.el: Update release number.
15151
3aaaa6f1
SM
151522011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15153
94642599
SM
15154 * progmodes/compile.el (compilation--previous-directory): Fix up
15155 various nil/dead-marker mismatches (bug#8014).
15156 (compilation-directory-properties, compilation-error-properties):
15157 Don't call it at a position past the one we're about to change.
15158
3aaaa6f1
SM
15159 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
15160 Disable obsolescence warnings in the file that declares it.
15161
14239447
KM
151622011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
15163
099c39a4
JB
15164 * allout-widgets.el (allout-widgets-tally):
15165 Initialize allout-widgets-tally as a hash table rather than nil to
15166 prevent mode-line redisplay warnings. Also, clarify the module
15167 description and fix a comment typo.
14239447 15168
135e287c
JB
151692011-03-11 Juanma Barranquero <lekktu@gmail.com>
15170
15171 * help-fns.el (describe-variable): Don't complete keywords.
15172 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
15173
ffbf300e
CY
151742011-03-10 Chong Yidong <cyd@stupidchicken.com>
15175
ba08b241
CY
15176 * emacs-lisp/package.el (package-version-join): Impose a standard
15177 string representation for pre/alpha/beta version lists.
15178 (package-unpack-single): Standardize the directory name by passing
15179 it through package-version-join.
15180 (package-strip-rcs-id): Accept any version string that does not
15181 signal an error in version-to-list.
ffbf300e 15182
f346fd6b
MA
151832011-03-10 Michael Albinus <michael.albinus@gmx.de>
15184
15185 * simple.el (delete-trailing-whitespace): Return nil for the
15186 benefit of `write-file-functions'.
15187
ccb55d27
GM
151882011-03-10 Glenn Morris <rgm@gnu.org>
15189
5ceaac0c
GM
15190 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
15191
02da65ff
GM
15192 * vc/vc-git.el (vc-git-program): New option.
15193 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
15194 (vc-git--call): Use it.
15195
b2f603cc
GM
15196 * eshell/esh-util.el (eshell-condition-case): Doc fix.
15197
5772caab
GM
15198 * cus-edit.el (Custom-newline): If no button at point, look
15199 for a subgroup button at start-of-line. (Bug#2298)
15200
ccb55d27
GM
15201 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
15202
ec6ecaed
JD
152032011-03-10 Julien Danjou <julien@danjou.info>
15204
15205 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
15206 `cursor-type' is nil.
15207
9d5aa01d
JB
152082011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
15209
15210 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
15211
b6a5875b
KM
152122011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
15213
7a71b18d 15214 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
15215 preserves the existing header prefix, rebulleting it if necessary,
15216 rather than replacing it. This is necessary for proper operation
15217 of cooperative addons like allout-widgets.
1154d12e
JB
15218 (allout-make-topic-prefix, allout-rebullet-heading):
15219 Change SOLICIT arg to INSTEAD, and interpret additionally a string
15220 value as alternate bullet to be used, instead of prompting the user
15221 for a bullet character.
b6a5875b 15222
ee545c35
MA
152232011-03-09 Michael Albinus <michael.albinus@gmx.de>
15224
d86d2721
SM
15225 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15226 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
15227 `tramp-default-port'.
15228
c47971d7
DD
152292011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
15230
15231 * net/rcirc.el (rcirc-handler-001): Remove useless
15232 with-rcirc-process-buffer.
15233 (rcirc-check-auth-status): Swap arguments to string-match.
15234
13522cb4
GM
152352011-03-09 Glenn Morris <rgm@gnu.org>
15236
0be6f4f1
GM
15237 * shell.el (shell-mode):
15238 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
15239
13522cb4
GM
15240 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
15241 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
15242
515de2e3
CY
152432011-03-08 Chong Yidong <cyd@stupidchicken.com>
15244
15245 * emacs-lisp/package.el (package-refresh-contents)
15246 (package-menu-execute): Use condition-case-no-debug.
15247
b511b994
MA
152482011-03-08 Michael Albinus <michael.albinus@gmx.de>
15249
15250 * simple.el (shell-command-to-string): Use `process-file'.
15251
15252 * emacs-lisp/package.el (package-tar-file-info): Handle also
15253 remote files.
15254
d86d2721
SM
15255 * emacs-lisp/package-x.el (package-upload-buffer-internal):
15256 Use `equal' for upload base check.
b511b994 15257
25bbfb31
AM
152582011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
15259
15260 * textmodes/texinfo.el (texinfo-environments):
15261 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
15262
be996521
GM
152632011-03-08 Glenn Morris <rgm@gnu.org>
15264
e9c8529f
GM
15265 * cus-start.el (cursor-in-non-selected-windows):
15266 Fix :set quoting oddness. (Bug#8192)
15267
be996521
GM
15268 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
15269 in some setf expressions. (Bug#2159)
15270
2bb5649e
CY
152712011-03-08 Chong Yidong <cyd@stupidchicken.com>
15272
15273 * custom.el (custom-available-themes): Return themes in
15274 alphabetical order.
15275
33383987 15276See ChangeLog.15 for earlier changes.
e3d51b27
MR
15277
15278;; Local Variables:
15279;; coding: utf-8
e3d51b27
MR
15280;; End:
15281
acaf905b 15282 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
15283
15284 This file is part of GNU Emacs.
15285
15286 GNU Emacs is free software: you can redistribute it and/or modify
15287 it under the terms of the GNU General Public License as published by
15288 the Free Software Foundation, either version 3 of the License, or
15289 (at your option) any later version.
15290
15291 GNU Emacs is distributed in the hope that it will be useful,
15292 but WITHOUT ANY WARRANTY; without even the implied warranty of
15293 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15294 GNU General Public License for more details.
15295
15296 You should have received a copy of the GNU General Public License
15297 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.