Mercurial > hg > xemacs-beta
annotate src/unexsol2-6.c @ 5808:1b984807a299
Support control shift u for Unicode input as does GTK.
lisp/ChangeLog addition:
2014-08-05 Aidan Kehoe <kehoea@parhasard.net>
* keymap.el:
* keymap.el (event-apply-modifiers):
When a character keysym has case information, apply the shift
modifier to it by upcasing it.
* keymap.el (synthesize-keysym):
Document this a little.
* keymap.el (synthesize-unicode-codepoint): New.
Like #'synthesize-keysym, but synthesizing a Unicode codepoint.
* keymap.el (function-key-map-parent): Bind control shift u to
synthesize a Unicode character input, as does GTK+ and as
specified by ISO 14755.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Fri, 22 Aug 2014 10:58:09 +0100 |
parents | 308d34e9f07d |
children |
rev | line source |
---|---|
0 | 1 /* Unexec function for Solaris 2.x |
2 Copyright (C) 1994 Sun Microsystems, Inc. | |
3 | |
4 This file is part of XEmacs. | |
5 | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
6 XEmacs is free software: you can redistribute it and/or modify it |
0 | 7 under the terms of the GNU General Public License as published by the |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
8 Free Software Foundation, either version 3 of the License, or (at your |
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
9 option) any later version. |
0 | 10 |
11 XEmacs is distributed in the hope that it will be useful, but WITHOUT | |
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
14 for more details. | |
15 | |
16 You should have received a copy of the GNU General Public License | |
5402
308d34e9f07d
Changed bulk of GPLv2 or later files identified by script
Mats Lidell <matsl@xemacs.org>
parents:
2286
diff
changeset
|
17 along with XEmacs. If not, see <http://www.gnu.org/licenses/>. */ |
0 | 18 |
19 /* Synched up with: Not in FSF. */ | |
20 | |
21 #include <stdlib.h> | |
22 #include <stdio.h> | |
23 #include <dlfcn.h> | |
2286 | 24 #include "compiler.h" |
0 | 25 |
26 int unexec (char *new_name, char *old_name, unsigned int data_start, | |
27 unsigned int bss_start, unsigned int entry_address); | |
28 int | |
2286 | 29 unexec (char *new_name, char *UNUSED (old_name), |
30 unsigned int UNUSED (data_start), unsigned int UNUSED (bss_start), | |
31 unsigned int UNUSED (entry_address)) | |
0 | 32 { |
33 if (dldump (0, new_name, RTLD_MEMORY) != 0) | |
34 { | |
35 fprintf (stderr, "unexec(): dldump(%s): %s \n", | |
36 new_name, dlerror()); | |
37 exit (1); | |
38 } | |
39 | |
40 return 0; | |
41 } |