aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-28Eli Zaretskii2022-01-0156-56/+56
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 836be7a112 ; * etc/refcards/ru-refcard.tex: Update Copyright year. 86cbc6ee4a * lisp/net/tramp-sh.el: Adapt copyright year ebe8772f65 ; Minor fixes related to copyright years 23c1ee6989 ; * test/manual/etags/ETAGS.good_N: Adjust to copyright ye... 8d3fc7ec89 * src/xfaces.c (face_for_font): Make 'hash' be uintptr_t. 19dcb237b5 ; Add 2022 to copyright years. # Conflicts: # etc/NEWS # etc/refcards/ru-refcard.tex # lib/cdefs.h # lisp/erc/erc-dcc.el # lisp/erc/erc-imenu.el # lisp/erc/erc-replace.el # lisp/image-dired.el # lisp/progmodes/xref.el # m4/alloca.m4 # m4/byteswap.m4 # m4/errno_h.m4 # m4/getopt.m4 # m4/gnulib-common.m4 # m4/inttypes.m4 # m4/stddef_h.m4 # m4/stdint.m4 # m4/sys_socket_h.m4
| * ; Add 2022 to copyright years.Eli Zaretskii2022-01-0156-56/+56
| |
* | Minor improvements of 'lisp-directory' docsEli Zaretskii2021-12-311-25/+33
| | | | | | | | | | | | | | * lisp/startup.el (lisp-directory): * etc/NEWS: * doc/lispref/loading.texi (Library Search): Improve wording of documentation of 'lisp-directory' and related features.
* | Don't store docstrings of preloaded .el files in etc/DOCStefan Monnier2021-12-301-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since the location of those files changes between build time and installation time, this requires to tweak the file name used in those (#$ . NNN) references during the dump so they don't hardcode the build directory. We do it in the same way as was already done for those same file names in `load-history`, except we convert them back to absolute file names more lazily (i.e. when fetching the actual docstring rather than at startup), which requires remembering the `lisp-dir` computed at startup in the new `lisp-directory` variable. * src/Makefile.in ($(etc)/DOC): Don't scan Lisp files any more. * src/lread.c (Fload): Use relative file names for `load-file-name` when preloading for the dump, like we already did for `current-load-list`. (read_list): Don't zero-out dynamic docstring references during the preload since they won't be filled later by Snarf-documentation any more. (read1): Remove the hash-hack for doc references that were zeroed. * lisp/startup.el (lisp-directory): New variable. (command-line): Set it. * src/doc.c (get_doc_string): Use `lisp-directory` for dynamic docstring references using relative file names. (syms_of_doc): Add `Qlisp_directory`. * lib-src/make-docfile.c (scan_file): Don't handle `.el` or `.elc` files any more. (IS_SLASH): Remove macro, not used any more. (skip_white, read_lisp_symbol, search_lisp_doc_at_eol) (scan_lisp_file): Remove functions, not used any more. * doc/lispref/loading.texi (Library Search): Mention `lisp-directory`.
* | Merge from origin/emacs-28Stefan Kangas2021-12-301-8/+20
|\ \ | |/ | | | | | | | | | | | | 06545bc0cc CC Mode: c-update-brace-stack: After struct foo *, do not ... f11779f01b Improve documentation of 'M-X' and related features # Conflicts: # etc/NEWS
| * Improve documentation of 'M-X' and related featuresEli Zaretskii2021-12-291-8/+20
| | | | | | | | | | | | | | | | | | | | * doc/emacs/m-x.texi (M-x): Index 'M-X'. * doc/lispref/commands.texi (Interactive Call, Command Modes): Mention 'M-X' and 'execute-extended-command-for-buffer'. * etc/NEWS: Clarify that the '(declare (completion ...' and '(declare (modes ...' forms have no effect by default. Likewise for '(interactive "..." MODE)' specs. (Bug#52839)
* | Fix documentation of 'define-keymap'Eli Zaretskii2021-12-291-23/+26
| | | | | | | | | | * doc/lispref/keymaps.texi (Creating Keymaps) (Changing Key Bindings): Fix typos, improve wording.
* | Fix recent changes in 'keymap-lookup' documentationEli Zaretskii2021-12-291-4/+5
| | | | | | | | | | * doc/lispref/keymaps.texi (Functions for Key Lookup): Improve wording, correct typos.
* | Document keymap-set-after in Modifying Menus in lisprefLars Ingebrigtsen2021-12-291-5/+5
| | | | | | | | | | * doc/lispref/keymaps.texi (Modifying Menus): Document keymap-set-after (bug#52819).
* | Document `keymap-lookup' in the lipsref manualLars Ingebrigtsen2021-12-291-15/+24
| | | | | | | | | | * doc/lispref/keymaps.texi (Functions for Key Lookup): Document `keymap-lookup' instead of `lookup-key' (bug#52820).
* | Move define-keymap manual entry to Creating KeymapsLars Ingebrigtsen2021-12-291-89/+97
| | | | | | | | | | | | * doc/lispref/keymaps.texi (Creating Keymaps) (Changing Key Bindings): Move `define-keymap'/`defvar-keymap' to the Creating Keymaps node.
* | read-multiple-choice: Add optional argument show-helpStefan Kangas2021-12-261-1/+5
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/rmc.el (rmc--show-help): Factor out new function from read-multiple-choice. (read-multiple-choice): Add new optional argument show-help. * doc/lispref/commands.texi (Reading One Event): Document above new optional argument.
* | ; * doc/lispref/commands.texi (Misc Events): Fix wording.Eli Zaretskii2021-12-261-4/+7
| |
* | Clarify situations where pinch events can be sent.Po Lu2021-12-261-0/+4
| | | | | | | | | | * doc/lispref/commands.texi (Misc Events): Clarify the conditions under which pinch events will be sent.
* | Document the representation of DX and DY in pinch eventsPo Lu2021-12-261-0/+3
| | | | | | | | | | * doc/lispref/commands.texi (Misc Events): Document the precise meaning of DX and DY in pinch events.
* | ; * doc/lispref/commands.texi (Misc Events): Fix typos and wording.Eli Zaretskii2021-12-261-6/+7
| |
* | Fix some issues with a recent changePo Lu2021-12-261-11/+11
| | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Misc Events): Improve documentation on pinch events. * etc/NEWS: Update documentation status for some recent changes and describe pinch events in more detail. * lisp/face-remap.el (text-scale-pinch): Prevent pinch events from being received in too quick succession.
* | Add support for pinch gestures to the XI2 buildPo Lu2021-12-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Misc Events): Document new event type `pinch'. * etc/NEWS: Announce new event `pinch'. * etc/PROBLEMS: Document problems with mismatched libXi versions. * lisp/face-remap.el (text-scale--pinch-start-scale): New variable. (text-scale-pinch): New command. * src/keyboard.c (make_lispy_event): Handle PINCH_EVENTs. (syms_of_keyboard): New symbol `pinch'. * src/termhooks.h (enum event_kind): New enum `PINCH_EVENT'. * src/xfns.c (setup_xi_event_mask): Add pinch events to event mask if available. * src/xterm.c (handle_one_xevent): Handle pinch events.
* | Merge from origin/emacs-28Stefan Kangas2021-12-261-1/+6
|\ \ | |/ | | | | | | 89a82182cb Improve documentation of read-multiple-choice 5fccd1e371 Explain why we remove stuff from 'user-full-name'
| * Improve documentation of read-multiple-choiceStefan Kangas2021-12-261-1/+6
| | | | | | | | | | * doc/lispref/commands.texi (Reading One Event): Document optional third argument help-string of read-multiple-choice.
* | Allow window-text-pixel-size to measure pixels around a positionPo Lu2021-12-231-6/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Size of Displayed Text): Announce new meaning of `from'. * etc/NEWS: Announce changes. * lisp/pixel-scroll.el (pixel-scroll-precision-scroll-up-page): Use new feature. * src/xdisp.c (window_text_pixel_size): Understand a special format of `from' that specifies the amount of pixels above or below a position. (Fwindow_text_pixel_size): Update doc string.
* | ; Fix spelling; be consistent with "key binding" (Bug#52674)Stefan Kangas2021-12-213-4/+4
| |
* | Prefer $(info) to @echoPaul Eggert2021-12-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Have GNU Make output some diagnostics directly, instead of forking and execing a shell to do it. * GNUmakefile (help): * doc/lispref/two-volume.make (vol2.pdf, elisp2med-init) (elisp2-init): * doc/misc/Makefile.in (echo-info, echo-sources): * lib-src/Makefile.in (archlibdir, install, check): * src/verbose.mk.in (AM_V_AR, AM_V_CC, AM_V_CXX, AM_V_CCLD) (AM_V_CXXLD, AM_V_ELC, AM_V_ELN, AM_V_GEN, AM_V_GLOBALS) (AM_V_RC): * test/Makefile.in (subdirs, subdir-targets): Prefer $(info) to @echo. * GNUmakefile (MAKECMDGOALS, configure, Makefile): Prefer $(warning) to @echo >&2. * src/verbose.mk.in (AM_V_ELN): Output target, like the others.
* | Fix sloppy base64 acceptance of some multibyte charactersMattias Engdegård2021-12-201-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | The base64 encoding functions incorrectly accepted some multibyte characters; stop doing that (bug#52670). * src/fns.c (base64_encode_1): Reject all multibyte characters. * test/src/fns-tests.el (fns-tests-base64-encode-string) (fns-test-base64url-encode-region) (fns-test-base64url-encode-string): Add tests. * doc/lispref/text.texi (Base 64): Rephrase outdated manual text. * etc/NEWS: Add a notice.
* | Merge from origin/emacs-28Stefan Kangas2021-12-201-14/+16
|\ \ | |/ | | | | | | 16ed9fad2c ; * doc/lispref/frames.texi (Child Frames): Improve wording. f11b996a3c Clarify description of two mouse dragging parameters (Bug#...
| * ; * doc/lispref/frames.texi (Child Frames): Improve wording.Eli Zaretskii2021-12-191-14/+16
| |
| * Clarify description of two mouse dragging parameters (Bug#52537)Martin Rudalics2021-12-191-14/+14
| | | | | | | | | | * doc/lispref/frames.texi (Child Frames): Clarify description of 'top-visible' and 'bottom-visible' parameters (Bug#52537).
* | New error symbol 'permission-denied'Eli Zaretskii2021-12-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/fileio.c (syms_of_fileio) <permission-denied>: Define the symbol and its 'err-conditions' and 'error-message' properties. (get_file_errno_data): Return permission-denied on EACCES. * test/src/filelock-tests.el (filelock-tests-file-locked-p-spoiled) (filelock-tests-unlock-spoiled) (filelock-tests-kill-buffer-spoiled): Adapt the tests to the new error symbol. * doc/lispref/errors.texi (Standard Errors): * etc/NEWS: Document 'permission-denied' error.
* | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-181-1/+7
|\ \
| * | ; Fix last changeEli Zaretskii2021-12-181-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/xdisp.c (window_text_pixel_size): Fix whitespace and braces. * src/xdisp.c (Fwindow_text_pixel_size): * etc/NEWS: * doc/lispref/display.texi (Size of Displayed Text): Improve wording of the documentation of the new argument of 'window-text-pixel-size'.
| * | Add new argument `ignore-line-at-end' to `window-text-pixel-size'Po Lu2021-12-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/display.texi (Size of Displayed Text): Update documentation. * etc/NEWS: Announce new argument. * src/xdisp.c (window_text_pixel_size): Allow controlling if the iterator's ascent and descent will be appended to the pixel height returned. All callers changed. (Fwindow_text_pixel_size): New argument `ignore-line-at-end'. All callers changed.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-181-11/+10
|\ \ \ | |/ /
| * | ; Improve recently installed documentationEli Zaretskii2021-12-171-11/+10
| | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Fix a typo. * doc/lispref/commands.texi (Touchscreen Events): Fix wording and indexing.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-172-5/+57
|\ \ \ | |/ /
| * | Add support for touchscreen events generated by XInput 2Po Lu2021-12-171-0/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/commands.texi (Input Events): Add "Touchscreen Events" to menu. (Touchscreen Events): New node. * etc/NEWS: Announce new event types. * src/keyboard.c (make_lispy_event): Handle touchscreen events. (syms_of_keyboard): New symbols `touchscreen-begin', `touchscreen-end' and `touchscreen-update'. * src/termhooks.h (enum event_kind): New touchscreen events. * src/xfns.c (setup_xi_event_mask): Set up touch event mask if appropriate. (x_window) [USE_GTK]: Call `setup_xi_event_mask'. * src/xterm.c (x_free_xi_devices): Free touchpoints. (x_init_master_valuators): Handle all devices and set master and touch mode flags appropriately. (xi_reset_scroll_valuators_for_device_id): (x_get_scroll_valuator_delta): Ignore slave devices. (xi_link_touch_point): (xi_unlink_touch_point): (xi_find_touch_point): New functions. (handle_one_xevent): Handle XI touch events and events from non-master devices. * src/xterm.h (struct xi_touch_point_t): New structure. (struct xi_device_t): Add touchpoints field.
| * | Omit temporary warning re obsolete timestampsPaul Eggert2021-12-161-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not warn about timestamps like (1 . 1000). This warning was added in Emacs 27 as a temporary transition aid, and has now served its purpose. These timestamps, which Emacs 26 and earlier treated as (HI . LO) instead of as (TICKS . HZ), were never generated by Emacs primitives, and in practice the warning seems to have been triggered only by test cases designed to generate it. * src/timefns.c (WARN_OBSOLETE_TIMESTAMPS): Remove. All uses changed to assume it’s false. (decode_lisp_time): Simplify by taking a bool instead of an integer bitmask. All uses changed.
| * | Prefer format-time-string to current-time-stringPaul Eggert2021-12-161-1/+1
| | | | | | | | | | | | | | | | | | | | | * lisp/arc-mode.el (archive-unixdate): * lisp/gnus/nnrss.el (nnrss-normalize-date): * lisp/tar-mode.el (tar-clip-time-string): Prefer format-time-string to reassembling current-time-string output.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-162-0/+160
|\ \ \ | |/ /
| * | Improve documentation of multisession variablesEli Zaretskii2021-12-161-49/+67
| | | | | | | | | | | | | | | * doc/lispref/variables.texi (Multisession Variables): Improve wording and markup, add indexing.
| * | Add support for multisession variablesLars Ingebrigtsen2021-12-162-0/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/elisp.texi (Top): Add to menu. (Top): * doc/lispref/variables.texi (Variables): Ditto. (Multisession Variables): Document multisession variables. * lisp/emacs-lisp/multisession.el: New file.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-142-95/+126
|\ \ \ | |/ /
| * | Merge from origin/emacs-28Stefan Kangas2021-12-132-95/+126
| |\ \ | | |/ | | | | | | | | | | | | | | | | | | 9bd3f78645 Make `M-x run-python' select the window again 62139aeb42 * lisp/tab-bar.el (tab-bar-switch-to-last-tab): Add 'abs' ... ea8422204f * make-dist (manifest): Filter out msdos/autogen/* files. b5354e989d Rewrite the "Quitting Windows" section of Emacs Lisp Refer... 64ea1a178c Fix eshell for systems that do not have subprocesses
| | * Rewrite the "Quitting Windows" section of Emacs Lisp ReferenceRichard Stallman2021-12-122-95/+126
| | | | | | | | | | | | | | | * doc/lispref/windows.texi (Quitting Windows): Rewrite for clarity. (Bug#52328)
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-131-0/+15
|\ \ \ | |/ /
| * | Add a new `sqlite-pragma' commandLars Ingebrigtsen2021-12-131-0/+15
| | | | | | | | | | | | | | | | | | | | | * doc/lispref/text.texi (Database): Document it. * src/sqlite.c (Fsqlite_pragma): Add a separate command for pragmas. These can be done via sqlite-execute, but it's less confusing to have them in a separate command.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-121-36/+47
|\ \ \ | |/ /
| * | Improve documentation of sqlite3 supportEli Zaretskii2021-12-111-36/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/sqlite-mode.el (sqlite-mode-list-data): * configure.ac (HAVE_SQLITE3): Fix typos. * doc/lispref/text.texi (Database): Improve and clarify wording, add index entries, mention all the function arguments. * etc/NEWS: Minor wording changes of the sqlite entries.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-112-0/+147
|\ \ \ | |/ /
| * | Add sqlite3 support to EmacsLars Ingebrigtsen2021-12-112-0/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: Add check for the sqlite library. * doc/lispref/text.texi (Database): Document it. * lisp/sqlite.el: New file. * lisp/term/w32-win.el (dynamic-library-alist): Add a mapping. * src/Makefile.in (SQLITE3_LIBS): Add the libraries. * src/alloc.c (union emacs_align_type): Add a Lisp_Sqlite struct. * src/data.c (Ftype_of): Add sqlite. * src/emacs.c (main): Load the syms. * src/lisp.h (DEFINE_GDB_SYMBOL_BEGIN): Add PVEC_SQLITE. (GCALIGNED_STRUCT): New struct to keep data for sqlite database objects and statement objects. (SQLITEP, SQLITE, CHECK_SQLITE, XSQLITE): New macros for accessing the objects. * src/pdumper.c (dump_vectorlike): Update hash. (dump_vectorlike): Don't dump it. * src/print.c (print_vectorlike): Add a printer for the sqlite object. * src/sqlite.c: New file. * test/src/sqlite-tests.el: Add tests.
* | | Merge remote-tracking branch 'origin/master' into feature/pgtkPo Lu2021-12-102-8/+12
|\ \ \ | |/ /