summaryrefslogtreecommitdiff
path: root/doc/emacs/basic.texi
Commit message (Collapse)AuthorAgeFilesLines
...
* New minor mode Electric QuotePaul Eggert2015-05-281-0/+6
| | | | | | | | | | | | | | | | | | | This lets you easily insert quotes ‘like this’ by typing quotes `like this', and similarly you can easily insert quotes “like this” by typing quotes ``like this'' (Bug#20545). * doc/emacs/basic.texi (Inserting Text): * doc/emacs/modes.texi (Minor Modes): * etc/NEWS: Document it. * doc/emacs/text.texi (Quotation Marks): New section. * lisp/electric.el (electric-quote-comment) (electric-quote-string, electric-quote-paragraph): New custom vars. (electric--insertable-p) (electric-quote-post-self-insert-function): New functions. (electric-quote-mode, electric-quote-local-mode): New minor modes. * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Add curved single quotes to electric-pair-text-pairs. Set electric-quote-string in this buffer.
* Improve indexing in Emacs manual (Bug#20105)Eli Zaretskii2015-03-141-2/+2
| | | | | | | | | doc/emacs/basic.texi (Moving Point): Improve indexing for HOME and END. doc/emacs/cmdargs.texi (General Variables): Improve indexing for environment variables. doc/emacs/msdog.texi (Windows HOME): doc/emacs/msdog-xtra.texi (MS-DOS File Names): Remove markup from HOME in the index entries.
* Update copyright year to 2015Paul Eggert2015-01-011-1/+1
| | | | Run admin/update-copyright.
* Few more doc fixes for bug #17362.Eli Zaretskii2014-04-291-10/+10
|
* Fix bug #17362 with inconsistent usage of @key and @kbd, and key names.Eli Zaretskii2014-04-291-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/emacs/trouble.texi (Quitting, DEL Does Not Delete, Emergency Escape) (Bug Criteria): Fix usage of @kbd and @key. (Bug#17362) doc/emacs/text.texi (Words, Pages, Foldout, HTML Mode): Fix usage of @kbd and @key. doc/emacs/search.texi (Special Isearch, Regexp Search): Fix usage of @kbd and @key. doc/emacs/screen.texi (Echo Area, Menu Bar): Fix usage of @kbd and @key. doc/emacs/rmail.texi (Rmail Scrolling): Fix usage of @kbd and @key. doc/emacs/programs.texi (Hungry Delete, Other C Commands): Fix usage of @kbd and @key. doc/emacs/picture-xtra.texi (Insert in Picture): Fix usage of @kbd and @key. doc/emacs/mule.texi (Unibyte Mode, Bidirectional Editing): Fix usage of @kbd and @key. doc/emacs/msdog.texi (Windows Keyboard, Windows Processes): Fix usage of @kbd and @key. doc/emacs/msdog-xtra.texi (MS-DOS Keyboard, MS-DOS Printing) (MS-DOS Processes): Fix usage of @kbd and @key. doc/emacs/misc.texi (Shell Ring, Printing Package): Fix usage of @kbd and @key. doc/emacs/mini.texi (Completion Commands, Minibuffer History): Fix usage of @kbd and @key. doc/emacs/kmacro.texi (Keyboard Macro Step-Edit): Fix usage of @kbd and @key. doc/emacs/killing.texi (Deletion, Rectangles, CUA Bindings): Fix usage of @kbd and @key. doc/emacs/indent.texi (Indentation Commands): Fix usage of @kbd and @key. doc/emacs/help.texi (Help Mode, Misc Help): Fix usage of @kbd and @key. doc/emacs/glossary.texi (Glossary): Fix usage of @kbd and @key. doc/emacs/frames.texi (Speedbar): Fix usage of @kbd and @key. doc/emacs/files.texi (Misc File Ops, File Name Cache, File Conveniences) (Filesets): Fix usage of @kbd and @key. doc/emacs/display.texi (View Mode): Fix usage of @kbd and @key. doc/emacs/dired.texi (Image-Dired): Fix usage of @kbd and @key. doc/emacs/custom.texi (Modifier Keys, Function Keys, Named ASCII Chars) (Init Syntax): Fix usage of @kbd and @key. doc/emacs/commands.texi (User Input): Fix usage of @kbd and @key. doc/emacs/calendar.texi (Counting Days, General Calendar): Fix usage of @kbd and @key. doc/emacs/building.texi (Threads Buffer): Fix usage of @kbd and @key. doc/emacs/buffers.texi (Select Buffer, Icomplete): Fix usage of @kbd and @key. doc/emacs/basic.texi (Inserting Text, Erasing, Arguments): Fix usage of @kbd and @key.
* * doc/lispref/modes.texi (Auto-Indentation): Mention electric-indent variables.Stefan Monnier2014-03-181-1/+1
| | | | | | | * doc/misc/cc-mode.texi (Indentation Commands): Remove C-j, since it's not defined by CC-mode but globally. (FAQ): Tweak text about RET and auto-indentation. * doc/misc/vip.texi (Other Vi Commands): Adjust doc of C-j.
* Spelling fixes.Paul Eggert2014-03-021-3/+3
|
* Some doc about electric-indent-mode.Xue Fuqiao2014-02-271-4/+10
| | | | | | | | | | | * doc/lispref/text.texi (Margins): Fix the description of RET and `C-j'. * doc/emacs/programs.texi (Basic Indent): (Other C Commands): Fix the description of RET and `C-j'. * doc/emacs/indent.texi (Indentation Commands): Move the description of `C-j' from here... * doc/emacs/basic.texi (Inserting Text): ... to here.
* Misc small fixes.Juri Linkov2014-01-311-1/+1
| | | | | | | | | | * doc/lispref/searching.texi (String Search): Incremental word search fixes. * lisp/sort.el (delete-duplicate-lines): Remove `:weakness 'key' from `make-hash-table'. * lisp/textmodes/ispell.el (ispell-init-process): Change message format to be consistent with other messages.
* Update copyright year to 2014 by running admin/update-copyright.Paul Eggert2014-01-011-1/+1
|
* Implement visual-order cursor motion.Eli Zaretskii2013-06-291-2/+12
| | | | | | | | | | | | | | | src/xdisp.c (Fmove_point_visually): New function. lisp/bindings.el (visual-order-cursor-movement): New defcustom. (right-char, left-char): Provide visual-order cursor motion by calling move-point-visually. Update the doc strings. doc/emacs/basic.texi (Moving Point): Document visual-order-cursor-movement and its effect on right-char and left-char. doc/lispref/display.texi (Bidirectional Display): Document move-point-visually. etc/NEWS: Document the new feature.
* Update copyright notices for 2013.Paul Eggert2013-01-011-2/+2
|
* Fix minor whitespace issues after "." in manual.Paul Eggert2012-12-051-2/+2
| | | | | | | | | | | | Be more systematic about using "@." (not ".") at end of sentence that ends in a capital letter, and about appending "@:" after non-ends of sentences that end in a lower case letter followed by "." followed by whitespace. Omit unnecessary use of "@:" and "@.". Similarly for "?" and "!". Be more consistent about putting a comma after "i.e." and "e.g."; this is the typical American style and it's easier to code in Texinfo. Fixes: debbugs:12973
* * doc/emacs/basic.texi (Arguments): Fix typos.Dani Moncayo2012-10-101-5/+6
| | | | | Also, remove "tiny change" tags from ChangeLogs; Dani Moncayo now has a copyright assignment.
* Update docs for a bunch of 24.3 changes.Chong Yidong2012-09-301-6/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/killing.texi (Rectangles): Document copy-rectangle-as-kill. * doc/emacs/search.texi (Special Isearch): Document the lax space search feature and M-s SPC. (Regexp Search): Move main search-whitespace-regexp description to Special Isearch. (Replace): Document replace-lax-whitespace. * doc/emacs/basic.texi (Position Info): Document C-u M-=. (Moving Point): Document move-to-column. * doc/emacs/display.texi (Useless Whitespace): Add delete-trailing-lines. * doc/emacs/misc.texi (emacsclient Options): Document the effect of initial-buffer-choice on client frames. Document server-auth-dir. Do not document server-host, which is bad security practice. * doc/emacs/building.texi (Lisp Libraries): Docstring lookups can trigger autoloading. Document help-enable-auto-load. * doc/emacs/mini.texi (Yes or No Prompts): New node. * doc/emacs/ack.texi (Acknowledgments): Remove obsolete packages. * doc/lispref/commands.texi (Click Events): Define "mouse position list". Remove mention of unimplemented horizontal scroll bars. (Drag Events, Motion Events): Refer to "mouse position list". (Accessing Mouse): Document posnp. * doc/lispref/errors.texi (Standard Errors): Tweak arith-error description. Tweak markup. Remove domain-error and friends, which seem to be unused after the floating-point code revamp. * doc/lispref/functions.texi (Obsolete Functions): Obsolescence also affects documentation commands. Various clarifications. (Declare Form): New node. * doc/lispref/loading.texi (Autoload): * doc/lispref/help.texi (Documentation Basics): The special sequences can trigger autoloading. * doc/lispref/macros.texi (Defining Macros): Move description of `declare' to Declare Form node. * doc/lispref/numbers.texi (Integer Basics): Copyedits. (Float Basics): Consider IEEE floating point always available. (Random Numbers): Document actual limits. (Arithmetic Operations): Clarify division by zero. Don't mention the machine-independence of negative division since it does not happen in practice. * doc/lispref/os.texi (Idle Timers): Minor clarifications. (User Identification): Add system-users and system-groups. * doc/lispref/strings.texi (String Basics): Copyedits. * lisp/minibuffer.el (minibuffer-local-filename-syntax): Doc fix. * lisp/server.el (server-host): Document the security implications. (server-auth-key): Doc fix. * lisp/startup.el (initial-buffer-choice): Doc fix. * src/fns.c (Frandom): Doc fix.
* Document insert-char changes.Chong Yidong2012-07-171-10/+11
| | | | | | | | | | | * doc/emacs/basic.texi (Inserting Text): Replace ucs-insert with insert-char. Provide more details of input. * doc/lispref/mule.texi (International Chars, Input Methods): Likewise. * doc/lispref/text.texi (Insertion): Document insert-char changes. * src/editfns.c (Finsert_char): Doc fix.
* Merge from emacs-24; up to 2012-05-01T00:16:02Z!rgm@gnu.orgChong Yidong2012-07-061-2/+3
|\
| * Texinfo markup fixes for Emacs manual.Chong Yidong2012-06-291-2/+3
| | | | | | | | | | * doc/emacs/maintaining.texi (Basic VC Editing, VC Pull, Merging): * doc/emacs/basic.texi (Erasing, Basic Undo): Fix markup.
* | Nuke hand-written node pointers in doc/emacsGlenn Morris2012-05-261-1/+1
|/ | | | Let makeinfo figure them out, as is recommended.
* Use Texinfo recommended convention for quotes+punctuation.Glenn Morris2012-04-251-2/+2
|
* * doc/emacs/glossary.texi (Glossary): Standardize on "text terminal" ↵Chong Yidong2012-04-141-5/+5
| | | | | | terminology. All callers changed.
* Add 2012 to FSF copyright years for Emacs filesGlenn Morris2012-01-051-1/+1
|
* Fix bug #10380 with description of C-n and C-p.Eli Zaretskii2011-12-311-2/+4
| | | | doc/emacs/basic.texi (Moving Point): Fix the description of C-n and C-p.
* Update Files chapter of Emacs manual.Chong Yidong2011-10-211-1/+1
| | | | | | | | | | | | | | Plus miscellaneous minor speling fixes in other manual files. * doc/emacs/files.texi (File Names, Visiting, Interlocking): Copyedits. (Backup Copying): backup-by-copying-when-mismatch is now t. (Customize Save): Fix description of require-final-newline. (Reverting): Note that revert-buffer can't be undone. Mention VC. (Auto Save Control): Clarify. (File Archives): Add 7z. (Remote Files): ange-ftp-make-backup-files defaults to nil. * doc/emacs/arevert-xtra.texi (Autorevert): Copyedits.
* Edits to Display chapter of Emacs manual.Chong Yidong2011-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | * doc/emacs/display.texi (Faces): Simplify discussion. Move documentation of list-faces-display here, from Standard Faces node. Note special role of `default' background. (Standard Faces): Note special role of `default' background. Note that region face may be taken fom GTK. Add xref to Text Display. (Text Scale): Rename from "Temporary Face Changes". Callers changed. Don't bother documenting variable-pitch-mode. (Font Lock): Copyedits. Remove font-lock-maximum-size. (Useless Whitespace): Simplify description of delete-trailing-whitespace. Note active region case. (Text Display): Fix description of escape-glyph face assignment. Remove unibye mode discussion. Update some parts for Unicode. Move glyphless chars documentation to Lisp manual. * doc/emacs/frames.texi (Tooltips): Document x-gtk-use-system-tooltips. * doc/lispref/display.texi (Glyphless Chars): New node.
* Rework count-words-region. New command count-words.Chong Yidong2011-10-081-22/+17
| | | | | | | | | | | | | | | | | | | See discussion at http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00193.html * lisp/simple.el (count-words-region): Always count in the region. Report the number of lines and characters too. (count-words): New command, which counts in the buffer if the region is inactive, as count-words-region used to. (count-words--message): New function. Handle plurals. (count-lines-region): Make it an alias for count-words-region. * lisp/bindings.el (esc-map): Replace count-lines-region with count-words-region. * doc/emacs/basic.texi (Position Info): Omit page commands. Document count-words-region and count-words. * doc/emacs/text.texi (Pages): Move what-page documentation here.
* Copyedits and updates for Emacs manual's first few chapters.Chong Yidong2011-10-071-138/+192
| | | | | | | | | | | | | | | | | | | | | | | | | * doc/emacs/basic.texi (Inserting Text): Add xref to Completion. Add ucs-insert example, and document prefix argument. (Moving Point): Fix introduction; C-f/C-b are no longer equivalent to left/right. Tweak left-char and right-char descriptions. M-left and M-right are now bound to left-word/right-word. (Erasing): Document delete-forward-char. * doc/emacs/commands.texi (User Input): Define "input event" more clearly. (Keys): Add xref to Echo Area. (Commands): Clarify relation between commands and functions. * doc/emacs/entering.texi (Entering Emacs): Define "startup screen". Document window-splitting behavior with command-line inputs. (Exiting): Remove obsolete paragraph about shells without suspend functionality. * doc/emacs/frames.texi (Non-Window Terminals): Index just "text-only terminal", which is used throughout the manual now. * doc/emacs/screen.texi (Screen, Menu Bar): Copyedits. (Point): Remove duplicate paragraph on cursors, also in Screen. (Mode Line): Trailing dashes no longer shown on X displays.
* Document some Emacs 24 scrolling changes.Chong Yidong2011-10-011-9/+7
| | | | | | | | | | | | | | | * doc/emacs/basic.texi (Moving Point): * doc/emacs/custom.texi (Mouse Buttons): * doc/emacs/rmail.texi (Rmail Scrolling): * doc/emacs/search.texi (Isearch Scroll): * doc/emacs/display.texi (Scrolling): Replace scroll-up/down with scroll-up/down-command. Fix scroll-preserve-screen-position description. Document scroll-error-top-bottom. * doc/lispref/windows.texi (Textual Scrolling): Document scroll-up-command, scroll-down-command, scroll-error-top-bottom, and the scroll-command symbol property.
* Fix bug #9433 with indexing of C-x 8 RET.Eli Zaretskii2011-09-041-1/+3
| | | | doc/emacs/basic.texi (Inserting Text): Add index entries.
* Convert consecutive FSF copyright years to ranges.Glenn Morris2011-01-241-3/+1
|
* Merge from emacs-23Stefan Monnier2011-01-141-1/+1
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | Document count-words-region.Glenn Morris2010-11-121-3/+2
| | | | | | | | | | | | | | | | | | * doc/emacs/basic.texi (Position Info): Add M-x count-words-region. * doc/lispintro/emacs-lisp-intro.texi: Rename the `count-words-region' example, since there is now a standard command of that name. * etc/NEWS: Mention it.
* | Merge changes from emacs-23 branch.Chong Yidong2010-07-101-5/+5
|\|
| * Untabify doc/emacs/*.texi files.Glenn Morris2010-06-221-5/+5
| | | | | | | | | | | | | | | | | | | | * abbrevs.texi, basic.texi, buffers.texi, building.texi, calendar.texi: * custom.texi, dired.texi, display.texi, emacs.texi, emerge-xtra.texi: * files.texi, fortran-xtra.texi, frames.texi, help.texi, killing.texi: * maintaining.texi, mark.texi, mini.texi, misc.texi, msdog.texi: * programs.texi, rmail.texi, screen.texi, search.texi, sending.texi: * text.texi, trouble.texi, vc1-xtra.texi, xresources.texi: Untabify Texinfo files.
* | Merge from emacs-23Stefan Monnier2010-06-161-5/+6
|\|
| * * doc/emacs/basic.texi (Inserting Text): Minor clarification. (Bug#6374)Glenn Morris2010-06-091-3/+3
| |
| * Doc typo fixes.Glenn Morris2010-06-091-2/+3
| | | | | | | | | | | | * doc/emacs/basic.texi (Inserting Text): Fix typo. * doc/misc/idlwave.texi (Load-Path Shadows): * doc/misc/org.texi (Handling links): Fix typos.
* | Implement bidi-sensitive word movement with arrow keys.Eli Zaretskii2010-05-291-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | lisp/subr.el (right-arrow-command, left-arrow-command): Move to bindings.el. lisp/bindings.el (right-char, left-char): Move from subr.el and rename from right-arrow-command and left-arrow-command. (right-word, left-word): New functions. (global-map) <right>: Bind to right-char. (global-map) <left>: Bind to left-char. (global-map) <C-right>: Bind to right-word. (global-map) <C-left>: Bind to left-word. doc/emacs/basic.texi (Moving Point): Update due to renaming of commands bound to arrows. Document bidi-aware behavior of C-<right> and C-<left>.
* | Document bidi-aware behavior of arrow keys and display features.Eli Zaretskii2010-05-181-2/+12
|/ | | | | | | display.texi (Fringes): Document reversal of fringe arrows for R2L paragraphs. (Line Truncation): Fix wording for bidi display. basic.texi (Moving Point): Document bidi-aware behavior of the arrow keys.
* Improve documentation of "C-x 8 RET".Eli Zaretskii2010-03-301-1/+3
| | | | | | | mule.texi (Input Methods): Mention "C-x 8 RET" and add a cross-reference to "Inserting Text". basic.texi (Inserting Text): Add an index entry for "C-x 8 RET". Mention completion provided by `ucs-insert'.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * emacs.texi (Top): Update node listing.Chong Yidong2009-12-251-2/+7
| | | | | | | | | | | | | | | | | | | | | | | * abbrevs.texi (Saving Abbrevs): Abbrev file should be in .emacs.d. * basic.texi (Moving Point): M-r is now move-to-window-line-top-bottom. * cmdargs.texi (Initial Options): * xresources.texi (Resources): Document inhibit-x-resources. * custom.texi (Specifying File Variables): Note that minor modes are enabled unconditionally. * display.texi (Scrolling): Briefly document the old recenter command, and document recenter-positions. * files.texi (Visiting): * buffers.texi (Buffers): Max buffer size is now 512 MB. * frames.texi (Cut/Paste Other App): Document save-interprogram-paste-before-kill. * killing.texi (Kill Options): New node.
* * basic.texi (Moving Point): Fix tag.Chong Yidong2009-06-101-1/+1
| | | | | | | | | | | | | | * picture-xtra.texi (Insert in Picture): Use <next> and <prior>. * mini.texi (Completion Commands): Decapitalize <next> and <prior>, and use camel-case for PageUp and PageDown. * display.texi (Scrolling): Decapitalize <next> and <prior>, and use camel-case for PageUp and PageDown. * calendar.texi (Scroll Calendar): Decapitalize <next> and <prior>. * search.texi (Isearch Scroll): Decapitalize <next> and <prior>.
* * basic.texi (Inserting Text): Document ucs-insert.Chong Yidong2009-05-061-24/+18
| | | | | | | | | | | | | | * mule.texi (International Chars): Define "multibyte". Note that internal representation is unicode-based. Simplify definition of raw bytes. Mention ucs-insert. (Enabling Multibyte): Remove obsolete discussion. Copyedits. (Language Environments): Add language environments new to Emacs 23. (Multibyte Conversion): Node deleted. (Coding Systems): Remove obsolete unify-8859-on-decoding-mode. Don't mention obsolete emacs-mule coding system. (Output Coding): Copyedits. * emacs.texi (Top): Update node listing.
* Remove duplicate words.Juanma Barranquero2009-02-201-2/+2
|
* (Position Info): M-x count-lines-region is not always on M-=. (Bug#2269)Glenn Morris2009-02-171-6/+7
|
* Add 2009 to copyright years.Glenn Morris2009-01-081-1/+1
|
* * buffers.texi (Select Buffer): Index goto-line.Lute Kamstra2008-11-221-3/+6
| | | | | | * basic.texi (Moving Point): Mention the use of a numeric prefix argument with goto-line and refer to Select Buffer for the use of a plain prefix argument.
* (Arguments): Explain how to insert multiple digits.Chong Yidong2008-10-231-6/+25
|