[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/transcribe 89832e4 24/27: packages/transcribe.el: inter
From: |
Stefan Monnier |
Subject: |
[elpa] externals/transcribe 89832e4 24/27: packages/transcribe.el: interface improvements |
Date: |
Tue, 1 Dec 2020 17:33:51 -0500 (EST) |
branch: externals/transcribe
commit 89832e4cdc1e6d8262a4a2c9d1ff70f398b8faf0
Author: David Gonzalez Gandara <dggandara@member.fsf.org>
Commit: David Gonzalez Gandara <dggandara@member.fsf.org>
packages/transcribe.el: interface improvements
---
transcribe.el | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/transcribe.el b/transcribe.el
index 1ae4696..47b7c4a 100644
--- a/transcribe.el
+++ b/transcribe.el
@@ -3,7 +3,7 @@
;; Copyright 2014-2016 Free Software Foundation, Inc.
;; Author: David Gonzalez Gandara <dggandara@member.fsf.org>
-;; Version: 1.5.1
+;; Version: 1.5.2
;; This program is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
@@ -286,10 +286,10 @@
(defun transcribe-xml-tag-person (xmltag move)
- "This function allows the automatic insetion of a speaker xml tag and places
the cursor."
+ "This function allows the automatic insertion of a speaker xml tag and
places the cursor."
(interactive (list(read-string "Person:")(completing-read "move:"
transcribe-move-list)))
- ;;(interactive "stag:")
- (insert (format "<%s move=\"%s\"></%s>" xmltag move xmltag))
+ (end-of-line)
+ (insert (format "\n<%s move=\"%s\"></%s>" xmltag move xmltag))
(backward-char 3)
(backward-char (string-width xmltag)))
@@ -321,19 +321,21 @@
(insert (format "function=\"%s\"" val)))
(defun transcribe-add-attribute-move (val)
- "Adds the xml attribute `move' at cursor with the name specified
(autocompletion possible"
+ "Adds the xml attribute `move' at cursor with the name specified
(autocompletion possible)"
(interactive (list(completing-read "move name:" transcribe-move-list)))
(insert (format "move=\"%s\"" val)))
(defun transcribe-xml-tag-l1 ()
"Inserts a l1 tag and places the cursor"
(interactive)
+ (re-search-forward "</l.>" (line-end-position) t)
(insert "<l1 clauses=\"1\" errors=\"0\" function=\"\"></l1>")
(backward-char 5))
(defun transcribe-xml-tag-l2 ()
"Inserts a l2 tag and places the cursor"
(interactive)
+ (re-search-forward "</l.>" (line-end-position) t)
(insert "<l2 clauses=\"1\" errors=\"0\" function=\"\"></l2>")
(backward-char 5))
- [elpa] externals/transcribe 51dd51f 10/27: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa: transcribe.el update, (continued)
- [elpa] externals/transcribe 51dd51f 10/27: Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs/elpa: transcribe.el update, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 6e00216 12/27: /packages/transcribe: Fix variables, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 5306782 07/27: * packages/transcribe.el: Manually changed Changelog, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 6cdaf56 23/27: packages/transcribe.el - minor bug corrections, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe c620bda 17/27: * packages/transcribe: New release: new functions and menus, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 30ae915 20/27: packages/transcribe.el: Fixed void function declaration, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe b99bb85 18/27: * packages/transcribe.el: Fixed key binding error. Added menus, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe d5bf0a5 21/27: packages/transcribe.el: Fixed function calls, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 481fac9 25/27: packages/transcribe.el: improved analysis functions, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 76c5bd2 26/27: * transcribe/transcribe.el: Cosmetic changes, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 89832e4 24/27: packages/transcribe.el: interface improvements,
Stefan Monnier <=
- [elpa] externals/transcribe cd7c67d 13/27: /packages/transcribe.el: Fix global variables, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 73878e0 14/27: /transcribe/transcribe.el: edit comments, add new functions, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 580652e 09/27: * /transcribe/transcribe.el: Fix unworking keys, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 5e39469 16/27: /transcribe/transcribe.el: Add some functions, fix bugs, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 786539b 15/27: /transcribe/transcribe.el: Fix bug, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe 73da910 19/27: packages/transcribe.el: Applied suggested patches, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe bcba1e3 22/27: Fix some quoting problems in doc strings, Stefan Monnier, 2020/12/01
- [elpa] externals/transcribe f381a3d 27/27: * .gitignore: New file, Stefan Monnier, 2020/12/01