mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 03:19:56 +00:00
fa61bc53fc
* TW5-es-ES-edition Spanish edition of TW5. A full localisation of TiddlyWiki into castillian spanish (es-ES). * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing + TiddlySpot upload * Translation ongoing * Translation ongoing + macro fixes * Translation ongoing * translation ongoing + macro fixes * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * translation ongoing * Translation ongoing * translation ongoing * translation ongoing * translation ongoing * Arreglo plugin * Arreglo plugin * Translation ongoing * Translation ongoing * Translation ongoing * translation ongoing * Add Spanish edition to TW5.com * Reverting forced language plugin load. folder es-ES was provisorily added to the tiddlerStore in order to force the load of the updated language plugin. Finished the translation, and with the updated plugin on place, this folder has no use when the new release comes out.
41 lines
1.3 KiB
Plaintext
41 lines
1.3 KiB
Plaintext
caption: Edición con Emacs
|
|
created: 20140406210404245
|
|
es-title: Editar tiddlers con Emacs
|
|
modified: 20160418044315545
|
|
tags: Learning
|
|
title: Editing Tiddlers with Emacs
|
|
type: text/vnd.tiddlywiki
|
|
|
|
Michael Fogleman ha escrito [[tid-mode|https://github.com/mwfogleman/tid-mode]], un modo de edición para [[Emacs|http://www.gnu.org/software/emacs/]] con el fin de editar los archivos .tid de TiddlyWiki. Deriva de text-mode, se vale de los útiles //minor modes// //org-struct// y //subword// y actualiza los tiempos de modificación al guardar un archivo .tid.
|
|
|
|
Redactó también dos funiones de ayuda para editar TiddlyWiki con Emacs. El primero abre un directorio de tiddlers en Dired. El segundo abre TiddlyWiki en el navegador.
|
|
|
|
```
|
|
(defun open-wiki ()
|
|
"Abre un directorio de TiddlyWiki en Dired."
|
|
(interactive)
|
|
(dired "~/Dropbox/wiki/tiddlers/"))
|
|
```
|
|
|
|
```
|
|
(defun browse-wiki ()
|
|
"Abre TiddlyWiki en el navegador."
|
|
(interactive)
|
|
(browse-url "127.0.0.1:8080/"))
|
|
```
|
|
|
|
Esta última función puede requerir que se indique un navegador:
|
|
|
|
```
|
|
(setq browse-url-browser-function 'browse-url-generic
|
|
browse-url-generic-program "chromium")
|
|
```
|
|
|
|
Puedes vincular cualquiera de estas funciones con la función global-set-key:
|
|
|
|
```
|
|
(global-set-key (kbd "C-c w") 'open-wiki)
|
|
```
|
|
|
|
Por el momento, no están integradas en tid-mode.
|