[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ftable 96a0475 14/14: Prepare for ELPA
From: |
Stefan Monnier |
Subject: |
[elpa] externals/ftable 96a0475 14/14: Prepare for ELPA |
Date: |
Mon, 2 Aug 2021 18:27:33 -0400 (EDT) |
branch: externals/ftable
commit 96a0475871b1642582a0c0fb5a361a8af0dd5923
Author: Yuan Fu <casouri@gmail.com>
Commit: Yuan Fu <casouri@gmail.com>
Prepare for ELPA
* ftable.el (ftable): Remove custom options.
(ftable-fill, ftable-edit-cell, ftable-reformat): Add autoload cookie.
---
ftable.el | 29 +++++++++++++++++++++++++----
1 file changed, 25 insertions(+), 4 deletions(-)
diff --git a/ftable.el b/ftable.el
index c587e84..71da62b 100644
--- a/ftable.el
+++ b/ftable.el
@@ -1,8 +1,28 @@
;;; ftable.el --- Fill a table to fit in n columns -*- lexical-binding:
t; -*-
+;; Copyright (C) 2019-2021 Free Software Foundation, Inc.
+
;; Author: Yuan Fu <casouri@gmail.com>
+;; Maintainer: Yuan Fu <casouri@gmail.com>
+;; URL: https://github.com/casouri/ftable
+;; Version: 1.0
+;; Keywords: convenience, text, table
+;; Package-Requires: ((emacs "26.0"))
+
+;; This file is part of GNU Emacs.
+
+;; GNU Emacs is free software: you can redistribute it and/or modify
+;; it under the terms of the GNU General Public License as published by
+;; the Free Software Foundation, either version 3 of the License, or
+;; (at your option) any later version.
+
+;; GNU Emacs is distributed in the hope that it will be useful,
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+;; GNU General Public License for more details.
-;;; This file is NOT part of GNU Emacs
+;; You should have received a copy of the GNU General Public License
+;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;;
@@ -38,9 +58,7 @@
;;; Customization
-(defgroup ftable
- '((ftable-fill-column custom-variable)
- (ftable-recognize-table custom-variable))
+(defgroup ftable nil
"Fill (auto-layout) tables."
:group 'text)
@@ -494,6 +512,7 @@ Return a new string."
;;; Convenience
+;;;###autoload
(defun ftable-fill ()
"Fill the table (or paragraph) at point."
(interactive)
@@ -512,6 +531,7 @@ Return a new string."
#'table-recognize-region))
(fill-paragraph))))
+;;;###autoload
(defun ftable-edit-cell ()
"Edit the cell at point."
(interactive)
@@ -552,6 +572,7 @@ Return a new string."
(when cell-p
#'table-recognize-region))))))
+;;;###autoload
(defun ftable-reformat (style)
"Change box drawing STYLE for table at point.
STYLE can be ’ascii or ’unicode."
- [elpa] branch externals/ftable created (now 96a0475), Stefan Monnier, 2021/08/02
- [elpa] externals/ftable ec019c2 06/14: Add customization, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 2b08dc9 01/14: Init, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 63fb0ac 04/14: Add checks for parsing, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 9c13bfc 07/14: Add table.el intergration, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 71dcbd0 12/14: Fix beginning- and end-of-table function, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 939cc1b 13/14: Fix typo, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 1ea20be 11/14: Allow non-table lines before and after table, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 96a0475 14/14: Prepare for ELPA,
Stefan Monnier <=
- [elpa] externals/ftable a647832 03/14: xx, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 8ff305b 02/14: Not use forward-paragraph, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable e029b2f 10/14: * ftable.el: Add a workaround., Stefan Monnier, 2021/08/02
- [elpa] externals/ftable d2385e3 05/14: * ftable.el (ftable-misc-test): Fix test., Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 9f75340 08/14: Make ftable work with CJK characters, Stefan Monnier, 2021/08/02
- [elpa] externals/ftable 33b32ba 09/14: * ftable.el (ftable-edit-cell): Fix typos., Stefan Monnier, 2021/08/02