org module之org-toc

本文介绍了Emacs下Org-toc模块的功能与使用方法。该模块能为当前Org文件生成目录,便于快速导航至文件各部分。文章详细解释了如何通过org-toc-show命令调用此功能,以及如何利用多种快捷键进行目录操作。

原文地址:https://raw.githubusercontent.com/lujun9972/lujun9972.github.com/source/Emacs之怒/org module之org-toc.org

org-toc可以为当前Org文件生成一个目录,在这个目录中导航可以跳转到相应的Org位置上。 不过鉴于org本来就是个大纲类的模式,所以我觉得这个module意义不大啊。

在带标题的Org文件(没有标题的话会提示错误)中运行 org-toc-show 命令,就会弹出一个 org-toc buffer,其中列出了当前Org文件的目录。

这个buffer处于 org-toc-mode,并提供了多个导航快捷键,项目快捷键说明可以运行 M-x org-toc-help 来查看,如下所示:

[space]   show heading                     [1-4] hide headlines below this level
[TAB]     jump to heading                  [F]   toggle follow mode (currently off)
[return]  jump and delete others windows   [i]   toggle info mode (currently off)
[S-TAB]   cycle subtree (in Org)           [S]   toggle show subtree mode (currently off)
[C-S-TAB] global cycle (in Org)            [r]   toggle recenter mode (currently on, line 0)
[:]       cycle subtree (in TOC)           [c]   toggle column view (currently off)
[n/p]     next/previous heading            [s]   save TOC configuration
[f/b]     next/previous heading of same level
[q]       quit the TOC                     [g]   restore last TOC configuration
PS D:\实时建模\实时建模V3> pyinstaller --onefile --add-data "文件服务2.py;." --add-data "Progress.ini;." --add-data "imgs.ini;." --windowed --icon='icon.ico' 实时三维进度条版本三.py --clean 164 INFO: PyInstaller: 6.11.1, contrib hooks: 2025.0 164 INFO: Python: 3.9.0 164 INFO: Platform: Windows-10-10.0.26100-SP0 164 INFO: Python environment: d:\python39 167 INFO: wrote D:\实时建模\实时建模V3\实时三维进度条版本三.spec 169 INFO: Removing temporary files and cleaning cache in C:\Users\云实\AppData\Local\pyinstaller 176 INFO: Module search paths (PYTHONPATH): ['D:\\Python39\\Scripts\\pyinstaller.exe', 'd:\\python39\\python39.zip', 'd:\\python39\\DLLs', 'd:\\python39\\lib', 'd:\\python39', 'd:\\python39\\lib\\site-packages', 'd:\\python39\\lib\\site-packages\\win32', 'd:\\python39\\lib\\site-packages\\win32\\lib', 'd:\\python39\\lib\\site-packages\\Pythonwin', 'D:\\实时建模\\实时建模V3'] 503 INFO: Appending 'datas' from .spec 503 INFO: checking Analysis 503 INFO: Building Analysis because Analysis-00.toc is non existent 503 INFO: Running Analysis Analysis-00.toc 503 INFO: Target bytecode optimization level: 0 503 INFO: Initializing module dependency graph... 503 INFO: Initializing module graph hook caches... 515 INFO: Analyzing base_library.zip ... 1085 INFO: Processing standard module hook 'hook-heapq.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 1170 INFO: Processing standard module hook 'hook-encodings.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 1782 INFO: Processing standard module hook 'hook-pickle.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2234 INFO: Caching module dependency graph... 2303 INFO: Looking for Python shared library... 2314 INFO: Using Python shared library: d:\python39\python39.dll 2314 INFO: Analyzing D:\实时建模\实时建模V3\实时三维进度条版本三.py 2327 INFO: Processing standard module hook 'hook-PyQt5.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2402 INFO: Processing standard module hook 'hook-PyQt5.QtWidgets.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2496 INFO: Processing standard module hook 'hook-PyQt5.QtCore.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2606 INFO: Processing standard module hook 'hook-PyQt5.QtWebEngineWidgets.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2679 INFO: Processing standard module hook 'hook-PyQt5.QtGui.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 2969 INFO: Processing standard module hook 'hook-PyQt5.QtWebChannel.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 3126 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module' 3127 INFO: SetuptoolsInfo: initializing cached setuptools info... 3754 INFO: Processing standard module hook 'hook-charset_normalizer.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' 3806 INFO: Processing standard module hook 'hook-certifi.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' 3868 INFO: Processing pre-safe-import-module hook 'hook-distutils.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module' 3869 INFO: Processing pre-find-module-path hook 'hook-distutils.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path' 3870 INFO: Processing standard module hook 'hook-distutils.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 3899 INFO: Processing standard module hook 'hook-pywintypes.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' 4100 INFO: Processing pre-find-module-path hook 'hook-tkinter.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path' 4100 INFO: TclTkInfo: initializing cached Tcl/Tk info... 4269 INFO: Processing standard module hook 'hook-_tkinter.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 4299 INFO: Processing standard module hook 'hook-psutil.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' 4327 INFO: Processing standard module hook 'hook-cv2.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks' 4763 INFO: Processing standard module hook 'hook-numpy.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 5636 INFO: Processing standard module hook 'hook-platform.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 5845 INFO: Processing standard module hook 'hook-difflib.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 5912 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 5939 INFO: Processing standard module hook 'hook-xml.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 6176 INFO: Processing standard module hook 'hook-sysconfig.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 6681 INFO: Processing standard module hook 'hook-PIL.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 6718 INFO: Processing standard module hook 'hook-PIL.Image.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7002 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7016 INFO: Processing standard module hook 'hook-PIL.ImageFilter.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7203 INFO: Processing module hooks (post-graph stage)... 7314 INFO: Processing standard module hook 'hook-PIL.SpiderImagePlugin.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7343 WARNING: Hidden import "sip" not found! 7360 INFO: Processing standard module hook 'hook-_tkinter.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7361 INFO: Processing standard module hook 'hook-PyQt5.QtNetwork.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7522 INFO: Processing standard module hook 'hook-PyQt5.QtPrintSupport.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7602 INFO: Processing standard module hook 'hook-PyQt5.QtQuick.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7684 INFO: Processing standard module hook 'hook-PyQt5.QtQuickWidgets.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7754 INFO: Processing standard module hook 'hook-PyQt5.QtWebEngineCore.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7880 INFO: Processing standard module hook 'hook-PyQt5.QtPositioning.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 7981 INFO: Processing standard module hook 'hook-PyQt5.QtQml.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 8801 INFO: Performing binary vs. data reclassification (2426 entries) 9145 INFO: Looking for ctypes DLLs 9153 INFO: Analyzing run-time hooks ... 9157 INFO: Including run-time hook 'pyi_rth_inspect.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks' 9157 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks' 9160 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks' 9161 INFO: Including run-time hook 'pyi_rth__tkinter.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks' 9162 INFO: Including run-time hook 'pyi_rth_pywintypes.py' from 'd:\\python39\\lib\\site-packages\\_pyinstaller_hooks_contrib\\rthooks' 9163 INFO: Including run-time hook 'pyi_rth_pyqt5.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\rthooks' 9164 INFO: Processing pre-find-module-path hook 'hook-_pyi_rth_utils.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path' 9165 INFO: Processing standard module hook 'hook-_pyi_rth_utils.py' from 'd:\\python39\\lib\\site-packages\\PyInstaller\\hooks' 9221 INFO: Looking for dynamic libraries d:\python39\lib\site-packages\PyInstaller\building\build_main.py:226: UserWarning: The numpy.array_api submodule is still experimental. See NEP 47. __import__(package) 9620 INFO: Extra DLL search directories (AddDllDirectory): ['d:\\python39\\lib\\site-packages\\PyQt5\\Qt5\\bin', 'd:\\python39\\lib\\site-packages\\numpy.libs', 'D:\\Python39\\Lib\\site-packages\\cv2\\../../x64/vc14/bin'] 9620 INFO: Extra DLL search directories (PATH): ['D:\\Python39\\Lib\\site-packages\\cv2\\../../x64/vc14/bin', 'd:\\python39\\lib\\site-packages\\PyQt5\\Qt5\\bin'] 12436 INFO: Warnings written to D:\实时建模\实时建模V3\build\实时三维进度条版本三\warn-实时三维进度条版本三.txt 12478 INFO: Graph cross-reference written to D:\实时建模\实时建模V3\build\实时三维进度条版本三\xref-实时三维进度条版本三.html 12523 INFO: checking PYZ 12523 INFO: Building PYZ because PYZ-00.toc is non existent 12523 INFO: Building PYZ (ZlibArchive) D:\实时建模\实时建模V3\build\实时三维进度条版本三\PYZ-00.pyz 12980 INFO: Building PYZ (ZlibArchive) D:\实时建模\实时建模V3\build\实时三维进度条版本三\PYZ-00.pyz completed successfully. 13020 INFO: checking PKG 13020 INFO: Building PKG because PKG-00.toc is non existent 13020 INFO: Building PKG (CArchive) 实时三维进度条版本三.pkg 42433 INFO: Building PKG (CArchive) 实时三维进度条版本三.pkg completed successfully. 42460 INFO: Bootloader d:\python39\lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\runw.exe 42460 INFO: checking EXE 42460 INFO: Building EXE because EXE-00.toc is non existent 42462 INFO: Building EXE from EXE-00.toc 42462 INFO: Copying bootloader EXE to D:\实时建模\实时建模V3\dist\实时三维进度条版本三.exe 42465 INFO: Copying icon to EXE 42471 INFO: Copying 0 resources to EXE 42471 INFO: Embedding manifest in EXE 42474 INFO: Appending PKG archive to EXE 42564 INFO: Fixing EXE headers 43073 INFO: Building EXE from EXE-00.toc completed successfully. PS D:\实时建模\实时建模V3>
09-18
本项目采用C++编程语言结合ROS框架构建了完整的双机械臂控制系统,实现了Gazebo仿真环境下的协同运动模拟,并完成了两台实体UR10工业机器人的联动控制。该毕业设计在答辩环节获得98分的优异成绩,所有程序代码均通过系统性调试验证,保证可直接部署运行。 系统架构包含三个核心模块:基于ROS通信架构的双臂协调控制器、Gazebo物理引擎下的动力学仿真环境、以及真实UR10机器人的硬件接口层。在仿真验证阶段,开发了双臂碰撞检测算法和轨迹规划模块,通过ROS控制包实现了末端执行器的同步轨迹跟踪。硬件集成方面,建立了基于TCP/IP协议的实时通信链路,解决了双机数据同步和运动指令分发等关键技术问题。 本资源适用于自动化、机械电子、人工智能等专业方向的课程实践,可作为高年级课程设计、毕业课题的重要参考案例。系统采用模块化设计理念,控制核心与硬件接口分离架构便于功能扩展,具备工程实践能力的学习者可在现有框架基础上进行二次开发,例如集成视觉感知模块或优化运动规划算法。 项目文档详细记录了环境配置流程、参数调试方法和实验验证数据,特别说明了双机协同作业时的时序同步解决方案。所有功能模块均提供完整的API接口说明,便于使用者快速理解系统架构并进行定制化修改。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
【微电网】【创新点】基于非支配排序的蜣螂优化算法NSDBO求解微电网多目标优化调度研究(Matlab代码实现)内容概要:本文围绕基于非支配排序的蜣螂优化算法(NSDBO)在微电网多目标优化调度中的应用展开研究,提出了一种改进的智能优化算法以解决微电网系统中经济性、环保性和能源效率等多重目标之间的权衡问题。通过引入非支配排序机制,NSDBO能够有效处理多目标优化中的帕累托前沿搜索,提升解的多样性和收敛性,并结合Matlab代码实现仿真验证,展示了该算法在微电网调度中的优越性能和实际可行性。研究涵盖了微电网典型结构建模、目标函数构建及约束条件处理,实现了对风、光、储能及传统机组的协同优化调度。; 适合人群:具备一定电力系统基础知识和Matlab编程能力的研究生、科研人员及从事微电网、智能优化算法应用的工程技术人员;熟悉优化算法与能源系统调度的高年级本科生亦可参考。; 使用场景及目标:①应用于微电网多目标优化调度问题的研究与仿真,如成本最小化、碳排放最低与供电可靠性最高之间的平衡;②为新型智能优化算法(如蜣螂优化算法及其改进版本)的设计与验证提供实践案例,推动其在能源系统中的推广应用;③服务于学术论文复现、课题研究或毕业设计中的算法对比与性能测试。; 阅读建议:建议读者结合文中提供的Matlab代码进行实践操作,重点关注NSDBO算法的核心实现步骤与微电网模型的构建逻辑,同时可对比其他多目标算法(如NSGA-II、MOPSO)以深入理解其优势与局限,进一步开展算法改进或应用场景拓展。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值