aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/emacs-lisp/re-builder.el (reb-color-display-p):Dmitry Antipov2013-07-311-2/+2
| | | | | | | | * lisp/files.el (save-buffers-kill-terminal): * lisp/net/browse-url.el (browse-url): * lisp/server.el (server-save-buffers-kill-terminal): * lisp/textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): Prefer nil to selected-frame for the first arg of frame-parameter.
* Add `remember-notes' function to store random notes across EmacsMichal Nazarewicz2013-06-301-16/+117
| | | | | | | | | | | | | | | | | | | | | | | | restarts. * remember.el (remember-data-file): Add :set callback to affect notes buffer (if any). (remember-notes): New command. (remember-notes-buffer-name, bury-remember-notes-on-kill): New defcustoms for the `remember-notes' function. (remember-notes-save-and-bury-buffer): New command. (remember-notes-mode-map): New variable. (remember-mode): New minor mode. (remember-notes--kill-buffer-query): New function. * lisp/startup.el (initial-buffer-choice): Add notes to custom type. * src/buffer.c (FKill_buffer): Run `kill-buffer-query-functions' before checking whether buffer is modified. This lets `kill-buffer-query-functions' cancel killing of the buffer or save its content before `kill-buffer' asks user the "Buffer %s modified; kill anyway?" question. * remember.el (remember-append-to-file): Don't mix `find-buffer-visiting' and `get-file-buffer'. * lisp/files.el (find-file-noselect): Simplify conditional expression.
* bibtex-generate-url-list): Add support for DOI URLsRoland Winkler2013-06-251-1/+5
|
* bibtex-mode: Update imenu-support when dialect changesRoland Winkler2013-06-251-4/+4
|
* Add log2 support and make log10 obsolete for consistency.Paul Eggert2013-06-201-2/+2
| | | | | | | | | | * configure.ac (log2): Check for this function. * doc/lispref/numbers.texi (Math Functions): Remove obsolete function log10. * lisp/subr.el (log10): Move here from C code, and declare as obsolete. All uses of (log10 X) replaced with (log X 10). * src/floatfns.c (Flog) [HAVE_LOG2]: Use log2 if available and if the base is 2; this is more accurate. (Flog10): Move to Lisp (marked obsolete there).
* * lisp/textmodes/reftex.el (bibtex-mode-map): DeclareGlenn Morris2013-06-181-0/+2
|
* * textmodes/reftex-cite.el (reftex-cite-regexp-hist)Tassilo Horn2013-06-122-146/+137
| | | | | | | | | | | | | | | | | | | (reftex-citation-prompt, reftex-default-bibliography) (reftex-bib-or-thebib, reftex-get-bibfile-list) (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries) (reftex-bib-sort-author, reftex-bib-sort-year) (reftex-bib-sort-year-reverse, reftex-get-crossref-alist) (reftex-extract-bib-entries-from-thebibliography) (reftex-get-bibkey-default, reftex-get-bib-names) (reftex-parse-bibtex-entry, reftex-get-bib-field) (reftex-format-bib-entry, reftex-parse-bibitem) (reftex-format-bibitem, reftex-do-citation) (reftex-figure-out-cite-format, reftex-offer-bib-menu) (reftex-restrict-bib-matches, reftex-extract-bib-file) (reftex-insert-bib-matches, reftex-format-citation) (reftex-make-cite-echo-string, reftex-bibtex-selection-callback) (reftex-create-bibtex-file): Add docstrings, mostly by converting existing comments into docstrings.
* * lisp/textmodes/reftex.el (reftex-ref-style-toggle): Fix deactivateTassilo Horn2013-05-231-1/+1
| | | | action.
* * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist): Add cleverefTassilo Horn2013-05-231-1/+3
| | | | macros.
* * lisp/textmodes/reftex-parse.el (reftex-locate-bibliography-files):Tassilo Horn2013-05-232-3/+3
| | | | | | Accept options for bibliography commands. * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands): Add addbibresource. Basic Biblatex support.
* Silence some compiler warningsGlenn Morris2013-05-212-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * calculator.el (electric, ehelp): No need to load when compiling. (Electric-command-loop, electric-describe-mode): Declare. * doc-view.el (doc-view-current-converter-processes): Move before use. * files.el (dired-unmark): * progmodes/gud.el (gdb-input): Update declarations. * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Move MODE-set-explicitly definition before use. * erc/erc-log.el (erc-network-name): Declare. * erc/erc-notify.el (pcomplete--here): Declare. (pcomplete/erc-mode/NOTIFY): Require pcomplete. * international/mule-diag.el (mule-diag): Don't use obsolete window-system-version. * mail/feedmail.el (smtpmail): No need to load when compiling. (smtpmail-via-smtp, smtpmail-smtp-server): Declare. * mail/mail-utils.el (rfc822): No need to load when compiling. (rfc822-addresses): Autoload it. (mail-strip-quoted-names): Trivial simplification. * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare. (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm. * net/snmp-mode.el (tempo): Don't duplicate requires. * progmodes/prolog.el (info): No need to load when compiling. (comint): Require before shell requires it. (Info-goto-node): Autoload it. (Info-follow-nearest-node): Declare. (prolog-help-info, prolog-goto-predicate-info): No need to require info. * textmodes/artist.el (picture-mode-exit): Declare. * textmodes/reftex-parse.el (reftex-parse-from-file): Trivial rewrite so the compiler can parse it better. * url/url-dav.el (url-http): Require it. (url-http-head-file-attributes): Don't autoload it. * url/url-proxy.el (url-http): Autoload it.
* Misc custom group fixesGlenn Morris2013-05-152-5/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. * cedet/semantic/symref/list.el (semantic-symref-auto-expand-results) (semantic-symref-results-mode-hook) (semantic-symref-results-summary-function): Fix :group. * erc/erc-list.el (erc-list): * erc/erc-menu.el (erc-menu): * erc/erc-ring.el (erc-ring): Define custom groups, for define-erc-module. * gnus/shr-color.el (shr-color-visible-luminance-min) (shr-color-visible-distance-min): Use shr-color group. * url/url-news.el (url-news): Remove empty custom group.
* Fix a bunch of custom types (thank you cus-test.el)Glenn Morris2013-05-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/bookmark.el (bookmark-search-delay): * lisp/cus-start.el (vertical-centering-font-regexp): * lisp/ps-mule.el (ps-mule-font-info-database-default): * lisp/ps-print.el (ps-default-fg, ps-default-bg): * lisp/type-break.el (type-break-good-break-interval): * lisp/whitespace.el (whitespace-indentation-regexp) (whitespace-space-after-tab-regexp): * lisp/emacs-lisp/testcover.el (testcover-1value-functions) (testcover-noreturn-functions, testcover-progn-functions) (testcover-prog1-functions): * lisp/emulation/viper-init.el (viper-emacs-state-cursor-color): * lisp/erc/erc-desktop-notifications.el (erc-notifications-icon): * lisp/eshell/em-glob.el (eshell-glob-translate-alist): * lisp/gnus/gnus-art.el (gnus-article-date-headers, gnus-blocked-images): * lisp/gnus/gnus-async.el (gnus-async-post-fetch-function): * lisp/gnus/gnus-gravatar.el (gnus-gravatar-size, gnus-gravatar-properties): * lisp/gnus/gnus-html.el (gnus-html-image-cache-ttl): * lisp/gnus/gnus-notifications.el (gnus-notifications-timeout): * lisp/gnus/gnus-picon.el (gnus-picon-properties): * lisp/gnus/gnus-util.el (gnus-completion-styles): * lisp/gnus/gnus.el (gnus-other-frame-resume-function): * lisp/gnus/message.el (message-user-organization-file) (message-cite-reply-position): * lisp/gnus/nnir.el (nnir-summary-line-format) (nnir-retrieve-headers-override-function): * lisp/gnus/shr-color.el (shr-color-visible-luminance-min): * lisp/gnus/shr.el (shr-blocked-images): * lisp/gnus/spam-report.el (spam-report-resend-to): * lisp/gnus/spam.el (spam-summary-exit-behavior): * lisp/mh-e/mh-e.el (mh-sortm-args, mh-default-folder-for-message-function): * lisp/play/tetris.el (tetris-tty-colors): * lisp/progmodes/cpp.el (cpp-face-default-list): * lisp/progmodes/flymake.el (flymake-allowed-file-name-masks): * lisp/progmodes/idlw-help.el (idlwave-help-browser-generic-program) (idlwave-help-browser-generic-args): * lisp/progmodes/make-mode.el (makefile-special-targets-list): * lisp/progmodes/python.el (python-shell-virtualenv-path): * lisp/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): * lisp/textmodes/reftex-vars.el (reftex-format-label-function): * lisp/textmodes/remember.el (remember-diary-file): Fix custom types. * lisp/cedet/semantic/db-find.el (semanticdb-find-throttle-custom-list): Fix value. * lisp/gnus/gnus-salt.el (gnus-selected-tree-face): Fix default.
* Fix docstring buglet in remember.elReuben Thomas2013-04-271-1/+2
|
* Add missing reftex-label-ignored-macros-and-environments :version tagGlenn Morris2013-04-261-0/+1
|
* * textmodes/remember.el (remember-data-directory)Bastien Guerry2013-04-251-2/+4
| | | | | | (remember-directory-file-name-format): Fix custom types. Thanks to Glenn Morris for reporting these problems and for the fixes.
* * textmodes/reftex-vars.elTassilo Horn2013-04-252-2/+31
| | | | | | (reftex-label-ignored-macros-and-environments): New defcustom. * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
* * textmodes/remember.el (remember-handler-functions): Add anBastien Guerry2013-04-241-1/+23
| | | | | | | | 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.
* Fix recursive load issue with reftex.el and reftex-vars.el.Tassilo Horn2013-04-232-2/+2
|
* * textmodes/reftex.el (reftex-compile-variables): Add autoloadTassilo Horn2013-04-231-0/+1
| | | | cookie.
* * textmodes/reftex-vars.el (reftex-label-regexps): CallTassilo Horn2013-04-231-1/+8
| | | | `reftex-compile-variables' after changes to this variable.
* textmodes/flyspell.el: Don't check pre-word if buffer was switched.Agustín Martín2013-04-171-14/+11
| | | | | | | | | | | | | | | | | | If command changed the buffer, the decision may be made based on the current buffer even though it should based on the previous one. This may lead to false positives and more importantly to errors since `flyspell-pre-point' is buffer local so it may have unsanitised value (such as nil) in previous buffer. To be honest, I'm not sure how this can happen since `flyspell-pre-point' is set in previous buffer, but nonetheless, I've been encountering the error for quite some time and finally decided to fix it. Interestingly, line making `flyspell-pre-point' a buffer-local variable has a very revealing "Why?? --Stef" comment. To avoid the problem, change flyspell-check-pre-word-p so that it does not allow checking of pre-word if command changed buffer (ie. `flyspell-pre-buffer' is not current buffer).
* ispell.el: use `comment-normalize-vars' in ispell-add-per-file-word-list ↵Agustín Martín2013-04-171-2/+7
| | | | (Bug #14214).
* ispell.el: No longer mark as wrong-by-flyspell words just accepted by ispell ↵Agustín Martín2013-04-151-0/+4
| | | | | | | (bug #14178). textmodes/ispell.el (ispell-command-loop): Remove flyspell highlighting of a word when ispell accepts it (bug #14178).
* * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.Tassilo Horn2013-04-152-7/+15
| | | | * textmodes/reftex.el (reftex-compile-variables): Use it.
* lisp/textmodes/bibtex.el (bibtex-search-entries): Bug fixRoland Winkler2013-04-131-13/+16
|
* lisp/textmodes/bibtex.el (bibtex-url): Doc fixRoland Winkler2013-04-131-0/+3
|
* lisp/textmodes/bibtex.el (bibtex-initialize): If the current buffer does not ↵Roland Winkler2013-04-131-7/+12
| | | | visit a BibTeX file, exclude it from the list of buffers returned by bibtex-initialize
* * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cutTassilo Horn2013-04-101-6/+0
| | | | off leading { and trailing } from field values.
* ispell.el (ispell-set-spellchecker-params): Really set `ispell-args' for all ↵Agustín Martín2013-04-051-1/+2
| | | | | | | equivs. Was not actually modifying ispell-args for dicts where it was nil before. Thanks Jacek Chrzaszcz.
* Use locate-user-emacs-file.Stefan Monnier2013-03-111-1/+1
| | | | | | | | | | | | | | | | | * lisp/type-break.el (type-break-file-name): * lisp/textmodes/remember.el (remember-data-file): * lisp/strokes.el (strokes-file): * lisp/shadowfile.el (shadow-initialize): * lisp/saveplace.el (save-place-file): * lisp/ps-bdf.el (bdf-cache-file): * lisp/progmodes/idlwave.el (idlwave-config-directory): * lisp/net/quickurl.el (quickurl-url-file): * lisp/international/kkc.el (kkc-init-file-name): * lisp/ido.el (ido-save-directory-list-file): * lisp/emulation/viper.el (viper-custom-file-name): * lisp/emulation/vip.el (vip-startup-file): * lisp/calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top): * lisp/calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
* Prefer UTF-8 when the encoding shouldn't matter and changes are small.Paul Eggert2013-03-053-6/+6
|
* Spelling fixes.Paul Eggert2013-03-021-1/+1
|
* * lisp/textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.Stefan Monnier2013-03-011-184/+187
| | | | | | (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer. (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer. Use dict-key rather than dict-name for the error message.
* textmodes/ispell.el: Expand hunspell affix-file paths. Improve debug ↵Agustín Martín2013-03-011-1/+2
| | | | | | | | | | messages printing. * textmodes/ispell.el (ispell-find-hunspell-dictionaries): Always expand affix-file before storing to protect against changed `default-directory'. (ispell-print-if-debug): Make sure message is printed at the end of the debug buffer.
* * lisp/textmodes/sgml-mode.el (sgml-syntax-propertize-function):Dale Sedivec2013-02-281-3/+3
| | | | | | | Return valid syntax-table property value when converting quotes within text from string syntax to punctuation syntax. Fixes: debbugs:13844
* Initial support for hunspell dictionaries auto-detection (Bug#13639)Agustín Martín2013-02-281-24/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * textmodes/ispell.el (ispell-find-hunspell-dictionaries): Ask hunspell about available and default dictionaries. (ispell-parse-hunspell-affix-file): Extract relevant info from hunspell affix file. (ispell-hunspell-fill-dictionary-entry): Fill non-initialized `ispell-dictionary-alist' entry for given dictionary after info provided by `ispell-parse-hunspell-affix-file'. (ispell-hunspell-dict-paths-alist): New defvar to contain an alist of parsed hunspell dicts and associated affix files. (ispell-hunspell-dictionary-alist): New defvar to contain an alist of parsed hunspell dicts and associated parameters. (ispell-set-spellchecker-params): Call `ispell-find-hunspell-dictionaries' if hunspell and not previously done. (ispell-start-process): Call `ispell-hunspell-fill-dictionary-entry' for current dictionary if it is not initialized. Some additional details about the implementation: (ispell-hunspell-dict-paths-alist): Alist that contains a list of parsed hunspell dicts and associated affix files. (ispell-hunspell-dictionary-alist): Alist of parsed hunspell dicts and associated parameters. It is initially just a list of found dictionaries except for the default dictionary where is filled with proper parameters. When spellchecker is initialized by (ispell-set-spellchecker-params) if the conditions: is hunspell, communication can be set to UTF-8 and Emacs flavor supports [:alpha:] are matched installed hunspell dictionaries are parsed and info passed to `ispell-hunspell-dictionary-alist', either full for default dictionary or just name for other dictionaries. These entries are used for `ispell-dictionary-alist' if not overriden. Before starting hunspell process in (ispell-start-process), if `ispell-dictionary-alist' entry is not yet initialized (ispell-hunspell-fill-dictionary-entry) is called to fill that entry (and all pending entries using the same affix file) after info extracted by (ispell-parse-hunspell-affix-file) from the associated affix file. hunspell process will then be started as usual. This delayed procedure is used to avoid that in systems containing many hunspell dictionaries all affix files are parsed (if there are many, time may be noticeable) for just one used dictionary.
* Merge from emacs-24; up to 2012-12-23T02:41:17Z!rgm@gnu.orgGlenn Morris2013-02-271-2/+2
|\
| * * lisp/textmodes/paragraphs.el (mark-paragraph): Doc fix.Glenn Morris2013-02-251-2/+2
| |
* | Add bug-gnu-emacs to some specialized bug report addressesGlenn Morris2013-02-232-2/+2
| | | | | | | | | | | | | | | | | | | | * emulation/viper-cmd.el (viper-submit-report): * progmodes/ps-mode.el (ps-mode-maintainer-address): * progmodes/vera-mode.el (vera-mode-help-address): * textmodes/artist.el (artist-maintainer-address): * textmodes/reftex.el (reftex-report-bug): * vc/ediff-util.el (ediff-submit-report): Add bug-gnu-emacs to bug report address.
* | Merge from emacs-24; up to 2012-12-22T02:59:08Z!cyd@gnu.orgGlenn Morris2013-02-221-1/+4
|\ \ | |/
| * * lisp/isearch.el (isearch-lazy-highlight-new-loop):Juri Linkov2013-02-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' to `isearch-other-end' if it is not nil. * lisp/replace.el (replace-highlight): Let-bind `isearch-other-end' to `match-beg'. * lisp/textmodes/ispell.el (ispell-highlight-spelling-error-overlay): Let-bind `isearch-other-end' to `start', `isearch-forward' to t and `isearch-error' to nil. Fixes: debbugs:13402
* | Use derived-mode-p in previous changeGlenn Morris2013-02-211-1/+1
| |
* | Tweak for sgml-transformation-function Glenn Morris2013-02-211-12/+19
| | | | | | | | | | | | * lisp/textmodes/sgml-mode.el (sgml-xml-mode): Move before use. (sgml-transformation-function): Give it a :set function. (sgml-tag): Doc fix.
* | Doc fixes re set-variableGlenn Morris2013-02-211-3/+1
| | | | | | | | | | | | | | * lisp/cmuscheme.el (scheme-buffer): * lisp/progmodes/inf-lisp.el (inferior-lisp-buffer): * lisp/progmodes/tcl.el (inferior-tcl-buffer): * lisp/textmodes/tex-mode.el (tex-command): Doc fixes.
* | Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.orgGlenn Morris2013-02-121-3/+3
|\ \ | |/
| * In doc, use standard American English style for e.g., etc., i.e.Paul Eggert2013-02-121-3/+3
| |
* | Merge from emacs-24; up to 2012-12-13T09:45:54Z!lekktu@gmail.comGlenn Morris2013-02-011-2/+1
|\ \ | |/
| * * lisp/textmodes/remember.el (remember-clipboard): Doc fix.Glenn Morris2013-01-311-2/+1
| |
* | ispell.el: Make sure hunspell specific dict names are used for standard ↵Agustín Martín2013-01-211-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | dicts when using hunspell. (ispell-hunspell-dictionary-equivs-alist): New variable to map standard dict names to hunspell ones. (ispell-set-spellchecker-params): Make sure specific dict names are used for standard dicts with hunspell. If a mapping is missing, skip that dictionary. Fixes: debbugs:13460