Chong Yidong
d02766abd7
* lisp/progmodes/grep.el (grep, rgrep): Doc fix.
...
Fixes: debbugs:11268
2012-04-18 14:04:51 +08:00
Alan Mackenzie
f0f6bc351b
CC Mode: Ensure searching for keywords is case sensitive.
2012-04-16 20:01:44 +00:00
Alan Mackenzie
57f845ee63
Make imenu work again for Objective C Mode.
2012-04-11 18:09:10 +00:00
Alan Mackenzie
0de3da9f2f
Correct two search limits in c-before-change-check_<>-operators.
2012-04-11 15:32:30 +00:00
Stefan Monnier
81fdff0036
* lisp/progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
...
(perl-calculate-indent): Return `noindent' in strings.
2012-03-29 23:13:04 -04:00
Paul Eggert
425df10c7b
Spelling fixes.
2012-03-28 00:24:26 -07:00
Liang Wang
126f3d39bb
* lisp/progmodes/etags.el (etags-list-tags): Only use tags which goto-func
...
understands.
Fixes: debbugs:9942
2012-03-22 10:46:05 -04:00
Dmitry Gutov
396750161e
* lisp/progmodes/ruby-mode.el: Don't confuse "end:" for "end".
...
(ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
(ruby-beginning-of-indent): Be more careful with the difference
between word-boundary and symbol boundary.
(ruby-mode-syntax-table): Make : a symbol constituent.
Fixes: debbugs:10786
2012-03-21 14:33:07 -04:00
Stefan Monnier
af67c9d7cd
* progmodes/etags.el (tags-completion-at-point-function): Improve last fix.
2012-03-21 13:50:28 -04:00
Sam Steingold
e298b5da3d
* lisp/progmodes/etags.el (tags-completion-at-point-function):
...
Avoid the error when point is inside the pattern.
2012-03-21 13:17:23 -04:00
John Yates
91d82a7029
* progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first line.
...
Fixes: debbugs:10855
2012-03-22 01:02:09 +08:00
Alan Mackenzie
2e492df3cd
Further optimise the handling of large macros.
2012-03-16 14:10:54 +00:00
Stefan Monnier
663b16775f
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
...
Fix up parsing of multiline twoarg non-paired elements.
Fixes: debbugs:11014
2012-03-14 23:09:26 -04:00
Kaushik Srenevasan
4a07df36a5
GDB change for dynamically generated code (tiny change)
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00753.html
* lisp/progmodes/gdb-mi.el (gdb-invalidate-disassembly):
For dynamically generated code, follow $PC.
(gdb-disassembly-handler-custom): Handle no function name case.
Fixes: debbugs:10597
2012-03-13 00:07:10 -07:00
Paul Eggert
f003f29445
Spelling fixes.
2012-03-12 15:35:55 -07:00
Alan Mackenzie
9cec78342c
Make c-mark-defun extend region when repeated, and leave a mark.
...
Fixes bugs #5525 , #10906 .
2012-03-08 11:32:57 +00:00
Kaushik Srenevasan
133b8e1120
Small gdb-breakpoints fix (tiny change)
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00753.html
* lisp/progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
Handle breakpoints with no "type".
2012-03-06 00:37:38 -08:00
Alan Mackenzie
56d093a9c8
Depessimize the handling of very large macros.
2012-03-02 22:16:21 +00:00
Michael Mauger
f6561e1f9a
2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
...
* progmodes/sql.el: Bug fix
(sql-get-login-ext): Save login values in globals.
(sql-get-login): Use new version of `sql-get-login-ext'.
(sql-interactive-mode): Set global `sql-connection' to nil.
(sql-connect): Set global values for connection.
(sql-product-interactive): Save global values as buffer local.
2012-03-01 00:01:22 -05:00
Glenn Morris
44e97401cd
Standardize possessive apostrophe usage in manuals, docs, and comments
...
Ref: http://lists.gnu.org/archive/html/emacs-devel/2012-02/msg00649.html
2012-02-28 00:17:21 -08:00
Jim Blandy
4fd9655790
Fix handling of commands containing double quotes in gdb-mi
...
* lisp/progmodes/gdb-mi.el (gdb-mi-quote): New function.
(gdb-send): Apply it to the operand of the '-interpreter-exec
console' command, so that we can pass arguments with (say) quotes
in them. Store exact string sent in gdb-debug-log (Bug#10765).
2012-02-26 17:38:45 +08:00
Glenn Morris
b4d8d5e6eb
Reword comment to avoid confusing authors.el
2012-02-22 21:01:58 -05:00
Alan Mackenzie
f41ce09dbd
Revert Change #107149 .
2012-02-22 19:34:32 +00:00
Glenn Morris
daf3dc7906
Small header fixes
2012-02-20 12:24:24 -08:00
Alan Mackenzie
c14fcc9571
Fix a loop in c-set-fl-decl-start.
2012-02-13 17:18:07 +00:00
Alan Mackenzie
0bc5886ace
Fix infinite loop with long macros.
2012-02-12 11:06:42 +00:00
Glenn Morris
2bed3f0483
Add missing :version tags to new defgroups and defcustoms
...
* window.el (window-sides-slots):
* tool-bar.el (tool-bar-position):
* term/xterm.el (xterm-extra-capabilities):
* ses.el (ses-self-reference-early-detection):
* progmodes/verilog-mode.el (verilog-auto-declare-nettype)
(verilog-auto-wire-type)
(verilog-auto-delete-trailing-whitespace)
(verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
(verilog-auto-tieoff-declaration):
* progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
(sql-oracle-statement-starters, sql-oracle-scan-on):
* progmodes/prolog.el (prolog-align-comments-flag)
(prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
(prolog-left-indent-regexp, prolog-paren-indent-p)
(prolog-paren-indent, prolog-parse-mode, prolog-keywords)
(prolog-types, prolog-mode-specificators)
(prolog-determinism-specificators, prolog-directives)
(prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
(prolog-electric-dot-flag)
(prolog-electric-dot-full-predicate-template)
(prolog-electric-underscore-flag, prolog-electric-tab-flag)
(prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
(prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
(prolog-program-switches, prolog-prompt-regexp)
(prolog-debug-on-string, prolog-debug-off-string)
(prolog-trace-on-string, prolog-trace-off-string)
(prolog-zip-on-string, prolog-zip-off-string)
(prolog-use-standard-consult-compile-method-flag)
(prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
(prolog-imenu-max-lines, prolog-info-predicate-index)
(prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
(prolog-char-quote-workaround):
* progmodes/cc-vars.el (c-defun-tactic):
* net/tramp.el (tramp-encoding-command-interactive)
(tramp-local-end-of-line):
* net/soap-client.el (soap-client):
* net/netrc.el (netrc-file):
* net/gnutls.el (gnutls):
* minibuffer.el (completion-category-overrides)
(completion-cycle-threshold)
(completion-pcm-complete-word-inserts-delimiters):
* man.el (Man-name-local-regexp):
* mail/feedmail.el (feedmail-display-full-frame):
* international/characters.el (glyphless-char-display-control):
* eshell/em-ls.el (eshell-ls-date-format):
* emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
(lisp-lambda-list-keyword-parameter-indentation)
(lisp-lambda-list-keyword-parameter-alignment):
* doc-view.el (doc-view-image-width, doc-view-unoconv-program):
* dired-x.el (dired-omit-verbose):
* cus-theme.el (custom-theme-allow-multiple-selections):
* calc/calc.el (calc-highlight-selections-with-faces)
(calc-lu-field-reference, calc-lu-power-reference)
(calc-note-threshold):
* battery.el (battery-mode-line-limit):
* arc-mode.el (archive-7z-extract, archive-7z-expunge)
(archive-7z-update):
* allout.el (allout-prefixed-keybindings)
(allout-unprefixed-keybindings)
(allout-inhibit-auto-fill-on-headline)
(allout-flattened-numbering-abbreviation):
* allout-widgets.el (allout-widgets-auto-activation)
(allout-widgets-icons-dark-subdir)
(allout-widgets-icons-light-subdir, allout-widgets-icon-types)
(allout-widgets-theme-dark-background)
(allout-widgets-theme-light-background)
(allout-widgets-item-image-properties-emacs)
(allout-widgets-item-image-properties-xemacs)
(allout-widgets-run-unit-tests-on-load)
(allout-widgets-time-decoration-activity)
(allout-widgets-hook-error-post-time)
(allout-widgets-track-decoration):
* gnus/sieve-manage.el (sieve-manage-default-stream):
* gnus/shr.el (shr):
* gnus/nnir.el (nnir-ignored-newsgroups, nnir-summary-line-format)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-notmuch-program)
(nnir-notmuch-additional-switches, nnir-notmuch-remove-prefix)
(nnir-method-default-engines):
* gnus/message.el (message-cite-reply-position):
* gnus/gssapi.el (gssapi-program):
* gnus/gravatar.el (gravatar):
* gnus/gnus-sum.el (gnus-refer-thread-use-nnir):
* gnus/gnus-registry.el (gnus-registry-unfollowed-addresses)
(gnus-registry-max-pruned-entries):
* gnus/gnus-picon.el (gnus-picon-inhibit-top-level-domains):
* gnus/gnus-int.el (gnus-after-set-mark-hook)
(gnus-before-update-mark-hook):
* gnus/gnus-async.el (gnus-async-post-fetch-function):
* gnus/auth-source.el (auth-source-cache-expiry):
Add missing :version tags to new defcustoms and defgroups.
2012-02-11 14:13:29 -08:00
Glenn Morris
5fec1b8e29
Add missing custom types to sql.el
...
* lisp/progmodes/sql.el (sql-ansi-statement-starters)
(sql-oracle-statement-starters): Add custom type.
2012-02-11 13:35:50 -08:00
Glenn Morris
3e0d2fa76e
Small prolog.el defcustom fixes
...
* lisp/progmodes/prolog.el: Remove leading '*' from defcustom docs.
(prolog-system-version): Give it a type.
2012-02-11 13:19:22 -08:00
Leo Liu
5eac0c026f
Fix infinite loop in python-end-of-statement
...
http://debbugs.gnu.org/10788
2012-02-11 12:20:16 +08:00
Glenn Morris
354998cdb6
Add some custom :version tags
...
* lisp/progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
Add :version tags.
2012-02-08 23:59:13 -08:00
Glenn Morris
34c071c64b
* lisp/progmodes/compile.el (compilation-filter-start): Doc fix.
...
* etc/NEWS: Related edit.
2012-02-08 23:28:32 -08:00
Glenn Morris
8327412569
Doc fixes for compile.el
...
* lisp/progmodes/compile.el (compilation-first-column)
(compilation-error-screen-columns): Doc fixes.
* etc/NEWS: Related markup.
2012-02-08 23:24:30 -08:00
Glenn Morris
34e8a2da58
Shorten SQL mode NEWS entry, moving more details to doc strings
...
* lisp/progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
(sql-list-table): Doc fixes.
* etc/NEWS: Related edits.
2012-02-07 23:54:09 -08:00
Glenn Morris
e1ac4066d1
Minor-mode doc fixes for ARG behavior
...
* lisp/completion.el (dynamic-completion-mode):
* lisp/dirtrack.el (dirtrack-debug-mode):
* lisp/electric.el (electric-layout-mode):
* lisp/epa-mail.el (epa-mail-mode, epa-global-mail-mode):
* lisp/face-remap.el (text-scale-mode, buffer-face-mode):
* lisp/iimage.el (iimage-mode):
* lisp/image-mode.el (image-transform-mode):
* lisp/minibuffer.el (completion-in-region-mode):
* lisp/scroll-lock.el (scroll-lock-mode):
* lisp/simple.el (next-error-follow-minor-mode):
* lisp/tar-mode.el (tar-subfile-mode):
* lisp/tooltip.el (tooltip-mode):
* lisp/vcursor.el (vcursor-use-vcursor-map):
* lisp/wid-browse.el (widget-minor-mode):
* lisp/emulation/tpu-edt.el (tpu-edt-mode):
* lisp/emulation/tpu-extras.el (tpu-cursor-free-mode):
* lisp/international/iso-ascii.el (iso-ascii-mode):
* lisp/language/thai-util.el (thai-word-mode):
* lisp/mail/supercite.el (sc-minor-mode):
* lisp/net/goto-addr.el (goto-address-mode):
* lisp/net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
* lisp/progmodes/cwarn.el (cwarn-mode):
* lisp/progmodes/flymake.el (flymake-mode):
* lisp/progmodes/glasses.el (glasses-mode):
* lisp/progmodes/hideshow.el (hs-minor-mode):
* lisp/progmodes/pascal.el (pascal-outline-mode):
* lisp/textmodes/enriched.el (enriched-mode):
* lisp/vc/smerge-mode.el (smerge-mode):
Doc fixes (minor mode argument).
* etc/NEWS: Related markup.
2012-02-07 21:12:24 -05:00
Alan Mackenzie
98d7371e7a
Fix spurious recognition of c-in-knr-argdecl.
2012-02-07 15:19:52 +00:00
Alan Mackenzie
667ced3a2d
cc-engine.el (c-forward-objc-directive): Prevent looping in "#pragma mark
...
@implementation".
2012-02-07 12:01:42 +00:00
Lars Ingebrigtsen
5cc59a3789
Allow calling C fontification while rendering MIME parts
...
* progmodes/cc-mode.el
(c-standard-font-lock-fontify-region-function): Set the default at
load time, too, so that `font-lock-fontify-buffer' can be called
without setting up the entire mode first. This fixes a bug in
`mm-inline-text' with C MIME parts.
2012-02-06 23:08:41 +01:00
Andreas Schwab
1ff980ae49
* progmodes/gud.el (gud-pv): Use pv instead of pv1.
...
* progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
2012-02-05 09:06:37 +01:00
Glenn Morris
6035be5240
Copy 2012-01-25 compilation-next-error-function change to another function.
...
* lisp/progmodes/compile.el (compilation-internal-error-properties):
Respect compilation-first-column in the "*compilation*" buffer.
2012-01-31 23:32:21 -08:00
Glenn Morris
9e7056a545
Fix previous change.
2012-01-31 18:47:33 -05:00
Glenn Morris
d0045ba061
Comment trivia.
2012-01-31 18:43:05 -05:00
Alan Mackenzie
abbceb009c
Fix an off by one error in c-guess-basic-syntax CASE 5B.1.
2012-01-31 21:59:58 +00:00
Juanma Barranquero
4789358111
lisp/progmodes/cwarn.el: Small fixes.
...
(cwarn): Remove dead link.
(cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
Remove * from defcustom docstrings.
(turn-on-cwarn-mode): Make obsolete.
(c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
(turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
2012-01-31 03:57:00 +01:00
Syver Enstad
6b25e4e27d
Fix pdb path handling.
...
* progmodes/gud.el (pdb): Give pdb full paths, to allow setting
breakpoints in files outside current directory.
* lisp/progmodes/python.el: Require ansi-color at top-level.
Fixes: debbugs:6098
2012-01-29 15:06:54 +08:00
Glenn Morris
48da739227
Doc fix for lexical-binding being in line one.
...
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html
* doc/lispref/variables.texi (Using Lexical Binding):
Mention that lexical-binding should be set in the first line.
* src/lread.c (syms_of_lread): Doc fix.
* lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el:
Move lexical-binding file-local to line one.
* etc/NEWS: lexical-binding should be ine the first line.
2012-01-25 22:30:49 -08:00
Glenn Morris
5ddce96c61
compile/grep fix for bug#10594
...
* lisp/progmodes/compile.el (compilation-next-error-function):
Respect compilation-first-column in the "*compilation*" buffer.
* lisp/progmodes/grep.el (grep-first-column): New variable.
2012-01-24 21:01:22 -05:00
Alan Mackenzie
9657183b6f
Eliminate sluggishness and hangs in fontification of "semicolon deserts".
...
cc-engine.el (c-state-nonlit-pos-interval): change value 10000 -> 3000.
(c-state-safe-place): Reformulate so it doesn't stack up an infinite
number of wrong entries in c-state-nonlit-pos-cache.
(c-determine-limit-get-base, c-determine-limit): New functions to
determine backward search limits disregarding literals.
(c-find-decl-spots): Amend commenting.
(c-cheap-inside-bracelist-p): New function which detects "={".
cc-fonts.el (c-make-font-lock-BO-decl-search-function): Give a limit to a
backward search.
(c-font-lock-declarations): Fix an occurrence of point being undefined.
Check additionally for point being in a bracelist or near a macro
invocation without a semicolon so as to avoid a fruitless time consuming
search for a declarator. Give a more precise search limit for
declarators using the new c-determine-limit.
2012-01-18 13:19:31 +00:00
Alan Mackenzie
b493658e2c
Fix filling for when filladapt mode is enabled.
2012-01-13 10:59:27 +00:00
Alan Mackenzie
2cc769a8c3
Fix Emacs bug #10463 - put `widen's around the critical spots.
2012-01-11 22:21:44 +00:00