ChangeLog 990 KB
Newer Older
1 2 3 4 5 6 7 8
2013-05-17  Leo Liu  <sdl.web@gmail.com>

	* newcomment.el (comment-search-backward): Stricter in finding
	comment start.  (Bug#14303)

	* progmodes/octave.el (octave-comment-start): Remove the SPC char.
	(octave-comment-start-skip): Properly anchored.

9 10 11 12 13 14 15
2013-05-17  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/smie.el (smie-highlight-matching-block-mode): Clean
	up when turned off.  (Bug#14395)
	(smie--highlight-matching-block-overlay): No longer buffer-local.
	(smie-highlight-matching-block): Adjust.

16 17 18 19 20 21
2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>

	Doc string fix for "nanoseconds" (Bug#14406).
	* emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
	Fix doc string typo that had "nanoseconds" instead of "microseconds".

22 23 24 25 26
2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc-units.el (math-extract-units): Preserve powers
	of units.

27 28 29 30 31 32 33
2013-05-17  Leo Liu  <sdl.web@gmail.com>

	* subr.el (delete-consecutive-dups): New function.
	* ido.el (ido-set-matches-1): Use it.
	* progmodes/octave.el (inferior-octave-completion-table): Use it.
	* ido.el (ido-remove-consecutive-dups): Remove.

34 35 36 37 38 39
2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
	(f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
	regexp-opt's `words'.

40 41 42 43 44 45 46 47 48 49
2013-05-16  Leo Liu  <sdl.web@gmail.com>

	* emacs-lisp/smie.el (smie-matching-block-highlight): New face.
	(smie--highlight-matching-block-overlay)
	(smie--highlight-matching-block-lastpos)
	(smie--highlight-matching-block-timer): New variables.
	(smie-highlight-matching-block): New function.
	(smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
	(smie-setup): Conditionally enable smie-blink-matching-open.

50 51 52 53 54 55 56 57 58 59 60
2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>

	Sync with upstream verilog-mode r840.
	* progmodes/verilog-mode.el (verilog-mode-version)
	(verilog-mode-release-date): Update.
	(verilog-auto-lineup, verilog-auto-reset): Doc fixes.
	(verilog-sig-tieoff): Fix string error on
	AUTORESET with colon define, bug594.  Reported by Andrew Hou.
	(verilog-read-decls): Fix parameters confusing
	AUTOINST interfaces, bug565.  Reported by Leith Johnson.

61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
2013-05-16  Eli Zaretskii  <eliz@gnu.org>

	* subr.el (reveal-filename): New function.

	* loadup.el: Compute Emacs executable versions on MS-Windows,
	where executables have the .exe extension.  Add a hard link
	emacs-XX.YY.ZZ.exe on MS-Windows.

	* Makefile.in (XARGS_LIMIT): New variable.
	(custom-deps, finder-data, autoloads)
	($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
	($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
	($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
	(compile-main): Limit xargs according to $(XARGS_LIMIT).

76 77 78 79 80
2013-05-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-indent-defun): Mark obsolete.
	(octave-mode-menu, octave-mode-map): Remove its uses.

81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123
2013-05-16  Reto Zimmermann  <reto@gnu.org>

	Sync with upstream vhdl mode v3.34.2.
	* progmodes/vhdl-mode.el: Use `push' throughout.
	(vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
	(vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
	Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
	(vhdl-actual-generic-name): New option to derive actual generic name.
	(vhdl-port-paste-signals): Replace formal by actual generics.
	(vhdl-beautify): New name for old group vhdl-align.  Update users.
	(vhdl-beautify-options): New option.
	(vhdl-last-input-event): New compat alias.  Use throughout.
	(vhdl-goto-line): Replace user level function `goto-line'.
	(vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
	vhdl-fix-statement-buffer.
	(vhdl-create-mode-menu): Add some entries.
	(vhdl-align-region-groups): Respect vhdl-beautify-options.
	(vhdl-align-inline-comment-region-1): Handle "--" inside string.
	(vhdl-fixup-whitespace-region): Handle symbols at EOL.
	(vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
	to force statements on one line.
	(vhdl-remove-trailing-spaces-region):
	New, split from vhdl-remove-trailing-spaces.
	(vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
	Respect vhdl-beautify-options.
	(vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
	(vhdl-update-sensitivity-list): Not add with index if exists without.
	Not include array index with signal.  Ignore keywords in comments.
	(vhdl-get-visible-signals): Regexp tweaks.
	(vhdl-template-component-inst): Handle empty library.
	(vhdl-template-type): Add template for 'enum' type.
	(vhdl-port-paste-generic-map, vhdl-port-paste-constants):
	Use vhdl-replace-string.
	(vhdl-port-paste-signals): Use vhdl-prepare-search-1.
	(vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
	(vhdl-speedbar-initialize): Update for above name change.
	(vhdl-compose-wire-components): Fix in handling of constants.
	(vhdl-error-regexp-emacs-alist): New variable.
	(vhdl-error-regexp-add-emacs): New function;
	adds support for new compile.el (Emacs 22+)
	(vhdl-generate-makefile-1): Change target order for single lib. units.
	Allow use of absolute file names.

124 125 126 127
2013-05-16  Leo Liu  <sdl.web@gmail.com>

	* simple.el (prog-indent-sexp): Indent enclosing defun.

Glenn Morris's avatar
Glenn Morris committed
128 129
2013-05-15  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159
	* cus-start.el (show-trailing-whitespace): Move to editing basics.
	* faces.el (trailing-whitespace): Don't use whitespace-faces group.
	* obsolete/old-whitespace.el (whitespace-faces): Remove group.
	(whitespace-highlight): Move to whitespace group.

	* comint.el (comint-source):
	* pcmpl-linux.el (pcmpl-linux):
	* shell.el (shell-faces):
	* eshell/esh-opt.el (eshell-opt):
	* international/ccl.el (ccl): Remove empty custom groups.

	* completion.el (dynamic-completion-mode):
	* jit-lock.el (jit-lock-debug-mode):
	* minibuffer.el (completion-in-region-mode):
	* type-break.el (type-break-mode-line-message-mode)
	(type-break-query-mode):
	* emulation/tpu-edt.el (tpu-edt-mode):
	* progmodes/subword.el (global-subword-mode, global-superword-mode):
	* progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
	* term/vt100.el (vt100-wide-mode): Specify explicit :group.

	* term/xterm.el (xterm): Change parent group to terminals.

	* master.el (master): Remove empty custom group.
	(master-mode): Remove unused :group argument.
	* textmodes/refill.el (refill): Remove empty custom group.
	(refill-mode): Remove unused :group argument.

	* textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.

160 161
	* cus-dep.el: Provide a feature.
	(custom-make-dependencies): Ignore dotfiles (dir-locals).
Glenn Morris's avatar
Glenn Morris committed
162 163
	Don't mistakenly ignore files whose basenames match a basename
	from preloaded-file-list (eg cedet/ede/simple.el).
164
	Add a fallback method for getting :group.
Glenn Morris's avatar
Glenn Morris committed
165

166 167
2013-05-15  Juri Linkov  <juri@jurta.org>

168 169 170 171 172
	* isearch.el (isearch-char-by-name): Rename from
	`isearch-insert-char-by-name'.  Doc fix.
	(isearch-forward): Mention `isearch-char-by-name' in
	the docstring.  (Bug#13348)

173 174 175 176 177 178 179 180 181
	* isearch.el (minibuffer-local-isearch-map): Bind "\r" to
	`exit-minibuffer' instead of
	`isearch-nonincremental-exit-minibuffer'.
	(isearch-edit-string): Remove mention of
	`isearch-nonincremental-exit-minibuffer' from docstring.
	(isearch-nonincremental-exit-minibuffer): Mark as obsolete.
	(isearch-forward-exit-minibuffer)
	(isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)

182 183
2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

184 185
	* loadup.el: Just use unversioned DOC.

186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210
	* nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
	literals as extending to EOB.
	(nxml-last-fontify-end): Remove unused variable.
	(nxml-after-change1): Use with-silent-modifications.
	(nxml-extend-after-change-region): Simplify.
	(nxml-extend-after-change-region1): Remove function.
	(nxml-after-change1): Don't adjust for dependent regions.
	(nxml-fontify-matcher): Simplify.
	* nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
	(xmltok-add-dependent): Remove function.
	(xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
	(xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
	(xmltok-scan-prolog-after-processing-instruction-open): Treat
	unclosed <[[, <?, comment, and other literals as extending to EOB.
	* nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
	(rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
	Remove functions.
	(rng-do-some-validation-1): Don't mark dependent regions.
	* nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
	(nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
	(nxml-clear-dependent-regions): Remove functions.
	(nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
	(nxml-ensure-scan-up-to-date):
	Don't clear&mark dependent regions.

211 212
2013-05-15  Leo Liu  <sdl.web@gmail.com>

213 214
	* progmodes/octave.el (octave-goto-function-definition):
	Improve and fix callers.
215

216 217
2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>

218 219 220
	* emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
	the setter (bug#14387).

221 222 223
	* progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
	surrounding group (bug#14402).

224 225 226 227 228
2013-05-14  Juri Linkov  <juri@jurta.org>

	* subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
	(Bug#14390)

229 230 231 232 233
2013-05-14  Glenn Morris  <rgm@gnu.org>

	* progmodes/f90.el (f90-imenu-generic-expression):
	Fix typo in 2013-05-08 change.  (Bug#14402)

234 235
2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>

236 237
	* progmodes/gdb-mi.el (gdb-running, gdb-starting):
	Remove signals for which replies are never received.
238

239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264
2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>

	* progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
	(gdb-handler-alist, gdb-handler-number): Remove variables.
	(gdb-handler-list): New variable.
	(gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
	(gdb-pending-handler-p, gdb-handle-reply)
	(gdb-remove-all-pending-triggers): New functions.
	(gdb-discard-unordered-replies): New defcustom.
	(gdb-handler): New defstruct.
	(gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
	instead of gdb-pending-triggers.  Update docstring.
	(gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
	(gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
	(gdb-var-update-handler, def-gdb-auto-update-trigger)
	(def-gdb-auto-update-handler, gdb-get-changed-registers)
	(gdb-changed-registers-handler, gdb-get-main-selected-frame)
	(gdb-frame-handler): Pending triggers are now automatically managed.
	(def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
	Remove argument.
	(gdb-input): Automatically handles pending triggers.  Update docstring.
	(gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
	(gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
	Update comments.
	(gdb-done-or-error): Now use gdb-handle-reply.

265 266 267 268 269
2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>

	* progmodes/gdb-mi.el (gdb-input): Include token numbers in
	gdb-debug-log.

270 271 272 273 274
2013-05-14  Glenn Morris  <rgm@gnu.org>

	* subr.el (user-emacs-directory-warning): New option.
	(locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)

275 276 277 278 279
2013-05-14  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords): Fix error
	during redisplay.
	(octave-goto-function-definition, octave-find-definition): Minor tweaks.
280 281
	(octave-font-lock-texinfo-comment): Fix invalid search bound
	error: wrong side of point.
282

Glenn Morris's avatar
Glenn Morris committed
283 284
2013-05-14  Glenn Morris  <rgm@gnu.org>

285 286 287
	* progmodes/flymake.el (flymake-xml-program): New option.
	(flymake-xml-init): Use it.

288 289 290
	* term/xterm.el: Provide a feature.

	* term/sup-mouse.el: Move to obsolete/.  Provide a feature.
Glenn Morris's avatar
Glenn Morris committed
291

292 293 294 295 296
2013-05-13  Glenn Morris  <rgm@gnu.org>

	* cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
	Add compat aliases as a hack workaround.  (Bug#14384)

297 298
2013-05-13  Leo Liu  <sdl.web@gmail.com>

299 300
	* progmodes/octave.el (octave-indent-comment): Fix indentation for
	###, and %!.
301 302
	(octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
	C-M-q.
303 304
	(octave-comment-start-skip): Include %!.
	(octave-mode): Set comment-start-skip to octave-comment-start-skip.
305

306 307 308 309 310 311 312 313 314 315 316 317
2013-05-12  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup): Store the value
	of __octave_srcdir__ for octave-source-directories.
	(inferior-octave-check-process): New function refactored out of
	inferior-octave-send-list-and-digest.
	(octave-source-directories)
	(octave-find-definition-filename-function): New variables.
	(octave-source-directories)
	(octave-find-definition-default-filename): New functions.
	(octave-find-definition): Improve to find functions implemented in C++.

318 319 320 321 322
2013-05-12  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-outlook-format-1):
	Don't include dayname in the output.  (Bug#14349)

323 324
2013-05-11  Glenn Morris  <rgm@gnu.org>

325 326
	* emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.

327 328 329
	* cus-dep.el (custom-make-dependencies): Only use safe local variables.
	Treat cc-provide like provide.

330 331 332 333 334 335 336
2013-05-11  Kevin Ryde  <user42@zip.com.au>

	* cus-dep.el (custom-make-dependencies):
	Use generated-autoload-load-name for the sake of files such
	such cedet/semantic/bovine/c.el, where the base file name
	is not in load-path.  (Bug#5277)

337 338 339 340 341
2013-05-11  Glenn Morris  <rgm@gnu.org>

	* dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
	Provide features.

342 343 344 345
2013-05-11  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-indent-comment): Improve.
	(octave-eldoc-message-style, octave-eldoc-cache): New variables.
346 347
	(octave-eldoc-function-signatures, octave-eldoc-function):
	New functions.
348 349
	(octave-mode, inferior-octave-mode): Add eldoc support.

350 351 352 353 354
2013-05-11  Richard Stallman  <rms@gnu.org>

	* epa.el (epa-decrypt-file): Take output file name as argument
	and read it using `interactive'.

355 356 357 358 359
2013-05-11  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-beginning-of-line)
	(octave-end-of-line): Check before using up-list because it jumps
	out of more syntactic contructs since moving to smie.
360 361
	(octave-indent-comment): New function.
	(octave-mode): Use it in smie-indent-functions.  (Bug#14350)
362 363 364
	(octave-begin-keywords, octave-end-keywords)
	(octave-reserved-words, octave-smie-bnf-table)
	(octave-smie-rules): Add new keywords from Octave 3.6.4.
365

366 367
2013-05-11  Glenn Morris  <rgm@gnu.org>

Glenn Morris's avatar
Glenn Morris committed
368 369 370 371 372 373
	* faces.el (internal-face-x-get-resource):
	* frame.el (ns-display-monitor-attributes-list):
	* calc/calc-aent.el (math-to-radians-2): Fix declarations.

	* emacs-lisp/package.el (tar-header-name, tar-header-link-type):

374 375 376 377 378 379 380
	* calc/calc-menu.el: Make it loadable in isolation.

	* net/eudcb-bbdb.el: Make it loadable without bbdb.
	(eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
	(eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
	(eudc-bbdb-query-internal): Require 'bbdb.

Glenn Morris's avatar
Glenn Morris committed
381 382 383 384 385
	* lpr.el (lpr-headers-switches):
	* emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.

	* progmodes/sql.el (sql-login-params): Fix and improve :type.

386 387
	* emulation/edt-mapper.el: In batch mode, error rather than hang.

388 389
	* term.el (term-set-escape-char): Make it idempotent.

390 391
2013-05-10  Leo Liu  <sdl.web@gmail.com>

392 393
	* progmodes/octave.el (inferior-octave-completion-table):
	No longer a function and all uses changed.  Use cache to speed up
394 395 396
	completion due to bug#11906.
	(octave-beginning-of-defun): Re-write to be more general.

397 398 399 400
2013-05-10  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/cl-macs.el (cl-loop): Doc fix.

401 402 403 404 405 406 407 408
2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>

	* comint.el (comint-redirect-send-command-to-process): Use :around
	rather than :override for comint-redirect-filter.
	(comint-redirect-filter): Add the corresponding `orig-filter' argument.
	Call it instead of comint-redirect-original-filter-function (which
	is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.

409 410 411 412 413
2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>

	* frame.el (display-monitor-attributes-list): Add NS case.
	(ns-display-monitor-attributes-list): Declare.

414
2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
415 416 417

	* descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)

418 419
2013-05-09  Glenn Morris  <rgm@gnu.org>

420 421 422
	* international/fontset.el (vertical-centering-font-regexp):
	Set standard-value.

423 424
	* tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.

425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450
	* bookmark.el (bookmark-search-delay):
	* cus-start.el (vertical-centering-font-regexp):
	* ps-mule.el (ps-mule-font-info-database-default):
	* ps-print.el (ps-default-fg, ps-default-bg):
	* type-break.el (type-break-good-break-interval):
	* whitespace.el (whitespace-indentation-regexp)
	(whitespace-space-after-tab-regexp):
	* emacs-lisp/testcover.el (testcover-1value-functions)
	(testcover-noreturn-functions, testcover-progn-functions)
	(testcover-prog1-functions):
	* emulation/viper-init.el (viper-emacs-state-cursor-color):
	* eshell/em-glob.el (eshell-glob-translate-alist):
	* play/tetris.el (tetris-tty-colors):
	* progmodes/cpp.el (cpp-face-default-list):
	* progmodes/flymake.el (flymake-allowed-file-name-masks):
	* progmodes/idlw-help.el (idlwave-help-browser-generic-program)
	(idlwave-help-browser-generic-args):
	* progmodes/make-mode.el (makefile-special-targets-list):
	* progmodes/python.el (python-shell-virtualenv-path):
	* progmodes/verilog-mode.el (verilog-active-low-regexp)
	(verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
	(verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
	(verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
	* textmodes/reftex-vars.el (reftex-format-label-function):
	* textmodes/remember.el (remember-diary-file): Fix custom types.

451 452 453
	* jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
	Add :version.

454 455 456
2013-05-09  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-completion-at-point):
457
	Restore file completion.  (Bug#14300)
458 459 460
	(inferior-octave-startup): Fix incorrect highlighting for the
	first prompt.

461 462 463 464 465 466 467 468 469 470
2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/ruby-mode.el: First cut at SMIE support.
	(ruby-use-smie): New var.
	(ruby-smie-grammar): New constant.
	(ruby-smie--bosp, ruby-smie--implicit-semi-p)
	(ruby-smie--forward-token, ruby-smie--backward-token)
	(ruby-smie-rules): New functions.
	(ruby-mode-variables): Setup SMIE if applicable.

471 472 473 474 475 476 477
2013-05-08  Eli Zaretskii  <eliz@gnu.org>

	* simple.el (line-move-visual): Signal beginning/end of buffer
	only if vertical-motion moved less than it was requested.  Avoids
	silly incorrect error messages when there are display strings with
	multiple newlines at EOL.

478 479 480 481 482 483 484 485 486 487 488 489
2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/vera-mode.el (vera-underscore-is-part-of-word):
	* progmodes/prolog.el (prolog-underscore-wordchar-flag)
	(prolog-char-quote-workaround):
	* progmodes/cperl-mode.el (cperl-under-as-char):
	* progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
	 Mark as obsolete.
	 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
	their declaration.
	(vhdl-mode-syntax-table-init): Remove.

490 491
	* progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
	last change.
492 493 494 495 496 497 498 499 500 501 502 503 504 505

	* progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
	syntax for "_".
	(ld-script-font-lock-keywords):
	Change regexps to use things like \_< and \_>.

	* progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
	Change all regexps to use things like \_< and \_>.

	* progmodes/autoconf.el (autoconf-definition-regexp)
	(autoconf-font-lock-keywords, autoconf-current-defun-function):
	Handle a _ with symbol syntax.
	(autoconf-mode): Don't change the syntax-table for imenu and font-lock.

506 507
	* progmodes/ada-mode.el (ada-mode-abbrev-table):
	Consolidate declaration.
508 509 510 511 512 513 514 515 516 517
	(ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
	the declaration.
	(ada-create-syntax-table): Remove.
	(ada-capitalize-word): Don't mess with the syntax of "_" since it
	already has the right syntax nowadays.
	(ada-goto-next-word): Don't change the syntax of "_".

	* font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
	with-wrapper-hook.

518 519 520 521 522 523 524 525 526 527
2013-05-08  Sam Steingold  <sds@gnu.org>

	* thingatpt.el (thing-at-point): Accept optional second argument
	NO-PROPERTIES to strip the text properties from the return value.
	* net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
	to `thing-at-point' instead of stripping the properties ourselves.
	Also, when `thing-at-point' fails to find a url, prepend "http://"
	to the filename at point on the assumption that the user is
	pointing at something like gnu.org/gnu.

528 529 530 531 532 533 534 535 536
2013-05-08  Juanma Barranquero  <lekktu@gmail.com>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header):
	* faces.el (crm-separator):
	Silence byte-compiler.

	* progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
	(tool-bar-map): Remove unneeded defvars.

537 538 539 540 541 542 543
2013-05-08  Leo Liu  <sdl.web@gmail.com>

	Re-work a fix for bug#10994 based on Le Wang's patch.
	* ido.el (ido-remove-consecutive-dups): New helper.
	(ido-completing-read): Use it.
	(ido-chop): Revert fix for bug#10994.

544 545 546 547 548
2013-05-08  Adam Spiers  <emacs@adamspiers.org>

	* cus-edit.el (custom-save-variables):
	Pretty-print long values.  (Bug#14187)

Glenn Morris's avatar
Glenn Morris committed
549 550 551 552 553 554
2013-05-08  Glenn Morris  <rgm@gnu.org>

	* progmodes/m4-mode.el (m4-program): Assume it is in PATH.
	(m4-mode-syntax-table): Init in the defvar.
	(m4-mode-abbrev-table): Let define-derived-mode define it.

555 556 557 558 559
2013-05-08  Tom Tromey  <tromey@redhat.com>

	* progmodes/m4-mode.el (m4-mode-syntax-table):
	Do not treat "_" as word constituent.  (Bug#14167)

560 561
2013-05-07  Glenn Morris  <rgm@gnu.org>

562 563 564
	* eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
	Remove explicit eshell-isearch-cancel-map.

565 566 567 568 569
	* progmodes/f90.el (f90-smart-end-names): New option.
	(f90-smart-end): Doc fix.
	(f90-end-block-optional-name): New constant.
	(f90-block-match): Respect f90-smart-end-names.

570 571 572 573 574
2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave.el (octave-smie-forward-token): Be more careful
	about implicit semi-colons (bug#14218).

575 576 577 578 579
2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* frame.el (display-monitor-attributes-list)
	(frame-monitor-attributes): New functions.

580 581 582 583 584
2013-05-06  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-syntax-propertize-function): Change
	\'s syntax to escape when inside double-quoted strings.  (Bug#14332)
	(octave-font-lock-keywords): Use octave-operator-regexp.
585
	(octave-completion-at-point): Rename from
586 587 588 589 590
	octave-completion-at-point-function.
	(inferior-octave-directory-tracker): Robustify.
	(octave-text-functions): Remove and fix its uses.  No such things
	any more.

591 592 593 594 595
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/trace.el (trace--display-buffer): New function.
	(trace-make-advice): Use it.

596 597 598 599 600 601 602 603
2013-05-06  Juri Linkov  <juri@jurta.org>

	* emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
	(eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
	Doc fix.
	(emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
	in the help string.  (Bug#12985)

604 605 606 607
2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)

	* simple.el (shell-command-on-region): Doc fix.  (Bug#14279)

608 609
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

610 611 612 613 614
	* progmodes/perl-mode.el: Add support for here documents.
	(perl-syntax-propertize-function): Match here-doc markers.
	(perl-syntax-propertize-special-constructs): Find their end.
	(perl-imenu-generic-expression): Use [:alnum:].

615 616 617 618
	* emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
	(advice--add-function): Refresh the advice if already present
	(bug#14317).

619 620 621 622
2013-05-06  Ivan Andrus  <darthandrus@gmail.com>

	* find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)

623 624
2013-05-06  Glenn Morris  <rgm@gnu.org>

625 626
	* w32-fns.el (w32-charset-info-alist): Declare.

627 628 629 630
	* eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
	of its defcustom properties.
	(eshell-cmpl-initialize): No need to load pcomplete.

631 632
	* generic-x.el: No need to require comint when compiling.

633 634 635 636 637 638 639
	* net/eudc-export.el: Make it loadable without bbdb.
	(top-level): Use require rather than load-library.
	(eudc-create-bbdb-record, eudc-bbdbify-phone)
	(eudc-batch-export-records-to-bbdb)
	(eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
	Require bbdb.

640 641 642 643 644 645
2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
	(octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
	some tweaks, instead.

646 647 648 649 650 651 652 653
2013-05-05  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords)
	(octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
	(inferior-octave-send-list-and-digest): Improve error message.
	(octave-mode, inferior-octave-mode): Use setq-local.
	(octave-help): Set info-lookup-mode.

654 655
2013-05-05  Richard Stallman  <rms@gnu.org>

656 657 658
	* vc/compare-w.el (compare-windows-whitespace):
	Treat no-break space as whitespace.

659 660 661 662
	* mail/rmailsum.el (rmail-summary-rmail-update):
	Detect empty summary and don't change selected message.
	(rmail-summary-goto-msg): Likewise.

663 664 665
	* mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
	Doc fixes, rename args.

666 667 668 669
2013-05-05  Alan Mackenzie  <acm@muc.de>

	* progmodes/cc-defs.el (c-version): Increment to 5.32.5.

670 671 672 673 674 675
2013-05-05  Juri Linkov  <juri@jurta.org>

	* info.el (Info-read-subfile): Use (point-min) instead of (point)
	to not add the length of the summary segment to the return value.
	(Bug#14125)

676 677 678 679 680 681 682 683 684 685 686 687
2013-05-05  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-strip-ctrl-g)
	(inferior-octave-output-filter): Remove.
	(octave-send-region, inferior-octave-startup): Fix callers.
	(inferior-octave-mode-map): Don't use comint-dynamic-complete.
	(octave-binary-file-extensions): New user variable.
	(octave-find-definition): Confirm if opening binary files.
	(octave-help-file): Use octave-find-definition to get the binary
	confirmation.
	(octave-help): Adjust for octave-help-file change.

688 689 690 691 692 693 694
2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
	Merge the two entries that handle function definitions.
	(pascal--syntax-propertize): New const.
	(pascal-mode): Use it.  Use setq-local.

695 696 697 698 699
2013-05-04  Glenn Morris  <rgm@gnu.org>

	* calendar/diary-lib.el (diary-from-outlook-function): New variable.
	(diary-from-outlook): Respect diary-from-outlook-function.

700 701 702 703 704 705 706
2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>

	* simple.el (read-expression-map): Use completion-at-point (bug#14255).
	Move the declaration from C.
	(read-minibuffer, eval-minibuffer): Move from C.
	(completion-setup-function): Avoid minibuffer-completion-contents.

707 708 709 710
2013-05-03  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords): Do not
	dehighlight 'end' in comments or strings.
711 712
	(octave-completing-read, octave-goto-function-definition):
	New helpers.
713 714 715 716
	(octave-help-buffer): New user variable.
	(octave-help-file, octave-help-function): New button types.
	(octave-help): New command and bind it to C-h ;.
	(octave-find-definition): New command and bind it to M-.
717
	(user-error): Alias to error if not defined.
718

719 720 721 722 723 724
2013-05-02  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-mode-syntax-table): Correct syntax
	for \.  (bug#14332)
	(octave-font-lock-keywords): Include [ and {.

725 726 727 728 729 730
2013-05-02  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup-file): Change default.
	(inferior-octave): Remove calling comint-mode and return the buffer.
	(inferior-octave-startup): Cosmetic changes.

731 732
2013-05-02  Leo Liu  <sdl.web@gmail.com>

733 734
	* progmodes/octave.el (octave-syntax-propertize-function):
	Include the case when ' is at line beginning.  (Bug#14336)
735

736 737 738 739 740
2013-05-02  Glenn Morris  <rgm@gnu.org>

	* vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
	* desktop.el (vc-dir-mode): Just autoload it here.

741 742 743 744 745 746 747
2013-05-02  Alan Mackenzie  <acm@muc.de>

	Eliminate variable c-standard-font-lock-fontify-region-function.
	* progmodes/cc-mode.el
	(c-standard-font-lock-fontify-region-function): Remove.
	(c-font-lock-fontify-region, c-after-font-lock-init): Adapt.

748 749
2013-05-01  Leo Liu  <sdl.web@gmail.com>

750
	* progmodes/octave.el: Compatible with older emacs-24 releases.
751
	(inferior-octave-has-built-in-variables): Remove.  Built-in
752
	variables were removed from Octave in 2007.
753 754 755 756
	(inferior-octave-startup): Fix uses.
	(comint-line-beginning-position): Remove compatibility code for
	emacs 21.

757 758 759 760
2013-05-01  Juri Linkov  <juri@jurta.org>

	* isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)

761 762 763 764 765 766 767 768
2013-05-01  Juri Linkov  <juri@jurta.org>

	* comint.el (comint-previous-matching-input): Don't print message
	"History item: %d" when `isearch-mode' is active.
	(comint-history-isearch-message): Print message "History item: %d"
	when `comint-input-ring-index' is not empty and this function is
	called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)

769 770 771 772 773 774 775
2013-05-01  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-abbrev-table): Remove abbrev
	definitions.  Use completion-at-point to insert keywords.
	(octave-abbrev-start): Remove.
	(inferior-octave-mode, octave-mode): Use :abbrev-table instead.

776 777 778 779 780
2013-04-30  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
	change.

781 782 783
2013-04-30  Alan Mackenzie  <acm@muc.de>

	Handle arbitrarily long C++ member initialisation lists.
784 785
	* progmodes/cc-engine.el (c-back-over-member-initializers):
	new function.
786 787 788
	(c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
	(most) member init lists.

789 790 791 792 793
2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>

	* progmodes/octave.el (inferior-octave-prompt-read-only): New user
	variable.

794 795 796 797 798 799 800 801 802 803 804 805 806
2013-04-30  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-variables): Remove.  No builtin
	variables any more.  All converted to functions.
	(octave-font-lock-keywords, octave-completion-at-point-function):
	Fix uses.
	(octave-font-lock-texinfo-comment): New user variable.
	(octave-texinfo-font-lock-keywords): New variable for texinfo
	comment block.
	(octave-function-comment-block): New face.
	(octave-font-lock-texinfo-comment): New function.
	(octave-mode): Font lock texinfo comment block.

807 808 809 810 811 812 813 814 815 816 817 818 819
2013-04-29  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
	indexing expression.
	(octave-continuation-string): Do not use \.
	(inferior-octave-complete-impossible): Remove.
	(inferior-octave-completion-table)
	(inferior-octave-completion-at-point): Remove its uses.
	(inferior-octave-startup): completion_matches was introduced to
	Octave in 1996 so safe to assume it.
	(octave-function-file-comment): Improve to follow how Octave does it.
	(octave-update-function-file-comment): Tweak.

820 821 822 823 824 825 826
2013-04-29  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
	(inferior-octave-startup): Remove inferior-octave-startup-hook.
	(octave-function-file-comment): Fix typo.
	(octave-sync-function-file-names): Use read-char-choice.

827 828 829 830 831
2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>

	* calc/calc.el (math-normalize): Don't set `math-normalize-error'
	to t for the less important warnings.

832 833 834 835
2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)

	* isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)

836 837 838 839 840
2013-04-27  Glenn Morris  <rgm@gnu.org>

	* vc/log-view.el (log-view-current-entry):
	Treat "---" separator lines as part of the following rev.  (Bug#14169)

841 842 843 844 845
2013-04-27  Juri Linkov  <juri@jurta.org>

	* subr.el (read-number): Doc fix about using it by interactive
	code letter `n'.  (Bug#14254)

846 847 848 849 850 851 852 853 854 855 856 857
2013-04-27  Juri Linkov  <juri@jurta.org>

	* desktop.el (desktop-auto-save-timeout): New option.
	(desktop-file-checksum): New variable.
	(desktop-save): Add optional arg `auto-save' and don't auto-save
	if nothing changed.
	(desktop-auto-save-timer): New variable.
	(desktop-auto-save, desktop-auto-save-set-timer): New functions.
	(after-init-hook): Call `desktop-auto-save-set-timer'.
	Suggested by Reuben Thomas <rrt@sc3d.org> in
	<http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.

858 859 860 861 862 863 864 865 866 867 868 869 870 871 872
2013-04-27  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-function-file-p)
	(octave-skip-comment-forward, octave-function-file-comment)
	(octave-update-function-file-comment): New functions.
	(octave-mode-map): Bind C-c ; to
	octave-update-function-file-comment.
	(octave-mode-menu): Add octave-update-function-file-comment.
	(octave-mode, inferior-octave-mode): Fix doc-string.
	(octave-insert-defun): Conform to Octave's coding convention.
	(Bug#14285)

	* files.el (basic-save-buffer): Don't let errors in
	before-save-hook prevent saving buffer.

873 874 875 876 877
2013-04-20  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Use completing-read if arg multiple
	is nil.

878 879 880
2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)

	* ls-lisp.el (ls-lisp-insert-directory): If no files are
881 882
	displayed, move point to after the totals line.
	See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
883 884
	for the details.

885 886 887 888 889 890 891
2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/package.el (package-autoload-ensure-default-file):
	Add current dir to the load-path.
	(package-generate-autoloads): Don't rely on
	autoload-ensure-default-file.

892 893
2013-04-26  Reuben Thomas  <rrt@sc3d.org>

894 895
	* textmodes/remember.el (remember-store-in-files): Document that
	the file name format is passed to `format-time-string'.
896

897 898 899 900 901
2013-04-26  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-sync-function-file-names): New function.
	(octave-mode): Use it in before-save-hook.

902 903
2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>

904 905 906
	* emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
	(bug#14274).

907 908 909
	* progmodes/octave.el (octave-smie-forward-token): Properly skip
	\n and comment, even if it's not an implicit ; (bug#14218).

910
2013-04-26  Glenn Morris  <rgm@gnu.org>
911 912 913 914

	* subr.el (read-number): Once more use `read' rather than
	`string-to-number', to trap non-numeric input.  (Bug#14254)

915
2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
916 917 918 919 920

	* emacs-lisp/syntax.el (syntax-propertize-multiline):
	Use `syntax-multiline' text property consistently instead of
	`font-lock-multiline'. (bug#14237).

921 922 923 924 925 926 927
2013-04-26  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/shadow.el (list-load-path-shadows):
	No longer necessary to check for duplicate simple.el, since
	2012-07-07 change to init_lread to not include installation lisp
	directories in load-path when running uninstalled.  (Bug#14270)

928 929 930 931
2013-04-26  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave.el (octave-submit-bug-report): Obsolete.
	(octave-mode, inferior-octave-mode): Use setq-local.
932
	(octave-not-in-string-or-comment-p): Rename to
933 934 935 936
	octave-in-string-or-comment-p.
	(octave-in-comment-p, octave-in-string-p)
	(octave-in-string-or-comment-p): Replace defsubst with defun.

937 938 939 940
2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>

	* Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.

941 942 943 944 945
2013-04-25  Bastien Guerry  <bzg@gnu.org>

	* textmodes/remember.el (remember-data-directory)
	(remember-directory-file-name-format): Fix custom types.

946 947
2013-04-25  Leo Liu  <sdl.web@gmail.com>

948 949
	* progmodes/octave.el (octave-completion-at-point-function):
	Make use of inferior octave process.
950 951 952 953 954
	(octave-initialize-completions): Remove.
	(inferior-octave-completion-table): New function.
	(inferior-octave-completion-at-point): Use it.
	(octave-completion-alist): Remove.

955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981
2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/opascal.el: Use font-lock and syntax-propertize.
	(opascal-mode-syntax-table): New var.
	(opascal-literal-kind, opascal-is-literal-end)
	(opascal-literal-token-at): Rewrite.
	(opascal--literal-start-re, opascal-font-lock-keywords)
	(opascal--syntax-propertize): New constants.
	(opascal-font-lock-defaults): Adjust.
	(opascal-mode): Use them.  Set comment-<foo> variables as well.
	(delphi-comment-face, opascal-comment-face, delphi-string-face)
	(opascal-string-face, delphi-keyword-face, opascal-keyword-face)
	(delphi-other-face, opascal-other-face): Remove face variables.
	(opascal-save-state): Remove macro.
	(opascal-fontifying-progress-step): Remove constant.
	(opascal--ignore-changes): Remove var.
	(opascal-set-token-property, opascal-parse-next-literal)
	(opascal-is-stable-literal, opascal-complete-literal)
	(opascal-is-literal-start, opascal-face-of)
	(opascal-parse-region, opascal-parse-region-until-stable)
	(opascal-fontify-region, opascal-after-change)
	(opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
	(opascal-debug-parse-region, opascal-debug-parse-window)
	(opascal-debug-parse-buffer, opascal-debug-fontify-window)
	(opascal-debug-fontify-buffer): Remove.
	(opascal-debug-mode-map): Adjust accordingly.

982 983 984 985 986 987 988 989
2013-04-25  Leo Liu  <sdl.web@gmail.com>

	Merge octave-mod.el and octave-inf.el into octave.el with some
	cleanups.
	* progmodes/octave.el: New file renamed from octave-mod.el.
	* progmodes/octave-inf.el: Merged into octave.el.
	* progmodes/octave-mod.el: Renamed to octave.el.

Tassilo Horn's avatar
Tassilo Horn committed
990 991 992 993 994 995 996
2013-04-25  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el
	(reftex-label-ignored-macros-and-environments): New defcustom.

	* textmodes/reftex-parse.el (reftex-parse-from-file): Use it.

997 998 999 1000 1001 1002 1003 1004 1005 1006
2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
	(smie-indent-keyword): Improve the check to ensure that the next
	comment is really on the same line.
	(smie-indent-comment): Don't align with a subsequent closer (or eob).

	* progmodes/octave-mod.el (octave-smie-forward-token): Only emit
	semi-colons if the line is not otherwise empty (bug#14218).

1007 1008 1009 1010
2013-04-25  Glenn Morris  <rgm@gnu.org>

	* vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.

1011 1012 1013 1014 1015 1016 1017 1018 1019
2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/opascal.el (opascal-set-token-property): Rename from
	opascal-set-text-properties and only set `token' (bug#14134).
	Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
	(opascal-literal-text-properties): Remove.
	(opascal-parse-next-literal, opascal-debug-unparse-buffer):
	Adjust callers.

1020
2013-04-24  Reuben Thomas  <rrt@sc3d.org>
1021 1022 1023 1024 1025 1026 1027 1028

	* textmodes/remember.el (remember-handler-functions): Add an
	option for a new handler `remember-store-in-files'.
	(remember-data-directory, remember-directory-file-name-format):
	New options.
	(remember-store-in-files): New function to store remember notes
	as separate files within a directory.

1029 1030 1031 1032 1033
2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>

	* progmodes/compile.el (compilation-next-error-function):
	Pass "formats" to compilation-find-file (bug#11777).

1034 1035
2013-04-24  Glenn Morris  <rgm@gnu.org>

1036
	* vc/vc-bzr.el (vc-bzr-print-log):
1037 1038 1039 1040
	* vc/vc-hg.el (vc-hg-print-log):
	* vc/vc-svn.el (vc-svn-print-log):
	Fix START-REVISION with LIMIT != 1.  (Bug#14168)

1041 1042 1043 1044 1045 1046 1047 1048 1049 1050
	* vc/vc-bzr.el (vc-bzr-print-log):
	* vc/vc-cvs.el (vc-cvs-print-log):
	* vc/vc-git.el (vc-git-print-log):
	* vc/vc-hg.el (vc-hg-print-log):
	* vc/vc-mtn.el (vc-mtn-print-log):
	* vc/vc-rcs.el (vc-rcs-print-log):
	* vc/vc-sccs.el (vc-sccs-print-log):
	* vc/vc-svn.el (vc-svn-print-log):
	* vc/vc.el (vc-print-log-internal): Doc fixes.

1051 1052 1053 1054 1055
2013-04-23  Glenn Morris  <rgm@gnu.org>

	* startup.el (normal-no-mouse-startup-screen, normal-about-screen):
	Remove venerable code attempting to avoid substitute-command-keys.

1056 1057
2013-04-23  Tassilo Horn  <tsdh@gnu.org>

1058 1059
	* textmodes/reftex-vars.el (reftex-label-regexps):
	Call `reftex-compile-variables' after changes to this variable.
1060

1061 1062
2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>

1063
	* jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
1064 1065 1066 1067 1068
	Use lexical-binding.
	(jit-lock-force-redisplay): Use markers, check buffer's continued
	existence and beware narrowed buffers.
	(jit-lock-fontify-now): Adjust call accordingly.

1069 1070 1071 1072 1073
2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
	to avoid misleading the user.

Leo Liu's avatar
Leo Liu committed
1074 1075 1076 1077
2013-04-22  Leo Liu  <sdl.web@gmail.com>

	* info-look.el: Prefer latex2e.info.  (Bug#14240)

1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098
2013-04-22  Michael Albinus  <michael.albinus@gmx.de>

	Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.

	* net/tramp-compat.el (tramp-compat-call-process): Move function ...
	* net/tramp.el (tramp-call-process): ... here
	(tramp-set-completion-function, tramp-parse-putty):
	* net/tramp-adb.el (tramp-adb-execute-adb-command):
	* net/tramp-gvfs.el (tramp-gvfs-send-command):
	* net/tramp-sh.el (tramp-sh-handle-set-file-times)
	(tramp-set-file-uid-gid, tramp-sh-handle-write-region)
	(tramp-call-local-coding-command): Use `tramp-call-process'
	instead of `tramp-compat-call-process'.

	* net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
	(tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
	(tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
	(tramp-find-inline-compress):Improve traces.
	(tramp-maybe-send-script): Check for Perl binary.
	(tramp-get-inline-coding): Do not redirect STDOUT for local decoding.

1099 1100 1101 1102 1103 1104
2013-04-22  Daiki Ueno  <ueno@gnu.org>

	* epg.el (epg-context-pinentry-mode): New function.
	(epg-context-set-pinentry-mode): New function.
	(epg--start): Pass --pinentry-mode option to gpg command.

1105 1106
2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>

1107 1108 1109 1110
	* comint.el: (comint-dynamic-complete-functions, comint-mode-map):
	`comint-dynamic-complete' is obsolete since 24.1, replaced by
	`completion-at-point'. (Bug#13774)

1111 1112 1113 1114
	* startup.el (normal-no-mouse-startup-screen): Bug fix, the
	default key binding for `describe-distribution' has been moved to
	`C-h C-o'.  (Bug#13970)

Glenn Morris's avatar
Glenn Morris committed
1115 1116 1117 1118 1119 1120
2013-04-21  Glenn Morris  <rgm@gnu.org>

	* vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
	Add doc strings.
	(vc-print-log): Clarify interactive prompt.

1121 1122 1123 1124 1125
2013-04-20  Glenn Morris  <rgm@gnu.org>

	* emacs-lisp/bytecomp.el (byte-compile-insert-header):
	No longer include timestamp etc information.

1126 1127 1128 1129 1130
2013-04-20  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Bug fix, return just one face if arg
	multiple is nil.  (Bug#14209)

1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156
2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el (advice--where-alist): Add :override.
	(remove-function): Autoload.

	* comint.el (comint-redirect-original-filter-function): Remove.
	(comint-redirect-cleanup, comint-redirect-send-command-to-process):
	* vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
	* progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
	* progmodes/prolog.el (prolog-consult-compile):
	* progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
	Use add/remove-function instead.
	* progmodes/gud.el (gud-tooltip-original-filter): Remove.
	(gud-tooltip-process-output, gud-tooltip-tips):
	Use add/remove-function instead.
	* progmodes/xscheme.el (xscheme-previous-process-state): Remove.
	(scheme-interaction-mode, exit-scheme-interaction-mode):
	Use add/remove-function instead.

	* vc/vc-dispatcher.el: Use lexical-binding.
	(vc--process-sentinel): Rename from vc-process-sentinel.
	Change last arg to be the code to run.  Don't use vc-previous-sentinel
	and vc-sentinel-commands any more.
	(vc-exec-after): Allow code to be a function.  Use add/remove-function.
	(compilation-error-regexp-alist, view-old-buffer-read-only): Declare.

1157 1158
2013-04-19 Masatake YAMATO  <yamato@redhat.com>

1159
	* progmodes/sh-script.el (sh-imenu-generic-expression):
Glenn Morris's avatar
Glenn Morris committed
1160
	Handle function names with a single character.   (Bug#14111)
1161

1162 1163 1164 1165 1166
2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)

	* progmodes/gud.el (gud-perldb-marker-filter): Understand position info
	for subroutines defined in an eval (bug#14182).

1167 1168 1169 1170 1171
2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>

	* bookmark.el (bookmark-completing-read): Improve handling of empty
	string (bug#14176).

1172 1173 1174 1175
2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.

1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193
2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	New faster Imenu implementation (bug#14058).
	* progmodes/python.el:
	(python-imenu-prev-index-position):
	(python-imenu-format-item-label-function)
	(python-imenu-format-parent-item-label-function)
	(python-imenu-format-parent-item-jump-label-function):
	New vars.
	(python-imenu-format-item-label)
	(python-imenu-format-parent-item-label)
	(python-imenu-format-parent-item-jump-label)
	(python-imenu--put-parent, python-imenu--build-tree)
	(python-imenu-create-index, python-imenu-create-flat-index)
	(python-util-popn): New functions.
	(python-mode): Set imenu-create-index-function to
	python-imenu-create-index.

1194 1195 1196 1197 1198 1199 1200
2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* winner.el (winner-active-region): Use region-active-p, activate-mark
	and deactivate-mark (bug#14225).

	* simple.el (deactivate-mark): Don't inline it.

1201 1202 1203 1204
2013-04-18  Michael Albinus  <michael.albinus@gmx.de>

	* net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".

1205 1206 1207 1208 1209 1210
2013-04-18  Tassilo Horn  <tsdh@gnu.org>

	* files.el (auto-mode-alist): Delete OpenDocument and StarOffice
	file extensions from the archive-mode entry in order to prefer
	doc-view-mode-maybe with archive-mode as fallback (bug#14188).

1211 1212 1213 1214
2013-04-18  Leo Liu  <sdl.web@gmail.com>

	* bindings.el (help-event-list): Add ?\?.

1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230
2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>

	* subr.el (with-wrapper-hook): Declare obsolete.
	* simple.el (filter-buffer-substring-function): New hook.
	(filter-buffer-substring): Use it.
	(filter-buffer-substring-functions): Mark obsolete.
	* minibuffer.el (completion-in-region-function): New hook.
	(completion-in-region): Use it.
	(completion-in-region-functions): Mark obsolete.
	* mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
	* abbrev.el (abbrev-expand-function): New hook.
	(expand-abbrev): Use it.
	(abbrev-expand-functions): Mark obsolete.
	* emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
	and :filter-return.

1231 1232 1233 1234 1235
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-nav--syntactically): Fix cornercases
	and do not care about match data.

1236 1237 1238 1239 1240 1241 1242 1243 1244
2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
	completion tables when completing error conditions and
	`declare' arguments.
	(lisp-complete-symbol, field-complete): Mark as obsolete.
	(check-parens): Unmatched parens are user errors.
	* minibuffer.el (minibuffer-completion-contents): Mark as obsolete.

1245 1246
2013-04-17  Michal Nazarewicz  <mina86@mina86.com>

1247 1248 1249 1250 1251 1252 1253 1254
	* textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
	command changed buffer (ie. `flyspell-pre-buffer' is not current
	buffer), which prevents making decisions based on invalid value of
	`flyspell-pre-point' in the wrong buffer.  Most notably, this used to
	cause an error when `flyspell-pre-point' was nil after switching
	buffers.
	(flyspell-post-command-hook): No longer needs to change buffers when
	checking pre-word.  While at it remove unnecessary progn.
1255

1256 1257 1258 1259 1260 1261 1262
2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)

	* textmodes/ispell.el (ispell-add-per-file-word-list):
	Fix `flyspell-correct-word-before-point' error when accepting
	words and `coment-padding' is an integer by using
	`comment-normalize-vars' (Bug #14214).

1263 1264 1265 1266 1267 1268 1269
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	New defun movement commands.
	* progmodes/python.el (python-nav--syntactically)
	(python-nav--forward-defun, python-nav-backward-defun)
	(python-nav-forward-defun): New functions.

1270 1271 1272 1273 1274 1275
2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>

	* progmodes/python.el (python-syntax--context-compiler-macro): New defun.
	(python-syntax-context): Use named compiler-macro for backwards
	compatibility with Emacs 24.x.

1276 1277 1278 1279 1280
2013-04-17  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave-mod.el (octave-mode-map): Fix key binding to
	octave-hide-process-buffer.

1281 1282 1283 1284 1285
2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
	(bug#14216).

1286 1287 1288 1289 1290 1291
2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>

	* progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
	Fix adjustment of offset when receiving incomplete responses from GDB
	(bug#14129).

1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303
2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

	* progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
	python-mode-abbrev-table.
	(python-skeleton-define): Adjust accordingly.
	(python-mode-abbrev-table): New table that inherits from it so that
	python-skeleton-autoinsert does not affect non-skeleton abbrevs.

	* abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
	(abbrev-symbol): Use it.
	(abbrev--before-point): Use it since we already handle inheritance.

1304 1305 1306 1307 1308
2013-04-16  Leo Liu  <sdl.web@gmail.com>

	* progmodes/octave-mod.el (octave-mode-map): Remove redundant key
	binding to info-lookup-symbol.

1309 1310 1311 1312 1313 1314
2013-04-16  Juanma Barranquero  <lekktu@gmail.com>

	* minibuffer.el (completion--twq-all):
	* term/ns-win.el (ns-initialize-window-system):
	* term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.

1315 1316
2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>

1317 1318 1319
	* emacs-lisp/nadvice.el (add-function): Default simple vars to their
	global bindings.

1320 1321
	* doc-view.el (doc-view-start-process): Handle url-handler directories.

1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334
2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>

	* progmodes/ruby-mode.el (ruby-beginning-of-defun)
	(ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
	to nil.
	(ruby-end-of-defun): Remove the unused arg, change the docstring
	to reflect that this function is only used as the value of
	`end-of-defun-function'.
	(ruby-beginning-of-defun): Remove "top-level" from the docstring,
	to reflect an earlier change that beginning/end-of-defun functions
	jump between methods in a class definition, as well as top-level
	functions.

1335 1336 1337 1338 1339 1340 1341
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* minibuffer.el (minibuffer-complete): Don't just scroll
	a *Completions* that's been iconified.
	(minibuffer-force-complete): Make sure repetitions do cycle when going
	through completion-in-region -> minibuffer-complete.

1342 1343 1344 1345 1346 1347 1348
2013-04-15  Alan Mackenzie  <acm@muc.de>

	Correct the placement of c-cpp-delimiters when there're #s not at
	col 0.

	* progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
	place a submatch around the #.
1349 1350
	* progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
	Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
1351 1352
	on the #, not BOL.

1353 1354 1355 1356 1357 1358
2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>

	* emacs-lisp/nadvice.el: Properly test names when adding advice.
	(advice--member-p): New arg `name'.
	(advice--add-function, advice-member-p): Use it (bug#14202).

1359 1360 1361 1362 1363 1364 1365 1366 1367
2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>

	Reformulate java imenu-generic-expression.
	The old expression contained ill formed regexps.

	* progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
	(cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
	(cc-imenu-java-method-arg-regexp): New defconsts.
	(cc-imenu-java-build-type-args-regex): New defun.
1368
	(cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
1369 1370
	handling of spaces in the regexp.

1371 1372 1373 1374 1375
2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>

	* textmodes/ispell.el (ispell-command-loop): Remove
	flyspell highlight of a word when ispell accepts it (bug #14178).

1376 1377 1378 1379 1380 1381 1382 1383
2013-04-15  Michael Albinus  <michael.albinus@gmx.de>

	* net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
	uses code from the previous `ange-ftp-run-real-handler'.
	(ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
	only in case that function exist.  This is needed for proper
	unloading of Tramp.

1384 1385 1386 1387 1388 1389
2013-04-15  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.

	* textmodes/reftex.el (reftex-compile-variables): Use it.

1390 1391
2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>

1392 1393 1394
	* files.el (normal-mode): Only use default major-mode if no other mode
	was specified.

1395 1396
	* emacs-lisp/trace.el (trace-values): New function.

1397 1398 1399 1400
	* files.el: Allow : in local variables (bug#14089).
	(hack-local-variable-regexp): New var.
	(hack-local-variables-prop-line, hack-local-variables): Use it.

1401 1402 1403 1404 1405
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
	data before it gets modified by bibtex-beginning-of-entry.

1406 1407 1408 1409 1410
2013-04-13  Roland Winkler  <winkler@gnu.org>

	* textmodes/bibtex.el (bibtex-url): Doc fix.

2013-04-13  Roland Winkler  <winkler@gnu.org>
1411 1412 1413 1414 1415

	* textmodes/bibtex.el (bibtex-initialize): If the current buffer
	does not visit a BibTeX file, exclude it from the list of buffers
	returned by bibtex-initialize.

1416 1417 1418 1419 1420 1421
2013-04-13  Stephen Berman  <stephen.berman@gmx.net>

	* window.el (split-window): Remove interactive form, since as a
	command this function is a special case of split-window-below.
	Correct doc string.

1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439
2013-04-12  Roland Winkler  <winkler@gnu.org>

	* faces.el (read-face-name): Do not override value of arg default.
	Allow single faces and strings as default values.  Remove those
	elements from return value that are not faces.
	(describe-face): Simplify.
	(face-at-point): New optional args thing and multiple so that this
	function can provide the same functionality previously provided by
	read-face-name.
	(make-face-bold, make-face-unbold, make-face-italic)
	(make-face-unitalic, make-face-bold-italic, invert-face)
	(modify-face, read-face-and-attribute): Use face-at-point.

	* cus-edit.el (customize-face, customize-face-other-window)
	* cus-theme.el (custom-theme-add-face)
	* face-remap.el (buffer-face-set)
	* facemenu.el (facemenu-set-face): Use face-at-point.

1440 1441 1442 1443
2013-04-12  Michael Albinus  <michael.albinus@gmx.de>

	* info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".

1444 1445 1446 1447 1448
2013-04-10  Tassilo Horn  <tsdh@gnu.org>

	* textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
	off leading { and trailing } from field values.

1449 1450
2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>

1451 1452 1453 1454 1455 1456 1457
	* emacs-lisp/timer.el (timer--check): New function.
	(timer--time, timer-set-function, timer-event-handler): Use it.
	(timer-set-idle-time): Simplify.
	(timer--activate): CSE.
	(timer-event-handler): Give more info in error message.
	(internal-timer-start-idle): New function, moved from C.

1458 1459 1460 1461 1462 1463
	* mpc.el (mpc-proc): Add `restart' argument.
	(mpc-proc-cmd): Use it.
	(mpc--status-timer-run): Also catch signals from `mpc-proc'.
	(mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
	less often.

1464 1465 1466 1467 1468 1469 1470
2013-04-10  Masatake YAMATO  <yamato@redhat.com>

	* progmodes/sh-script.el: Implement `sh-mode' own
	`add-log-current-defun-function' (bug#14112).
	(sh-current-defun-name): New function.
	(sh-mode): Use the function.

1471 1472 1473 1474
2013-04-09  Bastien Guerry  <bzg@gnu.org>

	* simple.el (choose-completion-string): Fix docstring (bug#14163).

1475 1476
2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>

1477 1478
	* emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).

1479 1480 1481
	* emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
	timer (bug#14156).

1482 1483 1484 1485 1486
2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>

	* emacs-lisp/ert.el (should, should-not, should-error): Add edebug
	declaration.

Leo Liu's avatar
Leo Liu committed
1487 1488 1489 1490
2013-04-07  Leo Liu  <sdl.web@gmail.com>

	* pcmpl-x.el: New file.

1491