summaryrefslogtreecommitdiff
path: root/lisp/select.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes from emacs-23 branchChong Yidong2010-10-311-2/+3
|\
| * * lisp/select.el (x-selection): Mark it as an obsolete alias.Glenn Morris2010-10-271-3/+3
| |
* | Sync docs of selection-coding-system between C and Lisp.Glenn Morris2010-10-231-1/+8
| | | | | | | | | | | | | | * src/w16select.c (syms_of_win16select) <selection-coding-system>: * src/w32select.c (syms_of_w32select) <selection-coding-system>: Sync docs with select.el. * lisp/select.el (selection-coding-system): Sync doc with C versions.
* | Sync Lisp and C docs of next-selection-coding-system.Glenn Morris2010-10-231-9/+9
| | | | | | | | | | | | | | * src/w16select.c (syms_of_win16select) <next-selection-coding-system>: * src/w32select.c (syms_of_w32select) <next-selection-coding-system>: Sync docs with select.el. * lisp/select.el (next-selection-coding-system): Sync doc with C versions.
* | Removed cut-buffer code.Jan Djärv2010-09-021-30/+0
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/mouse-sel.el (mouse-sel-get-selection-function): x-cut-buffer-or-selection-value renamed to x-selection-value. (x-select-text): Optional push removed. * lisp/select.el (x-get-cut-buffer, x-set-cut-buffer): Remove. * lisp/simple.el (interprogram-cut-function): Remove mention of PUSH. * lisp/w32-fns.el (x-last-selected-text): x-cut-buffer-or-selection-value renamed to x-selection-value. (x-cut-buffer-max): Remove. (x-select-text): Remove argument PUSH, update documentation. * lisp/emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove. * lisp/term/ns-win.el (x-setup-function-keys, ns-last-selected-text): x-cut-buffer-or-selection-value renamed to x-selection-value (x-selection-value): Renamed from x-cut-buffer-or-selection-value. (x-select-text): Remove argument PUSH, update documentation. * lisp/term/pc-win.el (x-last-selected-text): x-cut-buffer-or-selection-value renamed to x-selection-value (x-select-text): Remove argument PUSH, update documentation. * lisp/term/x-win.el: Update documentation for x-last-selected-text-*. (x-last-selected-text-cut, x-last-selected-text-cut-encoded) (x-last-cut-buffer-coding, x-cut-buffer-max): Remove. (x-select-text): Remove argument PUSH, update documentation. Remove cut-buffer code. (x-selection-value-internal): Was previously x-selection-value. (x-selection-value): Renamed from x-cut-buffer-or-selection-value. Update documentation, remove cut-buffer code. Call x-selection-value-internal. (x-clipboard-yank): Call x-selection-value-internal. (x-initialize-window-system): Remove setting of x-cut-buffer-max. * src/xselect.c: Remove declaration of cut-buffer objects and functions. (symbol_to_x_atom): Remove mapping to XA_CUT_BUFFERn. (x_atom_to_symbol): Remove mapping to QCUT_BUFFERn. (Fx_get_cut_buffer_internal, Fx_store_cut_buffer_internal) (Fx_rotate_cut_buffers_internal): Remove. (syms_of_xselect): Remove defsubr of above. Remove intern of QCUT_BUFFERn. * src/xterm.c (x_term_init): Don't set dpyinfo->cut_buffers_initialized. * src/xterm.h (struct dpyinfo): Remove cut_buffers_initialized.
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * select.el (x-set-selection): Doc fix (Bug#4021).Chong Yidong2009-08-021-1/+1
| | | | * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
* Fix Bug#3888:Eli Zaretskii2009-07-251-17/+17
| | | | | | | | | | | | | | w32-vars.el (x-select-enable-clipboard): Doc fix. term/pc-win.el (x-display-name, x-colors) (x-select-enable-clipboard, x-select-text): Doc fix. term/common-win.el (x-display-name, x-colors): Doc fix. term/ns-win.el (x-select-text, x-setup-function-keys, x-colors) (xw-defined-colors): Doc fix. w32-fns.el (x-select-text, x-setup-function-keys) (x-get-selection, x-set-selection): Doc fix. term/x-win.el (x-select-text, x-setup-function-keys) (x-select-enable-clipboard, xw-defined-colors): Doc fix. select.el (x-set-selection): Doc fix.
* * simple.el (deactivate-mark): Optional argument FORCE.Chong Yidong2009-07-151-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | (set-mark): Use deactivate-mark. * info.el (Info-search): No need to check transient-mark-mode before calling deactivate-mark. * select.el (x-set-selection): Doc fix. (x-valid-simple-selection-p): Allow buffer values. (xselect--selection-bounds): Handle buffer values. Suggested by David De La Harpe Golden. * mouse.el (mouse-set-region, mouse-drag-track): Call copy-region-as-kill before setting the mark, to let select-active-regions work. * simple.el (deactivate-mark): If select-active-regions is non-nil, copy the selection data into a string. (activate-mark): If select-active-regions is non-nil, set the selection to the current buffer. (set-mark): Update selection if select-active-regions is non-nil. * select.el (x-valid-simple-selection-p): Allow buffer values.
* * select.el (x-set-selection): Doc fix.Chong Yidong2009-07-141-138/+80
| | | | | | | | | (x-valid-simple-selection-p): Disallow selection data consisting of a list or cons of integers, since that is not used. (xselect--selection-bounds, xselect--int-to-cons): New functions. (xselect-convert-to-string, xselect-convert-to-length) (xselect-convert-to-filename, xselect-convert-to-charpos) (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (x-set-cut-buffer): Fix signal arguments.Glenn Morris2008-11-251-3/+3
|
* Fix typos in docstrings.Juanma Barranquero2008-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cus-edit.el (customize-apropos-options, custom-comment) (custom-comment-tag, custom-face-edit-attribute-tag): Fix typos in docstrings. (custom-buffer-done-kill): Remove * from defcustom docstring. (custom-file): Fix typo in doc of defcustom choice. * frame.el (display-visual-class): Fix typo in docstring. (initial-frame-alist, minibuffer-frame-alist, pop-up-frame-alist) (special-display-frame-alist, show-trailing-whitespace) (auto-hscroll-mode, blink-cursor-delay, blink-cursor-interval) (display-hourglass, hourglass-delay, cursor-in-non-selected-windows): Remove * from defcustom docstrings. * md4.el (md4-buffer): Fix typo in docstring. (md4, md4-64): Doc fixes. (md4-pack-int32): Reflow docstring. * paths.el (rmail-file-name): Remove * from defcustom docstring. (prune-directory-list, gnus-nntp-service): Fix typos in docstrings. * rect.el (open-rectangle): Reflow docstring. (spaces-string): Fix docstring typo. Use "?\s" instead of "? ". * select.el (x-get-cut-buffer): Fix typo in docstring. * timezone.el (timezone-zone-to-minute, timezone-time-from-absolute) (timezone-time-zone-from-absolute, timezone-leap-year-p): Fix typos in docstrings. * emacs-lisp/assoc.el (asort, aelement, aput, aget, amake): Fix typos in docstrings.
* Fix commenting convenition.Stefan Monnier2008-09-141-3/+3
|
* Add some compiler declarations, for builds without X.Glenn Morris2008-06-121-0/+8
|
* (x-get-selection): Fix typo.Juanma Barranquero2008-06-011-1/+1
|
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* (xselect-convert-to-string): Send a C_STRING only if the polymorphicChong Yidong2008-04-211-33/+32
| | | | target TEXT is requested.
* Fix up comment convention on the arch-tag lines.Stefan Monnier2008-04-101-1/+1
|
* (selection-coding-system): Make it a defcustom, and add the propertiesGlenn Morris2008-02-081-2/+9
| | | | from cus-start.el. Bump :version.
* Merge from emacs--devo--0Miles Bader2008-01-091-1/+1
|\ | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
| * Merge from emacs--rel--22Miles Bader2008-01-081-1/+1
| |\ | | | | | | | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
| | * Add 2008 to copyright years.Glenn Morris2008-01-071-1/+1
| | |
* | | Merge from emacs--devo--0Miles Bader2007-12-061-0/+5
|\ \ \ | |/ / | | | | | | Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-294
| * | (x-get-cut-buffer-internal, x-rotate-cut-buffers-internal,Juanma Barranquero2007-11-221-0/+5
| |/ | | | | | | x-store-cut-buffer-internal): Declare as functions.
* | (selection-coding-system)Kenichi Handa2007-11-181-83/+91
|/ | | | | | | | | | | (next-selection-coding-system): Declaration moded from xselect.c. (x-get-selection): Decode by selection-coding-system if it is non-nil. If it is nil, decode by a proper coding system. Handle C_STRING. (ccl-check-utf-8, string-utf-8-p): Delete them. (xselect-convert-to-string): Fix determining data-type in the case that TEXT is requested. Don't use selection-coding-system if it's not proper for the data-type.
* Replace `iff' in doc-strings and comments.Glenn Morris2007-08-081-1/+1
|
* Switch license to GPLv3 or later.Glenn Morris2007-07-251-1/+1
|
* Add 2007 to copyright years.Glenn Morris2007-01-211-1/+1
|
* Update copyright years.Glenn Morris2006-12-051-1/+1
|
* * select.el (ccl-check-utf-8, string-utf-8-p): New functionsJan Djärv2006-10-191-5/+39
| | | | | | (by Kenichi Handa). (xselect-convert-to-string): Decline requests for UTF8_STRING if the selection is not UTF-8.
* * select.el (xselect-convert-to-string): If UTF8_STRING is requestedJan Djärv2006-09-161-2/+5
| | | | and the data doesn't look like UTF8, send STRING instead.
* Update years in copyright notice; nfc.Thien-Thi Nguyen2006-02-061-1/+1
|
* Update years in copyright notice; nfc.Thien-Thi Nguyen2005-08-061-1/+2
|
* Update FSF's address.Lute Kamstra2005-07-041-2/+2
|
* (x-set-cut-buffer): Cancel previous change.Kenichi Handa2004-10-251-5/+0
|
* (x-set-cut-buffer): Encode STRING if necessary.Kenichi Handa2004-10-251-0/+5
|
* (x-get-selection, x-set-selection): Doc fixes.Luc Teirlinck2004-07-241-7/+16
|
* (xselect-convert-to-string): Move comment to intended line.Luc Teirlinck2004-05-031-1/+1
|
* (xselect-convert-to-string): Bind `inhibit-read-only' to t.Luc Teirlinck2004-05-031-40/+41
|
* Add arch taglinesMiles Bader2003-09-011-0/+1
|
* (x-get-selection): If the string returned byKenichi Handa2003-06-171-1/+12
| | | | | x-get-selection-internal has text property `foreign-selection', decode it while preserving that property.
* (x-set-cut-buffer): Fix docstring. Check type with `stringp' instead ofJuanma Barranquero2003-01-291-7/+6
| | | | `substring'.
* (xselect-convert-to-string): If TYPE is non-nil,Kenichi Handa2002-08-141-23/+79
| | | | | | | encode the selection data string. Always return cons of type and string. (selection-converter-alist): Add (UTF8_STRING . xselect-convert-to-string).
* (xselect-convert-to-string): If VALUE is a string,Eli Zaretskii2002-06-051-1/+3
| | | | return a cons of TYPE and the string.
* Follow coding conventions.Pavel Janík2002-05-021-0/+1
|
* (xselect-convert-to-class, xselect-convert-to-name): Documented.Pavel Janík2001-12-141-0/+4
|
* Follow doc-string conventions.Pavel Janík2001-12-121-2/+2
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-151-2/+4
|
* (x-get-selection): Docstring dix.Eli Zaretskii2000-11-271-1/+5
|