Emacs android?

终于有理由说我给平板买的蓝牙键盘不是乱花钱了,落泪

你可能还是。。我开始折腾 on-screen keyboard 和触摸屏了(

软键盘没有 Ctrl,而且大量打字还是得物理键盘,不然怎么着尺寸都不合适。

暂不支持直接上传,可以用外链

我们的服务器空间太小了(),目前没有开放传视频 :smiling_face_with_tear:

1 个赞

使用 6253e7e74249c7cdfa86723f0b91a1d207cb143e 提交,按照 INSTALL.android 说明尝试进行构建

目前有缺少文件的情况,是否是部分文件还在本地开发、还未提交到仓库

如下图

### verbose.mk --- Makefile fragment for GNU Emacs during
### cross-compilation.

## Copyright (C) 2023 Free Software Foundation, Inc.

## 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.
##
## You should have received a copy of the GNU General Public License
## along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.

# 'make' verbosity.
V = 0
ifeq (${V},1)
AM_V_AR =
AM_V_at =
AM_V_CC =
AM_V_CXX =
AM_V_CCLD =
AM_V_CXXLD =
AM_V_ELC =
AM_V_ELN =
AM_V_GEN =
AM_V_GLOBALS =
AM_V_NO_PD =
AM_V_RC =
AM_V_JAVAC =
AM_V_DX =
AM_V_AAPT =
AM_V_ZIPALIGN =
else

# Whether $(info ...) works.  This is to work around a bug in GNU Make
# 4.3 and earlier, which implements $(info MSG) via two system calls
# { write (..., "MSG", 3); write (..., "\n", 1); }
# which looks bad when make -j interleaves two of these at about the same time.
#
# Later versions of GNU Make have the 'notintermediate' feature,
# so assume that $(info ...) works if this feature is present.
#
have_working_info = $(filter notintermediate,$(value .FEATURES))
#
# The workaround is to use the shell and 'echo' rather than $(info ...).
# The workaround is done only for AM_V_ELC and AM_V_ELN,
# since the bug is not annoying elsewhere.

AM_V_AR      = @$(info $   AR          $@)
AM_V_at = @
AM_V_CC      = @$(info $  ANDROID_CC   $@)
AM_V_CXX     = @$(info $  ANDROID_CXX  $@)
AM_V_CCLD    = @$(info $   CCLD        $@)
AM_V_CXXLD   = @$(info $   CXXLD       $@)

AM_V_GEN     = @$(info $   GEN         $@)
AM_V_NO_PD = --no-print-directory
endif

不好意思,我今天下午推向分支。

3 个赞

所以现在能构建了吗?

用 a03eeb0109334942a8fdee777697a25c2db82ab1 提交测试构建,还是缺少了一些文件

报错如下图,基本都是一样的报错

目前我拿了 lib 下的文件复制了一份到 xcompile/lib 下了

缺少文件如下

stdckdint.in.h
stdint.in.h
stdio.in.h
stdlib.in.h 
stdlib.in.h
_Noreturn.h

现在能构建了(如下图,等下安装试试),不过不知道直接用 lib 下的是否有问题,还请您这边推送下目前缺少的文件吧

截图_选择区域_20230122202555

似乎可以

感谢您的工作,非常有意思

2 个赞

好,可能是更新 gnulib 没到位。

xcompile/lib 下的 gnulib 有针对与安卓的补丁,暂时还没有进入上游 gnulib。

4 个赞

安装上试了试,可以运行了,不过快捷键比较痛苦,ctrl shift alt 不知道怎么按

你可能需要一个 Hacker‘s Keyboard app. :smile:

可以将音量上,音量下键利用起来。可以 remap 到 ctrl 和 alt 上。

1 个赞

坛友以前推荐的 strokes-mode 有用武之地了?在触摸设备上划手势比用组合按键要轻松多了

1 个赞

如果现在仍是黑莓那种全键盘手机占据主流,那想必也会方便许多。

this keyboard is very useful