Comments (5)
wasn't it produced via Shift+3 ?
from emacs-live.
sorry should have said this is on a UK keyboard. M-3 produces the #
from emacs-live.
Alright, I see now...
On keyboards
On the standard US keyboard layout, the # symbol is ⇧ Shift+3. On standard UK and some European keyboards, the same keystrokes produce the pound currency symbol (£), and # is moved to a separate key above the right shift. On UK Mac keyboards, # is generated by ⌥ Opt+3, whereas on European Mac keyboards, the # can be found above the right shift key. Under DOS and Microsoft Windows, it can be also generated through the Alt code Alt+35.
from emacs-live.
I just use an American layout as it makes things easier.
The following should work
(global-unset-key (kbd "M-3"))
(global-set-key (kbd "M-3") (lambda () (interactive) (insert "#")))
However, on my system it still seems to be bound to window-mode
shortcuts.
This did work though:
(define-key global-map (kbd "C-c 3") (lambda () (interactive) (insert "#")))
from emacs-live.
Thanks Sam,
This didn' t work.
The following should work
(global-unset-key (kbd "M-3"))
(global-set-key (kbd "M-3") (lambda () (interactive) (insert "#")))However, on my system it still seems to be bound to window-mode shortcuts.
This did work.
This did work though:
(define-key global-map (kbd "C-c 3") (lambda () (interactive) (insert "#")))
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-9953914
.
from emacs-live.
Related Issues (20)
- popwin / *Backtrace* / overwriting other buffers HOT 1
- How to archive the screenshot color effect? HOT 1
- Hard coding clojure-mode for cljs will cause problems HOT 7
- Setting the default font: live-set-default-font doesn't seem to be well documented HOT 1
- Emacs freezes when autocompleting for lisp prompt
- haskell-mode error: symbol definition is void: haskell-mode-contextual-space HOT 5
- Using -k with curl is insecure
- Can't load files over fusermount HOT 1
- the color-theme-cyberpunk highlight HOT 3
- Problem with Erlang checkout
- [Proposal] Remove packs/stable from the repo HOT 4
- File saving (save-buffer) broken in Emacs 25.1.1 HOT 11
- startup error "No such file or directory, swiper" HOT 2
- You might want to check out the Borg package manager HOT 4
- Newbie problems HOT 2
- emacs-live can not load file with chinese charactor in path HOT 1
- Symbol's value as variable is void: ivy-completing-read-handlers-alist at start in 27.1-2 HOT 6
- freesound method failure HOT 1
- How to add this glossy effect on my other emacs config?
- Is there a way to fuzzy open a file?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-live.