1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 04:30:45 -08:00
emacs/lisp
Po Lu fc35928ec2 Make `yank-media' work on Haiku
This works with what WebPositive does with images, at least.  I don't
know about other programs, but Haiku doesn't seem to standardize this
very well.

* lisp/term/haiku-win.el (haiku--selection-type-to-mime): Handle
regular symbols.
(gui-backend-get-selection): Handle special type `TARGETS'.
(gui-backend-set-selection): Always clear clipboard.

* src/haiku_select.cc (BClipboard_get_targets): New function.
(BClipboard_set_data): New argument `clear'.  All callers
changed.
(BClipboard_set_system_data)
(BClipboard_set_primary_selection_data)
(BClipboard_set_secondary_selection_data): New argument `clear'.

(BClipboard_system_targets, BClipboard_primary_targets)
(BClipboard_secondary_targets): New functions.

* src/haikuselect.c (haiku_selection_data_1): New function.
(Fhaiku_selection_targets): New function.
(Fhaiku_selection_put): Allow controlling if the clipboard is
cleared.
(syms_of_haikuselect): New symbols and subrs.

* src/haikuselect.h (BClipboard_set_system_data)
(BClipboard_set_primary_selection_data)
(BClipboard_set_secondary_selection_data): New argument `clear'.

(BClipboard_system_targets, BClipboard_primary_targets)
(BClipboard_secondary_targets): New functions.
2021-11-24 12:58:39 +00:00
..
calc Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
calendar Fix icalendar time zone parsing 2021-11-21 09:20:06 +01:00
cedet Merge from origin/emacs-28 2021-11-15 07:00:24 +01:00
emacs-lisp Fix string-glyph-split infloop 2021-11-24 08:27:22 +01:00
emulation Remove some references to XEmacs 2021-11-17 06:25:50 +01:00
erc Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
eshell Improve undoing of RET in comint and eshell 2021-11-08 00:10:03 +01:00
gnus Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
image
international Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
language
leim/quail Another addition to latin-2 input methods 2021-11-07 12:46:25 +02:00
mail Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
mh-e Fix mh-mime build problem 2021-11-17 08:14:23 +01:00
net * lisp/subr.el (event-start, event-end): Handle (menu-bar) events 2021-11-22 14:23:42 -05:00
nxml
obsolete
org Merge from origin/emacs-28 2021-11-21 11:18:23 +01:00
play ; Fix my last commit 2021-11-20 13:18:17 +01:00
progmodes Simplify gnu compilation-mode regexp 2021-11-22 19:11:55 +01:00
term Make `yank-media' work on Haiku 2021-11-24 12:58:39 +00:00
textmodes * lisp/textmodes/flyspell.el: Pop up the menu under cursor from keyboard. 2021-11-22 21:07:08 +02:00
url
vc Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
abbrev.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
align.el
allout-widgets.el
allout.el Fix allout point movement problem 2021-11-04 19:39:16 +01:00
ansi-color.el
apropos.el
arc-mode.el
array.el
auth-source-pass.el
auth-source.el
autoarg.el
autoinsert.el
autorevert.el
avoid.el
battery.el
bindings.el
bookmark.el Make bookmark-set prompt less confusing 2021-11-17 08:16:58 +01:00
bs.el
buff-menu.el
button.el Make the lambda/closure buttons in `C-h b' say what they do 2021-11-06 22:31:06 +01:00
calculator.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
case-table.el
cdl.el
ChangeLog.1
ChangeLog.2
ChangeLog.3
ChangeLog.4
ChangeLog.5
ChangeLog.6
ChangeLog.7
ChangeLog.8
ChangeLog.9
ChangeLog.10
ChangeLog.11
ChangeLog.12 ; Fix typos 2021-11-12 13:59:58 +01:00
ChangeLog.13
ChangeLog.14
ChangeLog.15
ChangeLog.16
ChangeLog.17
char-fold.el
chistory.el
cmuscheme.el Prefer locate-user-emacs-file 2021-11-09 07:51:27 +01:00
color.el
comint.el Improve undoing of RET in comint and eshell 2021-11-08 00:10:03 +01:00
completion.el
composite.el
COPYING
cus-dep.el
cus-edit.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
cus-face.el Improve defface error message 2021-11-04 19:23:07 +01:00
cus-start.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
cus-theme.el
custom.el Merge from origin/emacs-28 2021-11-06 11:21:39 +02:00
dabbrev.el
delim-col.el
delsel.el
descr-text.el Make describe-char include emoji combination descriptions 2021-11-06 18:22:01 +01:00
desktop.el
dframe.el
dired-aux.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
dired-x.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
dired.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
dirtrack.el
disp-table.el
display-fill-column-indicator.el
display-line-numbers.el
dnd.el
doc-view.el Improve doc-view-mode menus 2021-11-19 11:34:57 +01:00
dom.el
dos-fns.el
dos-vars.el
dos-w32.el
double.el
dynamic-setting.el
ebuff-menu.el
echistory.el
ecomplete.el
edmacro.el Merge from origin/emacs-28 2021-11-21 11:18:23 +01:00
ehelp.el
elec-pair.el
electric.el
elide-head.el
emacs-lock.el
env.el ; Fix typos 2021-11-12 13:59:58 +01:00
epa-dired.el
epa-file.el
epa-hook.el
epa-ks.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
epa-mail.el
epa.el
epg-config.el
epg.el * lisp/epg.el (epg-key): Use explicit copier with proper prefix 2021-11-02 22:17:02 -04:00
expand.el
ezimage.el
face-remap.el
facemenu.el
faces.el Use variable-pitch-mode in 'C-h C-h' 2021-11-21 14:44:41 +01:00
ffap.el Make `dired-split' obsolete 2021-11-09 23:58:42 +01:00
filecache.el
fileloop.el
filenotify.el
files-x.el
files.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
filesets.el
find-cmd.el
find-dired.el
find-file.el
find-lisp.el
finder.el
flow-ctrl.el
foldout.el
follow.el Fix follow-scroll-down in a small buffer which starts slightly scrolled 2021-11-13 18:33:17 +00:00
font-core.el
font-lock.el font-lock-type-face doc string improvement 2021-11-04 19:28:06 +01:00
format-spec.el
format.el
forms.el
frame.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
frameset.el
fringe.el
generic-x.el
help-at-pt.el
help-fns.el
help-macro.el Use variable-pitch-mode in 'C-h C-h' 2021-11-21 14:44:41 +01:00
help-mode.el
help.el Add new format for literal key sequences to substitute-command-keys 2021-11-22 06:44:10 +01:00
hex-util.el
hexl.el
hfy-cmap.el
hi-lock.el
hilit-chg.el
hippie-exp.el
hl-line.el
htmlfontify.el
ibuf-ext.el Use substitute-command-keys in some messages 2021-11-17 14:29:15 +01:00
ibuf-macs.el
ibuffer.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
icomplete.el Revert accidential commit in icomplete.el 2021-11-13 15:26:42 +01:00
ido.el
ielm.el
iimage.el
image-dired.el image-dired: Improve some messages 2021-11-20 12:55:37 +01:00
image-file.el
image-mode.el New user option image-auto-resize-max-scale-percent 2021-11-06 20:45:37 +01:00
image.el Allow stopping animations automatically when the image disappears 2021-11-12 03:31:53 +01:00
imenu.el
indent.el Don't ignore restriction in indent-region-line-by-line 2021-11-18 08:11:26 +01:00
info-look.el
info-xref.el
info.el Move Info-goto-node-web to "G" 2021-11-12 04:35:46 +01:00
informat.el
isearch.el Adapt isearch help screen for variable-pitch-mode 2021-11-21 21:05:47 +01:00
isearchb.el
jit-lock.el
jka-cmpr-hook.el
jka-compr.el
json.el
jsonrpc.el
kermit.el
keymap.el Change the call signature to keymap-substitute 2021-11-17 08:34:35 +01:00
kmacro.el Improve docstring of kmacro-set-format 2021-11-06 05:41:05 +01:00
ldefs-boot.el Regenerate ldefs-boot 2021-11-19 07:46:06 +01:00
linum.el
loadhist.el
loadup.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
locate.el
lpr.el
ls-lisp.el Fix files-tests on MS-Windows 2021-11-11 10:58:10 +02:00
macros.el
Makefile.in
makesum.el
man.el
master.el
mb-depth.el
md4.el
menu-bar.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
midnight.el
minibuf-eldef.el
minibuffer.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
misc.el
misearch.el
mouse-copy.el
mouse-drag.el Fix mouse events on tab bar or tool bar when 'track-mouse' is t 2021-11-20 12:05:36 +02:00
mouse.el Merge from origin/emacs-28 2021-11-21 11:18:23 +01:00
mpc.el
msb.el
mwheel.el Fix mouse-wheel-text-scale 2021-11-24 09:49:39 +08:00
newcomment.el
notifications.el
novice.el
obarray.el
outline.el Adjust defvar-keymap' and define-keymap' to the new syntax 2021-11-16 08:26:24 +01:00
paren.el
password-cache.el
pcmpl-cvs.el
pcmpl-gnu.el
pcmpl-linux.el
pcmpl-rpm.el
pcmpl-unix.el
pcmpl-x.el
pcomplete.el
pixel-scroll.el
plstore.el
printing.el
proced.el Merge from origin/emacs-28 2021-11-23 08:49:49 +01:00
profiler.el
ps-bdf.el
ps-def.el
ps-mule.el
ps-print.el
ps-samp.el
README
recentf.el
rect.el
register.el
registry.el
repeat.el * lisp/repeat.el (describe-repeat-maps): Print all bound keys (bug#49265). 2021-11-18 19:42:44 +02:00
replace.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
reposition.el
reveal.el
rfn-eshadow.el
rot13.el * lisp/rot13.el (rot13-translate-table): Make it a translation-table 2021-11-16 22:48:37 -05:00
rtree.el
ruler-mode.el
savehist.el
saveplace.el Don't save places in literally-visited files 2021-11-11 05:04:31 +01:00
scroll-all.el
scroll-bar.el
scroll-lock.el
select.el Re-fix charset issues when yanking non-plain-text elements 2021-11-11 05:22:02 +01:00
server.el ; * lisp/server.el (server-stop-automatically): Doc fix. 2021-11-11 13:12:50 +02:00
ses.el
shadowfile.el
shell.el Prefer locate-user-emacs-file 2021-11-09 07:51:27 +01:00
simple.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
skeleton.el
so-long.el
sort.el
soundex.el
speedbar.el
startup.el Fill the Emacs version on the splash page 2021-11-21 11:04:40 +01:00
strokes.el
subr.el * lisp/subr.el (event-start, event-end): Handle (menu-bar) events 2021-11-22 14:23:42 -05:00
svg.el
t-mouse.el
tab-bar.el * lisp/tab-bar.el: 'C-x t RET' creates a new tab for non-existent tab name. 2021-11-22 20:15:58 +02:00
tab-line.el * lisp/tab-line.el (tab-line-mode): Preserve existing value of tab-line-format 2021-11-14 20:35:42 +02:00
tabify.el
talk.el
tar-mode.el
tempo.el
term.el Don't have M-x term' call term-mode' twice 2021-11-04 19:02:23 +01:00
thingatpt.el
thread.el
thumbs.el
time-stamp.el time-stamp: %F is "file name" not "pathname" + other doc 2021-11-09 20:11:07 -08:00
time.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
timezone.el
tmm.el
tool-bar.el
tooltip.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
transient.el * lisp/transient.el: Update to package version v0.3.7-11-g7f5520b3. 2021-11-06 15:36:29 +01:00
tree-widget.el
tutorial.el Fix handling of changed prefix keys in tutorial 2021-11-15 07:38:21 +01:00
type-break.el
uniquify.el
userlock.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
vcursor.el
version.el Add support for the Haiku operating system and its window system 2021-11-20 21:46:07 +08:00
view.el
vt-control.el
vt100-led.el
w32-fns.el
w32-vars.el
wdired.el
whitespace.el
wid-browse.el
wid-edit.el Revert "* lisp/wid-edit.el (widget-field): Add subtle border to face." 2021-11-05 08:24:02 +01:00
widget.el
windmove.el Use substitute-command-keys for literal key sequences 2021-11-22 12:04:19 +01:00
window.el Set minibuffer-completion-* variables locally in more places 2021-11-11 06:16:52 +01:00
winner.el
woman.el
x-dnd.el
xdg.el Merge from origin/emacs-28 2021-11-13 07:00:30 +01:00
xml.el
xt-mouse.el
xwidget.el Make `xwidget-display-event' a special event as well 2021-11-22 10:47:29 +08:00
yank-media.el Allow yank-media-types to also show the unsupported data types 2021-11-09 04:41:14 +01:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.