[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backw
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backward compatibility |
Date: |
Sun, 22 May 2022 12:58:16 -0400 (EDT) |
branch: elpa/corfu-popup
commit eb4106aa5a103e2ad52b8dd2f2803f5dacecf850
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Add corfu-popup.el for backward compatibility
---
corfu-popup.el | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
corfu-terminal.el | 2 +-
2 files changed, 51 insertions(+), 1 deletion(-)
diff --git a/corfu-popup.el b/corfu-popup.el
new file mode 100644
index 0000000000..e1a907481b
--- /dev/null
+++ b/corfu-popup.el
@@ -0,0 +1,50 @@
+;;; corfu-popup.el --- Corfu popup on terminal -*- lexical-binding: t; -*-
+
+;; Copyright (C) 2022 Akib Azmain Turja.
+
+;; Author: Akib Azmain Turja <akib@disroot.org>
+;; Created: 2022-04-11
+;; Version: 0.1
+;; Package-Requires: ((emacs "26.1") (corfu "0.23") (popon "0"))
+;; Keywords: convenience
+;; Homepage: https://codeberg.org/akib/emacs-corfu-terminal
+
+;; This file is not part of GNU Emacs.
+
+;; This file 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, or (at your option)
+;; any later version.
+
+;; This program 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.
+
+;; For a full copy of the GNU General Public License
+;; see <https://www.gnu.org/licenses/>.
+
+;;; Commentary:
+
+;; `corfu-popup' is now `corfu-terminal'. This file is now obsolete and
+;; only provided for backward compatibility, please install and use
+;; corfu-terminal instead.
+
+;;; Code:
+
+(require 'corfu-terminal)
+
+(display-warning
+ 'corfu-terminal
+ "`corfu-popup' is now `corfu-terminal'. This file (`corfu-popup') is now\
+ obsolete and only provided for backward compatibility, please replace all\
+ references of `corfu-popup' with `corfu-terminal'.")
+
+(define-obsolete-variable-alias 'corfu-popup-position-right-margin
+ 'corfu-terminal-position-right-margin "0.1")
+
+(define-obsolete-function-alias 'corfu-popup-mode 'corfu-terminal-mode
+ "0.1")
+
+(provide 'corfu-popup)
+;;; corfu-popup.el ends here
diff --git a/corfu-terminal.el b/corfu-terminal.el
index 99bf3629a7..9f7571a0d8 100644
--- a/corfu-terminal.el
+++ b/corfu-terminal.el
@@ -1,4 +1,4 @@
-;;; corfu-terminal.el --- Corfu popup on terminal -*- lexical-binding: t -*-
+;;; corfu-terminal.el --- Corfu popup on terminal -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Akib Azmain Turja.
- [nongnu] elpa/corfu-popup 7a1fbd2676 09/26: Fix README, (continued)
- [nongnu] elpa/corfu-popup 7a1fbd2676 09/26: Fix README, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup b2dd179e57 10/26: Fix typo, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 03b5c7a74c 14/26: Update terminal screenshots, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 9e1e2d3f04 16/26: Lower required Emacs version, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 0b2fd81ac0 17/26: Remove obsolete use of define-minor-mode, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 3a8e98a982 21/26: Rename corfu-popup to corfu-terminal, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 59730db33b 23/26: Don't ship images in packages, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 323a92088c 20/26: Fix popon breaking when right fringe is zero on graphical display (#3), ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup fcb35a8c45 24/26: Add user option to disable on GUI, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 2b4a7d7d16 18/26: Remove hardcoded popon height, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup eb4106aa5a 22/26: Add corfu-popup.el for backward compatibility,
ELPA Syncer <=
- [nongnu] elpa/corfu-popup aaaaea5932 25/26: Use new integration strategy, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 359e2e9849 26/26: Remove unused macro, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup fabfd00ff8 15/26: Update README as kind-icon no longer causes problem, ELPA Syncer, 2022/05/22
- [nongnu] elpa/corfu-popup 4ce83ab8bd 19/26: Fix #3: Keep popon within the visible part of window, ELPA Syncer, 2022/05/22