changeset 583:af12eff59aa7

Command for creating emacs frame.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Fri, 09 Jan 2015 11:38:19 +0200
parents db39585c4eaf
children e012c434d57d
files emacs/Makefile emacs/e emacs/e.1 emacs/ec.1
diffstat 4 files changed, 17 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/emacs/Makefile	Fri Jan 09 11:05:47 2015 +0200
+++ b/emacs/Makefile	Fri Jan 09 11:38:19 2015 +0200
@@ -50,6 +50,7 @@
 		install -m 755 $$file $(bindir); \
 	done
 	ln -s -f $(bindir)/e $(bindir)/ew
+	ln -s -f $(bindir)/e $(bindir)/ec
 	for file in $(MAN1_FILES); do \
 		install -m 644 $$file $(man1dir); \
 	done
--- a/emacs/e	Fri Jan 09 11:05:47 2015 +0200
+++ b/emacs/e	Fri Jan 09 11:38:19 2015 +0200
@@ -19,6 +19,7 @@
 
 case ${0##*/} in
   ew) ERAGS="-a emacs" ;;
+  ec) ERAGS="-c" ;;
   *) ERAGS="-a emacs -n" ;;
 esac
 
--- a/emacs/e.1	Fri Jan 09 11:05:47 2015 +0200
+++ b/emacs/e.1	Fri Jan 09 11:38:19 2015 +0200
@@ -5,13 +5,16 @@
 .\"
 .TH E 1 2009-05-27 "e 0.1" "User Manuals"
 .SH NAME
-e, ew \- shortcuts for "emacsclient -n" or without "-n" respectively
+e, ew, ec \- shortcuts for "emacsclient"
 .SH SYNOPSIS
 .B e
 .I file...
 .br
 .B ew
 .I file...
+.br
+.B ec
+.I file...
 .SH DESCRIPTION
 .B e
 is shortcut for "emacsclient -n". Name
@@ -23,12 +26,19 @@
 .B ew
 is shortcut for "emacsclient". Name
 .B ew
-comes from word
+comes from words
 .I edit
 and
 .I wait
-in
-.I window\c
+\[char46]
+
+.B ec
+is shortcut for "emacsclient -c". Name
+.B ec
+comes from words
+.I edit
+and
+.I create frame
 \[char46]
 
 Both start Emacs if it's not already running through "-a emacs" option.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/emacs/ec.1	Fri Jan 09 11:38:19 2015 +0200
@@ -0,0 +1,1 @@
+.so man1/e.1