Alexander-Miller / Cfrs

Licence: gpl-3.0
Child Frame Read String

Projects that are alternatives of or similar to Cfrs

Emacs Elisp Programming
Tutorial about programming Elisp and Emacs text editor customization.
Stars: ✭ 548 (+1091.3%)
Mutual labels:  utils, emacs
Crossterm
Cross platform terminal library rust
Stars: ✭ 1,023 (+2123.91%)
Mutual labels:  input
Tina
a powerful android network library base on okhttp
Stars: ✭ 32 (-30.43%)
Mutual labels:  utils
Simple Modeline
A simple mode-line for Emacs.
Stars: ✭ 35 (-23.91%)
Mutual labels:  emacs
Coldnew Emacs
coldnew's emacs config
Stars: ✭ 32 (-30.43%)
Mutual labels:  emacs
Grugru
Rotate text at point in Emacs.
Stars: ✭ 39 (-15.22%)
Mutual labels:  emacs
Geekbook
G33KB00K3 - fun to read & fun to write -- 🤓 eXtreme eXtendable note taking system for nerds/geeks (including scientists!) docs: http://geekbook.rtfd.io = beautiful html generator of your markdown-based notes
Stars: ✭ 31 (-32.61%)
Mutual labels:  emacs
Bentools Etl
PHP ETL (Extract / Transform / Load) library with SOLID principles + almost no dependency.
Stars: ✭ 45 (-2.17%)
Mutual labels:  input
Inputsystem
An efficient and versatile input system for Unity.
Stars: ✭ 1,013 (+2102.17%)
Mutual labels:  input
Tools
C# 工具箱,提供Socket(TCP、UDP协议)、Redis、activemq、数据库访问等技术的封装实现
Stars: ✭ 34 (-26.09%)
Mutual labels:  utils
Organic
Outliner, organizer and notes management app.
Stars: ✭ 34 (-26.09%)
Mutual labels:  emacs
Elegant Emacs
A very minimal but elegant emacs (I think)
Stars: ✭ 961 (+1989.13%)
Mutual labels:  emacs
Fix Word
Transform words in Emacs (upcase, downcase, capitalize, etc.)
Stars: ✭ 39 (-15.22%)
Mutual labels:  emacs
Ivy Erlang Complete
ivy-erlang-complete is context sensitive completion for erlang without connecting to erlang nodes.
Stars: ✭ 32 (-30.43%)
Mutual labels:  emacs
Etrace
Emacs Lisp Latency Tracing for the Chromium Catapult Trace Event Format
Stars: ✭ 45 (-2.17%)
Mutual labels:  emacs
Wordnut
Emacs major mode interface to WordNet lexical database
Stars: ✭ 31 (-32.61%)
Mutual labels:  emacs
Homebrew Emacs Plus
Emacs Plus formulae for the Homebrew package manager
Stars: ✭ 965 (+1997.83%)
Mutual labels:  emacs
Pitaya
A simple general-purpose utility library for Java 6+
Stars: ✭ 38 (-17.39%)
Mutual labels:  utils
Elisp Lint
Basic linting for Emacs Lisp
Stars: ✭ 45 (-2.17%)
Mutual labels:  emacs
Dnsforwarder
Just a DNS utility.
Stars: ✭ 1,029 (+2136.96%)
Mutual labels:  utils

-- fill-column: 120 org-list-indent-offset: 1 --

#+STARTUP: noinlineimages

  • cfrs.el -- Child Frame Read String

[[file:cfrs.png]]

cfrs.el is a simple alternative to read-string that allows reading input via a small child-frame spawned at the position of the cursor. Its goal is to make the string input interface closer to those used in modern GUI programs and to help the user with having to switch focus from whatever they are doing currently to look at the minibuffer.

There is just one single entry point, cfrs-read, and its interface simple enough to not require further explanation:

#+BEGIN_SRC emacs-lisp (defun cfrs-read (prompt &optional initial-input) ... ) #+END_SRC

The text in the resulting child-frame can be edited freely, with the caveat that it is meant to fit on a single line - cfrs.el is meant for /simple/ inputs. The input can be confirmed via either C-c C-c or RET.

A runnable example:

#+BEGIN_SRC emacs-lisp (let ((input (cfrs-read "Text: " "Initial Input"))) (message "Hello %s!" input)) #+END_SRC

In a terminal environment cfrs will fall back to the default read-string.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].